/* ============================================================
   KURABE 公式コレクション (matome.kurabe.net)
   Design tokens are borrowed from Kurabe itself
   (app/styles/shared-theme.css / base.css):
   paper #f5f1e8, ink #183333, brand teal #0d716a,
   vermilion #b84b38 as the single expressive accent.
   ============================================================ */
:root {
  --ink: #183333;
  --muted: #596e69;
  --paper: #f5f1e8;
  --panel: #fffdf9;
  --line: #d7cbb8;
  --soft-line: #e8dfd1;
  --brand: #0d716a;
  --brand-deep: #0b4c4a;
  --brand-soft: #d9ece8;
  --vermilion: #b84b38;
  --vermilion-deep: #7e2f21;
  --shadow: 0 14px 34px rgba(24, 51, 51, .10);
  --shadow-lift: 0 20px 44px rgba(24, 51, 51, .16);
  --font-ui: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --font-utility: ui-monospace, SFMono-Regular, Consolas, monospace;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-feature-settings: "palt" 1, "kern" 1;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: var(--brand-deep); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--brand-soft); }

.wrap { max-width: 1060px; margin: 0 auto; padding-inline: 20px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--soft-line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 12px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 8px; background: var(--brand); color: #fff;
  font-family: var(--font-display); font-weight: 900; font-size: 19px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 16.5px; letter-spacing: .01em; line-height: 1.2; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--brand); }
