/* =========================================================================
   dep-meisho.css  ―  「日本の名所」ページ専用CSS（仮実装／静的ビジュアルモック）
   - すべて .dep-meisho 配下にスコープした自己完結型（dep-top.css と同方式）
   - トークンは .dep-meisho に自前定義（既存 dep-tokens/base/corporate と非干渉）
   - 代替ヘッダー/CTA/フッターは含めない（実装済みの共通パーツが自動表示される前提）
   - ヘッダーの天地オフセットは付けない（FVの body:not(.home) #content padding-top に委ねる）
   - 収録ページ：① デジタル県ページ
     （② スポット個別／③ アナログ県ページは後続ステップで追記）
   ========================================================================= */

/* ---- トークン（このページ群だけのスコープ） ---- */
.dep-meisho{
  --primary:#0081CC; --primary-light:#00AAE8; --accent:#FF750E;
  --bg:#FAF9F2; --text:#323232; --gray:#B2ADAD;
  --line:#E6E3DC; --surface:#fff; --muted:#6f6d66;
  --accent-bg:#fff6ef; --accent-line:#f1d9c4; --accent-ink:#9a4d12;
  --info-bg:#e8f3fb; --info-ink:#0c447c;
  --radius:12px; --radius-s:8px;
  --jp:"Zen Kaku Gothic Antique","Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
  --en:"Montserrat",var(--jp);
}

/* ---- 全幅クリーム地（#content 地色方式・corporateで実証済み）----
   #content（Astra全幅コンテンツラッパー）の地色を生成りにすると、
   ヘッダー直下の padding-top:74px クリアランス帯ごと端まで生成りになる。
   → 上の白い隙間が解消。内容は .wrap(1040px) で中央寄せ。
   ※ .dep-meisho 側の 100vw 全幅トリックは使わない（左ズレ・横スクロールの原因のため撤去） */
body.dep-meisho-page #content{ background:#FAF9F2; overflow-x:clip; }
.dep-meisho{
  color:var(--text);
  font-family:var(--jp); line-height:1.8;
  padding-bottom:clamp(48px,6vw,72px);   /* CONTACT（共通CTA）手前の間隔を確保 */
}
.dep-meisho *{box-sizing:border-box;}
.dep-meisho a{color:inherit; text-decoration:none !important;} /* Astra .entry-content a の下線を抑止 */
.dep-meisho img{max-width:100%; display:block;}

/* ---- レイアウト基準 ---- */
.dep-meisho .wrap{
  width:100vw !important; max-width:none !important;
  margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important;
  padding-inline:max(4vw, calc(50vw - 520px));
}
.dep-meisho .sec{padding-block:clamp(38px,5.5vw,60px);}
.dep-meisho .sec--tight{padding-block:clamp(26px,4vw,40px);}

.dep-meisho .crumb{font-size:12.5px; color:var(--muted); padding:18px 0 0;}
.dep-meisho .crumb a:hover{color:var(--primary);}
.dep-meisho .crumb i{opacity:.5; margin:0 4px; font-style:normal;}

/* ---- 見出し ---- */
.dep-meisho .eyebrow{font-family:var(--en); font-size:12px; font-weight:600; letter-spacing:.15em;
    color:var(--primary); text-transform:uppercase;}
.dep-meisho .sec-title{font-size:clamp(20px,2.6vw,25px); font-weight:700; line-height:1.5;
    margin:6px 0 0; padding-left:13px; border-left:4px solid var(--primary);}
.dep-meisho .sec-head{margin-bottom:clamp(20px,3vw,28px);}
.dep-meisho .sec-lead{font-size:14.5px; color:var(--muted); margin:12px 0 0; line-height:1.95;}

