/* EnCycle Agent  デザインB（対話）
   値は landing-page-design スキルの表に合わせる。
   文字サイズ：12/14/16/18/20/24/30/36/48/60
   余白：2/4/8/12/16/24/32/40/48/64/80/96
   例外：和文の本文は読みやすさのため行送りを 16px/28px にしている。 */

html, body { background: #ffffff; }

:root {
  --ink: #111111;
  --muted: #5f6368;
  --surface: #eef4f1;
  --line: rgba(17, 17, 17, .1);
  --accent: #007a55;
  --accent-hover: #00664a;
  --dark: #181818;
  --todo-bg: #fff1b8;
  --todo-ink: #6b5200;
  --todo-line: #d4a300;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-state: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
body {
  font-family: "Manrope", "Zen Kaku Gothic New", sans-serif;
  font-size: 16px; line-height: 28px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  word-break: auto-phrase;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(0, 122, 85, .25); }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p, li, dd { text-wrap: pretty; }
.ph, .ph-fill { line-height: 1; }

/* ページ遷移（対応ブラウザのみ。非対応ならふつうに遷移） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 200ms var(--ease-state) both; }
::view-transition-new(root) { animation: vt-in 500ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.site-nav { view-transition-name: site-nav; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; text-decoration: none;
  transition: transform 300ms var(--ease);
}
.skip:focus { transform: translateY(80px); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== ナビ ===== */
.site-nav {
  position: fixed; top: 16px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 32px; white-space: nowrap; width: max-content;
  padding: 8px 8px 8px 16px; border-radius: 9999px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}
.site-nav::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08); opacity: 0;
  transition: opacity 300ms var(--ease-state);
}
.is-scrolled .site-nav::after { opacity: 1; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; line-height: 20px; text-decoration: none; }
.brand img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 24px; list-style: none; padding: 0; }
.nav-links a {
  position: relative; font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none;
  transition: color 300ms var(--ease-state);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 500ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 9999px; border: 0; background: transparent;
  position: relative; cursor: pointer; color: var(--ink);
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 500ms var(--ease);
}
.menu-toggle span:nth-child(1) { transform: translateY(-4px); }
.menu-toggle span:nth-child(2) { transform: translateY(4px); }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 96px 24px 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease-state), visibility 0s 300ms;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease-state); }
.mobile-menu ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.mobile-menu a:not(.btn) { display: block; padding: 12px 0; font-size: 24px; line-height: 32px; font-weight: 700; text-decoration: none; }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; }

