/* ==========================================================================
   韓っぷ (KANPPU) — "Pure White" design system (single source, v19)
   旧 v4〜v14 の重ね書き版は _archive/styles-legacy/ に保管。
   方針: 真っ白な地・黒の太字見出し (Noto Sans JP 900)・ビビッドピンク1色。
         カードの入れ子を減らし、写真と余白で見せる。モバイルは下部タブバー。!important なし。
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* サイト内の文字だけに絞った Noto Sans JP (可変 400〜900)。scripts/build-font-subset.mjs で生成。
   ライセンス: SIL Open Font License 1.1 (/fonts/OFL.txt) */
@font-face {
  font-family: "KANPPU Sans";
  src: url("/fonts/noto-sans-jp-subset.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* surface: 真っ白な地 (A案 ピュアホワイト) */
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F5F5F5;
  --bg-muted: #EDEDED;
  --bg-inverse: #111111;

  /* text: 黒ベース */
  --text-primary: #111111;
  --text-secondary: #4D4D4D;
  --text-muted: #666666;
  --text-inverse: #FFFFFF;

  /* line */
  --border: #EBEBEB;
  --border-strong: #D4D4D4;

  /* accent: ビビッドピンク 1色 (白地・白文字とも AA) */
  --brand: #D0103F;
  --brand-hover: #B00C35;
  --brand-soft: #FFEEF2;
  --brand-border: #FFC2D1;
  /* 補助のハイライト */
  --sun: #FFC83D;
  --sun-soft: #FFF6D6;

  /* status */
  --status-ok-text: #2F7A4F;
  --status-ok-bg: #EAF6EE;
  --status-ok-border: #C4E5CF;
  --status-warn-text: #8F5208;
  --status-warn-bg: #FFF4E0;
  --status-warn-border: #F2DCAE;
  --status-danger-text: #B42318;
  --status-danger-bg: #FEF0EF;
  --status-danger-border: #F6CBC6;

  /* type */
  --font-sans: "KANPPU Sans", "Noto Sans JP", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --font-display: "KANPPU Sans", "Noto Sans JP", "Pretendard Variable", Pretendard, sans-serif;
  --font-num: var(--font-sans);
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* shape: 角はまるく */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* depth: 影も温かい色で */
  --shadow-sm: 0 1px 3px rgba(80, 50, 30, 0.06);
  --shadow-md: 0 10px 28px rgba(80, 50, 30, 0.09);
  --shadow-lg: 0 24px 56px rgba(80, 50, 30, 0.16);

  /* layout */
  --container: 1200px;
  --gutter: 28px;
  --header-h: 68px;
  --bottom-nav-h: 0px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}
body:has(.header-nav-bar) { padding-bottom: var(--bottom-nav-h); }

body.lang-mode-ko {
  font-feature-settings: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
}
/* 小見出しは本文書体の方が読みやすい */
h3, h4 { font-family: var(--font-sans); }
p { text-wrap: pretty; }
/* 日本語は文節単位で改行 (対応ブラウザのみ) */
body.lang-mode-ja h1, body.lang-mode-ja h2, body.lang-mode-ja h3, body.lang-mode-ja h4,
body.lang-mode-ja .hero-sub-title, body.lang-mode-ja .itinerary-banner-title { word-break: auto-phrase; }

/* JS が生成する「上へ戻る」ボタンなど、.t-ja / .t-ko で言語を出し分ける */
body.lang-mode-ja .t-ko { display: none; }
body.lang-mode-ko .t-ja { display: none; }
body.lang-mode-bi .t-ja, body.lang-mode-bi .t-ko { display: inline; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
details > summary { height: auto; min-height: 40px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-soft); color: var(--text-primary); }

.num, time, td { font-variant-numeric: tabular-nums; }

.ico { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; flex-shrink: 0; }
.ico-sm { width: 14px; height: 14px; vertical-align: -2px; }

/* 日韓対照モード */
body.lang-mode-bi .i18n[data-ja][data-ko]::after {
  content: " (" attr(data-ko) ")";
  color: var(--text-muted);
  font-size: 0.88em;
  font-weight: 400;
}

/* 3. Top bar, header & sub-navigation -------------------------------------- */
.pr-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px var(--gutter);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: var(--bg-muted);
  text-align: center;
}

.issue-ticker-pill {
  flex-shrink: 0;
  padding: 0 6px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
}

.header-top {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 40px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-inverse);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
}

.brand-text-wrap { display: flex; flex-direction: column; line-height: 1.25; }
.brand-title { font-family: var(--font-display); font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.brand-sub { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }

.header-search {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 6px 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.header-search:focus-within {
  background: var(--bg-surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.header-search-input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
}
.header-search-input::placeholder { color: var(--text-muted); }

.header-search-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-inverse);
  color: #fff;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-segmented {
  display: flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
}
.lang-btn {
  height: 32px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active { background: var(--bg-surface); color: var(--text-primary); box-shadow: var(--shadow-sm); font-weight: 700; }

.btn-saved-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s;
}
.btn-saved-list:hover { border-color: var(--text-primary); }
.saved-count-pill {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.saved-count-pill[hidden] { display: none; }

/* カテゴリタブ (PC: アイコン付きピル / モバイル: 下部タブバー) */
.header-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-nav-inner > * { min-width: 0; }

.primary-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  /* flex 子要素の min-width:auto を外さないと、タブが多い幅で親を押し広げて横スクロールが出る */
  flex: 1 1 auto;
  min-width: 0;
  scroll-behavior: smooth;
}
.primary-tabs::-webkit-scrollbar { display: none; }

.nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-tab-btn:hover { background: var(--bg-subtle); color: var(--text-primary); }
.nav-tab-btn.active { background: var(--bg-inverse); color: #fff; font-weight: 700; }
.nav-tab-btn.active .nav-tab-count { color: rgba(255, 255, 255, 0.6); }

.nav-ico { width: 18px; height: 18px; flex-shrink: 0; }
.nav-label-short { display: none; }
.nav-tab-count { display: none; }

.header-fx-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.fx-rate-tag { color: var(--text-muted); white-space: nowrap; margin-right: 4px; }
.fx-quick-input {
  width: 62px;
  border: 0;
  background: transparent;
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
  outline: 0;
}
.fx-quick-output { font-weight: 700; color: var(--brand); white-space: nowrap; }

.status-dot-ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok-text);
  display: inline-block;
  flex-shrink: 0;
}

/* サブページ共通ナビ & ガイドサブナビ */
.content-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 10px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.content-nav::-webkit-scrollbar { display: none; }
.content-nav-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.content-nav-link:hover { background: var(--bg-subtle); color: var(--text-primary); }
.content-nav-link.active { background: var(--bg-inverse); color: #fff; font-weight: 700; }

.guide-subnav-bar {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}
.guide-subnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4px var(--gutter);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.guide-subnav-inner::-webkit-scrollbar { display: none; }
.guide-subnav-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.guide-subnav-link:hover,
.guide-subnav-link.active {
  background: var(--bg-surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* 4. Layout & containers --------------------------------------------------- */
.main-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px var(--gutter) 96px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.35s var(--ease-out); }

/* ハブページ (/ranking/ /beauty/ など) のページ見出し */
.hub-hero {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.hub-hero-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.hub-hero-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.hub-hero-desc {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.section-card {
  margin-bottom: 64px;
  padding: 0;
  background: transparent;
}
.section-card.trendy-module-card,
.section-card.api-surface-card,
details.section-card,
.section-card.rank-item-card,
.section-card.clinic-treatment-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 0;
}
.section-card.clinic-treatment-card { margin-bottom: 24px; }

.section-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 6px;
}

.section-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

details.section-card > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
details.section-card > summary::-webkit-details-marker { display: none; }

/* 折りたたみチャート */
.chart-details,
details.chart-details.section-card { padding: 0; }
.chart-summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chart-summary::-webkit-details-marker { display: none; }
.chart-summary::after { content: "＋"; color: var(--brand); font-size: 18px; }
.chart-details[open] .chart-summary::after { content: "－"; }
.chart-details[open],
details.chart-details.section-card[open] { padding-bottom: 20px; }
.chart-details > :not(summary) { margin-left: 22px; margin-right: 22px; }

.tier-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tier-grid-2,
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ページ内目次ジャンプバー & トップへ戻るボタン */
.page-quick-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.page-quick-toc-label {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  padding: 0 4px;
}
.page-quick-toc a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: normal;
  height: auto;
  min-height: 40px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.page-quick-toc a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
}
.btn-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.btn-back-to-top:hover {
  background: var(--brand);
  border-color: var(--brand);
}

/* 5. Buttons, chips & badges ----------------------------------------------- */
.btn-primary,
.btn-outline,
.btn-util-sm,
.chip-btn,
.btn-detail-link,
.btn-expand-drawer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--bg-inverse);
  background: var(--bg-inverse);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}
