/*
 * 転エン ガイド（依頼者向け 用語解説集／受託者向け 契約注意点集）共通スタイル
 * 会社ページ（/company/styles.css）のトンマナを継承した転スラ風ポータルデザイン。
 */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-panel: #eaf2fb;
  --bg-cyan-50: #e8fbff;

  /* Ten-sura primary palette */
  --blue: #005cb1;
  --blue-deep: #003f82;
  --blue-ink: #002c5c;
  --cyan: #45e7ff;
  --cyan-soft: #b6f0ff;

  /* Ten-sura category rainbow */
  --cat-yellow: #ffec4f;
  --cat-pink: #ff6bc3;
  --cat-purple: #bb59ff;
  --cat-onair: #56e5ff;
  --cat-lime: #bfff4f;
  --cat-orange: #ffb400;
  --cat-red: #ff3737;
  --cat-cornflower: #448fff;
  --cat-green: #00ff54;

  /* Brand: "縁" オレンジ */
  --en: #ea580c;
  --en-deep: #c2410c;
  --en-light: #fb923c;

  /* Ink */
  --ink: #0c1e3a;
  --ink-1: #1f2a44;
  --ink-2: #4a5568;
  --ink-3: #7b8498;

  /* Border */
  --border: #d6e1ee;
  --border-blue: rgba(0, 92, 177, 0.2);

  /* Radius */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 44, 92, 0.05), 0 1px 3px rgba(0, 44, 92, 0.06);
  --shadow: 0 6px 18px rgba(0, 44, 92, 0.09), 0 2px 4px rgba(0, 44, 92, 0.05);
  --shadow-lg: 0 20px 40px -12px rgba(0, 44, 92, 0.18);

  /* Type */
  --font-display: "Montserrat", "Inter", sans-serif;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-jp);
  font-feature-settings: "palt";
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 外枠の太青フレーム */
body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--blue);
  z-index: 100;
  pointer-events: none;
}
body::before {
  top: 0;
}
body::after {
  bottom: 0;
}
@media (max-width: 640px) {
  body::before,
  body::after {
    height: 6px;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ───── Utility ───── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow--center {
  display: block;
  text-align: center;
}
.br-pc {
  display: none;
}
@media (min-width: 768px) {
  .br-pc {
    display: inline;
  }
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn:hover {
  text-decoration: none;
}
.btn--primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: #ffffff;
}
.btn--accent {
  background: var(--en);
  color: #ffffff;
  border-color: var(--en);
}
.btn--accent:hover {
  background: var(--en-deep);
  border-color: var(--en-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.3);
  color: #ffffff;
}
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover {
  background: var(--bg-panel);
}
.btn--sm {
  padding: 9px 18px;
  font-size: 11px;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 14px;
}

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 10px;
  z-index: 60;
  background: var(--blue);
  color: #ffffff;
}
@media (max-width: 640px) {
  .nav {
    top: 6px;
  }
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__brand:hover {
  color: var(--cyan);
  text-decoration: none;
}
.nav__brand-mark {
  display: inline-flex;
  color: var(--cyan);
}
.nav__brand-text {
  font-family: var(--font-jp);
  font-weight: 700;
}
.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}
@media (min-width: 960px) {
  .nav__links {
    display: flex;
  }
}
.nav__links a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #ffffff;
  line-height: 1.1;
  position: relative;
}
.nav__links a:hover {
  color: var(--cyan);
  text-decoration: none;
}
.nav__en {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.nav__ja {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.08em;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.nav__links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav .btn--primary {
  background: #ffffff;
  color: var(--blue);
  border-color: #ffffff;
}
.nav .btn--primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--blue-deep);
}
/* ナビは「サービスへ」ボタンのみ。常に右寄せ。 */
.nav__inner > .btn {
  margin-left: auto;
}

