@charset "utf-8";

* {
    box-sizing: border-box;
}

html,
body {
    box-sizing: border-box;
    background-color: #f9f3bd;
    font-family: 'Yu Gothic UI', YuGothic, 'Yu Gothic', sans-serif;
}

img {
    display: block;
    width: 100%;
}

/* PC、スマホ出し分け */
.pc {
    display: block;
}

.sp {
    display: none;
}

@media screen and (max-width: 800px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

.page-wrapper {

    overflow: hidden;
    /* ここで制御する */
    width: 100%;
}

.wrapper {
    max-width: 1500px;
    margin: 0 auto;

    @media screen and (max-width: 800px) {
        max-width: 100%;
    }
}

.inner {
    width: 66.6%;
    margin: 0 auto;

    @media screen and (max-width: 800px) {
        width: 90%;
    }
}

/* キービジュアル */
.kv-bg__box {
    position: fixed;
    top: 0;
    left: 50%;
    translate: -50%;
    width: 100vw;
    height: 1000px;

}

.kv-bg__pos {
    position: relative;
    width: 100%;
    height: 100%;
}

.kv-bg__pos img {
    will-change: transform;
    /* ブラウザの描画を最適化 */
}

/* 背景配置 */
.kv-bg-obj01 {
    width: 46%;
    position: absolute;
    top: -16%;
    left: -19%;
    z-index: 10;

    @media screen and (max-width: 800px) {
        width: 76%;
        top: -3%;
        left: -35%;
    }
}

.kv-bg-obj02 {
    width: 38%;
    position: absolute;
    top: 45%;
    right: -14%;

    @media screen and (max-width: 800px) {
        width: 88%;
        top: 35%;
        right: -32%;
    }
}

.kv-bg-obj03 {
    width: 27%;
    position: absolute;
    top: -12%;
    right: 16%;

    @media screen and (max-width: 800px) {
        width: 37%;
        top: -5%;
        right: 12%;
    }
}

.kv-bg-obj04 {
    width: 30%;
    position: absolute;
    top: -10%;
    right: -9%;
    z-index: 10;

    @media screen and (max-width: 800px) {
        width: 43%;
        top: 1%;
        right: -16%;
    }
}

.kv-bg-obj05 {
    width: 26%;
    position: absolute;
    bottom: 10%;
    left: -9%;

    @media screen and (max-width: 800px) {
        width: 50%;
        bottom: 49%;
        left: -12%;
    }
}

.kv-bg-obj06 {
    width: 22%;
    position: absolute;
    top: -14%;
    left: 23%;

    @media screen and (max-width: 800px) {
        width: 39%;
        top: -6%;
        left: 20%;
    }
}

.kv-bg-obj07 {
    width: 18%;
    position: absolute;
    top: 28%;
    right: -5%;
    z-index: 5;

    @media screen and (max-width: 800px) {
        width: 40%;
        top: 21%;
        right: -13%;
    }
}

/* キービジュアルコンテンツ */
.kv-contents {
    position: relative;
    z-index: 1;
    padding-bottom: 5%;

    @media screen and (max-width: 800px) {
        padding-bottom: 15%;
    }
}

.kv-img__box {
    width: 100%;
    max-width: 1100px;
    height: 700px;
    position: relative;
    margin: 0 auto;

    @media screen and (max-width: 1000px) {
        height: 60vh;
    }

    @media screen and (max-width: 550px) {
        height: 40vh;
        min-height: 350px;
    }
}

/* メイントランプ配置 */

.kv-img01 {
    width: 47%;
    position: absolute;
    left: 7%;
    top: 10%;
    z-index: 3;

    @media screen and (max-width: 800px) {
        width: 55%;
        left: 4%;
        top: 10%;
    }
}

.kv-img02 {
    width: 42%;
    position: absolute;
    top: 2%;
    right: 11%;

    @media screen and (max-width: 800px) {
        width: 51%;
        left: 46%;
        top: 6%;
    }
}

/* メイントランプアニメーション */

.kv-img01,
.kv-img02 {
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease-out;
}

.kv-img01 {
    transform: translateY(-100px) rotate(-15deg);
}

.kv-img02 {
    transform: translateY(-120px) rotate(15deg);
}

.kv-active-img .kv-img01,
.kv-active-img .kv-img02 {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}




/* メインタイトル、テキスト */
.main-title {
    width: 24.9%;
    margin: 5% auto 0;

    @media screen and (max-width: 800px) {
        width: 40%;
        margin: 0 auto;
    }
}

.kv-contents h2,
p {
    font-family: 'Yu Gothic UI', YuGothic, 'Yu Gothic', sans-serif;
    color: #604c3f;
    text-align: center;

}

.kv-contents h2 {
    font-size: 22px;
    margin-top: 70px;
    letter-spacing: 4px;

    @media screen and (max-width: 800px) {
        font-size: 18px;
        margin-top: 30px;
        line-height: 1.5;
    }
}

.kv-contents p {
    font-size: 16px;
    margin-top: 30px;
    letter-spacing: 2px;
    line-height: 1.5;
    font-weight: 600;

    @media screen and (max-width: 800px) {
        line-height: 1.8;
        font-size: 13px;
        margin-top: 20px;
    }
}

/* 金額別切り替えbtn */

/* .navがfixedしても高さが消えないように固定でおいておく */
.nav-box {
    height: 90px;
}

.nav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;


}