.btn-primary:hover { background: var(--brand); border-color: var(--brand); }

.btn-outline {
  height: auto;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 14px;
  border-radius: var(--radius-pill);
}
.btn-outline:hover { border-color: var(--text-primary); }

.btn-util-sm {
  height: auto;
  min-height: 40px;
  max-width: 100%;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 12px;
  border-radius: var(--radius-pill);
}
.btn-util-sm:hover { color: var(--text-primary); border-color: var(--text-primary); }
.btn-util-sm.saved { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }

.chip-btn {
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}
.chip-btn:hover { background: var(--bg-muted); }
.chip-btn.active { background: var(--text-primary); border-color: var(--text-primary); color: #fff; font-weight: 700; }

/* 長いボタン文字は折り返す (画面外にはみ出さない) */
.tool-result-box .btn-util-sm,
.tool-result-box .btn-primary,
.tool-result-box .btn-outline,
.tool-card .btn-util-sm,
.tier-box .btn-util-sm,
.pharm-phrase .btn-util-sm,
#btn-deck-bridge,
.area-chip-row .chip-btn,
.area-jump .chip-btn {
  white-space: normal;
  height: auto;
  min-height: 40px;
  max-width: 100%;
  padding: 8px 14px;
  line-height: 1.45;
  text-align: center;
}

.spec-tag,
.check-pill,
.spot-viral-pill,
.unified-spec-chip,
.thumb-curation-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.spec-tag {
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}
a.spec-tag { height: auto; min-height: 40px; }
.spec-tag.tag-refund,
.spec-tag.tag-010-ok { background: var(--status-ok-bg); color: var(--status-ok-text); }
.spec-tag.tag-warn { background: var(--status-warn-bg); color: var(--status-warn-text); }
.spec-tag.tag-area { background: var(--bg-muted); color: var(--text-primary); }

.spec-tags-row { display: flex; flex-wrap: wrap; gap: 6px; }

.check-pill {
  position: relative;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.check-pill:hover { border-color: var(--text-primary); }
.check-pill input { accent-color: var(--text-primary); margin: 0; }
.filter-toolbar .check-pill input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filter-toolbar .check-pill::before { content: "+"; font-weight: 700; color: var(--text-muted); }
.filter-toolbar .check-pill:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 700; }
.filter-toolbar .check-pill:has(input:checked)::before { content: "✓"; color: var(--brand); }
.filter-toolbar .check-pill:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.check-pill:has(input:checked) { border-color: var(--text-primary); color: var(--text-primary); font-weight: 700; }

/* 写真クレジット (Wikimedia Commons) / 出典表記 */
.photo-credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  max-width: 68%;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}
a.photo-credit:hover { background: rgba(0, 0, 0, 0.7); }
.hero-photo-credit {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.photo-area-note {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 12px;
}

.source-kind { display: inline-block; padding: 0 8px; margin-right: 4px; border-radius: var(--radius-xs); background: var(--bg-muted); font-size: 12px; color: var(--text-secondary); }
.source-link { color: var(--brand); text-decoration: underline; }
.source-note { color: var(--text-muted); font-size: 12px; }

/* 6. Forms ----------------------------------------------------------------- */
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-size: 14px;
  outline: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-select {
  height: auto;
  min-height: 40px;
}
.form-input:focus,
.form-select:focus { border-color: var(--text-primary); box-shadow: 0 0 0 3px rgba(29, 29, 27, 0.08); }

/* 7. Hero & home modules --------------------------------------------------- */
.hero-magazine-wrap { margin-bottom: 40px; }

.hero-bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.hero-bento-main,
.hero-bento-subcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--bg-muted);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.hero-bento-main { min-height: 440px; }
.hero-bento-subcard { min-height: 214px; cursor: pointer; }

.hero-bento-overlay,
.hero-bento-suboverlay {
  position: relative;
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.7) 100%);
}
.hero-bento-overlay { padding: 120px 32px 32px; }
.hero-bento-suboverlay { padding: 60px 22px 20px; }

.hero-glass-pill {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-bento-title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  max-width: 640px;
}

.hero-bento-sub {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 18px;
}

.hero-quick-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.hero-tag-btn {
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.hero-tag-btn:hover { background: #fff; color: var(--text-primary); }

.hero-bento-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }

.hero-sub-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}
.hero-sub-title { font-size: 19px; font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 6px; }
.hero-sub-cta { font-size: 12px; color: rgba(255, 255, 255, 0.85); }

/* カテゴリランチャー: 円形サムネ + ラベル (横スクロール) */
.category-launcher-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.cat-launcher-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  position: relative;
}

.cat-photo-ring {
  width: 100%;
  aspect-ratio: 1;
  max-width: 120px;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-muted);
  transition: transform 0.2s var(--ease-out);
}
.cat-photo-ring img { width: 100%; height: 100%; object-fit: cover; }
.cat-launcher-item:hover .cat-photo-ring { transform: translateY(-2px); }

.cat-count-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 54px);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
}
.cat-launcher-title { font-size: 13px; font-weight: 700; line-height: 1.4; }
.cat-launcher-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ホームの「いまの韓国」 */
.now-card { margin: 40px 0 0; }
.now-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.now-title { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.now-more { font-size: 13px; color: var(--text-primary); font-weight: 700; white-space: nowrap; }
.now-more:hover { color: var(--brand); }
.now-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.now-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 16px; background: var(--bg-subtle); min-height: 132px; }
.now-tag { padding: 0 9px; border-radius: var(--radius-pill); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; }
.now-tag-info { background: var(--bg-inverse); color: #fff; }
.now-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.now-text strong { font-size: 15px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.now-text small { font-size: 12px; color: var(--text-muted); }

/* ホーム: エリア入口・ガイド入口・みんなの行きたい */
.home-explore { margin: 56px 0 8px; }
.home-area-row { display: grid; grid-template-columns: repeat(11, minmax(112px, 1fr)); gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.home-area-row::-webkit-scrollbar { display: none; }
.home-area-card { display: flex; flex-direction: column; gap: 2px; color: var(--text-primary); }
.home-area-img { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--bg-muted); margin-bottom: 6px; }
.home-area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.home-area-card:hover img { transform: scale(1.04); }
.home-area-card strong { font-size: 14px; font-weight: 900; }
.home-area-card:hover strong { color: var(--brand); }
.home-area-card small { font-size: 12px; color: var(--text-muted); }
.home-guide-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.home-guide-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--bg-subtle); color: var(--text-primary); transition: background 0.15s; }
.home-guide-link:hover { background: var(--bg-muted); }
.home-guide-link strong { font-size: 16px; font-weight: 900; }
.home-guide-link span { font-size: 13px; color: var(--text-secondary); }

