/* ==============================================
   ジョワ旅 厳選宿(stay)レイアウト CSS
   2026-03-14 修正版
   ============================================== */

/* --- サイドバー非表示・横幅フル活用 --- */
main.stay-full-width {
    width: 100%;
    max-width: 100%;
    float: none;
}

/* --- 上部: 施設名 → プラン名 → タイトル --- */
.stay-hotel-name {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.3em;
    font-weight: 500;
}

/* [FIX-3] プラン名スタイル追加 */
.stay-plan-name {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.3em;
}

h1.stay-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5em;
    color: #333;
}

/* --- 右上アイコン: 現行の2倍サイズ・ベタ塗り白抜き・色分け --- */
.stay-tax-large {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 1em;
}

.stay-tag {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    line-height: 1.3;
}

/* 色分け: カテゴリ=紺、エリア=緑、旅タイプ=オレンジ */
.stay-tag-plancat { background: #2c3e50; }
.stay-tag-area    { background: #27ae60; }
.stay-tag-type    { background: #e67e22; }


/* --- 2カラムレイアウト --- */
.stay-two-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-top: 1.5em;
}

.stay-col-left,
.stay-col-right {
    min-width: 0; /* grid overflow防止 */
}


/* --- セクション共通 --- */
.stay-section {
    margin-bottom: 1.5em;
}

.stay-h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 0.3em;
    margin-bottom: 0.6em;
}

.stay-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* --- 部屋タイプ（stay版） --- */
.stay-col-left .stay-section .roomtype,
.stay-col-left .roomtype {
    margin-bottom: 1.5em;
}

/* --- 滞在ストーリー --- */
.stay-story p {
    font-size: 0.95rem;
    line-height: 2;
    color: #333;
    padding: 1.2em;
    border-radius: 6px;
    border-left: 4px solid #e67e22;
}


/* --- ○×表（facility_list）既存スタイル踏襲 + 2列グリッド --- */
.stay-section .facility_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.stay-section .facility_list .facbox {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stay-section .facility_list .facbox:nth-child(odd) {
    border-right: 1px solid #ddd;
}


/* --- 画像セクション --- */
.stay-col-right .images {
    margin-bottom: 1.5em;
}

.stay-col-right .images .slides {
    margin-bottom: 10px;
}

.stay-col-right .images .slides img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}


/* --- SNSボタン最下部 --- */
.stay-sns-left {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #eee;
}


/* ==============================================
   レスポンシブ: SP表示は1カラムに
   ============================================== */
@media screen and (max-width: 768px) {

    .stay-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* SP: 右カラム（画像・ストーリー）を先に表示 */
    .stay-col-right {
        order: -1;
    }

    h1.stay-title {
        font-size: 1.4rem;
    }

    .stay-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .stay-section .facility_list {
        grid-template-columns: 1fr 1fr;
    }

    .stay-section .facility_list .facbox {
        font-size: 0.82rem;
        padding: 6px 8px;
    }
}