/* ───── Hero ───── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 24px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, var(--bg-cyan-50) 0%, var(--bg) 80%),
    radial-gradient(ellipse at 20% 10%, rgba(69, 231, 255, 0.3) 0%, transparent 55%);
}
@media (min-width: 768px) {
  .hero {
    padding: 96px 24px 80px;
  }
}

.hero__starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__starfield span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--cat-yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: popStar 3.5s ease-in-out infinite;
}
.hero__starfield span:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; background: var(--cat-yellow); }
.hero__starfield span:nth-child(2) { top: 28%; left: 82%; animation-delay: -0.4s; background: var(--cat-pink); width: 6px; height: 6px; }
.hero__starfield span:nth-child(3) { top: 64%; left: 14%; animation-delay: -0.8s; background: var(--cat-onair); }
.hero__starfield span:nth-child(4) { top: 80%; left: 72%; animation-delay: -1.2s; background: var(--cat-orange); width: 10px; height: 10px; }
.hero__starfield span:nth-child(5) { top: 22%; left: 36%; animation-delay: -1.6s; background: var(--cat-lime); }
.hero__starfield span:nth-child(6) { top: 48%; left: 88%; animation-delay: -2s; background: var(--cat-purple); width: 6px; height: 6px; }
.hero__starfield span:nth-child(7) { top: 74%; left: 44%; animation-delay: -2.4s; background: var(--cat-yellow); }
.hero__starfield span:nth-child(8) { top: 8%; left: 56%; animation-delay: -0.2s; background: var(--cat-cornflower); width: 6px; height: 6px; }
.hero__starfield span:nth-child(9) { top: 40%; left: 4%; animation-delay: -1s; background: var(--cat-pink); }
.hero__starfield span:nth-child(10) { top: 86%; left: 20%; animation-delay: -1.8s; background: var(--cat-onair); width: 6px; height: 6px; }
.hero__starfield span:nth-child(11) { top: 16%; left: 68%; animation-delay: -0.6s; background: var(--cat-orange); }
.hero__starfield span:nth-child(12) { top: 56%; left: 60%; animation-delay: -2.2s; background: var(--cat-lime); width: 6px; height: 6px; }

@keyframes popStar {
  0%, 100% { opacity: 0.4; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero__super {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero__super-line {
  width: 36px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}
.hero__title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
  margin: 0;
  text-align: center;
}
.hero__title em {
  font-style: normal;
  color: var(--en);
  position: relative;
  padding: 0 0.05em;
}
.hero__title em::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 5%;
  height: 26%;
  background: var(--cat-yellow);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.85;
}
.hero__subtitle {
  font-family: var(--font-jp);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--ink-1);
  margin: 0;
  letter-spacing: 0.04em;
}
.hero__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
}

/* Hero 内のまんが（タイトル直後に置くカバー画像） */
.hero .manga {
  width: 100%;
  max-width: 720px;
  margin: 8px auto 0;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .hero .manga {
    margin-top: 14px;
  }
}

/* ───── Hero cover（サムネを主役にしたファーストビュー） ───── */
.hero--cover {
  padding: 40px 24px 36px;
}
@media (min-width: 768px) {
  .hero--cover {
    padding: 56px 24px 44px;
  }
}
.hero__cover {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  isolation: isolate;
}
.hero__cover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118%;
  height: 118%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(69, 231, 255, 0.4) 0%, transparent 62%);
  z-index: -1;
  pointer-events: none;
  animation: haloPulse 6s ease-in-out infinite;
}
.hero__cover img {
  max-width: min(100%, 720px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--r-lg);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-lg);
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero__cue:hover {
  color: var(--blue-deep);
  text-decoration: none;
}
.hero__cue svg {
  animation: cueBob 1.8s ease-in-out infinite;
}
@keyframes cueBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* スクリーンリーダー専用（画面上は非表示の見出し等） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ───── Section base ───── */
.section {
  position: relative;
  padding: 72px 24px;
  background: var(--bg);
}
@media (min-width: 768px) {
  .section {
    padding: 96px 24px;
  }
}
.section--alt {
  background: var(--bg-soft);
}
.section__inner {
  max-width: 920px;
  margin: 0 auto;
}
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 48px;
}
.section__episode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.section__episode-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.section__episode-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.section__titling {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 760px;
}
.section__title {
  font-family: var(--font-jp);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--blue-ink);
  margin: 0;
  line-height: 1.4;
}
.section__lead {
  font-size: 14px;
  color: var(--ink-2);
  margin: 8px 0 0;
  max-width: 680px;
  line-height: 1.95;
}

/* ───── Volume（巻 / Episode）ブロック ───── */
.volume {
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .volume {
    padding: 36px 40px 34px;
  }
}
.volume::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--cat-yellow);
}
.volume:nth-of-type(3n + 1)::before { background: var(--cat-yellow); }
.volume:nth-of-type(3n + 2)::before { background: var(--cat-pink); }
.volume:nth-of-type(3n + 3)::before { background: var(--cat-onair); }