.crowd-ranking { margin-top: 40px; }
.crowd-note { font-size: 12px; color: var(--text-muted); }
.crowd-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.crowd-item { display: grid; grid-template-columns: auto 48px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 0 10px; padding: 12px; border-radius: 16px; background: var(--bg-subtle); color: var(--text-primary); }
.crowd-rank { grid-row: 1 / 3; font-size: 20px; font-weight: 900; color: var(--brand); width: 18px; text-align: center; }
.crowd-thumb { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--bg-muted); }
.crowd-item strong { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crowd-item small { font-size: 12px; color: var(--text-muted); }

/* イベント・新着・LINE */
.events-card,
.updates-card {
  margin-bottom: 20px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.event-list,
.update-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.event-row,
.update-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.event-row:first-child,
.update-row:first-child { border-top: 0; }
.event-date,
.update-date { font-weight: 700; color: var(--brand); font-size: 14px; }
.event-main,
.update-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.event-main strong,
.update-main strong { font-size: 15px; }
.event-meta,
.event-note,
.update-main > span { font-size: 13px; color: var(--text-secondary); }
.event-source {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.line-follow {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: #06C755;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ホーム末尾の「旅のアイデア」入口 & 保存リスト */
.guide-teaser {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 32px 36px;
  border: 0;
  border-radius: 20px;
  background: var(--bg-inverse);
  color: #fff;
  text-align: left;
  transition: transform 0.2s;
}
.guide-teaser:hover { transform: translateY(-2px); }
.guide-teaser:hover .guide-teaser-arrow { background: #fff; color: var(--brand); }
.guide-teaser-text { display: flex; flex-direction: column; gap: 6px; }
.guide-teaser .section-eyebrow { color: #FF8FAB; margin: 0; }
.guide-teaser-text strong { font-family: var(--font-display); font-size: 24px; font-weight: 900; letter-spacing: -0.01em; color: #fff; }
.guide-teaser-text > span:last-child { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.guide-teaser-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
}

.wish-esim-link { height: auto; min-height: 40px; padding: 8px 16px; white-space: normal; text-align: center; }
#tab-wishlist .btn-primary,
#tab-wishlist .btn-outline { max-width: 100%; white-space: normal; height: auto; min-height: 40px; }

/* 8. Filter toolbar -------------------------------------------------------- */
.spots-head { margin: 48px 0 16px; align-items: flex-end; }
.spots-head .filter-live-count-pill { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.spots-head .filter-live-count-pill strong { font-size: 20px; font-weight: 900; color: var(--text-primary); margin-right: 2px; }

.filter-toolbar {
  position: relative;
  margin-bottom: 32px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--border);
}

.filter-rows-stack { display: flex; flex-direction: column; gap: 12px; }

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-row-split { justify-content: space-between; }
.filter-row-left,
.filter-row-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.filter-dim-badge,
.filter-group-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 56px;
}

.filter-segmented {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-segmented::-webkit-scrollbar { display: none; }

.filter-live-count-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* 美容・買い物のフィルター: グループは縦に並べ、チップは折り返して全部見せる */
.filter-grid-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filter-section { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.filter-grid-top .filter-segmented { flex-wrap: wrap; overflow: visible; }

details.area-pinpoint-bar {
  display: block;
  margin-top: 16px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
details.area-pinpoint-bar > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
details.area-pinpoint-bar > summary::-webkit-details-marker { display: none; }
details.area-pinpoint-bar > summary::after { content: "＋"; float: right; color: var(--text-muted); }
details.area-pinpoint-bar[open] > summary::after { content: "－"; }
.pinpoint-body { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 0 16px 14px; }
.pinpoint-items { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-secondary); }
.pinpoint-item { display: inline-flex; align-items: center; gap: 6px; }
.pinpoint-tag { font-weight: 700; color: var(--text-primary); }

#daiso-checklist-box .check-pill {
  white-space: normal;
  line-height: 1.45;
  align-items: flex-start;
  border-radius: var(--radius-md);
}
#daiso-checklist-box .check-pill input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

/* 9. Spot cards & community reactions -------------------------------------- */
.spot-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.spot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  scroll-margin-top: 140px;
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.25s;
}

.spot-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-muted);
}

.spot-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.spot-card:hover .spot-thumb-img { transform: scale(1.03); }

.spot-thumb-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.thumb-curation-pill {
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  max-width: 75%;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-sm);
}

.btn-bookmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  min-height: 40px;
  min-width: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.btn-bookmark:hover { background: #fff; }
.btn-bookmark.saved { background: var(--brand); color: #fff; }

.spot-thumb-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
}

.micro-vote-row { display: flex; gap: 6px; flex-wrap: wrap; }

.btn-micro-vote {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 27, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-micro-vote .vote-pct { font-weight: 700; }
.btn-micro-vote.voted { background: #fff; color: var(--text-primary); }

/* tier-box / ranking 内の vote は明るい背景用 */
.tier-box .btn-micro-vote,
.spot-fact-callout .btn-micro-vote {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  backdrop-filter: none;
}
.tier-box .btn-micro-vote.voted,
.spot-fact-callout .btn-micro-vote.voted { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }

/* 反応ボタン (Community reactions) */
.react-row { display: flex; gap: 8px; flex-wrap: wrap; }

.react-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.react-btn:hover { border-color: var(--brand); color: var(--brand); }
.react-btn:disabled { opacity: 0.6; cursor: progress; }
.react-ico { width: 16px; height: 16px; flex-shrink: 0; }
.react-count { font-weight: 700; }

.react-want.is-on { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand); }
.react-want.is-on .react-ico { fill: currentColor; }
.react-went.is-on { background: var(--sun-soft); border-color: var(--sun); color: var(--text-primary); }
.react-btn.pop { animation: reactPop 0.35s var(--ease-out); }
@keyframes reactPop { 40% { transform: scale(1.12); } }

.spot-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 20px 20px; flex: 1; }

/* 一覧タイル: 写真 → 名前 → ひとこと → 駅 → 価格 → 狙い目 → 安心ポイント2つ → 反応。カード全体が詳細ページへのリンク */
.spot-tile .spot-thumb-wrap { aspect-ratio: 4 / 5; border-radius: 16px; }
.spot-tile:hover .spot-title a { color: var(--brand); }
.spot-tile .spot-body { gap: 4px; padding: 12px 2px 0; flex: 1; }
.spot-tile .spot-title { font-size: 18px; font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; }
.spot-tile .spot-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.spot-tile .spot-title a:hover { text-decoration: none; }
.spot-tile button,
.spot-tile a.btn-util-sm,
.spot-tile .photo-credit { position: relative; z-index: 2; }
.spot-tile .photo-credit { position: absolute; }

.tile-area {
  position: absolute;
  left: 12px;
  top: 12px;
  height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.spot-tile .tile-save,
.tile-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}
.tile-save .save-label { display: none; }
.tile-save .ico { width: 17px; height: 17px; }

.tile-hook {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-station { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-muted); }
.tile-station .ico { width: 13px; height: 13px; }
.tile-price { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tile-price strong { font-size: 18px; font-weight: 900; color: var(--text-primary); letter-spacing: -0.01em; }
.tile-price small { font-size: 12px; color: var(--text-muted); }
.spot-menu-preview-price small,
.unified-spec-chip small { font-size: 12px; }
.tile-golden-time {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-golden-time b { color: var(--brand); font-weight: 700; margin-right: 4px; }
.tile-flags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tile-flags li {
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}
.spot-tile .react-row { margin-top: auto; padding-top: 12px; gap: 6px; }
.spot-tile .react-btn { height: 34px; padding: 0 12px; font-size: 12.5px; border-color: var(--border); }

.spot-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.spot-meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.spot-mag-num { font-weight: 700; color: var(--text-muted); }
.spot-mag-num::after { content: "·"; margin-left: 6px; }

.spot-status-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

.spot-viral-pill {
  height: 20px;
  padding: 0 7px;
  border-radius: var(--radius-xs);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spot-verified-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--status-ok-text);
  white-space: nowrap;
}

.spot-title {
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}
.spot-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

.spot-friendly-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 事実情報: 枠なしリスト */
.spot-unified-fact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
}

.unified-fact-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.unified-station-text {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.unified-station-text .ico { margin-top: 2px; color: var(--text-muted); }

.unified-map-actions { display: flex; gap: 6px; }

.unified-fact-rows { display: flex; flex-direction: column; gap: 4px; }
.unified-fact-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.6;
}
.unified-fact-key { color: var(--text-muted); }
.unified-fact-val { color: var(--text-primary); overflow-wrap: anywhere; }

.unified-spec-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.unified-spec-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 12px;
}
.unified-spec-chip.chip-price { background: var(--text-primary); color: #fff; font-weight: 700; }

/* メニュー・価格 */
.spot-menu-preview-box {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spot-menu-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.spot-best-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.spot-menu-preview-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.spot-menu-preview-name {
  color: var(--text-secondary);
  white-space: normal;
  line-height: 1.45;
  min-width: 0;
  flex: 1;
}
.spot-menu-preview-price { font-weight: 700; white-space: nowrap; flex-shrink: 0; }

/* 訪問者のひとこと */
.visitor-tip-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.visitor-tip-text-wrap { display: flex; gap: 6px; flex: 1; min-width: 0; }
.tip-quote-mark { color: var(--text-muted); }
.tip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.visitor-tip-strip .form-input { height: 36px; font-size: 13px; flex: 1 1 200px; }
.visitor-tip-strip .btn-primary { height: 36px; font-size: 13px; padding: 0 14px; }

.spot-card-footer {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.btn-expand-drawer,
.btn-detail-link {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13px;
}
.btn-expand-drawer { flex: 1; }
.btn-detail-link { flex: 0 0 auto; }
.btn-expand-drawer:hover,
.btn-detail-link:hover { border-color: var(--text-primary); }

/* 詳細ドロワー */
.konest-detail-drawer {
  display: none;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.konest-detail-drawer.open { display: block; animation: fadeUp 0.25s var(--ease-out); }

.drawer-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.drawer-tab-btn {
  position: relative;
  height: auto;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.drawer-tab-btn.active { color: var(--text-primary); font-weight: 700; box-shadow: inset 0 -2px 0 var(--text-primary); }

.drawer-pane { display: none; }
.drawer-pane.active { display: flex; flex-direction: column; gap: 10px; }

.price-fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.price-fact-row:last-child { border-bottom: 0; }

.info-fact-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 13px;
  line-height: 1.65;
}
.info-fact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.course-step-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 13px;
}

.phrase-row-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.phrase-ko { font-size: 15px; font-weight: 700; }
.phrase-kana { font-size: 12px; color: var(--text-secondary); }
.phrase-ja { font-size: 12px; color: var(--text-muted); }
.phrase-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

.affiliate-comp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}
.affiliate-comp-row:hover { border-color: var(--text-primary); }
.affiliate-comp-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.affiliate-comp-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.review-quote-box,
.spot-fact-callout {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 10. K-Vibe matcher ------------------------------------------------------- */
.kvibe-matcher-card {
  margin-bottom: 64px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.kvibe-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.kvibe-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 6px; }
.kvibe-title { font-size: 26px; }

.kvibe-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.kvibe-tab-btn {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 13px;
  color: var(--text-secondary);
}
.kvibe-tab-btn.active { background: var(--text-primary); border-color: var(--text-primary); color: #fff; font-weight: 700; }

.kvibe-pane-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.kvibe-main-info { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-secondary); }
.kvibe-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.kvibe-type-pill {
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.kvibe-hash { font-size: 12px; color: var(--text-muted); }
.kvibe-action-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-kvibe-filter,
.btn-kvibe-save {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}
.btn-kvibe-filter { border: 1px solid var(--text-primary); background: var(--text-primary); color: #fff; }
.btn-kvibe-save { border: 1px solid var(--border-strong); background: var(--bg-surface); color: var(--text-primary); }

.kvibe-metrics-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kvibe-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}
.kvibe-m-label { font-size: 12px; color: var(--text-muted); }
.kvibe-m-val { font-size: 15px; font-weight: 700; }

/* 11. Maps, charts, district photos ---------------------------------------- */
.visual-map-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}

.visual-map-box,
.visual-chart-box { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.illustrated-map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-muted);
}
.guide-map-img { width: 100%; height: auto; }

.map-pin-selector-bar { display: flex; flex-wrap: wrap; gap: 6px; }

.map-pin-preview {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.district-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.district-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-muted);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.district-photo-overlay {
  width: 100%;
  padding: 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}
.district-vibe-pill {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.korea-fact-infographic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.kfact-pill {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}
.kfact-num { font-size: 18px; font-weight: 700; }
.kfact-label { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* 価格比較バー */
.price-chart-grid { display: flex; flex-direction: column; gap: 16px; }
.price-chart-row {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.price-chart-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-chart-label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  font-size: 13px;
  font-weight: 500;
}
.price-chart-label > strong { font-weight: 700; line-height: 1.45; }
.price-chart-label > .spec-tag { grid-column: 2; justify-self: start; margin-left: 0; }
.price-chart-bars { display: flex; flex-direction: column; gap: 6px; }
.chart-bar-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.chart-bar-tag { font-size: 12px; color: var(--text-muted); }
.chart-bar-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  overflow: hidden;
}
.chart-bar-fill { height: 100%; border-radius: var(--radius-pill); }
.chart-bar-fill.fill-brand { background: var(--brand); }
.chart-bar-fill.fill-muted { background: var(--text-muted); }
.chart-bar-val { font-size: 12px; font-weight: 700; white-space: nowrap; }

.rank-num-badge {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--text-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* 12. Itinerary storyboard ------------------------------------------------- */
.itinerary-dark-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.itinerary-route-pill {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.itinerary-banner-title { display: block; font-size: 20px; font-weight: 700; line-height: 1.4; }

.btn-itinerary-save,
.btn-step-jump,
.btn-lookbook-order,
.btn-kculture-action,
.btn-concierge-glass,
.btn-concierge-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.btn-itinerary-save:hover,
.btn-step-jump:hover,
.btn-lookbook-order:hover,
.btn-kculture-action:hover,
.btn-concierge-glass:hover { border-color: var(--text-primary); }
.btn-concierge-mint { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }

.storyboard-flow-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  font-size: 12.5px;
  color: var(--text-secondary);
  overflow-x: auto;
  scrollbar-width: none;
}
.storyboard-flow-strip::-webkit-scrollbar { display: none; }
.sb-node { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
.sb-node strong { font-weight: 700; color: var(--text-primary); }
.sb-node-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.sb-connector {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.sb-connector::before,
.sb-connector::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }

.itinerary-step-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  overflow: hidden;
}
.itinerary-step-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-muted);
  background-size: cover;
  background-position: center;
}
.itinerary-step-thumb img { width: 100%; height: 100%; object-fit: cover; }
.step-num-pill,
.step-time-pill {
  position: absolute;
  top: 10px;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.step-num-pill { left: 10px; }
.step-time-pill { right: 10px; font-weight: 500; }

.itinerary-step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
}
.itinerary-step-body .btn-step-jump { margin-top: auto; width: 100%; }
.step-meta-row { display: flex; align-items: center; gap: 8px; }
.storyboard-big-num { font-size: 20px; font-weight: 700; color: var(--brand); line-height: 1; }
.step-station-tag { font-size: 12px; color: var(--text-muted); }

.trendy-pill-dark {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* 13. Lookbook / K-culture / weather --------------------------------------- */
.lookbook-grid-4,
.kculture-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lookbook-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lookbook-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-muted);
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.lookbook-media img { width: 100%; height: 100%; object-fit: cover; }
.lookbook-index,
.lookbook-area-badge {
  position: absolute;
  top: 10px;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.lookbook-area-badge { left: 10px; }
.lookbook-index { right: 10px; }

.lookbook-content { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lookbook-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.lookbook-tag-mint { font-size: 12px; font-weight: 700; color: var(--brand); }
.lookbook-tag-hash { font-size: 12px; color: var(--text-muted); }
.lookbook-title { font-size: 15px; line-height: 1.5; }
.lookbook-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; }
.lookbook-content .btn-lookbook-order { margin-top: auto; }

.kculture-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.kculture-top-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kculture-badge-neon {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}
.kculture-price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.kculture-title { font-size: 15px; }
.kculture-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; }
.kculture-chip-list { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--text-muted); }
.kculture-chip-list > * { font-size: 12px; font-weight: 400; margin: 0; }
.kculture-card .btn-kculture-action { margin-top: auto; }

.weather-bento-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  font-size: 13px;
  color: var(--text-secondary);
}
.weather-bento-card.dark-care { background: var(--brand-soft); }
.weather-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.weather-city-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.weather-diff-tag { font-size: 12px; color: var(--text-muted); }
.weather-diff-tag.warm { color: var(--brand); }
.weather-temp-display { font-size: 28px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.temp-dash { color: var(--text-muted); margin: 0 4px; font-weight: 400; }
.temp-spectrum-bar {
  position: relative;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  overflow: hidden;
}
.temp-spectrum-bar > * { position: absolute; top: 0; bottom: 0; border-radius: var(--radius-pill); }
.weather-desc,
.weather-dark-desc { line-height: 1.7; }
.weather-dark-title { font-size: 15px; color: var(--text-primary); }
.ootd-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ootd-pill,
.ootd-pill-dark {
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  font-size: 12px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
}

.concierge-pass-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-xs);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.dark-concierge-pass {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-inverse);
  color: var(--text-inverse);
}
.concierge-script-glass {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: #292524;
}
.dark-concierge-pass .btn-concierge-glass { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.dark-concierge-pass .btn-concierge-mint { background: #fff; color: var(--text-primary); border-color: #fff; }

/* コンビニレシピ */
.conv-recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.conv-recipe-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.conv-recipe-head { display: flex; gap: 12px; align-items: center; }
.conv-recipe-title { font-size: 14px; line-height: 1.45; }
.conv-recipe-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; }
.conv-tag-brand { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-right: 6px; }
.conv-tag-price { font-size: 12px; font-weight: 700; }
.conv-tag-warn { font-size: 12px; color: var(--status-warn-text); }

/* 14. Editorial banner (タブ見出し) ----------------------------------------- */
.editorial-banner-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.editorial-banner-text { display: flex; flex-direction: column; gap: 8px; }
.editorial-banner-text .section-title { font-size: clamp(28px, 3vw, 40px); font-weight: 900; line-height: 1.25; letter-spacing: -0.02em; margin: 4px 0 8px; }
.editorial-banner-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-muted);
  background-size: cover;
  background-position: center;
}
.editorial-banner-media img { width: 100%; height: 100%; object-fit: cover; }

/* 15. Rankings ------------------------------------------------------------- */
.section-card.rank-item-card {
  padding: 0;
  margin-bottom: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ranking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
}
.ranking-card-header:hover { background: var(--bg-subtle); }
.rank-summary { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.rank-summary-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rank-summary-title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.rank-summary-verdict { margin-left: 6px; vertical-align: 2px; }
.rank-compare { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--text-muted); }
.rank-compare strong { color: var(--text-primary); font-size: 14px; }
.rank-summary-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rank-summary-tags .rank-summary-verdict { margin-left: 0; white-space: normal; height: auto; min-height: 22px; padding: 2px 8px; line-height: 1.35; }
.rank-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rank-header-actions .btn-util-sm { height: 40px; min-height: 40px; }
.ranking-expand-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s; color: var(--text-muted); }
.rank-item-card:not(.collapsed) .ranking-expand-icon { transform: rotate(180deg); }
.rank-item-card.collapsed .ranking-card-body { display: none; }
.ranking-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 20px 20px;
}

