/* 食図鑑 公開サイト共通スタイル
   ゲーム本編のイラスト（ポップ・ステッカー調）に合わせた、
   太い黒フチ・フラットな原色・角丸チャンキーの見た目で統一する。 */

:root {
  --ink:      #16181d;
  --paper:    #fffdf6;
  --cyan:     #35c5e8;
  --cyan-d:   #1ba3c4;
  --yellow:   #ffd23f;
  --red:      #ff5a5a;
  --green:    #4bbd6b;
  --orange:   #ff9f43;
  --purple:   #a67ce0;
  --line:     3px solid var(--ink);
  --line-fat: 4px solid var(--ink);
  --shadow:   6px 6px 0 var(--ink);
  --shadow-s: 4px 4px 0 var(--ink);
  --radius:   20px;
  --maxw:     1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
               "Meiryo", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-d); }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--line);
  padding: 10px 20px;
}
.site-head-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.site-logo {
  font-size: 21px; font-weight: 900; letter-spacing: .02em;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.site-logo .mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cyan); border: var(--line);
  font-size: 18px;
}
.site-nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 6px 13px; border-radius: 999px; border: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--ink); background: #fff; }
.site-nav a.current { background: var(--yellow); border-color: var(--ink); }

/* ---------- 汎用 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section + .section { border-top: 2px dashed rgba(22,24,29,.18); }

h1, h2, h3 { line-height: 1.45; }
h2.sec-title {
  font-size: clamp(24px, 4.4vw, 34px); font-weight: 900;
  margin: 0 0 6px; display: flex; align-items: center; gap: 12px;
}
h2.sec-title .emoji { font-size: 1.15em; }
.sec-lead { margin: 0 0 30px; color: #4a4f5a; font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 17px; text-decoration: none;
  padding: 14px 28px; border-radius: 999px;
  border: var(--line-fat); box-shadow: var(--shadow-s);
  background: #fff; color: var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--yellow); }
.btn-cyan    { background: var(--cyan); }

.card {
  background: #fff; border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 22px 24px;
}

/* ---------- ヒーロー ---------- */
.hero { padding: 44px 0 60px; }
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.hero-eyebrow {
  display: inline-block; font-weight: 800; font-size: 14px;
  background: var(--cyan); color: #fff; border: var(--line);
  border-radius: 999px; padding: 5px 16px; margin-bottom: 18px;
  box-shadow: var(--shadow-s);
}
.hero h1 {
  font-size: clamp(32px, 7vw, 60px); font-weight: 900;
  margin: 0 0 14px; letter-spacing: .01em;
}
.hero h1 .ruby { font-size: .42em; display: block; font-weight: 700; letter-spacing: .3em; margin-left: -.3em; }
.hero-sub { font-size: clamp(17px, 2.6vw, 22px); font-weight: 700; margin: 0 0 8px; }
.hero-note { color: #4a4f5a; font-size: 15px; margin: 0; }
.hero-art {
  border: var(--line-fat); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--cyan);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 20px 12px; }
