/* ビールのセール情報 — クラフトビアパブのタップリスト（黒板メニュー）型。2026-07-22 全面刷新。
   骨格: 法定注意帯 → 中央寄せパブサイン（二重罫線 BEER DEALS）→ 中央ナビ →
   ON TAP TODAY ボード（割引率上位3タップ）→ 「銘柄で探す」→ タップリスト表。
   配色: スタウト黒 #12100d 地 / 泡クリーム #f5edd8 文字 / 琥珀 #e0a92e。ダーク既定。
   prefers-color-scheme: light は「昼のパブ」（クリーム地×焦茶×琥珀）に反転するが、
   ON TAP ボードだけは昼夜とも黒板のまま（パブの黒板は昼も黒い＝意匠）。
   Webフォント・CDN不使用。見出しは OS のコンデンス系スタック（Avenir Next Condensed 等）。 */
:root {
  /* beer は :root がダーク、@media(light) が上書きという逆構造。
     ここはダーク用の値。ライト側は下の light ブロックで上書きする。 */
  --chart-edge: #8a7a5a;
  --chart-value: #eebb4d;
  /* web-fleet #309: var() で参照されているのに定義が無かった変数。
     フォールバックがライト固定色のため、ダークモードで明暗が反転していた
     （menrui は --bg-2 未定義で暗背景に真っ白なバーが乗り、コントラスト13.62）。 */
  --accent: #a97812;
  --accent2: #eebb4d;
  --radius: 10px;
  /* --- Dark（既定）: 夜のパブ --- */
  --bg: #12100d;
  --bg-2: #17130d;
  --surface: #1a160f;
  --surface-2: #221c12;
  --text: #f5edd8;
  --text-soft: #e6dabc;
  --muted: #b5a67f;
  --amber: #e0a92e;
  --amber-2: #c8901e;
  --amber-ink: #eebb4d; /* 小さめの琥珀文字用（暗地でAAを保つ明るめ） */
  --line: rgba(224, 169, 46, 0.26); /* 琥珀のヘアライン罫線 */
  --line-soft: rgba(245, 237, 216, 0.12);
  --ok: #6cd08e;
  --warn: #e8935a;
  --btn-bg: #e0a92e;
  --btn-ink: #241a06;
  --board-bg: #15100a; /* 黒板（昼夜共通・lightで上書きしない） */
  --board-ink: #f5edd8;
  --board-muted: #cbbb92;
  --board-line: rgba(224, 169, 46, 0.45);
  --field-bg: #221c12;
  --glow: rgba(224, 169, 46, 0.08);
  --glow-line: rgba(224, 169, 46, 0.28);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.55);
  --maxw: 1080px;
  --font:
    system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", Meiryo, sans-serif;
  --font-cond:
    "Avenir Next Condensed", "Helvetica Neue Condensed", "Arial Narrow",
    "Yu Gothic", Arial, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --chart-edge: #9c844f;
    --chart-value: #7c5810;
    /* --- Light: 昼のパブ（クリーム地×焦茶×琥珀） --- */
    --bg: #f6efe0;
    --bg-2: #efe6d0;
    --surface: #fbf6ea;
    --surface-2: #f0e7d2;
    --text: #2e2415;
    --text-soft: #453722;
    --muted: #766a4e;
    --amber: #a97812; /* 大きめ表示・罫線用 */
    --amber-2: #96690f;
    --amber-ink: #7c5810; /* 小さめの琥珀文字用（クリーム地でAA） */
    --line: rgba(150, 105, 15, 0.35);
    --line-soft: rgba(46, 36, 21, 0.14);
    --ok: #1c7a44;
    --warn: #a34d12;
    --btn-bg: #96690f;
    --btn-ink: #fffaef;
    --field-bg: #fffdf6;
    --glow: rgba(169, 120, 18, 0.08);
    --glow-line: rgba(150, 105, 15, 0.32);
    --shadow: 0 1px 3px rgba(70, 50, 15, 0.12);
    --shadow-lg: 0 8px 24px rgba(70, 50, 15, 0.16);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- 法定注意帯（最上部・全ページ必須） ---------- */
