/* どうぶつ秘密会議 — style.css */
:root {
  --paper: #fbf6ec;
  --paper2: #f3ecdd;
  --card: #fffdf8;
  --ink: #1b2620;
  --ink2: #43514a;
  --mute: #7a857d;
  --line: #e6ddcb;
  --green: #1f6b4f;
  --green-soft: #e3efe7;
  --accent: #e8613c;
  --gold: #f2a516;
  --night: #0e1a15;
  --logo: #1f6b4f;
  --shadow: 0 1px 2px rgba(45, 33, 12, 0.06), 0 10px 30px -8px rgba(45, 33, 12, 0.16);
  --shadow-lg: 0 2px 4px rgba(45, 33, 12, 0.06), 0 30px 60px -20px rgba(45, 33, 12, 0.3);
  --r: 22px;
  --fd: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', sans-serif;
  --fb: 'Zen Kaku Gothic New', 'Hiragino Sans', 'BIZ UDPGothic', 'Yu Gothic', sans-serif;
  --fe: 'Fraunces', Georgia, serif;
  --w: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0e1713;
    --paper2: #13201a;
    --card: #17241e;
    --ink: #eef2ea;
    --ink2: #c3cdc4;
    --mute: #8d9a91;
    --line: #26362d;
    --green: #74d2a2;
    --green-soft: #1b3027;
    --logo: #2e8b66;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0e1713;
  --paper2: #13201a;
  --card: #17241e;
  --ink: #eef2ea;
  --ink2: #c3cdc4;
  --mute: #8d9a91;
  --line: #26362d;
  --green: #74d2a2;
  --green-soft: #1b3027;
  --logo: #2e8b66;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: 'palt' 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* 紙の質感 */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(120, 100, 60, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
main,
.site-footer,
.site-header {
  position: relative;
  z-index: 1;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
svg {
  width: 1em;
  height: 1em;
  flex: none;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 10px;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}
.center {
  text-align: center;
  margin-top: 36px;
}

/* ---------- 読書進捗 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--green), var(--gold), var(--accent));
}
body:not(.is-article) .progress {
  display: none;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: transform 0.35s var(--ease);
}
.site-header.hide {
  transform: translateY(-100%);
}
.hd-in {
  max-width: var(--w);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.logo-mark {
  width: 42px;
  height: 42px;
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text small {
  font-size: 10.5px;
  color: var(--mute);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.logo-text b {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.hd-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-btn {
  background: none;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--ink2);
  transition: background 0.2s, color 0.2s;
}
.nav-btn:hover,
.nav-btn[aria-expanded='true'] {
  background: var(--green-soft);
  color: var(--green);
}
.has-mm::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-3px) rotate(45deg);
}
.hd-tools {
  display: flex;
  gap: 6px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--ink2);
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  color: var(--green);
}
.js-menu {
  display: none;
}
.megamenu {
  border-top: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.mm-in {
  max-width: var(--w);
  margin: 0 auto;
  padding: 18px 20px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 6px;
}
.mm-in a,
.drawer-corners a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.mm-in a:hover {
  background: color-mix(in srgb, var(--c) 12%, transparent);
}
.mm-emoji {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: color-mix(in srgb, var(--c) 16%, var(--card));
  flex: none;
}
.mm-in b,
.drawer-corners b {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
}
.mm-in small,
.drawer-corners small {
  font-family: var(--fe);
  font-style: italic;
  color: var(--mute);
  font-size: 12px;
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 14, 11, 0.5);
  backdrop-filter: blur(4px);
}
.drawer-in {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--paper);
  padding: 24px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: slidein 0.35s var(--ease);
}
.drawer-in > a {
  padding: 12px 10px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer-h {
  font-size: 12px;
  color: var(--mute);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 18px 10px 6px;
}
@keyframes slidein {
  from {
    transform: translateX(100%);
  }
}

/* ---------- 検索 ---------- */
.search-ov {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 14, 11, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  padding: 10vh 16px 16px;
}
.search-ov[hidden] {
  display: none;
}
.search-box {
  width: min(680px, 100%);
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 78vh;
  animation: pop 0.3s var(--ease);
}
@keyframes pop {
  from {
    transform: translateY(14px) scale(0.98);
    opacity: 0;
  }
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  color: var(--mute);
}
.search-field input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.search-close {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  font-size: 12px;
  padding: 3px 8px;
  color: var(--mute);
}
.search-res {
  overflow-y: auto;
  padding: 8px;
}
.sr {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
}
.sr:hover,
.sr.on {
  background: var(--green-soft);
}
.sr img,
.sr .sr-ph {
  width: 88px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
  background: var(--paper2);
  display: grid;
  place-items: center;
}
.sr b {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
}
.sr small {
  color: var(--mute);
  font-size: 12.5px;
}
.sr-empty {
  padding: 28px;
  text-align: center;
  color: var(--mute);
}
.sr-hint {
  padding: 14px 12px 6px;
  color: var(--mute);
  font-size: 13px;
}
.sr-hint button {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 4px 4px 0 0;
  font-size: 13px;
}

/* ---------- 共通部品 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-main {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -10px var(--green);
}
:root[data-theme='dark'] .btn-main {
  color: #0e1713;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn-main {
    color: #0e1713;
  }
}
.btn-ghost {
  border-color: currentColor;
  background: transparent;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  text-decoration: none;
  white-space: nowrap;
}
.chip-ghost {
  color: var(--ink2);
  background: transparent;
  border: 1px solid var(--line);
}
.paws {
  display: inline-flex;
  gap: 1px;
  vertical-align: middle;
}
.paws i {
  font-size: 13px;
  color: var(--line);
  display: inline-grid;
}
.paws i.on {
  color: var(--gold);
}
.stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--fd);
  font-weight: 900;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 248, 0.95);
  border: 3px double;
  transform: rotate(-12deg);
  box-shadow: var(--shadow);
  line-height: 1;
}
.stamp.sm {
  font-size: 13px;
  padding: 8px;
  top: 10px;
  right: 10px;
}
.stamp.lg {
  position: static;
  font-size: 26px;
  padding: 18px;
  transform: rotate(-10deg);
}
.stamp-true {
  color: #13a36b;
  border-color: #13a36b;
}
.stamp-false {
  color: #e53935;
  border-color: #e53935;
}
.stamp-gray {
  color: #7d7d7d;
  border-color: #7d7d7d;
}
.thumb-ph {
  width: 100%;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  font-size: 54px;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 30%, var(--card)), color-mix(in srgb, var(--c) 12%, var(--paper2)));
}
.thumb-ph.big {
  font-size: 110px;
}
.sec-head {
  max-width: var(--w);
  margin: 0 auto 26px;
  padding: 0 20px;
}
.sec-kicker {
  font-family: var(--fe);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  font-size: 14px;
}
.sec-head h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.03em;
}
.sec-head > p:not(.sec-kicker) {
  color: var(--ink2);
  margin: 8px 0 0;
}

/* ---------- カード ---------- */
.grid {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 26px 22px;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--paper2);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-img img {
  transform: scale(1.06);
}
.rank {
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--fe);
  font-weight: 600;
  font-size: 19px;
  padding: 0 8px;
}
.card-body {
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.card-animal {
  font-size: 12px;
  color: var(--mute);
  font-weight: 700;
}
.card-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.02em;
}
.card-sum {
  font-size: 14px;
  color: var(--ink2);
  margin: 0;
  line-height: 1.75;
}
.card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--mute);
  padding-top: 4px;
}

