:root {
  --dark-navy: #020617;
  --deep-navy: #0f172a;
  --mint: #14b8a6;
  --mint-light: #ccfbf1;
  --background: #f8fafc;
  --white: #ffffff;
  --text: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --radius: 8px;
  --radius-card: 14px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, sans-serif;
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.sr-only,
.skip-link {
  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:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--dark-navy);
  background: var(--mint-light);
  border-radius: var(--radius);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--dark-navy);
}

.section-dark .eyebrow,
.section-dark p {
  color: #cbd5e1;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.compact {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 7px solid var(--deep-navy);
  border-right-color: var(--mint);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--deep-navy);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--deep-navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--dark-navy);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--mint);
  border-color: var(--mint);
}

.button-secondary-dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.hero {
  padding: 92px 0 112px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

h2 {
  color: var(--deep-navy);
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  color: var(--deep-navy);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.system-card {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
}

.system-card.after {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(20, 184, 166, 0.5);
}

.system-label,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 999px;
}

.system-label {
  color: var(--mint-light);
  background: rgba(20, 184, 166, 0.12);
}

.system-card h3 {
  margin: 18px 0;
  font-size: 24px;
}

.system-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.system-card li {
  padding: 8px 10px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.flow-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: center;
  color: var(--dark-navy);
  font-weight: 900;
  background: var(--mint);
  border-radius: 999px;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-header.left {
  margin-inline: 0;
  text-align: left;
}

.section-header p {
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.feature-card,
.fit-card,
.pricing-card,
.result-card,
.form-card,
.assumption-grid article,
.trust-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.feature-card {
  min-height: 100%;
  padding: 24px;
}

.feature-card p,
.fit-card p,
.pricing-card p,
.result-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon-line {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 2px solid var(--mint);
  border-radius: 10px;
  box-shadow: inset 12px 0 0 var(--mint-light);
}

.split-section,
.form-layout {
  display: grid;
  gap: 32px;
}

.text-panel {
  padding: 28px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.text-link {
  color: var(--deep-navy);
  font-weight: 800;
  text-decoration-color: var(--mint);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.steps-visual {
  display: grid;
  gap: 20px;
}

.step-node {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.step-node span,
.timeline span,
.after-flow span,
.result-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--dark-navy);
  font-size: 13px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 999px;
}

.step-node strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-navy);
  font-size: 20px;
}

.step-node p {
  margin-bottom: 0;
  color: var(--muted);
}

.tech-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 16px;
  background: var(--mint-light);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: var(--radius-card);
}

.tech-note span {
  color: var(--deep-navy);
  font-weight: 800;
}

.tech-note b {
  padding: 6px 10px;
  color: var(--deep-navy);
  background: var(--white);
  border-radius: var(--radius);
}

.dark-cards .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.fit-grid,
.pricing-grid,
.assumption-grid,
.trust-block {
  display: grid;
  gap: 24px;
}

.fit-card {
  padding: 26px;
}

.fit-card.muted {
  background: #f1f5f9;
}

.badge.mint {
  color: var(--dark-navy);
  background: var(--mint-light);
}

.badge.neutral {
  color: var(--deep-navy);
  background: #e5e7eb;
}

.badge.navy {
  color: var(--white);
  background: var(--deep-navy);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--mint);
  content: "✓";
}

.neutral-list li::before {
  color: var(--muted);
  content: "–";
}

.flow-strip {
  display: grid;
  gap: 12px;
}

.flow-strip span {
  padding: 18px;
  color: var(--deep-navy);
  font-weight: 800;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.timeline,
.after-flow {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li,
.after-flow li {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.timeline strong,
.after-flow strong {
  display: block;
  color: var(--deep-navy);
}

.after-flow li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.after-flow strong {
  color: var(--white);
}

.operation-axis {
  display: grid;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  color: var(--deep-navy);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.operation-axis i {
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--mint));
}

.pricing-card {
  padding: 28px;
}

.pricing-card.primary-card {
  border-color: var(--mint);
  box-shadow: var(--shadow);
}

.price {
  margin: 18px 0 8px;
}

.price span {
  display: block;
  color: var(--deep-navy);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.price small {
  color: var(--muted);
  font-weight: 700;
}

.monthly {
  padding: 12px;
  color: var(--deep-navy);
  background: var(--background);
  border-radius: var(--radius);
}

.pricing-card ul,
.assumption-grid ul,
.trust-block ul {
  display: grid;
  gap: 8px;
  padding-left: 1.1em;
}

.contract-note {
  margin: 24px 0;
  padding: 18px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.assumption-grid article {
  padding: 24px;
}

.result-card {
  padding: 24px;
}

.result-a {
  border-color: rgba(20, 184, 166, 0.55);
}

.result-a span {
  background: var(--mint);
}

.result-b {
  border-color: rgba(245, 158, 11, 0.55);
}

.result-b span {
  background: var(--amber-light);
}

.result-c span {
  background: #e5e7eb;
}

.form-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label,
.form-check label {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-navy);
  font-weight: 800;
}

.form-field label span,
.form-check label span {
  color: #0f766e;
  font-size: 12px;
}

.form-field label .optional {
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  color: var(--deep-navy);
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

.form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.form-check input {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

.field-error {
  min-height: 22px;
  margin: 6px 0 0;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.form-message {
  margin: 10px 0;
  color: var(--deep-navy);
  font-weight: 700;
}

.form-submit {
  width: 100%;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.thanks-panel {
  padding: 28px;
  background: var(--mint-light);
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: var(--radius-card);
}

.legal-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-weight: 800;
}

.trust-block {
  padding: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

summary {
  padding: 18px 20px;
  color: var(--deep-navy);
  font-weight: 800;
  cursor: pointer;
}

details p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--muted);
}

.final-cta {
  padding: 84px 0;
}

.final-cta-inner {
  max-width: 860px;
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.site-footer {
  padding: 54px 0 28px;
  color: #cbd5e1;
  background: var(--deep-navy);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  border-color: var(--white);
  border-right-color: var(--mint);
}

.site-footer nav {
  display: grid;
  gap: 12px;
}

.site-footer a {
  color: #e2e8f0;
  font-weight: 700;
}

.footer-bottom {
  display: grid;
  gap: 8px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav .button {
    margin-top: 8px;
  }
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 96px, var(--container));
  }

  .hero-grid,
  .split-section,
  .form-layout,
  .fit-grid,
  .assumption-grid,
  .trust-block,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr auto 1fr;
  }

  .card-grid.three,
  .pricing-grid,
  .steps-visual {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid.four,
  .timeline,
  .after-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-strip,
  .operation-axis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .operation-axis {
    grid-template-columns: auto 1fr auto 1fr auto;
  }
}

@media (min-width: 1040px) {
  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
  }

  .card-grid.four,
  .timeline,
  .after-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 64px 0 78px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .form-card,
  .feature-card,
  .pricing-card {
    padding: 20px;
  }

  .price span {
    font-size: 30px;
  }
}
