:root {
    --main-key-color: rgb(6, 95, 191);
    --bg-color: rgba(30, 156, 252, 0.2);
    --sub-key-color: #c7b139;
    --sub2-key-color: #4289b0;
    --text-color: #000;
    --bs-border-color: #fff;
    --overlay: 0.45;
    --bs-table-bg: transparent;
    /* オーバーレイの不透明度をここで調整 */
}

/***********************************************
 common
***********************************************/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: "Noto Serif JP", serif;
    color: var(--text-color);
    background-image: url("../../images/bg.jpg");
    background-position: 0 0;
    background-size: 100% auto;
}

/* .container {
    background-color: #ff0000b2;
} */

img {
    width: 100%;
}

.underline {
    display: inline-block;
    border-bottom: 3px solid var(--main-key-color);
}

.underline-gray {
    display: inline-block;
    border-bottom: 3px solid gray;
}

.underline-yellow {
    display: inline-block;
    border-bottom: 3px solid rgb(254, 179, 75);
}

.btn_line a {
    border-radius: 100px;
    display: block;
    width: 40%;
    box-sizing: border-box;
    background: #06c755;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin: 10px auto;
    font-size: 2rem;
}

.btn_line a:hover {
    background: #04a045;
    color: #fff;
}

.btn_line p {
    color: var(--main-key-color);
}

.section-title-small {
    font-weight: bold;
}

.kaigyo {
    display: none;
}

/* keyvisual
---------------------------------------------------------- */
#keyvisual {
    position: relative;
    overflow: hidden;
    height: calc(100vw * 0.4176);
}

/* 背景動画 */
/* 動画をフルスクリーンで固定 */
.kv-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.kv-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kv-video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--overlay));
    pointer-events: none;
    /* ユーザー操作を妨げない */
    z-index: 2;
}



