/* ===== Brandri — Highlite Design System applied =====
   Crystal palette / diamond motif / Optima + Noto Sans JP bilingual
   NO BOLD: All weights capped at 500
   ============================================================ */

h1, h2, h3, h4, h5, h6, strong, b, em { font-weight: 400; }

:root {
  /* ----- Cool neutral palette (no warm tones) ----- */
  --ivory: #EBEBEB;          /* base page bg */
  --ivory-2: #E0E0E0;        /* secondary bg / hover */
  --paper: #F4F4F4;          /* neutral surface */
  --bg-primary: #D9D9D9;     /* canvas */
  --bg-mid: #DBDAD9;

  --ink: #141414;            /* primary text (neutral, no warm) */
  --ink-2: #1E2340;          /* dark navy */
  --ink-soft: #555555;
  --ink-mute: #8A8A8A;

  --rule: rgba(20,20,20,0.12);
  --rule-soft: rgba(20,20,20,0.06);

  --brand-blue: #3D5070;
  --crystal-purple: #9B8CC8;
  --crystal-blue:   #7BBAD4;
  --crystal-pink:   #C8A4C4;
  --crystal-teal:   #8CC4D0;

  /* Accent (replaces vermillion) */
  --vermillion: #9B8CC8;       /* crystal purple */
  --vermillion-deep: #7A6BA8;
  --gold: #7BBAD4;             /* crystal blue */

  --gradient-crystal: linear-gradient(135deg, #B8A8D8 0%, #88B8D4 40%, #C4A8C8 100%);
  --gradient-dark:    linear-gradient(180deg, #1E2340 0%, #2D3560 60%, #3D4580 100%);

  /* Motion — from Highlite DS */
  --duration-fast:   560ms;
  --duration-base:   520ms;
  --duration-slow:   720ms;
  /* ディゾルブ用: 両端がなだらかで急な立ち上がり/停止のないease-in-out */
  --easing-standard: cubic-bezier(0.65, 0, 0.35, 1);
  --easing-entrance: cubic-bezier(0.33, 0, 0.2, 1);
  --easing-exit:     cubic-bezier(0.65, 0, 0.35, 1);

  /* Spacing scale — 8px base */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px;--space-16: 64px;--space-20: 80px;--space-24: 96px;

  /* Fonts */
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Optima", "Optima Nova LT Pro", "Candara", "Palatino", serif;
  --serif: var(--jp);
  --sans: var(--jp);
  --mono: var(--en);

  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
/* stickyヘッダー(68px)にアンカー先の見出しが隠れないように */
[id] { scroll-margin-top: 92px; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-feature-settings: "palt";
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Paper texture removed — Highlite uses clean flat surfaces ---------- */
body::before { content: none; display: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(235, 235, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
/* ロゴ = アップロードされた公式PNG（きらめき＋Brandri）をそのまま使用 */
.brand-mark {
  display: block;
  width: 116px; height: 34px;
  background: url(../assets/brandri-logo.png) left center / contain no-repeat;
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
  font-size: 0;
}
.brand-mark .dot { display: none; }
.brand-sub {
  font-family: var(--jp);
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.brand-sub .by {
  font-family: var(--en);
  font-size: 10px;
  color: var(--ink-mute);
  margin-left: 6px;
  letter-spacing: 0.1em;
}

nav.primary { display: flex; gap: 28px; }
nav.primary a {
  font-family: var(--en);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  position: relative;
  padding: 6px 0;
  transition: color var(--duration-base) var(--easing-standard);
}
nav.primary a:hover { color: var(--crystal-purple); }
nav.primary a .num {
  font-family: var(--en);
  font-size: 10px;
  color: var(--crystal-purple);
  margin-right: 6px;
  letter-spacing: 0.12em;
}

.header-cta {
  display: flex; align-items: center; gap: 14px;
}
.search-btn {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 7px 14px 7px 12px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: border-color var(--duration-base) var(--easing-standard);
}
.search-btn:hover { border-color: var(--ink-mute); }
.search-btn kbd {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--ivory-2);
  padding: 2px 5px;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.hero > .wrap { width: 100%; }

/* MVエリア下の「はじめの一歩」バナー */
.mv-banner {
  display: block;
  position: relative;
  text-decoration: none;
  color: var(--paper);
  background:
    radial-gradient(120% 180% at 12% 0%, rgba(155,140,200,0.5), transparent 60%),
    linear-gradient(100deg, #232a52, #1b2140);
  border-bottom: 1px solid var(--rule);
}
/* hover時の明るいグラデはオーバーレイ(::after)に分離し、opacityでディゾルブ
   （グラデーション同士はtransition不可のため、直接差し替えると急に切り替わる） */
.mv-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 180% at 12% 0%, rgba(155,140,200,0.72), transparent 60%),
    linear-gradient(100deg, #2a3260, #202650);
  opacity: 0;
  transition: opacity 0.9s var(--easing-standard);
  pointer-events: none;
  z-index: 0;
}
.mv-banner:hover::after { opacity: 1; }
.mv-banner > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;   /* 他コンテナと同じ横パディングで内側に寄せる */
  position: relative;
  z-index: 2;           /* グロー(::before)・明化レイヤー(::after)の上に本文 */
}
/* マウス位置に合わせて白くふわっと光る */
.mv-banner { overflow: hidden; }
.mv-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.24), rgba(255,255,255,0) 260px);
  opacity: 0;
  transition: opacity 0.9s var(--easing-standard);
  pointer-events: none;
  z-index: 1;
}
.mv-banner:hover::before { opacity: 1; }
.mv-banner .mvb-text { display: flex; flex-direction: column; gap: 5px; }
.mv-banner .mvb-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--crystal-purple);
}
.mv-banner .mvb-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: #FAFAFA;
}
.mv-banner .mvb-desc {
  font-family: var(--jp);
  font-size: 13.5px;
  color: rgba(250,246,236,0.66);
  line-height: 1.7;
}
.mv-banner .mvb-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--jp);
  font-size: 15px;
  color: #FAFAFA;
  border: 1px solid rgba(250,246,236,0.4);
  border-radius: 2px;
  padding: 13px 22px;
  white-space: nowrap;
  transition: border-color 0.5s, background 0.5s;
}
.mv-banner:hover .mvb-cta { border-color: var(--crystal-purple); background: rgba(250,246,236,0.06); }
.mv-banner .mvb-arrow { transition: transform 0.55s var(--easing-standard); }
.mv-banner:hover .mvb-arrow { transform: translateX(5px); }
@media (max-width: 700px) {
  .mv-banner > .wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 32px; }
  .mv-banner .mvb-cta { width: 100%; justify-content: center; }
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 40px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--vermillion);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: end;
}

.hero-title {
  font-family: "Optima", "Optima Nova", "Palatino", "URW Classico", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0 0 32px;
  color: var(--ink);
}
.hero-title .line { display: block; }
.hero-title .accent {
  color: var(--vermillion);
  font-weight: 500;
}
.hero-title .small {
  font-size: 0.52em;
  font-weight: 400;
  color: var(--ink-soft);
  display: inline-block;
  margin-left: 8px;
  vertical-align: 0.4em;
}

.hero-lede {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.95;
  max-width: 560px;
  margin: 0 0 8px;
}

.hero-meta {
  border-left: 1px solid var(--rule);
  padding-left: 24px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 2;
}
.hero-meta .label {
  font-family: var(--mono);
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
}
.hero-meta .row + .row { margin-top: 20px; }

.hero-issue {
  position: absolute;
  top: 72px; right: 32px;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  line-height: 1.8;
}
.hero-issue .no {
  font-family: "Optima", "Optima Nova", "Palatino", "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-size: 42px;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

/* Vertical tagline (tategaki) */
.tategaki {
  writing-mode: vertical-rl;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  position: absolute;
  right: 8px;
  top: 220px;
  line-height: 1;
  height: 280px;
}
.tategaki::after {
  content: ""; display: block;
  width: 1px; height: 32px;
  background: var(--ink-mute);
  margin: 18px auto 0;
}

/* ---------- Section primitives ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--rule); position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px 32px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.section-num {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--vermillion);
  letter-spacing: 0.1em;
}
.section-head .section-title { grid-column: 1; grid-row: 2; }
.section-head .section-meta { grid-column: 2; grid-row: 1 / span 2; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.section-title .en {
  display: block;
  font-family: "Optima", "Optima Nova", "Palatino", serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-mute);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.section-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.8;
}
.section-all-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 500ms, border-color 500ms;
}
.section-all-link:hover { color: var(--vermillion); border-color: var(--vermillion); }

/* ============================================================
   まずはここから — ブランディング5大疑問（ダーク帯・本サービスの肝）
   ============================================================ */
.basics {
  background: var(--ink-2);
  color: #EBEBEB;
  padding: 96px 0 !important;
  position: relative;
  overflow: hidden;
}
/* 背景のかすかな結晶グリッド（奥行き） */
.basics::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(155,140,200,0.18), transparent 45%),
    radial-gradient(circle at 12% 90%, rgba(123,186,212,0.12), transparent 40%);
  pointer-events: none;
}
.basics > .wrap { position: relative; z-index: 1; }
.basics-head { max-width: 780px; margin-bottom: 44px; }
.basics-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--crystal-purple);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.basics-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #FAFAFA;
}
.basics-lede {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 2;
  color: rgba(250,246,236,0.66);
  margin: 0;
}
.basics-lede em { font-style: normal; color: var(--crystal-purple); font-weight: 500; }