/* 16. Clinics / hotels / routes (tier box) --------------------------------- */
.tier-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  min-width: 0;
}
.tier-box.recommended { box-shadow: inset 0 0 0 2px var(--brand); }
.clinic-treatment-card .tier-box { background: var(--bg-subtle); border-color: transparent; }
.tier-box .btn-primary,
.tier-box .btn-outline {
  width: 100%;
  margin-top: auto;
  height: auto;
  min-height: 44px;
  padding: 10px 14px;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}
.clinic-treatment-card .tier-box .btn-primary { border-radius: var(--radius-pill); }
.clinic-treatment-card .tier-box .btn-primary:hover { background: var(--brand-hover); }
.tier-box-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.tier-box .tier-box-actions .btn-primary,
.tier-box .tier-box-actions .btn-outline {
  width: auto;
  flex: 1;
  min-height: 40px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: var(--radius-pill);
}

.route-item-card { position: relative; }
.route-time-tag {
  height: auto;
  min-height: 24px;
  padding: 3px 10px;
  white-space: normal;
  line-height: 1.5;
}

/* ホテルカード */
.hotel-item-card {
  position: relative;
  padding: 0;
  overflow: visible;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.hotel-item-card .btn-primary { width: auto; flex: 1; }
.hotel-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-muted); border-radius: 16px; }
.hotel-media img { width: 100%; height: 100%; object-fit: cover; }
.hotel-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 2px 0; }
.hotel-name { font-family: var(--font-display); font-size: 18px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.4; color: var(--text-primary); }
.hotel-access { display: flex; align-items: flex-start; gap: 5px; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.hotel-access .ico { margin-top: 3px; }
.hotel-summary {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hotel-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.hotel-price-label { font-size: 12px; color: var(--text-muted); }
.hotel-price strong { font-size: 18px; color: var(--text-primary); }
.hotel-price small { font-size: 12px; color: var(--text-muted); }
.hotel-checkin { font-size: 12px; color: var(--text-muted); }
.hotel-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.hotel-actions > .btn-util-sm:not(.official-link) { flex: 1 1 auto; min-height: 40px; padding: 6px 10px; font-size: 12px; white-space: nowrap; border-radius: var(--radius-pill); }
.hotel-actions > .official-link,
.hotel-actions > .btn-primary { flex: 1 1 100%; width: 100%; min-height: 44px; border-radius: var(--radius-pill); }
.hotel-actions .btn-primary:hover { background: var(--brand); border-color: var(--brand); }
.pr-mark { padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); font-size: 12px; font-weight: 700; }

/* 17. Boarding pass (航空券) ----------------------------------------------- */
.airport-pane { display: flex; flex-direction: column; gap: 12px; }
.boarding-pass-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.boarding-pass-card.featured { box-shadow: inset 0 0 0 2px var(--text-primary); border-color: transparent; }
.boarding-pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px dashed var(--border-strong);
}
.boarding-iata { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.boarding-sub { display: block; font-size: 12px; color: var(--text-muted); }
.boarding-metric-pill {
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
.boarding-metric-pill.mint { background: var(--status-ok-bg); color: var(--status-ok-text); }
.boarding-pass-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.boarding-pass-title { font-size: 15px; font-weight: 700; }
.boarding-pass-desc { color: var(--text-secondary); line-height: 1.7; }

/* 18. Korean flashcards ---------------------------------------------------- */
.korean-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.korean-layout > aside.section-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.deck-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-bottom: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary);
}
.deck-nav-btn:hover { background: var(--bg-subtle); }
.deck-nav-btn.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }

