/* 客室一覧ページ専用スタイル */

/* サブビジュアル背景 */
body.room-list-page .sub-visual {
    background-image: url('../../room/images/svimg.jpg');
}

/* lead-section 調整 */
body.room-list-page .lead-section {
    min-width: auto;
}

body.room-list-page .lead-section .container {
    background-image: none;
}

body.room-list-page .lead-header .note {
    font-size: 0.75em;
    color: #474747;
    margin: 1em 0 0 0;
    padding: 0;
    text-align: center;
}


/* バナー横並び */

/* バナー */
@media (max-width: 768px) {
    body.room-list-page .lead-header p {
        text-align: left;
    }
}

/* 客室ラインナップセクション */
.relax-guide-section {
    padding: 100px 0 80px;
    position: relative;
    background: #ffffff;
}

.relax-guide-section h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
    color: #757575;
    position: relative;
    z-index: 10;
    font-weight: 400;
}


.relax-guide-section .english-text {
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 10;
}

.relax-guide-section .section-header p {
    text-align: center;
    margin: 0 auto 40px;
    font-size: 1em;
    line-height: 1.7;
    position: relative;
    z-index: 10;
    color: #474747;
}

#relax-guide-heading:not(.english-text) {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

#relax-guide-heading .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 45px;
    display: block;
}

.relax-guide-section .section-header {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 90px;
}

.relax-guide-slides {
    width: 100%;
    margin: 40px auto;
    position: relative;
    z-index: 10;
    max-width: 1600px;
}

.relax-guide-slide-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 60px;
    width: 100%;
    column-gap: 20px;
    padding: 0 15px;
}

.relax-guide-slide-row:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
    padding-right: 10%;
}

.relax-guide-slide-row:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-left: 10%;
}

.relax-guide-slide {
    position: relative;
    text-align: center;
    flex: 2;
    margin: 0;
    overflow: hidden;
    max-height: 600px;
}

.relax-guide-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.relax-guide-carousel {
    position: relative;
}

.relax-guide-slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 600px;
    min-height: 560px;
    overflow: hidden;
}


.relax-guide-carousel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.relax-guide-carousel .carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff80;
    cursor: pointer;
    transition: background 0.3s ease;
}

.relax-guide-carousel .carousel-indicators .indicator.active {
    background: #ffffff;
}

.relax-guide-slide-row .relax-guide-card {
    flex: 1;
    max-width: 360px;
}

.relax-guide-card {
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.relax-guide-card h3 {
    padding: 8px 0;
    font-size: 16px;
    color: #757575;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.5em;
}

.relax-guide-card .english-text {
    font-family: 'Quattrocento', serif;
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

.room-name-jp {
    font-size: 1em;
}

.room-capacity {
    margin-left: auto;
    font-size: 0.85em;
    white-space: nowrap;
}

.slide-image.room-floorplan {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-bottom: 0.5em;
}

.relax-guide-card p {
    padding: 0 0 20px;

    margin: 0;
}

.relax-guide-card-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4em;
    margin: 0 0 0.75em;
    color: #757575;
}

.relax-guide-card .btn-more {
    width: 100%;
    border: 1px solid transparent;
    margin-bottom: 1px;
}

.relax-guide-card .btn-more:hover {
    background: #ffffff;
    color: #1e3c72;
    border: 1px solid #1e3c72;
}

.relax-guide-card .btn-more:hover::after {
    border-top-color: #1e3c72;
    border-right-color: #1e3c72;
}

/* ロゴリンク */
.relax-guide-section .note-container {
    margin: 20px auto 0;
    width: 100%;
    max-width: 800px;
    justify-content: center;
    text-align: center;
}

.note-text {
    font-size: 0.75em; /* 12px相当 */
    line-height: 1.6;
    color: #474747;
    margin: 0;
}


/* スライドフレーム共通 */
.slide-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide-frame.active {
    opacity: 1;
    z-index: 1;
}

.slide-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* タブレット */
@media (max-width: 1024px) {
    .relax-guide-section {
        margin: 0;
    }
    #relax-guide-heading {
        font-size: 0.75em;
    }
    #relax-guide-heading .english-text,
    .relax-guide-section .english-text {
        font-size: 3.25em;
    }
    #relax-guide-heading:not(.english-text) {
        font-size: 0.75em;
    }
    .relax-guide-slides {
        background-color: transparent;
        margin: 0;
    }
    .relax-guide-slides h3 {
        font-size: 1em;
    }
    .relax-guide-slides h3 .english-text {
        font-size: 2em;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .relax-guide-section .note-container {
        text-align: left;
        padding-left: 1em;
        padding-right: 1em;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .relax-guide-section {
        padding: 60px 0;
    }
    .relax-guide-section .section-header p {
        text-align: left;
    }
    .relax-guide-section .section-header {
        margin-bottom: 0;
    }
    .relax-guide-slide-row {
        flex-direction: column;
        margin-bottom: 40px;
        min-height: auto;
        padding: 0 15px;
    }
    .relax-guide-slide-row:last-child {
        margin-bottom: 0;
    }
    .relax-guide-slide-row:nth-child(odd),
    .relax-guide-slide-row:nth-child(even) {
        flex-direction: column;
        padding: 0 15px;
    }
    .relax-guide-slide {
        margin: 0;
        flex: 1;
        max-width: 100%;
        height: 200px;
        aspect-ratio: 16/9;
        overflow: hidden;
    }
    .relax-guide-slide-wrapper {
        min-height: 0;
        max-height: none;
    }
    .relax-guide-slide-row .relax-guide-card {
        margin: 0;
        max-width: 100%;
        flex: none;
    }
    .relax-guide-card h3 {
        font-size: 1em;
        padding: 4px 15px 8px;
        margin: 0 0 0.5em 0;
    }
    .relax-guide-card p {
        padding: 0 15px 15px;

    }
    .relax-guide-card .relax-guide-card-text {
        margin: 0.8em 0 0;
        padding: 0 15px;
        font-size: 0.8em;
    }
    .relax-guide-card .relax-guide-card-text br {
        display: none;
    }
    .relax-guide-card .room-floorplan {
        margin: 0 15px 15px;
        width: calc(100% - 30px);
    }
    .room-list-page .section-header .btn-more {
        width: 70%;
        margin: 0 auto 60px auto;
    }
}
