:root {
  --bg: #faf7f2;
  --bg-atmosphere: #e9eff2;
  --surface: #ffffff;
  --ink: #17191c;
  --muted: #526078;
  --border: #d9dce2;
  --navy: #022049;
  --orange: #c54127;
  --orange-hover: #b83a22;
  --success: #247451;
  --font: Inter, system-ui, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --shadow: 0 24px 64px rgb(2 32 73 / 10%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; transform: translateY(-160%); padding: 10px 14px; background: var(--surface); border: 2px solid var(--navy); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(250 247 242 / 92%); border-bottom: 1px solid rgb(2 32 73 / 9%); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 112px; height: auto; object-fit: contain; }
.brand-divider { width: 1px; height: 22px; background: var(--border); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgb(36 116 81 / 11%); }
.hero { overflow: hidden; padding: 96px 0 88px; background: radial-gradient(circle at 83% 18%, rgb(233 239 242 / 90%), transparent 34%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); align-items: center; gap: clamp(48px, 8vw, 112px); }
.eyebrow, .meta { margin: 0 0 16px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 28px; color: var(--navy); font-size: clamp(52px, 7vw, 88px); line-height: 1.02; letter-spacing: -.055em; }
h1 span { color: var(--orange); }
.hero-lead { max-width: 690px; margin-bottom: 34px; color: #344056; font-size: clamp(17px, 2vw, 21px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 750; transition: background-color 180ms cubic-bezier(.23,1,.32,1), border-color 180ms cubic-bezier(.23,1,.32,1); }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: var(--orange-hover); }
.button-secondary { background: transparent; border-color: #b8bec8; color: var(--navy); }
.button-secondary:hover { background: var(--surface); border-color: var(--navy); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgb(197 65 39 / 35%); outline-offset: 3px; }
.boundary-note { margin: 0; color: var(--muted); font-size: 12px; }
.work-card { background: var(--surface); border: 1px solid rgb(2 32 73 / 11%); border-radius: 12px; box-shadow: var(--shadow); }
.work-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 22px; border-bottom: 1px solid var(--border); }
.work-card-head .meta { margin-bottom: 7px; }
.work-card h2 { margin: 0; color: var(--navy); font-size: 19px; line-height: 1.45; letter-spacing: -.02em; }
.work-state { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: #e8f3ed; color: #1f6345; font-size: 11px; font-weight: 800; }
.work-steps { list-style: none; margin: 0; padding: 10px 28px; }
.work-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid #edf0f3; }
.work-steps li:last-child { border-bottom: 0; }
.work-steps span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-size: 10px; font-variant-numeric: tabular-nums; }
.work-steps p { margin: 0; color: var(--muted); font-size: 13px; }
.work-steps strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 14px; }
.work-footer { display: flex; justify-content: space-between; gap: 16px; padding: 18px 28px; background: var(--bg-atmosphere); color: var(--muted); font-size: 12px; }
.work-footer strong { color: var(--navy); font-size: 12px; }
.section { padding: 88px 0; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 0; }
.section-heading h2, .capability-section h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(34px, 4.5vw, 54px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); }
.flow article { position: relative; padding: 24px 24px 8px 0; }
.flow article:not(:last-child)::after { content: ""; position: absolute; top: -4px; right: 22px; width: 7px; height: 7px; border-top: 1px solid var(--navy); border-right: 1px solid var(--navy); transform: rotate(45deg); }
.flow span { color: var(--orange); font-size: 11px; font-weight: 800; }
.flow h3 { margin: 14px 0 10px; color: var(--navy); font-size: 20px; }
.flow p { max-width: 230px; margin: 0; color: var(--muted); font-size: 14px; }
.proof-section { background: var(--navy); color: white; }
.proof-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 9vw, 120px); align-items: center; }
.proof-section .eyebrow { color: #ff8b72; }
.proof-section .section-heading h2, .proof-section .section-heading > p:last-child { color: white; }
.proof-section .section-heading > p:last-child { opacity: .72; }
.proof-list { margin: 0; border-top: 1px solid rgb(255 255 255 / 28%); }
.proof-list div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.proof-list dt { color: rgb(255 255 255 / 58%); font-size: 12px; }
.proof-list dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.capability-section { background: var(--bg-atmosphere); }
.capability-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(48px, 8vw, 110px); }
.capability-list { border-top: 1px solid var(--navy); }
.capability-list article { display: grid; grid-template-columns: 86px 150px 1fr; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid #c9d2da; }
.capability-list span { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.capability-list h3 { margin: 0; color: var(--navy); font-size: 18px; }
.capability-list p { margin: 0; color: var(--muted); font-size: 14px; }
footer { padding: 30px 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-inner p { margin: 0; }

@media (max-width: 900px) {
  .hero { padding-top: 68px; }
  .hero-grid, .proof-grid, .capability-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow article:nth-child(2)::after { display: none; }
  .capability-list article { grid-template-columns: 86px 130px 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1200px); }
  .header-inner { min-height: 62px; }
  .brand img { width: 88px; }
  .brand { gap: 9px; font-size: 13px; }
  .status { font-size: 0; }
  .hero { padding: 52px 0 56px; }
  h1 { font-size: clamp(45px, 15vw, 66px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .work-card-head, .work-steps { padding-left: 20px; padding-right: 20px; }
  .work-footer { display: grid; padding: 16px 20px; }
  .section { padding: 60px 0; }
  .flow { grid-template-columns: 1fr; }
  .flow article { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
  .flow article::after { display: none; }
  .capability-list article { grid-template-columns: 1fr; gap: 5px; }
  .proof-list div { grid-template-columns: 1fr; gap: 3px; }
  .footer-inner { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #2f3845; --border: #8d949d; }
  .button-secondary, .work-card { border-width: 2px; }
}
