/* ============================================================
   snaplace UI 基盤（2026-10 フェーズ1）
   ------------------------------------------------------------
   テーマ(style.css) → desktop.css → ui.css の順に読み込む。
   色はテーマ既存の値をそのまま使う:
     おしゃれ #E55A7F / 定番 #59C1EF / 刺激 #ADE860 / ボタン橙 #FF8C00 / 緑 #20BE8C
   ============================================================ */

:root {
  --c-accent: #e16980;      /* サイトのテーマカラー（theme-color） */
  --c-cool:   #e55a7f;      /* おしゃれ */
  --c-basic:  #59c1ef;      /* 定番 */
  --c-haha:   #ade860;      /* 刺激 */
  --c-orange: #ff8c00;      /* 主ボタン */
  --c-orange-d: #d37800;
  --c-green:  #20be8c;
  --c-text:   #222;
  --c-muted:  #767676;
  --c-line:   #e6e6e6;
  --c-bg:     #fff;
  --c-soft:   #f6f6f6;
  --radius:   8px;
  --shadow:   0 2px 8px rgba(0,0,0,.08);
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
}

/* SP: 固定ヘッダー(67px)直下の余白を詰める */
@media screen and (max-width: 1023px) {
  #content.site-content { margin-top: 78px !important; }
}

/* ---------- 文字サイズの底上げ（全幅）----------
   本文にインラインで small / x-small が残っており 9〜13px になる箇所を補正 */
[style*="font-size:xx-small"], [style*="font-size: xx-small"] { font-size: 12px !important; }
[style*="font-size:x-small"],  [style*="font-size: x-small"]  { font-size: 13px !important; }
[style*="font-size:small"],    [style*="font-size: small"]    { font-size: 15px !important; }

/* ---------- 共通部品 ---------- */
.ui-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1.6;
  vertical-align: middle; }