.brand-domain { display: block; font-family: var(--font-utility); font-weight: 400; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.header-cta {
  margin-left: auto; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 8px 15px;
  border-radius: 999px; border: 1.5px solid var(--brand);
  color: var(--brand-deep); background: transparent;
  font-size: 13px; font-weight: 800; text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.header-cta:hover { background: var(--brand); color: #fff; }
@media (max-width: 480px) {
  .brand-name { font-size: 15px; }
  .header-cta { padding: 7px 12px; font-size: 12px; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--vermilion);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-utility); font-size: 11.5px; line-height: 1;
  padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
}
.chip strong { color: var(--ink); font-weight: 700; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- index hero ---------- */
.hero { position: relative; padding: 52px 0 8px; overflow: visible; }
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(35px, 8.4vw, 58px);
  line-height: 1.28; letter-spacing: -.01em;
  margin: 16px 0 18px; max-width: 15em;
}
.hero h1 .accent { color: var(--brand); }
.hero h1 .accent-v { color: var(--vermilion); }
.hero .lead { font-size: 16.5px; line-height: 1.95; color: #33504c; max-width: 40em; margin: 0; }
.hero .lead strong { color: var(--ink); }
.hero .chips { margin-top: 24px; }
.stamp {
  position: absolute; top: 44px; right: 6px;
  width: 86px; height: 86px; border-radius: 50%;
  border: 2.5px solid var(--vermilion); color: var(--vermilion);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 900; font-size: 15px; line-height: 1.35;
  transform: rotate(10deg);
  background: rgba(255, 253, 249, .6);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5.5px rgba(184, 75, 56, .55);
}
@media (max-width: 640px) {
  .hero { padding-top: 38px; }
  .stamp { width: 64px; height: 64px; font-size: 12px; top: 30px; }
  .hero h1 { padding-right: 56px; }
}
.hero-rule {
  margin: 38px 0 0; border: 0; border-top: 2px dashed var(--line);
}

/* ---------- section heading ---------- */
.section-head { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 18px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(21px, 4.6vw, 27px); letter-spacing: 0; margin: 0;
}
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- article cards (index) ---------- */
.article-grid { display: grid; gap: 20px; padding-bottom: 8px; }
@media (min-width: 700px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .article-grid { grid-template-columns: 1fr 1fr 1fr; } }
.article-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 4px 14px rgba(24, 51, 51, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #c3b198; }
.cover { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; flex: 0 0 auto; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .cover-credit {
  position: absolute; right: 8px; bottom: 8px;
  font-size: 10px; line-height: 1; color: #fff;
  background: rgba(24, 51, 51, .72); padding: 4px 7px; border-radius: 4px;
}
/* typographic covers */
.cover-type {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; color: #fff; isolation: isolate;
}
.cover-type::before, .cover-type::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35); z-index: -1;
}
.cover-type::before { width: 190px; height: 190px; right: -60px; top: -85px; }
.cover-type::after { width: 110px; height: 110px; left: -34px; bottom: -62px; }
.cover-type .cover-dots {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.20) 1.3px, transparent 1.4px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(115deg, transparent 42%, #000 100%);
          mask-image: linear-gradient(115deg, transparent 42%, #000 100%);
}
.cover-genre {
  font-family: var(--font-utility); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; opacity: .85; margin-bottom: 6px;
}
.cover-word {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 4.6vw, 40px); line-height: 1.15; letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.cover-sub { font-size: 12.5px; font-weight: 700; opacity: .92; margin-top: 5px; }
.genre-iekei { background: linear-gradient(128deg, #5f2318 0%, var(--vermilion-deep) 52%, var(--vermilion) 130%); }
.genre-tsukemen { background: linear-gradient(128deg, #07332f 0%, var(--brand-deep) 55%, var(--brand) 135%); }
.genre-birthday { background: linear-gradient(128deg, #f7e3d3 0%, #f3c9bc 58%, #eeb09a 135%); color: #6d3222; }
.genre-birthday::before, .genre-birthday::after { border-color: rgba(126, 47, 33, .30); }
.genre-birthday .cover-dots { background-image: radial-gradient(rgba(126,47,33,.20) 1.3px, transparent 1.4px); }
.genre-birthday .cover-word { text-shadow: none; }

.article-card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.article-card h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 19.5px; line-height: 1.45; margin: 0; letter-spacing: 0;
}
.article-card .excerpt { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.article-card .card-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 8px; }
.article-card .go {
  margin-left: auto; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--brand); color: var(--brand-deep);
  font-size: 14px; font-weight: 900; line-height: 1;
  transition: background .18s ease, color .18s ease;
}
.article-card:hover .go { background: var(--brand); color: #fff; }

/* ---------- about strip (index) ---------- */
.about {
  margin: 44px 0 8px; padding: 26px 26px 28px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.about h2 { font-family: var(--font-display); font-weight: 900; font-size: 20px; margin: 0 0 10px; }
.about p { margin: 0; color: #33504c; font-size: 14.5px; line-height: 1.9; }
.about .steps { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 700px) { .about .steps { grid-template-columns: repeat(3, 1fr); } }
.about .step {
  border: 1px dashed var(--line); border-radius: 12px; padding: 13px 15px;
  font-size: 13.5px; font-weight: 700; display: flex; gap: 10px; align-items: baseline;
}
.about .step b {
  font-family: var(--font-utility); font-weight: 700; color: var(--vermilion); font-size: 12px;
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); padding: 22px 0 14px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { color: var(--brand-deep); text-decoration: underline; }
.breadcrumb .sep { color: var(--line); font-weight: 900; }
.breadcrumb .current { color: var(--ink); font-weight: 700; }

/* ---------- article hero ---------- */
.article-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 22px; padding: 30px 26px 32px; color: #fff;
  box-shadow: var(--shadow);
}
.article-hero::before, .article-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .30); z-index: -1;
}
.article-hero::before { width: 260px; height: 260px; right: -80px; top: -120px; }
.article-hero::after { width: 150px; height: 150px; left: -44px; bottom: -84px; }
.article-hero .cover-dots {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.3px, transparent 1.4px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(120deg, transparent 46%, #000 100%);
          mask-image: linear-gradient(120deg, transparent 46%, #000 100%);
}
.article-hero.genre-birthday { color: #6d3222; }
.article-hero.genre-birthday::before, .article-hero.genre-birthday::after { border-color: rgba(126,47,33,.28); }
.article-hero.genre-birthday .cover-dots { background-image: radial-gradient(rgba(126,47,33,.18) 1.3px, transparent 1.4px); }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); color: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.genre-birthday .kicker { background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1px rgba(126,47,33,.25); }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vermilion); }
.genre-birthday .kicker .dot { background: var(--vermilion); }
.article-hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(27px, 6.4vw, 42px); line-height: 1.35; letter-spacing: 0;
  margin: 16px 0 14px; text-wrap: balance;
}
.article-hero .chips .chip {
  background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .38); color: rgba(255,255,255,.92);
}
.article-hero .chips .chip strong { color: #fff; }
.article-hero .chips .chip .dot { background: #fff; }
.article-hero.genre-birthday .chips .chip {
  background: rgba(255,255,255,.45); border-color: rgba(126,47,33,.28); color: #8a5741;
}
.article-hero.genre-birthday .chips .chip strong { color: #6d3222; }
.article-hero.genre-birthday .chips .chip .dot { background: var(--vermilion); }
.lead {
  margin: 26px 2px 4px; font-size: 15.5px; line-height: 1.95; color: #2c4742;
  max-width: 44em;
}
/* hero cover image (headline baked into the image; h1 stays in DOM) */
.hero-cover {
  margin: 0; border-radius: 22px; overflow: hidden;
  aspect-ratio: 16 / 9.5; box-shadow: var(--shadow);
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-meta { margin: 16px 2px 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0; padding: 0;
}

/* ---------- shop cards ---------- */
.shop-list { margin-top: 30px; display: grid; gap: 22px; }
.shop {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 14px rgba(24, 51, 51, .05);
  scroll-margin-top: 76px;
}
@media (min-width: 780px) {
  .shop { display: grid; grid-template-columns: 320px 1fr; }
  .shop .shop-media { min-height: 100%; }
}
.shop-media { position: relative; }
.shop-media figure { margin: 0; position: relative; }
.shop-media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
@media (min-width: 780px) { .shop-media img { aspect-ratio: auto; position: absolute; inset: 0; } }
.photo-credit {
  position: absolute; right: 8px; bottom: 8px; margin: 0;
  font-size: 10px; line-height: 1; color: #fff;
  background: rgba(24, 51, 51, .72); padding: 4px 7px; border-radius: 4px;
}
.rank {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-utility); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: rgba(24, 51, 51, .86);
  padding: 6px 9px; border-radius: 6px; line-height: 1;
}
.rank b { color: #ffd9a8; font-weight: 700; }
/* no-photo typographic media */
.shop-media.type {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 20px; min-height: 160px; color: #fff; isolation: isolate; overflow: hidden;
}
.shop-media.type::before, .shop-media.type::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .32); z-index: -1;
}
.shop-media.type::before { width: 170px; height: 170px; right: -52px; top: -70px; }
.shop-media.type::after { width: 96px; height: 96px; left: -30px; bottom: -52px; }
.shop-media.type .cover-dots {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.20) 1.3px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 100%);
          mask-image: linear-gradient(115deg, transparent 40%, #000 100%);
}
.shop-media.type .media-genre {
  font-family: var(--font-utility); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; opacity: .85;
}
.shop-media.type .media-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(21px, 5.4vw, 27px); line-height: 1.35; letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.20);
}
.shop-media.type .media-station {
  align-self: flex-start; margin-top: 7px;
  font-size: 11.5px; font-weight: 700; line-height: 1;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.shop .body { padding: 20px 22px 22px; min-width: 0; }
@media (min-width: 780px) { .shop .body { padding: 24px 28px 26px; } }
.shop h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(19px, 4.8vw, 22.5px); line-height: 1.45; margin: 0 0 7px;
}
.shop h2 .num {
  font-family: var(--font-utility); font-weight: 700; color: var(--vermilion);
  font-size: .82em; margin-right: 9px; letter-spacing: .04em;
}
.shop .area {
  display: flex; align-items: baseline; gap: 8px;
  color: var(--muted); font-size: 13px; margin: 0 0 11px; line-height: 1.6;
}
.shop .area::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 2px;
  background: var(--brand); transform: translateY(-1px);
}
.shop .intro { margin: 0; font-size: 15px; line-height: 1.9; color: #243d39; }
.shop .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.shop .tags span {
  font-size: 11px; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 4px; padding: 3px 8px; line-height: 1.5;
}
.shop .tags span.hot { background: #fce7e1; color: #9a4c3c; }
.src {
  margin-top: 16px; padding-top: 13px; border-top: 1.5px dashed var(--soft-line);
  font-size: 12.5px; color: var(--muted); line-height: 1.9;
}
.src .src-label {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 4px; padding: 2.5px 7px; margin-right: 8px; vertical-align: 1px;
}
.src a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(13, 113, 106, .4); }
.src a:hover { text-decoration-color: var(--brand); }

/* ---------- CTA (ticket) ---------- */
.cta {
  position: relative; margin: 40px 0 6px;
  background: var(--brand-deep); color: #eaf4f1;
  border-radius: 22px; padding: 30px 26px 32px; overflow: hidden;
  box-shadow: var(--shadow);
}
.cta::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 12px;
  border-top: 2px dashed rgba(255, 255, 255, .35);
}
.cta .cta-kicker {
  font-family: var(--font-utility); font-size: 10.5px; letter-spacing: .24em;
  color: #9fd4cc; text-transform: uppercase; margin: 8px 0 10px;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 900; color: #fff;
  font-size: clamp(21px, 5.4vw, 27px); line-height: 1.45; margin: 0 0 10px;
}
.cta p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #cfe4df; max-width: 38em; }
.cta .btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  background: #fff; color: var(--brand-deep); text-decoration: none;
  font-weight: 900; font-size: 15px; padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.note { color: var(--muted); font-size: 12.5px; line-height: 1.8; margin: 18px 2px 0; }

/* ---------- related ---------- */
.related { margin-top: 44px; }
.related-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .related-grid { grid-template-columns: 1fr 1fr; } }
.related-card {
  display: flex; align-items: center; gap: 15px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; text-decoration: none; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.related-card:hover { border-color: #c3b198; box-shadow: var(--shadow); }
.related-thumb {
  flex: 0 0 auto; width: 74px; height: 56px; border-radius: 9px; overflow: hidden;
  position: relative; display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 900; font-size: 16px; text-align: center; line-height: 1.3;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card .r-body { min-width: 0; }
.related-card .r-label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--vermilion); }
.related-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 15.5px; margin: 2px 0 3px; line-height: 1.45; }
.related-card .r-meta { font-family: var(--font-utility); font-size: 11px; color: var(--muted); }
.related-card .go { margin-left: auto; color: var(--brand); font-weight: 900; flex: 0 0 auto; }

/* ---------- footer ---------- */
.site-footer { margin-top: 64px; background: var(--ink); color: #b9c8c2; }
.site-footer .wrap { padding-block: 34px 38px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-domain { color: #8fa8a1; }
.site-footer p { font-size: 12.5px; line-height: 1.9; margin: 0 0 8px; max-width: 46em; }
.site-footer a { color: #d9ece8; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-utility); font-size: 11px; letter-spacing: .05em;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; padding: 6px 10px; color: #d9ece8;
}
main { padding-bottom: 10px; }

/* ---------- selection criteria ---------- */
.criteria {
  margin-top: 34px; padding: 24px 26px 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.criteria h2, .faq h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(19px, 4.4vw, 23px); margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.criteria h2::before, .faq h2::before {
  content: ""; width: 9px; height: 9px; border-radius: 2.5px; background: var(--vermilion); flex: 0 0 auto;
}
.criteria .criteria-lead { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.85; }
.criteria ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: crit; }
@media (min-width: 700px) { .criteria ol { grid-template-columns: 1fr 1fr; } }
.criteria li {
  counter-increment: crit; display: flex; gap: 11px; align-items: baseline;
  border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.75;
}
.criteria li::before {
  content: counter(crit, decimal-leading-zero);
  font-family: var(--font-utility); font-size: 11.5px; font-weight: 700; color: var(--vermilion); flex: 0 0 auto;
}
.criteria li strong { font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { margin-top: 34px; }
.faq .faq-lead { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px 17px; margin-bottom: 10px;
}
.faq-item h3 {
  margin: 0 0 7px; font-size: 15px; font-weight: 800; line-height: 1.6;
  display: flex; gap: 10px; align-items: baseline;
}
.faq-item h3::before {
  content: "Q"; flex: 0 0 auto;
  font-family: var(--font-utility); font-size: 11px; font-weight: 700; color: #fff;
  background: var(--brand); border-radius: 5px; padding: 3px 6px; line-height: 1; transform: translateY(-1px);
}
.faq-item p { margin: 0; padding-left: 31px; font-size: 14px; line-height: 1.9; color: #2c4742; }

/* ---------- share ---------- */
.share {
  margin-top: 36px; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.share .share-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.share a {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; text-decoration: none; color: #fff;
  transition: transform .16s ease, opacity .16s ease;
}
.share a:hover { transform: translateY(-1px); opacity: .92; }
.share a.x { background: #14171a; }
.share a.line { background: #06c755; }

/* ---------- CTA shop chips ---------- */
.cta .cta-shops { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.cta .cta-shops span {
  font-size: 12px; font-weight: 700; color: #eaf4f1;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 5px 11px; line-height: 1.4;
}
.cta .cta-shops-label {
  font-family: var(--font-utility); font-size: 10px; letter-spacing: .2em;
  color: #9fd4cc; text-transform: uppercase; margin-top: 18px;
}

/* ---------- quick table (結論早見表) ---------- */
.quick { margin-top: 32px; }
.quick h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(19px, 4.4vw, 23px); margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.quick h2::before {
  content: ""; width: 9px; height: 9px; border-radius: 2.5px; background: var(--vermilion); flex: 0 0 auto;
}
.quick .quick-lead { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.85; }
.quick-wrap {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  box-shadow: 0 4px 14px rgba(24, 51, 51, .05); overflow: hidden;
}
.quick table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.quick th, .quick td { padding: 11px 13px; text-align: left; vertical-align: top; line-height: 1.6; }
.quick thead th {
  background: var(--brand-deep); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; white-space: nowrap;
}
.quick tbody tr + tr td, .quick tbody tr + tr th { border-top: 1px solid var(--soft-line); }
.quick tbody th { font-weight: 800; white-space: nowrap; font-family: var(--font-display); font-size: 13.5px; }
.quick tbody th .no { font-family: var(--font-utility); color: var(--vermilion); font-size: 11px; margin-right: 6px; }
.quick td { color: #2c4742; }
.quick td.area { white-space: nowrap; color: var(--muted); }
.quick .quick-note { margin: 10px 2px 0; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 640px) {
  .quick-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .quick table, .quick tbody, .quick tr, .quick td, .quick tbody th { display: block; width: auto; }
  .quick thead { display: none; }
  .quick tbody tr {
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 14px 13px; margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(24, 51, 51, .05);
  }
  .quick tbody tr + tr td, .quick tbody tr + tr th { border-top: 0; }
  .quick tbody th { padding: 0 0 6px; font-size: 15px; white-space: normal; }
  .quick td { padding: 2.5px 0 2.5px 76px; position: relative; font-size: 13px; }
  .quick td.area { white-space: normal; }
  .quick td::before {
    content: attr(data-label);
    position: absolute; left: 0; top: 4px; width: 66px;
    font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--brand-deep);
  }
}

/* ---------- system toc （系統から探す) ---------- */
.toc-nav { margin-top: 26px; }
.toc-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-utility); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; color: var(--muted); margin: 0 2px 10px;
}
.toc-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--vermilion);
}
.toc-nav a.chip { text-decoration: none; transition: border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.toc-nav a.chip:hover { border-color: var(--brand); color: var(--brand-deep); box-shadow: 0 3px 10px rgba(24, 51, 51, .07); }
.toc-nav a.chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- update history ---------- */
.history { margin-top: 34px; }
.history h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(17px, 4vw, 20px); margin: 0 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.history h2::before {
  content: ""; width: 9px; height: 9px; border-radius: 2.5px; background: var(--brand); flex: 0 0 auto;
}
.history ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.history li { display: flex; gap: 12px; font-size: 13px; color: #2c4742; line-height: 1.7; align-items: baseline; }
.history li time {
  font-family: var(--font-utility); font-size: 11.5px; color: var(--muted);
  flex: 0 0 auto; min-width: 86px;
}

/* ---------- ad slots (house ads until inventory exists) ---------- */
/* Rules: never before the quick table; in-list every 4 shops (max 2);
   +1 at article end; visually separated from ranking cards (see SITE-DESIGN.md). */
.ad-slot {
  position: relative;
  border: 1.5px dashed #c9bda6; border-radius: 14px;
  background: repeating-linear-gradient(-45deg, #f3eee1, #f3eee1 14px, #efe9da 14px, #efe9da 28px);
  padding: 20px 20px 18px; margin: 22px 0;
  text-align: center;
}
.ad-slot .ad-label {
  position: absolute; top: -9px; left: 14px;
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  background: var(--paper); color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 2.5px 8px; line-height: 1.4;
}
.ad-slot .ad-house-kicker {
  font-family: var(--font-utility); font-size: 10px; letter-spacing: .22em;
  color: var(--brand); text-transform: uppercase; margin: 2px 0 7px;
}
.ad-slot .ad-house-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 17.5px; line-height: 1.5; margin: 0 0 6px; color: var(--ink);
}
.ad-slot .ad-house-text { margin: 0 auto; font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 34em; }
.ad-slot .ad-house-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  min-height: 40px; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--brand); color: var(--brand-deep);
  font-size: 13px; font-weight: 800; text-decoration: none; background: rgba(255,253,249,.7);
  transition: background .16s ease, color .16s ease;
}
.ad-slot .ad-house-link:hover { background: var(--brand); color: #fff; }
.ad-slot.affiliate { background: var(--panel); border-style: solid; border-color: var(--line); }
.ad-slot.affiliate .ad-label { color: var(--vermilion); border-color: #e5c1b6; }
.shop-list .ad-slot { margin: 0; }
.index-ad { margin: 26px 0 6px; }

/* ---------- per-shop price line (sourced prices only) ---------- */
.price-line {
  margin: 11px 0 0; font-size: 13px; color: var(--muted);
  display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
}
.price-line .p-label {
  font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 4px; padding: 2.5px 7px;
}
.price-line strong { font-family: var(--font-utility); color: var(--ink); font-size: 14px; }

/* ---------- hub chips (index) ---------- */
.hub { margin-top: 40px; }
.hub .hub-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.hub a.hub-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 999px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
  font-size: 13.5px; font-weight: 700;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.hub a.hub-chip:hover { border-color: #c3b198; box-shadow: var(--shadow); }
.hub a.hub-chip .cnt { font-family: var(--font-utility); font-size: 11px; color: var(--muted); }
.hub .hub-soon {
  display: inline-flex; align-items: center; padding: 10px 15px; border-radius: 999px;
  border: 1.5px dashed var(--line); color: var(--muted); font-size: 13px; font-weight: 700;
}
