/*######################################################################
共通設定
######################################################################*/

:root {
    /* メインコンテンツの最大幅 */
    --width__main-content: min(100%, 1000px);
    /* メインフォントカラー */
    --color__p: #5C5C5C;
    /* メインフォント */
    --font__main: var(--font__noto-serif-jp);
    /* フォント種類 */
    --font__noto-sans-jp: "Noto Sans JP", sans-serif;
    --font__noto-serif-jp: "Noto Serif JP", serif;
    --font__shippori-mincho: "Shippori Mincho", serif;
    /* 追加フォント */
    /* --font__x: ; */
}

/* コンテンツ全体の調整 */
body {
    width: min(100%, 1440px);
    margin-inline: auto;
    color: var(--color__p);
    font-size: clamp(0.75rem, 0.464rem + 0.595vw, 1rem);
    
    /* font */
    font-family: var(--font__main);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    &.page {
        margin: 0 auto;
    }
}

h1,
p {
    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
######################################################################*/

/*------------------------------------------------------------
header
------------------------------------------------------------*/

.site-header {
    display: none;
}

/*------------------------------------------------------------
fv
------------------------------------------------------------*/

.fv {
    position: relative;
    z-index: 2;
}

.fv__content {
    position: absolute;
    /* bottom: 6%; */
    /* bottom: 11%; */
    bottom: 13.5%;
    left: 29%;
    width: 34%;
    height: 18%;
    height: 9%;
}

.fv__content__price {
    position: relative;
    width: 38%;
    height: 100%;
}

.fv__price {
    position: absolute;
}

.fv__price--1 {
    top: 19.5%;
    top: -5%;
    left: 31%;
    font-size: clamp(0.688rem, -0.027rem + 1.488vw, 1.313rem);
    font-weight: 700;
}

.fv__price--2 {
    top: 33%;
    top: 20%;
    left: 0;
    color: #DD9791;
    font-size: clamp(1.375rem, 0.089rem + 2.679vw, 2.5rem);
    font-weight: 900;
}

.yen {
    font-size: 0.7em;
}

.fv__btn {
    width: 57%;
    position: absolute;
    top: 0;
    left: 37%;
}

/*------------------------------------------------------------
worry
------------------------------------------------------------*/

.worry {
    position: relative;
    z-index: 1;
    margin-bottom: -17%;
}

/*------------------------------------------------------------
reason
------------------------------------------------------------*/

.reason {
    position: relative;
    z-index: 0;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta {
    position: relative;
}

.cta__content {
    /* background-color: red;
    opacity: 0.6; */
    position: absolute;
    /* top: 52%; */
    top: 49%;
    left: 50%;
    translate: -50% 0;
    width: 38%;
    /* height: 23%; */
    height: 20%;
}

.cta__content__price {
    position: relative;
    width: 100%;
    height: 100%;
    height: 60%;
    /* background-color: blue; */
    /* opacity: 0.6; */
}

.cta__price {
    position: absolute;
}

.cta__price--1 {
    top: 8.5%;
    left: 15%;
    font-size: clamp(1.438rem, 0.08rem + 2.827vw, 2.625rem);
    color: #2D2C2C;
    font-weight: 600;
}

.cta__price--2 {
    top: -12%;
    left: 53%;
    font-size: clamp(1.75rem, -0.25rem + 4.167vw, 3.5rem);
    background: linear-gradient(20.92deg, #E3695D 16.97%, #FCACA4 110.09%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.cta__btn {
    width: 85%;
    margin-inline: auto;
}

/*------------------------------------------------------------
flow
------------------------------------------------------------*/

.flow {
    position: relative;
    color: #2D2C2C;
}

.flow__price {
    position: absolute;
}

.flow__price--1 {
    /* top: 6.7%; */
    top: 7.6%;
    left: 33%;
    font-size: clamp(2.625rem, -0.089rem + 5.655vw, 5rem);
    font-weight: 700;
    background: linear-gradient(20.92deg, #E3695D 16.97%, #FCACA4 110.09%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
}

.off {
    font-size: 0.7em;
}

.flow__price--2,
.flow__price--3 {
    font-family: var(--font__noto-sans-jp);
}

.flow__price--2 {
    /* top: 11.9%; */
    top: 13.5%;
    left: 44.5%;
    font-size: clamp(0.6rem, 0rem + 1.25vw, 1.125rem);
    
    .large {
        font-weight: 700;
        color: #E3695D;
        text-decoration: underline;
        text-underline-offset: 0.25em;
    }
}

.flow__price--3 {
    /* top: 56.2%; */
    top: 50.45%;
    left: 43%;
    font-size: clamp(0.625rem, -0.018rem + 1.339vw, 1.188rem);
    font-weight: 600;

    .yen {
        font-size: 1em;
    }
}

/*------------------------------------------------------------
info
------------------------------------------------------------*/

.info__inner {
    width: 65%;
    /* margin-inline: auto; */
    /* background-color: lightblue; */
    margin: 5% auto 6%;
}

.info__title {
    width: 50%;
    margin-inline: auto;
}

.google-map {
    width: 100%;
    aspect-ratio: 2 / 1;
    margin: 8% 0 6%;

    iframe {
        width: 100%;
        height: 100%;
    }
}

.info__list {
    font-family: var(--font__noto-sans-jp);
    width: 95%;
    margin-inline: auto;
    font-size: clamp(0.625rem, 0.196rem + 0.893vw, 1rem);

    tr {
        &:first-child  {
    
            th {
                border-top: 1px solid #999999;
            }
    
            td {
                border-top: 1px solid #BDB4B5;
            }
        }

        td:nth-of-type(1) {
            width: 8%;
            border: none;
        }
    }

    th, td {
        padding: 2em 0;
    }
    
    th {
        text-align: left;
        vertical-align: top;
        border-bottom: 1px solid #999999;
        font-weight: 700;
        color: #999999;
        width: 10em;
        width: 20%;
        margin-right: 3em;
    }

    td {
        border-bottom: 1px solid #BDB4B5;
        color: #2D2C2C;
        width: 70%;
    }
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.footer {
    padding: 2.5em 0;
    background-color: #414141;
    color: #ECECEC;
    font-size: 0.9em;
}

.footer__nav {

    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 5em;
        margin: 0;
        padding: 0;
        text-align: center;

        li {
            /* flex: 1; */
            padding: 0.125rem 0;
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;

        &:hover {
            filter: brightness(0.8);
        }
    }
}

.copyright__p {
    text-align: center;
    margin-top: 1.5em;
}

/*######################################################################
responsive
######################################################################*/

@media (max-width: 767px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }

    /* body */
    body {
        font-size: clamp(0.625rem, 0rem + 3.125vw, 1.5rem);
    }

    /* fv */
    .fv__content {
        /* background-color: lightblue; */
        /* opacity: 0.6; */
        /* bottom: 10%; */
        bottom: 12%;
        /* left: 9%; */
        left: 11%;
        width: 80%;
        height: 18%;
    }

    .fv__content__price {
        /* background-color: lightcoral; */
        /* opacity: 0.6; */
        position: absolute;
        top: 0;
        right: 0;
        width: 40%;
        height: 50%;
    }

    .fv__price--1 {
        /* top: -5%; */
        left: 35%;
        font-size: clamp(0.75rem, -0.054rem + 4.018vw, 1.875rem);
    }
    
    .fv__price--2 {
        font-size: clamp(1.5rem, -0.018rem + 7.589vw, 3.625rem);
        color: #D97E77;
    }
    
    .fv__btn {
        top: 56%;
        left: 0;
        right: 0;
        width: 95%;
        margin-inline: auto;
    }
    
    /* worry */
    .worry {
        margin-top: -35%;
    }
    
    /* reason */
    .reason {
        margin-bottom: -1px;
    }

    /* cta */
    .cta__content {
        /* background-color: lightblue;
        opacity: 0.7; */
        width: 78%;
        height: 22%;
    }

    .cta__content__price {
        height: 44%;
    }

    .cta__price--1 {
        top: -3%;
        left: 12%;
        font-size: clamp(1.313rem, -0.027rem + 6.696vw, 3.188rem);
    }

    .cta__price--2 {
        top: -22%;
        left: 54%;
        font-size: clamp(1.75rem, -0.036rem + 8.929vw, 4.25rem);
    }

    .cta__btn {
        width: 100%;
    }

    /* flow */
    .flow {
        margin-top: -1px;
    }

    .flow__price--1 {
        /* top: 5.8%; */
        top: 6.7%;
        left: 50%;
        translate: -50% 0;
        font-size: clamp(3.375rem, 0.071rem + 16.518vw, 8rem);
    }

    .flow__price--2 {
        /* top: 10.5%; */
        top: 11.8%;
        left: 50%;
        translate: -50% 0;
        /* background: lightblue; */
        /* opacity: 0.7; */
        width: 70%;
        font-size: clamp(0.75rem, -0.009rem + 3.795vw, 1.813rem);
        line-height: 1.8;

        .large {
            font-size: 1.125em;
        }
    }

    .flow__price--3 {
        /* top: 60.67%; */
        top: 55.25%;
        left: 24%;
        font-size: clamp(0.875rem, 0.071rem + 4.018vw, 2rem);
    }

    /* info */
    .info__inner {
        width: 90%;
    }

    .info__title {
        width: 60%;
    }

    .google-map {
        aspect-ratio: 1 / 1.2;
    }

    .info__list {
        font-size: clamp(0.75rem, -0.098rem + 4.241vw, 1.938rem);
        width: 100%;

        tr {
            &:first-child {

                th {
                    border-color: #BDB4B5;
                }
                td {
                    border-top: none;
                }
            }

            td:nth-of-type(1) {
                display: none;
            }
        }

        th, td {
            display: block;
            width: 100%;
            padding: 0;
        }

        th {
            border: none;
            padding: 1em 0 0.5em;
        }

        td {
            padding-bottom: 1em;
        }
    }

    /* footer */
    .footer__nav {
        
        ul {
            flex-direction: column;
            gap: 1em;
        }
    }

    .copyright__p {
        margin-top: 2em;
    }
}
