/*######################################################################
共通設定
######################################################################*/

:root {
    --width__main-content: min(100%, 1000px);
    --color__p: #221815;
}

/* コンテンツ全体の調整 */
body {
    width: min(100%, 1440px);
    width: 100%;
    margin-inline: auto;
    color: var(--color__p);
    background-image: url("../images/bg.webp");
    background-size: contain;
    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
######################################################################*/

/*------------------------------------------------------------
header
------------------------------------------------------------*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site {
    display: grid;
    grid-template-columns: 1fr min(100%, 768px) 1fr;
}

.column__left {
    order: 1;
}

.column__right {
    order: 3;
}

.column__center {
    order: 2;
}

.header {
    background-color: #ffffff;
    padding: 3% 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin-inline: auto;
}

.header__logo {
    width: 34%;
}

.btn__header {
    width: 41%;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta {
    position: relative;
}

.cta__btn {
    position: absolute;
    bottom: 16%;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 84%;
}

/* cta column left */
.cta__column__left {
    width: min(90%, 396px);
}

/* cta main content */
.cta__main {
    background-color: #292929;
    margin-top: -2px;
    padding: 2em;
}

/*------------------------------------------------------------
course
------------------------------------------------------------*/

.course {
    margin-bottom: 14%;
}


/*------------------------------------------------------------
reason
------------------------------------------------------------*/

.reason {
    margin-top: 9%;
    margin-bottom: 4%;
}

/*------------------------------------------------------------
voice
------------------------------------------------------------*/

.voice {
    margin-top: 15%;
}

/*------------------------------------------------------------
info
------------------------------------------------------------*/

.info {
    padding: 6% 0;
}

.info__title {
    width: 28%;
    margin-inline: auto;
    margin-bottom: 2%;
}

.info__list {
    /* 320-768*/
    font-size: clamp(0.625rem, 0rem + 3.125vw, 1.5rem);
    width: 90%;
    margin: 0 auto 6%;

    th, td {
        border-bottom: 1px dotted #1f296b;
        border-width: 0.25em;
        padding: 1.25em 0;
    }

    th {
        text-align: left;
        vertical-align: top;
        font-size: 1.175em;
        color: #1f296b;
        width: 6em;
    }
}

.google-map {
    width: 90%;
    aspect-ratio: 2 / 1;
    margin-inline: auto;

    iframe {
        width: 100%;
        height: 100%;
    }
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.footer {
    padding: 2.5em 0;
    background-color: #1f296b;
    color: #ffffff;
}

.footer__nav {

    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        gap: 3em;

        li {
            padding: 0.125rem 0;
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;

        &:hover {
            filter: brightness(0.8);
        }
    }
}

.copyright__p {
    text-align: center;
    margin-top: 1em;
}

/*######################################################################
responsive
######################################################################*/

@media (width < 768px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }
}