.ui-badge.cool  { background: var(--c-cool); }
.ui-badge.basic { background: var(--c-basic); }
.ui-badge.haha  { background: var(--c-haha); color: #333; }
.ui-badge.kanko { background: #555; }
.ui-badge.cafe  { background: var(--c-green); }

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: var(--c-orange);
  box-shadow: inset 0 -3px 0 var(--c-orange-d); }
/* テーマの a { color } が id セレクタ込みで強いので、ボタン文字色は明示的に上書きする */
.ui-btn, .ui-btn:link, .ui-btn:visited, .ui-btn:hover { color: #fff !important; }
.ui-btn:hover { filter: brightness(.95); }
.ui-btn.ghost, .ui-btn.ghost:link, .ui-btn.ghost:visited, .ui-btn.ghost:hover { background: #fff; color: var(--c-text) !important; box-shadow: inset 0 0 0 1px #ccc; }
.spot-grid a, .spot-maps a, .ui-crumbs a { color: var(--c-text) !important; font-weight: normal; }
.ui-crumbs a { color: var(--c-muted) !important; }
.ui-btn.accent { background: var(--c-accent); box-shadow: inset 0 -3px 0 #c44d66; }
.ui-btn.block { display: flex; width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  color: #444;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  line-height: 1; }
.chip.on { color: #fff; border-color: transparent; }
.chip.on.cool  { background: var(--c-cool); }
.chip.on.basic { background: var(--c-basic); }
.chip.on.haha  { background: var(--c-haha); color: #333; }
.chip.on.kanko { background: #555; }
.chip.on.cafe  { background: var(--c-green); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0; }

.ui-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; }

.ui-section-title {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  padding-left: 10px;
  border-left: 4px solid var(--c-accent);
  text-align: left;
  letter-spacing: .04em; }

/* ---------- パンくず（1 行に収める）---------- */
.ui-crumbs {
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 8px 0 4px; }
.ui-crumbs a { color: var(--c-muted); }
.ui-crumbs span + span:before { content: "›"; margin: 0 6px; }

/* ---------- ヘッダー検索 ---------- */
.hdr-search {
  position: fixed;
  left: 3vw;
  top: 16px;
  z-index: 300;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 18px;
  transition: top .3s; }
header.hide ~ .hdr-search, header.hide .hdr-search { top: -80px; }
#hdr-searchbar {
  display: none;
  position: fixed;
  top: 67px;
  left: 0;
  width: 100%;
  z-index: 299;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  padding: 10px 4vw;
  box-shadow: 0 4px 10px rgba(0,0,0,.08); }
#hdr-searchbar.open { display: block; }
#hdr-searchbar form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
#hdr-searchbar input[type="search"] { flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid #ccc; border-radius: var(--radius); font-size: 16px; }
.open .hdr-search { display: none; }
/* テーマの h5 は中央寄せ前提（::before の白/黒マスクが中央にある）。左寄せにすると罫線が文字に重なる */
#gnavi h5 { margin-top: 18px; }
#gnavi h5::before { display: none; }           /* 8em 固定のマスクは長い見出しで足りない */
#gnavi h5 > span { position: relative; z-index: 1; background: #000; padding: 0 .6em; }
/* メニューを開いている間はスポットページの固定バーを隠す（iOS で下端にはみ出す） */
body.open .spot-actions, body.open .spot-sheet { display: none !important; }

/* ============================================================
   一覧（カード・フィルタ・ページ送り・都道府県ナビ）
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--c-text) !important; font-weight: normal; box-shadow: var(--shadow); }
.card-img { display: block; background: var(--c-soft); }
.card-img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-article .card-img img { aspect-ratio: 16 / 10; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; }
.card-badges { display: flex; gap: 4px; flex-wrap: wrap; min-height: 18px; }
.card-badges .ui-badge { font-size: 10px; padding: 1px 7px; }
.card-title { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-sub { font-size: 11px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub i { color: var(--c-accent); margin-right: 2px; }
.ui-empty { padding: 24px; text-align: center; color: var(--c-muted); }

.filter-bar { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.filter-bar .chip-row { justify-content: flex-start; margin: 0; }
.filter-bar .chip { text-decoration: none; color: #444 !important; font-weight: 700; }
.filter-bar .chip.on { color: #fff !important; }
.filter-bar .chip.on.haha { color: #333 !important; }
.list-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--c-muted); margin: 8px 0; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 16px 0; }
.pager a, .pager span.dis { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--radius); border: 1px solid #ccc; font-weight: 700; text-decoration: none; color: var(--c-text) !important; background: #fff; }
.pager span.dis { color: #bbb !important; border-color: #e6e6e6; }
.pager-pos { text-align: center; color: var(--c-muted); font-size: 13px; }

.pref-nav { margin: 12px 0; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.pref-nav details { border-top: 1px solid var(--c-line); }
.pref-nav details:first-child { border-top: 0; }
.pref-nav summary { padding: 10px 12px; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pref-nav summary::-webkit-details-marker { display: none; }
.pref-nav summary::after { content: "＋"; color: var(--c-muted); }
.pref-nav details[open] summary::after { content: "－"; }
.pref-nav .chip-row { justify-content: flex-start; padding: 0 10px 10px; margin: 0; }
.pref-nav .chip { text-decoration: none; min-height: 32px; font-size: 12px; color: #444 !important; }
.pref-nav .chip.on { color: #fff !important; }

.page-lead { font-size: 14px; line-height: 1.8; color: #444; margin: 8px 0 12px; }
.page-lead.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.page-h1 { font-size: 22px; line-height: 1.35; margin: 6px 0 6px; }

@media screen and (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .card-grid-article { grid-template-columns: repeat(3, 1fr); }
  .filter-bar { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .pager { max-width: 520px; margin-left: auto; margin-right: auto; }
  .page-h1 { font-size: 26px; }
  .pref-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .pref-nav details { border-top: 0; border-bottom: 1px solid var(--c-line); }
}
@media screen and (min-width: 1400px) {
  .card-grid { grid-template-columns: repeat(5, 1fr); }
  .card-grid-article { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   アクセシビリティ共通
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #1a73e8; outline-offset: 2px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0; }
.tbl-wrap table { min-width: 100%; }

/* ============================================================
   トップページ
   ============================================================ */
.home-hero { margin: 0 -10px; }
/* 見出しとスライドを同じグリッドセルに重ねる。AdSense の自動広告が .hero-wrap 内に
   差し込まれても次の行に落ちるだけで、見出しの位置（スライド中央）は変わらない */
.hero-wrap { position: relative; }
/* 見出しは「1 枚目の画像の高さ」の箱の中で中央寄せ。高さは JS が --hero-h に入れる。
   AdSense の自動広告がスライダー内に差し込まれて .slide が伸びても見出しは動かない */
.mainVisual .hero-wrap > h2 {
  /* テーマどおり inline の流し込み（アーク文字・リボンの形はそれに依存）。
     縦位置だけ「1 枚目の画像の中央」に固定する */
  position: absolute !important;
  left: 0 !important; margin-left: 0 !important; width: 100%;
  top: calc(var(--hero-h, 62vw) / 2) !important;
  transform: translateY(-50%) !important;
  height: auto;
  display: inline-block;
  text-align: center;
  z-index: 1;
  pointer-events: none; }
.home-search { margin: 12px 0; }
.home-search form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.home-search input[type="search"] { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid #ccc; border-radius: var(--radius); font-size: 16px; }
.home-entries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 8px 0 16px; }
.home-entries a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--c-text) !important; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.home-entries a i { font-size: 22px; color: var(--c-accent); font-style: normal; }
.home-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.home-tabpanel[hidden] { display: none; }
.home-regions h5 { margin-top: 12px; }
.home-areas .col img { aspect-ratio: 1; object-fit: cover; }

/* 記事 */
.article-meta { font-size: 12px; color: var(--c-muted); margin: 4px 0 8px; }
.article-meta a { color: var(--c-muted) !important; margin-left: 8px; }
.toc { margin: 12px 0 16px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-soft); }
.toc summary { padding: 10px 14px; font-weight: 700; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::before { content: "☰ "; color: var(--c-accent); }
.toc ol { margin: 0; padding: 0 14px 10px 32px; font-size: 14px; line-height: 1.7; }
.toc a { color: var(--c-text) !important; font-weight: normal; }
.article-body { font-size: 15px; line-height: 1.9; }
.article-body img { max-width: 100%; height: auto; }

@media screen and (min-width: 1024px) {
  .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .home-main { min-width: 0; }
  .home-hero { margin: 0; }
  .home-entries { max-width: 760px; margin-left: auto; margin-right: auto; gap: 10px; }
  .home-entries a { font-size: 14px; padding: 14px 4px; }
  .home-side .card-grid { grid-template-columns: 1fr 1fr; }
  .home-main .card-grid { grid-template-columns: repeat(3, 1fr); }
  .toc { max-width: 860px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   地図ページ
   ============================================================ */
.map-page .map-h1 { margin-bottom: 4px; }
.map-filters { justify-content: flex-start; margin: 8px 0; }
.map-filters-x { color: #999; align-self: center; }
.map-canvas { width: 100%; height: 55vh; min-height: 320px; background: var(--c-soft); border-radius: var(--radius); }
.map-tools { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.map-count { margin-left: auto; font-size: 12px; color: var(--c-muted); }
.map-list { display: none; }

/* 選択スポット（SP: 下から出るシート） */
.spot-sheet { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 260; padding: 0 8px calc(8px + env(safe-area-inset-bottom)); }
.spot-sheet.open { display: block; }
.spot-sheet-in { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 10px; background: #fff; border-radius: 12px; box-shadow: 0 -2px 16px rgba(0,0,0,.18); padding: 10px; }
.spot-sheet-close { position: absolute; right: 6px; top: 4px; width: 32px; height: 32px; border: 0; background: none; font-size: 22px; color: #888; cursor: pointer; }
.spot-sheet-img img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; display: block; }
.spot-sheet-body { min-width: 0; padding-right: 24px; }
.spot-sheet-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin: 4px 0; }
.spot-sheet-addr { font-size: 11px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-sheet-addr i { color: var(--c-accent); }
.spot-sheet-desc { font-size: 12px; color: #444; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-sheet-btns { display: flex; gap: 6px; margin-top: 8px; }
.spot-sheet-btns .ui-btn { min-height: 36px; font-size: 13px; padding: 0 10px; flex: 1; }

/* キュレーション（テーマ別マップのスポット本文） */
.map-cur { margin: 12px 0; }
.map-cur > a img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-cur-body { padding: 10px 12px 12px; }
.map-cur-body h3 { font-size: 17px; margin: 6px 0; }
.map-cur-body h3 a { color: var(--c-text) !important; }
.map-cur-body p { font-size: 14px; line-height: 1.8; }
.map-cur-info { display: grid; grid-template-columns: 80px 1fr; font-size: 13px; margin: 8px 0 12px; background: var(--c-soft); border-radius: 6px; padding: 6px 10px; }
.map-cur-info dt { color: #666; font-weight: 700; padding: 3px 0; }
.map-cur-info dd { margin: 0; padding: 3px 0; }

@media screen and (min-width: 1024px) {
  .map-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); gap: 16px; align-items: start; }
  .map-layout.map-only { grid-template-columns: 1fr; }
  .map-col { position: sticky; top: 125px; }
  .map-canvas { height: calc(100vh - 230px) !important; min-height: 480px; }
  .map-list { display: flex; flex-direction: column; height: calc(100vh - 190px); min-height: 520px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; overflow: hidden; }
  .map-list-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 12px; color: var(--c-muted); border-bottom: 1px solid var(--c-line); }
  .map-list-items { overflow-y: auto; flex: 1; }
  .map-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--c-line); cursor: pointer; }
  .map-row:hover { background: var(--c-soft); }
  .map-row.on { background: #fff3f5; box-shadow: inset 3px 0 0 var(--c-accent); }
  .map-row img, .map-row-noimg { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--c-soft); display: block; }
  .map-row-title { font-size: 14px; font-weight: 700; line-height: 1.35; }
  .map-row-addr { font-size: 11px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #map-list-more { margin: 8px; width: auto; }
  /* PC では選択スポットを地図の上に重ねる */
  .spot-sheet { position: absolute; left: 16px; right: auto; bottom: 16px; width: 360px; padding: 0; }
  .map-col { position: sticky; }
  .map-layout { position: relative; }
  .map-cur { display: grid; grid-template-columns: 320px 1fr; }
  .map-cur > a img { height: 100%; aspect-ratio: auto; }
}

/* ============================================================
   スポットページ
   ============================================================ */
.spot-head { margin: 4px 0 10px; }
.spot-head h1 { font-size: 22px; line-height: 1.35; margin: 6px 0 8px; letter-spacing: .02em; }
.spot-head .badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spot-head .badges .pref { font-size: 13px; color: var(--c-muted); }

.spot-hero { position: relative; margin: 0 -10px; background: #000; }
.spot-hero img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spot-hero .credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px; }
.spot-hero .credit a { color: #fff; }

.spot-desc { font-size: 15px; line-height: 1.9; margin: 16px 0; }

.spot-info { margin: 12px 0; }
.spot-info dl { display: grid; grid-template-columns: 92px 1fr; margin: 0; font-size: 14px; }
.spot-info dt, .spot-info dd { margin: 0; padding: 9px 10px; border-top: 1px solid var(--c-line); }
.spot-info dt { background: var(--c-soft); color: #555; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.spot-info dt i { width: 16px; text-align: center; color: var(--c-accent); }
.spot-info dd { line-height: 1.6; word-break: break-all; }
.spot-info dt:first-of-type, .spot-info dd:first-of-type { border-top: 0; }

.spot-gallery { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.spot-gallery figure { flex: 0 0 78%; margin: 0; scroll-snap-align: start; }
.spot-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.spot-gallery figcaption { font-size: 12px; color: var(--c-muted); margin-top: 4px; }

.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spot-grid a { display: block; color: var(--c-text); text-decoration: none; }
.spot-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.spot-grid .t { font-size: 12px; line-height: 1.4; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-grid .d { font-size: 11px; color: var(--c-muted); }

.spot-maps { display: grid; gap: 8px; }
.spot-maps a { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; text-decoration: none; color: var(--c-text); padding: 6px; }
.spot-maps img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.spot-maps .t { font-size: 14px; font-weight: 700; line-height: 1.4; }
.spot-maps .n { font-size: 12px; color: var(--c-muted); }

.spot-share { display: flex; gap: 8px; margin: 10px 0; }
.spot-share a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: var(--radius); color: #fff; font-size: 16px; text-decoration: none; }
.spot-share .tw { background: #00ACED; }
.spot-share .fb { background: #305097; }
.spot-share .ln { background: #00C300; }

/* 画面下固定のアクションバー（SP） */
.spot-actions {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 12px rgba(0,0,0,.08); }
.spot-actions .ui-btn { min-height: 46px; font-size: 14px; padding: 0 8px; }
body.has-spot-actions { padding-bottom: 72px; }

.spot-minimap { width: 100%; height: 200px; border-radius: var(--radius); background: var(--c-soft); display: block; }
.spot-minimap-link { display: block; position: relative; text-decoration: none; }
.spot-minimap-link .lbl { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.6); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 13px; }

/* 本文中の旧装飾を現行デザインに寄せる */
#main .spot-body img { max-width: 100%; height: auto; }

/* ---------- PC: 2 カラム ---------- */
@media screen and (min-width: 1024px) {
  .spot-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
  .spot-main { min-width: 0; }
  .spot-side { position: sticky; top: 125px; }
  .spot-hero { margin: 0; border-radius: var(--radius); overflow: hidden; }
  .spot-hero img { aspect-ratio: 16 / 10; }
  .spot-head h1 { font-size: 26px; }
  .spot-actions { position: static; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0; background: none; border: 0; box-shadow: none; margin-top: 10px; }
  body.has-spot-actions { padding-bottom: 0; }
  .spot-gallery figure { flex-basis: 48%; }
  .spot-grid { grid-template-columns: repeat(6, 1fr); }
  .spot-minimap { height: 240px; }
  /* desktop.css の「直下の要素を 860px」ルールから外す */
  body.single #main > .spot-layout { max-width: none; }
}