/* トップイメージ */
.pc_key_img {
    width: 103%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.sp_key_img {
    display: none;
}

/* 順番にフェードインする見出しアニメーション */
.fade-sequence {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*==================================================
fadeIn アニメーション設定 左から・右から
===================================*/
.text_wrap .text_from_left.active {
    animation: 1s fadeIn_from_left ease-in-out forwards;
}

.text_wrap .text_from_left:not(.active) {
    opacity: 0;
    transform: translateX(-30px);
}

@keyframes fadeIn_from_left {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        /* アニメーション開始位置をY軸に変更 */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.text_wrap .text_from_right.active {
    animation: 1s fadeIn_from_right ease-in-out forwards;
}

.text_wrap .text_from_right:not(.active) {
    opacity: 0;
    transform: translateX(30px);
}

@keyframes fadeIn_from_right {
    0% {
        opacity: 0;
        transform: translateX(30px);
        /* アニメーション開始位置をY軸に変更 */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*==================================================
fadeUpアニメーション設定
===================================*/
.block_wrap .block_area.active {
    animation: 1s fadeup ease-in-out forwards;
}

.block_wrap .block_area:not(.active) {
    opacity: 0;
    transform: translateY(100px);
}

@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(100px);
        /* アニメーション開始位置をY軸に変更 */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*==================================================
矢印アニメーション設定
===================================*/

.scroll-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* height: 80px; */

    font-size: 20px;
    padding-bottom: 50px;
}


.arrows {
    position: absolute;
    width: calc(0.6em * 3.5);
    /* 42px */
    height: calc(0.6em * 0.8);
    /* 9.6px */
    opacity: 0;
    transform: scale(0.3);
    animation: move-arrows 3s ease-out infinite;
}

.arrows:first-child {
    animation: move-arrows 3s ease-out 1s infinite;
}

.arrows:nth-child(2) {
    animation: move-arrows 3s ease-out 2s infinite;
}

.arrows:before,
.arrows:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    /* background-color: white; */
    background: var(--main-key-color);
}

.arrows:before {
    left: 0;
    transform: skewY(30deg);
}

.arrows:after {
    right: 0;
    width: 50%;
    transform: skewY(-30deg);
}

@keyframes move-arrows {
    25% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
        transform: translateY(calc(0.6em * 3.8));
        /* 45.6px */
    }

    66.6% {
        opacity: 1;
        transform: translateY(calc(0.6em * 5.2));
        /* 62.4px */
    }

    100% {
        opacity: 0;
        transform: translateY(calc(0.6em * 8)) scale(0.5);
    }
}

/* オススメ店舗を紹介
---------------------------------------------------------- */
.shop_item {
    padding: 0 20px;
    line-height: 1;
}

.shop_name {
    padding-top: 10px;
    font-size: 1.5rem;
}

/* バナー
---------------------------------------------------------- */
.banner {
    background-image: url("../../images/nwork.jpg");
    background-size: cover;
    background-position: center center;
    height: 600px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.banner-info {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 40px;
}

.banner-info p {
    font-size: 1.5rem;
}

/* banner-info の初期状態: 透明 */
.banner-info {
    opacity: 0;
    /* ゆっくりフェードインさせるためのtransitionを設定 */
    transition: opacity 2s ease-out;
}

/* アニメーション後の状態: 不透明（フェードイン完了） */
.banner-info.text-left.show {
    opacity: 1;
}

/* ズームイン テキスト */

.anim-box {
    background: linear-gradient(to right, #362ae0 0%, #3b79cc 50%, #42d3ed 100%);
    border-radius: 5px;
    max-width: 300px;
    height: 180px;
    opacity: 0;
    margin: 15px 25px;
}

.anim-box.zoomin.is-animated {
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* コンセプト
---------------------------------------------------------- */
#concept h2 {
    color: var(--main-key-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

#concept .sub-title p {
    color: rgb(199, 0, 0);
}

#concept p {
    font-size: 1.5rem;
}

.concept-image {
    display: inline-block;
    vertical-align: top;
    color: var(--bg-color);
}

.concept-image-left {
    padding: 0 4rem 4rem 0;
    filter: drop-shadow(32px 32px);
}

.concept-image-right {
    padding: 0 4rem 0 0;
    filter: drop-shadow(-32px -32px);
}

.typing-container {
    opacity: 0;
    text-align: center;
}

.typing-container.active {
    opacity: 1;
}

.typing-text {
    font-weight: bold;
    font-size: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.typing-text span {
    opacity: 0;
    animation: typeIn 0.1s ease-in-out forwards;
}

/* 各文字に遅延時間を設定 */

.typing-text span:nth-child(1) {
    animation-delay: 0.1s;
}

.typing-text span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-text span:nth-child(3) {
    animation-delay: 0.3s;
}

.typing-text span:nth-child(4) {
    animation-delay: 0.4s;
}

.typing-text span:nth-child(5) {
    animation-delay: 0.5s;
}

.typing-text span:nth-child(6) {
    animation-delay: 0.6s;
}

.typing-text span:nth-child(7) {
    animation-delay: 0.7s;
}

.typing-text span:nth-child(8) {
    animation-delay: 0.8s;
}

.typing-text span:nth-child(9) {
    animation-delay: 0.9s;
}

.typing-text span:nth-child(10) {
    animation-delay: 1s;
}

.typing-text span:nth-child(11) {
    animation-delay: 1.1s;
}

.typing-text span:nth-child(12) {
    animation-delay: 1.2s;
}

.typing-text span:nth-child(13) {
    animation-delay: 1.3s;
}

.typing-text span:nth-child(14) {
    animation-delay: 1.4s;
}

.typing-text span:nth-child(15) {
    animation-delay: 1.5s;
}

.typing-text span:nth-child(16) {
    animation-delay: 1.6s;
}

.typing-text span:nth-child(17) {
    animation-delay: 1.7s;
}

.typing-text span:nth-child(18) {
    animation-delay: 1.8s;
}

.typing-text span:nth-child(19) {
    animation-delay: 1.9s;
}

.typing-text span:nth-child(20) {
    animation-delay: 2s;
}

.typing-text span:nth-child(21) {
    animation-delay: 2.1s;
}

.typing-text span:nth-child(22) {
    animation-delay: 2.2s;
}

.typing-text span:nth-child(23) {
    animation-delay: 2.03s;
}

.typing-text span:nth-child(24) {
    animation-delay: 2.4s;
}

.typing-text span:nth-child(25) {
    animation-delay: 2.5s;
}

.typing-text span:nth-child(26) {
    animation-delay: 2.6s;
}

.typing-text span:nth-child(27) {
    animation-delay: 2.7s;
}

.typing-text span:nth-child(28) {
    animation-delay: 2.8s;
}

.typing-text span:nth-child(29) {
    animation-delay: 2.9s;
}

.typing-text span:nth-child(30) {
    animation-delay: 3s;
}

.typing-text span:nth-child(31) {
    animation-delay: 3.1s;
}

.typing-text span:nth-child(32) {
    animation-delay: 3.2s;
}

.typing-text span:nth-child(33) {
    animation-delay: 3.3s;
}

.typing-text span:nth-child(34) {
    animation-delay: 3.4s;
}

.typing-text span:nth-child(35) {
    animation-delay: 3.5s;
}

.typing-text span:nth-child(36) {
    animation-delay: 3.6s;
}

.typing-text span:nth-child(37) {
    animation-delay: 3.7s;
}

.typing-text span:nth-child(38) {
    animation-delay: 3.8s;
}

.typing-text span:nth-child(39) {
    animation-delay: 3.9s;
}

.typing-text span:nth-child(40) {
    animation-delay: 4.0s;
}

.typing-text span:nth-child(41) {
    animation-delay: 4.1s;
}

.typing-text span:nth-child(42) {
    animation-delay: 4.2s;
}

@keyframes typeIn {
    to {
        opacity: 1;
    }
}

/* .space {
    width: 0.3em;
    display: inline-block;
} */

/* 選ばれる理由
---------------------------------------------------------- */
#choose h5 {
    font-size: 1.25rem;
}

.choose-wrapper {
    padding: 2rem 1rem;
    background-color: var(--bg-color);
}

.choose-wrapper .card {
    border: none;
    background-color: transparent;
}

.image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.image-card .card-img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

/* --- triangle: bottom-right に配置される三角形 --- */
/* clip-path の頂点を変えることで形を変えられる */
.triangle {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 36%;
    /* 三角の横幅（画像に対する割合） */
    height: 46%;
    /* 三角の縦高さ（画像に対する割合） */
    background: #66b3ff;
    /* 右上(100% 0) → 左下(0 100%) → 右下(100% 100%) の三角 */
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 1;
    opacity: 1;
    border-bottom-right-radius: 18px;
}

/* ラベルを三角の上に配置 */
.triangle-label {
    position: absolute;
    right: 6%;
    bottom: 6%;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    transform: translate(0, 0);
    /* 必要に応じて微調整 */
    pointer-events: none;
}

/* 収入モデル
---------------------------------------------------------- */
#income .sub-title h2 {
    color: rgb(199, 0, 0);
}

.income-text {
    font-size: 1.5rem;
}

.case1,
.case2 {
    padding: 0 8px;
}

/* .case2 .card-body {
    height: 314px;
} */
/* Slick Sliderの高さを揃える魔法のCSS */

/* 1. スライド全体を囲むトラックをFlexboxにする */
.slick-track {
    display: flex !important;
}

/* 2. 各スライド（.case2）の高さを親に合わせる */
.slick-slide {
    height: auto !important;
    /* Slickが勝手につける高さをリセット */
    display: flex;
    /* 子要素(.card)を広げるため */
    justify-content: center;
    /* 配置調整 */
}

/* 3. BootstrapのCardを親いっぱいに広げる */
.card-wrapper {
    width: 100%;
    /* 横幅を確保 */
    height: 100%;
    /* 高さを最大に */
}

.income-models .card {
    border-width: 3px;
    border-color: var(--main-key-color);
    border-radius: 0 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.income-models .card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    padding: 0.4rem 0 0.6rem 0;
    background-color: var(--main-key-color);
    color: #fff;
}

.income-models .card-body {
    padding: 0;
}

.income-models .text-muted {
    color: #000 !important;
}

.income-models .monthly-salary {
    color: var(--main-key-color);
    font-size: 1.25rem;
}

.income-models .monthly-income {
    color: var(--main-key-color);
}

.income-models.income-models-orange .card {
    border-color: rgb(255, 147, 30);
}

.income-models.income-models-orange .card-title {
    background-color: rgb(255, 147, 30);
}

.income-models.income-models-orange .monthly-salary {
    color: rgb(255, 147, 30);
}

.income-models.income-models-orange .monthly-income {
    color: rgb(255, 147, 30);
}

.bullet-text {
    display: flex;
    align-items: flex-start;
    /* gap: 0.5em; */
    font-size: 0.9rem;
    padding: 0 0.5rem;
    /* アイコンとテキストの間隔 */
}

.bullet-text i {
    flex-shrink: 0;
    /* アイコンの位置を固定 */
    margin-top: 0.2em;
    /* テキストの高さに合わせて微調整 */
}

.triangle-model {
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid var(--main-key-color);
}

.income-models.income-models-orange .triangle-model {
    border-top: 15px solid rgb(255, 147, 30);
}

.card-wrapper {
    position: relative;
    overflow: hidden;
}


/* フロー
---------------------------------------------------------- */
.flow div {
    border: none;
    background: transparent;
}

.flow .card-img-top {
    width: 70%;
    margin: 0 auto;
}


.slick-prev,
.slick-next {
    width: 36px;
    height: 36px;
}

.income-models .slick-prev:before,
.income-models .slick-next:before {
    color: var(--main-key-color);
    font-size: 36px;
}

.income-models-orange .slick-prev:before,
.income-models-orange .slick-next:before {
    color: rgb(255, 147, 30);
    font-size: 36px;
}

.flow .slick-prev:before,
.flow .slick-next:before {
    color: var(--main-key-color);
    font-size: 36px;
}

.flow .card-body {
    background: #fff;
    padding-left: 15%;
    padding-right: 15%;
}

.flow .card-title {
    display: inline-block;
    text-align: left;
    font-size: 14px;
    color: #fff;
    background-color: var(--main-key-color);
    padding: 5px 10px;
    border-radius: 15px;
}

.flow h6 {
    color: var(--main-key-color);
    font-size: 16px;
}

.flow .card-text {
    font-size: 14px;
}

/* サポート
---------------------------------------------------------- */
.ribbon15-wrapper {
    position: relative;
}

.ribbon15 {
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 10px;
    margin: 0;
    padding: 10px 5px;
    z-index: 2;
    width: 94px;
    text-align: center;
    color: white;
    font-size: 17px;
    background: var(--main-key-color);
    border-radius: 2px 0 0 0;
}

.ribbon15:after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    height: 0;
    width: 0;
    border-left: 47px solid var(--main-key-color);
    border-right: 47px solid var(--main-key-color);
    border-bottom: 23px solid transparent;
}

.ribbon-fs {
    font-size: 1.75rem;
}

/* フッター
---------------------------------------------------------- */
.footer {
    background-color: var(--main-key-color);
    color: #fff;
}

.footer a {
    color: #fff;
}

/***********************************************
 common
***********************************************/
.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(6, 95, 191, 0.2);
}

.table-striped>tbody>tr:nth-of-type(even)>* {
    background-color: transparent;
}

/* メディアクェリー
---------------------------------------------------------- */

@media (max-width: 1200px) {

    .income-text {
        font-size: calc(1.275rem + .3vw);
    }
}



/* iPadmini */
@media (max-width: 1024px) {
    .banner {
        height: 500px;
    }

    .banner-info p {
        font-size: 1.5rem;
    }

    .income-models .monthly-salary {
        font-size: 1rem;
    }

    .ribbon15 {
        width: 84px;
        font-size: 15px;
    }

    .ribbon15:after {
        border-left: 42px solid var(--main-key-color);
        border-right: 42px solid var(--main-key-color);
        border-bottom: 18px solid transparent;
    }

    .ribbon-fs {
        font-size: 1.3rem;
    }

    .shop_name {
        padding-top: 10px;
    }

    .shop_name {
        font-size: 1.3rem;
    }

    #concept h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    #concept p {
        font-size: 1.1rem;
    }


}