/* 5大疑問カード（アイコン付き・ダーク帯の上） */
/* 1行・横スクロール前提のレイアウト */
#basics-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(250,246,236,0.35) transparent;
}
#basics-cards::-webkit-scrollbar { height: 7px; }
#basics-cards::-webkit-scrollbar-track { background: rgba(250,246,236,0.06); border-radius: 4px; }
#basics-cards::-webkit-scrollbar-thumb { background: rgba(250,246,236,0.28); border-radius: 4px; }
#basics-cards::-webkit-scrollbar-thumb:hover { background: rgba(155,140,200,0.6); }
.basic-card {
  flex: 0 0 clamp(216px, 23vw, 264px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #EBEBEB;
  background: rgba(250,246,236,0.05);
  border: 1px solid rgba(250,246,236,0.14);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.55s var(--easing-standard), background 0.55s, border-color 0.55s, box-shadow 0.55s;
}
.basic-card:hover {
  transform: translateY(-4px);
  background: rgba(250,246,236,0.09);
  border-color: var(--crystal-purple);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
/* アイコン・サムネイル領域 */
.basic-card .bc-thumb {
  position: relative;
  aspect-ratio: 5 / 4;
  background: transparent;
  border-bottom: 1px solid rgba(250,246,236,0.10);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.basic-card .bc-thumb img {
  width: 46%;
  height: auto;
  transition: transform 0.4s var(--easing-standard);
}
.basic-card:hover .bc-thumb img { transform: scale(1.08) rotate(-2deg); }
.basic-card .bc-num {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--crystal-purple);
}
/* 本文 */
.basic-card .bc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}
.basic-card .bc-q {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  color: #FAFAFA;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.basic-card .bc-teaser {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(250,246,236,0.55);
  margin-bottom: auto;
}
.basic-card .bc-go {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(250,246,236,0.72);
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.basic-card:hover .bc-go { color: #FAFAFA; }
.basic-card .bc-arrow { display: inline-block; transition: transform 0.55s var(--easing-standard); }
.basic-card:hover .bc-arrow { transform: translateX(6px); color: var(--crystal-purple); }
@media (max-width: 720px) {
  #basics-cards { gap: 12px; }
  .basic-card { flex-basis: 208px; }
  .basic-card .bc-q { font-size: 15.5px; }
}

/* 5つ読んだら → チェックへ（動線の締め） */
.basics-check-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 28px 28px 40px;
  position: relative;
  isolation: isolate;
  /* 添付トンマナ：やわらかな白グラデ（菱形の白が浮くよう右側はソフトグレーに留める） */
  background: linear-gradient(100deg, #E4E4E7 0%, #EDEDEF 55%, #F4F4F6 100%);
  border: 1px solid rgba(255,255,255,0.55);
  color: #1E2340;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  transition: transform 0.5s var(--easing-standard), box-shadow 0.55s var(--easing-standard);
}
/* hoverの白グラデはオーバーレイでディゾルブ（グラデ差し替えは急に切り替わるため） */
.basics-check-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #F8F8FA 0%, #FFFFFF 68%);
  opacity: 0;
  transition: opacity 0.6s var(--easing-standard);
  pointer-events: none;
}
.basics-check-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}
.basics-check-cta:hover::before { opacity: 1; }
.basics-check-cta .bcc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(30,35,64,0.55);
  margin-bottom: 8px;
}
.basics-check-cta .bcc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #1E2340;
}
/* 右端の菱形フレーム＋矢印 */
.basics-check-cta .bcc-arrow {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 23px;
  color: #1E2340;
  transition: transform 0.55s var(--easing-standard);
}
.basics-check-cta .bcc-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F1F3 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  transform: rotate(45deg);
  transition: box-shadow 0.55s var(--easing-standard);
}
/* hoverの真っ白な菱形はオーバーレイ(::after)でディゾルブ */
.basics-check-cta .bcc-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #FFFFFF;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.6s var(--easing-standard);
  pointer-events: none;
}
.basics-check-cta:hover .bcc-arrow { transform: translateX(6px); }
.basics-check-cta:hover .bcc-arrow::before {
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.basics-check-cta:hover .bcc-arrow::after { opacity: 1; }

@media (max-width: 760px) {
  .basics { padding: 64px 0 !important; }
  .basic-row {
    grid-template-columns: 56px 1fr;
    gap: 14px 18px;
    padding: 22px 8px;
  }
  .basic-row .br-num { font-size: 30px; }
  .basic-row .br-go {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 4px;
  }
  .basic-row:hover { padding-left: 16px; }
  .basics-check-cta { flex-direction: row; padding: 22px 24px; }
  .basics-check-cta .bcc-arrow { font-size: 26px; }
}

/* basics 記事ページ: ヒーローのアイコン */
.basics-hero-row { display: flex; align-items: flex-start; gap: 24px; }
.basics-hero-icon {
  width: 84px; height: 84px; flex-shrink: 0;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .basics-hero-row { gap: 16px; }
  .basics-hero-icon { width: 60px; height: 60px; padding: 8px; }
}
/* basics 記事ページ: 末尾CTA/次の疑問の見せ方 */
.basics-cta { border-top-color: var(--crystal-purple); }
.basics-cta .cta-note strong { color: var(--ink); }
.basics-next a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}
.basics-next .bn-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.basics-next .bn-q {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--ink);
  transition: color 0.5s;
}
.basics-next a:hover .bn-q { color: var(--vermillion); }

/* ---------- 状況からブランディングを考える（§01） ---------- */
.situations { background: var(--ivory); }
.situations-lede {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 760px;
  margin: -24px 0 40px;
}
#situations-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.situation-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 30px 30px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.5s, color 0.5s, transform 0.5s;
  min-height: 220px;
}
.situation-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.situation-card .sc-stage {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 16px;
}
.situation-card:hover .sc-stage { color: var(--crystal-purple); }
.situation-card .sc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.situation-card .sc-sub {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 auto;
}
.situation-card:hover .sc-sub { color: rgba(250, 246, 236, 0.7); }
.situation-card .sc-go {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-top: 22px;
  transition: transform 0.5s;
}
.situation-card:hover .sc-go { color: var(--paper); transform: translateX(4px); }
@media (max-width: 860px) {
  #situations-cards { grid-template-columns: 1fr; gap: 12px; }
  .situation-card { min-height: auto; }
}

/* 状況ランディング内: キュレーションした入口/読み物カード群 */
.sit-group { margin: 26px 0 8px; }
.sit-group-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 10px;
}
.sit-links { display: flex; flex-direction: column; }
.sit-link {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 6px 16px;
  align-items: baseline;
  padding: 14px 6px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.5s, padding 0.5s;
}
.sit-link:hover { background: var(--paper); padding-left: 12px; }
.sit-link .sl-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.sit-link .sl-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.sit-link:hover .sl-title { color: var(--vermillion); }
.sit-link .sl-desc {
  grid-column: 2;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.sit-reading .sit-link { grid-template-columns: 100px 1fr; }

/* ---------- 3 entries ---------- */
.entries {
  background: var(--paper);
}

/* 三つの入口セクションを夜空（ダーク）配色に（トップページのみ） */
.home .entries { color: #EBEBEB; }
.home .entries .section-title { color: var(--paper); }
.home .entries .section-title .en,
.home .entries .section-meta { color: rgba(250,246,236,0.55); }
/* 2区分トグル */
.home .entries .entry-domain { border-color: rgba(250,246,236,0.16); }
.home .entries .entry-domain .dm-ja { color: var(--paper); }
.home .entries .entry-domain .dm-desc { color: rgba(250,246,236,0.62); }
.home .entries .entry-domain.active { background: var(--paper); color: var(--ink-2); }
.home .entries .entry-domain.active .dm-ja { color: var(--ink-2); }
.home .entries .entry-domain.active .dm-desc { color: rgba(30,35,64,0.72); }
/* タブ */
.home .entries .entry-tabs { border-color: rgba(250,246,236,0.16); }
.home .entries .entry-tab { border-right-color: rgba(250,246,236,0.16); }
.home .entries .entry-tab .tab-ja { color: var(--paper); }
.home .entries .entry-tab .tab-num,
.home .entries .entry-tab .tab-en { color: rgba(250,246,236,0.5); }
.home .entries .entry-tab:hover { background: rgba(250,246,236,0.06); }
.home .entries .entry-tab.active { background: var(--paper); color: var(--ink-2); }
.home .entries .entry-tab.active .tab-ja { color: var(--ink-2); }
.home .entries .entry-tab.active .tab-num,
.home .entries .entry-tab.active .tab-en { color: rgba(30,35,64,0.6); }
/* 検索 */
.home .entries .entry-search { border-color: rgba(250,246,236,0.16); background: rgba(250,246,236,0.05); }
.home .entries .entry-search input { color: var(--paper); }
.home .entries .entry-search input::placeholder { color: rgba(250,246,236,0.4); }
.home .entries .entry-search .count { color: rgba(250,246,236,0.5); }
/* 結果リスト */
.home .entries .entry-results { border-top-color: rgba(250,246,236,0.16); }
.home .entries .entry-item { border-bottom-color: rgba(250,246,236,0.12); }
.home .entries .entry-item:hover { background: rgba(250,246,236,0.06); }
.home .entries .entry-item::before { background: var(--paper); }
.home .entries .entry-item .item-num { color: rgba(250,246,236,0.5); }
.home .entries .entry-item .item-title { color: var(--paper); }
.home .entries .entry-item .item-desc { color: rgba(250,246,236,0.62); }
/* 最上段: コーポレート / 事業 ブランディングの2区分トグル */
.entry-domains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.entry-domain {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 24px 28px;
  text-align: left;
  cursor: pointer;
  transition: background 0.5s, color 0.5s, transform 0.5s;
}
.entry-domain:hover { transform: translateY(-2px); }
.entry-domain.active { background: var(--ink); color: var(--paper); }
.entry-domain .dm-ja {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}
.entry-domain .dm-en {
  font-family: "Optima", "Optima Nova", "Palatino", serif;
  font-size: 12px;
  color: var(--vermillion);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.entry-domain.active .dm-en { color: var(--crystal-purple); }
.entry-domain .dm-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.entry-domain.active .dm-desc { color: rgba(250, 246, 236, 0.7); }
@media (max-width: 700px) {
  .entry-domains { grid-template-columns: 1fr; gap: 12px; }
}

.entry-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  margin-bottom: 40px;
}
.entry-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--rule);
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  position: relative;
  transition: background 0.5s;
}
.entry-tab:last-child { border-right: none; }
.entry-tab:hover { background: var(--ivory-2); transition: background var(--duration-base) var(--easing-standard); }
.entry-tab.active { background: var(--ink); color: var(--paper); }
.entry-tab .tab-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 10px;
}
.entry-tab.active .tab-num { color: var(--ivory-2); }
.entry-tab .tab-ja {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 4px;
}
.entry-tab .tab-en {
  font-family: "Optima", "Optima Nova", "Palatino", serif;
  font-size: 13px;
  color: var(--ink-mute);
}
.entry-tab.active .tab-en { color: var(--ivory-2); }

