/* ========================================================================== 
   館内施設ページ専用スタイル (main-content-facilities.css)
   修正版：レイアウトは維持し、カラーのみ青系に変更
   ========================================================================== */

/* --- 1. ページヒーローエリア --- */
.page-hero {
    width: 100%;
    min-height: 200px;
    height: 12.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 140px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.page-hero .hero-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.page-hero .section-title {
    color: #fff;
    font-size: 36px;
    margin: 0;
    line-height: 1.2;
}

.page-hero .section-title span {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-top: 5px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .page-hero { height: 200px; min-height: auto; margin-top: 60px; }
    .page-hero .section-title { font-size: 28px; }
}

/* --- 2. イントロダクション & H1見出し --- */
.section-padding-concept { 
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 0 20px; 
}

.section-padding-concept + .section-padding-concept {
    margin-top: 0;
}

.section-title-area {
    text-align: center;
}

.main-facility-title {
    font-size: 32px;
    color: #0a6a80; /* ベージュから変更 */
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.main-facility-title span {
    display: block;
    font-size: 16px;
    color: #30c2c2; /* ベージュから変更 */
    margin-top: 8px;
    font-weight: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title-area .section-title {
    font-size: 28px;
    color: #0a6a80; /* ベージュから変更 */
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: bold;
}

.section-title-area .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #30c2c2; /* ベージュから変更 */
}

.concept-lead {
    text-align: center;
    line-height: 2;
    color: #444;
    font-size: 16px;
    letter-spacing: 0.05em;
}

/* --- 3. メイン施設セクション (PC表示) --- */
.facility-section {
    max-width: 1200px;
    margin: 30px auto; 
    margin-bottom: 80px;
    padding: 0 20px;
}

.section-padding-concept + #bath.facility-section,
.facility-concept-box + #bath.facility-section {
    margin-top: 20px;
}

.facility-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 0; 
}

#bath .facility-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 50px;
}

#bath .facility-header {
    grid-column: 2;
    grid-row: 1;
}

#bath .facility-visual {
    grid-column: 1;
    grid-row: 1 / 3;
}

#bath .facility-body {
    grid-column: 2;
    grid-row: 2;
}

#bath .facility-slider {
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
}

#bath .facility-slider .bx-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

#bath .facility-slider .slide {
    margin: 0 !important;
    padding: 0 !important;
}

#bath .facility-slider .slide li {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

#bath .facility-slider img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.facility-container.reverse { 
    flex-direction: row-reverse; 
}

.facility-visual { 
    flex: 1; 
    min-width: 0; 
}

.facility-visual img.single-image,
.facility-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.facility-info,
.facility-body { 
    flex: 1; 
}