/* ---------- トップ：ヒーロー ---------- */
.home-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--night);
  margin-top: -1px;
}
.hh-bg {
  position: absolute;
  inset: 0;
}
.hh-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  transform: scale(1.08);
  animation: kenburns 30s ease-in-out infinite alternate;
}
@keyframes kenburns {
  to {
    transform: scale(1.16) translate(-1.5%, -1%);
  }
}
.hh-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 10, 0.88) 0%, rgba(6, 14, 10, 0.62) 42%, rgba(6, 14, 10, 0.1) 75%), linear-gradient(0deg, rgba(6, 14, 10, 0.7), transparent 40%);
}
.hh-in {
  position: relative;
  z-index: 2;
  max-width: var(--w);
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px 90px;
}
.hh-kicker {
  font-family: var(--fe);
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-size: 13px;
  margin: 0 0 14px;
}
.hh-title {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 72px);
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hh-title span {
  display: block;
}
.hh-title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(242, 165, 22, 0.75) 62%);
  padding: 0 0.05em;
}
.hh-sub {
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 18px);
  color: rgba(255, 255, 255, 0.86);
  margin: 22px 0 30px;
}
.hh-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.home-hero .btn-main {
  background: var(--gold);
  color: #1b2620;
  box-shadow: 0 12px 30px -10px rgba(242, 165, 22, 0.8);
}
.home-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.hh-stats {
  display: flex;
  gap: clamp(18px, 4vw, 44px);
  margin: 46px 0 0;
}
.hh-stats div {
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 14px;
}
.hh-stats dt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}
.hh-stats dd {
  margin: 0;
  font-size: 15px;
}
.hh-stats b {
  font-family: var(--fe);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  margin-right: 3px;
}
.hh-bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.bub {
  position: absolute;
  max-width: 250px;
  background: rgba(255, 253, 248, 0.94);
  color: #1b2620;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.bub.show {
  opacity: 1;
  transform: none;
}
.bub span {
  margin-right: 4px;
}

