:root {
  color-scheme: light;
  --blue: #123c78;
  --blue-dark: #102f5c;
  --blue-pale: #edf4fc;
  --ink: #182333;
  --muted: #5b6675;
  --line: #d8e0e9;
  --paper: #fff;
  --red: #e1242a;
  --surface: #f5f7fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--surface); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
a { color: inherit; }
.site-header {
  padding: 10px 16px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 2px 10px rgb(10 35 70 / 12%);
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand span { font-size: .86rem; font-weight: 600; }
main { width: min(100%, 760px); margin: 0 auto; padding: 0 14px 36px; }
.hero { padding: 30px 4px 26px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: .82rem; font-weight: 700; }
h1 { margin: 0; color: var(--blue-dark); font-size: clamp(1.7rem, 7vw, 2.25rem); line-height: 1.25; letter-spacing: .01em; }
.hero-copy { max-width: 34rem; margin: 12px 0 20px; color: var(--muted); font-size: .98rem; }
.primary-cta {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 0 rgb(16 47 92 / 12%);
}
.primary-cta:hover, .primary-cta:focus-visible { background: var(--blue-dark); }
.primary-cta:focus-visible { outline: 3px solid #78a9ec; outline-offset: 3px; }
.primary-cta.is-unset { border-color: #74849a; background: #74849a; box-shadow: none; cursor: not-allowed; }
.cta-arrow { font-size: 1.15rem; }
.config-note { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.step-list { display: grid; gap: 16px; }
.step-card {
  min-width: 0;
  padding: 18px 14px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 4px 16px rgb(20 42 72 / 5%);
}
.step-heading { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 8px; }
.step-number {
  display: grid;
  width: 76px;
  height: 68px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 2.55rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
}
.step-title { margin: 0; color: var(--blue-dark); font-size: 1.16rem; line-height: 1.35; }
.step-copy { margin: 10px 0 14px; color: #364456; font-size: .92rem; }
.step-note { margin: 10px 0 16px; padding: 9px 11px; border-left: 3px solid #8ba8cc; border-radius: 0 6px 6px 0; color: #40516a; background: var(--blue-pale); font-size: .83rem; }
.shot-stack { display: grid; gap: 16px; min-width: 0; }
.shot { width: min(100%, 430px); min-width: 0; margin: 0 auto; }
.shot-caption { margin: 0 0 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.shot-frame { position: relative; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #eef1f5; box-shadow: inset 0 0 0 1px #c9d2de; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-overlay { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.shot-overlay .target { fill: none; stroke: var(--red); stroke-width: .78; vector-effect: non-scaling-stroke; }
.shot-overlay .marker-line { fill: none; stroke: var(--red); stroke-width: .72; vector-effect: non-scaling-stroke; }
.shot-overlay .marker-dot { fill: var(--red); stroke: #fff; stroke-width: .35; vector-effect: non-scaling-stroke; }
.shot-overlay .marker-number { fill: #fff; font: 700 24px/1 system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; }
.closing { margin: 18px 0; padding: 18px 16px; border: 1px solid #b8cce5; border-radius: 12px; background: #edf4fc; }
.closing h2 { margin: 0 0 6px; color: var(--blue-dark); font-size: 1.13rem; }
.closing p { margin: 0; font-weight: 650; }
.bottom-cta-wrap { padding: 6px 0 8px; }
.site-footer { padding: 18px 16px 26px; color: var(--muted); background: #e9edf2; text-align: center; font-size: .76rem; }
.site-footer p { margin: 4px auto; }
.local-label { color: #748196; font-size: .68rem; font-weight: 750; letter-spacing: .08em; }

@media (min-width: 600px) {
  main { padding-right: 22px; padding-left: 22px; }
  .hero { padding-top: 42px; }
  .step-card { padding: 24px 22px 28px; }
  .step-heading { grid-template-columns: 94px minmax(0, 1fr); gap: 16px; }
  .step-number { width: 94px; height: 82px; font-size: 3rem; }
  .step-title { font-size: 1.3rem; }
  .step-copy { font-size: 1rem; }
  .shot-stack { gap: 20px; }
}


/* Explicit QA mode: render source pixels 1:1 for native-coordinate review. */
html.native-preview body { overflow-x: auto; }
html.native-preview main { width: max-content; max-width: none; margin: 0; padding: 0 18px 36px; }
html.native-preview .step-list { width: max-content; }
html.native-preview .step-card { width: max-content; min-width: 0; max-width: none; overflow: visible; }
html.native-preview .shot-stack { width: max-content; }
html.native-preview .shot { width: max-content; max-width: none; margin: 0; }
html.native-preview .shot-frame { width: max-content; height: max-content; overflow: visible; }
html.native-preview .shot-frame img { width: auto; max-width: none; height: auto; }
html.native-preview .shot-overlay { width: 100%; height: 100%; }