/* ---- プレースホルダ写真 ---- */
.dep-meisho .ph{background:linear-gradient(135deg,#ece9df,#e2dfd4);
    display:flex; align-items:center; justify-content:center;
    color:#a7a399; font-family:var(--en); font-size:12px; font-weight:600;
    letter-spacing:.1em; border-radius:var(--radius);}

/* ===== HERO ===== */
.dep-meisho .hero{display:grid; grid-template-columns:1.04fr .96fr; gap:clamp(24px,3.5vw,48px);
    align-items:center; padding-top:26px;}
.dep-meisho .hero__photo{aspect-ratio:4/3;}
.dep-meisho .hero h1{font-size:clamp(27px,3.8vw,40px); font-weight:700; line-height:1.4;
    letter-spacing:.01em; margin:12px 0 16px;}
.dep-meisho .hero__lead{font-size:15px; color:#4a4a4a; line-height:2; margin:0;}
.dep-meisho .hero__meta{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px;}
.dep-meisho .chip{font-size:12.5px; font-weight:700; color:var(--info-ink); background:var(--info-bg);
    border-radius:999px; padding:5px 14px;}

/* ===== エリアマップ（Leaflet） ===== */
.dep-meisho #ishikawa-map{height:100%; min-height:380px; z-index:1; background:#dfeaef;}
.dep-meisho .leaflet-container{font-family:var(--jp);}
.dep-meisho .lpin{width:28px; height:28px; border-radius:50%; background:var(--primary); color:#fff;
    font-family:var(--en); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center;
    border:2px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.35);}
.dep-meisho .lpin.stay{background:var(--accent);}
/* スポット個別ページの単独ピン（数字なし・ティアドロップ型）。
   番号は「地図⇔一覧の対応」用なので、ピンが1つの画面では出さない。 */
.dep-meisho .lmark{display:block; filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));}
.dep-meisho .lmark path{fill:var(--primary);}
.dep-meisho .lmark circle{fill:#fff;}
.dep-meisho .leaflet-popup-content{margin:10px 12px; font-size:13.5px;}
.dep-meisho .leaflet-popup-content b{font-size:14.5px;}
.dep-meisho .lpop{color:var(--primary); font-weight:700; font-size:13px;}
.dep-meisho .lpop:hover{text-decoration:underline !important;}
.dep-meisho .mapcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    overflow:hidden; display:grid; grid-template-columns:1.5fr 1fr;}
.dep-meisho .maplist{padding:22px 24px;}
.dep-meisho .maplist h3{font-size:14px; font-weight:700; margin:0 0 12px; color:var(--muted); letter-spacing:.04em;}
.dep-meisho .maplist ol{list-style:none; margin:0; padding:0;}
.dep-meisho .maplist li{display:flex; align-items:center; gap:10px; font-size:14px; padding:7px 0;
    border-bottom:1px dashed var(--line);}
.dep-meisho .maplist li:last-child{border-bottom:0;}
.dep-meisho .maplist .n{flex:none; width:22px; height:22px; border-radius:50%; background:var(--primary); color:#fff;
    font-family:var(--en); font-weight:700; font-size:12px; display:flex; align-items:center; justify-content:center;}
.dep-meisho .maplist .n.stay{background:var(--accent);}
.dep-meisho .maplist .legend{margin-top:14px; font-size:11.5px; color:var(--muted); display:flex; gap:14px; flex-wrap:wrap;}
.dep-meisho .maplist .legend span{display:inline-flex; align-items:center; gap:5px;}
.dep-meisho .maplist .legend .dot{width:10px; height:10px; border-radius:50%;}

/* ===== カードグリッド（スポット） ===== */
.dep-meisho .grid{display:grid; gap:clamp(16px,2vw,24px);}
.dep-meisho .grid-3{grid-template-columns:repeat(3,1fr);}
.dep-meisho .grid-4{grid-template-columns:repeat(4,1fr);}
/* 名産品カード：入稿点数で列数が決まる（4点以上=4列／3点=3列／2点=2列）。
   4列固定だと3点入稿のときに右端が1枠まるごと空いて「作りかけ」に見えるため。
   SPは点数によらず2列（1列だとカードが大きくなりすぎる）。 */
.dep-meisho .grid-prod{grid-template-columns:repeat(4,1fr);}
.dep-meisho .grid-prod-3{grid-template-columns:repeat(3,1fr);}
.dep-meisho .grid-prod-2{grid-template-columns:repeat(2,1fr); max-width:640px;}
.dep-meisho .grid-spots{grid-template-columns:repeat(4,1fr);}
@media(max-width:980px){ .dep-meisho .grid-spots{grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .dep-meisho .grid-spots{grid-template-columns:1fr;} }
.dep-meisho .spot{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    overflow:hidden; transition:transform .18s,box-shadow .25s; display:flex; flex-direction:column;}
.dep-meisho .spot:hover{transform:translateY(-4px); box-shadow:0 14px 28px rgba(0,0,0,.10);}
.dep-meisho .spot__img{aspect-ratio:16/10; position:relative;}
.dep-meisho .spot__no{position:absolute; top:10px; left:10px; width:28px; height:28px; border-radius:50%;
    background:var(--primary); color:#fff; font-family:var(--en); font-weight:700; font-size:14px;
    display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.2);}
