/* WAGATORU — Ver11
   方針: システム書体のみ / 罫線と余白で組む / 装飾アニメーションなし */

:root {
  --ink: #101419;
  --sub: #59616b;
  --mute: #8a9199;
  --line: #dcdfe1;
  --paper: #fff;
  --tint: #f3f4f2;
  --night: #0b1220;
  --night-line: rgba(255, 255, 255, .16);
  --night-sub: #aab3c2;
  --blue: #1257e6;
  --blue-deep: #0b3fb0;
  --green: #12a150;
  --gutter: clamp(20px, 5vw, 56px);
  --sans: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic Medium", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
  word-break: auto-phrase;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.4;
  font-feature-settings: "palt";
  letter-spacing: .02em;
  text-wrap: balance;
}

em { font-style: normal; }
.ph { display: inline-block; }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; font-size: 14px;
}
.skip-link:focus { top: 12px; }

.back-to-top, .honeypot { display: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 37px; height: 22px; object-fit: contain; }
.brand-name, .brand-type strong {
  font-size: 17px; font-weight: 700; letter-spacing: .09em; line-height: 1;
}
.brand-mark { display: inline-flex; }
.brand-type small { display: none; }

.desktop-nav {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.desktop-nav a { padding: 6px 0; color: var(--sub); border-bottom: 1px solid transparent; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.header-cta {
  flex: none;
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
  padding: 0 20px; height: 40px; display: inline-flex; align-items: center;
  transition: background .15s;
}
.header-cta:hover { background: var(--blue); }

.menu-button {
  display: none; width: 40px; height: 40px; position: relative; flex: none;
}
.menu-button span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform .2s, top .2s;
}
.menu-button span:first-child { top: 15px; }
.menu-button span:last-child { top: 23px; }
.menu-button[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu nav { display: grid; padding: 8px var(--gutter) 24px; }
.mobile-menu a {
  padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px;
}
.mobile-menu .mobile-contact {
  margin-top: 18px; border: 0; background: var(--ink); color: #fff; text-align: center;
}

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-button { display: block; }
  /* メニューボタンを持たない下層ページは、横スクロールのナビを残す */
  .site-header:not(:has(.menu-button)) .header-inner { flex-wrap: wrap; height: auto; padding-block: 12px 0; row-gap: 4px; }
  .site-header:not(:has(.menu-button)) .desktop-nav {
    display: flex; order: 3; width: 100%; margin: 0; gap: 22px; overflow-x: auto; padding-bottom: 6px;
    scrollbar-width: none;
  }
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 28px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.3;
  border: 1px solid var(--ink);
  transition: background .15s, color .15s, border-color .15s;
}
.button svg, .submit-button svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .2s;
}
.button:hover svg, .submit-button:hover svg { transform: translateX(4px); }
.button-primary { background: var(--ink); color: #fff; }
@media (hover: hover) { .button-primary:hover { background: var(--blue); border-color: var(--blue); } }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: #fff; }

.text-link, .detail-text-link, .system-demo-link {
  font-weight: 700; font-size: 15px;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-link:hover, .detail-text-link:hover, .system-demo-link:hover { color: var(--blue); }

/* ---------- section scaffolding ---------- */

.section { padding-block: clamp(72px, 10vw, 136px); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 5.5vw, 72px); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--sub);
  margin-bottom: 20px; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.section-head h2, .authority-row h2, .selection-link-panel h2 {
  font-size: clamp(27px, 3.7vw, 46px);
  line-height: 1.38;
}
.section-lead, .lead {
  margin-top: 22px; color: var(--sub); font-size: clamp(15px, 1.25vw, 17px); max-width: 44em;
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(40px, 6vw, 88px); }

.hero-top { position: relative; }
.hero-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--sub); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6.7vw, 96px);
  line-height: 1.12; letter-spacing: 0; font-weight: 800;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span:last-child { color: var(--blue); }

.hero-side { position: absolute; right: 0; bottom: clamp(6px, 1vw, 16px); width: min(400px, 38%); }
.hero-lead { font-size: clamp(16px, 1.45vw, 19px); font-weight: 600; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--sub); }