/* --- 装飾 --- */
.facility-tag {
    display: inline-block;
    background: #0a6a80; /* ベージュから変更 */
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.facility-name {
    font-size: 24px;
    color: #0a6a80; /* ベージュから変更 */
    border-bottom: 2px solid #30c2c2; /* ベージュから変更 */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.facility-name span {
    font-size: 14px;
    color: #999;
    margin-left: 10px;
    font-weight: normal;
}

.facility-desc {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
}

.facility-features {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.facility-features li {
    background: #f0fafa; /* ベージュから変更 */
    border: 1px solid #d1eded; /* ベージュから変更 */
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #0a6a80; /* ベージュから変更 */
}

.facility-benefit {
    background-color: #fff9e6;
    border: 1px dashed #e6b800;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
}

.facility-spec {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.facility-spec th,
.facility-spec td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.facility-spec th {
    width: 30%;
    text-align: left;
    background-color: #f6f4ef; /* ベージュから微調整（既存ソース準拠） */
    color: #555;
}

/* --- 4. 施設グリッド --- */
.facility-grid-section {
    background-color: #f9fdfd; /* 薄い青系へ */
    padding: 80px 20px; 
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px; 
}

.grid-item {
    background: transparent; 
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.grid-subtitle {
    position: static; 
    background: transparent;
    color: #0a6a80; /* ベージュから変更 */
    padding: 0 0 12px 0;
    margin: 0 0 15px 0;
    font-size: 20px; 
    font-weight: 600;
    border-bottom: 1px solid #30c2c2; /* ベージュから変更 */
    display: block;
    letter-spacing: 0.05em;
}

.grid-subtitle span {
    font-size: 14px;
    color: #999; 
    margin-left: 10px; 
    font-weight: normal;
}

.grid-subtitle::after {
    content: none; 
}

.grid-img {
    position: relative;
    overflow: hidden; 
    margin-bottom: 15px;
    border-radius: 4px;
    aspect-ratio: 3/2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

.grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease; 
}

.grid-item:hover .grid-img img {
    transform: scale(1.08);
}

.grid-item p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.grid-item p small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .facility-grid-section {
        padding: 50px 20px;
    }
    
    .grid-container {
        grid-template-columns: 1fr; 
        gap: 50px;
    }

    .grid-subtitle {
        font-size: 18px;
        padding-bottom: 10px;
    }

    .grid-subtitle::after {
        display: none; 
    }
}

/* --- 5. サマリー --- */
.info-tables-section {
    background-color: #f6f4ef; /* ベージュから変更 */
    padding: 40px 20px;
}

.info-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #ddd; /* ベージュから変更 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.info-table-block {
    display: flex; 
    border-bottom: 1px dashed #ccc; /* ベージュから変更 */
    padding: 20px 0;
}

.info-table-block:last-child {
    border-bottom: none;
}

.info-table-block h3 {
    width: 220px; 
    color: #0a6a80; /* ベージュから変更 */
    font-size: 16px;
    font-weight: bold;
    border-left: 4px solid #30c2c2; /* ベージュから変更 */
    padding-left: 15px;
    margin: 0;
    display: flex;
    align-items: center;
}

.info-table-block p {
    flex: 1;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .info-tables-section {
        padding: 30px 15px;
    }

    .info-wrapper {
        padding: 25px 20px;
    }

    .info-table-block {
        display: block; 
        padding: 15px 0;
    }

    .info-table-block h3 {
        width: 100%; 
        font-size: 15px;
        border-left: 3px solid #30c2c2; /* ベージュから変更 */
        padding-left: 10px;
        margin-bottom: 10px; 
        display: block; 
    }

    .info-table-block p {
        padding-left: 0; 
        font-size: 14px;
        line-height: 1.7;
        color: #555;
        text-align: justify; 
    }
}

/* --- 6. アニメーション --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 7. SP対応 --- */
@media (max-width: 768px) {

    .section-padding-concept {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .main-facility-title {
        font-size: 26px;
    }

    .main-facility-title span {
        font-size: 14px;
    }

    .facility-container,
    #bath .facility-container,
    .facility-container.reverse {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .facility-section {
        margin: 20px auto 40px;
    }

    .facility-visual,
    .facility-header,
    .facility-body,
    .facility-info {
        flex: none !important;
        width: 100% !important;
    }

    #front .facility-info,
    #vender .facility-info {
        display: contents;
    }

    #front .facility-name,
    #vender .facility-name {
        order: 1 !important;
        text-align: center;
        margin-bottom: 15px;
    }

    #front .facility-tag {
        order: 0 !important;
        width: fit-content;
        margin: 0 auto 10px;
    }

    #front .facility-visual,
    #vender .facility-visual {
        order: 2 !important;
        margin-bottom: 25px;
    }

    #front .facility-desc,
    #vender .facility-desc {
        order: 3 !important;
    }

    #front .facility-features {
        order: 4 !important;
        justify-content: center;
        margin-bottom: 30px;
    }

    #bath .facility-header {
        order: 1 !important;
        margin-bottom: 15px;
    }

    #bath .facility-visual {
        order: 2 !important;
        margin-bottom: 25px;
    }

    #bath .facility-body {
        order: 3 !important;
    }

    #bath .facility-slider {
        gap: 15px;
    }

    #restaurant .facility-info {
        display: contents;
    }

    #restaurant .facility-name {
        order: 1 !important;
        text-align: center;
        margin-bottom: 15px;
    }

    #restaurant .facility-visual {
        order: 2 !important;
        margin-bottom: 25px;
    }

    #restaurant .facility-desc {
        order: 3 !important;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .facility-name {
        text-align: center;
    }

    .facility-spec th,
    .facility-spec td {
        display: block;
        width: 100%;
    }
}

/* ========================================================================== 
   イントロダクション（客室共通コンセプト装飾）
   ========================================================================== */

.room-concept-box.facility-concept-box {
    background: linear-gradient(135deg, #0a6a80 0%, #064e5e 100%); /* ベージュから変更 */
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 0 10px; 
    margin-top: 40px;
    margin-bottom: 50px; 
    text-align: center;
}

.room-concept-box.facility-concept-box .section-title-area {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.room-concept-box.facility-concept-box .section-title-area::before {
    content: "QUALITY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.room-concept-box.facility-concept-box .section-title {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
    font-size: 40px;
    font-weight: bold;
    margin: 20px 0 0;
    display: inline-block;
}

.room-concept-box.facility-concept-box .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ec971f; /* アクセントのオレンジ系（既存ソース準拠） */
    margin: 10px auto 0;
}

.room-concept-box.facility-concept-box .concept-lead {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.7 !important; 
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    font-size: 19px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .room-concept-box.facility-concept-box {
        padding: 25px 0 5px;
    }
    .room-concept-box.facility-concept-box .section-title-area::before {
        font-size: 80px;
    }
    .room-concept-box.facility-concept-box .section-title {
        font-size: 28px;
    }
    .room-concept-box.facility-concept-box .concept-lead {
        font-size: 16px;
        line-height: 1.6 !important;
        margin-bottom: 15px;
    }
}

/* ================================================================
   #restaurant 下マージン調整（完全に詰める）
   ================================================================ */
#restaurant {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    #restaurant {
        margin-bottom: 0 !important;
    }
}