:root {
  --ink: #14202e;
  --muted: #5a6877;
  --line: #e2e7ec;
  --bg: #ffffff;
  --soft: #f5f7f9;
  --brand: #0f5c8c;
  --brand-dark: #0a4468;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--brand); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--brand); }
nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
}
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--brand); }

.hero { background: var(--soft); padding: 84px 0 76px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 760px;
}
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--brand-dark); }

section { padding: 68px 0; }
section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.7rem; letter-spacing: -0.01em; margin: 0 0 10px; }
.lead { color: var(--muted); max-width: 680px; margin: 0 0 34px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; max-width: 760px; }
.steps li { counter-increment: step; padding: 0 0 22px 52px; position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.steps strong { display: block; }
.steps span { color: var(--muted); }

.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; max-width: 560px; }
.contact-box dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; row-gap: 12px; }
.contact-box dt { color: var(--muted); }
.contact-box dd { margin: 0; }

footer.site { border-top: 1px solid var(--line); padding: 30px 0; font-size: 0.9rem; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-left: 18px; }
footer.site a:first-child { margin-left: 0; }

.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: 2.1rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.doc h2 { font-size: 1.25rem; margin: 34px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 26px; }
.doc p, .doc li { color: #2b3948; }

@media (max-width: 640px) {
  nav a { margin-left: 14px; font-size: 0.9rem; }
  .hero { padding: 56px 0 52px; }
  section { padding: 50px 0; }
  .contact-box dl { grid-template-columns: 1fr; row-gap: 2px; }
  .contact-box dd { margin-bottom: 12px; }
}