.hero-demo { margin-top: clamp(40px, 5.5vw, 76px); }
.demo-frame {
  background: #05070c; aspect-ratio: 1600 / 718; overflow: hidden;
  border: 1px solid #05070c;
}
.demo-frame video { width: 100%; height: 100%; object-fit: cover; }
.demo-caption {
  display: flex; justify-content: space-between; gap: 0 16px; flex-wrap: wrap;
  margin-top: 12px; font-size: 12.5px; color: var(--sub);
}

.demo-notes {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px clamp(32px, 6vw, 96px);
  padding-block: clamp(48px, 6vw, 84px);
}
.demo-notes h2 { font-size: clamp(25px, 3vw, 38px); }
.demo-notes .section-lead { margin-bottom: 26px; }
.demo-points { border-top: 1px solid var(--ink); }
.demo-points > div {
  display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.demo-points dt { font-weight: 700; }
.demo-points dd { color: var(--sub); font-size: 15px; }

.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.proof > div { padding: clamp(22px, 2.6vw, 36px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.proof > div:first-child { border-left: 0; padding-left: 0; }
.proof dt { font-size: 13px; font-weight: 600; color: var(--sub); line-height: 1.5; }
.proof dd { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1.1; }
.proof b { font-size: clamp(44px, 5.4vw, 76px); font-weight: 700; letter-spacing: -.03em; }
.proof span { font-size: 14px; font-weight: 700; }
.proof-note { margin-top: 12px; font-size: 12px; color: var(--mute); }

/* ---------- issue ---------- */

.issue-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.issue-card h3 {
  font-size: 15px; letter-spacing: .08em; padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}
.issue-card li {
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 1.7;
}
.issue-note {
  margin-top: clamp(36px, 4vw, 56px); font-size: clamp(17px, 1.9vw, 23px); font-weight: 700; line-height: 1.7;
}
.issue-note::before { content: ""; display: block; width: 28px; height: 3px; background: var(--blue); margin-bottom: 18px; }

.outcomes {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px);
  padding-top: 28px; border-top: 1px solid var(--ink);
}
.outcomes > h3 { font-size: 15px; letter-spacing: .08em; }
.outcomes ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 3vw, 44px); }
.outcomes strong { display: block; font-size: 18px; line-height: 1.6; margin-bottom: 8px; }
.outcomes p { font-size: 14.5px; color: var(--sub); line-height: 1.85; }

/* ---------- work ---------- */

.work { background: var(--tint); }

.work-index {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink); margin-bottom: clamp(48px, 6vw, 88px);
}
.work-index a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 15px; line-height: 1.5;
}
.work-index a:hover { color: var(--blue); }
.work-index b { font-size: 12px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }

.work-case {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 5vw, 80px); align-items: start;
  padding-block: clamp(44px, 5.5vw, 76px); border-top: 1px solid var(--line);
}
.work-case:first-child { padding-top: 0; border-top: 0; }
.work-no { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
.work-case h3 { font-size: clamp(22px, 2.5vw, 31px); margin: 12px 0 18px; }
.work-case-copy > p { color: var(--sub); font-size: 15.5px; }
.work-case-copy ul { margin-top: 24px; border-top: 1px solid var(--line); }
.work-case-copy li {
  position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600; line-height: 1.6;
}
.work-case-copy li::before {
  content: ""; position: absolute; left: 2px; top: 1.45em; width: 9px; height: 2px; background: var(--blue);
}
.image-open {
  display: block; width: 100%; background: #fff; border: 1px solid var(--line);
  cursor: zoom-in; transition: border-color .15s;
}
.image-open:hover { border-color: var(--ink); }
.image-open img { width: 100%; }
.work-shot figcaption { margin-top: 10px; font-size: 12.5px; color: var(--sub); }

.work-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ink);
}
.work-bottom p { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; max-width: 34em; line-height: 1.75; }

/* 下層ページの要点カード */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px clamp(28px, 4vw, 56px); }
.work-card { border-top: 1px solid var(--ink); padding-top: 22px; }
.work-card h3 { font-size: 19px; margin-bottom: 10px; }
.work-card p { color: var(--sub); font-size: 15px; }