/* ===== ボタン ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 16px; line-height: 24px;
  padding: 8px 12px; border-radius: 9999px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease-state), color 300ms var(--ease-state);
  will-change: transform;
}
.btn .ph { transition: transform 500ms var(--ease); }
.btn:hover .ph-arrow-right, .btn:hover .ph-arrow-up-right { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; padding: 12px 24px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: #fff; color: var(--ink); padding: 12px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: #fff; color: var(--ink); padding: 12px 24px; }
.btn-light:hover { background: #e6e6e6; }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 16px; }
.btn-lg { padding: 16px 32px; }

.text-link { position: relative; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--accent); text-decoration: none; }
.text-link::after {
  content: ""; position: absolute; left: 0; right: 24px; bottom: 0; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link .ph { transition: transform 500ms var(--ease); }
.text-link:hover .ph { transform: translateX(4px); }

/* ===== レイアウト ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.narrow { max-width: 800px; }
.section { padding: 96px 0; }
.section-surface { background: var(--surface); }
.section-dark { background: var(--dark); color: #fff; }
.section-head { max-width: 800px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: currentColor; }
h2.title { font-size: 36px; line-height: 48px; letter-spacing: -0.01em; }
.lead { margin-top: 16px; font-size: 18px; line-height: 32px; color: var(--muted); }
.section-dark .lead { color: #b5b5b5; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 24px; }
.xsmall { font-size: 12px; line-height: 16px; }

/* ===== 要入力プレースホルダー ===== */
.todo {
  display: inline; overflow-wrap: anywhere;
  background: var(--todo-bg); color: var(--todo-ink);
  border: 1px dashed var(--todo-line); border-radius: 4px;
  padding: 0 8px; font-weight: 600; font-size: 0.875em; line-height: 1.6;
  word-break: normal;
}
.todo::before { content: "要入力"; white-space: nowrap; display: inline-block; margin-right: 4px; line-height: 16px; font-size: 12px; line-height: 16px; padding: 0 4px; border-radius: 2px; background: var(--todo-line); color: #fff; }
.todo.check::before { content: "要確認"; }
.todo-block {
  display: block; background: var(--todo-bg); color: var(--todo-ink);
  border: 1px dashed var(--todo-line); border-radius: 8px; padding: 12px 16px;
  font-size: 14px; line-height: 24px; font-weight: 500;
}
.todo-block strong { font-weight: 700; }

/* ===== ヒーロー ===== */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.faces { display: flex; }
.face {
  width: 40px; height: 40px; border-radius: 9999px; border: 2px solid #fff; flex: none;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--accent);
}
.face + .face { margin-left: -8px; }
.face.f2 { background: #2b3a34; }
.face.f3 { background: #6b7c74; }
.who p { font-size: 14px; line-height: 20px; color: var(--muted); }
.hero .hero-catch, .page-hero h1 {
  font-size: 48px; line-height: 64px; letter-spacing: -0.02em; max-width: 680px;
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .hero-label {
  font-size: 16px; line-height: 24px; font-weight: 700; color: var(--accent); margin-bottom: 12px; max-width: 680px;
}
.hero-catch { font-weight: 700; text-wrap: balance; }
.hero .lead, .page-hero .lead { max-width: 680px; margin-top: 24px; }
.hero-cta { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.checks { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; line-height: 20px; color: var(--muted); list-style: none; padding: 0; }
.checks li { display: inline-flex; align-items: center; gap: 4px; }
.checks .ph-fill { color: var(--accent); }
.license { margin-top: 32px; font-size: 12px; line-height: 16px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.page-hero { padding: 160px 0 64px; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin-bottom: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b5b5b5; }

.hero-aside .chat { max-width: 420px; margin-left: auto; }
.stat.big-stat { max-width: 420px; margin-left: auto; padding: 48px; background: var(--surface); box-shadow: none; }
.stat.big-stat .num { font-size: 96px; color: var(--accent); }
.stat.big-stat .num small { font-size: 36px; }
@media (max-width: 1023px) { .hero-aside .chat, .big-stat { margin-left: 0; } }
@media (max-width: 640px) { .stat.big-stat { padding: 32px; } .stat.big-stat .num { font-size: 72px; } }

/* ===== 会話 ===== */
.chat { background: var(--surface); border-radius: 24px; padding: 24px; }
.section-surface .chat { background: #fff; }
.chat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.chat-head strong { color: var(--ink); }
.chat-body { display: grid; gap: 12px; }
.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg .face { width: 32px; height: 32px; font-size: 14px; border: 0; }
.bubble {
  max-width: 320px; padding: 12px 16px; border-radius: 16px; background: #fff;
  font-size: 14px; line-height: 24px;
}
.section-surface .chat .bubble { background: var(--surface); }
.msg.me { justify-content: flex-end; }
.msg.me .bubble { background: var(--ink); color: #fff; }
.bubble .tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--accent); }
.typing { display: inline-flex; gap: 4px; padding: 16px; }
.typing i { width: 8px; height: 8px; border-radius: 9999px; background: #9aa5a0; animation: dot 900ms var(--ease-state) infinite; }
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 0%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.js .chat [data-step] { display: none; }
.chat .typing-row { display: none; }
.js .chat .typing-row.is-shown { display: flex; animation: pop 300ms var(--ease) both; }
.js .chat [data-step].is-shown { display: flex; animation: pop 500ms var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.chat-replay {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 4px;
  font: inherit; font-size: 12px; line-height: 16px; color: var(--muted); background: none; border: 0; cursor: pointer;
  opacity: 0; transition: opacity 300ms var(--ease-state), color 300ms var(--ease-state);
}
.chat.is-done .chat-replay { opacity: 1; }
.chat-replay:hover { color: var(--ink); }

/* ===== スクロールで現れる ===== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ===== カード ===== */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; background: #fff; border-radius: 24px; padding: 32px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 500ms var(--ease);
}
.section-surface .card { box-shadow: none; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .08); opacity: 0; transition: opacity 500ms var(--ease);
}
.card.hover:hover { transform: translateY(-4px); }
.card.hover:hover::after { opacity: 1; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--surface); color: var(--accent);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 24px;
  transition: transform 500ms var(--ease);
}
.section-surface .card .icon { background: var(--surface); }
.card.hover:hover .icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .more { margin-top: 16px; }

/* ===== タグライン（1語ずつ色が付く） ===== */
.tagline-section { padding: 160px 0; }
.tagline {
  font-size: 48px; line-height: 64px; font-weight: 700; letter-spacing: -0.02em; max-width: 800px;
}
.tagline .w { color: rgba(17, 17, 17, .25); transition: color 700ms var(--ease); }
.tagline .w.on { color: var(--ink); }
.tagline .w.accent.on { color: var(--accent); }

/* ===== 流れ ===== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.flow { position: relative; list-style: none; padding: 0; display: grid; gap: 32px; max-width: 800px; }
.flow::before, .flow::after {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px;
}
.flow::before { background: var(--line); }
.flow::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: start; }
.flow .num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 9999px;
  background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--muted);
  display: grid; place-items: center; font-weight: 700; font-size: 16px;
  transition: background-color 500ms var(--ease), color 500ms var(--ease), box-shadow 500ms var(--ease);
}
.section-surface .flow .num { background: var(--surface); }
.flow li.on .num { background: var(--accent); color: #fff; box-shadow: none; }
.flow h3 { font-size: 20px; line-height: 28px; padding-top: 8px; }
.flow p { color: var(--muted); margin-top: 4px; }

/* ===== 寄付シミュレーター ===== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: #fff; border-radius: 24px; padding: 48px; box-shadow: inset 0 0 0 1px var(--line); }
.calc label { display: block; font-weight: 700; margin-bottom: 16px; }
.calc output { font-variant-numeric: tabular-nums; }
.calc-salary { font-size: 30px; line-height: 36px; font-weight: 700; }
.calc-salary small { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 4px; }
input[type="range"] { width: 100%; margin-top: 24px; accent-color: var(--accent); height: 24px; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 8px; }
.calc-result { background: var(--surface); border-radius: 16px; padding: 32px; }
.calc-result .big { font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-result .big small { font-size: 24px; margin-left: 4px; }
.calc-result dl { margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 14px; line-height: 24px; }
.calc-result dt { color: var(--muted); }
.calc-result dd { font-weight: 700; text-align: right; }

/* ===== 数字 ===== */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat { border-radius: 24px; padding: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stat .num { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: 20px; margin-left: 4px; }
.stat p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 24px; }

/* ===== 求人例 ===== */
.job { display: flex; flex-direction: column; }
.job .cat { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.job ul { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 4px; font-size: 14px; line-height: 24px; }
.job li { display: flex; gap: 8px; align-items: baseline; }
.job li .ph { color: var(--accent); transform: translateY(2px); }

/* ===== アドバイザー ===== */
.advisor { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; }
.advisor .photo {
  width: 160px; height: 200px; border-radius: 16px; background: var(--todo-bg);
  border: 1px dashed var(--todo-line); color: var(--todo-ink);
  display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 16px; font-weight: 600; padding: 12px;
}
.advisor .photo .ph { display: block; font-size: 30px; margin-bottom: 8px; }
.advisor > div, .advisor dd { min-width: 0; }
.advisor h3 { font-size: 24px; line-height: 32px; }
.advisor dl { margin-top: 16px; display: grid; grid-template-columns: 96px 1fr; gap: 8px 16px; font-size: 14px; line-height: 24px; }
.advisor dt { color: var(--muted); }
.advisor blockquote { margin-top: 24px; padding: 16px 24px; border-radius: 16px; background: var(--surface); }

.kosen-badge, .card .kosen-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px;
  background: var(--accent); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700;
}
.card .kosen-badge.big { font-size: 14px; line-height: 20px; padding: 4px 12px; margin-bottom: 8px; }
.adv-mini .adv-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.adv-mini h3 { margin: 4px 0 0; font-size: 24px; line-height: 32px; }
.avatar {
  width: 64px; height: 64px; flex: none; border-radius: 9999px; background: var(--surface); color: var(--accent);
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
  transition: transform 500ms var(--ease);
}
.section-surface .adv-mini .avatar { background: var(--surface); }
.adv-mini:hover .avatar { transform: scale(1.08) rotate(-4deg); }
.photo-round { display: block; border-radius: 9999px; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
img.face { padding: 0; object-fit: cover; }
.advisor .photo-big { width: 160px; height: 160px; }
.photo-initial { display: block; font-size: 36px; line-height: 40px; font-weight: 700; margin-bottom: 8px; }
.who strong { color: var(--ink); font-weight: 700; }

.founder-quote { margin: 48px 0 0; padding: 40px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); max-width: 960px; }
.founder-quote blockquote { font-size: 20px; line-height: 36px; font-weight: 500; }
.founder-quote blockquote::before { content: "“"; display: block; font-size: 60px; line-height: 40px; color: var(--accent); font-weight: 700; }
.founder-quote figcaption { margin-top: 24px; display: flex; align-items: center; gap: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.founder-quote figcaption strong { color: var(--ink); font-size: 16px; line-height: 24px; }
.founder-quote .avatar { width: 48px; height: 48px; font-size: 20px; }
@media (max-width: 640px) { .founder-quote { padding: 24px; border-radius: 16px; } .founder-quote blockquote { font-size: 18px; line-height: 32px; } }

.seeker-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.seeker .avatar { width: 48px; height: 48px; font-size: 20px; }
.card .seeker-meta { font-weight: 700; color: var(--ink); }
.card .seeker-kosen { font-size: 14px; line-height: 20px; color: var(--accent); font-weight: 600; }

.card .adv-title { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 4px; }

/* ===== 転職ガイド ===== */
.supervised { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--accent); }
.supervised a { text-decoration: underline; text-underline-offset: 2px; }
.card .supervised { color: var(--accent); margin-bottom: 12px; }
.guide-card h2 { font-size: 24px; line-height: 32px; }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { color: var(--accent); }
.article-hero .article-sub { margin-top: 8px; font-size: 18px; line-height: 28px; color: var(--muted); font-weight: 500; }
.article-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 12px; line-height: 16px; color: var(--muted); }
.toc { background: var(--surface); border-radius: 16px; padding: 24px 32px; margin-bottom: 48px; }
.toc p { font-weight: 700; margin-bottom: 8px; }
.toc ol { padding-left: 24px; display: grid; gap: 4px; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--accent); }
.prose section + section { margin-top: 64px; }
.prose h2 { font-size: 30px; line-height: 40px; margin-bottom: 24px; scroll-margin-top: 96px; }
.prose h3 { font-size: 20px; line-height: 28px; margin: 32px 0 12px; }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 8px; margin: 16px 0; }
.prose li strong { font-weight: 700; }
.prose .steps { counter-reset: none; }
.article-cta { margin-top: 64px; padding: 40px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.article-cta h2 { font-size: 24px; line-height: 32px; margin-bottom: 12px; }
.article-cta .btn { margin-top: 24px; }
.related { margin-top: 48px; }
.related p { font-weight: 700; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
@media (max-width: 640px) {
  .prose h2 { font-size: 24px; line-height: 32px; }
  .toc { padding: 16px 24px; }
  .article-cta { padding: 24px; border-radius: 16px; }
}

.supervisor-box { margin-top: 64px; display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 16px; background: var(--surface); }
.supervisor-box .photo-round { width: 64px; height: 64px; flex: none; }
.supervisor-box .sv-name { font-weight: 700; margin-top: 4px; }
.supervisor-box .sv-name a { text-decoration: none; }
.supervisor-box .adv-title { font-size: 12px; line-height: 16px; color: var(--muted); }
.note-links { margin-top: 8px; gap: 4px; font-size: 14px; line-height: 24px; }
.note-links li::before { display: none; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq.center { margin: 0 auto; }
.faq details { background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 300ms var(--ease-state); }
.section-surface .faq details { box-shadow: none; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px; font-weight: 700; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex: none; font-size: 20px; color: var(--accent); transition: transform 500ms var(--ease); }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 24px; color: var(--muted); }
.faq details[open] .ans { animation: ans 500ms var(--ease) both; }
@keyframes ans { from { opacity: 0; transform: translateY(-8px); } }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: 24px; line-height: 32px; margin-bottom: 24px; }

/* ===== 表（法定情報など） ===== */
.info { width: 100%; border-collapse: collapse; }
.info th, .info td { text-align: left; vertical-align: top; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info th { width: 240px; padding-right: 24px; font-weight: 700; }
.info td p + p, .info td ul + p, .info td p + ul { margin-top: 8px; }
.plain { list-style: none; padding: 0; display: grid; gap: 4px; }
.plain li { display: flex; gap: 8px; align-items: baseline; }
.plain li::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--accent); flex: none; transform: translateY(-2px); }

/* ===== CTA帯 ===== */
.cta-band { text-align: center; }
.cta-band h2 { font-size: 36px; line-height: 48px; max-width: 680px; margin: 0 auto; }
.cta-band .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-band .actions { margin-top: 40px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-band .checks { justify-content: center; margin-top: 24px; color: #b5b5b5; }
.cta-band .checks .ph-fill { color: #3ccf91; }

/* ===== フッター ===== */
.site-footer { background: var(--dark); color: #b5b5b5; padding: 64px 0 40px; font-size: 14px; line-height: 24px; border-top: 1px solid #272727; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h2 { color: #fff; font-size: 14px; line-height: 20px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color 300ms var(--ease-state); }
.site-footer a:hover { color: #fff; }
.copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid #272727; font-size: 12px; line-height: 16px; }
.site-footer .todo { font-size: 12px; }

/* ===== 404 ===== */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 96px 24px; }
.notfound .chat { max-width: 460px; width: 100%; }

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .chat [data-step] { display: flex; }
  .typing { display: none !important; }
  .tagline .w { color: var(--ink); }
  .flow::after { transform: scaleY(1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ===== レスポンシブ ===== */
@media (max-width: 1023px) {
  .container { padding: 0 24px; }
  .split { grid-template-columns: 1fr; gap: 0; }
  .split .section-head { position: static; margin-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .chat { max-width: 520px; }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .nav-links, .site-nav > .btn { display: none; }
  .menu-toggle { display: block; }
  .site-nav { gap: 16px; padding: 4px 4px 4px 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 28px; }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .page-hero { padding: 120px 0 48px; }
  .hero .hero-catch, .page-hero h1 { font-size: 30px; line-height: 40px; }
  .hero .hero-label { font-size: 14px; line-height: 20px; margin-bottom: 8px; }
  .lead { font-size: 16px; line-height: 28px; }
  h2.title, .cta-band h2 { font-size: 24px; line-height: 32px; }
  .tagline-section { padding: 96px 0; }
  .tagline { font-size: 30px; line-height: 40px; }
  .cards-2, .cards-3, .cards-4, .stats { grid-template-columns: 1fr; }
  .card { padding: 24px; border-radius: 16px; }
  .chat { padding: 16px; border-radius: 16px; }
  .calc { padding: 24px; border-radius: 16px; }
  .calc-result { padding: 24px; border-radius: 8px; }
  .calc-result .big { font-size: 48px; }
  .advisor { grid-template-columns: 1fr; gap: 24px; }
  .advisor dl { grid-template-columns: 1fr; gap: 0; }
  .advisor dt { margin-top: 12px; font-size: 12px; line-height: 16px; }
  .advisor dt:first-child { margin-top: 0; }
  .info th, .info td { display: block; width: auto; padding: 16px 0 0; border: 0; }
  .info td { padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta .btn { width: 100%; }
}