/* ---------- 今日の秘密 ---------- */
.today,
.chapters,
.rank-sec,
.new-sec,
.groups-sec,
.rel,
.list-body {
  padding: 80px 0 0;
}
.today-card {
  max-width: calc(var(--w) - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--card);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}
.today-card:hover {
  transform: translateY(-4px);
}
.today-img {
  overflow: hidden;
  min-height: 100%;
}
.today-img img,
.today-img .thumb-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}
.today-body {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  border-left: 6px solid var(--c);
}
.today-body h3 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.45;
  margin: 0;
}
.today-body p {
  color: var(--ink2);
  margin: 0;
}
.read-more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  color: var(--c);
}

/* ---------- ホント？ウソ？ ---------- */
.hq {
  margin-top: 90px;
  background: var(--night);
  color: #f1f4ee;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hq::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  right: -200px;
  top: -260px;
  background: radial-gradient(circle, rgba(242, 165, 22, 0.22), transparent 65%);
}
.hq-in {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  position: relative;
}
.hq-head h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.3;
  margin: 0 0 12px;
}
.hq-head p {
  color: rgba(241, 244, 238, 0.75);
}
.hq .btn-ghost {
  color: #fff;
}
.hq-cards {
  display: grid;
  gap: 16px;
}
.hq-loading {
  color: rgba(255, 255, 255, 0.6);
}
.qc {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 20px 22px;
  backdrop-filter: blur(6px);
}
.qc-q {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.qc-q span {
  margin-right: 6px;
}
.qc-btns {
  display: flex;
  gap: 10px;
}
.qc-btns button,
.pq-btns button {
  flex: 1;
  border-radius: 14px;
  padding: 12px;
  font-weight: 900;
  font-family: var(--fd);
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.qc-btns button:hover {
  transform: translateY(-2px);
}
.qc-btns button[data-v='1']:hover,
.qc-btns button.pick-1 {
  border-color: #3fd08c;
  background: rgba(63, 208, 140, 0.16);
}
.qc-btns button[data-v='0']:hover,
.qc-btns button.pick-0 {
  border-color: #ff6b5e;
  background: rgba(255, 107, 94, 0.16);
}
.qc-res {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: rgba(241, 244, 238, 0.86);
  animation: pop 0.4s var(--ease);
}
.qc-res b {
  font-family: var(--fd);
  font-size: 17px;
  margin-right: 8px;
}
.qc-res b.ok {
  color: #3fd08c;
}
.qc-res b.ng {
  color: #ff8a7e;
}
.qc-res a {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 章 ---------- */
.ch-grid {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.ch {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  position: relative;
}
.ch:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-lg);
}
.ch-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: color-mix(in srgb, var(--c) 18%, var(--paper2));
  display: grid;
  place-items: center;
}
.ch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.ch:hover .ch-img img {
  transform: scale(1.07);
}
.ch-emoji {
  font-size: 70px;
}
.ch-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  border-top: 5px solid var(--c);
}
.ch-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--c);
  letter-spacing: 0.12em;
}
.ch h3 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 21px;
  margin: 0;
}
.ch p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.7;
}
.ch-count {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--c);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- なかま ---------- */
.grp-row {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.grp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 10px;
  text-decoration: none;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s;
  text-align: center;
}
.grp:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}
.grp-emoji {
  font-size: 40px;
  transition: transform 0.4s var(--ease);
}
.grp:hover .grp-emoji {
  transform: scale(1.18) rotate(-8deg);
}
.grp-img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin-bottom: 6px;
  background: #fbf3e2;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease);
}
.grp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grp:hover .grp-img {
  transform: scale(1.08) rotate(-4deg);
}
@media (max-width: 560px) {
  .grp-img {
    width: 88px;
    height: 88px;
  }
}
.grp b {
  font-size: 14px;
  line-height: 1.35;
}
.grp small {
  color: var(--mute);
  font-size: 12px;
}

