/* 他拠点返却サービス案内ページ - 寒色系ベース（price_list と統一） */
:root {
    --rl-info-accent: #41a8cc;
    --rl-info-accent-dark: #2d8fb5;
    --rl-info-accent-light: #eef7fb;
    --rl-info-card-bg: #ffffff;
    --rl-info-border: #d9e6ec;
    --rl-info-placeholder-bg: #eef2f4;
    --rl-info-placeholder-text: #8a9aa4;
    --rl-info-text: #2f4048;
    --rl-info-text-soft: #5a6c75;
    --rl-info-shadow-soft: 0 2px 12px rgba(26, 77, 92, 0.06);
    --rl-info-shadow-mid: 0 4px 18px rgba(26, 77, 92, 0.1);
    --rl-info-shadow-strong: 0 8px 28px rgba(26, 77, 92, 0.16);
}

.return-location-info-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px 40px;
    color: var(--rl-info-text);
}

/* --- ① Hero（唯一の波線装飾） --- */
.rl-info-hero {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* --- 区画コンテナ --- */
.rl-info-block {
    padding: 32px 0 8px;
}

/* --- 副題（本文と同じ黒系、装飾なし。落ち着いた見出しに調整 2026-08-28） --- */
.rl-info-block-title {
    text-align: center;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--rl-info-text);              /* 本文と同じ #2f4048 に統一 */
    margin: 0 0 14px;
    letter-spacing: 0.02em;
}

/* --- 導入文（副題ではなく、次セクションへの過渡ライン） --- */
.rl-info-lead {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--rl-info-text-soft);
    max-width: 720px;
    margin: 0 auto 28px;
    padding: 0 8px;
}

/* --- ② サービス概要文（主タイトル直下に直接表示） --- */
.rl-info-overview {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--rl-info-text);
    margin: 0 auto 36px;
    max-width: 780px;
    text-align: center;
}

/* --- ② メリットリスト（カードなし、フラットな icon + 文字構成。STEP カードとの視覚的な差別化） --- */
.rl-benefit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 28px;
    max-width: 900px;
    margin: 0 auto 36px;
    padding: 0 8px;
}

.rl-benefit-item {
    flex: 1 1 240px;
    max-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px;
}

.rl-benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rl-info-accent);            /* 2026-08-28: 深青蓝 → 明青蓝 (一段浅く、視覚的な重さを軽減) */
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 2px;
}

.rl-benefit-text {
    flex: 1;
    min-width: 0;
}

.rl-benefit-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rl-info-text);
    margin: 0 0 4px;
    letter-spacing: 0.02em;
}

.rl-benefit-body {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rl-info-text-soft);
    margin: 0;
}

/* --- ③ 返却方法：カード形式（画像 + 番号バッジ + タイトル + 説明） --- */
.step-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 32px;
}

.step-item {
    background: var(--rl-info-card-bg);
    border: 1px solid var(--rl-info-border);
    border-radius: 14px;
    padding: 22px 20px 24px;
    box-shadow: var(--rl-info-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--rl-info-shadow-mid);
    border-color: var(--rl-info-accent);
}

.step-number {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--rl-info-accent-dark);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.step-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 14px;
    background: var(--rl-info-accent-light);
}

.placeholder-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 4 / 3;
    background: var(--rl-info-placeholder-bg);
    color: var(--rl-info-placeholder-text);
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.placeholder-image .fa {
    font-size: 1.8rem;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rl-info-text);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.step-body {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--rl-info-text-soft);
    margin: 0;
    text-align: left;
}

/* STEP カード群の下、全幅 alert として「対象外車種」を表示 (2026-08-27)。
   浅い黄背景 + 警告アイコン、他拠点返却ページ全体のトーンと調和させる。
   HTML 上は STEP1 の直後に置き、CSS grid 内で以下の描画順に切り替える:
     ・PC (grid 複数列): grid-column: 1 / -1 で全幅 + order:999 で最下段に描画
     ・SP (grid 1 列 @media max-width:767px): order:0 で自然順 = STEP1 の直下 */
.reservation-unavailable-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: #fffaed;
    border: 1px solid #f2d68a;
    border-radius: 8px;
    color: #7a5b16;
    font-size: 0.92rem;
    line-height: 1.65;
    box-shadow: 0 1px 4px rgba(200, 155, 30, 0.08);
    grid-column: 1 / -1;
    order: 999;
}