.nav a {
    transition: all ease .8s;
}

/* nav固定・解除 */
.nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* 全幅にする */
    margin: 0;
    padding: 10px 16.7%;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media screen and (min-width: 800px) {
    .nav.is-fixed a {
        width: 27%;
    }
}


/* スマホ時のパディング調整 */
@media screen and (max-width: 800px) {
    .nav.is-fixed {
        padding: 10px 5%;
        /* スマホの .inner 幅(90%)に合わせる */
    }
}

/* ショップリスト到達時に隠す設定 */
.nav.is-hidden {
    opacity: 0;
    pointer-events: none;
    /* クリックできないようにする */
    transform: translateY(-20px);
    /* 上にスッと消えるアニメーション */
}

/* 金額別ボタンアイコンスタイル */
.category-btn {
    display: block;
    width: 32%;
    height: auto;
    background-color: #604c3f;
    border-radius: 15px;
    transition: background-color 0.3s ease;

    @media screen and (max-width: 800px) {
        border-radius: 10px;
    }
}



/* 選択時赤く */
.btn-active {
    background-color: #e95377 !important;
}



.card-box {
    position: relative;
    z-index: 2;
    margin-top: 5%;
}



/* カードエリア */
.card-area {
    padding: 5% 0;
    position: relative;
    z-index: 1;

    @media screen and (max-width: 800px) {
        padding: 10% 0;
    }
}

.section-title {
    width: 44%;
    margin: 0 auto 7%;

    @media screen and (max-width: 800px) {
        width: 75%;
    }
}

/* 詳細タップアイコン */
.tap-icon {
    width: 15%;
    position: absolute;
    top: 131px;
    right: -12%;
    z-index: 2;
    animation: tap 2s ease-out infinite;

    @media screen and (max-width: 800px) {
        width: 24%;
        top: 80px;
        right: -4%;
    }
}

@keyframes tap {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.8);
    }
}

/* カード配置 */
.card-pos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    @media screen and (max-width: 800px) {
        flex-direction: column;
        align-content: center;
    }
}

/* カードアニメーション */
.card {
    width: 44.3%;
    perspective: 1000px;
    /* 奥行き感 */
    cursor: pointer;
    margin-bottom: 5%;
    transition: all ease .2s;

    @media screen and (max-width: 800px) {
        width: 80%;
    }
}


.card-inner {
    position: relative;
    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

    /* 子要素の3D配置を維持 */
}


/* 【重要】PCのみ：表面(not .is-flipped)の時だけ、少しだけ傾ける（最初の動きを洗練） */
@media (hover: hover) {
    .card:not(.is-flipped):not(.is-recovering):hover .card-inner {
        /* 起点を右下にして、わずかに浮き上がる動き */
        transform-origin: right bottom;
        transform: rotateX(4deg) rotateY(6deg) translateZ(20px);
    }
}

/* 【重要】クリック後の回転：!importantでホバーの動きを上書きして固定する */
.card.is-flipped .card-inner {
    transform: rotateY(180deg) !important;
    transform-origin: center center;
}

/* 裏面画像の向き調整 */
.cardface-back {
    transform: rotateY(180deg);
}

.cardface {

    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* 裏側を見えなくする */
    display: grid;
    place-items: center;
}

.cardface img {
    width: 100%;
}

/* 前面 */
.cardface-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);

}

/* 背面（最初から180度回転させて裏を向けておく） */
.cardface-back {
    position: absolute;
    /* 背面は重ねる */
    top: 0;
    left: 0;
    transform: rotateY(180deg);

}

/* ショップリスト */
.shop-list {
    position: relative;
    z-index: 1;
    padding: 5% 0 10%;

    @media screen and (max-width: 800px) {
        padding: 5% 0 15%;
    }
}

.shop-list p {
    font-size: 14px;
    margin-top: 100px;
    letter-spacing: 2px;
    line-height: 2.5;
    font-weight: 600;

    @media screen and (max-width: 800px) {
        line-height: 2;
        font-size: 11px;
        margin-top: 30px;
    }
}

/* スマホ版ショップリスト */
.shop-list__sp {
    display: none;

    @media screen and (max-width: 800px) {
        display: block;
        width: 95%;
        margin: 0 auto;
        border: 5px solid #e95377;
        border-radius: 20px;
        overflow: hidden;
    }
}

