:root {
  color-scheme: light;
  --ink: #172b46;
  --muted: #61728a;
  --line: #dce5ef;
  --paper: #ffffff;
  --wash: #f3f7fb;
  --blue: #2769d8;
  --blue-dark: #194b9f;
  --mint: #bff1df;
  --shadow: 0 24px 70px rgba(29, 62, 105, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { color: var(--blue); }

.site-header {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(220, 229, 239, .85);
}

.header-inner,
.container,
.footer-inner {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: .98rem;
  font-weight: 760;
  letter-spacing: .01em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: white;
}

.brand-mark svg { width: 19px; height: 19px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 25px;
}

.nav a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--blue-dark); }

.container { padding-block: 62px 84px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr);
  align-items: center;
  gap: clamp(34px, 7vw, 82px);
  min-height: 430px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid #e4ebf4;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 14%, rgba(191, 241, 223, .6), transparent 24%),
    linear-gradient(135deg, #fff 0%, #fbfdff 65%, #f2f8ff 100%);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.hero h1 { font-size: clamp(2rem, 3vw, 2.8rem); }

.hero-copy {
  max-width: 590px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font-size: .91rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(29, 62, 105, .12); }
.button-primary { border-color: var(--blue); background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-dark); color: white; }

.flow-card {
  position: relative;
  padding: 25px;
  border: 1px solid #e2eaf4;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 50px rgba(29, 62, 105, .11);
}

.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.flow-dots { display: flex; gap: 5px; }
.flow-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d4deea; }
.flow-dots i:first-child { background: #56bd99; }

.flow-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid #edf1f6;
}

.flow-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #ecf3ff;
  color: var(--blue-dark);
}

.flow-icon svg { width: 19px; height: 19px; }
.flow-title { margin: 0; font-size: .88rem; font-weight: 760; }
.flow-detail { margin: 1px 0 0; color: var(--muted); font-size: .76rem; }

.flow-status {
  padding: 4px 9px;
  border-radius: 99px;
  background: #e5f8f0;
  color: #217753;
  font-size: .7rem;
  font-weight: 800;
}

.section { margin-top: 68px; }
.section-heading { max-width: 660px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 8px; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.35; }
.section-heading p { margin-bottom: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.feature-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 19px;
  place-items: center;
  border-radius: 11px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-size: .82rem;
  font-weight: 800;
}

.feature-card h3 { margin-bottom: 7px; font-size: 1rem; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.note {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 19px 21px;
  border: 1px solid #cfe6dc;
  border-radius: 16px;
  background: #effaf5;
  color: #365f50;
  font-size: .9rem;
}

.note-mark { flex: 0 0 auto; color: #217753; font-weight: 900; }
.note p { margin: 0; }

.page-intro {
  margin-bottom: 28px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid #e4ebf4;
  border-radius: 26px;
  background: linear-gradient(140deg, white, #f4f8ff);
  box-shadow: var(--shadow);
}

.page-intro h1 { margin-bottom: 12px; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.page-intro p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); }

.article {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.article section { padding: 23px 0; border-bottom: 1px solid #e9eef4; }
.article section:first-child { padding-top: 0; }
.article section:last-child { padding-bottom: 0; border-bottom: 0; }
.article h2 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.5; }
.article p, .article li { color: #43546b; font-size: .95rem; }
.article p:last-child, .article ul:last-child { margin-bottom: 0; }
.article ul { margin: 0; padding-left: 1.35em; }
.article li + li { margin-top: 6px; }
.article .small { color: var(--muted); font-size: .85rem; }
.placeholder { padding: 2px 6px; border-radius: 5px; background: #fff4d9; color: #724c07; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 26px; padding-block: 24px; }
.footer-name { margin: 0; color: var(--muted); font-size: .83rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); font-size: .83rem; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: var(--blue-dark); }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-block: 15px; }
  .nav { justify-content: flex-start; gap: 6px 19px; }
  .container { padding-block: 30px 58px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 31px 24px; }
  .hero h1 { font-size: clamp(1.45rem, 7vw, 2.6rem); }
  .flow-card { max-width: 500px; }
  .section { margin-top: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
}

@media (max-width: 420px) {
  .header-inner, .container, .footer-inner { width: min(100% - 28px, 1100px); }
  .nav { gap: 4px 13px; }
  .nav a { font-size: .82rem; }
  .hero { border-radius: 22px; }
  .flow-card { padding: 19px; }
  .flow-row { grid-template-columns: 38px 1fr; }
  .flow-icon { width: 38px; height: 38px; }
  .flow-status { grid-column: 2; justify-self: start; margin-top: -6px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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