.reservation-unavailable-notice-icon {
    color: #d68f2f;
    font-size: 1.05rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- ④ 料金 + 地図 + 拠点リスト --- */

/* Google Maps 地図（本店 + 各他拠点に marker 表示） */
.rl-info-map {
    max-width: 820px;
    margin: 0 auto 24px;
    text-align: center;
}

.rl-info-google-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--rl-info-shadow-mid);
    background: var(--rl-info-card-bg);
}

.rl-info-map-note {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--rl-info-text-soft);
    margin: 10px auto 0;
    max-width: 720px;
    padding: 0 8px;
}

/* 拠点一覧テーブル（他拠点名 / 住所 / 返却締切時間 / 料金 の 4 列）
   清新シンプル調：ヘッダーは淡色 + 主色アクセント、他拠点名 & 住所は左揃え、
   距離は名前と同行 inline 表示 */
.rl-location-table-wrap {
    max-width: 900px;
    margin: 0 auto 12px;
    overflow-x: auto; /* 狭い画面での横スクロール（PC のみ有効、SP は下記 media で無効化） */
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(45, 143, 181, 0.06);
    background: #ffffff;
    border: 1px solid #eaf3f8;
}

/* 拠点一覧テーブル外の注釈群 (※1 距離 / ※2 予約締切 / ※3 返却締切)。
   price_list.css の .price-list-notes 同構造: wrapper が最大幅/中央寄せ/表下余白を担当し、
   各 .rl-location-table-note は行間 (8px) のみ責任を持つ。 */
.rl-location-notes {
    max-width: 900px;
    margin: 6px auto 36px;
    padding: 0 8px;
}

.rl-location-table-note {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--rl-info-text-soft);
    margin: 8px 0;
}

.rl-location-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.93rem;
}

/* ヘッダー：淡ブルー背景 + 主色文字 + 下部アクセント線（軽やか）、全列中央揃え */
.rl-location-table thead th {
    background: #eef7fb;
    color: var(--rl-info-accent-dark);
    font-weight: 600;
    padding: 12px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    font-size: 0.87rem;
    border-bottom: 2px solid var(--rl-info-accent);
    text-align: center;
}

.rl-location-table thead th:first-child {
    border-top-left-radius: 10px;
}

.rl-location-table thead th:last-child {
    border-top-right-radius: 10px;
}

/* 行セル：淡ボーダーのみ、hover は淡強調 */
.rl-location-table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    color: var(--rl-info-text);
    border-bottom: 1px solid #eaf3f8;
    line-height: 1.55;
    transition: background 0.15s ease;
}

.rl-location-table tbody tr:last-child td {
    border-bottom: none;
}

.rl-location-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.rl-location-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.rl-location-table tbody tr:hover td {
    background: #f8fbfd;
}

/* 他拠点名セル：左揃え、番号 + 名前 + 距離を 1 行に */
.rl-location-td-name {
    text-align: left;
    padding-left: 20px;
    min-width: 200px;
}

.rl-location-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--rl-info-accent-dark);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    vertical-align: middle;
    flex-shrink: 0;
}

.rl-location-name-link {
    font-weight: 600;
    color: var(--rl-info-text);
    text-decoration: underline;
    vertical-align: middle;
    transition: color 0.15s ease;
}

.rl-location-name-link:hover {
    color: var(--rl-info-accent-dark);
}

/* 距離：辅助信息、淡灰小字。hover 時に親リンクと同色に亮起。 */
.rl-location-distance {
    display: inline;
    font-size: 0.8rem;
    color: var(--rl-info-text-soft);
    font-weight: 400;
    vertical-align: middle;
    transition: color 0.15s ease;
}

.rl-location-name-link:hover .rl-location-distance {
    color: var(--rl-info-accent-dark);
}

/* 住所セル：左揃え、Google Maps リンク */
.rl-location-td-address {
    text-align: left;
    font-size: 0.88rem;
}

.rl-location-address-link {
    color: var(--rl-info-text);
    text-decoration: underline;
    transition: color 0.15s ease;
}

.rl-location-address-link:hover {
    color: var(--rl-info-accent-dark);
}