.muji-flashcard {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  text-align: center;
  cursor: pointer;
}
.flashcard-ko-big { font-size: 34px; font-weight: 700; line-height: 1.4; margin: 12px 0 4px; }
.flashcard-kana-big { font-size: 16px; color: var(--text-secondary); margin-bottom: 12px; }
.flashcard-ja-meaning { font-size: 15px; color: var(--text-primary); }

/* 19. Tools ---------------------------------------------------------------- */
.tools-jump-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.tools-jump-bar::-webkit-scrollbar { display: none; }

.tools-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  min-width: 0;
  scroll-margin-top: 140px;
}
.tool-header { display: flex; gap: 12px; align-items: flex-start; }
.tool-num-circle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--text-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tool-result-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  font-size: 13px;
  line-height: 1.7;
}

/* 20. Tables --------------------------------------------------------------- */
.about-h3 { margin: 18px 0 0; font-size: 18px; font-weight: 800; line-height: 1.5; color: var(--text-primary); }
.aeo-table,
.aeo-kv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.aeo-table th,
.aeo-table td,
.aeo-kv-table th,
.aeo-kv-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.65;
}
.aeo-table thead th {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-subtle);
}
.aeo-table tr:last-child td,
.aeo-kv-table tr:last-child th,
.aeo-kv-table tr:last-child td { border-bottom: 0; }
.aeo-kv-table th { width: 32%; font-weight: 500; color: var(--text-muted); }
.col-price { font-weight: 700; white-space: nowrap; }

/* 21. Spot detail page & visitor tips -------------------------------------- */
.spot-detail-page { max-width: 760px; }
.spot-detail-page > .section-card { margin-bottom: 32px; }
.spot-detail-page .section-title { font-size: 26px; }
.spot-detail-page .aeo-kv-table { border: 1px solid var(--border); }

.detail-hero { margin-bottom: 20px; }
.detail-area { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.detail-title { font-size: 32px; line-height: 1.35; }
.detail-hook { margin-top: 6px; font-size: 16px; color: var(--text-secondary); }
.detail-full-name { margin-top: 4px; font-size: 12.5px; color: var(--text-muted); }

.spot-detail-page .spot-card {
  margin-bottom: 48px;
  padding: 0;
  border-radius: var(--radius-lg);
}
.spot-detail-page .spot-thumb-wrap { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.spot-detail-page .spot-card .spot-body { padding: 20px 24px 24px; }
.spot-detail-page .spot-title { font-size: 22px; }
.spot-detail-page .spot-friendly-desc { -webkit-line-clamp: unset; display: block; }
.spot-detail-page .spot-card .spot-title,
.spot-detail-page .spot-card .spot-meta-top,
.spot-detail-page .spot-card .spot-card-footer { display: none; }

/* コミュニティ ひとこと投稿・一覧 */
.tips-section {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.tips-note { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.tips-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tip-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.tip-body-text { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.tip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.tip-report summary { cursor: pointer; list-style: none; font-size: 12px; }
.tip-report summary::-webkit-details-marker { display: none; }
.tip-report[open] { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tip-report button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 12px;
  color: var(--text-secondary);
}
.tips-empty {
  margin-bottom: 20px;
  padding: 18px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.tip-form { display: flex; flex-direction: column; gap: 10px; }
.tip-form textarea.form-input { height: auto; padding: 12px 14px; line-height: 1.7; resize: vertical; min-height: 92px; }
.tip-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.tip-form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tip-guide { font-size: 12px; color: var(--text-muted); }
.tip-counter { margin-left: 6px; }
.tip-form .btn-primary { background: var(--brand); border-color: var(--brand); border-radius: var(--radius-pill); padding: 0 24px; }
.tip-form .btn-primary:hover { background: var(--brand-hover); }
.tip-status { min-height: 1.5em; font-size: 13px; color: var(--text-secondary); }
.tip-status.is-error { color: var(--status-danger-text); }
.tip-status.is-ok { color: var(--status-ok-text); font-weight: 700; }
.tips-section.is-preview .tip-status { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--sun-soft); color: var(--text-primary); }

/* 22. Public data & guide pages (areas, places, months, how-to, pharmacy) -- */
.content-main { padding-top: 20px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 12.5px; color: var(--text-muted); }
.crumbs a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0 6px;
}
.crumbs a:hover { color: var(--brand); }

.content-hero-text { margin-bottom: 24px; }
.content-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.25; letter-spacing: -0.02em; }
.content-sub { margin-top: 6px; font-size: 15px; color: var(--text-muted); }
.content-lead { margin-top: 12px; max-width: 720px; font-size: 16px; line-height: 1.8; color: var(--text-secondary); }
.content-section { margin-top: 48px; }
.content-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.content-h2 { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.content-h2 small { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.content-more {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.content-more:hover { color: var(--brand); }
.content-empty { color: var(--text-muted); font-size: 14px; }

/* 場所カード & 場所ページ */
.place-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.place-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--text-primary); }
.place-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bg-muted); margin-bottom: 8px; }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.place-card:hover .place-thumb img { transform: scale(1.03); }
.place-card:hover .place-name { color: var(--brand); }
.place-kicker { font-size: 12px; font-weight: 700; color: var(--brand); }
.place-name { font-size: 16px; font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; }
.place-desc { font-size: 13px; line-height: 1.6; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place-card:not(:has(.place-thumb)) { padding: 18px; border-radius: 16px; background: var(--bg-subtle); }

.place-article { max-width: 880px; }
.place-figure { margin: 0 0 16px; }
.place-figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: 16px; background: var(--bg-subtle); }
.place-figure figcaption { margin-top: 6px; font-size: 12px; color: var(--text-muted); }
.place-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.place-section { margin-top: 32px; }
.place-section p { font-size: 16px; line-height: 1.9; margin-bottom: 10px; }
.place-h2 { font-size: 19px; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.01em; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table th,
.info-table td { padding: 12px 0; border-top: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.7; }
.info-table th { width: 140px; font-weight: 700; color: var(--text-secondary); padding-right: 12px; }
.place-article .source-note { display: block; margin-top: 20px; }

.place-phrases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.place-phrase-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}
.place-phrase-head { display: flex; flex-direction: column; gap: 2px; }
.place-phrase-head strong { font-size: 14.5px; color: var(--text-primary); }
.place-phrase-ko { font-size: 16px; font-weight: 900; color: var(--brand); }
.place-phrase-kana { font-size: 12px; color: var(--text-secondary); }
.place-phrase-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* エリアページ */
.area-hero { position: relative; display: flex; align-items: flex-end; min-height: 360px; padding: 32px; border-radius: 20px; background-color: var(--bg-inverse); background-size: cover; background-position: center; color: #fff; }
.area-hero-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); margin-bottom: 6px; }
.area-hero-title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.area-intro { margin-top: 20px; }
.area-lead { max-width: 760px; font-size: 16.5px; line-height: 1.85; }
.area-station { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--text-secondary); }
.area-station .ico { width: 15px; height: 15px; }
.area-jump,
.area-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.area-jump .chip-btn.active { background: var(--bg-inverse); color: #fff; font-weight: 700; }
.area-spot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; margin-bottom: 0; }
.fest-list { list-style: none; margin: 0; padding: 0; }
.fest-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--border); }
.fest-list li:first-child { border-top: 0; }
.fest-list strong { font-size: 15px; }
.fest-list .num { font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.fest-list small { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-muted); }