/* ---------- services ---------- */

.service-list { border-bottom: 1px solid var(--line); }
.service-card {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 20px clamp(32px, 5vw, 80px);
  padding-block: clamp(30px, 3.6vw, 48px); border-top: 1px solid var(--line);
}
.service-card:first-child { border-top-color: var(--ink); }
.service-title h3 { font-size: clamp(21px, 2.2vw, 28px); letter-spacing: .03em; line-height: 1.35; }
.service-title h3 a::after { content: "→"; display: inline-block; margin-left: 10px; font-size: .7em; font-weight: 400; transition: transform .2s; }
.service-title h3 a:hover { color: var(--blue); }
.service-title h3 a:hover::after { transform: translateX(5px); }
.service-role { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--sub); }
.service-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px clamp(24px, 3.5vw, 56px); }
.service-body > p { font-size: 15.5px; }
.service-body > p:only-child { grid-column: 1 / -1; max-width: 40em; }
.service-body li {
  position: relative; padding-left: 18px; font-size: 14.5px; color: var(--sub); line-height: 1.7; margin-bottom: 8px;
}
.service-body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--ink); }

/* ---------- approach / steps ---------- */

.approach-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px clamp(24px, 3vw, 44px);
}
.approach-steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.step-no {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--blue);
  margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.approach-steps h3 { font-size: 19px; line-height: 1.55; margin-bottom: 10px; }
.approach-steps p { font-size: 14.5px; color: var(--sub); }

/* ---------- founder ---------- */