.age-bar {
  background: #0c0a07;
  color: #d9cba6;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  padding: 5px 12px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: light) {
  .age-bar {
    background: #3a2d13;
    color: #f2e7c9;
  }
}

/* ---------- パブサイン・ヘッダー（中央寄せ看板） ---------- */
.site-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.pub-sign {
  position: relative;
  padding: 26px 16px 18px;
}
.sign-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sign-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 34px 12px;
  border-top: 7px double var(--amber);
  border-bottom: 7px double var(--amber);
}
.sign-name {
  font-family: var(--font-cond);
  font-weight: 800;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0.2em;
  margin-right: -0.2em; /* letter-spacing の右余りを打ち消して視覚中央に */
  color: var(--text);
}
.sign-sub {
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: var(--amber-ink);
  margin-top: 4px;
}
.sign-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--field-bg);
}
.sign-search input {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  padding: 5px 4px 5px 10px;
  width: 120px;
  outline-offset: 2px;
}
.sign-search input::placeholder {
  color: var(--muted);
}
.sign-search button {
  border: 0;
  background: transparent;
  color: var(--amber-ink);
  padding: 5px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
/* ---------- 中央寄せスモールキャップス風ナビ ---------- */
.sign-nav {
  border-top: 1px solid var(--line-soft);
}
.sign-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 6px;
  row-gap: 2px;
}
.sign-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  padding: 2px 8px;
  white-space: nowrap;
}
.sign-nav a + a::before {
  content: "·";
  color: var(--amber-ink);
  margin-right: 14px;
}
.sign-nav a:hover {
  color: var(--amber-ink);
}
@media (max-width: 899px) {
  .sign-search {
    position: static;
    transform: none;
    margin-top: 14px;
  }
  .sign-search input {
    width: 180px;
  }
}

