/* =====================================================
   店舗ページ / 一覧ページ専用。karaoke.css の後に読む。

   色・書体・余白のトークンは karaoke.css の :root をそのまま使う。
   ここで再定義すると 2 箇所を直すことになり、必ず片方だけ直されて
   トップページと静的ページの色がずれる。

   これらのページは karaoke.js も bundle.json も読まない。
   検索エンジンと、リンクから直接来た人が読むための静的な文書。
   ===================================================== */

/* ヘッダのタイトルは、トップでは h1、ここではトップへ戻るリンク。
   見た目は揃えたいので下線と色だけ打ち消す */
a.hd__title { text-decoration: none; color: inherit; }
a.hd__title:hover { color: var(--neon-ink); }

/* ---------------------------------------------- パンくず */

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 4px;
  font-size: 12px;
  color: var(--dim);
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--neon-ink); text-decoration: underline; }
.crumb > *:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: var(--line);
}

/* ---------------------------------------------- 見出し */

h1 {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.01em;
}

h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  /* 節の始まりを示す短い発光バー。カードで囲うより軽い */
  padding-left: 11px;
  border-left: 3px solid var(--neon);
  box-shadow: -3px 0 14px -6px var(--neon);
  line-height: 1.5;
}

h3 {
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .04em;
}

main > section, main section { margin: 30px 0; }

.note { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--dim); }
.sub  { font-size: 11px; color: var(--dim); font-weight: 500; }

/* 結論を最初に置く一文。ページで一番読ませたい */
.hl {
  margin: 14px 0 0;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.75;
}
.hl b { color: var(--neon-ink); font-weight: 800; }

/* ---------------------------------------------- 表 */

/* 表だけを横スクロールさせる。ページ本体は絶対に横に溢れさせない */
.tw {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}

table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-soft); }
thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: .03em;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

/* 人数 × シナリオの早見表 */
.mx { min-width: 340px; }
.mx tbody th {
  width: 52px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.mx td { text-align: right; }
.pc b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  /* 金額は等幅で桁を揃える。比べる画面なので縦の位置が揃うほうが読める */
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.pc span {
  display: block;
  font-size: 10px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.pc--x span { color: var(--line); }
/* 1行おきの帯。人数が多い表で行を追いやすくする */
.mx tbody tr:nth-child(even) { background: rgba(255, 255, 255, .022); }

/* 公式の料金表。料金を2列目に置き、狭い画面でもスクロール前に読めるようにする */
.rt { min-width: 400px; }
.rt td { font-size: 12px; line-height: 1.6; vertical-align: top; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rt td.num { font-weight: 800; font-size: 14px; color: var(--fg); }
.rt td.num .sub { font-weight: 500; }
.rt tbody tr:nth-child(even) { background: rgba(255, 255, 255, .022); }

/* ---------------------------------------------- 定義リスト（アクセス） */

.dl {
  margin: 0;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px 12px;
  font-size: 13px;
}
.dl dt { color: var(--dim); font-size: 12px; }
.dl dd { margin: 0; line-height: 1.7; word-break: break-word; }
.dl a { color: var(--cyan); }

/* ---------------------------------------------- 店舗リンクのリスト */

.lk { list-style: none; margin: 0; padding: 0; }
.lk li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--tap);
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.lk a { color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; }
.lk a:hover { color: var(--neon-ink); text-decoration: underline; }
.lk b {
  font-size: 15px;
  font-weight: 800;
  color: var(--neon-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------- 検索へ戻す導線 */

.back { margin: 36px 0 0; }
.back a {
  display: block;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--neon);
  border-radius: var(--r-sm);
  box-shadow: var(--neon-glow);
  color: var(--fg);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
.back a:hover { background: var(--surface-2); }

/* ---------------------------------------------- 画面が広いとき */

@media (min-width: 560px) {
  h1 { font-size: 30px; }
  .tw { margin: 0; padding: 0; }
}