.entry-search {
  display: flex; align-items: center;
  border: 1px solid var(--rule);
  background: var(--ivory);
  padding: 0 20px;
  margin-bottom: 24px;
}
.entry-search input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
}
.entry-search input::placeholder { color: var(--ink-mute); }
.entry-search .count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

.entry-results {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.entry-item {
  display: grid;
  grid-template-columns: 72px minmax(220px, 1.2fr) 2fr 80px;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  border-right: 0;
  padding: 22px 16px;
  cursor: pointer;
  transition: background 0.5s, padding 0.5s;
  min-height: auto;
}
.entry-item:hover { background: var(--ivory-2); padding-left: 22px; }
.entry-item .item-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.entry-item .item-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}
.entry-item .item-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.entry-item .item-arrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--vermillion);
  display: flex; align-items: center; justify-content: flex-end; gap: 6px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.5s;
  text-align: right;
}
.entry-item:hover .item-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 768px) {
  .entry-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px 18px;
    padding: 18px 14px;
  }
  .entry-item .item-num { grid-row: 1; grid-column: 1; }
  .entry-item .item-title { grid-row: 1; grid-column: 2; }
  .entry-item .item-desc { grid-row: 2; grid-column: 1 / -1; padding-left: 78px; }
  .entry-item .item-arrow { grid-row: 3; grid-column: 1 / -1; padding-left: 78px; justify-content: flex-start; }
}

/* ---------- Philosophy ---------- */
.philosophy {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
}

/* 濃色セクションの星空テクスチャ（添付1枚目を再現・トップページのみ）。
   .basics/.philosophy/.cta はトップ固有、footer は .home で限定。 */
.home .basics,
.home .entries,
.home .cta,
.home footer {
  background-color: #191d38;
  background-image: url('../assets/starfield.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate;      /* 星レイヤー(z-index:-1)をこのセクション内に閉じ込める */
  overflow: hidden;        /* slice したSVGをセクション内でクリップ */
}
.home footer { background-position: center bottom; }
/* 瞬く星レイヤー（js/starfield.js が注入するインラインSVG） */
.star-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;             /* セクション背景の上・本文の下 */
  pointer-events: none;
}
.philosophy .section-head { border-bottom-color: var(--paper); }
.philosophy .section-num { color: var(--crystal-purple); }
.philosophy .section-title .en { color: rgba(250, 246, 236, 0.55); }
.philosophy .section-meta { color: rgba(250, 246, 236, 0.55); }

.phil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.phil-lead {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.phil-lead em {
  color: var(--crystal-purple);
  font-weight: 400;
  font-style: normal;
}
.phil-lead .rule {
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--crystal-purple);
  vertical-align: middle;
  margin: 0 12px;
}

.phil-tenets { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(250, 246, 236, 0.2); }
.phil-tenet {
  padding: 28px 0;
  border-bottom: 1px solid rgba(250, 246, 236, 0.2);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
}
.tenet-num {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250, 246, 236, 0.5);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.tenet-body h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--paper);
}
.tenet-body p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  color: rgba(250, 246, 236, 0.7);
  margin: 0;
}

/* ---------- Knowledge index (featured articles) ---------- */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.k-card {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: background 0.5s;
  display: flex; flex-direction: column;
}
.k-card:last-child { border-right: none; }
.k-card:hover { background: var(--paper); }
.k-card .k-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--vermillion);
  margin-bottom: 28px;
}
.k-card.feature {
  background: var(--paper);
}
.k-card.feature:hover { background: var(--ivory-2); }
.k-card .k-title {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 18px;
}
.k-card.feature .k-title { font-size: 38px; letter-spacing: -0.01em; }
.k-card:not(.feature) .k-title { font-size: 22px; }
.k-card .k-excerpt {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.k-card .k-meta {
  margin-top: auto;
  display: flex; gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.k-card .k-placeholder {
  height: 220px;
  margin-bottom: 24px;
  background:
    repeating-linear-gradient(45deg,
      var(--ivory-2) 0 8px,
      var(--paper) 8px 16px);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

/* ---------- Cases ---------- */
.cases {
  background: var(--paper);
  padding-bottom: 40px;
}
.case-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.case-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 16px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: background 0.5s;
}
.case-row .case-row-head {
  display: grid;
  grid-template-columns: 96px 1.5fr 2fr 1fr 60px;
  gap: 28px;
  align-items: center;
}
.case-row .c-thumb {
  width: 96px; height: 64px;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid var(--rule);
}
.case-row .c-thumb .ct-num {
  position: absolute;
  bottom: 4px; left: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 236, 0.85);
}
@media (max-width: 768px) {
  .case-row .case-row-head {
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
  }
  .case-row .c-thumb { width: 64px; height: 44px; }
  .case-row .c-title, .case-row .c-year { display: none; }
}
.case-row:hover { background: var(--ivory); }
.case-row .c-point {
  margin: 18px 0 0 112px;
  padding: 14px 18px;
  border-left: 2px solid var(--vermillion);
  background: rgba(155, 140, 200, 0.06);
  max-width: 820px;
}
.case-row .c-point-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
  margin-bottom: 6px;
}
.case-row .c-point p {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}
.case-row .c-point p em {
  font-style: normal;
  border-bottom: 1px solid var(--vermillion);
  padding-bottom: 1px;
}
.case-row .c-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.case-row .c-client {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}
.case-row .c-client .c-cat {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--vermillion);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 400;
}
.case-row .c-title {
  font-family: var(--jp);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 400;
}
.case-row .c-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-align: right;
  letter-spacing: 0.06em;
}
.case-row .c-arrow {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-mute);
  text-align: right;
  transition: transform 0.55s, color 0.5s;
}
.case-row:hover .c-arrow { color: var(--vermillion); transform: translateX(6px); }

/* Case hover preview */
.case-preview {
  position: fixed;
  pointer-events: none;
  width: 300px;
  height: 380px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  box-shadow: 12px 12px 0 rgba(26, 23, 20, 0.08);
  padding: 0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96) rotate(-2deg);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(.2,.9,.3,1.2);
  z-index: 100;
  overflow: hidden;
}
.case-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
.case-preview .cp-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.case-preview .cp-body { padding: 16px 18px; }
.case-preview .cp-cat {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--vermillion);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.case-preview .cp-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
}
.case-preview .cp-excerpt {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- Diagnostic ---------- */
.diagnostic {
  background: var(--ivory);
}
.diagnostic-lede {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 720px;
  margin: -24px 0 48px;
}
.diag-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
}
.diag-intro h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 20px;
}
.diag-intro p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.diag-intro .stat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  line-height: 2;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.diag-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 40px 48px;
  position: relative;
}
.diag-card::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: var(--vermillion);
}
.diag-step {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--vermillion);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.diag-q {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 32px;
  color: var(--ink);
  min-height: 78px;
}
.diag-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.diag-option {
  text-align: left;
  background: var(--ivory);
  border: 1px solid var(--rule);
  padding: 16px 20px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.45s;
  display: flex; align-items: center; gap: 16px;
}
.diag-option:hover {
  border-color: var(--ink-mute);
  background: var(--ivory-2);
}
.diag-option.selected {
  border-color: var(--crystal-purple);
  background: rgba(155, 140, 200, 0.12);
  color: var(--vermillion-deep);
}
.diag-option .opt-key {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 20px;
}
.diag-option.selected .opt-key { color: var(--vermillion); }

