:root {
  --navy: #122038;
  --navy-2: #1e3357;
  --gold: #c7a66a;
  --bg: #f6f8fb;
  --text: #1f2937;
  --muted: #667085;
  --line: #e5e9f0;
  --white: #ffffff;
  --green: #2f6f5e;
  --amber: #8c6a22;
  --blue: #2f5f8f;
  --shadow: 0 18px 48px rgba(18, 32, 56, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  letter-spacing: .02em;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.logo span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(18, 32, 56, .16);
}

.btn.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(199,166,106,.20), transparent 32%),
    radial-gradient(circle at 14% 20%, rgba(30,51,87,.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4f6fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1, h2, h3 { color: var(--navy); line-height: 1.35; margin: 0; }

h1 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: .01em;
  margin-bottom: 22px;
}

.lead {
  font-size: 17px;
  color: #435064;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #445066;
  font-size: 14px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #fff;
  border: 1px solid rgba(199,166,106,.55);
}

section { padding: 78px 0; }

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(18,32,56,.06);
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(199,166,106,.14);
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p, .card li {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

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

.dark h2, .dark h3 { color: var(--white); }
.dark .section-head p, .dark p, .dark li { color: rgba(255,255,255,.74); }
.dark .card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.13);
  box-shadow: none;
}

.flow, .approach {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
}

.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.ai-staff, .timeline, .matrix {
  background: linear-gradient(135deg, #ffffff 0%, #f7f4ec 100%);
}

.quote {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.quote strong {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
}

.quote p { color: rgba(255,255,255,.78); margin: 0; }

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(18,32,56,.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 14px;
}

th, td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8fafc;
  color: var(--navy);
  font-weight: 900;
}

tr:last-child td { border-bottom: none; }

.diagram {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.diagram pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.note {
  background: #f4fbf8;
  border: 1px solid #d8ede6;
  color: var(--green);
  border-radius: var(--radius);
  padding: 26px;
}

.note h3 {
  color: var(--green);
  margin-bottom: 10px;
}

.warning {
  background: #fff7f1;
  border: 1px solid #f0dcc4;
  color: var(--amber);
  border-radius: var(--radius);
  padding: 26px;
}

.warning h3 {
  color: var(--amber);
  margin-bottom: 10px;
}

.references ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 14px;
}

.references li { margin-bottom: 8px; }

.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 72px 0;
}

.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.78); margin: 0 auto 26px; max-width: 760px; }
.cta .btn { background: var(--white); color: var(--navy); }

footer {
  padding: 34px 0;
  background: #0d1728;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  width: 100%;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .hero-grid, .flow, .approach, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 58px 0; }
}

/* ===== utility classes (extracted from inline styles) ===== */
.u-note { font-size:12px;color:var(--muted);margin-top:12px;line-height:1.8; }
