/* -------------------------------- */
/* 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       : 50%;
    top        : 50%;
    transform  : translate(-50%, -50%);
    font-size  : clamp(4rem, 5.6vw, 5.6rem);
    line-height: 1.25;
    color      : #fff;
    font-weight: 400;
    text-align : center;
    text-transform: uppercase;
    width: 100%;
}

.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 {
    margin: 160px auto 104px;
}

.summary h3 {
    text-align : center;
    width      : 46.7%;
    margin     : 0 auto;
    font-size  : clamp(2.4rem, 3.2vw, 3.6rem);
    line-height: 1.5;
    font-weight: 400;
    text-transform: uppercase;
}

.area-link {
    display  : flex;
    gap      : 60px;
    padding  : 0 20px;
    max-width: 1200px;
    margin   : 0 auto;
}



.sake-selection {
    display       : flex;
    flex-direction: column;
    gap           : 160px;
    max-width     : 1000px;
    margin        : 160px auto 80px;
    padding       : 0 40px;
}

.closing-copy {
    text-align : center;
    line-height: 1.75;
    font-size  : clamp(1.6rem, 2vw, 2.4rem);
    margin     : 160px auto 0;
    max-width  : 1000px;
    padding: 0 30px;
}

/* -------------------------------- */
/*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 {
        margin: 80px auto 72px;
    }

    .sake-selection {
        margin: 120px auto 80px;
        gap   : 144px;
    }

    .closing-copy {
        margin: 96px auto 0;
    }

    #footer {
        padding: 80px 2.57% 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;
    }


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

    .main-img h2 {
        font-size: 2.6rem;
    }


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

    .area-link {
        flex-wrap       : nowrap;
        overflow-x      : auto;
        overflow-y      : hidden;
        gap             : 30px;
        padding         : 0 30px;
        scroll-snap-type: x mandatory;
    }

    .area-link li {
        flex: 0 0 auto;
    }

    .area-link a {
        display: block;
    }

    .area-link img {
        display  : block;
        height   : auto;
        width    : 180px;
        max-width: 75vw;
    }

    .sake-selection {
        padding: 0 30px;
        margin : 80px auto 40px;
        gap: 80px;
    }

    #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;
    }
}




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

.ja_main-copy {
    position: absolute;
    top     : 120px;
    right   : 80px;
}

.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) {
   .ja_main-copy {
    top  : 100px;
    right: 30px;
    width: 17%;
}
}