.diag-controls {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.diag-progress {
  flex: 1;
  height: 2px;
  background: var(--rule-soft);
  margin: 0 24px;
  position: relative;
}
.diag-progress .bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--vermillion);
  transition: width 0.35s cubic-bezier(.2,.9,.3,1);
}
.diag-nav {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

.btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 28px;
  cursor: pointer;
  position: relative;
  transition: background var(--duration-base) var(--easing-standard),
              color var(--duration-base) var(--easing-standard),
              border-color var(--duration-base) var(--easing-standard);
}
/* Diamond accent on buttons (DS diamond motif) */
.btn::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--crystal-blue);
  opacity: 0.9;
  transition: background var(--duration-base) var(--easing-standard);
}
.btn { padding-left: 34px; }
.btn:hover { background: var(--crystal-purple); border-color: var(--crystal-purple); }
.btn:hover::before { background: #fff; }
.btn.ghost {
  background: transparent; color: var(--ink);
}
.btn.ghost::before { background: var(--crystal-purple); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.ghost:hover::before { background: var(--crystal-blue); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

.diag-result {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.diag-result.show { display: block; }
.diag-result .result-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--vermillion);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.diag-result .result-score {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.diag-result .result-score .of { font-size: 32px; color: var(--ink-mute); font-weight: 400; }
.diag-result .result-grade {
  font-family: var(--jp);
  font-weight: 500;
  font-size: 22px;
  color: var(--vermillion);
  margin-bottom: 24px;
}
.diag-result .result-msg {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}
.diag-result .result-actions { display: flex; gap: 12px; justify-content: center; }

/* ---------- Aaker badge & pillars ---------- */
.aaker-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  margin-bottom: 28px;
  position: relative;
}
.aaker-badge::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 3px;
  background: var(--crystal-purple);
}
.aaker-label {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
}
.aaker-name {
  font-family: "Optima", "Optima Nova", "Palatino", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-style: italic;
}
.aaker-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-top: 2px;
}

/* Optima number style — for all numerals on the diagnostic */
.num-optima {
  font-family: "Optima", "Optima Nova", "Palatino", "URW Classico", serif;
  font-feature-settings: "lnum", "tnum";
  letter-spacing: 0.01em;
}

/* Question header — pillar tag */
.diag-step-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.diag-pillar-tag {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.diag-pillar-tag span:first-child {
  font-size: 22px;
  color: var(--vermillion);
  letter-spacing: 0;
  font-style: italic;
}
.diag-pillar-tag em {
  font-style: normal;
  color: var(--ink-mute);
}

.diag-note {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 28px;
  padding-left: 12px;
  border-left: 1px solid var(--rule);
}

/* Animate question switching */
.diag-card { animation: cardFade 0.55s cubic-bezier(.16,.84,.3,1); }
@keyframes cardFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Result big number — Optima italic */
.diag-result .result-score {
  font-family: "Optima", "Optima Nova", "Palatino", serif !important;
  font-style: italic;
  font-weight: 400 !important;
  font-feature-settings: "lnum", "tnum";
  font-size: 96px !important;
  letter-spacing: -0.005em;
}
.diag-result .result-score .of {
  font-style: normal;
  font-feature-settings: "lnum", "tnum";
}

/* Pillars block — David Aaker visualization */
.pillars-block {
  margin: 36px 0 32px;
  text-align: left;
  padding: 28px 28px 20px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  position: relative;
}
.pillars-block::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 2px;
  background: var(--crystal-purple);
  transform-origin: top center;
  animation: pillarLine 0.7s cubic-bezier(.7,0,.2,1) 0.5s both;
}
@keyframes pillarLine {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.pillars-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
.pillar-row {
  display: grid;
  grid-template-columns: 36px 1fr 150px 76px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0;
  transform: translateX(-12px);
  animation: pillarSlide 0.9s cubic-bezier(.16,.84,.3,1) both;
}
.pillar-row:last-child { border-bottom: none; }
@keyframes pillarSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
.pillar-num {
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
}
.pillar-label .pillar-en {
  font-family: "Optima", "Optima Nova", "Palatino", serif;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.pillar-label .pillar-ja {
  font-family: var(--jp);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-top: 3px;
}
/* ---------- Star rating — kawaii pop-in ---------- */
.stars {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  color: var(--crystal-purple);
}
.star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.2) rotate(-90deg);
  color: var(--rule);
  position: relative;
}
.star.empty { color: var(--rule); }
.star.filled { color: var(--crystal-purple); }
.star.in {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: starPop 0.6s cubic-bezier(.34, 1.56, .64, 1);
}
.star.filled.in {
  animation: starPopFilled 0.7s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes starPop {
  0%   { transform: scale(0.2) rotate(-90deg); opacity: 0; }
  60%  { transform: scale(1.25) rotate(8deg);  opacity: 1; }
  80%  { transform: scale(0.92) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes starPopFilled {
  0%   { transform: scale(0.2) rotate(-90deg); opacity: 0; filter: brightness(1); }
  50%  { transform: scale(1.4) rotate(15deg);  opacity: 1; filter: brightness(1.3); }
  70%  { transform: scale(0.88) rotate(-5deg); filter: brightness(1.1); }
  100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
}
.star.filled.in::after {
  content: "";
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(155,140,200,0.5) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  border-radius: 50%;
  animation: starTwinkle 1.4s ease-out 0.4s;
}
@keyframes starTwinkle {
  0%   { opacity: 0; transform: scale(0.5); }
  40%  { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}
.of-stars {
  font-size: 0.55em;
  color: var(--ink-mute);
  font-style: normal;
  margin-left: 2px;
}

.pillar-bar { display: none; }

/* Pillar row layout — keep existing grid but make middle column auto-fit stars */
.pillar-score {
  text-align: right;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  font-weight: 400;
}

@media (max-width: 720px) {
  .pillar-row { grid-template-columns: 28px 1fr 120px 56px; gap: 10px; }
  .pillar-label .pillar-en { font-size: 13px; }
  .pillar-num { font-size: 22px; }
  .pillar-score { font-size: 18px; }
  .star svg { width: 18px; height: 18px; }
  .diag-result .result-score { font-size: 72px !important; }
}

/* ---------- Services ---------- */
.services {
  padding-top: 96px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.service {
  padding: 32px 24px;
  border-left: 1px solid var(--rule);
  min-height: 260px;
  display: flex; flex-direction: column;
  cursor: default;
  transition: background 0.5s;
}
.service:first-child { border-left: none; }
.service:hover { background: var(--paper); }
.service .s-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.service .s-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
}
.service .s-en {
  font-family: "Optima", "Optima Nova", "Palatino", serif;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.service .s-desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 120px 0;
  border-bottom: none;
}
.cta .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--crystal-purple);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.cta h2 em { color: var(--crystal-purple); font-weight: 400; font-style: normal; }
.cta p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: rgba(250, 246, 236, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
}
.cta .btn-row { display: inline-flex; gap: 16px; }
.cta .btn.ghost {
  border-color: var(--paper);
  color: var(--paper);
}
.cta .btn.ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(250, 246, 236, 0.6);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(250, 246, 236, 0.15);
}
footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
footer h5 {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(250, 246, 236, 0.45);
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  font-weight: 400;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer ul li {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 2.2;
}
footer ul li a:hover { color: var(--crystal-purple); }
footer .foot-brand {
  display: block;
  width: 150px; height: 44px;
  background: url(../assets/brandri-logo.png) left center / contain no-repeat;
  /* 暗い背景では白抜きに（透過は保持） */
  filter: brightness(0) invert(1);
  text-indent: -9999px; overflow: hidden; white-space: nowrap; font-size: 0;
  margin-bottom: 14px;
}
footer .foot-brand .dot { display: none; }
footer .foot-tag {
  font-family: var(--jp);
  font-weight: 400;
  font-size: 14px;
  color: rgba(250, 246, 236, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
}
.footer-bottom {
  max-width: var(--maxw); margin: 60px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(250, 246, 236, 0.15);
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(250, 246, 236, 0.4);
  letter-spacing: 0.08em;
}

/* ---------- Reveal animations — calm overall, snappy for thin lines ---------- */

/* Block reveal — slow, ゆったり */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s cubic-bezier(.16,.84,.3,1), transform 1.4s cubic-bezier(.16,.84,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }

/* Thin-line reveal — シュッと, snappy */
.line-reveal {
  position: relative;
}
.line-reveal::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.55s cubic-bezier(.7,0,.2,1);
}
.line-reveal.in::after { transform: scaleX(1); }

/* Section-head bottom rule: animate via the existing 1px border by overlaying */
.section-head {
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(.7,0,.2,1) 0.4s;
}
.section-head.in::after { transform: scaleX(1); }
/* 濃色セクション（星空）ではタイトル下の罫線を白に */
.home .basics .section-head::after,
.home .entries .section-head::after,
.home .cta .section-head::after { background: var(--paper); }
/* Hide the static border so only the animated one shows */
.section-head { border-bottom-color: transparent; }

/* Hairline characters that animate in word-by-word */
.word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2,.84,.3,1);
}
.word-reveal.in > span { transform: none; }

/* Hero title letters */
.hero-title .line {
  overflow: hidden;
  position: relative;
}
.hero-title .line > .inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.6s cubic-bezier(.16,.84,.3,1), opacity 1.4s cubic-bezier(.16,.84,.3,1);
}
.hero-title.in .line:nth-child(1) > .inner { transition-delay: 0.05s; }
.hero-title.in .line:nth-child(2) > .inner { transition-delay: 0.45s; }
.hero-title.in .line:nth-child(3) > .inner { transition-delay: 0.31s; }
.hero-title.in .line > .inner { transform: none; opacity: 1; }

/* Hero eyebrow rule — シュッ */
.hero-eyebrow::before {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.65s cubic-bezier(.7,0,.2,1) 0.5s;
}
.hero-eyebrow.in::before { transform: scaleX(1); }

/* Tategaki line — drops in fast */
.tategaki::after {
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.7s cubic-bezier(.7,0,.2,1) 0.6s;
}
.tategaki.in::after { transform: scaleY(1); }

/* Hero meta rows — staggered fade */
.hero-meta .row {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.1s cubic-bezier(.2,.84,.3,1), transform 1.1s cubic-bezier(.2,.84,.3,1);
}
.hero-meta.in .row:nth-child(1) { transition-delay: 0.5s; }
.hero-meta.in .row:nth-child(2) { transition-delay: 0.62s; }
.hero-meta.in .row:nth-child(3) { transition-delay: 0.74s; }
.hero-meta.in .row { opacity: 1; transform: none; }

/* Border-left on hero-meta — シュッ down */
.hero-meta {
  position: relative;
  border-left: none;
}
.hero-meta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--rule);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.7s cubic-bezier(.7,0,.2,1) 0.55s;
}
.hero-meta.in::before { transform: scaleY(1); }

