@layer reset, base, layout, components, motion, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  h1, h2, h3, p, figure, blockquote { margin: 0; }
  ul, ol { margin: 0; padding: 0; }
}

@layer base {
  :root {
    --navy: #08111f;
    --navy-2: #0d1930;
    --navy-3: #14213b;
    --blue: #4f7cff;
    --blue-soft: #9db7ff;
    --teal: #24d3b2;
    --paper: #f2f5f8;
    --paper-warm: #eef1ee;
    --ink: #0b1424;
    --ink-muted: #586375;
    --line-dark: rgba(205, 218, 255, 0.17);
    --line-light: rgba(11, 20, 36, 0.16);
    --max: 1280px;
    --gutter: clamp(20px, 5vw, 76px);
    --ease: cubic-bezier(.2, .75, .2, 1);
  }

  body {
    min-width: 320px;
    color: #e9efff;
    background: var(--navy);
    font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", YuGothic, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; }
  ::selection { color: var(--navy); background: var(--teal); }
  :focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  .skip-link {
    position: fixed; z-index: 1000; top: 12px; left: 12px;
    transform: translateY(-150%); padding: 10px 16px; border-radius: 4px;
    color: var(--navy); background: var(--teal); font-weight: 700;
  }
  .skip-link:focus { transform: translateY(0); }
}

@layer layout {
  .site-header {
    position: fixed; z-index: 100; inset: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 82px; padding: 0 var(--gutter);
    border-bottom: 1px solid transparent;
    transition: background-color .35s ease, border-color .35s ease, height .35s ease;
  }
  .site-header.is-scrolled {
    height: 68px; border-color: var(--line-dark);
    background: rgba(8, 17, 31, .88); backdrop-filter: blur(18px);
  }

  .wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
  .wordmark img { width: 34px; height: 34px; border-radius: 9px; }
  .wordmark span { font-size: 20px; font-weight: 750; letter-spacing: .095em; line-height: 1; }
  .global-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); }
  .global-nav a {
    position: relative; color: #cbd5eb; font-size: 13px; font-weight: 600;
    letter-spacing: .02em; text-decoration: none;
  }
  .global-nav > a:not(.nav-cta)::after {
    content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px;
    background: var(--teal); transform: scaleX(0); transform-origin: right;
    transition: transform .25s var(--ease);
  }
  .global-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-cta { padding: 10px 16px; border: 1px solid rgba(157,183,255,.55); border-radius: 4px; }
  .nav-cta:hover { color: #fff; border-color: var(--teal); background: rgba(36,211,178,.07); }
  .menu-button { display: none; }

  .hero {
    position: relative; min-height: max(760px, 100svh); overflow: hidden;
    padding: 128px var(--gutter) 76px;
    isolation: isolate;
    background:
      linear-gradient(90deg, var(--navy) 0%, var(--navy) 37%, rgba(8,17,31,.73) 54%, rgba(8,17,31,.12) 100%),
      radial-gradient(circle at 70% 40%, rgba(79,124,255,.24), transparent 38%),
      var(--navy);
  }
  .hero::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 84px 84px; mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 72%);
  }
  .hero-copy { position: relative; z-index: 3; width: min(620px, 45vw); padding-top: clamp(34px, 7vh, 88px); }
  .hero-brand { color: #fff; font-size: clamp(28px, 3vw, 46px); font-weight: 780; letter-spacing: .11em; line-height: 1; }
  .eyebrow, .section-kicker {
    color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
  }
  .hero .eyebrow { margin-top: 20px; }
  .hero h1 {
    margin-top: 22px; color: #f3f6ff; font-size: clamp(42px, 4.4vw, 68px); font-weight: 620;
    letter-spacing: -.055em; line-height: 1.17;
  }
  .hero h1 span { color: var(--blue-soft); }
  .hero-lead { max-width: 570px; margin-top: 26px; color: #b8c4dc; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.9; }
  .hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
  .button {
    display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px;
    border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 14px; font-weight: 750;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s ease;
  }
  .button:hover { transform: translateY(-3px); }
  .button-primary { color: var(--navy); background: var(--teal); box-shadow: 0 12px 36px rgba(36,211,178,.16); }
  .button-primary:hover { background: #4ee2c5; box-shadow: 0 18px 42px rgba(36,211,178,.24); }
  .text-link { display: inline-flex; align-items: center; gap: 10px; color: #dfe8fb; font-size: 13px; text-decoration: none; }
  .text-link span { color: var(--teal); font-size: 18px; transition: transform .25s var(--ease); }
  .text-link:hover span { transform: translate(4px, 4px); }
  .availability { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #8796b2; font-size: 11px; letter-spacing: .06em; }
  .availability span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(36,211,178,.1); }

  .hero-product {
    position: absolute; z-index: 2; top: 16%; right: -10%; width: min(64vw, 920px); height: min(72vh, 680px);
    border: 1px solid rgba(157,183,255,.32); border-radius: 14px 14px 0 0; overflow: hidden;
    background: #0b1427; box-shadow: -30px 50px 100px rgba(0,0,0,.42);
    transform: perspective(1800px) rotateY(-6deg) rotateX(1.5deg); transform-origin: center right;
    will-change: transform;
  }
  .browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-dark); background: #111b30; }
  .browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #4b5870; }
  .browser-bar span:nth-child(2) { background: var(--blue); }
  .browser-bar span:nth-child(3) { background: var(--teal); }
  .browser-bar p { margin-left: 10px; color: #7887a5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .08em; }
  .product-crop { height: calc(100% - 38px); overflow: hidden; }
  .product-crop picture { display: block; }
  .product-crop img { width: 100%; height: auto; filter: saturate(.92) contrast(1.02); }
  .hero-product figcaption {
    position: absolute; right: 16px; bottom: 12px; padding: 5px 9px; border: 1px solid rgba(157,183,255,.2);
    border-radius: 3px; color: #9cabc8; background: rgba(8,17,31,.88); font-size: 9px; letter-spacing: .04em;
  }
  .hero-atmosphere .signal { position: absolute; z-index: 1; display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: .55; }
  .signal-a { top: 22%; left: 35%; width: 54%; transform: rotate(11deg); }
  .signal-b { top: 50%; left: 30%; width: 64%; transform: rotate(-7deg); background: linear-gradient(90deg, transparent, var(--teal), transparent) !important; }
  .signal-c { top: 74%; left: 40%; width: 44%; transform: rotate(5deg); }
  .scroll-cue { position: absolute; z-index: 4; bottom: 24px; left: var(--gutter); display: flex; align-items: center; gap: 13px; color: #74829d; font-size: 9px; letter-spacing: .18em; text-decoration: none; }
  .scroll-cue i { display: block; width: 56px; height: 1px; overflow: hidden; background: #2d3b55; }
  .scroll-cue i::after { content: ""; display: block; width: 42%; height: 100%; background: var(--teal); animation: scan 2.2s ease-in-out infinite; }

  .section-light { color: var(--ink); background: var(--paper); }
  .section-dark { color: #e9efff; background: var(--navy); }
  .section-index { color: currentColor; opacity: .42; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .15em; }
  .display-heading { font-size: clamp(36px, 5.6vw, 76px); font-weight: 570; letter-spacing: -.055em; line-height: 1.22; }
  .display-heading span { color: var(--blue); }

  .statement { padding: clamp(100px, 12vw, 180px) var(--gutter); }
  .statement-grid { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: clamp(36px, 7vw, 120px); max-width: var(--max); margin: 30px auto 0; }
  .statement .section-kicker { color: #3d5fc7; padding-top: 18px; }
  .statement-copy { max-width: 760px; margin: 36px 0 0 auto; color: var(--ink-muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 2; }
  .surface-list { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: clamp(74px, 9vw, 130px) auto 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
  .surface-list div { display: grid; min-height: 130px; align-content: center; gap: 7px; padding: 24px; border-left: 1px solid var(--line-light); }
  .surface-list div:last-child { border-right: 1px solid var(--line-light); }
  .surface-list span { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
  .surface-list strong { font-size: 15px; letter-spacing: -.01em; }
  .surface-list small { color: var(--ink-muted); font-size: 11px; }

  .workflow { padding: clamp(100px, 12vw, 180px) var(--gutter); overflow: hidden; }
  .workflow-intro { max-width: var(--max); margin: 0 auto; }
  .workflow .section-kicker { margin-top: 28px; }
  .workflow .display-heading { max-width: 1060px; margin-top: 18px; }
  .workflow .display-heading span { color: var(--teal); }
  .workflow-layout { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr); gap: clamp(40px, 8vw, 130px); max-width: var(--max); margin: clamp(70px, 9vw, 130px) auto 0; align-items: center; }
  .workflow-visual { position: sticky; top: 110px; width: min(34vw, 480px); aspect-ratio: 1; border-radius: 50%; }
  .workflow-visual::before, .workflow-visual::after { content: ""; position: absolute; border-radius: 50%; inset: 2%; border: 1px solid rgba(157,183,255,.18); }
  .workflow-visual::after { inset: 21%; border-color: rgba(36,211,178,.25); }
  .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(157,183,255,.16); animation: orbit 26s linear infinite; }
  .orbit span { position: absolute; top: -12px; left: 50%; display: grid; width: 48px; height: 26px; place-items: center; border: 1px solid rgba(157,183,255,.4); border-radius: 100px; color: var(--blue-soft); background: var(--navy); font-size: 10px; font-weight: 750; }
  .orbit-two { inset: 12%; animation-duration: 20s; animation-direction: reverse; }
  .orbit-two span { color: var(--teal); }
  .orbit-three { inset: 25%; animation-duration: 16s; }
  .orbit-three span { color: #fff; }
  .decision-core { position: absolute; inset: 37%; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--navy); background: var(--teal); box-shadow: 0 0 80px rgba(36,211,178,.27); }
  .decision-core b { font-size: 22px; line-height: 1.2; }
  .decision-core small { font-size: 7px; font-weight: 800; letter-spacing: .16em; }
  .workflow-steps { list-style: none; border-top: 1px solid var(--line-dark); }
  .workflow-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); }
  .workflow-steps li > span { color: var(--teal); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
  .workflow-steps h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 620; letter-spacing: -.03em; }
  .workflow-steps p { max-width: 560px; margin-top: 10px; color: #9eacc7; font-size: 14px; line-height: 1.9; }

  .foundation { padding: clamp(100px, 12vw, 180px) var(--gutter); }
  .foundation-heading { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.7fr); gap: 50px; max-width: var(--max); margin: 30px auto 0; }
  .foundation .section-kicker { color: #3d5fc7; padding-top: 20px; }
  .capability-lines { max-width: var(--max); margin: clamp(80px, 10vw, 150px) auto 0; border-top: 1px solid var(--line-light); }
  .capability { display: grid; grid-template-columns: 110px minmax(280px, 1.4fr) minmax(260px, .8fr); gap: 36px; align-items: start; padding: 44px 0; border-bottom: 1px solid var(--line-light); }
  .capability-code { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 28px; font-weight: 700; letter-spacing: -.06em; }
  .capability h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 580; letter-spacing: -.04em; line-height: 1.35; }
  .capability p { max-width: 610px; margin-top: 12px; color: var(--ink-muted); font-size: 14px; }
  .capability ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
  .capability li { padding: 7px 11px; border: 1px solid var(--line-light); border-radius: 100px; color: #465166; font-size: 10px; letter-spacing: .04em; }
  .product-quote { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; max-width: var(--max); margin: clamp(100px, 12vw, 170px) auto 0; padding-top: 34px; border-top: 1px solid var(--line-light); }
  .product-quote > p { color: var(--ink-muted); font-size: 13px; }
  .product-quote blockquote { font-size: clamp(34px, 4.5vw, 64px); font-weight: 570; letter-spacing: -.055em; line-height: 1.3; }

  .safety { color: #eaf0ff; padding: clamp(100px, 12vw, 180px) var(--gutter); background: #0b1729; }
  .safety-intro { display: grid; grid-template-columns: .7fr 1.8fr; gap: 50px; max-width: var(--max); margin: 0 auto; }
  .safety-intro .section-index { grid-column: 1 / -1; }
  .safety .section-kicker { padding-top: 20px; }
  .safety .display-heading span { color: var(--teal); }
  .safety-ledger { max-width: var(--max); margin: clamp(80px, 10vw, 140px) auto 0; border-top: 1px solid var(--line-dark); }
  .safety-ledger article { display: grid; grid-template-columns: 68px minmax(320px, 1fr) 220px; gap: 32px; align-items: center; min-height: 150px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
  .ledger-number { color: var(--teal); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
  .safety-ledger h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
  .safety-ledger p { max-width: 670px; margin-top: 8px; color: #9eacc7; font-size: 13px; }
  .safety-ledger strong { justify-self: end; color: var(--blue-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .11em; }
  .third-party-note { max-width: 760px; margin: 38px 0 0 auto; color: #7e8ba5; font-size: 10px; line-height: 1.8; }

  .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); padding: clamp(100px, 12vw, 180px) var(--gutter); }
  .faq-heading .section-kicker { margin-top: 30px; color: #3d5fc7; }
  .faq-heading .display-heading { margin-top: 18px; font-size: clamp(38px, 5vw, 66px); }
  .faq-list { border-top: 1px solid var(--line-light); }
  .faq details { border-bottom: 1px solid var(--line-light); }
  .faq summary { position: relative; padding: 28px 54px 28px 0; cursor: pointer; list-style: none; font-size: clamp(16px, 1.4vw, 20px); font-weight: 620; line-height: 1.6; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::before, .faq summary::after { content: ""; position: absolute; top: 43px; right: 4px; width: 18px; height: 1px; background: var(--blue); transition: transform .25s var(--ease); }
  .faq summary::after { transform: rotate(90deg); }
  .faq details[open] summary::after { transform: rotate(0); }
  .faq details p { max-width: 680px; padding: 0 54px 30px 0; color: var(--ink-muted); font-size: 14px; line-height: 1.9; }

  .contact { position: relative; min-height: 690px; display: grid; place-items: center; overflow: hidden; padding: 110px var(--gutter); background: var(--navy); }
  .contact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at center, rgba(79,124,255,.15), transparent 43%), linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: auto, 84px 84px, 84px 84px; mask-image: radial-gradient(circle at center, black, transparent 68%); }
  .contact-copy { position: relative; z-index: 2; max-width: 820px; text-align: center; }
  .contact-copy .hero-brand { margin-bottom: 22px; }
  .contact-copy h2 { margin-top: 16px; font-size: clamp(46px, 7vw, 96px); font-weight: 570; letter-spacing: -.065em; line-height: 1.12; }
  .contact-copy > p:not(.section-kicker):not(.hero-brand) { max-width: 650px; margin: 30px auto 0; color: #a7b4cc; font-size: 14px; }
  .contact-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 12px 16px; border: 1px solid rgba(157,183,255,.25); border-radius: 100px; color: #cbd5eb; font-size: 12px; }
  .contact-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px rgba(36,211,178,.7); }
  .contact-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px;
    max-width: 660px; margin: 40px auto 34px; text-align: left;
  }
  .contact-form .field { display: grid; gap: 7px; margin: 0; }
  .contact-form .field-wide { grid-column: 1 / -1; }
  .contact-form label { color: #b9c6de; font-size: 12px; letter-spacing: .02em; }
  .contact-form label b { margin-left: 8px; padding: 2px 6px; border-radius: 3px; color: var(--navy); background: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
  .contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid rgba(157,183,255,.28); border-radius: 5px;
    color: #eaf0ff; background: rgba(8,17,31,.72); font-size: 14px;
    transition: border-color .2s ease, background-color .2s ease;
  }
  .contact-form textarea { line-height: 1.7; resize: vertical; }
  .contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: rgba(157,183,255,.5); }
  .contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { border-color: var(--teal); background: rgba(8,17,31,.95); }
  .contact-form ::placeholder { color: #6c7b98; }
  /* 人間には見せず、自動入力してくるボットだけを弾く */
  .field-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .contact-form .field-consent { display: flex; align-items: center; gap: 10px; }
  .contact-form .field-consent input { width: 17px; height: 17px; flex: none; padding: 0; accent-color: var(--teal); }
  .contact-form .field-consent label { font-size: 12px; }
  .field-consent a { color: var(--blue-soft); }
  .contact-form .field-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
  .form-status { color: #a7b4cc; font-size: 12px; line-height: 1.7; }
  .form-status.is-ok { color: var(--teal); }
  .form-status.is-error { color: #ffb4b4; }
  .contact-form .field-submit .button { flex: none; }
  .contact-form button[disabled] { opacity: .55; pointer-events: none; }
  .contact-signal { position: absolute; width: min(72vw, 860px); aspect-ratio: 1; opacity: .42; }
  .contact-signal i { position: absolute; top: 50%; left: 9%; width: 70%; height: 1px; transform-origin: right; background: linear-gradient(90deg, transparent, var(--blue)); }
  .contact-signal i:nth-child(1) { transform: rotate(-12deg); }
  .contact-signal i:nth-child(2) { transform: rotate(0); background: linear-gradient(90deg, transparent, var(--teal)); }
  .contact-signal i:nth-child(3) { transform: rotate(12deg); }
  .contact-signal b { position: absolute; top: calc(50% - 34px); right: 10%; width: 16px; height: 68px; border-radius: 10px; background: #e8edff; box-shadow: 0 0 50px rgba(157,183,255,.5); }

  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: 54px var(--gutter) 34px; border-top: 1px solid var(--line-dark); color: #8f9db7; background: var(--navy); }
  .footer-brand p { margin-top: 10px; font-size: 10px; }
  .footer-brand .footer-operator { margin-top: 12px; font-size: 11px; }
  .footer-brand .footer-operator a { text-decoration: none; }
  .footer-brand .footer-operator a:hover { color: var(--teal); }
  .site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
  .site-footer nav a { font-size: 11px; text-decoration: none; }
  .site-footer nav a:hover { color: var(--teal); }
  .copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 9px; letter-spacing: .06em; }
  .scroll-signal { position: fixed; z-index: 200; top: 0; right: 0; left: 0; height: 2px; pointer-events: none; }
  .scroll-signal span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--teal)); }
}

@layer components {
  .legal-page { color: var(--ink); background: var(--paper); }
  .legal-page .site-header { position: sticky; color: #fff; background: var(--navy); }
  .legal-main { max-width: 920px; min-height: 70vh; margin: 0 auto; padding: 120px var(--gutter); }
  .legal-main .eyebrow { color: #3d5fc7; }
  .legal-main h1 { margin-top: 12px; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.055em; line-height: 1.2; }
  .legal-notice { margin-top: 30px; padding: 18px 20px; border-left: 3px solid var(--blue); color: #3c485c; background: rgba(79,124,255,.08); font-size: 13px; }
  .legal-content { margin-top: 70px; }
  .legal-content section { padding: 32px 0; border-top: 1px solid var(--line-light); }
  .legal-content h2 { font-size: 20px; letter-spacing: -.02em; }
  .legal-content p, .legal-content li { margin-top: 12px; color: var(--ink-muted); font-size: 14px; }
  .legal-content ul { padding-left: 1.2em; }
  .legal-meta { margin-top: 54px; color: var(--ink-muted); font-size: 12px; }
  .legal-page .site-footer { color: #8f9db7; }
}

@layer motion {
  @keyframes scan { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(280%); } }
  @keyframes orbit { to { transform: rotate(360deg); } }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .hero .reveal:nth-child(2) { transition-delay: .08s; }
  .hero .reveal:nth-child(3) { transition-delay: .16s; }
  .hero .reveal:nth-child(4) { transition-delay: .24s; }
  .hero .reveal:nth-child(5) { transition-delay: .32s; }
  .hero .reveal:nth-child(6) { transition-delay: .4s; }
}

@layer responsive {
  @media (max-width: 1080px) {
    .global-nav { gap: 18px; }
    .global-nav a { font-size: 12px; }
    .hero { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 43%, rgba(8,17,31,.44) 100%); }
    .hero-copy { width: min(500px, 47vw); }
    .hero-product { right: -30%; width: 74vw; opacity: .9; }
    .capability { grid-template-columns: 80px 1fr; }
    .capability ul { grid-column: 2; }
    .safety-ledger article { grid-template-columns: 50px 1fr; }
    .safety-ledger strong { grid-column: 2; justify-self: start; }
  }

  @media (max-width: 820px) {
    .site-header { height: 70px; }
    .menu-button { display: grid; width: 44px; height: 44px; place-content: center; gap: 7px; border: 0; color: inherit; background: transparent; cursor: pointer; }
    .menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s ease; }
    .menu-button[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
    .menu-button[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
    /* visibility を切り替えることで、閉じている間はリンクをタブ順・支援技術から外す */
    .global-nav { position: fixed; inset: 70px 0 auto; display: grid; max-height: 0; overflow: hidden; visibility: hidden; padding: 0 var(--gutter); background: rgba(8,17,31,.97); transition: max-height .35s var(--ease), padding .35s var(--ease), visibility 0s linear .35s; }
    .global-nav.is-open { max-height: 440px; padding-top: 22px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); visibility: visible; transition: max-height .35s var(--ease), padding .35s var(--ease), visibility 0s; }
    .global-nav a { padding: 9px 0; font-size: 14px; }
    .nav-cta { margin-top: 8px; padding: 12px 14px !important; text-align: center; }

    .hero { min-height: 100svh; padding-top: 104px; padding-bottom: 330px; background: radial-gradient(circle at 55% 65%, rgba(79,124,255,.18), transparent 40%), var(--navy); }
    .hero-copy { width: 100%; padding-top: 0; }
    .hero h1 { max-width: 670px; font-size: clamp(40px, 9.6vw, 65px); }
    .hero-lead { max-width: 590px; font-size: 14px; }
    .hero-product { top: auto; right: var(--gutter); bottom: -210px; left: var(--gutter); width: auto; height: 490px; transform: none !important; }
    .scroll-cue { display: none; }
    .statement-grid, .foundation-heading, .safety-intro, .faq, .product-quote { grid-template-columns: 1fr; }
    .statement-grid, .foundation-heading { gap: 18px; }
    .statement .section-kicker, .foundation .section-kicker, .safety .section-kicker { padding-top: 0; }
    .surface-list { grid-template-columns: 1fr 1fr; }
    .surface-list div:nth-child(3), .surface-list div:nth-child(4) { border-top: 1px solid var(--line-light); }
    .workflow-layout { grid-template-columns: 1fr; }
    .workflow-visual { position: relative; top: auto; width: min(78vw, 420px); margin: 0 auto 30px; }
    .product-quote { gap: 22px; }
    .safety-intro { gap: 22px; }
    .faq { gap: 60px; }
  }

  @media (max-width: 560px) {
    :root { --gutter: 20px; }
    .wordmark img { width: 30px; height: 30px; }
    .wordmark span { font-size: 17px; }
    .hero { min-height: max(780px, 100svh); padding-bottom: 285px; }
    .hero-brand { font-size: 25px; }
    .hero .eyebrow { margin-top: 14px; font-size: 9px; letter-spacing: .12em; }
    .hero h1 { margin-top: 15px; font-size: clamp(36px, 10.8vw, 52px); line-height: 1.2; }
    .hero-lead { margin-top: 18px; line-height: 1.75; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; margin-top: 24px; }
    .contact-form { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
    .contact-form .field-submit { align-items: stretch; flex-direction: column; gap: 14px; }
    .form-status { text-align: center; }
    .button { width: 100%; }
    .text-link { justify-content: center; }
    .availability { margin-top: 18px; }
    .hero-product { bottom: -170px; height: 410px; border-radius: 9px 9px 0 0; }
    .browser-bar { height: 30px; }
    .product-crop { height: calc(100% - 30px); }
    .hero-product figcaption { right: 8px; bottom: 8px; max-width: 210px; font-size: 8px; }
    .display-heading { font-size: clamp(34px, 11vw, 50px); }
    .statement-copy { margin-top: 24px; font-size: 14px; line-height: 1.9; }
    .surface-list div { min-height: 110px; padding: 18px 14px; }
    .surface-list strong { font-size: 12px; }
    .workflow-layout { margin-top: 62px; }
    .workflow-steps li { grid-template-columns: 34px 1fr; gap: 14px; padding: 27px 0; }
    .workflow-steps h3 { font-size: 20px; }
    .workflow-steps p { font-size: 13px; }
    .capability { grid-template-columns: 54px 1fr; gap: 20px; padding: 34px 0; }
    .capability-code { font-size: 20px; }
    .capability h3 { font-size: 23px; }
    .capability ul { grid-column: 2; }
    .product-quote blockquote { font-size: 34px; }
    .safety-ledger article { grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 30px 0; }
    .safety-ledger h3 { font-size: 20px; }
    .safety-ledger strong { font-size: 8px; }
    .faq summary { padding-right: 40px; font-size: 15px; }
    .faq summary::before, .faq summary::after { top: 40px; }
    .contact { min-height: 620px; }
    .contact-copy h2 { font-size: 48px; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { justify-content: flex-start; gap: 14px 20px; }
    .copyright { grid-column: 1; }
  }

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