/*######################################################################
共通設定
######################################################################*/

:root {
    /* メインコンテンツの最大幅 */
    --width__main-content: min(100%, 1000px);
    /* メインフォントカラー */
    --color__p: #292727;
    /* メインフォント */
    --font__main: var(--font__shippori-mincho);
    /* フォント種類 */
    --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);
    container-type: inline-size;
    
    /* font */
    font-family: var(--font__main);
    font-optical-sizing: auto;
    font-weight: 600;
    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
------------------------------------------------------------*/

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 95%;
    margin-inline: auto;
    padding: 1.5% 0 0.5%;
}

.logo--header {
    width: 36%;
    margin-bottom: 1.5%;
}

.btn--header {
    width: 28%;
}

/*------------------------------------------------------------
fv
------------------------------------------------------------*/

.fv {
    position: relative;
}

.btn__cta--1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 42%;
}

/*------------------------------------------------------------
course
------------------------------------------------------------*/

.course {
    position: relative;
}

.course__price {
    position: absolute;
    top: 41.8%;
    right: 10%;
    font-size: 3cqw;
}

/*------------------------------------------------------------
cta 2
------------------------------------------------------------*/

.cta--2 {
    display: grid;
    place-items: center;
    padding: 3% 0;
}

.cta--2__inner {
    width: 42%;
}

.cta--2__text {
    width: 75%;
    margin-inline: auto;
}

/*------------------------------------------------------------
info
------------------------------------------------------------*/

.info {
    margin-top: -15%;
    position: relative;
}

.info__item__wrapper {
    position: absolute;
    top: 19%;
    left: 25.5%;
    width: 24.5%;
    height: 27%;
}

.info__item {
    position: absolute;
    left: 0%;
    font-size: 1.15cqw;
    font-family: var(--font__noto-sans-jp);
}

.info__item--1 {
    top: 3%;
}

.info__item--2 {
    top: 13%;
}

.info__item--3 {
    top: 19%;
}

.info__item--4 {
    top: 25.6%;
}

.info__item--5 {
    top: 40%;
}

.info__item--6 {
    top: 46%;
}

.info__item--7 {
    top: 56.9%;
}

.info__item--8 {
    top: 67%;
}

.info__item--9 {
    top: 73.5%;
}

.info__item--10 {
    top: 80%;
}

.info__item--11 {
    top: 86.6%;
}

.info__item--12 {
    top: 93%;
}

.google-map {
    position: absolute;
    top: 48%;
    left: 0;
    right: 0;
    width: 64%;
    height: 14.5%;
    margin-inline: auto;

    iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
}

.cta--3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.footer {
    padding: 2.5em 0;
    background-image: url('../images/footer.webp');
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    font-size: 1cqw;
}

.footer__nav {

    a {
        text-decoration: none;
        transition: 0.2s;

        &:hover {
            filter: brightness(0.8);
        }
    }
}

.copyright__p {
    text-align: center;
}

.follow__btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 3%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5% 0;
}

.btn__follow {
    width: 45%;
}

/*######################################################################
responsive
######################################################################*/

@media (max-width: 767px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }

    /* header */

    .header__inner {
        width: 90%;
        padding: 3% 0;
    }

    .logo--header {
        width: 60%;
        margin: 0;
    }

    /* fv */

    .fv {
        padding-bottom: 25%;
    }

    .btn__cta--1 {
        bottom: 2%;
        width: 95%;
    }

    /* course */

    .course__price {
        top: 43.4%;
        right: 2%;
        font-size: 4.5cqw;
    }

    /* cta 2 */

    .cta--2 {
        padding: 3% 0 8%;
    }

    .cta--2__inner {
        width: 95%;
    }

    /* info */

    .info__item__wrapper {
        top: 23.5%;
        left: 34%;
        width: 55%;
        height: 33%;
    }

    .info__item {
        font-size: 2.5cqw;
    }

    .google-map {
        top: 58%;
        width: 85%;
        height: 11%;
    }

    .cta--3 {
        padding: 4% 0;
    }

    /* footer */

    .footer {
        font-size: 2cqw;
    }
}
