/*######################################################################
共通設定
######################################################################*/

:root {
    --color__p: #333333;
    /* font */
    --noto-sans-jp: "Noto Sans JP", sans-serif;
    --noto-serif-jp: "Noto Serif JP", serif;
    --shippori-mincho: "Shippori Mincho", serif;
}

/* コンテンツ全体の調整 */
body {
    color: var(--color__p);
    /* font-size: clamp(0.75rem, 0.464rem + 0.595vw, 1rem); */
    /* 320-1440 */
    font-size: clamp(0.75rem, 0.679rem + 0.357vw, 1rem);
    background-image: url("../images/bg_pc.webp");
    background-size: cover;
    background-attachment: fixed;
    
    /* font */
    font-family: var(--noto-sans-jp);
    font-optical-sizing: auto;
    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
######################################################################*/

/*------------------------------------------------------------
header
------------------------------------------------------------*/

.site {
    display: grid;
    grid-template-columns: 50% min(100%, 768px) 1fr;
    grid-template-columns: 50% min(100%, 480px) 1fr;
    grid-template-rows: 1fr;
}

.column__left {
    order: 1;
}

.column__right {
    order: 3;
}

.column__center {
    order: 2;

    background-color: #ffffff;
    container-type: inline-size;
}

.cta__pc {
    width: 70%;
    position: sticky;
    top: 50%;
    translate: 0 -50%;
    margin-inline: auto;
}

.cta__pc--inner {
    position: relative;
}

.btn {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
}

.btn--pc {
    bottom: 8%;
    width: 94%;
}

/*------------------------------------------------------------
fv
------------------------------------------------------------*/

.fv {
    position: relative;
    margin-bottom: 10%;
}

.btn--fv {
    bottom: 2.4%;
    width: 90%;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta {
    width: 80%;
    margin: 10% auto 0;
    position: relative;
}

.cta--3 {
    margin-top: 5%;
}

.btn--1 {
    bottom: 20%;
    width: 100%;
}

/*------------------------------------------------------------
reason
------------------------------------------------------------*/

.reason {
    margin-top: 15%;
}

/*------------------------------------------------------------
menu
------------------------------------------------------------*/

.menu {
    position: relative;
}

.price {
    position: absolute;
    left: 46%;
    font-family: var(--shippori-mincho);
    color: #ffffff;
    font-size: 9cqw;
}

.price--1 {
    top: 25.7%;
}

.price--2 {
    top: 55.7%;
}

.price--3 {
    top: 82.2%;
}

.yen {
    font-size: 0.5em;

    position: relative;

    &::before {
        content: "(税込)";
        position: absolute;
        top: -12%;
        left: 0;
        font-size: 0.375em;
        width: 3em;
    }
}

/*------------------------------------------------------------
message
------------------------------------------------------------*/

.message {
    margin-top: 20%;
}

/*------------------------------------------------------------
flow
------------------------------------------------------------*/

.flow {
    width: 95%;
    margin-top: 10%;
}

/*------------------------------------------------------------
faq
------------------------------------------------------------*/

.faq {
    margin-top: 10%;
}

/*------------------------------------------------------------
info
------------------------------------------------------------*/

.google-map {
    width: 90%;
    aspect-ratio: 2 / 1.1;
    margin-inline: auto;

    iframe {
        width: 100%;
        height: 100%;
    }
}

.info__bottom {
    position: relative;
}

.info__bottom__content {
    position: absolute;
    top: 41.5%;
    right: 4%;
    width: 66%;
    height: 41%;
    font-size: 15px;
    font-size: 3cqw;
}

.info__bottom__content--inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.info__data {
    position: absolute;
    left: 0;
}

.info__data--1 {
    top: 0%;
}

.info__data--2 {
    top: 23.5%;
}

.info__data--3 {
    top: 40%;
}

.info__data--4 {
    top: 57%;
}

.info__data--5 {
    top: 73.6%;
}

.info__data--6 {
    top: 91%;
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.footer {
    margin-top: 10%;
    padding: 2em 0;
    font-size: 0.8em;
    color: var(--color__p);
}

.footer__nav {

    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        gap: 2em;
    }

    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 min(100%, 480px) 1fr;
    }

    /* 左カラムのコンテンツを非表示 */
    .cta__pc {
        display: none;
    }
}

@media (width < 768px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }
}