/* ===== Hover — calm 'yuttari' interactions ===== */

/* Entry items — soft lift */
.entry-item {
  transition: background 0.6s cubic-bezier(.2,.84,.3,1),
              transform 0.6s cubic-bezier(.2,.84,.3,1);
}
.entry-item:hover {
  background: var(--ivory-2);
  transform: translateY(-2px);
}
/* Entry item underline — シュッ on hover */
.entry-item {
  position: relative;
  overflow: hidden;
}
.entry-item::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.45s cubic-bezier(.7,0,.2,1);
}
.entry-item:hover::before { transform: scaleX(1); }

/* Case row — soft slide + line draw */
.case-row {
  transition: background 0.6s cubic-bezier(.2,.84,.3,1);
}
.case-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(.7,0,.2,1);
}
.case-row:hover::before { transform: scaleX(1); }
.case-row .c-arrow {
  transition: transform 0.6s cubic-bezier(.2,.84,.3,1),
              color 0.6s cubic-bezier(.2,.84,.3,1);
}
.case-row:hover .c-arrow { transform: translateX(8px); }

/* Service tile — calm hover */
.service {
  transition: background 0.7s cubic-bezier(.2,.84,.3,1);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--ink);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.5s cubic-bezier(.7,0,.2,1);
}
.service:hover::before { transform: scaleY(1); }
.service:first-child::before { display: none; }

/* K-card — calm */
.k-card {
  transition: background 0.7s cubic-bezier(.2,.84,.3,1);
}

/* Nav underline — シュッ */
nav.primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--crystal-purple);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(.7,0,.2,1);
}
nav.primary a:hover::after { transform: scaleX(1); }

/* Buttons — calm fill */
.btn {
  overflow: hidden;
  transition: color 0.5s cubic-bezier(.2,.84,.3,1),
              border-color 0.5s cubic-bezier(.2,.84,.3,1);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crystal-purple);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(.7,0,.2,1);
  z-index: -1;
}
.btn { z-index: 0; isolation: isolate; }
.btn:hover { background: var(--ink); }
.btn:hover::after { transform: scaleX(1); }

/* Diagnostic options — line-in on hover */
.diag-option {
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s cubic-bezier(.2,.84,.3,1),
              background 0.5s cubic-bezier(.2,.84,.3,1),
              color 0.5s cubic-bezier(.2,.84,.3,1);
}

/* Scroll-linked text (hero) */
.scroll-word { display: inline-block; transition: color 0.4s, transform 0.4s; }

/* Phil tenets — staggered */
.phil-tenet {
  position: relative;
}
.phil-tenet::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--paper);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(.7,0,.2,1);
}
.phil-tenet.in::after { transform: scaleX(1); }
.phil-tenet.in.delay-1::after { transition-delay: 0.4s; }
.phil-tenet.in.delay-2::after { transition-delay: 0.5s; }
.phil-tenet.in.delay-3::after { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; right: 24px; bottom: 24px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 8px 8px 0 rgba(26,23,20,0.12);
  padding: 20px;
  z-index: 200;
  display: none;
  font-family: var(--sans);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  margin: 0 0 4px;
}
.tweaks-panel .tw-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.tw-row { margin-bottom: 16px; }
.tw-row label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}
.tw-swatches { display: flex; gap: 8px; }
.tw-swatch {
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: transform 0.45s;
}
.tw-swatch:hover { transform: scale(1.08); }
.tw-swatch.on { border: 2px solid var(--ink-mute); }
.tw-seg { display: flex; gap: 0; border: 1px solid var(--rule); }
.tw-seg button {
  flex: 1; border: none; background: transparent;
  padding: 8px; font-family: var(--sans); font-size: 11px;
  cursor: pointer; border-right: 1px solid var(--rule);
}
.tw-seg button:last-child { border-right: none; }
.tw-seg button.on { background: var(--ink); color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phil-grid, .diag-grid { grid-template-columns: 1fr; gap: 40px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .k-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  nav.primary { display: none; }
  .entry-results { grid-template-columns: 1fr; }
  .entry-item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .case-row { grid-template-columns: 40px 1fr 40px; }
  .case-row .c-title, .case-row .c-year { display: none; }
  .tategaki { display: none; }
  .hero-issue { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head .section-meta { grid-column: 1; grid-row: auto; text-align: left; }
  .section-head .section-title { grid-column: 1; grid-row: auto; }
}

/* ============================================================
   Birds — cursor follower + per-section decorations
   ============================================================ */

/* Sections need positioning context for absolute birds */
.entries, .philosophy, #knowledge, .cases, .diagnostic, .services {
  position: relative;
  overflow: hidden;
}

/* ----- Cursor bird (main) ----- */
.bird-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 33px;
  height: auto;
  pointer-events: none;
  z-index: 9000;
  will-change: transform;
  transform: translate3d(-200px, -200px, 0);
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: drop-shadow(0 6px 18px rgba(60, 60, 90, 0.18));
}
.bird-cursor.is-active { opacity: 0.95; }
.bird-cursor img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 50% 50%;
  animation: birdGlide 4.2s ease-in-out infinite;
}
@keyframes birdGlide {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

/* Hide cursor bird on touch devices */
@media (hover: none), (max-width: 768px) {
  .bird-cursor { display: none; }
}

/* ----- Section decoration birds ----- */
.bird-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  width: 180px;
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 4px 12px rgba(60, 60, 90, 0.10));
  animation: birdFloat 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes birdFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1.5deg); }
}

/* §01 Entries — swallow, top right, slightly tilted */
.bird--swallow {
  top: 56px;
  right: 56px;
  width: 170px;
  transform: rotate(8deg);
  animation-name: birdFloatSwallow;
}
@keyframes birdFloatSwallow {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50%      { transform: translateY(-10px) rotate(4deg); }
}

/* §02 Philosophy — dove, dark bg so increase opacity */
.bird--dove {
  top: 64px;
  right: 80px;
  width: 150px;
  opacity: 0.75;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  animation-name: birdFloatDove;
}
@keyframes birdFloatDove {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

/* §03 Knowledge — eagle, top left, big and presence */
.bird--eagle {
  top: 64px;
  right: -20px;
  width: 220px;
  opacity: 0.5;
  animation-duration: 9s;
}

/* §04 Cases — hummingbird, smaller, hovering */
.bird--humming {
  top: 80px;
  right: 64px;
  width: 130px;
  opacity: 0.6;
  animation-name: birdHover;
  animation-duration: 2.4s;
}
@keyframes birdHover {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  25%      { transform: translateY(-4px) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(4deg); }
  75%      { transform: translateY(-4px) rotate(0deg); }
}

/* §05 Diagnostic — crane, gracious flight */
.bird--crane {
  top: 56px;
  right: 64px;
  width: 200px;
  opacity: 0.55;
  animation-duration: 8s;
}

/* §06 Services — parakeet, perched (no float) */
.bird--parakeet {
  bottom: 60px;
  right: 80px;
  top: auto;
  width: 140px;
  opacity: 0.6;
  animation-name: birdPerch;
  animation-duration: 3.6s;
}
@keyframes birdPerch {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-2px) rotate(0.5deg); }
}

/* Mobile: smaller, optional hide */
@media (max-width: 768px) {
  .bird-deco { width: 100px !important; opacity: 0.4 !important; }
  .bird--eagle { width: 130px !important; right: -10px !important; }
  .bird--parakeet { width: 80px !important; bottom: 30px !important; right: 30px !important; }
}

/* ===== Latest strip — 今週の更新 ===== */
.latest {
  padding: 56px 0 64px !important;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.latest-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.latest-meta { display: flex; align-items: baseline; gap: 18px; }
.latest-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
}
.latest-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.latest-all {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 500ms, border-color 500ms;
}
.latest-all:hover { color: var(--vermillion); border-color: var(--vermillion); }
.latest-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.latest-card {
  /* 広い画面では4枚が横幅いっぱい（3つのgap=42pxを差し引いて4分割）、
     狭い画面ではカードを200pxに保ったまま横スクロールさせる（PC・スマホ共通） */
  flex: 0 0 max(200px, calc((100% - 42px) / 4));
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--rule);
  transition: transform 500ms, box-shadow 500ms;
}
.latest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.06);
}
.latest-card .lc-thumb {
  height: 88px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.latest-card .lc-num {
  position: absolute;
  top: 6px; left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 236, 0.85);
}
.latest-card .lc-date {
  position: absolute;
  bottom: 6px; right: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 236, 0.85);
}
.latest-card .lc-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  padding: 10px 12px 4px;
}
.latest-card .lc-title {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
  padding: 0 12px 14px;
  flex: 1;
}
/* 出典明記 — エビデンス・ファースト (001 FR-030 / 002 SC-102) */
.k-sources {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  margin-top: 14px;
}
.k-sources em { font-style: italic; }
.kn-sources {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* 診断結果 — 相談オファー併置 (FR-021) */
.diag-offer {
  margin-top: 34px;
  padding: 22px 22px 24px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.diag-offer .do-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.diag-offer .do-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
}
.diag-offer .do-free {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.diag-offer .do-lede {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 18px;
}
.diag-offer .do-lede em {
  font-style: normal;
  color: var(--vermillion);
}
.diag-offer .result-actions { margin-top: 0; }

/* ニュース自動更新カード: ブランディング観点の示唆（Brandri View） */
.latest-card .lc-insight {
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-mute);
  padding: 8px 12px 12px;
  border-top: 1px solid var(--rule);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.latest-card .lc-insight-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  /* スマホでもPCと同じ横スクロール挙動。カードは読みやすい幅を確保して1.4枚ほど覗かせる */
  .latest-strip { gap: 12px; }
  .latest-card { flex: 0 0 min(72vw, 260px); }
}

/* ===== Diagnostic — Recommendations after result ===== */
.diag-recommend {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.diag-recommend .dr-head {
  margin-bottom: 18px;
}
.diag-recommend .dr-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
  margin-bottom: 8px;
}
.diag-recommend .dr-note {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}
.diag-recommend .dr-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}
.diag-recommend .dr-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 18px 16px;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: background 500ms;
}
.diag-recommend .dr-card:last-child { border-right: 0; }
.diag-recommend .dr-card:hover { background: var(--ivory); }
.diag-recommend .dr-kind {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--vermillion);
  letter-spacing: 0.16em;
}
.diag-recommend .dr-title {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
}
.diag-recommend .dr-why {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.diag-recommend .dr-go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}
.diag-recommend .dr-card:hover .dr-go { color: var(--vermillion); }
@media (max-width: 768px) {
  .diag-recommend .dr-list { grid-template-columns: 1fr; }
  .diag-recommend .dr-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .diag-recommend .dr-card:last-child { border-bottom: 0; }
}

