/* ==============================================
   ジョワ旅 厳選宿(stay)レイアウト CSS
   stay-layout.css
   All selectors scoped to .singleplan-stay or .stay-article
   ============================================== */

/* --- PC/SP 出し分け --- */
.hp_pcOnly {
    display: block;
}
.hp_spOnly {
    display: none;
}

@media (max-width: 768px) {
    .hp_pcOnly {
        display: none;
    }
    .hp_spOnly {
        display: block;
    }
}

/* --- singleplan-stay: mainを100%幅、sidebarを下に配置 --- */
.single .singleplan-stay {
    display: flex;
    flex-direction: column;
}

.single .singleplan-stay main {
    width: 100%;
    max-width: 100%;
}

.single .singleplan-stay #sidebar {
    width: 100%;
    padding: 0;
}

.stay-article .slick-slider {
    width: 100%!important;
    overflow: hidden;
}

/* --- バッジ群 --- */
.stay-article .stay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.stay-article .stay-post-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px;
    line-height: 1.5;
}

.stay-article .stay-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    color: white;
}

.stay-article .stay-badge-1room {
    background: #f0b244;
}

.stay-article .stay-badge-area {
    background: #62a87c;
}

.stay-article .stay-badge-type {
    background: #5b8ec4;
}

/* --- 2カラムグリッド --- */
.stay-article .stay-grid {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* --- COL A: 左カラム（スペック＋メディア） --- */
.stay-article .stay-col-a {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- スペック情報ボックス --- */
.stay-article .stay-specs {
    background: #f1ede6;
    padding: 15px;
    border-radius: 6px;
}

/* --- 施設名ヘッダー --- */
.stay-article .stay-plan-header {
    color: #333;
    padding: 0;
    font-weight: bold;
    font-size: 1.05em;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* --- 基本情報リスト --- */
.stay-article .stay-info-list {
    margin: 0;
    padding: 0;
}

.stay-article .stay-info-row {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.85em;
}

.stay-article .stay-info-row:last-child {
    border-bottom: none;
}

.stay-article .stay-info-row dt {
    font-size: 12px;
    width: fit-content;
    background: #b05e2e;
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stay-article .stay-info-row dd {
    margin: 0;
    color: #333;
    font-weight: bold;
    line-height: 1.5;
}

.stay-article .stay-offer-badge {
    display: inline-block;
    background: #f0b244;
    color: #fff;
    border-radius: 3px;
    padding: 1px 8px;
    font-size: 0.85em;
    margin-right: 5px;
    vertical-align: middle;
}

.stay-article .stay-offer-name {
    font-size: 1.1em;
    color: #555;
    font-weight: bold;
}

.stay-article .stay-offer-none {
    color: #bbb;
    font-weight: normal;
    font-size: 0.85em;
}

/* --- メディアエリア（画像・ストーリー） --- */
.stay-article .stay-media {
    padding: 0;
}

/* .stay-article .stay-media .images {
    width: 100%;
    margin-bottom: 20px;
} */
/* 
.stay-article .stay-media .images .slides img {
    width: 100%;
    height: auto;
    border-radius: 4px;
} */

/* --- COL B: 右カラム（食事・設備・予約など） --- */
.stay-article .stay-col-b {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.stay-article .stay-col-b .plan_movie {
    margin-top: 20px;
    .movie_thumb {
        margin-inline: auto;
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    .movie_thumb img {
        height: 100%;
    }
}
.stay-article .movie_modal .movie_inner {
    width: 80vw;
    height: 45vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.stay-article .movie_modal .movie_inner iframe {
    width: 100%;
    height: 100%;
}
.stay-article .movie_modal .movie_inner .video_close{
    top: -10px;
    right: 0;
    transform: translate(0,-100%);
}

.stay-article .stay-col-b .plan_author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.stay-article .stay-col-b .plan_comment {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}


/* --- メインタイトル --- */
.stay-article .stay-main-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* --- タイトル下 エリア・周辺環境 --- */
.stay-article .stay-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 1em;
}

.stay-article .stay-meta-area {
    color: #62a87c;
    font-weight: bold;
    font-size: 1.05em;
}

.stay-article .stay-meta-area i {
    margin-right: 4px;
}

.stay-article .stay-meta-env {
    display: inline-block;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 0.9em;
}

/* --- スペックテーブル --- */
.stay-article .stay-spec-box {
    background: #f1ede6;
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.stay-article .stay-spec-box table {
    width: 100%;
    border-collapse: collapse;
}

.stay-article .stay-spec-box th {
    text-align: left;
    padding: 6px;
    font-weight: bold;
    white-space: nowrap;
    width: 90px;
    vertical-align: top;
}

.stay-article .stay-spec-box td {
    padding: 6px;
    vertical-align: top;
}

.stay-article .stay-spec-box iframe {
    width: 100%;
    height: 200px;
    border: 0;
    margin-top: 6px;
    border-radius: 4px;
}

/* --- 選択済みタグリスト（部屋クラス・部屋タイプ・食事・設備） --- */
.stay-article .stay-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 5px 0 12px;
}

.stay-article .stay-tag {
    display: inline-block;
    background: #fff4e0;
    border: 1px solid #f0b244;
    color: #b07a1a;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 1em;
    font-weight: bold;
}

/* --- ○×リスト（アメニティ） --- */
.stay-article .stay-check-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 12px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.stay-article .stay-check-list li {
    padding: 4px 6px;
    border-bottom: 1px solid #eee;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stay-article .stay-check-list li.maru {
    font-weight: bold;
    color: #333;
}

.stay-article .stay-check-list li.maru span {
    color: #f0b244;
}

.stay-article .stay-check-list li.bar {
    color: #bbb;
}

.stay-article .stay-check-list li.bar span {
    color: #ccc;
}

/* --- セクションタイトル --- */
.stay-article .stay-section-title {
    font-size: 0.9em;
    font-weight: bold;
    border-bottom: 2px solid #f0b244;
    margin: 15px 0 8px;
    padding-bottom: 4px;
    color: #777;
}

.stay-article .stay-course,.stay-article .stay-type-list {
    margin-top: 10px;
    font-size: 1.1em;
}

/* --- 滞在ストーリーボックス --- */
.stay-article .stay-story-box {
    background: #fffef0;
    border-left: 4px solid #f0b244;
    padding: 15px;
    margin-top: 20px;
    > *:first-child {
        margin-top: 0;
    }
     > *:last-child {
        margin-bottom: 0;
    }
}

.stay-article .stay-story-box h3 {
    font-size: 1em;
    font-weight: bold;
    color: #f0b244;
    margin-bottom: 10px;
}

.stay-article .stay-story-box p {
    font-size: 0.95em;
    line-height: 1.8;
    color: #333;
}

/* --- 予約ボタン --- */
.stay-article .stay-reserve-btn {
    display: block;
    background: #f0b244;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin: 15px 0;
}

.stay-article .stay-reserve-btn:hover {
    background: #d99a30;
    color: white;
    text-decoration: none;
}

/* --- 参考URL --- */
.stay-article .stay-ref-link {
    margin: 10px 0;
    font-size:1.1em;
    word-break: break-all;
}

.stay-article .stay-ref-link a {
    color: #5b8ec4;
    text-decoration: underline;
    &:hover {
        text-decoration: none;
    }
}

/* --- ひとり旅のしやすさ（テキストのみ） --- */
.stay-article .stay-alone-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 0;
}

.stay-article .stay-alone-row dd {
    font-size: 1em;
    padding: 0 5px;
    font-weight: bold;
    color: #565656;
}

/* --- ひとり旅特典ありバッジ（プラン名上） --- */
.stay-article .stay-solo-badge-wrap {
    text-align: center;
    margin-bottom: 8px;
}

.stay-article .stay-solo-badge {
    display: inline-block;
    background: #b05e2e;
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 1.1em;
    font-weight: bold;
}

/* --- SNSシェア（stay-specsの下） --- */
.stay-article .stay-sns {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* --- グリッド外のセクション --- */
.stay-article .relation_movie,
.stay-article .relation_plan {
    margin-top: 30px;
}

.stay-article .np_link {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* ==============================================
   レスポンシブ: SP表示は1カラムに
   ============================================== */
@media (max-width: 768px) {
    .stay-article .stay-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .stay-article .stay-col-a {
        order: 1;
    }

    .stay-article .stay-col-b {
        order: 2;
    }

    .stay-article .stay-main-title {
        font-size: 1.4em;
    }

    .stay-article .stay-badge {
        font-size: 0.95em;
        padding: 6px 12px;
    }

    .stay-article .stay-check-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 350px) {
    /* .stay-article .stay-check-list {
        grid-template-columns: 1fr;
    } */

    .stay-article .stay-tag {
        font-size: 12px;
        padding: 3px 8px;
    }
}
