

/*######################################################################
共通設定
######################################################################*/

:root {
    --width__main-content: min(100%, 1000px);
    --color__accent: #FF7BAC;
}

/* コンテンツ全体の調整 */
body {
    width: min(100%, 1440px);
    margin-inline: auto;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    color: #333333;
    background-color: #fff;

    &.page { /* bodyが .page というクラス名を持っているときだけ */
        margin: 0 auto;
    }
}

h1 {
    margin: 0;
}

p, a, ul, ol, table {
    /* 400-768 */
    font-size: clamp(0.875rem, 0.739rem + 0.543vw, 1rem);
}

/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none;

    }
 }


.pc-only {
    display: block; /* PCでは表示 */
}

@media (max-width: 767px) {
    .pc-only {
        display: none; /* SPでは非表示 */
    }
}
/* SP版でのみ表示 */
.sp-only {
    display: none; /* PCでは非表示 */
}

@media (max-width: 767px) {
    .sp-only {
        display: block; /* SPでは表示 */
    }
}



/* 折り返し */
/* PC版でのみ表示 */
.pc {
    display: inline; /* PCでは表示 */
}

@media (max-width: 767px) {
    .pc {
        display: none; /* SPでは非表示 */
    }
}
/* SP版でのみ表示 */
.sp {
    display: none; /* PCでは非表示 */
}

@media (max-width: 767px) {
    .sp {
        display: inline; /* SPでは表示 */
    }
}

span.strong {
    font-weight: bold; /* 太字にする */
    font-size: 1em;  /* 強調のためにサイズを若干大きく（任意） */
}

/*------------------------------------------------------------
スクロールアニメーション
------------------------------------------------------------*/

/* フェードイン */
.fadein {
    opacity: 0;
    animation: fadein 1s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadein-scrollin {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 1.5s;


    &.scrollin-left {
        transform: translate(-30px, 0);
    }

    &.scrollin-right {
        transform: translate(30px, 0);
    }

    &.scrollin-bottom {
        transform: translate(0, 30px);
    }

    &.scrollin {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/*######################################################################
コンテンツ
######################################################################*/
/*------------------------------------------------------------
cta
------------------------------------------------------------*/
.cta {
    position: relative;
    margin-inline: auto;
}
.cta-btn {
    position: absolute;
    width: min(46.6%, 672px);
    top: 41%;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 767px) {
    .cta-btn {
        width: min(88%, 331px);
        top: 43%;
    }
}

/*------------------------------------------------------------
menu
------------------------------------------------------------*/
.menu {
    position: relative;
    margin-inline: auto;
}
.menu-value {
    position: absolute;
    top: 75.6%;
    left: 17.5%;
    text-align: left;
    /* 88-48px */
    font-size: clamp(3rem, 0.151rem + 5.944vw, 5.5rem);
    font-family: "GFS Didot", serif;
    font-weight: 400;
    letter-spacing: -0.25rem;
}
@media (max-width: 767px) {
    .menu-value {
        top: 72.3%;
        left: 30%;
        font-size: 58px;

    }
}
.menu-value span {
    /* 60-42px */
    font-size: clamp(2.625rem, 1.343rem + 2.675vw, 3.75rem);
    letter-spacing: -0.2rem;
}
@media (max-width: 767px) {
    .menu-value span {
        font-size: 42px;
    }
}


/*------------------------------------------------------------
review
------------------------------------------------------------*/
.review {
    background-color: #FCF4EC;
}
.review__content {
    width: min(81%, 1168px);
    padding: 7% 0 10.5%;
    margin-inline: auto;
}
@media (max-width: 767px) {
    .review__content {
        width: 89.3%;
        padding: 13% 0 14%;
    }
}


/*------------------------------------------------------------
access
------------------------------------------------------------*/
.access {
    padding-top: 7%;
}
@media (max-width: 767px) {
    .access {
        padding-top: 9.5%;
    }
}
.access__title {
    width: min(28%, 402px);
    margin-left: 30.3%;
}
@media (max-width: 767px) {
    .access__title {
        width: min(64%, 242px);
        margin-left: 17%;
    }
}
.access__inner {
    width: min(77.7%, 1120px);
    margin-inline: auto;
    margin-top: 5.6%;
    /* 24-13px */
    font-size: clamp(0.813rem, 0.029rem + 1.634vw, 1.5rem);
}
@media (max-width: 767px) {
    .access__inner {
        width: min(91.4%, 343px);
        margin-top: 11%;
        font-size: 16px;
    }
}
.access__item {
    display: flex;
}

.access__grid {
    display: flex;
    gap: 9%;
    justify-content: space-between;
}
@media (max-width: 767px) {
    .access__grid {
        display: block;
    }
}
.access__block {
    flex: 1;
}
.access__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5%;
    border-bottom: 1px solid #333;
}
.access__term {
    width: 28%;
    padding-bottom: 2%;
}
@media (max-width: 767px) {
    .access__term {
        width: 25%;
    }
}
.access__desc {
    flex: 1;
    padding-bottom: 3%;
    padding-right: 3%;
    line-height: 1.7;
}
@media (max-width: 767px) {
    .access__desc {
        padding-bottom: 1.5%;
        padding-right: 2%;
        line-height: 1.8;
    }
}
.access__desc-under {
    padding-bottom: 7%;
}

span.line-top {
    display: inline-block;
    margin-top: 6%;
}

.access__desc a {
    /* 30-15px */
    font-size: clamp(0.813rem, 0.029rem + 1.634vw, 1.5rem);
    text-decoration: none;
}
@media (max-width: 767px) {
    .access__desc a {
        font-size: 16px;
        text-decoration: none;
    }
}




/* SP 表示：縦並び */
@media (max-width: 767px) {
    .table__row {
        flex-direction: column;
        gap: 2%;
    }

    .table__term {
        width: fit-content;
        text-align: left;
    }
}

.map {
    width: min(83%, 1200px);
    margin: 4% auto 5%;
}
@media (max-width: 767px) {
    .map {
        width: min(91.4%, 343px);
        aspect-ratio: 2 / 1.5;
        overflow: hidden;
        margin: 14% auto 2%;
    }
 }



/*------------------------------------------------------------
footer
------------------------------------------------------------*/
.footer {
    padding: 1.5rem 0;
    background-color: #BE242C;
    color: #ffffff;
}
@media (max-width: 767px) {
    .footer {
        padding: 0.7rem 0;
    }
 }


.copyright__p {
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.6px;
    margin: 0 !important;
    /* 24-12 */
    font-size: clamp(0.75rem, -0.105rem + 1.783vw, 1.5rem);
}
@media (max-width: 767px) {
    .copyright__p {
        margin-top: 0;
        font-size: 13px;
        font-weight: 400;
    }
 }