/* ===== Highlite Note (editorial signal) — k-card 内 ===== */
.k-note {
  margin: 16px 0 18px;
  padding: 14px 16px 14px 18px;
  border-left: 2px solid var(--vermillion);
  background: rgba(155, 140, 200, 0.06);
  position: relative;
}
.k-note-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--vermillion);
  margin-bottom: 6px;
}
.k-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
}
.k-note p em {
  font-style: normal;
  border-bottom: 1px solid var(--vermillion);
  padding-bottom: 1px;
}
.k-card.feature .k-note p { font-size: 14.5px; }
@media (max-width: 768px) {
  .k-note { padding: 12px 14px; }
  .k-note p { font-size: 13px; }
}

/* ===== Header: 00 ここから (start.html link) ===== */
nav.primary a.nav-start {
  position: relative;
  color: var(--ink);
}
nav.primary a.nav-start .num { color: var(--vermillion); }
nav.primary a.nav-start::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  width: 4px; height: 4px;
  background: var(--vermillion);
  border-radius: 50%;
  transform: translateY(-50%);
}
nav.primary a.nav-start:hover { color: var(--vermillion-deep); }

/* ===== Hero: start.html CTA card ===== */
.hero-start-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 28px;
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--duration-base) var(--easing-standard),
              transform var(--duration-base) var(--easing-standard),
              box-shadow var(--duration-base) var(--easing-standard);
  max-width: 720px;
}
.hero-start-cta:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.08);
}
.hero-start-cta .cta-arrow {
  font-family: var(--en);
  font-size: 32px;
  color: var(--vermillion);
  line-height: 1;
  transition: transform var(--duration-base) var(--easing-standard);
}
.hero-start-cta:hover .cta-arrow { transform: translateX(4px); }
.hero-start-cta .cta-label {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.4;
}
.hero-start-cta .cta-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.hero-start-cta .cta-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-align: right;
  border-left: 1px solid var(--rule);
  padding-left: 20px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-start-cta { grid-template-columns: auto 1fr; padding: 18px 20px; gap: 16px; }
  .hero-start-cta .cta-meta { display: none; }
  .hero-start-cta .cta-label { font-size: 17px; }
  nav.primary a.nav-start::before { display: none; }
}

/* ============================================================
   News detail article pages (news/<id>.html)
   自社の詳細記事 → 引用元へ の導線。build-data.mjs が生成。
   ============================================================ */
.news-breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.news-breadcrumb a:hover { color: var(--vermillion); }
.news-breadcrumb .sep { opacity: 0.5; }

.news-hero { padding: 72px 0 0; }
.news-hero .news-cat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--vermillion);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  display: flex; gap: 14px; align-items: center;
}
.news-hero .news-cat .date { color: var(--ink-mute); }
.news-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  max-width: 940px;
  text-wrap: balance;
}
.news-standfirst {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.95;
  color: var(--ink);
  max-width: 760px;
  margin: 0 0 40px;
}
/* ヒーロー・カバー・本文を同じ読み幅に揃える（ガタつき防止） */
.news-hero > .wrap,
.news-cover-wrap,
.news-article {
  max-width: 784px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}
.news-title { max-width: none; margin-bottom: 20px; }
.news-standfirst { max-width: none; margin: 0 0 28px; }
.news-cover-wrap { margin-top: 4px; margin-bottom: 44px; }
.news-cover {
  aspect-ratio: 16 / 8;
  width: 100%;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.news-cover-cap {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 64px;
}

.news-article {
  padding-top: 0;
  padding-bottom: 40px;
}
/* 目次直後の最初の見出しは上罫線・余白を詰める */
.news-article > .article-toc + h2 { margin-top: 8px; padding-top: 0; border-top: none; }
.news-article > h2:first-child { margin-top: 8px; padding-top: 0; border-top: none; }

/* ===== 目次アコーディオン ===== */
.article-toc {
  margin: 0 0 40px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--ivory);
}
.article-toc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.article-toc > summary::-webkit-details-marker { display: none; }
.article-toc .toc-ttl::before { content: "≡ "; color: var(--crystal-purple); }
.article-toc .toc-chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-mute);
  border-bottom: 1.5px solid var(--ink-mute);
  transform: rotate(45deg);
  transition: transform 0.5s;
}
.article-toc[open] .toc-chev { transform: rotate(-135deg); }
.article-toc .toc-list {
  margin: 0;
  padding: 4px 20px 16px 20px;
  list-style: none;
  counter-reset: toc;
  border-top: 1px solid var(--rule);
}
.article-toc .toc-list li { counter-increment: toc; }
.article-toc .toc-list a {
  display: block;
  padding: 9px 0 9px 34px;
  position: relative;
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(20,20,20,0.05);
  transition: color 0.5s, padding-left 0.5s;
}
.article-toc .toc-list li:last-child a { border-bottom: none; }
.article-toc .toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 9px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--crystal-purple);
}
.article-toc .toc-list a:hover { color: var(--vermillion); padding-left: 40px; }

/* ===== 追従シェア ===== */
.share-rail {
  position: fixed;
  left: max(20px, calc((100vw - 784px) / 2 - 64px));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 40;
}
.share-rail .share-label {
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.share-rail .share-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.5s, border-color 0.5s, background 0.5s, transform 0.5s;
}
.share-rail .share-btn:hover { color: var(--ink); border-color: var(--crystal-purple); transform: translateY(-2px); }
.share-rail .sb-copy.copied { color: var(--paper); background: var(--crystal-purple); border-color: var(--crystal-purple); }
.share-rail .sb-copy { position: relative; }
.share-rail .sb-copy.copied::after {
  content: "コピーしました";
  position: absolute; left: 52px; top: 50%; transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--jp); font-size: 11px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 3px;
  padding: 5px 10px;
}
/* 追従スペースが取れない画面では記事上部に横並び表示 */
@media (max-width: 1100px) {
  .share-rail {
    position: static; transform: none;
    flex-direction: row;
    max-width: 784px; margin: 0 auto 20px;
    padding: 0 32px;
    box-sizing: border-box;
    justify-content: flex-start;
  }
  .share-rail .share-label { writing-mode: horizontal-tb; margin: 0 4px 0 0; }
  .share-rail .share-btn { width: 38px; height: 38px; }
}
.news-article h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  margin: 52px 0 20px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.news-article p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.05;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.news-article p.lead { font-size: 19px; color: var(--ink); }
.news-article p em { font-style: normal; color: var(--vermillion); }
/* 人間味のある口語のひとこと（編集者の声・全体の約5%）: 本文の途中に軽く差し込む */
.news-article p.human-aside {
  font-family: var(--jp);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  padding-left: 16px;
  border-left: 2px solid rgba(155, 140, 200, 0.45);
  margin: 26px 0;
}
/* 記事ハーネス: 番号付き見出し（大元の記事 branding.html 準拠） */
.news-article h2 .num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 10px;
  font-weight: 400;
}
/* Highliteの立場を一文で示すプルクオート */
.news-article .pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.65;
  color: var(--ink);
  padding: 8px 0 8px 34px;
  border-left: 3px solid var(--vermillion);
  margin: 44px 0;
}
.news-article .pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  margin-top: 14px;
}