.dep-meisho .spot__body{padding:16px 18px 18px; display:flex; flex-direction:column; flex:1;}
.dep-meisho .spot__ttl{font-size:17px; font-weight:700; margin:0 0 6px;}
.dep-meisho .spot__desc{font-size:13px; color:var(--muted); line-height:1.7; margin:0 0 14px; flex:1;}
.dep-meisho .more{font-size:13.5px; font-weight:700; color:var(--primary); display:inline-flex; align-items:center; gap:5px;}
.dep-meisho .more::after{content:"→"; transition:transform .2s;}
.dep-meisho .spot:hover .more::after{transform:translateX(3px);}

/* ---- エリア小見出し（見どころスポットをエリア表記ごとに区切る・案A／2026-08-10） ----
   h2（セクション見出し）より一段弱い見え方にして、階層を崩さない。
   短い青のダッシュ＋余白いっぱいの細罫で「区切り」であることを示す。 */
.dep-meisho .grp-ttl{
  display:flex; align-items:center; gap:12px;
  font-size:15px; font-weight:700; color:var(--text); letter-spacing:.02em;
  margin:clamp(28px,3.6vw,38px) 0 14px;
}
.dep-meisho .grp-ttl::before{content:""; flex:none; width:16px; height:2px; background:var(--primary); border-radius:2px;}
.dep-meisho .grp-ttl::after{content:""; flex:1; height:1px; background:var(--line);}
.dep-meisho .grp-ttl:first-of-type{margin-top:0;}

/* ===== おすすめの宿（アクセント面） ===== */
.dep-meisho .stay-sec{background:var(--accent-bg); border:1px solid var(--accent-line); border-radius:var(--radius);
    padding:clamp(22px,3vw,32px);}
.dep-meisho .stay-sec .sec-title{border-left-color:var(--accent);}
.dep-meisho .stay-sec .eyebrow{color:var(--accent-ink);}
.dep-meisho .stay{background:var(--surface); border:1px solid var(--accent-line); border-radius:var(--radius);
    overflow:hidden; transition:transform .18s,box-shadow .25s; display:flex; flex-direction:column;}
.dep-meisho .stay:hover{transform:translateY(-4px); box-shadow:0 12px 24px rgba(154,77,18,.10);}
.dep-meisho .stay__img{aspect-ratio:16/10;}
.dep-meisho .stay__body{padding:15px 18px 18px;}
.dep-meisho .stay__ttl{font-size:16px; font-weight:700; margin:0 0 6px; color:var(--accent-ink);}
.dep-meisho .stay__desc{font-size:12.5px; color:var(--muted); line-height:1.7; margin:0 0 12px;}
.dep-meisho .stay .more{color:var(--accent-ink);}

/* ===== モデルコース ===== */
.dep-meisho .course{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    padding:clamp(22px,3vw,30px);}
.dep-meisho .course__label{display:inline-block; font-size:12px; font-weight:700; color:#fff; background:var(--primary);
    border-radius:999px; padding:4px 14px; margin-bottom:16px;}