.volume__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.volume__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 16px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  white-space: nowrap;
}
.volume__badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.volume__badge-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--cyan);
}
.volume__title {
  font-family: var(--font-jp);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 900;
  color: var(--blue-ink);
  margin: 0;
  line-height: 1.45;
  letter-spacing: 0.02em;
  flex: 1 1 280px;
}

/* 漫画パネル */
.manga {
  margin: 0 0 24px;
  border: 2px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-soft);
}
.manga img {
  width: 100%;
}
.manga figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  background: #ffffff;
  border-top: 1px dashed var(--border);
}

/* 解説本文 */
.prose {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-1);
}
.prose p {
  margin: 0 0 16px;
}
.prose strong {
  color: var(--blue-deep);
  font-weight: 700;
}
.prose .mark {
  background: linear-gradient(transparent 60%, var(--cat-yellow) 60%);
  font-weight: 700;
  color: var(--blue-ink);
}

/* 要点カード（なぜ重要 / 押さえる要点 / 注意） */
.points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
@media (min-width: 720px) {
  .points--2 {
    grid-template-columns: 1fr 1fr;
  }
}
.point {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
}
.point__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.point__label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cat-onair);
}
.point--why { border-color: var(--border-blue); }
.point--why .point__label::before { background: var(--cat-pink); }
.point--key .point__label::before { background: var(--cat-onair); }
.point--warn { background: #fff7ed; border-color: rgba(234, 88, 12, 0.25); }
.point--warn .point__label { color: var(--en-deep); }
.point--warn .point__label::before { background: var(--en); }
.point__body {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-1);
  margin: 0;
}
.point__body strong {
  color: var(--blue-deep);
}
.point--warn .point__body strong {
  color: var(--en-deep);
}

/* ───── 記事（まんが解説ブログ：1カラム・読み物） ───── */
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article .manga {
  margin: 0 0 30px;
}
/* リード文（記事の導入） */
.article__lead {
  font-size: 16.5px;
  line-height: 2;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.article__lead strong {
  color: var(--blue-deep);
  font-weight: 700;
}
/* 本文 */
.article__body {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-1);
}
.article__body p {
  margin: 0 0 18px;
}
.article__body p:last-child {
  margin-bottom: 0;
}
.article__body strong {
  color: var(--blue-deep);
  font-weight: 700;
}
.article__body .mark {
  background: linear-gradient(transparent 60%, var(--cat-yellow) 60%);
  font-weight: 700;
  color: var(--blue-ink);
}
.article__body .callout {
  margin-top: 28px;
}
/* 見出し（シンプル：左の青ライン） */
.article__h2 {
  font-family: var(--font-jp);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--blue-ink);
  line-height: 1.5;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}
.article__body > .article__h2:first-child {
  margin-top: 0;
}

/* ───── 用語解説（クライアント向け） ───── */
.phase {
  margin-bottom: 30px;
}
.phase__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 900;
  color: var(--blue-ink);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.phase__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--cat-yellow);
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}
.phase:nth-of-type(5n + 1) .phase__chip { background: var(--cat-yellow); }
.phase:nth-of-type(5n + 2) .phase__chip { background: var(--cat-pink); color: #fff; }
.phase:nth-of-type(5n + 3) .phase__chip { background: var(--cat-onair); }
.phase:nth-of-type(5n + 4) .phase__chip { background: var(--cat-lime); }
.phase:nth-of-type(5n + 5) .phase__chip { background: var(--cat-orange); color: #fff; }

.table-wrap {
  border: 2px solid var(--border);
  border-radius: var(--r);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.glossary {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 13.5px;
}
table.glossary thead th {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
table.glossary tbody td {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.75;
  color: var(--ink-1);
}
table.glossary tbody tr:nth-child(even) td {
  background: var(--bg-soft);
}
table.glossary td.term {
  font-weight: 700;
  color: var(--blue-deep);
  white-space: nowrap;
}
table.glossary td .en {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
table.glossary td.note {
  color: var(--ink-2);
}
table.glossary td.note strong {
  color: var(--en-deep);
}

/* 注意・補足リスト */
.callout {
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-left: 5px solid var(--en);
  border-radius: var(--r);
  padding: 20px 22px;
  margin-top: 24px;
}
.callout__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 15px;
  color: var(--en-deep);
  margin: 0 0 12px;
}
.callout ul {
  margin: 0;
  padding-left: 20px;
}
.callout li {
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-1);
}
.callout li:last-child {
  margin-bottom: 0;
}
.callout li strong {
  color: var(--en-deep);
}

/* 早見表 */
.cheatsheet {
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.cheatsheet img {
  width: 100%;
  border-radius: var(--r);
}
.cheatsheet__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.8;
}

/* ───── Notes grid（その他の注意点カード） ───── */
.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .notes-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.note-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.note-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.note-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--cat-cornflower);
}
.note-card:nth-child(6n + 1)::before { background: var(--cat-pink); }
.note-card:nth-child(6n + 2)::before { background: var(--cat-onair); }
.note-card:nth-child(6n + 3)::before { background: var(--cat-lime); }
.note-card:nth-child(6n + 4)::before { background: var(--cat-orange); }
.note-card:nth-child(6n + 5)::before { background: var(--cat-purple); }
.note-card:nth-child(6n + 6)::before { background: var(--cat-yellow); }
.note-card__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 15.5px;
  color: var(--blue-ink);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.note-card__title .num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}