/* iPhone14 pro Max 横 */
@media (max-width: 932px) {



    .typing-text {
        font-size: 2rem;
    }

    .banner-info p {
        font-size: 1.2rem;
    }

    #concept h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    #concept p {
        font-size: 1rem;
    }

    #choose h5 {
        font-size: 1rem;
    }

    #choose p {
        font-size: 0.9rem;
    }

    .income-models .card-title {
        font-size: 1rem;
    }
}



/* bootstrap smartphone */
@media (max-width: 767px) {

    .btn_line a {
        font-size: 1.5rem;
        width: 80%;
    }

    .typing-text {
        font-size: 1.7rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .banner-info p {
        font-size: 1rem;
    }

    #banner,
    #choose,
    #income,
    #flow,
    #support {
        margin-top: 3rem;
    }

    .concept-image-left {
        padding: 0 0 0 0;
    }

    .concept-image-right {
        padding: 0 0 0 0;
    }

    #concept .text_wrap {
        width: calc(100% - 2.5rem);
        margin: 0 auto;
    }

    #concept>div>div>div>div>p {
        margin-bottom: 2rem;
    }

    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0
    }

    .image-card {
        max-width: 100%;
    }

    .flow-left {
        width: 100%;
    }

    .flow-right {
        display: none;
    }

    .income-models .card,
    .income-models.income-models-orange .card {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 667px) {}

@media (max-width: 540px) {
    #keyvisual {
        height: calc(100vw * 1.2705);
    }

    .pc_key_img {
        display: none;
    }

    .sp_key_img {
        display: block;
        width: 100%;
        position: absolute;
        bottom: 0;
        z-index: 3;
    }

}




/* iPhone14Pro Max */
@media (max-width: 430px) {


    .income-models .card,
    .income-models.income-models-orange .card {
        width: 85%;
    }

    .kaigyo {
        display: block;
    }


    .typing-text {
        font-size: 1.6rem;
    }

    .income-text {
        font-size: calc(1.075rem + .3vw);
    }

}

@media (max-width: 393px) {}


/* iPhoneSE */
@media (max-width: 375px) {


    .btn_line a {
        font-size: 1.2rem;
    }

    .banner {
        height: 380px;
    }

    .typing-text {
        font-size: 1.2rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .banner-info p {
        font-size: 0.8rem;
    }
}


/* iPhone4 */
@media (max-width: 320px) {

    .typing-text {
        font-size: .9rem;
    }
}