html,body {
    scroll-behavior: smooth;
}

article img {
    max-width: 100%;
}

.sp-only {
    display: none;
}

.common-width {
    max-width: 1180px;
    margin: 0 auto;
}

.room-page {
    background: #fff;
}

.room-page-body .sub-intro{
    background-image: url(../img/subpage/intro_room_new.jpg);
}

.room-types-nav-container {
    position: sticky;
    top: 0;
    left: 0;
    background: #fff;
    margin-top: 32px;
    padding-top: 8px;
    z-index: 2;
}

.room-types-nav {
    display: flex;
    gap: 16px;
    max-width: 1000px;
    margin-inline: auto;
}

.room-types-nav-item {
    font-family: 'SignPainter';
    font-size: 18px;
    flex: 1;
    text-align: center;
    border-bottom: 3px solid #000;
    padding-bottom: 4px;
    cursor: pointer;
}

.room-types-nav-item.active {
    color: #bcbbbb;
    border-bottom-color: #bcbbbb;
}

.room-types-nav-item:hover {
    opacity: 0.8;
}

.room-lead {
    display: block;
    text-align: center;
    font-size: 30px;
    margin-top: 70px;
    font-family: 'M PLUS Rounded 1c';
    font-weight: 300;
    line-height: 36px;
}

.room-illust {
    text-align: center;
    margin-top: 64px;
    max-width: 820px;
    margin: 40px auto 0;
}

.room-illust img {
    width: 100%;
    max-width: 100%;
}


.room-types {
    padding-top: 80px;
}

.room-type-container {
    display: none;
}

.room-type-container.active {
    display: block;
}