/* ---------- 地図 ---------- */
.map-sec {
  margin-top: 90px;
  background: var(--green-soft);
  padding: 70px 0;
}
.map-in {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 36px;
  align-items: center;
}
.map-txt h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 12px;
  line-height: 1.3;
}
.map-txt p {
  color: var(--ink2);
}
.map-box {
  position: relative;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-box svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-box .land {
  fill: color-mix(in srgb, var(--green) 20%, var(--paper2));
}
.map-dot {
  cursor: pointer;
  transition: r 0.2s;
}
.map-dot circle {
  fill: var(--k, var(--accent));
  stroke: var(--card);
  stroke-width: 2.5;
  transition: transform 0.25s var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}
.map-dot:hover circle,
.map-dot.on circle {
  transform: scale(1.6);
}
.map-dot .pulse {
  fill: none;
  stroke: var(--k, var(--accent));
  stroke-width: 2;
  animation: pulse 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
.map-tip {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  font-size: 13px;
  max-width: 260px;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  line-height: 1.5;
}
.map-tip b {
  display: block;
  font-size: 13.5px;
}
.map-tip small {
  color: var(--mute);
}
.map-page {
  max-width: var(--w);
  margin: 0 auto;
  padding: 30px 20px 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
.map-list {
  background: var(--card);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  max-height: 70vh;
  overflow-y: auto;
  position: sticky;
  top: 90px;
}
.map-list h3 {
  font-family: var(--fd);
  margin: 0 0 10px;
  font-size: 17px;
}
.map-list a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.55;
}
.map-list a:hover {
  color: var(--green);
}
.map-hint {
  color: var(--mute);
  margin: 0;
}

/* ---------- 約束 ---------- */
.promise {
  margin-top: 90px;
  padding: 0 20px;
}
.pr-in {
  max-width: var(--w);
  margin: 0 auto;
  background: var(--card);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.pr-in h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 26px;
}
.pr-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pr-steps b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-family: var(--fe);
  font-size: 20px;
}
.pr-steps h3 {
  font-family: var(--fd);
  font-size: 18px;
  margin: 12px 0 6px;
}
.pr-steps p {
  margin: 0;
  color: var(--ink2);
  font-size: 14.5px;
}

/* ---------- 一覧ページ ---------- */
.list-hero {
  position: relative;
  max-width: var(--w);
  margin: 0 auto;
  padding: 40px 20px 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
.lh-img {
  width: min(360px, 38%);
  flex: none;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  border: 6px solid var(--card);
}
.lh-in h1 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 50px);
  margin: 0 0 8px;
  line-height: 1.25;
  color: var(--c, var(--ink));
}
.lh-emoji {
  margin-right: 10px;
}
.lh-lead {
  color: var(--ink2);
  font-size: 16.5px;
  margin: 0;
  max-width: 40em;
}
.lh-count {
  font-family: var(--fe);
  font-weight: 600;
  font-size: 18px;
  color: var(--c, var(--green));
  margin: 12px 0 0;
}
.crumb {
  font-size: 13px;
  color: var(--mute);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.crumb a {
  text-decoration: none;
}
.crumb a:hover {
  color: var(--green);
}
.list-body {
  padding-top: 36px;
}
.list-tools,
.filters {
  max-width: var(--w);
  margin: 0 auto 26px;
  padding: 0 20px;
}
.sort-tabs {
  display: inline-flex;
  background: var(--paper2);
  border-radius: 999px;
  padding: 4px;
}
.sort-tabs button {
  border: 0;
  background: none;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mute);
}
.sort-tabs button.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.f-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--mute);
  font-size: 18px;
}
.f-search input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.f-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.f-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mute);
  width: 4.5em;
}
.f-btn {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  transition: all 0.2s;
}
.f-btn.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.f-count {
  margin-left: auto;
  color: var(--mute);
  font-size: 14px;
}
.f-count b {
  font-family: var(--fe);
  font-size: 22px;
  color: var(--ink);
}
.empty {
  text-align: center;
  color: var(--mute);
  padding: 40px;
}
.card.is-hidden {
  display: none;
}

/* ---------- 索引 ---------- */
.zukan {
  max-width: var(--w);
  margin: 0 auto;
  padding: 26px 20px 0;
}
.kana-nav {
  position: sticky;
  top: 66px;
  z-index: 5;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  margin-bottom: 10px;
}
.kana-nav a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-weight: 900;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
}
.kana-nav a:hover {
  background: var(--green);
  color: var(--paper);
}
.kana-h {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 30px;
  color: var(--green);
  border-bottom: 2px solid var(--line);
  margin: 30px 0 16px;
  padding-bottom: 4px;
}
.zk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.zk {
  background: var(--card);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.zk:target {
  outline: 3px solid var(--gold);
}
.zk-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.zk-emoji {
  font-size: 28px;
}
.zk h3 {
  font-family: var(--fd);
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.zk-head small {
  font-family: var(--fe);
  font-style: italic;
  color: var(--mute);
}
.zk ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-size: 14px;
  line-height: 1.65;
}
.zk li {
  margin: 4px 0;
}
.zk a {
  text-decoration: none;
}
.zk a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ---------- 記事 ---------- */
.art-hero {
  max-width: var(--w);
  margin: 0 auto;
  padding: 34px 20px 0;
}
.art-hero-in {
  max-width: 860px;
}
.art-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.art-title {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.42;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.art-lead {
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--ink2);
  margin: 0 0 18px;
  line-height: 1.85;
}
.art-meta {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--mute);
  font-weight: 500;
}
.art-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.art-meta .no {
  font-family: var(--fe);
  font-weight: 600;
  color: var(--c);
  font-size: 14px;
}
.art-visual {
  position: relative;
  margin: 26px -6px 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--paper2);
}
.art-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-visual .stamp {
  font-size: 28px;
  padding: 22px;
  top: 22px;
  right: 22px;
}
.art-grid {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
}
.art-main {
  min-width: 0;
  max-width: 740px;
  padding-top: 36px;
}
.art-side {
  padding-top: 36px;
}
.side-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-h {
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
  letter-spacing: 0.12em;
  margin: 0 0 8px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
  counter-reset: t;
}
.toc li a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink2);
  transition: color 0.2s, border-color 0.2s;
}
.toc li a:hover {
  color: var(--ink);
}
.toc li a.on {
  border-left-color: var(--c);
  color: var(--ink);
  font-weight: 700;
}
.toc .toc-x a {
  font-size: 12.5px;
  color: var(--mute);
}