/* 外部リンク icon：字号を控えめに、リンク色を継承 */
.rl-location-name-link .fa-up-right-from-square,
.rl-location-address-link .fa-up-right-from-square {
    font-size: 0.75em;
    margin-left: 4px;
    vertical-align: baseline;
}

/* 料金 セル：中央揃え、主色強調、1 行固定、加粗 (数字を目立たせる)。
   料金表 (.return-location-price) と同じ扱い。 */
.rl-location-td-price {
    text-align: center;
    color: var(--rl-info-accent-dark);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.93rem;
}

/* 返却締切時間 セル：中央揃え、主色、1 行固定。加粗なし (料金表と統一)。 */
.rl-location-td-deadline {
    text-align: center;
    color: var(--rl-info-accent-dark);
    white-space: nowrap;
    font-size: 0.93rem;
}

/* 予約締切時間 セル：中央揃え、主色、加粗なし (料金表と統一)。
   PC でも折り返し可 (「出発X日前XX時XX分まで」は最長 14 文字前後、nowrap にすると
   拠点名/住所列を圧迫するため、この列だけ通常フロー折り返しを許容する)。 */
.rl-location-td-reservation-deadline {
    text-align: center;
    color: var(--rl-info-accent-dark);
    font-size: 0.93rem;
}

/* --- ③ YouTube 動画埋込 (16:9) --- */
.video-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 8px auto 36px; /* 各区画末尾の余白を統一（②benefit-list と揃える） */
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--rl-info-shadow-strong);
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- ⑤ 注意事項：カテゴリ別グループカード（accent 左ボーダー + icon 見出し + itemリスト） --- */
.rl-notes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto 36px;
}

.rl-notes-card {
    background: var(--rl-info-card-bg);
    border: 1px solid var(--rl-info-border);
    border-left: 4px solid var(--rl-info-accent);
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: var(--rl-info-shadow-soft);
}

.rl-notes-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px dashed var(--rl-info-border);
}

.rl-notes-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rl-info-accent-light);
    color: var(--rl-info-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.rl-notes-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rl-info-text);
    margin: 0;
    letter-spacing: 0.02em;
}

.rl-notes-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rl-notes-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.75;
}

.rl-notes-item::before {
    content: "▸";
    color: var(--rl-info-accent);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.65;
}

.rl-notes-item-content {
    flex: 1;
    min-width: 0;
}

.rl-notes-item-subtitle {
    font-weight: 700;
    color: var(--rl-info-accent-dark);
    display: block;
    margin-bottom: 4px;
}

.rl-notes-item-body {
    color: var(--rl-info-text);
    display: block;
}

/* subtitle を含まないグループは ▸ マーカーを省き、段落として表示（前 2 グループ用） */
.rl-notes-card--flat .rl-notes-item::before {
    content: none;
}

.rl-notes-card--flat .rl-notes-item {
    gap: 0;
}

/* --- ⑥ CTA は既存の resv-btn-row + btn-primary をそのまま利用（波線 + 標準ボタン） --- */