.founder { background: var(--night); color: #fff; border-top: 0 !important; }
.founder .eyebrow, .founder .section-lead { color: var(--night-sub); }

.founder-layout {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px clamp(32px, 6vw, 96px); align-items: start;
}
.founder-profile { position: sticky; top: 100px; }
.founder-profile img { width: 100%; background: #fff; }
.founder-name { margin-top: 18px; display: grid; gap: 2px; }
.founder-name strong { font-size: 22px; letter-spacing: .1em; }
.founder-name > span { font-size: 13px; color: var(--night-sub); }

.record-metrics { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #fff; }
.record-metrics > div { padding: 22px 0; border-bottom: 1px solid var(--night-line); }
.record-metrics > div:nth-child(odd) { padding-right: 24px; }
.record-metrics > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--night-line); }
.record-metrics dt { font-size: 13px; color: var(--night-sub); }
.record-metrics dd { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.4; margin-top: 4px; letter-spacing: .02em; }

.career { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 32px; }
.career h3 { font-size: 18px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin-bottom: 10px; }
.career h3 span { font-size: 13px; font-weight: 500; color: var(--night-sub); letter-spacing: .02em; }
.career p { font-size: 15px; color: #d3d9e3; }

.founder-message {
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--night-line);
}
.founder-message p { font-size: clamp(16px, 1.5vw, 18.5px); font-weight: 500; line-height: 2.1; }
.founder-message p + p { margin-top: 1.4em; }
.founder-message footer { margin-top: 26px; font-size: 14px; color: var(--night-sub); letter-spacing: .08em; }
.record-disclaimer { margin-top: clamp(40px, 5vw, 64px); font-size: 12px; color: #8792a5; }

/* ---------- insights (home) ---------- */

.insight-rows { border-top: 1px solid var(--ink); }
.insight-rows a {
  display: grid; grid-template-columns: 110px 190px minmax(0, 1fr) 24px; gap: 8px 28px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.insight-rows time, .insight-rows a > span { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.insight-rows a > span { font-weight: 700; letter-spacing: .06em; }
.insight-rows h3 { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.insight-rows i { font-style: normal; transition: transform .2s; }
.insight-rows a:hover h3 { color: var(--blue); }
.insight-rows a:hover i { transform: translateX(5px); color: var(--blue); }
.insight-more { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: baseline; }
.insight-more p { font-size: 13.5px; color: var(--sub); }

/* ---------- faq ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); }
.faq-layout .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; font-weight: 400; color: var(--sub); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 2.5em 24px 0; color: var(--sub); font-size: 15px; }

/* ---------- contact ---------- */

.contact { background: var(--tint); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }

.contact-aside h3 { font-size: 15px; letter-spacing: .08em; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.contact-aside li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-aside strong { display: block; font-size: 16.5px; }
.contact-aside li p { font-size: 14.5px; color: var(--sub); }
.contact-terms { margin-top: 24px; font-size: 14px; line-height: 2; }
.contact-terms b { font-weight: 700; }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px); }
.form-row { display: block; margin-bottom: 24px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-row > span, .two-columns label > span {
  display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--ink);
}
.form-row b, .two-columns b { font-size: 11px; font-weight: 700; color: #c2371d; letter-spacing: .06em; }
.form-row small, .two-columns small { font-size: 11px; color: var(--mute); font-weight: 600; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 54px; padding: 13px 15px;
  background: #fff; color: var(--ink);
  border: 1px solid #aeb4bb; border-radius: 0;
  font-size: 16px; line-height: 1.6;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23101419' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 42px;
}
textarea { resize: vertical; min-height: 128px; }
::placeholder { color: #9aa1a9; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 87, 230, .16); }

.privacy-check { display: flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; }
.privacy-check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.privacy-check a { border-bottom: 1px solid currentColor; }
.form-minimal-note { margin: 14px 0 26px; font-size: 13px; color: var(--sub); }
.submit-button {
  width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .08em;
  transition: background .15s;
}
.submit-button:hover { background: var(--blue); }
.submit-button:disabled { background: var(--mute); cursor: default; }
.form-status { min-height: 1.9em; margin-top: 12px; font-size: 14px; color: var(--sub); }
.form-status.is-error { color: #c2371d; font-weight: 700; }

/* ---------- footer ---------- */

.site-footer { background: var(--night); color: #fff; padding-block: clamp(48px, 6vw, 80px) 28px; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 6vw, 96px);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 37px; height: 22px; object-fit: contain; }
.footer-brand strong { display: block; font-size: 17px; letter-spacing: .09em; line-height: 1.3; }
.footer-brand span { font-size: 12px; color: var(--night-sub); }
.footer-vision { grid-column: 1; font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; line-height: 1.75; max-width: 20em; }
.footer-nav {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; font-size: 14px;
}
.footer-nav a { color: #d3d9e3; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px); padding: 20px 0 0; border-top: 1px solid var(--night-line);
  width: calc(100% - 2 * var(--gutter)); max-width: calc(1240px - 2 * var(--gutter));
  font-size: 12px; color: var(--night-sub);
}
.footer-base a:hover { color: #fff; }

.mobile-cta { display: none; }

/* ---------- image dialog ---------- */

.image-dialog {
  border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh;
}
.image-dialog::backdrop { background: rgba(8, 11, 18, .88); }
.image-dialog img { max-height: 86vh; width: auto; margin-inline: auto; background: #fff; }
.image-dialog button {
  display: block; margin: 0 0 10px auto; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em;
  border-bottom: 1px solid #fff;
}

/* ---------- detail pages ---------- */

.detail-hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.detail-hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(32px, 6vw, 96px); align-items: end;
}
.detail-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--sub); margin-bottom: 20px; }
.detail-title { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.3; letter-spacing: .01em; font-weight: 800; }
.detail-deck { margin-top: 28px; font-size: clamp(15.5px, 1.4vw, 18px); color: var(--sub); max-width: 36em; }
.detail-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.detail-reassurance { flex-basis: 100%; font-size: 13px; color: var(--sub); }

.detail-side-title { font-size: 0; }
.detail-side-title::after { content: "この支援で行うこと"; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.detail-hero-side ol { margin-top: 14px; border-top: 1px solid var(--ink); }
.detail-hero-side li {
  display: grid; grid-template-columns: 2.4em 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.detail-hero-side li > span { font-size: 13px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.detail-hero-side strong { display: block; font-size: 17px; line-height: 1.5; }
.detail-hero-side small { font-size: 14px; color: var(--sub); }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.fact-grid > div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.fact-grid dt { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .08em; }
.fact-grid dd { font-size: 17px; font-weight: 700; margin-top: 4px; line-height: 1.6; }

.authority-row, .selection-link-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start;
}
.authority-copy p + p { margin-top: 1.2em; }
.authority-copy small { display: block; margin-top: 20px; font-size: 12px; color: var(--mute); }
.selection-link-panel { align-items: center; }
.selection-link-panel p:not(.eyebrow) { margin-top: 16px; color: var(--sub); }
.selection-link-panel .button { justify-self: start; }

.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px clamp(28px, 4vw, 56px); }
.fit-grid article { border-top: 1px solid var(--ink); padding-top: 20px; }
.fit-grid article > span { font-size: 13px; font-weight: 700; color: var(--blue); }
.fit-grid h3 { font-size: 19px; margin: 10px 0; }
.fit-grid p { font-size: 15px; color: var(--sub); }
.fit-note { margin-top: 48px; padding: 24px 28px; background: var(--tint); display: grid; gap: 6px; }
.fit-note p { font-size: 15px; color: var(--sub); }

.detail-bottom-cta { background: var(--night); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.detail-bottom-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.detail-bottom-cta .container > div > span { display: none; }
.detail-bottom-cta h2 { font-size: clamp(24px, 3vw, 38px); }
.detail-bottom-cta p { margin-top: 10px; color: var(--night-sub); }
.detail-bottom-cta .button { background: #fff; color: var(--ink); border-color: #fff; }
.detail-bottom-cta .button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.detail-bottom-cta + .site-footer { border-top: 1px solid var(--night-line); }

/* ---------- simple pages / articles / insights ---------- */

.simple-page-header { border-bottom: 1px solid var(--line); }
.simple-page-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.simple-page-header .container > a:not(.brand) {
  font-size: 13.5px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.simple-page-header .container > a:not(.brand):hover { color: var(--blue); }

.simple-page-main { padding-block: clamp(56px, 8vw, 112px); }
.simple-page-main .container, .article-wrap, .article-container { max-width: 840px; }
.simple-page-main h1, .insights-page-hero h1, .article-head h1, .article-container h1 {
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.35;
}
.simple-action {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; margin-top: 36px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .06em;
}
.simple-action:hover { background: var(--blue); }

.policy-content { margin-top: 48px; border-top: 1px solid var(--ink); }
.policy-content section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.policy-content h2 { font-size: 18px; margin-bottom: 8px; }
.policy-content p, .policy-content li { color: var(--sub); font-size: 15.5px; }
.policy-content li { position: relative; padding-left: 18px; }
.policy-content li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--ink); }
.policy-content a, .article-body a { color: var(--blue); border-bottom: 1px solid currentColor; }

.simple-page-footer {
  border-top: 1px solid var(--line); padding: 28px var(--gutter); text-align: center;
  font-size: 12px; color: var(--sub); letter-spacing: .04em;
}

.article-wrap, .article-shell { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.article-wrap { margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.insights-back { font-size: 13.5px; font-weight: 700; color: var(--sub); }
.insights-back:hover { color: var(--ink); }
.article-head { margin-top: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.article-kicker { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--sub); margin-bottom: 16px; }
.article-deck, .article-lead { margin-top: 22px; font-size: clamp(16px, 1.5vw, 18px); color: var(--sub); }
.article-byline { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; color: var(--sub); }
.article-container .article-body { margin-top: 40px; border-top: 1px solid var(--ink); }

.article-body { font-size: 16.5px; line-height: 2.05; }
.article-body > p { margin-top: 1.5em; }
.article-body h2 { font-size: clamp(22px, 2.5vw, 28px); margin-top: 2.6em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.article-body h3 { font-size: 18.5px; margin-top: 2em; }
.article-body h3 + p, .article-body h2 + p { margin-top: .8em; }
.article-body ul, .article-body ol { margin-top: 1.4em; border-top: 1px solid var(--line); }
.article-body li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); line-height: 1.75; }
.article-body li::before { content: ""; position: absolute; left: 2px; top: 1.55em; width: 9px; height: 2px; background: var(--blue); }
.article-body table { width: 100%; border-collapse: collapse; margin-top: 1.6em; font-size: 15px; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { border-bottom-color: var(--ink); }
.article-callout, .article-cta { margin-top: 2.4em; padding: 26px 28px; background: var(--tint); border-left: 3px solid var(--blue); }
.article-callout b { display: block; font-size: 17px; margin-bottom: 6px; }
.article-callout p, .article-note { font-size: 15px; color: var(--sub); line-height: 1.95; }
.article-note { margin-top: 1em !important; font-size: 13px; }
.article-cta { border-left-color: var(--ink); }
.article-cta h2 { margin-top: 0; padding-top: 0; border: 0; }
.article-cta .button { margin-top: 20px; }
.article-source { font-size: 14.5px; }
.article-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 1.2em; border-top: 1px solid var(--ink); }
.article-related-grid a {
  padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink);
  font-weight: 700; font-size: 15px; line-height: 1.6;
}
.article-related-grid a:hover { color: var(--blue); }

.insights-page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.insights-page-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(32px, 5vw, 72px);
  align-items: start; padding-bottom: clamp(64px, 8vw, 120px);
}
.insights-page-grid > section { grid-column: 1; grid-row: 1; }
.insights-page-live { grid-column: 2; grid-row: 1; }
.insights-picks-head { font-size: 0; border-top: 1px solid var(--ink); }
.insights-list .insight-card { display: block; padding: 26px 0; border-bottom: 1px solid var(--line); }
.insight-meta { display: block; font-size: 12.5px; color: var(--sub); letter-spacing: .04em; font-weight: 600; }
.insights-list h3 { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; margin: 8px 0; }
.insights-list p { font-size: 14.5px; color: var(--sub); }
.insight-link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.insights-list .insight-card:hover h3, .insights-list .insight-card:hover .insight-link { color: var(--blue); }
.insights-live { border: 1px solid var(--line); }
.insights-live-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.insights-live-head a { font-weight: 700; color: var(--blue); }
.live-dot { display: none; }
.x-timeline-shell { min-height: 320px; padding: 8px; }
.x-timeline-shell > a { display: block; padding: 24px 10px; color: var(--sub); font-size: 14px; }
.x-embed-fallback { padding: 20px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.x-embed-fallback p { color: var(--sub); margin: 6px 0 10px; }
.x-embed-fallback a { font-weight: 700; color: var(--blue); }
.insights-live-note { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-side { position: static; width: auto; max-width: 520px; margin-top: 28px; }
}

@media (max-width: 900px) {
  .demo-notes, .work-case, .service-card, .founder-layout, .faq-layout, .contact-layout,
  .detail-hero-grid, .authority-row, .selection-link-panel, .insights-page-grid, .outcomes, .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .insights-page-grid > section, .insights-page-live, .footer-nav, .footer-vision { grid-column: 1; grid-row: auto; }
  .founder-profile { position: static; max-width: 300px; }
  .faq-layout .section-head { margin-bottom: 8px; }
  .issue-columns { grid-template-columns: 1fr; gap: 40px; }
  .outcomes ul { grid-template-columns: 1fr; }
  .work-index { grid-template-columns: 1fr 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .insight-rows a { grid-template-columns: auto minmax(0, 1fr) 24px; }
  .insight-rows h3 { grid-column: 1 / 3; grid-row: 2; }
  .insight-rows i { grid-row: 2; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  html { scroll-padding-top: 76px; }
  .header-inner { height: 60px; gap: 12px; }
  .header-cta { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero-actions .button, .work-bottom .button, .detail-actions .button { width: 100%; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof > div:nth-child(-n+2) { border-top: 0; }
  .proof > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .demo-points > div, .service-body, .two-columns, .record-metrics, .article-related-grid, .work-index, .fact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .two-columns { gap: 0; }
  .two-columns label:first-child { display: block; margin-bottom: 24px; }
  .record-metrics > div:nth-child(n) { padding-inline: 0; border-left: 0; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .faq-list details p { padding-right: 0; }

  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--line);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    gap: 10px; transform: translateY(110%); transition: transform .25s;
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta a {
    flex: 1; min-height: 46px; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--ink);
  }
  .mobile-cta a:last-child { flex: 1.6; background: var(--ink); color: #fff; }
  body:has(.mobile-cta) .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .mobile-cta, .site-footer nav { display: none; }
}
