/* -------------------------------- */
/* mainセクション
/* -------------------------------- */

.sp {
    display: none;
}

.logo {
    position: absolute;
    top     : 20px;
    left    : 36px;
    z-index : 10;
    width   : 60px;
}

.language {
    position   : absolute;
    top        : 20px;
    right      : 36px;
    z-index    : 10;
    color      : #fff;
    display    : flex;
    align-items: center;
    gap        : 8px;
}

.language a {
    font-size  : 1.7rem;
    line-height: 1.25;
    color      : #fff;
}



.main-img {
    height             : 100vh;
    width              : 100%;
    background-image   : url(../img/bg_img.jpg);
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    position           : relative;
}


.main-img h2 {
    position   : absolute;
    left       : 36px;
    font-size  : clamp(4rem, 6vw, 6.4rem);
    line-height: 1.25;
    color      : #fff;
    font-weight: 400;
    bottom     : 60px;
}

.scroll-down {
    position      : absolute;
    right         : 36px;
    bottom        : 40px;
    z-index       : 999;
    pointer-events: none;
    display       : flex;
    align-items   : center;
    gap           : 4px;
    color         : #ffffff;
    font-size     : 1.3rem;
}


.scroll-down__paren {
    flex-shrink: 0;
}


.scroll-down__marquee {
    width      : 60px;
    overflow   : hidden;
    white-space: nowrap;
}


.scroll-down__track {
    display  : inline-flex;
    animation: marquee 8s linear infinite;
}

.scroll-down__track span {
    padding-right: 8px;
}


@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* -------------------------------- */
/*summary
/* -------------------------------- */


.summary {
    padding: 120px 36px 160px;
}

.summary h3 {
    text-align : center;
    width      : 46.7%;
    margin     : 0 auto;
    font-size  : 2rem;
    line-height: 1.75;
}

/* -------------------------------- */
/*Aboutセクション
/* -------------------------------- */

.about__inner {
    padding              : 60px 0 160px 8.571vw;
    margin               : 0 auto;
    display              : grid;
    grid-template-columns: minmax(0, 0.57fr) minmax(40px, 0.27fr) minmax(0, 1fr);
}

.about__content {
    grid-column: 1 / 2;
    position   : sticky;
    top        : clamp(80px, 12vh, 140px);
    align-self : start;
}

.about__eyebrow {
    font-size    : 1.5rem;
    margin-bottom: 2rem;
}

.about__title {
    font-size    : clamp(4.8rem, 5vw, 8rem);
    line-height  : 1.1;
    margin-bottom: 6rem;
}




.about__text p {
    max-width    : 38ch;
    margin-bottom: 1.6em;
    line-height  : 1.75;
}


.about__media {
    grid-column: 3 / 4;
}

.about__media img {
    width  : 100%;
    height : auto;
    display: block;
}


/* -------------------------------- */
/*Flowセクション
/* -------------------------------- */

.flow {
    position        : relative;
    overflow        : hidden;
    background-color: #3A3E33;
}

.flow::after {
    content         : "";
    position        : absolute;
    left            : 0;
    bottom          : 0;
    width           : 100%;
    height          : clamp(80px, 12vw, 136px);
    background-color: #D9D3C3;
    z-index         : 0;
}

.flow__inner {
    position: relative;
    z-index : 1;
    padding : 0 0 0 8.571vw;
    margin  : 0 auto;
    color   : #F9FFEE;
}

.flow__item--01 {
    display        : flex;
    justify-content: space-between;

}

.flow__image {
    width: 40.7%;
}

.flow__items {
    margin-top: 120px;
    width     : 38.125%;
}


.flow__title {
    font-size    : clamp(4.8rem, 5vw, 8rem);
    margin-bottom: 160px;
}

.flow__text {
    padding-left: 18.2%;
}

.flow__step {
    display      : block;
    font-size    : 2.4rem;
    line-height  : 1.25;
    margin-bottom: 10px;
}

.flow__heading {
    font-size    : clamp(2.8rem, 3vw, 4.2rem);
    margin-bottom: 40px;
}

.flow__description {
    max-width  : 36ch;
    line-height: 1.75;
    font-size  : 1.6rem;
}

.flow__item--02 {
    display   : flex;
    gap       : 5.4%;
    margin-top: 144px;
}

.flow__image-area--second {
    position: relative;
    width   : 47.34%;
}

.flow__text--second {
    width         : 31.09%;
    display       : flex;
    flex-direction: column;
}

.flow__middle-image {
    width: 60.4%;
}

.flow__bottom-image {
    width      : 39.6%;
    margin-left: auto;
}


/* ===============================
   Experience Section
================================ */

.experience {
    padding: 180px 0 60px;
}

.experience__inner {
    display: grid;
    grid-template-columns:
        49.3% 7.4% 34.7% 8.6%;
}



.experience__media img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
    display   : block;
}