.dep-meisho .route{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.dep-meisho .stop{font-size:14px; font-weight:700; background:#eef5fb; color:var(--info-ink);
    border-radius:8px; padding:8px 16px;}
.dep-meisho .stop.start{background:var(--primary); color:#fff;}
.dep-meisho .stop.stay{background:#fbeede; color:var(--accent-ink);}
.dep-meisho .arrow{color:var(--gray); font-weight:700;}
.dep-meisho .course__note{font-size:13px; color:var(--muted); margin:16px 0 0;}

/* ===== プロのひとこと（アクセント面） ===== */
.dep-meisho .pro{background:var(--accent-bg); border:1px solid var(--accent-line); border-radius:var(--radius);
    padding:clamp(22px,3vw,32px);}
.dep-meisho .pro .sec-title{border-left-color:var(--accent);}
.dep-meisho .pro .eyebrow{color:var(--accent-ink);}
.dep-meisho .pro__tag{display:inline-block; font-size:11.5px; font-weight:700; color:#fff; background:var(--accent);
    border-radius:5px; padding:3px 12px; margin-bottom:12px;}
.dep-meisho .pro__txt{font-size:14.5px; line-height:2; color:#4a4a4a; margin:0;}

/* ===== 名産品 ===== */
/* 角丸は他カードと同じ 12px（--radius）。写真の角丸(--radius)がカード角からはみ出して
   見えていた不具合の恒久修正＝台帳「積み残し 0-b」の消化（2026/08/09）。 */
.dep-meisho .prod{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;}
.dep-meisho .prod__img{aspect-ratio:4/3;}
.dep-meisho .prod__body{padding:12px 14px 14px;}
.dep-meisho .prod__name{margin:0; font-size:14px; font-weight:700; line-height:1.5;}
.dep-meisho .prod__note{margin:6px 0 0; font-size:12.5px; color:var(--muted); line-height:1.75;}
.dep-meisho .prod__shop{margin:7px 0 0; font-size:12px; color:var(--muted); line-height:1.6;}
.dep-meisho .prod__shop::before{content:"買える場所："; color:var(--gray);}

/* ===== FAQ（details アコーディオン） ===== */
.dep-meisho .faq{display:flex; flex-direction:column; gap:12px; max-width:820px;}
.dep-meisho .faq details{background:var(--surface); border:1px solid var(--line); border-radius:10px; overflow:hidden;}
.dep-meisho .faq summary{list-style:none; cursor:pointer; padding:16px 20px; font-size:15px; font-weight:700;
    display:flex; align-items:center; gap:12px;}
.dep-meisho .faq summary::-webkit-details-marker{display:none;}
.dep-meisho .faq summary .q{font-family:var(--en); font-weight:700; color:var(--primary);}
.dep-meisho .faq summary .ic{margin-left:auto; width:16px; height:16px; position:relative; flex:none; transition:transform .25s;}
.dep-meisho .faq summary .ic::before,
.dep-meisho .faq summary .ic::after{content:""; position:absolute; background:var(--primary); border-radius:2px;}
.dep-meisho .faq summary .ic::before{left:0; top:7px; width:16px; height:2px;}
.dep-meisho .faq summary .ic::after{left:7px; top:0; width:2px; height:16px; transition:transform .25s;}
.dep-meisho .faq details[open] summary .ic::after{transform:scaleY(0);}
.dep-meisho .faq__a{padding:0 20px 18px 50px; font-size:14px; color:#4a4a4a; line-height:1.95;}
.dep-meisho .faq__a .a{font-family:var(--en); font-weight:700; color:var(--accent); margin-right:6px;}

/* ===== レスポンシブ ===== */
@media(max-width:768px){
  .dep-meisho .hero{grid-template-columns:1fr; gap:18px;}
  .dep-meisho .hero__photo{order:-1; aspect-ratio:16/10;}
  .dep-meisho .mapcard{grid-template-columns:1fr;}
  .dep-meisho #ishikawa-map{min-height:300px;}
  .dep-meisho .grid-3{grid-template-columns:1fr;}
  .dep-meisho .grid-4{grid-template-columns:1fr 1fr;}
  .dep-meisho .grid-prod,
  .dep-meisho .grid-prod-3,
  .dep-meisho .grid-prod-2{grid-template-columns:1fr 1fr; max-width:none;}
  .dep-meisho .route{gap:8px;}
  .dep-meisho .stop{font-size:13px; padding:7px 12px;}
}

/* =========================================================================
   ② スポット個別ページ（兼六園 例）専用パーツ
   - 共通部品（.hero/.eyebrow/.sec-title/.ph/.pro/.chip/.crumb）は上記を流用
   ========================================================================= */

/* チップのバリエーション（エリア/種別） */
.dep-meisho .chip.type{color:var(--muted); background:#fff; border:1px solid var(--line);}
.dep-meisho .chip.area{color:var(--info-ink); background:var(--info-bg);}

/* ② メイン写真＋ギャラリー */
.dep-meisho .gallery{display:flex; flex-direction:column; gap:10px;}
.dep-meisho .gallery__main{aspect-ratio:4/3;}
.dep-meisho .gallery__thumbs{display:grid; grid-template-columns:repeat(4,1fr); gap:10px;}
.dep-meisho .gallery__thumbs .ph{aspect-ratio:4/3; border-radius:var(--radius-s); font-size:10.5px;}

/* ③ 見どころ説明（本文 prose） */
.dep-meisho .prose{font-size:15px; line-height:2.05; color:#42413c; max-width:880px;}
.dep-meisho .prose .lead-line{font-size:16px; font-weight:700; color:var(--text); line-height:1.9; margin:0 0 14px;}
.dep-meisho .prose p{margin:0 0 14px;}
.dep-meisho .prose p:last-child{margin-bottom:0;}

/* ⑤ 基本情報（スペック表） */
.dep-meisho .info{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    padding:clamp(20px,2.6vw,28px);}
/* ★親テーマ(Astra)の既定 `table, th, td { border:1px solid }` が
   左右・上の罫線として残り、(1)ラベル文字のすぐ横に縦線が出る (2)collapse時に
   自前の罫線と色違いで競合して「かすれ」に見える、という2つの症状を起こす。
   → 四辺を明示的に 0 にしてから、下罫線だけを引き直す。（2026/08/10 実機で確認・修正） */
.dep-meisho table.spec{width:100%; border-collapse:collapse; border:0; font-size:14.5px;}
.dep-meisho table.spec th,
.dep-meisho table.spec td{border:0; border-bottom:1px solid var(--line);}
.dep-meisho table.spec th{text-align:left; color:var(--muted); font-weight:700; width:32%;
    padding:15px 18px 15px 0; vertical-align:top; letter-spacing:.02em;}
.dep-meisho table.spec td{padding:15px 0; line-height:1.8;}
.dep-meisho table.spec tr:last-child th,
.dep-meisho table.spec tr:last-child td{border-bottom:0;}

/* ⑥ 個別地図（Leaflet 単一ピン）＋ Googleマップで開く */
.dep-meisho .mapwrap{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;}
.dep-meisho #spot-map{height:380px; z-index:1; background:#dfeaef;}
.dep-meisho .gmap{display:inline-flex; align-items:center; gap:7px; margin-top:14px; font-size:14px; font-weight:700;
    border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:10px 22px; color:var(--text);
    transition:border-color .2s,color .2s,box-shadow .2s;}
.dep-meisho .gmap::before{content:""; width:15px; height:15px; flex:none;
    background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6d66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");}
.dep-meisho .gmap:hover{border-color:var(--primary); color:var(--primary); box-shadow:0 6px 16px rgba(0,129,204,.12);}

/* ⑦ 回遊（同県の他スポット） */
.dep-meisho .rel{display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,1.8vw,22px);}
@media(max-width:980px){ .dep-meisho .rel{grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .dep-meisho .rel{grid-template-columns:1fr 1fr;} }
.dep-meisho .relcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
    transition:transform .18s,box-shadow .25s; display:flex; flex-direction:column;}
.dep-meisho .relcard:hover{transform:translateY(-4px); box-shadow:0 14px 28px rgba(0,0,0,.10);}
.dep-meisho .relcard__img{aspect-ratio:16/10;} /* 見どころ・宿カードと同比率に統一（2026/08/10） */
.dep-meisho .relcard__body{padding:13px 15px 15px;}
.dep-meisho .relcard__ttl{font-size:14.5px; font-weight:700; margin:0;}
.dep-meisho .relcard__more{display:block; margin-top:7px; font-size:12.5px; font-weight:700; color:var(--primary);}
.dep-meisho .relcard__more::after{content:"→"; margin-left:5px; transition:transform .2s; display:inline-block;}
.dep-meisho .relcard:hover .relcard__more::after{transform:translateX(3px);}
.dep-meisho .backlink{display:inline-flex; align-items:center; gap:7px; margin-top:24px; font-size:14px;
    font-weight:700; color:var(--primary);}
.dep-meisho .backlink::before{content:"←"; transition:transform .2s;}
.dep-meisho .backlink:hover::before{transform:translateX(-3px);}

/* ② スポット個別のレスポンシブ */
@media(max-width:768px){
  .dep-meisho .gallery{order:-1;}
  .dep-meisho .gallery__main{aspect-ratio:16/10;}
  .dep-meisho #spot-map{height:300px;}
  .dep-meisho table.spec th{width:40%;}
}

/* =========================================================================
   ③ アナログ版・県ページ（石川 例）専用パーツ
   - 現行PDF踏襲の1枚もの「シート」。地図は番号入りの静止画像（Leafletなし）
   - 冒頭に「②アナログ版」モード表示（比較提示用・残す方針）
   ========================================================================= */

/* モード表示（①との対比） */
.dep-meisho .modeflag{display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:var(--surface);
    border:1px solid var(--line); border-left:5px solid var(--accent); border-radius:var(--radius);
    padding:14px 18px; margin:18px 0 22px;}
.dep-meisho .modeflag .tag{flex:none; font-size:12px; font-weight:700; color:#fff; background:var(--accent);
    border-radius:6px; padding:5px 13px;}
.dep-meisho .modeflag p{margin:0; font-size:13px; color:var(--muted); line-height:1.7;}
.dep-meisho .modeflag p b{color:var(--text); font-weight:700;}

/* 1枚もの「シート」 */
.dep-meisho .sheet{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    box-shadow:0 8px 30px rgba(0,0,0,.06); overflow:hidden;}

/* タイトル帯（背景写真の上に大きく県名） */
.dep-meisho .sheet-hero{position:relative; min-height:200px; display:flex; align-items:flex-end; justify-content:flex-end;
    padding:26px 30px; border-bottom:1px solid var(--line); background:linear-gradient(135deg,#dfe7ea,#d3dfe3);}
.dep-meisho .sheet-hero::before{content:"BACKGROUND PHOTO"; position:absolute; top:12px; left:16px;
    font-family:var(--en); font-size:11px; font-weight:600; letter-spacing:.1em; color:#8c9aa0;}
.dep-meisho .sheet-hero::after{content:""; position:absolute; inset:0;
    background:repeating-linear-gradient(45deg,rgba(255,255,255,.18) 0 16px,transparent 16px 32px);}
.dep-meisho .sheet-hero h1{position:relative; margin:0; font-size:clamp(40px,7vw,64px); font-weight:700;
    color:#37474d; letter-spacing:.05em; line-height:1.05; text-shadow:0 1px 0 rgba(255,255,255,.6);}

.dep-meisho .sheet-body{display:grid; grid-template-columns:minmax(300px,1fr) 1fr; gap:clamp(22px,3vw,32px);
    padding:clamp(24px,3vw,32px);}

/* 左：番号入り静止地図（画像） */
.dep-meisho .mapcol .staticmap{position:relative; min-height:430px; border:1px solid var(--line);
    border-radius:var(--radius); overflow:hidden;
    background:radial-gradient(120% 120% at 65% 12%, #eef4f6 0%, #e2ebee 55%, #d8e4e8 100%);}
.dep-meisho .mapcol .staticmap::before{content:"MAP IMAGE"; position:absolute; top:14px; left:50%; transform:translateX(-50%);
    font-family:var(--en); font-size:11px; font-weight:600; letter-spacing:.1em; color:#93a3a8;}
.dep-meisho .mapcol .staticmap .land{position:absolute; inset:14% 18% 14% 20%;
    border-radius:46% 54% 58% 42%/40% 38% 62% 60%; background:#cfe2d4; border:1.5px solid #b9d4c0;}
.dep-meisho .mappin{position:absolute; transform:translate(-50%,-50%); width:26px; height:26px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-family:var(--en); font-weight:700; font-size:12.5px;
    background:#fff; border:2px solid #c0392b; color:#c0392b; box-shadow:0 1px 3px rgba(0,0,0,.18);}
.dep-meisho .mapcaption{font-size:11.5px; color:var(--muted); margin:9px 2px 0; line-height:1.7;}

/* 右：見出し付きテキストブロック群（原稿踏襲） */
.dep-meisho .infocol{min-width:0;}
.dep-meisho .infoblock{margin:0 0 18px;}
.dep-meisho .infoblock:last-child{margin-bottom:0;}
.dep-meisho .infoblock h3{font-size:15px; font-weight:700; margin:0 0 7px; color:var(--text);
    border-left:4px solid var(--primary); padding-left:9px; line-height:1.4;}
.dep-meisho .infoblock p{margin:0 0 5px; font-size:13.5px; line-height:1.75;}
.dep-meisho .infoblock p:last-child{margin-bottom:0;}
.dep-meisho .infoblock .sub{color:#52514c;}
.dep-meisho .infoblock .small{font-size:12.5px; color:var(--muted);}
.dep-meisho .infoblock ol{margin:5px 0 0; padding-left:1.4em; font-size:13.5px; line-height:1.8;}
.dep-meisho .infoblock ol li{margin:2px 0;}
.dep-meisho .infoblock.prod h3{border-left-color:var(--accent); color:var(--accent-ink);}
.dep-meisho .infoblock.prod p{color:var(--accent-ink); font-weight:700; font-size:13.5px;}

/* 下部：その他観光地（地の文） */
.dep-meisho .sheet-foot{padding:0 clamp(24px,3vw,32px) clamp(24px,3vw,32px);}
.dep-meisho .sheet-foot h3{font-size:15px; font-weight:700; margin:0 0 9px;
    border-left:4px solid var(--primary); padding-left:9px;}
.dep-meisho .sheet-foot p{font-size:13.5px; color:#52514c; line-height:1.85; margin:0 0 8px;}
.dep-meisho .sheet-foot p:last-child{margin-bottom:0;}

/* ③ アナログのレスポンシブ */
@media(max-width:768px){
  .dep-meisho .sheet-body{grid-template-columns:1fr; gap:20px;}
  .dep-meisho .mapcol .staticmap{min-height:320px;}
}

/* =========================================================================
   WP本実装（v28・2026/08/09）で追加したパーツ
   - CPT `spot` ＋ ACF ＋ テンプレートPHP（single-spot / archive-spot / page-meisho-area）
   - 仮実装のプレースホルダ `.ph` は「画像が無いときだけ」付くようになった。
     画像があるスロットには <img> が入るので、共通で cover 指定する。
   ========================================================================= */

/* ---- 画像スロット共通（枠の比率を必ず優先し、元画像の縦横比に左右されない） ----
   ★重要：枠側の aspect-ratio に対して <img> を height:100% で伸ばす書き方は効かない。
     aspect-ratio で決まる高さは「確定した高さ」として扱われず、% が auto に落ちるため、
     画像が元の比率で描画されて枠のほうが引き伸ばされる（＝縦長写真だけカードが伸びる）。
     枠を position:relative にして画像を absolute + inset:0 で敷くと、枠の比率が必ず勝つ。
     （2026/08/10 実機で発生・修正。近江町市場〔640x512〕で顕在化） */
.dep-meisho .hero__photo,
.dep-meisho .spot__img,
.dep-meisho .stay__img,
.dep-meisho .relcard__img,
.dep-meisho .prod__img,
.dep-meisho .areacard__img{position:relative; overflow:hidden;}

.dep-meisho .hero__photo img,
.dep-meisho .spot__img img,
.dep-meisho .stay__img img,
.dep-meisho .relcard__img img,
.dep-meisho .prod__img img,
.dep-meisho .areacard__img img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
}
/* ヒーロー写真は単独カードなので自前で角丸を持つ（カード内写真は親の overflow:hidden 任せ） */
.dep-meisho .hero__photo{border-radius:var(--radius);}

/* 写真が1枚も無いスポット／県ではヒーローを1カラムに畳む（枠だけが残らないように） */
.dep-meisho .hero--textonly{grid-template-columns:1fr;}

/* ---- パンくず（共有パーツ dep-breadcrumb.php へ移行）----
   dep-base 側は1100px列に中央寄せするが、名所本文は1040px列。
   名所ページだけ padding を合わせて、パンくずと本文の左端を揃える。 */
body.dep-meisho-page .dep-wrap:has(> .dep-crumb){
  padding-inline:max(4vw, calc(50vw - 520px));
}

/* ---- エリアマップ（id は本実装で #meisho-map。#ishikawa-map は残置モック用） ---- */
.dep-meisho #meisho-map{height:100%; min-height:380px; z-index:1; background:#dfeaef;}
.dep-meisho .maplist li a{color:inherit;}
.dep-meisho .maplist li a:hover{color:var(--primary);}
@media(max-width:768px){
  .dep-meisho #meisho-map{min-height:300px;}
}

/* =========================================================================
   スポット個別：写真ギャラリー
   - 確定事項35＝ツアー詳細の assets/js/dep-tour-gallery.js をそのまま転用するため、
     クラス名は `dep-tour-gallery__*` のまま（JSを新規に書かない）。
     スタイルだけ名所のトークン（--primary / --radius）で定義し直している。
   - 1枚目＝MAIN PHOTO。同じ配列をサムネ列にも流す（サムネ専用画像は不要）。
   - 画像1枚のときは JS が .is-single を付けるので、サムネと矢印が自動で消える。
   ========================================================================= */
.dep-meisho .dep-tour-gallery{min-width:0;}
.dep-meisho .dep-tour-gallery__main{position:relative; aspect-ratio:4/3; border-radius:var(--radius);
    overflow:hidden; background:#eae7dd;}
.dep-meisho .dep-tour-gallery__slide{position:absolute; inset:0; opacity:0; transition:opacity .4s ease; pointer-events:none;}
.dep-meisho .dep-tour-gallery__slide.is-active{opacity:1; pointer-events:auto;}
.dep-meisho .dep-tour-gallery__slide img{width:100%; height:100%; object-fit:cover; display:block;}
/* 矢印ボタン：Astra の button 既定（padding / color:#fff / min-width）に潰されないよう明示リセット
   （ツアー詳細で確立した手筋。SVGは currentColor をやめ stroke を直接指定） */
.dep-meisho .dep-tour-gallery__nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  -webkit-appearance:none; appearance:none; box-sizing:border-box !important;
  width:40px !important; height:40px !important; min-width:0 !important; min-height:0 !important;
  padding:0 !important; margin:0 !important; line-height:0 !important;
  border:0 !important; outline:none; border-radius:50% !important;
  background:rgba(255,255,255,.94) !important; color:var(--text) !important;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 10px rgba(0,0,0,.18); transition:background .2s;
}
.dep-meisho .dep-tour-gallery__nav:hover{background:#fff !important;}
.dep-meisho .dep-tour-gallery__nav svg{
  width:18px !important; height:18px !important; display:block;
  fill:none !important; stroke:var(--primary) !important; stroke-width:2.2;
}
.dep-meisho .dep-tour-gallery__nav--prev{left:10px;}
.dep-meisho .dep-tour-gallery__nav--next{right:10px;}
/* サムネ列は flex（写真が2〜5枚のどれでも1行に収まる） */
.dep-meisho .dep-tour-gallery__thumbs{display:flex; gap:10px; margin-top:10px;}
.dep-meisho .dep-tour-gallery__thumb{
  flex:1 1 0; aspect-ratio:4/3; overflow:hidden; box-sizing:border-box !important;
  min-width:0 !important; min-height:0 !important; line-height:0 !important;
  border-radius:var(--radius-s) !important;
  border:2px solid transparent !important; background:none !important;
  padding:0 !important; margin:0 !important;
  cursor:pointer; transition:border-color .2s,transform .15s;
}
.dep-meisho .dep-tour-gallery__thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.dep-meisho .dep-tour-gallery__thumb:hover{transform:translateY(-2px);}
.dep-meisho .dep-tour-gallery__thumb.is-active{border-color:var(--primary) !important;}
.dep-meisho .dep-tour-gallery.is-single .dep-tour-gallery__thumbs,
.dep-meisho .dep-tour-gallery.is-single .dep-tour-gallery__nav{display:none;}

@media(max-width:768px){
  .dep-meisho .dep-tour-gallery{order:-1;}
  .dep-meisho .dep-tour-gallery__main{aspect-ratio:16/10;}
}

/* =========================================================================
   /meisho/ ＝ 日本の名所トップ（archive-spot.php）
   - 県ページ（page-meisho-area.php を割り当てた固定ページ）を自動で並べるハブ
   ========================================================================= */
.dep-meisho--index .arealist{display:grid; gap:clamp(18px,2.4vw,26px); grid-template-columns:repeat(2,1fr);}
@media(max-width:860px){ .dep-meisho--index .arealist{grid-template-columns:1fr;} }

.dep-meisho .areacard{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;}
.dep-meisho .areacard__head{display:grid; grid-template-columns:38% 1fr; transition:background .2s;}
.dep-meisho .areacard__head:hover{background:#fbfaf6;}
.dep-meisho .areacard__img{aspect-ratio:4/3;}
.dep-meisho .areacard__body{padding:16px 18px 18px; display:flex; flex-direction:column;}
.dep-meisho .areacard__ttl{font-size:18px; font-weight:700; margin:0 0 6px;}
.dep-meisho .areacard__lead{font-size:12.5px; color:var(--muted); line-height:1.75; margin:0 0 8px; flex:1;}
.dep-meisho .areacard__meta{display:flex; flex-wrap:wrap; gap:6px 10px; margin:0 0 10px;
    font-size:11.5px; color:var(--muted);}
.dep-meisho .areacard__meta span{background:var(--info-bg); color:var(--info-ink); border-radius:999px;
    padding:3px 10px; font-weight:700;}
.dep-meisho .areacard__head:hover .more::after{transform:translateX(3px);}
.dep-meisho .areacard__spots{list-style:none; margin:0; padding:12px 18px 16px; border-top:1px dashed var(--line);
    display:flex; flex-wrap:wrap; gap:6px 8px;}
.dep-meisho .areacard__spots a{font-size:12.5px; color:var(--muted); border:1px solid var(--line);
    border-radius:999px; padding:4px 12px; display:inline-block; transition:border-color .2s,color .2s;}
.dep-meisho .areacard__spots a:hover{border-color:var(--primary); color:var(--primary);}

@media(max-width:560px){
  .dep-meisho .areacard__head{grid-template-columns:1fr;}
  .dep-meisho .areacard__img{aspect-ratio:16/9;}
}