.note-card__body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}
.note-card__body strong {
  color: var(--blue-deep);
}

/* ───── Feature（最重要導線：用語早見表を一番目立たせる） ───── */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border: 3px solid var(--en);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s, box-shadow 0.25s;
}
@media (min-width: 760px) {
  .feature {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -16px rgba(234, 88, 12, 0.35);
  text-decoration: none;
}
.feature__media {
  background: var(--bg-soft);
  border-bottom: 2px solid var(--border);
  min-height: 200px;
}
@media (min-width: 760px) {
  .feature__media {
    border-bottom: none;
    border-right: 2px solid var(--border);
  }
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature__body {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 14px;
  background: var(--en);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature__title {
  font-family: var(--font-jp);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--blue-ink);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.feature__desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0;
}
.feature__more {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--en);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.feature:hover .feature__more {
  color: var(--en-deep);
}

/* ───── TOC（目次カード：サムネ＋巻タイトル） ───── */
.toc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .toc {
    grid-template-columns: repeat(3, 1fr);
  }
}
.toc-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.toc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.toc-card__thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
  border-bottom: 2px solid var(--border);
}
.toc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.toc-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}
.toc-card__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 14px;
  background: var(--blue);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  width: fit-content;
}
.toc-card__badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}
.toc-card__badge-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan);
}
/* 巻数を和文表記にする場合（例：巻ノ一） */
.toc-card__badge--jp {
  padding: 5px 16px;
}
.toc-card__badge--jp .toc-card__badge-num {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.toc-card__title {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 900;
  color: var(--blue-ink);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
}
.toc-card__summary {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.toc-card__more {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--en);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.toc-card:hover .toc-card__more {
  color: var(--en-deep);
}

/* ───── Pager（同階層ページ・転エンへの遷移） ───── */
.pager {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .pager {
    grid-template-columns: 1fr 1fr;
  }
}
.pager--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}
@media (min-width: 720px) {
  .pager--single {
    grid-template-columns: 1fr;
  }
}
.pager__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pager__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.pager__card--accent {
  border-color: var(--en);
}
.pager__kicker {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.pager__card--accent .pager__kicker {
  color: var(--en);
}
.pager__title {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 900;
  color: var(--blue-ink);
  letter-spacing: 0.02em;
}
.pager__desc {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ───── 注意書き（AI翻訳 / 数字は規約を正とする 等） ───── */
.disclaimer {
  max-width: 920px;
  margin: 40px auto 0;
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--r);
  padding: 16px 20px;
}
.disclaimer strong {
  color: var(--ink-2);
}

/* ───── Footer ───── */
.footer {
  background: var(--blue);
  color: #ffffff;
  position: relative;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 56px;
  }
}
.footer__brand {
  max-width: 320px;
}
.footer__logo {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.footer__tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin: 0;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 640px) {
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.footer__col a {
  color: #ffffff;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--cyan);
  text-decoration: none;
}
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

/* ───── Focus ───── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cat-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ───── Reduced motion ───── */
@media (prefers-reduced-motion: reduce) {
  .hero__starfield span,
  .hero__cover::before,
  .hero__cue svg {
    animation: none !important;
  }
}
