/* Layout: wide white canvas, left-aligned editorial columns (label column + body column), thin rules, one cobalt accent */
:root {
  /* Color — ロゴ（緑→青のライン）と研修資料のグラフ色に合わせる */
  --paper: #ffffff;
  --paper-alt: #f3f5f6;
  --ink: #1a1c20;
  --ink-sub: #5b636d;
  --line: #dbe0e4;
  --accent: #0a6fa8;          /* 文字に使う青（ロゴの #0089ce を可読性のため少し深く） */
  --brand-green: #12ae67;
  --brand-blue: #0089ce;
  --brand-grad: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  --chart-1: #0e3566;          /* グラフ：研修資料と同じ青系5段階 */
  --chart-2: #1f5fae;
  --chart-3: #3a86e0;
  --chart-4: #8fb8ef;
  --chart-5: #d9d9d6;
  --c-basic: #12ae67;          /* 受講者の声の色分け：入門=グリーン / 中級=ブルー / 上級=グレー */
  --c-intermediate: #0089ce;
  --c-advanced: #6b7178;

  /* Type — WordPress側のフォント設定を優先 */
  --f-display: inherit;
  --f-body: inherit;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --fs-xs: 0.75rem;
  --fs-s: 0.875rem;
  --fs-m: 1rem;
  --fs-l: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-hero: clamp(2.2rem, 1rem + 4vw, 4.6rem);

  --wrap: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --section-pad: clamp(72px, 10vw, 150px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit; /* WordPress側のフォント設定を継承 */
  font-size: var(--fs-m);
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 32px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.mono { font-family: var(--f-mono); letter-spacing: 0.04em; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }
.selectable { user-select: all; }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-grad); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.logo { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.logo-mark { display: block; line-height: 0; }
.logo-svg { height: 34px; width: auto; display: block; }
.logo-word { font-family: var(--f-display); font-weight: 650; font-stretch: 100%; font-size: 64px; letter-spacing: -0.5px; fill: var(--ink); }
.logo { align-items: center; }
.logo-sub { font-family: var(--f-mono); font-size: 0.68rem; color: var(--ink-sub); letter-spacing: 0.06em; display: none; }
@media (min-width: 900px) { .logo-sub { display: inline; } }

.global-nav { display: none; }
.global-nav a { text-decoration: none; display: grid; line-height: 1.3; }
.global-nav .en { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-s); letter-spacing: 0.06em; text-transform: uppercase; }
.global-nav .ja { font-size: 0.68rem; color: var(--ink-sub); }
.global-nav a:hover .en { color: var(--accent); }
.nav-contact {
  font-family: var(--f-display); font-weight: 600; font-size: var(--fs-s); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper) !important; padding: 10px 20px; border-radius: 999px;
  display: inline-flex !important; align-items: center;
}
.nav-contact:hover { background: var(--accent); }