/* ---------- ON TAP TODAY ボード（黒板・昼夜共通） ---------- */
.tap-board {
  background: var(--board-bg);
  color: var(--board-ink);
  border-bottom: 2px solid var(--board-line);
  padding: 30px 0 34px;
}
.board-title {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.board-title-en {
  font-family: var(--font-cond);
  font-weight: 800;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  letter-spacing: 0.24em;
  margin-right: -0.24em;
  line-height: 1.1;
  color: #f0c65a;
  padding: 0 18px 6px;
  border-bottom: 4px double var(--board-line);
}
.board-title-ja {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--board-ink);
}
.board-sub {
  text-align: center;
  color: var(--board-muted);
  font-size: 0.8rem;
  margin: 10px auto 22px;
  max-width: 640px;
}
.board-plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tap-plate {
  border: 1px solid var(--board-line);
  border-radius: 4px;
  background: rgba(224, 169, 46, 0.05);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.tap-plate:hover {
  background: rgba(224, 169, 46, 0.12);
  box-shadow: 0 0 18px rgba(224, 169, 46, 0.18);
}
.plate-no {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: #f0c65a;
}
.plate-name {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--board-ink);
}
.plate-pct {
  font-family: var(--font-cond);
  font-weight: 800;
  color: #f0c65a;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 2px;
}
.plate-pct-num {
  font-size: 2.5rem;
  letter-spacing: 0.02em;
}
.plate-pct-unit {
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.plate-meta {
  font-size: 0.75rem;
  color: var(--board-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.plate-until {
  color: #f0c65a;
}
@media (max-width: 759px) {
  .board-plates {
    grid-template-columns: 1fr;
  }
  .plate-pct-num {
    font-size: 2.1rem;
  }
}

/* ---------- セクション ---------- */
.section {
  padding: 34px 0 20px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 4px double var(--line);
  padding-bottom: 8px;
  margin-bottom: 4px;
}
/* 見出し帯は h1 でも h2 でも同じ見た目にする。
 * タグ／サイト内検索のページはこの帯が「そのページの主見出し」なので h1 で出す
 * （それ以外のセクション見出しは従来どおり h2）。 */
.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: var(--font-cond);
  font-stretch: condensed;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.more {
  font-size: 0.78rem;
  color: var(--amber-ink);
  letter-spacing: 0.06em;
}

/* ---------- 「銘柄で探す」絞り込み（ボードとリストの間） ---------- */
.find {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 4px;
  flex-wrap: wrap;
}
.find-label {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--amber-ink);
  white-space: nowrap;
}
.find input {
  flex: 1;
  min-width: 220px;
  max-width: 460px;
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 12px;
}
.find input::placeholder {
  color: var(--muted);
}
.find-count {
  font-size: 0.78rem;
  color: var(--muted);
}
.noresult {
  color: var(--muted);
  text-align: center;
  padding: 30px 0;
}

/* ---------- タップリスト表 ---------- */
.tap-list {
  border-top: 1px solid var(--line);
}
.tap-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line); /* 琥珀ヘアライン */
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.tap-row:hover {
  background: linear-gradient(
    90deg,
    transparent,
    var(--glow) 18%,
    var(--glow) 82%,
    transparent
  );
  box-shadow: inset 0 0 0 1px var(--glow-line);
}
.tap-no {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  align-self: start;
  padding-top: 3px;
}
.tap-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tap-line1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.tap-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}
.tap-cat {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--amber-ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
}
.tap-title {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.tap-meta {
  font-size: 0.74rem;
  color: var(--muted);
}
.tap-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  max-width: 200px;
}
.tap-pct {
  font-family: var(--font-cond);
  font-weight: 800;
  color: var(--amber);
  font-size: 0.82rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.tap-pct-num {
  font-size: 1.9rem;
  letter-spacing: 0.01em;
}
.tap-pct-unit {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.tap-pct-none {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  margin-right: -0.28em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 8px;
}
.tap-price {
  font-size: 0.76rem;
  color: var(--amber-ink);
  line-height: 1.5;
}
@media (max-width: 559px) {
  .tap-row {
    grid-template-columns: 2.3rem minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 13px 2px;
  }
  .tap-no {
    font-size: 1.25rem;
  }
  .tap-right {
    max-width: 130px;
  }
  .tap-pct-num {
    font-size: 1.55rem;
  }
}

/* 終了セール（グレー表示） */
.sale-ended {
  opacity: 0.55;
  filter: grayscale(0.7);
}
.sale-ended:hover {
  opacity: 0.8;
  filter: grayscale(0.35);
}
.ended-badge {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--muted);
  border-radius: 2px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* ---------- セール種別タグ（SALE / NEW / 期間限定 / まとめ買い / PR） ---------- */
.stags {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.stag {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
  padding: 1px 6px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.stag-sale {
  color: var(--amber-ink);
  border-color: var(--amber-ink);
}
.stag-free {
  color: var(--ok);
  border-color: var(--ok);
}
.stag-limited {
  color: var(--warn);
  border-color: var(--warn);
}
.stag-new {
  color: var(--text);
  border-color: var(--line-soft);
  background: var(--surface-2);
}
.stag-pr {
  color: var(--muted);
  border-color: var(--line-soft);
}

/* ---------- 指標チップ（価格 / 割引 / 規模 / 期限） ---------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.fact {
  font-size: 0.72rem;
  line-height: 1.6;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 0 7px;
  color: var(--text-soft);
  background: var(--surface);
}
.fact-price,
.fact-discount {
  color: var(--amber-ink);
  border-color: var(--line);
}
.fact-until {
  color: var(--text-soft);
}
.fact-urgent {
  color: var(--warn);
  border-color: var(--warn);
  font-weight: 600;
}
.fact-expired {
  color: var(--muted);
  text-decoration: line-through;
}
.fact-unknown {
  color: var(--muted);
  border-style: dashed;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.faq-item {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--amber);
  border-radius: 3px;
  background: var(--surface);
  padding: 10px 14px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}
.faq-item p {
  margin: 8px 0 2px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* ---------- カテゴリ等のページ看板 ---------- */
.page-sign {
  border-bottom: 4px double var(--line);
  background: var(--bg-2);
  padding: 26px 0 18px;
  text-align: center;
}
.page-sign h1 {
  margin: 0 0 8px;
  font-family: var(--font-cond);
  font-stretch: condensed;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: 0.14em;
  font-weight: 800;
}
.page-sign p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- パンくず ---------- */
.breadcrumb {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 16px 0;
}
.breadcrumb a {
  color: var(--amber-ink);
}

/* ---------- 記事ページ ---------- */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.article-sign {
  text-align: center;
  border-top: 7px double var(--amber);
  border-bottom: 7px double var(--amber);
  padding: 22px 14px;
  margin: 6px 0 18px;
  background: var(--bg-2);
}
.article-sign h1 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 3.4vw, 1.55rem);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.article-sign .sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.article h2 {
  font-family: var(--font-cond);
  font-stretch: condensed;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  border-bottom: 4px double var(--line);
  padding-bottom: 6px;
  margin: 34px 0 14px;
}
.page-head h1 {
  font-family: var(--font-cond);
  font-stretch: condensed;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 0.1em;
  font-weight: 800;
  border-bottom: 4px double var(--line);
  padding-bottom: 10px;
  margin: 6px 0 18px;
}
.tag {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--amber-ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 8px;
  margin: 0 4px 4px 0;
}
.tag:hover {
  background: var(--glow);
}

/* メニューカード風の deal-box */
.deal-box {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 16px 18px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.deal-box .row {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.9rem;
}
.deal-box .row:last-of-type {
  border-bottom: 0;
}
.deal-box .k {
  flex: 0 0 5.5em;
  color: var(--amber-ink);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.deal-box .v {
  flex: 1;
  min-width: 0;
  color: var(--text-soft);
}
.cta {
  display: block;
  text-align: center;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 700;
  border-radius: 3px;
  padding: 12px 18px;
  margin: 16px 0 4px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  transition: filter 0.15s ease;
}
.cta:hover {
  filter: brightness(1.08);
}
/* 終了したセール記事の告知（web-fleet #406）。
   一覧・sitemap から外して noindex にしても、直URLで開いた人には
   終了したことが分からなかった。本文の先頭で最初に伝える。 */
.ended-note {
  border: 1px solid var(--line);
  border-left: 4px solid #b03a2e;
  background: rgba(176, 58, 46, 0.06);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.ended-note strong {
  color: #b03a2e;
}

.note {
  font-size: 0.8rem;
  color: var(--muted);
  border-left: 3px solid var(--amber);
  padding: 8px 12px;
  background: var(--surface);
  margin: 18px 0;
}
.hl {
  padding-left: 1.3em;
  margin: 12px 0;
}
.hl li {
  margin: 6px 0;
}
.src-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 24px;
}
.src-note a {
  color: var(--amber-ink);
  text-decoration: underline;
}

/* 関連記事 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.related-card {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: var(--surface);
  padding: 10px 12px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.related-card:hover {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--glow-line);
}
.related-card .e {
  flex: 0 0 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--amber-ink);
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--bg-2);
}
.related-card .t {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-soft);
}
@media (max-width: 559px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* 前後ナビ */
.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 26px 0 0;
}
.pn {
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: var(--surface);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.pn:hover {
  box-shadow: inset 0 0 0 1px var(--glow-line);
}
.pn-next {
  text-align: right;
}
.pn-empty {
  border: 0;
  background: transparent;
}
.pn-k {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--amber-ink);
}
.pn-t {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ---------- タグ一覧 ---------- */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 30px;
}
.tagchip {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tagchip:hover {
  background: var(--glow);
  color: var(--amber-ink);
}
.tagchip .c {
  font-size: 0.68rem;
  color: var(--amber-ink);
  font-family: var(--font-cond);
  font-weight: 700;
}

/* ---------- 変更履歴 ---------- */
.clg-lead {
  color: var(--muted);
  font-size: 0.86rem;
}
.clg-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  border-top: 1px solid var(--line);
}
.clg-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.86rem;
  flex-wrap: wrap;
}
.clg-date {
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--amber-ink);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.clg-cat {
  font-size: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 7px;
  color: var(--muted);
}
.clg-summary {
  flex: 1;
  min-width: 200px;
  color: var(--text-soft);
}
.clg-empty {
  color: var(--muted);
}

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 44px;
  border-top: 4px double var(--line);
  background: var(--bg-2);
  font-size: 0.84rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 16px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 140px;
}
.footer-col h4 {
  margin: 0 0 4px;
  font-family: var(--font-cond);
  font-stretch: condensed;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--amber-ink);
  font-weight: 800;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 4px;
}
.footer-col a {
  color: var(--text-soft);
  font-size: 0.82rem;
}
.footer-col a:hover {
  color: var(--amber-ink);
}
.age-notice {
  max-width: var(--maxw);
  margin: 14px auto 0;
  padding: 10px 16px;
  font-size: 0.76rem;
  color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
}
.disclosure {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 16px;
  font-size: 0.72rem;
  color: var(--muted);
}
.copy {
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
  padding: 14px 16px 20px;
  letter-spacing: 0.08em;
}

/* ---------- フォーカス可視化（暗地でも見えるように） ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- 記事のイメージ写真（CC0・#268） ---------- */
.artphoto {
  margin: 20px 0 18px;
}
.artphoto img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius, 6px);
  border: 1px solid var(--line, #ddd);
  display: block;
}
.artphoto figcaption {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted, #888);
  line-height: 1.7;
}
.artphoto figcaption a {
  color: var(--muted, #888);
  border-bottom: 1px solid var(--line, #ddd);
}

/* ---------- 割引率の図解（自前SVG・#268） ---------- */
.pricechart {
  margin: 2px 0 14px;
}
.pricechart svg {
  width: 100%;
  height: auto;
  display: block;
}
.pricechart .pc-l {
  font-size: 10px;
  fill: var(--muted, #888);
  letter-spacing: 0.06em;
}
.pricechart .pc-n {
  font-size: 8.5px;
  fill: var(--muted, #888);
}
.pricechart .pc-v {
  font-size: 11px;
  font-weight: 600;
  fill: var(--chart-value, var(--accent));
  letter-spacing: 0.04em;
}
.pricechart .pc-base {
  fill: var(--bg-2, #f0f0f0);
  stroke: var(--chart-edge);
}
.pricechart .pc-pay {
  fill: var(--accent2, #2e7d32);
}
/* ---------- 記事写真: 画像内クレジット＋高さ上限（#275） ---------- */
.artphoto {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.artphoto img {
  max-height: 240px;
  object-fit: cover;
}
.artphoto-cred {
  position: absolute;
  right: 8px;
  bottom: 6px;
  max-width: calc(100% - 16px);
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: right;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.artphoto-cred a {
  color: rgba(255, 255, 255, 0.62);
  border-bottom: none;
}
.artphoto-cred a:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- ファーストビューの購入導線＋割引バッジ（#275） ---------- */
/* セールサイトなので、記事を開いた最初の画面に「いくらオフか」と
   「Amazonで見る」が必ず入るようにする。 */
.firstbuy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 4px;
}
.dealbadge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  /* セールサイトの主役なので、暗い配色のテーマでも沈まない明度にする（#275） */
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}
.dealbadge.db-hi {
  background: #e02b1d;
}
.dealbadge.db-mid {
  background: #ef7d00;
}
.dealbadge.db-low {
  background: #1e9e57;
}
.cta-first {
  margin: 0;
  padding: 9px 16px;
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  .artphoto img {
    max-height: 180px;
  }
  .cta-first {
    width: 100%;
    text-align: center;
  }
}

/* ---------- 対象と価格の表 / こんな人に（web-fleet #341） ----------
   「対象商品多数」「最大◯%オフ」だけで終わらせず、
   何がいくら安いのかを記事本文に表で出すためのスタイル。
   横に長い表でも本文ごと横スクロールさせず、この枠の中だけでスクロールさせる。 */
.itemtable-wrap {
  overflow-x: auto;
  margin: 14px 0 6px;
}
.itemtable {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
  font-size: 0.95rem;
}
.itemtable th,
.itemtable td {
  border-bottom: 1px solid var(--line, #ddd);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.itemtable thead th {
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted, #666);
  border-bottom-width: 2px;
}
.itemtable tbody th {
  font-weight: 600;
  min-width: 10em;
}
.itemtable td {
  white-space: nowrap;
}
/* 確認できなかった欄。空白のままだと「書き忘れ」と区別できないので印を置く。 */
.it-na {
  color: var(--muted, #888);
}
.it-note {
  display: block;
  margin-top: 2px;
  font-size: 0.85em;
  font-weight: 400;
  color: var(--muted, #666);
  white-space: normal;
}
.itemtable-note {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--muted, #666);
}
/* 「誰にとって買いか」。左の色付き縦ボーダー装飾は使わない（fleet 共通ルール）。 */
.bestfor {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 4px);
  background: var(--bg-2, transparent);
}
.bestfor-k {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted, #666);
}
.bestfor-v {
  display: block;
}

/* ---------- 記事の種別（web-fleet #383） ----------
 * 一覧を セール / ニュース / ガイド に分けたときの共通スタイル。
 * 「値上げ」チップだけは割引の強調色（金茶・琥珀）を絶対に使わない。
 * 色が割引と同じだと、離れて見たときに「安くなっている」と読めてしまい、
 * このIssueで直したかった誤認がそのまま残るため。
 * 色は各サイトの変数を優先し、無いサイトでは中間色のリテラルに落とす。 */
.kind-chip {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border: 1px solid currentColor;
  border-radius: var(--radius, 3px);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  line-height: 1.85;
  white-space: nowrap;
  vertical-align: 0.06em;
}
.kind-sale {
  color: var(--accent, var(--gold-ink, #8a6a1f));
}
.kind-news {
  color: var(--muted, #5d6b7a);
}
/* 値上げ: 注意色。割引色とは別系統にする */
.kind-hike {
  color: var(--urgent, var(--danger, var(--red-ink, var(--warn, #a2402f))));
  font-weight: 600;
}
.kind-guide {
  color: var(--muted, #6b6b6b);
}
/* 種別セクションの補足文（何が並んでいるのか・なぜ期限が無いのか） */
.kind-note {
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted, #666);
}
/* セールが1件も無い日の説明。件数を水増ししないための空表示 */
.kind-empty {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 4px);
  background: var(--bg-2, transparent);
  font-size: 0.84rem;
  line-height: 1.8;
}
/* 記事ページ「終了日未公表の理由」行 */
.row-noend .v {
  color: var(--muted, #666);
}

/* ---------- 記事中盤の購入導線と、スマホ用の固定バー（web-fleet #458） ---------- */
/* 解説の中盤・手順表のあとに差し込む導線。既存の .cta と同じ見た目のまま、
   本文の流れから浮くよう上下の余白だけ広げる。 */
.cta-mid {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* 画面下に常駐する購入導線。デスクトップでは本文が1画面に収まりやすく、
   固定の帯は本文を隠す邪魔にしかならないので、狭い画面でのみ出す。
   表示・非表示の判定（ファーストビューの導線が見えている間／本文末尾に
   到達した後／閉じたあと）は build.js が埋め込む JS が hidden 属性で行う。 */
.stickycta {
  display: none;
}
@media (max-width: 760px) {
  .stickycta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--bg, #fff);
    border-top: 1px solid var(--line, #ddd);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
  }
  .stickycta[hidden] {
    display: none;
  }
  .stickycta .stickycta-link {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
    padding: 12px 14px;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
  }
  .stickycta-close {
    flex: 0 0 auto;
    padding: 10px 12px;
    border: 1px solid var(--line, #ddd);
    border-radius: var(--radius, 4px);
    background: transparent;
    color: var(--muted, #666);
    font-family: inherit;
    font-size: 0.76rem;
    line-height: 1;
    cursor: pointer;
  }
}

/* ---------- 発売カレンダー（ユーザー指示 2026-08-16） ----------
   記事の metrics.start / deadline を時間軸で並べた /calendar 用。
   一覧のチラシグリッド（.grid / .cell）はそのまま使い、日付見出しだけを足す。 */
.cal-note {
  font-size: 12.5px;
  color: #555;
  margin: 0 0 12px;
  line-height: 1.7;
}
.cal-meta {
  font-size: 12.5px;
  color: #555;
  margin: 8px 0 16px;
}
.cal-day {
  margin: 0 0 18px;
}
.cal-date {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
  padding: 7px 10px;
  background: #f2f4f7;
  border: 1px solid #dde1e6;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cal-n {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

/* ---------- サイト内ツール（web-fleet #701） ----------
   /tools/alcohol-grams 用。フラット・軽量。左の色付き縦ボーダーは使わない。
   配色はサイト変数（--surface / --line / --amber-ink 等）に乗せ、
   ダーク/ライト両方でそのまま成立させる。 */
.tool-lead {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-soft, #333);
  margin: 0 0 20px;
}
.tool-card {
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  padding: 16px 16px 14px;
  margin: 0 0 20px;
}
.tool-card h2 {
  font-size: 1rem;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--text, #222);
}
.tool-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}
.tool-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted, #666);
  flex: 1 1 130px;
}
.tool-fields input,
.tool-table input {
  font: inherit;
  font-size: 0.95rem;
  padding: 8px 10px;
  border: 1px solid var(--line, #ccc);
  border-radius: var(--radius, 6px);
  background: var(--field-bg, #fff);
  color: var(--text, #222);
  width: 100%;
  box-sizing: border-box;
}
.tool-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.tool-result-label {
  font-size: 0.8rem;
  color: var(--muted, #666);
}
.tool-result-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--amber-ink, #a1620a);
  font-variant-numeric: tabular-nums;
}
.tool-result-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-soft, #444);
}
.tool-formula,
.tool-note,
.tool-src,
.tool-hint {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted, #666);
  margin: 0 0 6px;
}
.tool-hint {
  color: var(--warn, #b45309);
}
.tool-table-wrap {
  overflow-x: auto;
  margin: 0 0 10px;
}
.tool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.tool-table th,
.tool-table td {
  border: 1px solid var(--line, #ddd);
  padding: 7px 9px;
  text-align: left;
  vertical-align: middle;
}
.tool-table thead th {
  background: var(--bg-2, #f5f5f5);
  font-size: 0.78rem;
  color: var(--muted, #666);
  font-weight: 700;
  white-space: nowrap;
}
.tool-table th[scope="row"] input[type="text"] {
  min-width: 9.5em;
}
.tool-table .tool-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tool-table .tool-strong {
  font-weight: 800;
  color: var(--amber-ink, #a1620a);
}
.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tool-link {
  display: block;
  flex: 1 1 280px;
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 8px);
  background: var(--surface, #fff);
  padding: 14px 16px;
  text-decoration: none;
}
.tool-link-t {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text, #222);
  margin: 0 0 5px;
}
.tool-link-d {
  display: block;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted, #666);
}
.tool-inline {
  font-size: 0.86rem;
  line-height: 1.8;
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 8px);
  padding: 10px 12px;
  margin: 22px 0 0;
  color: var(--text-soft, #444);
}

/* 計算が目的の記事で、本文の頭からツールへ送る導線（2026-08-20）。
   末尾の相互リンクだけでは、記事を読み切った人にしか届いていなかった。 */
.tool-jump {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 2px);
  background: var(--bg-2);
  font-size: 0.88rem;
  line-height: 1.8;
}
.tool-jump a {
  font-weight: 700;
}

/* 発売日を過ぎた告知記事の注記（2026-08-20）。
   終了セールの .ended-note と違い警告ではなく事実の補足なので、フラットに出す。 */
.released-note {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.released-note strong {
  font-weight: 700;
}