/* Brandri Point: ニュース記事内の「Brandriの視点」を、白背景の小さな注釈に */
.news-article .brandri-point {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 22px 26px;
  margin: 44px 0;
}
.news-article .brandri-point .bp-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-bottom: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.news-article .brandri-point .bp-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--crystal-purple);
  white-space: nowrap;
}
.news-article .brandri-point .bp-title {
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}
.news-article .brandri-point .bp-body p {
  font-family: var(--jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.news-article .brandri-point .bp-body p:last-child { margin-bottom: 0; }
.news-article .brandri-point .bp-body p em { font-style: normal; color: var(--vermillion); }
.news-article .brandri-point .bp-stance {
  margin-top: 15px;
  padding-left: 13px;
  border-left: 2px solid var(--crystal-purple);
  color: var(--ink);
}

/* 関連記事（回遊性）: 記事末尾のカードグリッド */
.related-articles {
  max-width: 720px;
  margin: 8px auto 0;
  padding: 44px 32px 8px;
  border-top: 1px solid var(--rule);
}
.related-articles .ra-head {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 22px;
}
.related-articles .rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-articles .rel-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.related-articles .rel-thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--ivory);
  border-radius: 3px;
  margin-bottom: 12px;
}
.related-articles .rel-meta {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 7px;
}
.related-articles .rel-tag { color: var(--crystal-purple); }
.related-articles .rel-title {
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  transition: color 0.5s;
}
.related-articles .rel-card:hover .rel-title { color: var(--crystal-purple); }
@media (max-width: 720px) {
  .related-articles { padding: 34px 22px 8px; }
  .related-articles .rel-grid { grid-template-columns: 1fr; gap: 18px; }
  .related-articles .rel-thumb { aspect-ratio: 16 / 7; }
}

/* 経営がここから判断すべきこと */
.news-takeaways {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 26px 30px 28px;
  margin: 44px 0;
}
.news-takeaways .tk-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 16px;
}
.news-takeaways ul { list-style: none; margin: 0; padding: 0; }
.news-takeaways li {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px dashed var(--rule-soft);
}
.news-takeaways li:last-child { border-bottom: none; }
/* 入口詳細ページ（entries/）: 解決アプローチのステップ */
.entry-steps li strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.news-takeaways li::before {
  content: "◆";
  color: var(--vermillion);
  font-size: 9px;
  position: absolute; left: 4px; top: 14px;
}

/* 引用元への導線（詳細記事の先） */
.news-source-box {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--vermillion);
  background: var(--paper);
  padding: 24px 28px;
  margin: 48px 0;
}
.news-source-box .src-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.news-source-box .src-title {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 6px;
}
.news-source-box .src-name {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.news-source-box .src-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--vermillion);
  padding-bottom: 3px;
  transition: color 0.5s, gap 0.5s;
}
.news-source-box .src-link:hover { color: var(--vermillion); gap: 12px; }

/* 記事末尾の 診断→相談 導線 (spec 002 FR-115) */
.news-cta {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 40px;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.news-cta .cta-note {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  flex: 1 1 260px;
}
.news-back {
  padding: 40px 0 100px;
  border-top: 1px solid var(--rule);
  margin-top: 60px;
}
.news-back a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-decoration: none;
}
.news-back a:hover { color: var(--vermillion); }

@media (max-width: 700px) {
  .news-article { padding: 0 22px 40px; }
  .news-cover { aspect-ratio: 16 / 10; }
}

/* ============================================================
   Basics（5大疑問）精緻ページ — 図解 / タブ / アコーディオン
   ============================================================ */

/* 読了プログレスバー */
.reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--crystal-purple);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s linear;
}

/* レイアウト（sticky目次 + 本文） */
.basics-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 24px;
}
.basics-main { min-width: 0; }

/* 目次 */
.basics-toc {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid var(--rule);
}
.basics-toc a {
  font-family: var(--sans); font-size: 12.5px; line-height: 1.5;
  color: var(--ink-mute); text-decoration: none;
  padding: 7px 0 7px 16px; margin-left: -2px;
  border-left: 2px solid transparent;
  transition: color 0.5s, border-color 0.5s;
}
.basics-toc a:hover { color: var(--ink); }
.basics-toc a.is-on { color: var(--ink-2); border-left-color: var(--crystal-purple); font-weight: 500; }

/* 30秒サマリー */
.answer-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--crystal-purple);
  padding: 26px 30px 28px;
  margin-bottom: 40px;
}
.answer-card .ac-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--vermillion); text-transform: uppercase; margin-bottom: 14px;
}
.answer-card .ac-one {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6;
  color: var(--ink-2); margin: 0 0 18px;
}
.answer-card .ac-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.answer-card .ac-points li {
  position: relative; padding-left: 26px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
}
.answer-card .ac-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--crystal-blue); font-weight: 500;
}

/* 図解 figure（差し替え可能・16:9） */
.basics-figure { margin: 40px 0; }
.basics-figure .bf-frame {
  background: var(--paper);
  border: 1px solid var(--rule);
  aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.basics-figure .bf-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.basics-figure figcaption {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--ink-mute); margin-top: 10px; line-height: 1.6;
}

/* 本文内の figure は左右いっぱいに寄せず本文幅に収める（news-article内） */
.basics-article { max-width: none; }
.basics-article .basics-figure { margin: 36px 0; }

/* セクション見出し（ブロックの共通ヘッダ） */
.bt-head { margin: 0 0 22px; }
.bt-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--vermillion); text-transform: uppercase; display: block; margin-bottom: 8px;
}
.bt-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 27px); line-height: 1.35; color: var(--ink-2); margin: 0;
}

/* タブ */
.basics-tabs { margin: 56px 0; }
.tabset .tablist {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 1px solid var(--rule); margin-bottom: 22px;
}
.tabset .tab {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--ink-mute); background: none; border: none; cursor: pointer;
  padding: 12px 18px; position: relative; white-space: nowrap;
  transition: color 0.5s;
}
.tabset .tab:hover { color: var(--ink); }
.tabset .tab.is-on { color: var(--ink-2); }
.tabset .tab.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--crystal-purple);
}
.tabset .tabpanel { animation: fadeIn 0.55s ease; }
.tabset .tabpanel h3 {
  font-family: var(--serif); font-weight: 500; font-size: 19px;
  color: var(--ink-2); margin: 0 0 12px; line-height: 1.5;
}
.tabset .tabpanel p {
  font-size: 15px; line-height: 1.95; color: var(--ink-soft); margin: 0 0 12px;
}
.tabset .tabpanel .tab-link {
  display: inline-block; margin-top: 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--vermillion); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.tabset .tabpanel .tab-link:hover { color: var(--vermillion-deep); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* JSが効いたら非アクティブのタブ内容を隠す（JSオフなら全パネル縦積み表示） */
.tabset.js-tabs .tabpanel { display: none; }
.tabset.js-tabs .tabpanel.is-on { display: block; }

/* アコーディオン Q&A */
.basics-faq { margin: 56px 0; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 2px; position: relative;
  font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink-2); line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 22px; color: var(--crystal-purple); transition: transform 0.5s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] { border-left: 2px solid var(--crystal-purple); }
.faq-item[open] summary { padding-left: 16px; }
.faq-a { padding: 0 44px 20px 16px; }
.faq-a p { font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); margin: 0; }

/* 用語チップ */
.basics-terms { margin: 48px 0 8px; }
.term-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.term-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule); background: var(--paper);
  padding: 9px 14px; text-decoration: none; color: var(--ink-2);
  font-size: 13.5px; font-weight: 500; transition: border-color 0.5s, background 0.5s;
}
.term-chip:hover { border-color: var(--crystal-purple); background: #fff; }
.term-chip .tc-k {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  color: var(--vermillion); border: 1px solid var(--rule); padding: 2px 5px;
}
.term-chip .tc-go { color: var(--crystal-purple); }

/* 前後ナビ + ドット */
.basics-nav { border-top: 1px solid var(--rule); padding: 40px 0 8px; }
.bn-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bn-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--rule); background: var(--paper);
  padding: 22px 24px; text-decoration: none; color: var(--ink-2);
  transition: border-color 0.5s, background 0.5s, transform 0.5s;
}
.bn-card:hover { border-color: var(--crystal-purple); background: #fff; transform: translateY(-2px); }
.bn-card.next { text-align: right; align-items: flex-end; }
.bn-card.ghost { visibility: hidden; }
.bn-card.go-check { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.bn-card .bn-dir { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-mute); }
.bn-card.go-check .bn-dir { color: rgba(255,255,255,0.7); }
.bn-card .bn-q { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.5; }
.bn-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.bn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); transition: background 0.5s, transform 0.5s; }
.bn-dot:hover { background: var(--ink-mute); }
.bn-dot.is-on { background: var(--crystal-purple); transform: scale(1.35); }

/* 記事詳細ページ（articles/*.html）の追加要素 */
.article-related {
  margin: 40px 0 8px; border: 1px solid var(--rule); background: var(--paper); padding: 22px 26px;
}
.article-related .ar-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--vermillion); margin-bottom: 12px;
}
.article-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.article-related a {
  font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color 0.5s, border-color 0.5s;
}
.article-related a:hover { color: var(--vermillion); border-bottom-color: var(--crystal-purple); }
.article-sources .src-cite {
  font-size: 13px; line-height: 1.7; color: var(--ink-soft); margin-top: 4px;
}

/* k-card がリンクになった場合の下線抑止（§04 今週の読み物） */
.knowledge-grid a.k-card { text-decoration: none; color: inherit; }
.knowledge-grid a.k-card .k-placeholder { background-size: cover; background-position: center; }