/* --- レスポンシブ --- */
@media (max-width: 991px) {
    .step-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .return-location-info-page {
        padding: 0 12px 32px;
    }

    .step-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* SP は grid 1 列、対象外車種注釈も自然順 (HTML: STEP1 直後) で表示させる。
       PC で使っている order:999 を無効化して HTML 順に戻す。 */
    .reservation-unavailable-notice {
        order: 0;
    }

    /* メリットリスト: SP は「リスト風」に。
       ・item 間に隙間を作らず、代わりに罫線で区切る（間隔感を最小化）
       ・gap は iOS Safari 14 以前で不安定なため使わず、罫線 + padding で構成 */
    .rl-benefit-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-width: 480px;
        margin: 0 auto 20px;
    }

    .rl-benefit-item {
        /* PC 段の flex: 1 1 240px は column 方向で「高さ 240px 強制」に化ける (flex-basis の主軸依存)。
           SP では flex: none で shrink/grow/basis 全て解除し、コンテンツ高さのみに従わせる。
           max-width も 280px 制約を解除して SP 画面幅を最大限使う。 */
        flex: none;
        max-width: none;
        width: 100%;
        padding: 10px 4px;
        gap: 10px;
        margin: 0;
        border-bottom: 1px solid #eaf3f8;
    }

    .rl-benefit-item:last-child {
        border-bottom: none;
    }

    .rl-benefit-item + .rl-benefit-item {
        margin-top: 0;
    }

    .rl-benefit-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        margin-top: 0;
    }

    /* 内部 text の margin 完全に潰す (Bootstrap の p/h デフォルト対策) */
    .rl-benefit-text {
        margin: 0;
    }

    .rl-benefit-title {
        margin: 0 0 2px;
        line-height: 1.3;
        font-size: 0.95rem;
    }

    .rl-benefit-body {
        margin: 0;
        line-height: 1.5;
        font-size: 0.82rem;
    }

    .rl-info-block {
        padding-top: 20px;
    }

    .rl-info-overview {
        font-size: 0.95rem;
        text-align: left;
        line-height: 1.8;
    }

    .rl-info-lead {
        font-size: 0.95rem;
        text-align: left;
    }

    .rl-info-google-map {
        height: 320px;
    }

    .rl-info-block-title {
        font-size: 1.25rem;
    }

    /* SP 時テーブル: 料金表と同じく table-layout: auto (default) にして
       ブラウザに列幅を内容量ベースで自然配分させる。拠点名 / 住所は内容が長いので広く、
       締切 / 料金は短いので狭く、自動で最適化される。
       ・width: 100% + overflow-x: visible で画面幅内に収める（横スクロール発生させない）
       ・Accordion 内 carousel を左右スワイプ時に親テーブルが引き摺られない
       ・字号 / 色は原本のまま維持（変更なし） */
    .rl-location-table-wrap {
        overflow-x: visible;
    }

    .rl-location-table {
        font-size: 0.82rem;
        width: 100%;
    }

    .rl-location-table thead th,
    .rl-location-table tbody td {
        padding: 8px 6px;
    }

    /* 表头: <br> による 2 行分割を活かすため nowrap を解除。字号 / 色は変更しない。
       line-height は 2 行時の視覚バランス確保のため軽く指定。 */
    .rl-location-table thead th {
        white-space: normal;
        line-height: 1.35;
    }

    /* 拠点名列: min-width 撤去 + max-width で上限を設ける (price_list.css の SP 制限と統一)。
       他列 (住所/締切/料金) が空間を取れずに圧迫されるのを防止。padding も詰める。 */
    .rl-location-th-name,
    .rl-location-td-name {
        min-width: 0;
        max-width: 100px;
        padding-left: 8px;
    }

    .rl-location-index {
        width: 20px;
        height: 20px;
        font-size: 0.72rem;
    }

    /* 距離: 拠点名リンク内に inline のまま、拠点名 → 距離 → icon が一体として自然折り返し */
    .rl-location-distance {
        font-size: 0.75rem;
    }

    .rl-location-td-address {
        font-size: 0.8rem;
    }

    /* 予約締切 / 返却締切 / 料金: 内容も自然折り返し（PC の nowrap を解除、字号は原本維持） */
    .rl-location-td-reservation-deadline,
    .rl-location-td-deadline,
    .rl-location-td-price {
        white-space: normal;
    }

    .rl-notes-card {
        padding: 16px 18px;
    }

    .rl-notes-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .rl-notes-title {
        font-size: 0.98rem;
    }

    .rl-notes-item {
        font-size: 0.88rem;
    }
}

/* ============================================================
   Accordion 詳細画像 + Lightbox
   ============================================================ */

/* Toggle ボタン（拠点名セル内の小さな chevron） */
.rl-location-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--rl-info-border);
    border-radius: 50%;
    color: var(--rl-info-accent-dark);
    cursor: pointer;
    font-size: 0.72rem;
    vertical-align: middle;
    transition: background 0.15s ease, transform 0.25s ease, border-color 0.15s ease;
}

.rl-location-toggle:hover {
    background: #eef7fb;
    border-color: var(--rl-info-accent);
}

.rl-location-toggle[aria-expanded="true"] {
    background: var(--rl-info-accent-dark);
    color: #ffffff;
    border-color: var(--rl-info-accent-dark);
    transform: rotate(180deg);
}

/* 詳細行（Accordion 展開領域）— 高さアニメーションで滑らかに */
.rl-location-detail-row {
    background: #fafcfd;
}

.rl-location-detail-cell {
    padding: 0 !important;
    border-bottom: 1px solid #eaf3f8 !important;
}