.area-survival-box {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e2d9ce;
  background: #faf7f2;
}
.area-survival-head { margin-bottom: 12px; }
.area-survival-title { margin: 0; font-size: 1rem; font-weight: 800; color: #1c1917; }
.area-survival-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.area-survival-item { background: #ffffff; border: 1px solid #ede6dd; border-radius: 12px; padding: 12px 14px; }
.area-survival-label { font-size: 0.8rem; font-weight: 800; color: #b45309; margin-bottom: 4px; }
.area-survival-val { font-size: 0.84rem; line-height: 1.55; color: #292524; }

.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.area-card { display: flex; flex-direction: column; gap: 2px; color: var(--text-primary); }
.area-card-img { display: block; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--bg-muted); margin-bottom: 8px; }
.area-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.area-card:hover img { transform: scale(1.03); }
.area-card strong { font-size: 17px; font-weight: 900; }
.area-card:hover strong { color: var(--brand); }
.area-card span:last-child { font-size: 13px; color: var(--text-muted); }
.area-card-lead {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #57534e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 月別 */
.month-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.month-nav::-webkit-scrollbar { display: none; }
.month-nav .chip-btn { flex-shrink: 0; }
.month-nav .chip-btn.active { background: var(--text-primary); color: #fff; font-weight: 700; }
.climate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.climate-card { display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: 16px; background: var(--bg-subtle); }
.climate-card span { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.climate-card strong { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.climate-card small { font-size: 12.5px; color: var(--text-muted); }
.climate-card.is-ref { background: transparent; border: 1px dashed var(--border-strong); }
.climate-diff { margin-top: 14px; font-size: 15px; }
.month-tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.month-tips p { font-size: 15.5px; line-height: 1.85; }
.month-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.month-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: var(--bg-subtle); color: var(--text-primary); transition: background 0.15s; }
.month-card:hover { background: var(--bg-muted); }
.month-card strong { font-size: 26px; font-weight: 900; }
.month-card .num { font-size: 13px; font-weight: 700; }
.month-card small { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }

/* 基本ガイド */
.howto-article { max-width: 760px; }
.howto-toc { padding: 18px 20px; border-radius: 16px; background: var(--bg-subtle); font-size: 14.5px; }
.howto-toc ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.howto-toc a:hover { color: var(--brand); }
.howto-links { margin: 0; padding-left: 18px; font-size: 15px; line-height: 2; }
.howto-links a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.howto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.howto-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; background: var(--bg-subtle); color: var(--text-primary); transition: background 0.15s; }
.howto-card:hover { background: var(--bg-muted); }
.howto-card strong { font-size: 17px; font-weight: 900; line-height: 1.45; }
.howto-card span { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }
.howto-card .howto-no { font-size: 13px; font-weight: 900; color: var(--brand); }

/* 薬ガイド */
.notice-box { padding: 16px 20px; border-radius: 16px; background: var(--status-warn-bg); color: var(--text-primary); font-size: 14px; line-height: 1.75; }
.notice-box strong { display: block; margin-bottom: 4px; color: var(--status-warn-text); }
.pharm-phrase { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 16px; padding: 18px 20px; border-radius: 16px; background: var(--bg-inverse); color: #fff; }
.pharm-phrase span { font-size: 12.5px; font-weight: 700; color: #FF8FAB; width: 100%; }
.pharm-phrase strong { font-size: 26px; font-weight: 900; }
.pharm-phrase small { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.drug-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.drug-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 16px; background: var(--bg-subtle); }
.drug-img { width: 120px; height: 90px; object-fit: contain; border-radius: 10px; background: #fff; }
.drug-img-empty { display: grid; place-items: center; font-size: 12px; color: var(--text-muted); }
.drug-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.drug-name { font-size: 17px; font-weight: 900; }
.drug-ko { font-size: 13px; color: var(--text-muted); }
.drug-purpose { font-size: 14px; line-height: 1.65; margin-bottom: 6px; }
.drug-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.drug-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.drug-badge.is-conv { background: var(--status-ok-bg); color: var(--status-ok-text); border: 1px solid var(--status-ok-border); }
.drug-badge.is-pharm { background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border-strong); }
.drug-badge.is-price { background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-border); }
.drug-meta-box {
  width: 100%;
  margin: 4px 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.65;
}
.drug-meta-box > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; }
.drug-meta-box dt { font-weight: 700; color: var(--text-secondary); }
.drug-meta-box dd { margin: 0; color: var(--text-primary); }
.drug-official { width: 100%; margin-top: 8px; font-size: 13px; }
.drug-official summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; gap: 6px; list-style: none; }
.drug-official summary::-webkit-details-marker { display: none; }
.drug-official summary::before { content: "＋"; color: var(--brand); }
.drug-official[open] summary::before { content: "－"; }
.drug-official dl { margin: 6px 0 0; }
.drug-official dt { font-weight: 700; color: var(--text-secondary); margin-top: 8px; }
.drug-official dd { margin: 2px 0 0; line-height: 1.7; }

/* 23. Modal (店員提示カード) ----------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.open { display: flex; }

.show-staff-card {
  width: min(560px, 100%);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: modalPop 0.2s var(--ease-out);
}
.show-staff-ko-huge { font-size: 36px; font-weight: 700; line-height: 1.4; margin: 12px 0; word-break: keep-all; }
@keyframes modalPop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* 24. Footer --------------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  background: var(--bg-inverse);
  color: rgba(255, 255, 255, 0.72);
}
.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) 56px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer strong,
.site-footer b { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }

/* 25. Responsive (Consolidated) -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .tab-panel.active,
  .react-btn.pop { animation: none; }
}

@media (min-width: 1200px) {
  #tab-spots .spot-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
}

@media (min-width: 721px) {
  .filter-section .filter-segmented,
  .filter-row .filter-segmented { flex-wrap: wrap; overflow: visible; }
}

@media (max-width: 1480px) {
  .header-fx-inline { display: none; }
}

@media (max-width: 1100px) {
  .header-fx-inline { display: none; }
  .spot-card-grid,
  .lookbook-grid-4,
  .kculture-grid-4,
  .now-list,
  .crowd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-launcher-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .place-grid,
  .area-grid,
  .area-spot-grid,
  .month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-bento-grid,
  .visual-map-chart-grid,
  .kvibe-pane-grid,
  .editorial-banner-card,
  .korean-layout,
  .tools-bento-grid,
  .tier-grid-3,
  .tier-grid-2,
  .form-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hero-bento-side { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-chart-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .editorial-banner-card { gap: 20px; }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --header-h: 56px;
    --bottom-nav-h: 64px;
  }

  body { font-size: 15px; }

  .pr-top-bar { font-size: 12px; padding: 5px var(--gutter); }
  .issue-ticker-pill { display: none; }

  .header-top { gap: 8px 10px; flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .lang-btn[data-lang-mode="bi"],
  .btn-saved-list > .i18n,
  .brand-sub { display: none; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; border-radius: 9px; }
  .brand-title { font-size: 17px; }
  .header-controls { margin-left: auto; gap: 6px; }
  .lang-btn { height: 36px; min-height: 40px; padding: 0 12px; font-size: 12px; }
  .btn-saved-list { height: 40px; min-width: 40px; padding: 0 8px 0 10px; justify-content: center; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; height: 46px; }

  /* 下部タブバー (header の backdrop-filter は fixed 子要素の基準になるので外す) */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header-nav-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .header-nav-inner { padding: 0 4px; }
  .header-fx-inline { display: none; }
  .primary-tabs { width: 100%; gap: 0; overflow: visible; }
  .nav-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    height: var(--bottom-nav-h);
    padding: 0 2px;
    border-radius: 0;
    font-size: 12px;
    color: var(--text-muted);
  }
  .nav-tab-btn:hover { background: transparent; }
  .nav-tab-btn.active { background: transparent; color: var(--brand); }
  .nav-tab-btn.active .nav-ico { color: var(--brand); }
  .nav-ico { width: 22px; height: 22px; }
  .nav-label-long,
  .nav-tab-count { display: none; }
  .nav-label-short { display: block; line-height: 1.2; }

  .main-container { padding-top: 20px; }

  .hero-bento-grid { gap: 8px; margin-bottom: 20px; }
  .hero-bento-main { min-height: 0; border-radius: var(--radius-md); }
  .hero-bento-overlay { padding: 96px 18px 18px; }
  .hero-bento-title { font-size: 22px; }
  .hero-bento-sub,
  .hero-sub-cta,
  .spot-viral-pill,
  .photo-credit { display: none; }
  .hero-tag-btn { height: auto; min-height: 40px; padding: 0 14px; font-size: 12px; }
  .hero-bento-side { gap: 8px; }
  .hero-bento-subcard { min-height: 150px; border-radius: var(--radius-md); }
  .hero-bento-suboverlay { padding: 40px 12px 12px; }
  .hero-sub-kicker { font-size: 12px; }
  .hero-sub-title {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .category-launcher-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 0 24px;
    padding: 0 0 4px;
    scroll-snap-type: x mandatory;
  }
  .category-launcher-grid::-webkit-scrollbar { display: none; }
  .cat-launcher-item { flex: 0 0 84px; scroll-snap-align: start; }
  .cat-photo-ring { border-radius: 50%; }
  .cat-count-badge { top: 0; right: 0; }
  .cat-launcher-title { font-size: 12px; }
  .cat-launcher-sub { display: none; }

  /* ホームの各セクション */
  .now-card { margin-top: 28px; }
  .now-title { font-size: 19px; }
  .now-more { display: inline-flex; align-items: center; min-height: 40px; }
  .now-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0 0 4px; }
  .now-list::-webkit-scrollbar { display: none; }
  .now-row { flex: 0 0 72%; scroll-snap-align: start; min-height: 0; padding: 16px; }

  .home-explore { margin-top: 40px; }
  .home-area-row { display: flex; margin: 0; padding: 0 0 4px; scroll-snap-type: x mandatory; }
  .home-area-card { flex: 0 0 104px; scroll-snap-align: start; }
  .home-guide-links,
  .crowd-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }

  .event-row,
  .update-row { grid-template-columns: 76px minmax(0, 1fr); }
  .events-card,
  .updates-card { padding: 14px 16px; }
  .event-source { padding: 6px 0; }

  /* スポット一覧・カード */
  .spot-card-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  #tab-spots .spot-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .spot-tile .spot-thumb-wrap { border-radius: 12px; }
  .spot-tile .spot-thumb-wrap .photo-credit { display: none; }
  .spot-tile .tile-area {
    left: 8px;
    top: 8px;
    height: auto;
    min-height: 22px;
    padding: 2px 8px;
    max-width: calc(100% - 54px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 18px;
  }
  /* スマホのカードでは短いエリア名（例: 海雲台）だけを出して、2行に折り返さない */
  .spot-tile .tile-area-full { display: none; }
  .spot-tile .tile-area-short { display: inline; }
  .spot-tile .tile-save { top: 4px; right: 4px; }
  .spot-tile .spot-body { padding-top: 10px; }
  .spot-tile .spot-title { font-size: 15px; }
  .spot-tile .tile-hook { font-size: 13px; -webkit-line-clamp: 2; }
  .spot-tile .tile-station { font-size: 12px; }
  .spot-tile .tile-price strong { font-size: 16px; }
  .spot-tile .tile-golden-time,
  .spot-tile .tile-flags li:nth-child(n + 2) { display: none; }
  .spot-tile .react-row { gap: 4px; }
  .spot-tile .react-btn { flex: 1; justify-content: center; height: 40px; padding: 0 4px; gap: 3px; font-size: 12px; }
  .spot-tile .react-ico { width: 14px; height: 14px; }

  .lookbook-grid-4,
  .kculture-grid-4,
  .conv-recipe-grid,
  .district-photo-grid,
  .kvibe-metrics-box { grid-template-columns: minmax(0, 1fr); }
  .lookbook-media { aspect-ratio: 16 / 10; }
  .korea-fact-infographic { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .section-card.trendy-module-card,
  .section-card.api-surface-card,
  details.section-card,
  .section-card.clinic-treatment-card,
  .kvibe-matcher-card,
  .tool-card,
  .tips-section { padding: 20px; border-radius: var(--radius-md); }
  .section-card.rank-item-card { padding: 0; }
  .section-title,
  .kvibe-title { font-size: 19px; }
  .editorial-banner-text .section-title { font-size: 22px; }
  .editorial-banner-media { aspect-ratio: 21 / 9; border-radius: var(--radius-md); }
  #tab-korean .editorial-banner-media,
  #tab-tools .editorial-banner-media { display: none; }

  .rank-header-actions .save-label { display: none; }
  .ranking-card-header { padding: 14px 16px; align-items: flex-start; }

  .filter-toolbar { margin-bottom: 20px; padding-bottom: 14px; }
  .filter-rows-stack { gap: 8px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-row-split { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
  .filter-row-right { gap: 6px; }
  .filter-dim-badge { display: none; }

  .chip-btn,
  .btn-util-sm { height: auto; min-height: 40px; padding: 0 14px; }
  .check-pill { height: auto; min-height: 40px; padding: 0 12px; font-size: 12px; }
  .kvibe-tab-btn,
  .react-btn { height: 40px; }
  .form-input { height: 46px; }
  .tool-card .form-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .tool-card .form-select { font-size: 14px; text-overflow: ellipsis; }
  input[type="checkbox"] { width: 20px; height: 20px; }

  .spec-tag,
  .spot-verified-stamp,
  .unified-spec-chip,
  .boarding-metric-pill,
  .concierge-pass-badge,
  .ootd-pill,
  .ootd-pill-dark {
    white-space: normal;
    height: auto;
    min-height: 24px;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 1.35;
    max-width: 100%;
  }

  .phrase-row-card { flex-direction: column; align-items: stretch; }
  .phrase-actions { flex-direction: row; }

  .aeo-kv-table th,
  .aeo-kv-table td { display: block; width: 100%; }
  .aeo-kv-table th { padding-bottom: 0; border-bottom: 0; font-size: 12px; }
  .aeo-kv-table td { padding-top: 2px; }
  .aeo-table { display: block; overflow-x: auto; white-space: nowrap; min-width: 660px; }
  .aeo-table .spec-tag { white-space: nowrap; }

  .detail-title { font-size: 26px; }
  .spot-detail-page .section-title { font-size: 21px; }
  .spot-detail-page .spot-card .spot-body { padding: 16px 18px 20px; }
  .tip-form-row { grid-template-columns: minmax(0, 1fr); }
  .tip-form .btn-primary { width: 100%; }

  .flashcard-ko-big { font-size: 26px; }
  .show-staff-ko-huge { font-size: 28px; }

  /* 公共データ追加ページ (エリア・場所・月別・基本ガイド・薬) */
  .content-title { font-size: 28px; }
  .content-section { margin-top: 36px; }
  .content-h2 { font-size: 19px; }
  .place-grid,
  .area-grid,
  .area-spot-grid,
  .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .place-name { font-size: 14.5px; }
  .area-hero { min-height: 240px; padding: 22px; border-radius: 16px; }
  .climate-grid { gap: 8px; }
  .climate-card { padding: 14px 12px; }
  .climate-card strong { font-size: 26px; }
  .month-tips,
  .howto-grid,
  .drug-grid,
  .place-phrases-grid,
  .area-survival-grid { grid-template-columns: minmax(0, 1fr); }
  .drug-meta-box > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .drug-card { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .drug-img { width: 100%; height: 120px; }
  .info-table th { width: 96px; }
  .fest-list li { grid-template-columns: minmax(0, 1fr); }

  .btn-back-to-top {
    right: 14px;
    bottom: calc(var(--bottom-nav-h) + 14px);
  }
}

/* ---------- グルメ: メニュー読み方 & /food/ 一覧 ---------- */
.menu-guide-lead { font-size: 14.5px; color: var(--text-secondary); margin-bottom: 14px; }
.menu-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.menu-dish-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
}
.menu-dish-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.menu-dish-ko { font-size: 20px; font-weight: 900; color: var(--brand); line-height: 1.3; }
.menu-dish-kana { font-size: 12px; color: var(--text-muted); }
.menu-dish-ja { font-size: 14px; font-weight: 800; line-height: 1.45; margin: 0; }
.menu-dish-desc { font-size: 13px !important; line-height: 1.65 !important; color: var(--text-secondary); margin: 0 !important; }
.menu-dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.menu-dish-spice { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.menu-dish-spice small { font-size: 12px; color: var(--text-muted); }
.menu-spice-0 { color: var(--text-secondary); }
.menu-spice-0 small { color: var(--text-secondary); }
.menu-spice-1 small { color: #b45309; }
.menu-spice-2 small { color: #c2410c; }
.menu-spice-3 small { color: #b91c1c; font-weight: 700; }
.menu-dish-links { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 2px; }
.menu-dish-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.menu-dish-links a:hover { opacity: .75; }

/* /food/menu/ メニュー辞典 */
.food-hub-dict-link { margin: 10px 0 0; font-size: 13.5px; font-weight: 800; }
.food-hub-dict-link a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.food-hub-dict-link a + a { margin-left: 14px; }
.food-dish-active { font-size: 13px; font-weight: 800; color: var(--text-primary); }
.menu-dict-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.menu-dict-nav .chip-btn { height: 40px; padding: 0 14px; font-size: 12.5px; text-decoration: none; }
.menu-dict-nav .chip-btn small { margin-left: 4px; font-size: 12px; opacity: .65; }
.menu-dict-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.menu-dict-card { scroll-margin-top: 96px; }
.menu-dict-alias { margin: 0 !important; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.menu-dict-link { display: flex; align-items: center; min-height: 40px; margin-top: 2px; font-size: 12.5px; font-weight: 800; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.menu-dict-link:hover { opacity: .75; }
.menu-dict-price { display: flex; align-items: center; min-height: 40px; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.menu-dict-price:hover { color: var(--brand); }

/* /food/prices/ メニュー相場 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.price-note { margin: 0 0 12px !important; font-size: 12.5px !important; line-height: 1.7 !important; color: var(--text-secondary); }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
.price-table th, .price-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: right; vertical-align: middle; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table thead th { font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--bg-subtle); }
.price-table thead th:first-child, .price-table tbody th { text-align: left; }
.price-table tbody th { font-weight: 700; }
.price-dish-ko { display: block; font-size: 14px; font-weight: 900; color: var(--text-primary); }
.price-dish-ko a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.price-dish-ja { display: block; font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.price-main strong { font-size: 15px; font-weight: 900; }
.price-table td small { display: block; font-size: 12px; color: var(--text-muted); }
.price-table tbody tr { scroll-margin-top: 100px; }

.menu-korean-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.menu-korean-label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.menu-korean-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.menu-korean-chip:hover { border-color: var(--brand); color: var(--brand); }
.menu-korean-chip small { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.menu-korean-chip .ico { width: 12px; height: 12px; }

.menu-order-flow { margin-top: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); padding: 0 16px; }
.menu-order-flow summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-size: 14px; font-weight: 800; }
.menu-order-flow ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.menu-order-flow li { font-size: 13.5px; line-height: 1.7; color: var(--text-secondary); }
.menu-price-note { margin-top: 12px !important; font-size: 12.5px !important; color: var(--text-muted); }
.menu-price-note a { color: var(--brand); text-decoration: underline; }

.food-hub-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 20px; font-size: 13px; color: var(--text-secondary); }
.food-hub-stats strong { font-size: 22px; font-weight: 900; color: var(--text-primary); margin-right: 3px; }
.food-filter {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-subtle);
  display: grid;
  gap: 12px;
}
.food-filter-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; }
.food-filter-row[hidden] { display: none; }
.food-filter-label { padding-top: 9px; font-size: 12px; font-weight: 800; color: var(--text-muted); }
.food-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: 100%; }
.food-filter-chips .chip-btn { height: auto; min-height: 40px; padding: 6px 12px; font-size: 12.5px; white-space: normal; max-width: 100%; }
.food-filter-chips .chip-btn small { margin-left: 4px; font-size: 12px; opacity: .65; }
.food-filter-chips .chip-btn.active small { opacity: .85; }
#food-hub-search { width: 240px; max-width: 100%; height: 40px; font-size: 13px; }
.food-hub-count { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--brand); white-space: nowrap; }

.food-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.food-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-surface);
  color: var(--text-primary);
  min-width: 0;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.food-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.food-card-img { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--bg-muted); }
.food-card-img img { width: 100%; height: 100%; object-fit: cover; }
.food-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.food-card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.food-tag { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--bg-muted); font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.food-tag-cat { background: var(--brand-soft); color: var(--brand); }
.food-tag-late { background: #1e293b; color: #fff; }
.food-card-name { font-size: 15px; font-weight: 900; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.food-card-line { font-size: 12px; line-height: 1.5; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.food-card-meta { color: var(--text-muted); }

.food-hub-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.food-hub-note { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-subtle); }
.food-hub-note strong { display: block; font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.food-hub-note p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.food-hub-note a { color: var(--brand); text-decoration: underline; }

@media (max-width: 1100px) {
  .menu-guide-grid,
  .menu-dict-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .food-hub-notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .menu-guide-grid,
  .menu-dict-grid,
  .food-hub-grid { grid-template-columns: minmax(0, 1fr); }
  .food-filter-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .food-filter-label { padding-top: 0; }
  #food-hub-search { width: 100%; }
  .food-hub-count { margin-left: 0; }
}
@media (max-width: 480px) {
  .food-card { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .food-card-name { font-size: 14px; }
}


.tile-area-short { display: none; }

/* 「ひとこと」: 書く欄は「ひとことを書く」を押したときだけ開く（空のページで大きなフォームが並ばないように） */
.tip-compose { margin-top: 8px; }
.tip-compose > summary { list-style: none; cursor: pointer; display: inline-flex; width: auto; }
.tip-compose > summary::-webkit-details-marker { display: none; }
.tip-compose[open] > summary { margin-bottom: 12px; }

/* 41. 地図ブロック（スポット・場所の詳細） ------------------------------------------- */
.map-block { margin-top: 32px; }
.map-block-title { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 12px; }
.map-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--bg-subtle); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-load-btn { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; background: var(--bg-subtle); color: var(--text-primary); cursor: pointer; transition: background 0.15s; }
.map-load-btn:hover { background: var(--bg-muted); }
.map-load-btn .ico { width: 28px; height: 28px; color: var(--brand); }
.map-load-main { font-size: 16px; font-weight: 700; }
.map-load-btn small { font-size: 12px; color: var(--text-muted); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.map-links a { flex: 1 1 220px; justify-content: center; }
.map-note { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 720px) {
  .map-embed { aspect-ratio: 4 / 3; border-radius: 12px; }
}
.area-guide-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.area-guide-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* 42. 都市・エリア別 必食グルメ＆販売食堂・場所ガイド ------------------------------- */
.must-eat-section { margin-bottom: 28px; }
.must-eat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.must-eat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-surface);
  min-width: 0;
}
.must-eat-card-top { display: flex; flex-direction: column; gap: 6px; }
.must-eat-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.must-eat-price {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.must-eat-title { margin: 0; font-size: 16px; font-weight: 900; line-height: 1.45; color: var(--text-primary); }
.must-eat-kana { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.must-eat-desc { margin: 0; font-size: 13px; line-height: 1.65; color: var(--text-secondary); }
.must-eat-shops-box {
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.must-eat-shops-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
}
.must-eat-shops-label .btn-util-sm {
  min-height: 40px;
  padding: 0 12px;
  font-size: 12px;
}
.must-eat-shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.must-eat-shop-item { margin: 0; }
.must-eat-shop-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.15s;
}
.must-eat-shop-link:hover { border-color: var(--brand); }
.must-eat-shop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.must-eat-shop-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
}
.must-eat-shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
}
@media (max-width: 860px) {
  .must-eat-grid { grid-template-columns: minmax(0, 1fr); }
}