.room-type-heading {
    font-family: 'SignPainter';
    font-size: 40px;
    text-align: center;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.room-type-heading::before {
    content: "";
    width: 80px;
    height: 3px;
    background: #000;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    bottom: 0;
}

.room-numbers-nav {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 100px;
}

.room-number {
    border-radius: 100px;
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    opacity: 1!important;
    font-size: 15px;
    transition: 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

.swiper-button-next,
.swiper-button-prev {
    min-width: 48px;
    min-height: 48px;
    background: #000;
    border-radius: 48px;
    color: #fff;
    bottom: 40px;
    top: auto;
    right: auto;
    left: 50%; 
    transition: 0.3s;
}

.swiper-button-prev {
   transform: translateX(-135%);
}

.swiper-button-next {
   transform: translateX(35%);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    content: "";
    background: url(../img/subpage/room-arrow.svg) center/ 23px no-repeat;
    width: 23px;
    height: 12px;
    transform-origin: center;
}

.swiper-button-prev:after {
    transform: rotate(90deg);
}

.swiper-button-next:after {
    transform: rotate(-90deg);
}

.room-number.swiper-pagination-bullet-active {
    background: #ddd;
    color: #040000;
}

.room-item-image img {
    width: 100%;
}


.room-item {
    position: relative;
    padding-top: 20px;
}

.room-item-image {
    aspect-ratio: 1180/704;
}

.room-item-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.room-meta {
    position: absolute;
    z-index: 1;
    left: 20px;
    top: 0;
    background: #000;
    color: #fff;
    height: auto;
    max-width: 320px;
    max-height: 320px;
    width: calc(100vw * 0.23);
    height: calc(100vw * 0.23);
    text-align: center;
    display: grid;
    place-items: center;
    padding: calc(100vw * 0.02);
}

.room-meta-content {
    display: grid;
    place-items: center;
}

.room-meta-type {
    font-family: 'SignPainter';
    font-size: 24px;
    font-size: clamp(16px, calc(100vw * 0.02), 24px);
}

.room-meta-description {
    font-size: clamp(12px, 12px, 14px);
    line-height: clamp(18px, calc(100vw * 0.024), 28px);
    letter-spacing: 0.1em;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.room-meta-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, calc(100vw * 0.02), 36px);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: calc(100vw * 0.015);
    margin-top: calc(100vw * 0.005);
}

.swiper-slide-prev .room-item-image,
.swiper-slide-next .room-item-image {
    filter: saturate(0);
}

.swiper-slide-active .room-item-image {
    filter: saturate(1);
    transition: filter 0.3s ease-in-out;
}

 
.swiper-pagination {
    position: static;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 10px;
    top: 60px;
    height: auto;
    padding: 100px 0 50px;
}

.room-price {
    background: #000;
    color: #fff;
}

.room-price h3 {
    font-size: 30px;
    font-family: 'SignPainter';
    text-align: center;
    background: #111;
    padding: 30px 0 40px;
    letter-spacing: 0.1em;
}

.room-price h3::after {
    content: "";
    width: 64px;
    height: 2px;
    background: #efd9b3;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
}

.room-price-list {
    padding: 80px 0;
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(2, calc(50% - 25px));
    max-width: 1180px;
    margin: 0 auto;
}

.room-price-main-heading {
    padding: 64px 60px;
    background: #222;
    display: grid;
    place-items: center;
}

.room-price-main-heading h4 {
    font-size: 60px;
    text-align: center;
    font-family: "Oswald";
    margin-bottom: 48px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.room-price-main-heading p {
    color: #fff;
    display: flex;
    gap: 8px;
}

.room-price-main-heading p + p {
    margin-top: 16px;
}

.room-price-main-heading p::before {
    content: "";
    min-width: 16px;
    height: 16px;
    background: #fa617b;
    border-radius: 16px;
    transform: translateY(3px);
}

.room-price-heading-image {
    position: absolute;
    left: 0;
    top: 0;
    background: #ccc;
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
}

.room-price-heading-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.room-price-heading {
    position: relative;
    padding: 20px 0;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.room-price-heading-text {
    padding: 20px 40px 30px 105px;
    width: 480px;
    background: #333;
    border-radius: 16px;
}

.room-price-heading-description {
    font-weight: 300;
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.8;
}


.room-price-heading h5 {
    font-size: 26px;
    margin-bottom: 16px;
}

.room-price-heading h5 span {
    font-size: 14px;
    color: #efd9b3;
    font-weight: 300;
    margin-left: 10px;
}

.room-price-day {
    background: #333;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    min-width: 120px;
    height: 60px;
    display: grid;
    place-items: center;
}

.room-price-prices {
    display: grid;
    grid-template-columns: repeat(2, 210px);
}

.room-price-info-data {
    display: flex;
    gap: 16px;
}

.room-price-info + .room-price-info {
    margin-top: 10px;
    border-top: 1px solid #222;
    padding-top: 16px;
}

.price-member * {
    color: #efd9b3;
}

.price-member-label,
.price-visitor-label {
    font-size: 16px;
    font-family: "Poppins";
    font-weight: 300;
}

.price-member,
.price-visitor {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
}

.price-number {
    font-size: 28px;
    font-weight: 500;
    font-family: "Poppins";
}

.price-number span {
    font-size: 18px;
    margin-right: 4px;
}

.room-price-times-container {
    display: flex;
    font-size: 14px;
    margin-top: 16px;
    gap: 8px;
    flex: 1;
    width: 100%;
    padding-left: 136px;
}

.room-price-times-container h6 {
    color: #efd9b3;
    font-weight: 500;
}


.room-price-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-price-time span {
    font-size: 10px;
}

.room-price-reserve {
    padding-left: 136px;
    margin-top: 30px;
}

.room-price-reserve a {
    padding-left: 136px;
    background: #efd9b3;
    display: block;
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    width: 338px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
    letter-spacing: 0.07em;
}

.room-price-reserve a:hover {
    filter: brightness(1.1);
}

.room-price-reserve a::after {
    content: "";
    position: absolute;
    background: url(../img/subpage/room-arrow.svg) center/18px no-repeat;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    display: block;
    width: 18px;
    height: 100%;
    filter: brightness(0);
}

.sub.room-price-box .room-price-reserve {
    display: none;
}

.room-family {
    margin-top: 60px;
    text-align: center;
}


.room-notes h3 {
    font-size: 18px;
}

.room-notes ul {
    display: flex;
    flex-flow: column;
    gap: 12px;
    margin-top: 16px;
}

.room-notes li {
    display: flex;
    gap: 8px;
    line-height: 28px;
}

.room-notes li::before {
    content: "";
    transform: translateY(6px);
    min-width: 16px;
    height: 16px;
    background: #fa617b;
    border-radius: 16px;
}

.room-price-image-swiper {
    height: 100%;
}

.room-price-image-swiper .swiper-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.sub.room-price-box .room-price-heading-text {
    background: #666;
    padding: 10px 16px;
    border-radius: 0;
    font-size: 16px;
    width: 100%;
}

.sub.room-price-box .room-price-heading-image {
    display: none;
}


.sub.room-price-box .room-price-heading {
    display: block;
    padding: 0;
}

.sub.room-price-box .room-price-heading-text h5 {
    font-size: 16px;
    margin-bottom: 0;
}

.sub.room-price-box .room-price-heading-description {
    display: none;
}

.sub.room-price-box .room-price-times-container {
    display: none;
}

.sub.room-price-box .room-price-infos {
    display: flex;
    margin-top: 20px;
}

.sub.room-price-box .room-price-info {
    width: 50%;
}

.sub.room-price-box .room-price-info + .room-price-info {
    margin: 0;
    padding: 0;
    border: 0;
}


.sub.room-price-box .room-price-heading-note {
    margin-top: 20px;
    font-size: 16px;
}

.sub.room-price-box .room-price-heading-note p {
    color: #fff;
    display: flex;
}

.sub.room-price-box .room-price-heading-note p::before {
    content: "▶";
    font-size: 10px;
    margin-right: 4px;
    position: relative;
    top: -1px;
}



.sub.room-price-box .room-price-prices {
    display: block;
}

.sub.room-price-box .price-number {
    font-size: 28px;
    font-weight: 500;
    font-family: "Poppins";
}

.price-extend {
    display: grid;
    place-items: center;
    height: 100%;
}


.room-price-opener {
    display: none;
}

.room-type-selector {
    display: none;
}

.swiper-pagination-bullet:only-child {
    display: grid!important;
    background: #ddd!important;
    color: #000!important;
} 

.room-bottom {
    background: #e5e5e5;
    padding-top: 64px;
    padding-bottom: 100px;
}


    .room-price-heading {
        display: block;
        margin-bottom: 14px;
        padding: 0;
    }

    .room-price-heading-image {
        position: static;
        border-radius: 0;
        border-top-right-radius: 16px;
        border-top-left-radius: 16px;
        width: 100%;
        aspect-ratio: 340/160;
        height: auto;
    }

    .room-price-heading-text {
        width: 100%; 
        background: #111;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
        padding-top: 30px;
        padding-left: 30px;
        padding-bottom: 40px;
        margin-top: -1px;
    }

    /*
    .room-price-heading-text br {
        display: none;
    }
    */

    .room-price-coupon {
       margin-top: 30px; 
       margin-inline: -20px;
    }




@media screen and (max-width: 1200px) {
    br.sp-only {
        display: inline;
    }

    .room-lead {
        font-size: 18px;
        line-height: 28px;
        margin-top: 40px;
    }

    .room-illust {
        margin-top: 24px;
    }

    .room-meta {
        position: static;
        height: auto;
        max-width: 100%;
        width: 100%;
        padding: 32px;
    }

    .room-meta-number {
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 24px;
    }

    .room-item-image {
        aspect-ratio: 380/400;
    }

    .room-meta-description {
        line-height: 22px;
    }

    .room-family {
        margin-top: 35px;
    }

    .room-price {
        padding-inline: 20px;
    }

    .room-price-list {
        display: block;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .room-price-day {
        min-width: 90px;
        font-size: 11px;
        letter-spacing: -0.05em;
    }

    .room-price-prices {
        grid-template-columns: repeat(2, 110px);
        gap: 10px;
    }

    .price-member, .price-visitor {
        flex-flow: column;
        gap: 0;
    }

    .room-price-main-heading {
        padding: 0;
        background: none;
    }

    .price-number {
        font-size: 26px;
    }

    .price-number span {
        position: relative;
        top: -3px;
    }

    .room-price-box {
        margin-top: 40px;
    }

    .room-price-main-heading h4 {
        font-size: 40px;
    }

    .room-price-info + .room-price-info {
        margin-top: 16px;
    }


    .room-price-times-container {
        padding-left: 0;
        margin-top: 12px;
        font-size: 12px;
    }

    .room-price h3 {
        margin-inline: -20px;
    }

    .room-price-opener {
        display: block;
        text-align: center;
        width: 100%;
        text-align: center;
        height: 40px;
        margin-top: 30px;
        transform-origin: center;
    }

    .sub .room-price-opener {
        display: none;
    }


    .room-price-opener img {
        transition: 0.3s;
    }

    .room-price-heading.active .room-price-opener img {
        transform: scale(1,-1);
    }


    .room-price-infos {
        display: none;
        margin-top: 20px;
    }

    .room-type-heading {
        font-size: 35px;
    }


    .room-price-infos.active {
        display: block;
    }

    .room-price-reserve {
        padding-left: 0;
        width: 100%;
    }

    .room-price-reserve a {
        font-size: 16px;
        color: #000;
        width: 100%;
        padding-left: 0;
        justify-content: center;
    }

    .room-price-reserve {
        text-align: center;
        padding-left: 0;
    }

    .sub .room-price-infos {
        display: flex;
        flex-flow: column;
        gap: 20px;
    }

    .sub.room-price-box .price-number {
        font-size: 26px;
    }


    .common-width {
        padding-inline: 20px;
    }

    .room-notes li {
        font-size: 14px;
    }

    .room-types-nav-container {
        position: fixed;
        top: 0;
        left: 0;
        margin-top: 0;
        z-index: 99999;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.9);
        color: #fff;
        display: none;
        place-items: center;
        padding-top: 0;
    }

    .room-types-nav-container.active {
        display: grid;
    }

    .room-types-nav {
        flex-flow: column;
        gap: 48px;

    }

    .room-types-nav-item {
        font-size: 30px;
        border: 0;
    }

    .swiper-pagination {
        padding: 70px 0 60px;
    }

    .room-type-selector {
        display: block;
        background: #000;
        height: 60px;
        display: grid;
        place-items: center;
        font-size: 16px;
        color: #fff;
        margin-top: 60px;
        position: sticky;
        z-index: 20;
        top: 0;
        left: 0;
    }

    .room-type-selector-text {
        position: relative;
        display: flex;
        align-items: center;
    }

    .room-type-selector-text::after {
        content: "";
        background: url(../img/subpage/room-arrow.svg) 0 0/24px no-repeat;
        width: 24px;
        height: 12px;
        display: inline-block;
        margin-left: 20px;
    }

    .room-types {
        padding-top: 80px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        bottom: 30px;
    }

    .room-bottom {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .room-price-coupon {
       margin-inline: 0;
    }

    .room-price-heading-text br {
        display: inline;
    }

    .room-price-heading-text {
        padding-bottom: 10px;
    }

}