.verdict-top {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--card);
  border-radius: 22px;
  padding: 20px 26px;
  margin-bottom: 26px;
  border: 2px dashed var(--line);
}
.verdict-top p {
  margin: 0;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
}
.verdict-top small {
  display: block;
  font-family: var(--fb);
  font-size: 12px;
  color: var(--mute);
  font-weight: 700;
}
.quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}
.mini-h {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--c, var(--green));
  font-weight: 700;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-h::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.q30,
.talk {
  background: var(--card);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.q30 ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: q;
}
.q30 li {
  counter-increment: q;
  position: relative;
  padding-left: 34px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}
.q30 li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: var(--fe);
  font-size: 13px;
  display: grid;
  place-items: center;
}
.talk-bubble {
  position: relative;
  background: color-mix(in srgb, var(--c) 10%, var(--paper));
  border-radius: 18px 18px 18px 4px;
  padding: 14px 16px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}
.talk-share,
.side-share {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.sh:hover {
  transform: translateY(-2px);
  border-color: var(--ink2);
}
.sh-line svg {
  color: #06c755;
}
.sh.done {
  border-color: var(--green);
  color: var(--green);
}

.pre-quiz {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, var(--card)), var(--card));
  border-radius: 24px;
  padding: 22px 24px;
  margin-bottom: 36px;
  border: 1px solid color-mix(in srgb, var(--c) 25%, var(--line));
}
.pq-k {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c);
}
.pq-q {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.pq-btns {
  display: flex;
  gap: 10px;
}
.pq-btns button {
  border-color: var(--line);
  background: var(--card);
}
.pq-btns button[data-v='true']:hover,
.pq-btns button.pick-true {
  border-color: #13a36b;
  color: #13a36b;
}
.pq-btns button[data-v='false']:hover,
.pq-btns button.pick-false {
  border-color: #e53935;
  color: #e53935;
}
.pq-res {
  margin: 14px 0 0;
  font-size: 15px;
  animation: pop 0.4s var(--ease);
}
.pq-res b {
  font-family: var(--fd);
  margin-right: 8px;
  font-size: 17px;
}
.pq-res b.ok {
  color: #13a36b;
}
.pq-res b.ng {
  color: #e53935;
}

/* 本文 */
.prose {
  font-size: 17px;
  line-height: 2;
}
.prose > p,
.lecture-body > p {
  margin: 0 0 1.35em;
}
.prose h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.5;
  margin: 2.6em 0 1em;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  letter-spacing: 0.02em;
}
.h-num {
  font-family: var(--fe);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--c, var(--green));
  border-radius: 10px;
  padding: 3px 9px;
  margin-top: 0.3em;
  flex: none;
}
.prose h3 {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 19px;
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--c, var(--green));
  line-height: 1.5;
}
.prose strong {
  font-weight: 700;
  color: var(--ink);
}
.prose mark {
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--gold) 55%, transparent) 58%);
  color: inherit;
  padding: 0 1px;
}
.prose a {
  color: var(--green);
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.prose li {
  margin: 0.35em 0;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 20px;
  border-left: 4px solid var(--line);
  color: var(--ink2);
}
.prose hr {
  border: 0;
  border-top: 2px dotted var(--line);
  margin: 2.6em 0;
}
.fig {
  margin: 2.4em -6px;
}
.fig img {
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.fig figcaption {
  font-size: 13.5px;
  color: var(--mute);
  margin-top: 10px;
  text-align: center;
}
.fig figcaption:empty {
  display: none;
}

/* ボックス */
.box {
  margin: 2em 0;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.9;
}
.box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--fd);
  font-weight: 900;
  font-size: 16px;
  border-bottom: 1px dashed var(--line);
}
.box-icon {
  font-size: 20px;
}
.box-body {
  padding: 16px 22px 18px;
}
.box-body > p:last-child,
.box-body > ul:last-child {
  margin-bottom: 0;
}
.box-body p {
  margin: 0 0 0.9em;
}
.box-myth .box-head {
  background: color-mix(in srgb, #e53935 9%, transparent);
}
.box-column .box-head {
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.box-term .box-head {
  background: color-mix(in srgb, var(--green) 10%, transparent);
}
.box-number,
.box-timeline {
  background: var(--card);
}
.nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.num {
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 16px;
}
.num-big {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.25;
  color: var(--c, var(--green));
}
.num-big b {
  font-family: var(--fe);
  font-size: 34px;
  font-weight: 600;
}
.num-text {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.6;
  margin-top: 4px;
}
.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.tl::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.tl li {
  position: relative;
  padding: 0 0 12px 30px;
  display: flex;
  flex-direction: column;
}
.tl li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--c, var(--green));
}
.tl-year {
  font-family: var(--fe);
  font-weight: 600;
  color: var(--c, var(--green));
  font-size: 15px;
}
.tl-text {
  font-size: 14.5px;
}
.box-verdict {
  border: 3px solid;
  position: relative;
}
.box-verdict.v-true {
  border-color: #13a36b;
}
.box-verdict.v-false {
  border-color: #e53935;
}
.box-verdict.v-gray {
  border-color: #8a8a8a;
}
.v-stamp {
  margin-left: auto;
  font-family: var(--fd);
  font-weight: 900;
  border: 2px solid;
  border-radius: 8px;
  padding: 0 10px;
  transform: rotate(-6deg);
}
.v-true .v-stamp {
  color: #13a36b;
}
.v-false .v-stamp {
  color: #e53935;
}
.v-gray .v-stamp {
  color: #7d7d7d;
}
.gl {
  border-bottom: 2px dotted var(--green);
  cursor: help;
  position: relative;
}
.gl-tip {
  position: absolute;
  z-index: 20;
  max-width: 280px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.65;
  padding: 10px 13px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* もっと深く */
.lecture {
  margin: 3.4em -24px 2.6em;
  padding: 34px 24px 20px;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--green-soft), color-mix(in srgb, var(--green-soft) 30%, var(--paper)));
  position: relative;
}
.lecture-label {
  font-family: var(--fe);
  font-style: italic;
  color: var(--green);
  letter-spacing: 0.2em;
  font-size: 13px;
}
.lecture-title {
  font-family: var(--fd) !important;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 28px) !important;
  margin: 4px 0 6px !important;
  display: block !important;
}
.lecture-sub {
  color: var(--ink2);
  font-size: 14px;
  margin: 0 0 18px;
}
.lecture-body h3 {
  border-left-color: var(--green);
}
.box-think {
  background: var(--ink);
  color: var(--paper);
}
.box-think .box-head {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.think-list {
  list-style: none;
  margin: 0;
  padding: 10px 22px 20px;
}
.think-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.think-list li:last-child {
  border: 0;
}
.think-list p {
  margin: 0;
}
.think-no {
  font-family: var(--fe);
  font-weight: 600;
  color: var(--gold);
  flex: none;
}

/* 研究カルテ */
.karte {
  margin: 3em 0;
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.karte::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--line) 50%, transparent) 31px 32px);
  opacity: 0.6;
}
.kr-head {
  position: relative;
  padding: 20px 26px 14px;
  border-bottom: 2px solid var(--c);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.kr-kicker {
  width: 100%;
  font-family: var(--fe);
  font-style: italic;
  color: var(--c);
  letter-spacing: 0.2em;
  font-size: 12.5px;
}
.kr-head h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 24px;
  margin: 0;
}
.kr-place {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink2);
  font-weight: 700;
  font-size: 14px;
}
.kr-place svg {
  color: var(--accent);
}
.kr-body {
  position: relative;
  padding: 10px 26px 22px;
}
.kr-body dl {
  margin: 0;
}
.kr-row {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.75;
}
.kr-row dt {
  font-weight: 700;
  color: var(--mute);
  font-size: 13.5px;
}
.kr-row dd {
  margin: 0;
}
.kr-map {
  width: 100%;
  height: auto;
  margin-top: 16px;
  opacity: 0.95;
}
.kr-map use {
  fill: color-mix(in srgb, var(--green) 18%, var(--paper2));
}
.kr-dot {
  fill: var(--accent);
  stroke: var(--card);
  stroke-width: 5;
  animation: dotb 1.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes dotb {
  50% {
    transform: scale(1.35);
  }
}

/* 英語 */
.english {
  margin: 3.4em 0;
}
.en-head h2 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 24px;
  margin: 2px 0 6px;
}
.en-kicker {
  font-family: var(--fe);
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 13px;
}
.en-head p {
  color: var(--ink2);
  font-size: 14.5px;
  margin: 0 0 16px;
}
.en-card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.en-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.en-bar h3 {
  font-family: var(--fe);
  font-weight: 600;
  font-size: 21px;
  margin: 0;
  line-height: 1.3;
}
.en-tools {
  display: flex;
  gap: 8px;
}
.en-tools button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}
.en-tools button[aria-pressed='true'],
.en-play.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.en-text {
  padding: 18px 22px 8px;
  font-family: var(--fe);
  font-size: 18.5px;
  line-height: 1.9;
  font-weight: 500;
}
.en-p {
  margin: 0 0 1em;
}
.en-s {
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  padding: 1px 2px;
}
.en-s:hover {
  background: var(--green-soft);
}
.en-s.speaking {
  background: color-mix(in srgb, var(--gold) 35%, transparent);
}
.en-s.open::after,
.en-text.alljp .en-s::after {
  content: attr(data-ja);
  display: block;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  margin: 2px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}
