/* リラクゼーション一覧ページ専用スタイル */

/* カードリンク */
.restaurant-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}

.restaurant-card-link:hover {
    opacity: 0.8;
}

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

/* Relaxation Guide セクション */
.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;
}

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

.relax-guide-card p {
    padding: 0 0 20px;
    
    font-size: 0.95em;
    margin: 0;
}

.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相当 */
    
    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: 15px 15px 8px;
        margin: 0 0 0.5em 0;
    }
    .relax-guide-card p {
        padding: 0 15px 15px;
        font-size: 0.9em;
    }
    .relaxation-list-page .section-header .btn-more {
        width: 70%;
        margin: 0 auto 60px auto;
    }
}