.experience__content {
    grid-column   : 3 / 4;
    padding-top   : clamp(80px, 10vh, 160px);
    padding-bottom: clamp(80px, 10vh, 160px);
}

/* ===== タイポ ===== */

.experience__title {
    font-size    : clamp(4rem, 4.6vw, 6.4rem);
    line-height  : 1.1;
    margin-bottom: 48px;
}

.experience__text {
    font-size    : 1.6rem;
    line-height  : 1.75;
    max-width    : 36ch;
    margin-bottom: 60px;
}


.experience__details span {
    font-size    : 1.7rem;
    line-height  : 1.25;
    margin-bottom: 20px;
    display      : block;
}

.experience-details__item {
    display              : grid;
    grid-template-columns: 120px 1fr;
    column-gap           : 2.4rem;
    padding              : 20px 0;
    border-top           : solid 1px rgb(61, 67, 51, 0.15);
}

.experience-details__item:last-child {
    border-bottom: solid 1px rgb(61, 67, 51, 0.15);
}

.experience-details__item dd {
    margin: 0;
}

.experience__reserve {
    margin-top: 20px;
}

/* -------------------------------- */
/*Footerセクション
/* -------------------------------- */
#footer {
    padding: 144px 2.57% 0;
}

#footer h2 {
    font-size  : clamp(3.6rem, 4.6vw, 6.4rem);
    line-height: 1.1;
}

#footer h2 span {
    font-size    : 1.6rem;
    display      : block;
    margin-bottom: 16px;
    line-height  : 1.25;
}

.footer-ryokan {
    padding            : clamp(80px, 8vw, 120px) 0;
    background-image   : url(../img/footer-bg.jpg);
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    border-radius      : 10px;
    margin-top         : 60px;
}

.footer-ryokan__inner {
    display        : flex;
    justify-content: center;
    align-items    : stretch;
    gap            : 80px;
    max-width      : 1050px;
    margin         : 0 auto;
    padding        : 0 20px;
}

/* ===== card ===== */
.ryokan-card {
    flex     : 1 1 0;
    max-width: 485px;
    min-width: 0;
    display  : flex;
}

/* 背景画像 */
.ryokan-card__bg {
    position: absolute;
    inset   : 0;
    z-index : 0;
}

.ryokan-card__bg img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}


.ryokan-card:hover .ryokan-card__bg img {
    transform: scale(1.05);
}

.ryokan-card__content {
    background    : #faf8f3;
    padding       : 120px 20px 116px;
    text-align    : center;
    display       : flex;
    flex-direction: column;
    width         : 100%;
    align-items   : center;
    border-radius : 8px;
}

.ryokan-card__logo img {
    height       : 62px;
    margin-bottom: 24px;
}

.ryokan-card__thumb {
    width        : 200px;
    margin       : 0 auto;
    border-radius: 3px;
    overflow     : hidden;
    margin-bottom: 16px;
    transition   : .4s;
}

.ryokan-card .ryokan-card__thumb img {
    transition: .4s;
    transform : scale(1.05);
}

.ryokan-card:hover .ryokan-card__thumb img {
    transform : scale(1);
    transition: .4s;
}

.ryokan-card__title {
    font-size    : clamp(3.2rem, 3.8vw, 4rem);
    margin-bottom: 16px;
}

.ryokan-card__text {
    font-size  : 1.5rem;
    line-height: 1.75;
    max-width  : 315px;
    width      : 100%;
    margin     : 0 auto 48px;
}

.ryokan-card__more {
    margin-top : auto;
    display    : flex;
    align-items: center;
    gap        : 4px;
}

.ryokan-card__more span {
    font-size  : 1.6rem;
    line-height: 1.5;
}

.ryokan-card__arrow-wrap {
    position: relative;
    width   : 16px;
    height  : 16px;
    overflow: hidden;
}

.ryokan-card__arrow {
    position: absolute;
    top     : 0;
    left    : 0;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
        opacity .45s cubic-bezier(.4, 0, .2, 1);
}

.arrow-main {
    opacity  : 1;
    transform: translate(0, 0);
}


.arrow-ghost {
    opacity  : 0;
    transform: translate(-10px, 10px);
}

.ryokan-card:hover .arrow-main {
    opacity  : 0;
    transform: translate(10px, -10px);
}

.ryokan-card:hover .arrow-ghost {
    opacity  : 1;
    transform: translate(0, 0);
}

small {
    display   : block;
    padding   : 30px 20px;
    text-align: center;
    margin-top: 60px;
    font-size : 1.4rem;
}

/* -------------------------------- */
/*メディアクエリ
/* -------------------------------- */