.en-sub {
  font-family: var(--fd);
  font-size: 17px;
  margin: 26px 0 12px;
}
.vocab {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.vc {
  position: relative;
  min-height: 110px;
  border: 0;
  background: none;
  padding: 0;
  perspective: 600px;
  text-align: center;
}
.vc-f,
.vc-b {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  backface-visibility: hidden;
  transition: transform 0.5s var(--ease);
  box-shadow: var(--shadow);
}
.vc-f {
  background: var(--card);
}
.vc-f b {
  font-family: var(--fe);
  font-size: 20px;
  font-weight: 600;
}
.vc-f small {
  font-size: 11px;
  color: var(--mute);
}
.vc-b {
  background: var(--ink);
  color: var(--paper);
  transform: rotateY(180deg);
}
.vc-b b {
  font-size: 15px;
}
.vc-b small {
  font-size: 11.5px;
  line-height: 1.5;
  opacity: 0.85;
  margin-top: 4px;
}
.vc.flip .vc-f {
  transform: rotateY(-180deg);
}
.vc.flip .vc-b {
  transform: rotateY(0);
}
.en-quiz {
  display: grid;
  gap: 14px;
}
.eq {
  background: var(--card);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.eq-q {
  margin: 0 0 10px;
  font-family: var(--fe);
  font-size: 17px;
  font-weight: 500;
}
.eq-q small {
  display: block;
  font-family: var(--fb);
  font-size: 13px;
  color: var(--mute);
}
.eq-ch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.eq-ch button {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 8px 12px;
  text-align: left;
  font-family: var(--fe);
  font-size: 15px;
  transition: border-color 0.2s;
}
.eq-ch button small {
  display: block;
  font-family: var(--fb);
  font-size: 11.5px;
  color: var(--mute);
}
.eq-ch button:hover {
  border-color: var(--ink2);
}
.eq-ch button.ok {
  border-color: #13a36b;
  background: color-mix(in srgb, #13a36b 12%, var(--paper));
}
.eq-ch button.ng {
  border-color: #e53935;
  background: color-mix(in srgb, #e53935 10%, var(--paper));
}
.eq-ex {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink2);
}

/* 出典 */
.sources {
  margin: 3em 0 2em;
}
.sources ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sources li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 2px 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}
.src-n {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper2);
  display: grid;
  place-items: center;
  font-family: var(--fe);
  font-size: 12px;
}
.sources a {
  color: var(--green);
  font-size: 12.5px;
  word-break: break-all;
}
.doi-ok {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #13a36b;
  background: color-mix(in srgb, #13a36b 12%, transparent);
  border-radius: 999px;
  padding: 1px 8px 1px 6px;
  white-space: nowrap;
}
.src-note {
  font-size: 12.5px;
  color: var(--mute);
  margin-top: 12px;
}
.tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.tag {
  font-size: 13px;
  text-decoration: none;
  color: var(--ink2);
  background: var(--paper2);
  padding: 4px 12px;
  border-radius: 999px;
}
.tag:hover {
  background: var(--green-soft);
  color: var(--green);
}
.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0;
}
.pn a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  background: var(--card);
  border-radius: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.pn a:hover {
  border-color: var(--green);
}
.pn small {
  color: var(--mute);
  font-weight: 700;
}
.pn-next {
  text-align: right;
}
.rel .sec-head h2 {
  font-size: 26px;
}

/* ---------- クイズページ ---------- */
.quiz-page {
  padding: 40px 20px 0;
}
.qp-in {
  max-width: 760px;
  margin: 0 auto;
}
.qp-in h1 {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 44px);
  margin: 0 0 8px;
}
.qp-board {
  margin-top: 28px;
  background: var(--night);
  color: #f1f4ee;
  border-radius: 30px;
  padding: clamp(20px, 4vw, 40px);
  min-height: 360px;
}
.qp-prog {
  display: flex;
  gap: 5px;
  margin-bottom: 22px;
}
.qp-prog i {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
}
.qp-prog i.ok {
  background: #3fd08c;
}
.qp-prog i.ng {
  background: #ff6b5e;
}
.qp-prog i.now {
  background: var(--gold);
}
.qp-n {
  font-family: var(--fe);
  color: var(--gold);
  font-size: 15px;
}
.qp-q {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.55;
  margin: 6px 0 22px;
}
.qp-next {
  margin-top: 18px;
}
.qp-score {
  text-align: center;
}
.qp-score b {
  font-family: var(--fe);
  font-size: 80px;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.qp-score p {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 20px;
}
.qp-score .btn {
  margin: 6px;
}
.qp-board .btn-ghost {
  color: #fff;
}

/* ---------- about・404 ---------- */
.prose-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 20px 0;
}
.nf {
  text-align: center;
  padding: 100px 20px;
}
.nf-big {
  font-family: var(--fe);
  font-size: 120px;
  color: var(--green);
  margin: 0;
  line-height: 1;
}
.nf h1 {
  font-family: var(--fd);
  font-size: 24px;
}

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 110px;
  background: var(--night);
  color: #dfe6df;
  padding: 60px 20px 30px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold);
}
.ft-in {
  max-width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.site-footer .logo-text small {
  color: #9fb0a5;
}
.ft-brand p {
  color: #b7c3ba;
  font-size: 14px;
}
.ft-promise {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ft-promise svg {
  color: #3fd08c;
  margin-top: 5px;
}
.ft-promise a {
  color: var(--gold);
}
.ft-h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8fa196;
  margin: 0 0 10px;
}
.ft-col ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 14px;
  line-height: 2.1;
}
.ft-col small {
  display: block;
  font-size: 11.5px;
  color: #8fa196;
  line-height: 1.4;
  margin-bottom: 6px;
}
.ft-owner {
  max-width: var(--w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #a9b6ad;
}
.ft-owner a {
  color: #e6ece6;
}
.ft-copy {
  color: #7f9086;
}

/* ---------- 出てくる動き ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1023px) {
  .home-hero {
    align-items: flex-end;
    min-height: 92vh;
  }
  .hh-shade {
    background: linear-gradient(0deg, rgba(6, 14, 10, 0.95) 12%, rgba(6, 14, 10, 0.6) 52%, rgba(6, 14, 10, 0.15));
  }
  .hh-in {
    padding-top: max(170px, 26vh);
    padding-bottom: 50px;
  }
}
@media (max-width: 1040px) {
  .art-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .art-side {
    display: none;
  }
  .art-main {
    margin: 0 auto;
  }
  .grp-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .hd-nav {
    display: none;
  }
  .js-menu {
    display: grid;
  }
  .hd-tools {
    margin-left: auto;
  }
  .today-card {
    grid-template-columns: 1fr;
  }
  .today-body {
    border-left: 0;
    border-top: 6px solid var(--c);
  }
  .hq-in,
  .map-in,
  .map-page {
    grid-template-columns: 1fr;
  }
  .map-list {
    position: static;
    max-height: none;
  }
  .pr-steps {
    grid-template-columns: 1fr;
  }
  .ft-in {
    grid-template-columns: 1fr;
  }
  .list-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .lh-img {
    width: 100%;
    max-width: 420px;
  }
  .quick {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }
  .hd-in {
    padding: 8px 16px;
    gap: 10px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .logo-text b {
    font-size: 17px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .hd-tools .icon-btn[href] {
    display: none;
  }
  .grid,
  .ch-grid,
  .sec-head,
  .grp-row,
  .list-hero,
  .art-hero,
  .art-grid,
  .list-tools,
  .filters,
  .zukan {
    padding-left: 16px;
    padding-right: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .today-card {
    margin: 0 16px;
    max-width: none;
  }
  .grp-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hh-in {
    padding: 40px 16px 44px;
  }
  .hh-stats {
    margin-top: 30px;
  }
  .bub {
    max-width: 190px;
    font-size: 12.5px;
  }
  .prose {
    font-size: 16.5px;
    line-height: 1.95;
  }
  .lecture {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 22px;
    padding: 28px 16px 14px;
  }
  .kr-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .art-visual {
    margin: 20px -16px 0;
    border-radius: 0;
  }
  .fig {
    margin: 2em -16px;
  }
  .fig img {
    border-radius: 0;
  }
  .eq-ch {
    grid-template-columns: 1fr;
  }
  .pn {
    grid-template-columns: 1fr;
  }
  .verdict-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .kana-nav {
    top: 56px;
  }
  .kana-nav a {
    width: 34px;
    height: 34px;
  }
  .f-label {
    width: 100%;
  }
  .mm-in {
    grid-template-columns: 1fr;
  }
}