@media screen and (max-width: 800px) {
    .shop-list01 {
        background-color: #eaf6fd;
        padding: 10% 0;
    }

    .shop-list02 {
        background-color: #fbe6ef;
        padding: 10% 0;
    }

    /* セクションタイトル */
    .sl-sec__title {
        font-size: 20px;
        text-align: center;
        letter-spacing: 1px;
        margin: 0 0 15%;
        position: relative;
    }

    .shop-list01 .sl-sec__title::before {
        content: "";
        height: 1px;
        width: 7%;
        background-color: #2ea7e0;
        position: absolute;
        left: 6%;
        top: 50%;
        translate: -50%;
    }

    .shop-list01 .sl-sec__title::after {
        content: "";
        height: 1px;
        width: 7%;
        background-color: #2ea7e0;
        position: absolute;
        right: -1%;
        top: 50%;
        translate: -50%;
    }

    .shop-list01 .sl-sec__title {
        color: #2ea7e0;
    }

    .shop-list02 .sl-sec__title::before {
        content: "";
        height: 1px;
        width: 7%;
        background-color: #e95e97;
        position: absolute;
        left: 6%;
        top: 50%;
        translate: -50%;
    }

    .shop-list02 .sl-sec__title::after {
        content: "";
        height: 1px;
        width: 7%;
        background-color: #e95e97;
        position: absolute;
        right: -1%;
        top: 50%;
        translate: -50%;
    }

    .shop-list02 .sl-sec__title {
        color: #e95e97;
    }

    .sl-list01,
    .sl-list02 {
        padding: 0 5%;
        margin-bottom: 10%;
    }

    /* アコーディオンタイトル */
    .shop-list_text01 .sl-list__title {
        color: #2ea7e0;
        margin-bottom: 5%;
    }

    .sl-list__title-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ffffff;
        padding-bottom: 3%;
    }

    .sl-list__title {
        font-size: 18px;
        line-height: 1.3;
        position: relative;

    }

    .sl-list01 .sl-list__title {
        color: #2ea7e0;
    }

    .sl-list02 .sl-list__title {
        color: #e95e97;
    }

    .sl-list01 .arrow,
    .sl-list02 .arrow {
        position: relative;
        display: inline-block;
        width: 19.6px;
        height: 11.8px;
    }

    .arrow::before,
    .arrow::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: calc(50% - 1px);
        width: 2px;
        height: 15px;
        border-radius: 9999px;

        transform-origin: 50% calc(100% - 1px);
    }

    .sl-list01 .arrow::before,
    .sl-list01 .arrow::after {
        background-color: #2ea7e0;
    }

    .sl-list02 .arrow::before,
    .sl-list02 .arrow::after {
        background-color: #e95e97;
    }

    .arrow::before {
        transform: rotate(45deg);
    }

    .arrow::after {
        transform: rotate(-45deg);
    }

    .arrow-spin {
        transform: rotate(180deg);
    }

    /* リスト本体 */
    .sl-list {
        padding: 5% 0;
    }

    .sl-list li {
        list-style: none;
        color: #604c3f;
        font-weight: 600;
        font-size: 12px;
        margin-bottom: 7%;
        line-height: 1.5;
    }
}



/* フッター */
footer {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    padding: 10% 0 1%;
}

/* トップに戻るボタン */
.top-btn {
    position: absolute;
    z-index: 2;
    top: -10%;
    left: 50%;
    translate: -50%;
    display: block;
    width: 5%;
    transition: all ease .8s;

    @media screen and (max-width: 800px) {
        top: -15%;
        width: 15%;
    }
}

.top-btn:hover {
    top: -12%;
}

.footer-contents {
    width: 27%;
    max-width: 410px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

    @media screen and (max-width: 800px) {
        width: 60%;
    }
}

.footer-img {
    width: 41%;
}

.copy {
    width: 27%;
    max-width: 410px;
    margin: 3% auto 0;

    @media screen and (max-width: 800px) {
        width: 70%;
        margin: 12% auto 0;
    }
}

.copy img {
    width: 70%;
    margin: 0 auto;
}




/* アニメーション関係 */

.kv-active {
    opacity: 1;
    animation: swing 2s ease 1 .5s;
}

@keyframes swing {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0);
    }
}

.kv-animation-bg {
    opacity: 0;
    transition: all ease 1.2s;
}

.kv-active-bg {
    opacity: 1;
}

.fade-up {
    transform: translateY(50px);
    opacity: 0;
    transition: all ease .8s;
}

.fade-up-active {
    transform: translateY(0);
    opacity: 1;
}

.fade-in {
    opacity: 0;

}

.fade-in-active {
    opacity: 1;
}

.fade-slide-active {
    opacity: 1;
    transform: translate(0, 0);
}