.rl-facility-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.rl-location-detail-row.is-open .rl-facility-details {
    max-height: 800px;
    padding: 18px 20px 22px;
}

.rl-facility-details-title {
    margin: 0 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rl-info-accent-dark);
    letter-spacing: 0.04em;
}

/* サムネイル grid（画像 + キャプション） */
.rl-facility-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rl-facility-thumb-item {
    margin: 0;
}

.rl-facility-thumb-btn {
    display: block;
    width: 100%;
    padding: 0;
    background: #ffffff;
    border: 1px solid #eaf3f8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.rl-facility-thumb-btn:hover {
    box-shadow: 0 4px 12px rgba(45, 143, 181, 0.15);
    border-color: var(--rl-info-accent);
    transform: translateY(-1px);
}

.rl-facility-thumb-img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: #f0f4f7;
}

.rl-facility-thumb-caption {
    display: block;
    padding: 8px 10px;
    font-size: 0.8rem;
    color: var(--rl-info-text);
    line-height: 1.4;
    text-align: center;
    border-top: 1px solid #f0f4f7;
    background: #ffffff;
}

/* ============================================================
   Lightbox モーダル（画像拡大表示）
   ============================================================ */
.rl-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 45, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.rl-lightbox.is-open {
    display: flex;
    opacity: 1;
}

body.rl-lightbox-locked {
    overflow: hidden;
}

.rl-lightbox-content {
    width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.rl-lightbox-img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #ffffff;
}

.rl-lightbox-info {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
}

.rl-lightbox-counter {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}

.rl-lightbox-caption {
    color: #ffffff;
}

/* 閉じるボタン（右上） */
.rl-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.rl-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* 前後ナビ矢印 */
.rl-lightbox-nav {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.rl-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.rl-lightbox-prev { margin-right: 20px; }
.rl-lightbox-next { margin-left: 20px; }

/* SP 対応 */
@media (max-width: 767px) {
    .rl-location-toggle {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    /* Grid → 横スクロール Carousel: 1 画像/ページ、scroll-snap で吸着、
       右/左フリックで移動。Lightbox は SP で無効化。 */
    .rl-facility-thumbs {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rl-facility-thumbs::-webkit-scrollbar {
        display: none;
    }

    .rl-facility-thumb-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* SP: サムネイル btn の装飾を控えめに (Carousel 内で境界線不要)。
       tap で Lightbox を開けるようにする (cover 裁剪の全貌確認用)。
       swipe / tap はブラウザが位移量で自動判別、両者は共存可能。
       touch-action: manipulation で double-tap zoom を抑止し tap 応答を高速化 (~300ms 短縮)。 */
    .rl-facility-thumb-btn {
        border: none;
        border-radius: 0;
        background: transparent;
        transition: none;
        touch-action: manipulation;
    }

    .rl-facility-thumb-btn:hover {
        box-shadow: none;
        border-color: transparent;
        transform: none;
    }

    .rl-facility-thumb-img {
        height: 220px;
        object-fit: cover;
        border-radius: 6px;
    }

    .rl-facility-thumb-caption {
        display: block;
        padding: 10px 8px 0;
        font-size: 0.88rem;
        color: var(--rl-info-text);
        border-top: none;
        background: transparent;
        text-align: center;
        line-height: 1.5;
    }

    /* 円点インジケーター（JS で挿入）: 現在ページを主色で強調 */
    .rl-facility-indicators {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 12px 0 4px;
    }

    .rl-facility-indicator-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--rl-info-border);
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .rl-facility-indicator-dot.is-active {
        background: var(--rl-info-accent-dark);
        transform: scale(1.35);
    }

    /* SP は 1 画面 1 画像 (220px) + caption + 円点で ~ 320px 前後。
       max-height はデフォルトの 800px でも足りるが、caption が 2 行に折り返した場合や
       将来 caption を長くした場合の余裕を持たせて拡大しておく */
    .rl-location-detail-row.is-open .rl-facility-details {
        padding: 14px 12px 16px;
        max-height: 1200px;
    }

    .rl-lightbox {
        padding: 16px;
    }

    .rl-lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .rl-lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .rl-lightbox-prev { margin-right: 8px; }
    .rl-lightbox-next { margin-left: 8px; }
}