.stat b { display: block; font-size: clamp(28px, 5vw, 40px); font-weight: 900; line-height: 1.2; }
.stat span { font-size: 14px; color: #4a4f5a; font-weight: 700; }
.stat.c1 { background: #eafaff; } .stat.c2 { background: #fff6da; }
.stat.c3 { background: #ffeded; } .stat.c4 { background: #edfaf0; }

/* ---------- 2カラム ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.reverse .split-art { order: 2; }
.split-art { border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.split p { margin: 0 0 14px; }

/* ---------- ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { position: relative; padding-top: 34px; }
.step-num {
  position: absolute; top: -18px; left: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; border: var(--line);
  display: grid; place-items: center; font-weight: 900; font-size: 20px;
  box-shadow: var(--shadow-s);
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; font-size: 15.5px; color: #3a3f49; }

/* ---------- 対象者 ---------- */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.who .card h3 { margin: 0 0 10px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.who .card p { margin: 0; font-size: 15px; color: #3a3f49; }
.who .card ul { margin: 10px 0 0; padding-left: 1.2em; font-size: 15px; color: #3a3f49; }

/* ---------- FAQ ---------- */
.faq details {
  border: var(--line); border-radius: 16px; background: #fff;
  padding: 14px 20px; margin-bottom: 12px; box-shadow: var(--shadow-s);
}
.faq summary { font-weight: 800; cursor: pointer; font-size: 16.5px; }
.faq details[open] summary { margin-bottom: 10px; }
.faq p { margin: 0; font-size: 15.5px; color: #3a3f49; }

/* ---------- 帯CTA ---------- */
.cta-band {
  background: var(--yellow); border-top: var(--line); border-bottom: var(--line);
  padding: 54px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 900; margin: 0 0 10px; }
.cta-band p { margin: 0 0 26px; font-weight: 700; }

/* ---------- フッター ---------- */
.site-foot {
  border-top: var(--line); padding: 34px 0; font-size: 14px; color: #4a4f5a;
}
.site-foot .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-foot nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- WIKI ---------- */
.wiki-layout { display: grid; grid-template-columns: 232px 1fr; gap: 44px; align-items: start; }
.wiki-toc {
  position: sticky; top: 96px;
  border: var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-s); padding: 18px 16px;
}
.wiki-toc h2 { font-size: 15px; margin: 0 0 10px; letter-spacing: .08em; }
.wiki-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.wiki-toc li { counter-increment: toc; }
.wiki-toc a {
  display: block; text-decoration: none; color: var(--ink);
  font-size: 14.5px; font-weight: 700; padding: 6px 8px; border-radius: 8px;
}
.wiki-toc a::before { content: counter(toc) ". "; color: var(--cyan-d); font-weight: 900; }
.wiki-toc a:hover { background: #eafaff; }

.wiki-body h2 {
  font-size: clamp(22px, 3.6vw, 29px); font-weight: 900;
  margin: 52px 0 4px; padding-bottom: 8px;
  border-bottom: var(--line);
}
.wiki-body h2:first-child { margin-top: 0; }
.wiki-body h3 { font-size: 19px; margin: 28px 0 6px; }
.wiki-body p { margin: 0 0 14px; }
.wiki-body ul, .wiki-body ol { margin: 0 0 16px; padding-left: 1.35em; }
.wiki-body li { margin-bottom: 6px; }
.wiki-hero {
  border: var(--line-fat); border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 34px; background: var(--cyan);
}
.lore {
  background: #f3ecff; border: var(--line); border-left: 10px solid var(--purple);
  border-radius: 16px; padding: 18px 22px; margin: 0 0 20px;
}
.lore p:last-child { margin-bottom: 0; }
.note {
  background: #eafaff; border: var(--line); border-radius: 16px;
  padding: 16px 20px; margin: 0 0 20px; font-size: 15.5px;
}

table.tbl { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
table.tbl th, table.tbl td { border: 2px solid var(--ink); padding: 9px 12px; text-align: left; }
table.tbl th { background: var(--yellow); font-weight: 800; }
table.tbl tbody tr:nth-child(even) td { background: #fffdf0; }
.tbl-scroll { overflow-x: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.chips li {
  border: var(--line); border-radius: 999px; padding: 4px 14px;
  font-size: 14.5px; font-weight: 700; background: #fff; margin: 0;
}
.chips li b { color: var(--cyan-d); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-art { order: 0; }
  .wiki-layout { grid-template-columns: 1fr; gap: 24px; }
  .wiki-toc { position: static; }
  .section { padding: 46px 0; }
}

/* WIKI本文の図は、となりの本文に対して縦に伸びすぎないよう上限をつける */
.wiki-body .split-art { max-width: 420px; margin: 0 auto; width: 100%; }
.wiki-body .split { align-items: start; }

/* ==================== ずかん（一覧） ==================== */
.zk-list-page { padding: 40px 20px 70px; }
.zk-list-title { font-size: clamp(26px, 5vw, 40px); font-weight: 900; margin: 0 0 10px; }
.zk-list-lead { color: #4a4f5a; margin: 0 0 28px; }

.zk-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.zk-search, .zk-select {
  font: inherit; font-size: 16px; padding: 11px 16px;
  border: var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-s);
}
.zk-search { flex: 1 1 280px; min-width: 0; }
.zk-select { cursor: pointer; }

.zk-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.zk-f {
  font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
  padding: 7px 14px; border: var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); display: inline-flex; align-items: center; gap: 7px;
}
.zk-f span { font-size: 12px; background: #eee8da; border-radius: 999px; padding: 1px 8px; }
.zk-f.is-on { background: var(--yellow); box-shadow: var(--shadow-s); }

.zk-count { font-weight: 800; color: #4a4f5a; margin: 0 0 14px; }
.zk-empty { text-align: center; padding: 40px; font-weight: 700; color: #4a4f5a; }

.zk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.zk-card {
  text-decoration: none; color: var(--ink); background: #fff;
  border: var(--line); border-radius: 16px; box-shadow: var(--shadow-s);
  padding: 12px 8px 10px; text-align: center;
  transition: transform .08s, box-shadow .08s;
}
.zk-card:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.zk-card-art { height: 96px; display: grid; place-items: center; }
.zk-card-art img { width: 96px; height: 96px; object-fit: contain; }
.zk-card-no { font-size: 11px; font-weight: 800; color: #8a8577; letter-spacing: .04em; }
.zk-card-name { font-size: 15px; font-weight: 900; line-height: 1.35; margin: 2px 0 4px; word-break: break-word; }
.zk-card-sub { font-size: 12px; color: var(--orange); font-weight: 800; }
.zk-card-cat { display: block; color: #8a8577; font-size: 11px; font-weight: 700; }

/* ==================== ずかん（詳細） ==================== */
.zk-detail { padding: 28px 20px 70px; max-width: 900px; }
.zk-crumb { margin: 0 0 18px; font-size: 15px; font-weight: 700; }
.zk-crumb a { text-decoration: none; }

.zk-hero {
  display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center;
  border: var(--line-fat); border-radius: 24px; box-shadow: var(--shadow);
  background: #fff; padding: 24px 28px; margin-bottom: 12px;
}
.zk-hero-art { background: #eafaff; border: var(--line); border-radius: 18px; padding: 10px; }
.zk-hero-art img { width: 100%; height: auto; object-fit: contain; }
.zk-no { font-size: 14px; font-weight: 900; color: #8a8577; letter-spacing: .08em; }
.zk-hero-info h1 { font-size: clamp(26px, 5vw, 38px); font-weight: 900; margin: 2px 0 4px; }
.zk-kana { margin: 0 0 16px; color: #4a4f5a; font-size: 15px; font-weight: 700; }
.zk-meta { list-style: none; margin: 0; padding: 0; display: grid;
           grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.zk-meta li { border: 2px solid var(--ink); border-radius: 12px; padding: 7px 12px; background: #fffdf0; }
.zk-meta span { display: block; font-size: 11.5px; font-weight: 800; color: #8a8577; letter-spacing: .04em; }
.zk-meta b { font-size: 16px; font-weight: 900; }
.zk-stars { color: var(--orange); letter-spacing: .06em; }

.zk-detail h2 {
  font-size: 23px; font-weight: 900; margin: 44px 0 10px;
  padding-bottom: 8px; border-bottom: var(--line);
}
.zk-detail p { margin: 0 0 14px; }
.zk-muted { color: #4a4f5a; font-size: 15px; }

.zk-stat { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.zk-radar { text-align: center; }
.zk-radar .rdr { width: 100%; height: auto; }
.zk-radar small { display: block; font-weight: 800; color: #4a4f5a; font-size: 13px; }
.zk-stat-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.zk-stat-tbl td.basis { font-size: 13.5px; color: #4a4f5a; }
.zk-stat-tbl tfoot th, .zk-stat-tbl tfoot td { background: #fff6da; font-weight: 900; }

.zk-stages { display: grid; gap: 14px; }
.zk-stage { border: var(--line); border-radius: 18px; background: #fff;
            box-shadow: var(--shadow-s); padding: 16px 20px;
            display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; align-items: start; }
.zk-stage-head { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.zk-stage-no { flex: none; width: 34px; height: 34px; border-radius: 50%;
               background: var(--cyan); border: var(--line); color: #fff;
               display: grid; place-items: center; font-weight: 900; }
.zk-stage-head b { font-size: 17px; font-weight: 900; }
.zk-stage-head small { display: block; font-size: 13px; color: #4a4f5a; font-weight: 700; line-height: 1.5; }
.zk-stage-art { background: #f6f4ec; border: 2px solid var(--ink); border-radius: 14px; padding: 6px; }
.zk-stage-art img { width: 100%; height: auto; object-fit: contain; }
.zk-stage p { margin: 0; font-size: 15.5px; }
.zk-noimg { display: grid; place-items: center; height: 180px; color: #8a8577; font-weight: 700; }

.zk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zk-chip {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px 4px 5px;
  background: #fff; font-size: 14.5px; font-weight: 700;
}
.zk-chip:hover { background: var(--yellow); }
.zk-chip img { width: 28px; height: 28px; object-fit: contain; }

@media (max-width: 780px) {
  .zk-hero { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .zk-hero-art { max-width: 220px; margin: 0 auto; }
  .zk-meta { text-align: left; }
  .zk-stat { grid-template-columns: 1fr; }
  .zk-stage { grid-template-columns: 1fr; }
  .zk-stage-art { max-width: 200px; }
}

/* ==================== パンパン図鑑・くらべる ==================== */
.pp-pref { font-size: 22px; font-weight: 900; margin: 40px 0 14px;
           padding-bottom: 6px; border-bottom: var(--line);
           display: flex; align-items: baseline; gap: 10px; }
.pp-pref span { font-size: 14px; color: #8a8577; font-weight: 700; }
.pp-hero { grid-template-columns: 1fr 1fr; }
.pp-faces { display: flex; gap: 14px; }
.pp-faces figure { margin: 0; flex: 1; text-align: center;
                   background: #ffeded; border: var(--line); border-radius: 16px; padding: 10px; }
.pp-faces figure + figure { background: #edfaf0; }
.pp-faces img { width: 100%; height: auto; object-fit: contain; }
.pp-faces figcaption { font-size: 12.5px; font-weight: 800; color: #4a4f5a; margin-top: 6px; }
.pp-growth { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
             gap: 12px; }
.pp-growth-cell { background: #fff; border: var(--line); border-radius: 14px;
                  padding: 8px; text-align: center; box-shadow: var(--shadow-s); }
.pp-growth-cell img { width: 100%; height: auto; }
.pp-growth-cell small { font-weight: 800; color: #4a4f5a; }

.hk-tbl th[data-k] { cursor: pointer; user-select: none; white-space: nowrap; }
.hk-tbl th[data-k]:hover { background: #ffdf6b; }
.hk-arrow { margin-left: 3px; font-size: 11px; }
.hk-tbl td { white-space: nowrap; }
.hk-name a { display: flex; align-items: center; gap: 8px; text-decoration: none;
             color: var(--ink); font-weight: 800; }
.hk-name img { border-radius: 6px; }
.hk-stars { color: var(--orange); }

@media (max-width: 780px) {
  .pp-hero { grid-template-columns: 1fr; }
}

/* ===== えさずかん（wiki 6-2）2026-08-24 ===== */
.esa-grid { margin-top: 18px; }
.esa-card img { width: 84px; height: 84px; object-fit: contain; float: right; margin: 0 0 6px 10px; }
.esa-card .esa-en { font-size: 12px; color: #8a8172; font-weight: 700; margin-left: 8px; letter-spacing: .04em; }
.esa-card .esa-meta { font-size: 13px; color: #2E7D5B; font-weight: 700; margin: 2px 0 8px; }
/* えさの くわしい説明（2026-08-25 オーナー指示で 1行→3段に）。
   なぜ きくのか（esa-why）と、あう なかま（esa-who）を 足した */
.esa-card .esa-why { font-size: 13.5px; line-height: 1.85; margin: 8px 0 0; clear: both; }
.esa-card .esa-who {
  font-size: 12.5px; line-height: 1.7; margin: 8px 0 0; padding: 7px 10px;
  background: #F4F1E8; border-left: 3px solid #2E7D5B; border-radius: 0 6px 6px 0;
  color: #4A443A; font-weight: 700;
}


/* ── 添加物ずかん（2026-08-25）──
   115体を はたらきごとに ならべる。良い悪いで 分けず、
   なんのために 入って いるのかを 見せる ための ならべかた。 */
.add-why { font-size: 13.5px; color: #4A443A; margin: 2px 0 10px; }
.add-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px; margin: 0 0 22px;
}
.add-card {
  display: block; padding: 9px 11px; background: #FBF6EA;
  border: 1px solid #E0D6BE; border-radius: 8px;
  text-decoration: none; color: #33302B; transition: background .15s, border-color .15s;
}
.add-card:hover { background: #F4F1E8; border-color: #2E7D5B; }
.add-name { display: block; font-weight: 800; font-size: 14.5px; line-height: 1.4; }
.add-sub { display: block; font-size: 11.5px; color: #8a8172; margin-top: 1px; }
.add-meta { display: block; font-size: 11.5px; color: #2E7D5B; font-weight: 700; margin-top: 4px; }
.add-note { font-size: 13px; color: #6E5F50; margin-top: 4px; }
@media (max-width: 480px) {
  .add-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* えさずかん：顔の 一覧（タップで 1ぴき 1ページ）2026-09-03 */
.esa-group { margin-top: 18px; }
.esa-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; }
.esa-gdot { width: 14px; height: 14px; border-radius: 50%; background: var(--esa-tint, #EEE); border: 2px solid #33302B; }
.esa-gtag { font-size: 12px; font-weight: 800; color: #6B5E4E; margin-left: auto; }
.esa-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 12px; }
.esa-faces-small { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 4px; }
.esa-face {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px;
  background: #fff; border: 2.5px solid #33302B; border-radius: 18px; box-shadow: 0 4px 0 #33302B;
  text-decoration: none; color: #33302B; text-align: center; transition: transform .12s;
}
.esa-face::before {
  content: ''; position: absolute; left: 50%; top: 14px; width: 100px; height: 100px; border-radius: 50%;
  transform: translateX(-50%); background: var(--esa-tint, #F3ECDD);
}
.esa-face img { position: relative; width: 100px; height: 100px; object-fit: contain; }
.esa-face b { position: relative; font-size: 15px; font-weight: 900; line-height: 1.2; }
.esa-face small {
  position: relative; display: inline-block; font-size: 11px; font-weight: 900; color: #33302B;
  background: #FFD84A; border: 1.5px solid #33302B; border-radius: 999px; padding: 2px 9px;
}
.esa-face:hover { transform: translateY(-3px); }
.esa-face.is-small { padding: 10px 4px 8px; border-radius: 14px; box-shadow: 0 3px 0 #33302B; gap: 4px; }
.esa-face.is-small::before { top: 10px; width: 64px; height: 64px; }
.esa-face.is-small img { width: 64px; height: 64px; }
.esa-face.is-small b { font-size: 12px; }
.esa-face.is-small small { font-size: 10px; padding: 1px 7px; }
.esa-face.current { outline: 3px solid #FFD84A; outline-offset: 2px; }
.g-hiryo { --esa-tint: #E4F3DF; } .g-esa { --esa-tint: #FFF1C9; } .g-umi { --esa-tint: #DDEEF8; }
.g-hodagi { --esa-tint: #EADFCF; } .g-genryo { --esa-tint: #FFE3D6; } .g-other { --esa-tint: #EEE8F5; }
/* 1ぴきの ページ */
.esa-page .esa-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; position: relative; }
.esa-page .esa-hero-img { width: 200px; height: 200px; object-fit: contain; flex: none; position: relative; }
.esa-page .esa-hero::before {
  content: ''; position: absolute; left: 24px; top: 50%; width: 170px; height: 170px; border-radius: 50%;
  transform: translateY(-50%); background: var(--esa-tint, #F3ECDD);
}
.esa-page .esa-hero h1 { margin: 0 0 6px; font-size: clamp(24px, 4vw, 34px); }
.esa-page .esa-hero .esa-en { font-size: 13px; color: #8a8172; font-weight: 700; margin-left: 10px; letter-spacing: .04em; }
.esa-page .esa-meta { color: #2E7D5B; font-weight: 800; margin: 0 0 8px; }
.esa-page .esa-desc { font-size: 16px; font-weight: 700; margin: 0; }
.esa-page .esa-sec { margin-top: 16px; }
.esa-page .esa-sec h2 { margin: 0 0 8px; font-size: 18px; }
.esa-page .esa-sec p, .esa-page .esa-sec li { line-height: 1.9; }
.esa-page .esa-sec-who { background: #EEF7EC; }
.esa-page .esa-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin: 22px 0 8px; }
.esa-page .esa-others-title { font-size: 16px; margin: 18px 0 8px; }
@media (max-width: 480px) {
  .esa-faces { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .esa-faces-small { grid-template-columns: repeat(3, 1fr); }
  .esa-page .esa-hero { justify-content: center; text-align: center; }
  .esa-page .esa-hero::before { left: 50%; top: 0; transform: translateX(-50%); }
}

/* お礼の スペシャルカード（WIKI 7-2・2026-09-03） */
.rw-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0 22px; }
@media (min-width: 720px) { .rw-cards { grid-template-columns: 1fr 1fr; } }
.rw-card { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: start; }
.rw-card .rw-face { width: 140px; height: 140px; object-fit: contain; border-radius: 16px; background: var(--rw-tint, #FFF6DF); padding: 8px; box-sizing: border-box; }
.rw-pop { --rw-tint: #FFF1C9; } .rw-ton { --rw-tint: #FFE3D6; }
.rw-card h3 { margin: 2px 0 6px; font-size: 20px; }
.rw-card p { margin: 0 0 8px; line-height: 1.8; }
.rw-card .rw-fact { font-size: 14px; background: rgba(255,255,255,.7); border-radius: 10px; padding: 8px 10px; }
.rw-card .rw-links { margin: 0; font-weight: 800; }
@media (max-width: 480px) { .rw-card { grid-template-columns: 1fr; } .rw-card .rw-face { margin: 0 auto; } }
.rw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 24px; }
.rw-step { background: #fff; border: 2.5px solid #33302B; border-radius: 14px; box-shadow: 0 3px 0 #33302B; padding: 10px; text-align: center; }
.rw-step img { width: 100px; height: 100px; object-fit: contain; }
.rw-step b { display: block; font-size: 14px; margin: 4px 0; }
.rw-step p { font-size: 12.5px; line-height: 1.7; margin: 0; text-align: left; }

/* ---------- どうが（ねこぷりんのたべものインタビュー・2026-10-04） ---------- */
.vd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 10px 0 6px; }
.vd-card { background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; display: flex; flex-direction: column; }
.vd-main { display: block; color: var(--ink); text-decoration: none; }
.vd-main:hover .vd-play, .vd-player:hover .vd-play { transform: scale(1.1); }
.vd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #2a1d12; border-bottom: var(--line); }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* ▶は 右上の「#2」の 上（まんなか・右下は キャラの 顔、左上は 題字に かぶる） */
.vd-play { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; border: var(--line); box-shadow: var(--shadow-s); display: flex; align-items: center; justify-content: center;
  font-size: 18px; padding-left: 4px; transition: transform .15s; }
.vd-body { display: block; padding: 10px 14px 12px; line-height: 1.5; }
.vd-body b { display: block; font-size: 16px; }
.vd-body small { color: #4a4f5a; font-size: 13px; }
.vd-role, .vd-new { display: inline-block; font-size: 12px; font-weight: 700; border: 2px solid var(--ink); border-radius: 99px; padding: 0 10px; margin: 0 6px 4px 0; }
.vd-role { background: var(--yellow); }
.vd-new { background: var(--red); color: #fff; }
.vd-en { display: block; padding: 6px 14px 10px; font-size: 14px; font-weight: 700; margin-top: auto; }
.vd-more { margin: 4px 0 0; font-weight: 700; }
.vd-ep { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 26px 0 34px;
  padding: 18px; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.vd-player { position: relative; aspect-ratio: 16 / 9; border: var(--line); border-radius: 14px; overflow: hidden; background: #2a1d12; cursor: pointer; }
.vd-player img { width: 100%; height: 100%; object-fit: cover; }
.vd-player .vd-play { width: 56px; height: 56px; font-size: 24px; right: 8px; top: 8px; }
.vd-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vd-info h2 { margin: 2px 0 8px; }
.vd-no { font-weight: 700; color: #4a4f5a; font-size: 14px; }
.vd-no .vd-new { margin-left: 8px; }
.vd-links { display: flex; flex-wrap: wrap; gap: 10px; }
.vd-btn { font-size: 15px; padding: 9px 16px; }
.vd-chips-title { font-weight: 700; font-size: 14px; margin: 8px 0 6px; }
@media (max-width: 780px) {
  .vd-ep { grid-template-columns: 1fr; padding: 14px; }
  .vd-grid { grid-template-columns: 1fr; }
}