.menu-toggle {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.global-nav.is-open {
  display: grid; gap: 18px; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px));
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .global-nav, .global-nav.is-open { display: flex; position: static; align-items: center; gap: 32px; padding: 0; border: 0; background: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; display: grid; gap: 28px;
  padding-top: clamp(72px, 12vw, 160px); padding-bottom: clamp(96px, 12vw, 170px);
}
.hero-eyebrow { font-size: var(--fs-xs); color: var(--ink-sub); margin: 0; }
.hero-title { margin: 0; }
.hero-title .en {
  display: block; font-family: var(--f-display); font-weight: 500; font-stretch: 100%;
  font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
}
.hero-lead { margin: 0; font-size: var(--fs-l); font-weight: 500; line-height: 1.8; max-width: 30em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-xs); color: var(--accent); }
.hero-kpis { display: flex; flex-wrap: wrap; gap: 16px 0; margin-top: 8px; text-decoration: none; width: fit-content; max-width: 100%; border-top: 1px solid var(--line); padding-top: 20px; }
.hero-kpi { display: grid; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-kpi:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-kpi-label { font-size: var(--fs-xs); color: var(--ink-sub); }
.hero-kpi-num { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-kpi-num small { font-size: 0.5em; font-weight: 600; margin-left: 2px; }
.hero-kpis:hover .hero-kpi-num { color: var(--accent); }
@media (max-width: 480px) { .hero-kpi { padding-right: 16px; margin-right: 16px; } }
.scroll-cue {
  position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 24px;
  font-size: var(--fs-xs); text-transform: uppercase; text-decoration: none; color: var(--ink-sub);
  writing-mode: vertical-rl; padding-bottom: 56px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 48px; background: var(--ink-sub);
  transform-origin: top; animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-alt { background: var(--paper-alt); }
.section-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .section-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; } }

.section-head { margin: 0; }
.section-head-row { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 20px; margin-bottom: 48px; }
.section-head-row .section-ja { grid-column: 2; }
.section-no { margin: 0; font-size: var(--fs-s); color: var(--accent); }
.section-en {
  margin: 0; font-family: var(--f-display); font-weight: 650; font-stretch: 112%;
  font-size: var(--fs-xl); line-height: 1.15; letter-spacing: -0.01em;
}
.section-ja { margin: 6px 0 0; font-size: var(--fs-s); font-weight: 500; color: var(--ink-sub); letter-spacing: 0.08em; }

.section-body { min-width: 0; display: grid; gap: 32px; align-content: start; }
.statement { margin: 0; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.55; letter-spacing: 0.03em; text-wrap: balance; }
.body-text { margin: 0; max-width: 40em; color: var(--ink); }
.section-intro { margin: 0 0 56px; max-width: 40em; font-size: var(--fs-l); line-height: 1.8; font-weight: 500; }

.group-note { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 6px; font-size: var(--fs-s); color: var(--ink-sub); max-width: 40em; }
.group-note p { margin: 0; }
.group-note-label { font-size: var(--fs-xs); text-transform: uppercase; color: var(--accent); }
.group-note a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Programs ---------- */
.programs { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .programs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.program { padding: 32px 0 40px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) {
  .program { padding: 36px 32px 44px; border-bottom: 0; border-left: 1px solid var(--line); }
  .program:first-child { border-left: 0; padding-left: 0; }
}
.program-tag { margin: 0; font-size: var(--fs-xs); text-transform: uppercase; color: var(--accent); }
.program-title { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.program-text { margin: 0; font-size: var(--fs-s); color: var(--ink-sub); }
.program-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; font-size: var(--fs-s); }
.program-list li { padding: 10px 0; border-top: 1px dashed var(--line); }
.services { margin-top: 64px; display: grid; gap: 20px; }
.services-label { margin: 0; font-size: var(--fs-xs); text-transform: uppercase; color: var(--ink-sub); }
.services-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service { background: var(--paper); padding: 32px 28px 36px; display: grid; gap: 12px; align-content: start; }
.service-theme { margin: 4px 0; font-size: var(--fs-l); font-weight: 700; line-height: 1.6; padding-left: 16px; border-left: 3px solid var(--brand-green); }
.service-sub { margin-left: 12px; font-size: var(--fs-xs); font-weight: 500; color: var(--accent); border: 1px solid currentColor; padding: 2px 8px; vertical-align: middle; }
.programs-note { margin: 24px 0 0; font-size: var(--fs-s); color: var(--ink-sub); }

/* ---------- Numbers ---------- */
.stats { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.stat { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.stat-label { font-size: var(--fs-s); font-weight: 500; }
.stat-value { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.stat-value .num, .survey-kpi-value .num {
  font-family: var(--f-display); font-weight: 600; font-stretch: 110%;
  font-size: clamp(3.4rem, 2.4rem + 3vw, 5.2rem); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-value .unit, .survey-kpi-value .unit { font-size: var(--fs-m); font-weight: 700; }
.stat-note { margin: 0; font-size: var(--fs-xs); color: var(--ink-sub); }
.footnote { margin: 20px 0 0; font-size: var(--fs-xs); color: var(--ink-sub); }

/* ---------- Concept ---------- */
.concept { display: grid; gap: 24px; align-items: center; padding: 48px 0; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .concept { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.2fr); gap: 32px; } }
.concept-when { margin: 0 0 12px; font-size: var(--fs-xs); text-transform: uppercase; color: var(--ink-sub); }
.concept-text { margin: 0; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-weight: 700; line-height: 1.6; color: var(--ink-sub); }
.concept-now .concept-when { color: var(--accent); }
.concept-now .concept-text { color: var(--ink); }
.concept-now em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--brand-blue) 22%, transparent) 62%); }
.concept-arrow { height: 3px; width: 64px; background: var(--brand-grad); position: relative; }
.concept-arrow::after { content: ""; position: absolute; right: -2px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--brand-blue); border-right: 3px solid var(--brand-blue); transform: translateY(-50%) rotate(45deg); }
@media (min-width: 900px) { .concept-arrow { width: 100%; } }
@media (max-width: 899px) { .concept-arrow { transform: rotate(90deg); margin: 16px 0 16px 8px; width: 40px; } }
.concept-result { display: grid; gap: 12px; padding: 28px 0 56px; border-top: 1px solid var(--line); }
.concept-result-lead { margin: 0; font-size: var(--fs-l); font-weight: 700; }
.concept-result-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.concept-result-list li { padding-left: 1.6em; position: relative; }
.concept-result-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Voice (top) ---------- */
.voice-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); padding: 6px 0; }
.link-more:hover { color: var(--accent); border-color: var(--accent); }