/* ---- レスポンシブ（〜900px）: 目次を横スクロールの sticky バーに ---- */
@media (max-width: 900px) {
  .basics-layout { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .basics-toc {
    position: sticky; top: 56px; z-index: 30;
    flex-direction: row; gap: 4px; border-left: none;
    border-bottom: 1px solid var(--rule);
    background: rgba(244,244,244,0.96); backdrop-filter: blur(8px);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin: 0 -22px 24px; padding: 10px 22px;
  }
  .basics-toc a {
    white-space: nowrap; padding: 8px 12px; margin: 0; border-left: none;
    border-bottom: 2px solid transparent; font-size: 12px;
  }
  .basics-toc a.is-on { border-left: none; border-bottom-color: var(--crystal-purple); }
}
@media (max-width: 640px) {
  .answer-card { padding: 20px 20px 22px; }
  .bn-cards { grid-template-columns: 1fr; }
  .bn-card.next { text-align: left; align-items: flex-start; }
  .tabset .tablist { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabset .tab { padding: 11px 14px; }
  .faq-item summary { font-size: 15px; padding-right: 40px; }
}

/* ============================================================
   Highlite の見立て（軽い注釈）＋ 記事末尾のお問い合わせ
   ── 押し付けにならないよう、視点はコメント調・小さめに。CTAは相談中心。
   ============================================================ */
.highlite-note {
  margin: 40px 0 8px;
  padding: 16px 20px 18px;
  background: rgba(155,140,200,0.06);
  border-left: 3px solid var(--crystal-purple);
}
.highlite-note .hn-label {
  display: block;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--vermillion); margin-bottom: 7px;
}
.highlite-note p {
  margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-soft);
}

.article-contact {
  margin: 30px 0 8px; padding: 30px 24px 8px;
  border-top: 1px solid var(--rule); text-align: center;
}
.article-contact .ac-lead {
  font-family: var(--serif); font-size: 15.5px; line-height: 1.7;
  color: var(--ink-2); margin: 0 0 18px;
}
.article-contact .ac-primary {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 14px;
  color: #fff; background: var(--ink-2); padding: 13px 28px; text-decoration: none;
  transition: background 0.5s;
}
.article-contact .ac-primary:hover { background: var(--crystal-purple); }
.article-contact .ac-sub {
  display: block; margin-top: 15px;
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-mute); text-decoration: none;
  transition: color 0.5s;
}
.article-contact .ac-sub:hover { color: var(--vermillion); }
.basics-contact { border-top: none; }

/* ============================================================
   用語集 — 図鑑スタイルの詳細ページ（中央寄せ）
   ============================================================ */
.glossary-detail-page { background: var(--ivory); }
.glossary-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}
.gd-breadcrumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-mute); margin-bottom: 40px; text-align: center;
}
.gd-breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.gd-breadcrumb a:hover { color: var(--vermillion); }
.gd-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ヒーロー（中央寄せ） */
.gd-hero { text-align: center; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--rule); }
.gd-kana {
  width: 52px; height: 52px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 24px; font-weight: 500; color: #fff;
  background: var(--ink-2); border-radius: 50%;
}
.gd-cat {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--vermillion); border: 1px solid var(--rule); padding: 4px 12px; margin-bottom: 18px;
}
.gd-term {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(28px, 5vw, 42px); line-height: 1.25; color: var(--ink-2); margin: 0 0 8px;
}
.gd-en { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--ink-mute); margin-bottom: 22px; }
.gd-def {
  font-family: var(--serif); font-size: 16px; line-height: 1.9; color: var(--ink-soft);
  max-width: 620px; margin: 0 auto;
}

/* 本文ブロック */
.gd-body { }
.gd-block { margin: 0 0 40px; }
.gd-h {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink-2);
  margin: 0 0 16px;
}
.gd-h-mark { width: 20px; height: 2px; background: var(--crystal-purple); flex-shrink: 0; }
.gd-block p {
  font-family: var(--serif); font-size: 15.5px; line-height: 2.0; color: var(--ink);
  margin: 0 0 15px;
}
.gd-block p em { font-style: normal; color: var(--vermillion-deep); font-weight: 500; }

/* 関連語チップ */
.gd-rel-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-rel-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule); background: var(--paper);
  padding: 9px 14px; text-decoration: none; color: var(--ink-2);
  font-size: 13.5px; font-weight: 500; transition: border-color 0.5s, background 0.5s;
}
.gd-rel-chip:hover { border-color: var(--crystal-purple); background: #fff; }
.gd-rel-chip .grc-k {
  width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 11px; color: #fff; background: var(--crystal-purple); border-radius: 50%;
}
.gd-rel-chip .grc-go { color: var(--crystal-purple); }

/* 深掘り導線 */
.gd-deep {
  display: flex; flex-direction: column; gap: 6px;
  margin: 8px 0 40px; padding: 22px 24px;
  background: var(--ink-2); text-decoration: none;
  transition: transform 0.5s, box-shadow 0.5s;
}
.gd-deep:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,35,64,0.24); }
.gd-deep-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); }
.gd-deep-title { font-family: var(--serif); font-weight: 500; font-size: 16px; color: #fff; line-height: 1.5; }

/* 出典 */
.gd-sources .gd-cite { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.gd-sources .gd-cite em { font-style: italic; }

/* 前後ナビ */
.gd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 26px; }
.gd-nav-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--rule); background: var(--paper);
  padding: 18px 20px; text-decoration: none; color: var(--ink-2);
  transition: border-color 0.5s, background 0.5s;
}
.gd-nav-card:hover { border-color: var(--crystal-purple); background: #fff; }
.gd-nav-card.next { text-align: right; align-items: flex-end; }
.gd-nav-card.ghost { visibility: hidden; }
.gd-nav-card .gnc-dir { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-mute); }
.gd-nav-card .gnc-t { font-family: var(--serif); font-weight: 500; font-size: 15px; line-height: 1.4; }
.gd-backrow { text-align: center; }
.gd-back {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-soft); text-decoration: none;
}
.gd-back:hover { color: var(--vermillion); }

@media (max-width: 640px) {
  .glossary-detail { padding: 32px 18px 32px; }
  .gd-nav { grid-template-columns: 1fr; }
  .gd-nav-card.next { text-align: left; align-items: flex-start; }
}

/* ============================================================
   グローバル検索オーバーレイ（ヘッダー検索 / ⌘K）
   ============================================================ */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; }
.search-overlay[hidden] { display: none; }
.search-overlay .so-backdrop { position: absolute; inset: 0; background: rgba(20,22,34,0.42); backdrop-filter: blur(3px); }
.search-overlay .so-panel {
  position: relative; z-index: 1; width: min(640px, 92vw); margin-top: 12vh;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 24px 70px rgba(20,22,34,0.32);
  display: flex; flex-direction: column; max-height: 70vh; overflow: hidden;
  animation: soIn 0.16s ease;
}
@keyframes soIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.so-inputrow { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.so-icon { color: var(--ink-mute); flex-shrink: 0; }
.so-input { flex: 1; border: none; background: none; outline: none; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.so-input::placeholder { color: var(--ink-mute); }
.so-esc { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); border: 1px solid var(--rule); padding: 3px 7px; border-radius: 4px; }
.so-results { overflow-y: auto; padding: 6px; }
.so-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  text-decoration: none; color: var(--ink-2); border-radius: 4px;
}
.so-item.is-sel { background: var(--ivory); }
.so-kind {
  flex-shrink: 0; width: 52px; text-align: center;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--vermillion);
  border: 1px solid var(--rule); padding: 4px 0; border-radius: 3px;
}
.so-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.so-t { font-family: var(--serif); font-weight: 500; font-size: 15px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-sub { font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); }
.so-go { flex-shrink: 0; color: var(--crystal-purple); opacity: 0; transition: opacity 0.45s; }
.so-item.is-sel .so-go { opacity: 1; }
.so-empty { padding: 40px 16px; text-align: center; font-family: var(--sans); font-size: 13px; color: var(--ink-mute); }
.so-foot {
  display: flex; gap: 18px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute);
}
.so-foot span:last-child { margin-left: auto; }
@media (max-width: 560px) {
  .search-overlay .so-panel { margin-top: 6vh; max-height: 84vh; }
  .so-foot span:not(:last-child) { display: none; }
}

/* ============================================================
   本文中の用語オートリンク＋「登場した用語」チップ（回遊性）
   ============================================================ */
.news-article .term-link {
  color: var(--vermillion-deep);
  text-decoration: none;
  border-bottom: 1px dotted rgba(122,107,168,0.5);
  transition: border-color 0.45s, color 0.45s;
}
.news-article .term-link:hover {
  color: var(--vermillion);
  border-bottom-color: var(--vermillion);
}
.article-terms {
  margin: 40px 0 8px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.article-terms .at-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--vermillion); margin-bottom: 14px;
}
.article-terms .at-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.article-terms .at-chip {
  display: inline-block;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  color: var(--ink-2); background: var(--ivory);
  border: 1px solid var(--rule); padding: 7px 12px;
  text-decoration: none; transition: border-color 0.5s, background 0.5s;
}
.article-terms .at-chip:hover { border-color: var(--crystal-purple); background: #fff; }

/* ===== §04 今週の読み物 → 一覧ページへの動線 ===== */
.knowledge-all { margin-top: 40px; display: flex; justify-content: center; }
.knowledge-all-link {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 20px 32px;
  background: var(--paper); border: 1px solid var(--rule);
  text-decoration: none; color: var(--ink-2);
  transition: border-color 0.5s, background 0.5s, transform 0.5s;
}
.knowledge-all-link:hover { border-color: var(--crystal-purple); background: #fff; transform: translateY(-2px); }
.knowledge-all-link .kal-main { font-family: var(--serif); font-weight: 500; font-size: 17px; }
.knowledge-all-link .kal-sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-mute);
  padding-left: 16px; border-left: 1px solid var(--rule);
}
.knowledge-all-link .kal-arrow { font-family: var(--serif); font-size: 20px; color: var(--crystal-purple); transition: transform 0.5s; }
.knowledge-all-link:hover .kal-arrow { transform: translateX(5px); }
@media (max-width: 640px) {
  .knowledge-all-link { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 22px; }
  .knowledge-all-link .kal-sub { padding-left: 0; border-left: none; }
}
