/*######################################################################
共通設定
######################################################################*/

:root {
    --width__main-content: min(100%, 1000px);
    --color__p: #523307;
}

/* コンテンツ全体の調整 */
body {
    width: min(100%, 1440px);
    width: 100%;
    margin-inline: auto;
    color: var(--color__p);
    background-image: url("../images/bg.webp");
    /* background-size: contain; */
    background-size: cover;
    background-attachment: fixed;
    font-size: clamp(0.75rem, 0.464rem + 0.595vw, 1rem);
    
    /* font: noto sans jp */
    /* font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; */

    /* font: noto serif jp */
    /* font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; */

    /* しっぽり明朝 */
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;

    &.page {
        margin: 0 auto;
    }
}

h1,
p,
figure {
    margin: 0;
}


/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
}

/* SPでのみ表示 */
.sp {
    display: none;
}

/* SPでのみ折り返し */
.br__sp {
    display: none;
}

/*------------------------------------------------------------
スクロールアニメーション
------------------------------------------------------------*/

/* 即時フェードイン */
.fadein {
    opacity: 0;
    animation: fadein 1s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}

/* スクロールフェードイン */
.scroll-in {
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity 1.5s ease, transform 1.5s ease; /* スムーズなアニメーション */
}

/* フェードインの方向指定 */
.scroll-in--left {
    transform: translate(-30px, 0);
}

.scroll-in--right {
    transform: translate(30px, 0);
}

.scroll-in--bottom {
    transform: translate(0, 30px);
}

/* 表示時のスタイル */
.scroll-in.scroll-in--visible {
    opacity: 1;
    transform: translate(0, 0);
}

/*######################################################################
コンテンツ

    clamp: 記述なし = 320-768 768-1440
######################################################################*/

/*------------------------------------------------------------
column
------------------------------------------------------------*/

.site {
    display: grid;
    grid-template-columns: 1fr 480px minmax(0, 1fr);
    place-content: center;
}

.column__left {
    order: 1;
}

.column__left__content {
    position: sticky;
    top: 50%;
    translate: 0 -50%;
    width: 400px;
    max-width: 70%;
    margin-inline: auto;
    container-type: inline-size;
}

.column__left__content__inner {
    position: relative;
}

.column__right {
    order: 3;
}

.column__center {
    order: 2;
    background-color: #ffffff;
    container-type: inline-size;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta {
    position: relative;
}

.discount--1,
.discount--2,
.cta__btn {
    position: absolute;
}

.discount--1 {
    top: 34%;
    left: 32%;
    /* font-size: 120px; */
    /* font-size: clamp(3rem, -0.214rem + 16.071vw, 7.5rem); */
    /* font-size: 74px; */
    font-size: 15.5cqw;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 700;
    font-style: normal;
    color: #FC4955;

    &.cta__pc {
        top: 26.5%;
        top: 29%;
        left: 28%;
        left: 32%;
        /* font-size: 68px; */
        /* 1024-1640 */
        /* font-size: clamp(3rem, 0.922rem + 3.247vw, 4.25rem); */
        font-size: 17cqw;
    }
}

.discount--2 {
    top: 63.5%;
    right: 19%;
    /* font-size: 24px; */
    /* font-size: clamp(0.625rem, 0rem + 3.125vw, 1.5rem); */
    /* font-size: 15px; */
    font-size: 3cqw;
    color: var(--color__p);

    &.cta__pc {
        top: 65.5%;
        right: 10%;
        /* font-size: 16px; */
        /* 1024-1640 */
        /* font-size: clamp(0.688rem, 0.168rem + 0.812vw, 1rem); */
        font-size: 3.8cqw;
    }
    
}

.cta__btn {
    top: 74%;
    left: 0;
    right: 0;
    width: 80%;
    margin-inline: auto;
}

.cta__btn--pc {
    position: absolute;
    top: 78%;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 100%;
}

/*------------------------------------------------------------
voice
------------------------------------------------------------*/

.voice {
    margin-top: -11%;
}

/*------------------------------------------------------------
reason
------------------------------------------------------------*/

.reason {
    margin-top: 10%;
}

/*------------------------------------------------------------
intro
------------------------------------------------------------*/

.intro {
    position: relative;
}

.intro__discount {
    position: absolute;
    top: 74.7%;
    left: 11.5%;
    /* font-size: 45px; */
    /* font-size: clamp(1.188rem, 0.027rem + 5.804vw, 2.813rem); */
    /* font-size: 28px; */
    font-size: 6cqw;
    color: #D6A950;
}

/*------------------------------------------------------------
menu
------------------------------------------------------------*/

.menu {
    position: relative;
}

.price {
    position: absolute;
    left: 46%;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    /* font-size: 34px; */
    /* font-size: clamp(0.875rem, -0.018rem + 4.464vw, 2.125rem); */
    /* font-size: 22px; */
    font-size: 4.6cqw;
    white-space: pre-wrap;
}

.price__first {
    color: #BF1D40;

    &::before {
        content: "初回限定で";
    }
}

.price--1-1 {
    top: 25.75%;
    /* left: 46%; */
}

.price--1-2 {
    top: 26.9%;
    /* left: 1%; */
}

.price--2-1 {
    top: 50%;
    /* left: 1%; */
}

.price--2-2 {
    top: 51.1%;
    /* left: 1%; */
}

.price--3-1 {
    top: 74.75%;
    /* left: 1%; */
}

.price--3-2 {
    top: 75.8%;
    /* left: 1%; */
}

.price__wrapper {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    /* font-size: 33px; */
    /* font-size: clamp(0.875rem, 0.027rem + 4.241vw, 2.063rem); */
    /* font-size: 21px; */
    font-size: 4.3cqw;
    width: 85%;
    display: grid;
    place-items: center;
}

.price--4-1 {
    top: 91%;
    height: 8%;
}

.price--4-2 {
    top: 82%;
    height: 6%;
}

.price__list {
    white-space: pre-wrap;
}

/*------------------------------------------------------------
info
------------------------------------------------------------*/

.google-map {
    width: 80%;
    aspect-ratio: 3 / 2;
    margin-inline: auto;

    iframe {
        width: 100%;
        height: 100%;
    }
}

.info__list {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-style: normal; 
    color: var(--color__p);
    /* font-size: 30px; */
    /* font-size: clamp(0.875rem, 0.161rem + 3.571vw, 1.875rem); */
    /* font-size: 19px; */
    font-size: 4cqw;
    width: fit-content;
    margin: 8% auto;

    th {
        width: 5em;
        padding: 1em 1em 1em 0;
        font-weight: 400;
    }

    td {
        font-size: 0.8em;
        font-weight: 300;
        padding: 1em 0 1em 1em;
    }
}


/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.footer {
    padding: 2em 0;
    color: #ffffff;
    background-color: var(--color__p);
}

.footer__nav {

    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        gap: 3em;

        li {
            /* flex: 1; */
            padding: 0.125rem 0;

            &:not(:last-child) {
                /* border-right: 2px solid white; */
            }
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;

        &:hover {
            filter: brightness(0.8);
        }
    }
}

.copyright__p {
    text-align: center;
    margin-top: 1.5em;
}

/*######################################################################
responsive
######################################################################*/

@media (width < 1024px) {
    .site {
        grid-template-columns: 1fr;
    }

    .column__left__content {
        display: none;
    }

    .column__center {
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
    }
}

@media (width < 768px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }
}