.back-top { padding-block: 56px; }

/* ---------- Survey ---------- */
.survey { display: grid; gap: 28px; padding: 40px 0 56px; border-top: 1px solid var(--ink); }
.survey + .survey { border-top-color: var(--line); }
.survey-head { display: grid; gap: 10px; }
.survey-kicker { margin: 0; font-size: var(--fs-s); color: var(--ink-sub); }
.survey-title { margin: 0; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.6; font-weight: 700; text-wrap: balance; }
.survey-title strong { color: var(--accent); }
.survey-n { margin: 0; font-size: var(--fs-xs); color: var(--ink-sub); }

.stack-chart { background: var(--paper); padding: 24px; display: grid; gap: 18px; min-width: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-xs); color: var(--ink-sub); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; display: inline-block; }
.stack-rows { display: grid; gap: 16px; }
.stack-row { display: grid; gap: 8px; }
@media (min-width: 760px) { .stack-row { grid-template-columns: 15em minmax(0, 1fr); gap: 20px; align-items: center; } }
.stack-label { font-size: var(--fs-s); font-weight: 500; line-height: 1.5; }
.stack-label small { display: block; font-size: var(--fs-xs); color: var(--ink-sub); font-weight: 400; }
.stack-bar { display: flex; height: 36px; gap: 2px; }
.seg { display: flex; align-items: center; justify-content: center; min-width: 0; font-family: var(--f-mono); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; color: #fff; overflow: hidden; white-space: nowrap; }
.seg.light { color: var(--ink); }
.stack-axis { display: none; }
@media (min-width: 760px) {
  .stack-axis { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 20px; font-size: var(--fs-m); }
  .stack-axis div { position: relative; height: 1.4em; font-family: var(--f-mono); font-size: 0.68rem; color: var(--ink-sub); }
  .stack-axis div span { position: absolute; top: 0; transform: translateX(-50%); }
  .stack-axis div span:first-child { transform: none; }
  .stack-axis div span:last-child { transform: translateX(-100%); }
}

/* ---------- Survey report page ---------- */
.report-hero { padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.report-hero .wrap { display: grid; gap: 24px; }
.crumb { margin: 0; font-size: var(--fs-xs); color: var(--ink-sub); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.report-title { margin: 0; display: grid; gap: 8px; }
.report-title .en { font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-size: clamp(2.4rem, 1.2rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.report-title .ja { font-size: var(--fs-l); font-weight: 700; }
.report-lead { margin: 0; max-width: 40em; }
.report-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 12px 48px; }
.report-meta dt { font-size: var(--fs-xs); color: var(--ink-sub); }
.report-meta dd { margin: 0; font-weight: 700; }
.report-head { margin-bottom: 40px; }
.profile-charts { display: grid; gap: 16px; }
.report-point { margin: 24px 0 0; max-width: 44em; font-weight: 500; }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.kpi-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.kpi-table th, .kpi-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.kpi-table th:first-child { text-align: left; padding-left: 0; font-weight: 500; }
.kpi-table thead th { font-size: var(--fs-xs); color: var(--ink-sub); font-weight: 500; }
.kpi-table small { display: block; font-size: 0.7rem; color: var(--ink-sub); font-weight: 400; }
.kpi-table td { font-family: var(--f-mono); }
.kpi-table .total { font-weight: 700; color: var(--accent); }
.kpi-table thead .total { color: var(--accent); }

.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr) 4em; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.hbar-label { font-size: var(--fs-s); grid-column: 1 / -1; }
.hbar-track { height: 10px; background: color-mix(in srgb, var(--line) 60%, transparent); position: relative; }
.hbar-fill { position: absolute; inset: 0 auto 0 0; background: var(--brand-grad); }
.hbar-val { text-align: right; font-size: var(--fs-s); font-weight: 500; }
@media (min-width: 900px) {
  .hbar { grid-template-columns: minmax(0, 26em) minmax(0, 1fr) 4em; }
  .hbar-label { grid-column: auto; }
}
.footnote:not(.mono) { font-size: var(--fs-xs); }

.voice-charts { display: grid; gap: 0; margin: 48px 0 24px; }
.survey-top { border-top-color: var(--line); }
.survey-top:first-child { border-top: 0; padding-top: 16px; }
.report-sub { margin: 48px 0 16px; }

.voice-groups { display: grid; gap: 48px; }
.voice-group { --c: var(--c-basic); display: grid; gap: 16px; }
.voice-intermediate { --c: var(--c-intermediate); }
.voice-advanced { --c: var(--c-advanced); }
.voice-group-head { margin: 0; display: flex; align-items: center; gap: 14px; font-size: var(--fs-l); font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid var(--c); }
.voice-chip { font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; color: #fff; background: var(--c); padding: 3px 10px; }
.comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .comments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .comments { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.comment { background: var(--paper); padding: 28px 24px; display: grid; gap: 16px; align-content: space-between; border-left: 3px solid var(--c, var(--line)); }
.comment p { margin: 0; font-size: var(--fs-s); line-height: 1.9; }
.comment cite { font-style: normal; font-size: var(--fs-xs); color: var(--c, var(--ink-sub)); font-family: var(--f-mono); }

/* ---------- Instructor ---------- */
.profile { display: grid; gap: 40px; }
.profile .sub-head { margin: 0 0 16px; }
.profile-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: var(--fs-s); }
.profile-links a, .history a, .info-table dd a { text-underline-offset: 3px; }
.profile-links a span { margin-left: 4px; }
.profile-photo {
  aspect-ratio: 4 / 5; max-width: 100%; background: var(--paper-alt);
  display: grid; place-items: center; color: var(--ink-sub); font-size: var(--fs-xs); text-transform: uppercase;
  border: 1px solid var(--line);
}
.profile-text { display: grid; gap: 16px; align-content: start; min-width: 0; }
.profile-role { margin: 0; font-size: var(--fs-s); color: var(--ink-sub); }
.profile-name { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.3; }
.profile-name-en { display: block; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-s); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-sub); }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: var(--fs-xs); border: 1px solid var(--ink); padding: 4px 12px; border-radius: 999px; }
.profile-link { margin: 0; font-size: var(--fs-s); }
.profile-link a { text-underline-offset: 3px; }

/* ---------- Company ---------- */
.info-table { margin: 0; border-top: 1px solid var(--ink); }
.info-table > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .info-table > div { grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; } }
.info-table dt { font-size: var(--fs-s); color: var(--ink-sub); }
.info-table dd { margin: 0; font-size: var(--fs-s); }
.info-table a { text-underline-offset: 3px; }
.sub-head { margin: 24px 0 0; font-size: var(--fs-l); font-weight: 700; }
.history { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.history li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
@media (min-width: 640px) { .history li { grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; } }
.history time { color: var(--accent); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding-block: var(--section-pad); }
.contact-inner { display: grid; gap: 24px; }
.contact-en { color: color-mix(in srgb, var(--paper) 60%, var(--ink)); }
.contact-title { margin: 0; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.6; font-weight: 700; text-wrap: balance; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--paper); color: var(--ink); padding: 18px 32px; border-radius: 999px; font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent); color: var(--paper); }
.contact-mail { margin: 0; font-size: var(--fs-s); color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.contact-mail .selectable { color: var(--paper); margin-left: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer-inner { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto; } }
.footer-brand p { margin: 12px 0 0; font-size: var(--fs-s); color: var(--ink-sub); line-height: 1.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.footer-nav > div { display: grid; gap: 6px; align-content: start; }
.footer-nav a { text-decoration: none; font-size: var(--fs-s); }
.footer-nav a:hover { color: var(--accent); }
.footer-label { margin: 0 0 6px; font-size: var(--fs-xs); text-transform: uppercase; color: var(--ink-sub); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-sub); }
.footer-bottom a { text-decoration: none; }
@media (max-width: 767px) {
  .scroll-cue { display: none; }
  .hero-canvas { opacity: 0.6; }
}