@media (max-width: 768px) {


    .summary {
        padding: 80px 20px 96px;
    }

    .summary h3 {
        text-align: center;
        width     : 80%;
    }

    .about__inner {
        grid-template-columns: 1fr;
        row-gap              : 48px;
        padding              : 60px 0 160px 36px;
    }

    .about__eyebrow {
        margin-bottom: 12px;
    }

    .about__content {
        position: relative;
        top     : auto;
    }

    .about__media {
        grid-column: auto;
    }

    .about__title br {
        display: none;
    }

    .about__text p {
        max-width: none;
        font-size: 1.4rem;
    }

    .about__media img {
        aspect-ratio: 3 / 2;
        object-fit  : contain;
    }

    .flow__inner {
        padding: 0 36px;
    }

    .flow__item--01 {
        display: block;
    }

    .flow__items {
        width     : 100%;
        margin-top: 96px;
    }

    .flow__title {
        margin-bottom: 96px;
    }

    .flow__text {
        padding-left: 60px;
    }

    .flow__image {
        margin-left: auto;
        margin-top : 60px;
    }

    .flow__item--02 {
        flex-direction: column-reverse;
        margin-top    : 40px;
    }

    .flow__image-area--second {
        margin: 60px auto 0;
        width : 60%;
    }

    .experience {
        padding: 120px 36px 60px;
    }

    .experience__inner {
        display       : flex;
        flex-direction: column-reverse;
    }

    .experience__content {
        padding-top: 0;
    }

    .experience__text {
        max-width: none;
    }

    #footer {
        padding: 96px 36px 0;
    }

    .footer-ryokan {
        margin-top   : 48px;
        padding      : 60px 0;
        border-radius: 8px;
    }

    .footer-ryokan__inner {
        flex-direction: column;
        align-items   : center;
    }

    .ryokan-card__content {
        padding: 80px 40px 80px;
    }

    small {
        margin-top: 40px;
    }

}

@media (max-width: 599px) {

    .logo {
        position: absolute;
        top     : 20px;
        left    : 20px;
        z-index : 10;
        width   : 40px;
    }

    .language {
        top  : 20px;
        right: 20px;
    }

    .main-img h2 {
        left     : 20px;
        font-size: 3.2rem;
        bottom   : 0;
        top      : 50%;
    }

    .scroll-down {
        bottom: 12px;
        right : 20px;
    }

    .summary {
        padding: 60px 20px;
    }

    .summary h3 {
        width    : 100%;
        font-size: 1.5rem;
    }

    .about__inner {
        padding: 60px 20px 96px 20px;
    }

    .about__title {
        font-size    : 4rem;
        margin-bottom: 36px;
    }

    .flow__inner {
        padding: 0 20px;
    }

    .flow__items {
        margin-top: 60px;
    }

    .flow__title {
        font-size    : 4rem;
        margin-bottom: 48px;
    }

    .flow__text {
        padding-left: 20px;
    }

    .flow__step {
        font-size    : 1.6rem;
        margin-bottom: 0;
    }

    .flow__heading {
        margin-bottom: 30px;
    }

    .flow__description {
        font-size: 1.4rem;
    }

    .flow__image-area--second {
        width: 90%;
    }

    .experience {
        padding: 80px 20px 60px;
    }

    .experience__text {
        font-size: 1.4rem;
    }

    .experience__details span {
        font-size: 1.6rem;
    }

    .experience-details__item {
        grid-template-columns: 80px 1fr;
    }

    .experience__content {
        padding-bottom: 40px;
    }

    #footer {
        padding: 60px 20px 0;
    }

    #footer h2 span {
        font-size    : 1.4rem;
        margin-bottom: 12px;
    }

    .footer-ryokan {
        margin-top: 40px;
        padding   : 48px 0;
    }

    .footer-ryokan__inner {
        gap    : 48px;
        padding: 30px;
    }

    .ryokan-card__content {
        padding: 36px 20px 40px;
    }

    .ryokan-card__logo img {
        height       : 50px;
        margin-bottom: 20px;
    }

    .ryokan-card__title {
        font-size: 3rem;
    }

    .ryokan-card__thumb {
        width        : 160px;
        margin-bottom: 8px;
    }

    .ryokan-card__text {
        font-size    : 1.3rem;
        margin-bottom: 40px;
    }

    .ryokan-card__more span {
        font-size: 1.5rem;
    }
}




/* -------------------------------- */
/*日本語サイト
/* -------------------------------- */

.about__title.ja {
    font-size  : clamp(3.2rem, 4.5vw, 4.8rem);
    line-height: 1.5;
}

.summary h3.ja {
    width    : 100%;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.about__text .ja {
    line-height: 2;
}

.flow__title.ja {
    font-size: clamp(3.2rem, 4.5vw, 4.8rem);
}

.flow__description.ja {
    line-height: 2;
}

.experience__title.ja {
    font-size  : clamp(3.2rem, 3.6vw, 4rem);
    line-height: 1.5;
}

#footer h2.ja {
    font-size  : clamp(3.2rem, 4.5vw, 4.8rem);
    line-height: 1.5;
}

@media (max-width: 599px) {
    .summary h3.ja br {
        display: none;
    }
}