:root {
  --green: #16a34a;
  --teal: #0f766e;
  --ink: #1c2421;
  --muted: #5b6b65;
  --line: #dfe7e3;
  --bg: #f6f9f7;
  --yellow: #fde047;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--teal); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); background: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 14px; }
.btn {
  display: inline-block; background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; border: 0; font-size: 16px; cursor: pointer;
}
.btn:hover { background: #128a3e; }
.btn.line { background: #06c755; }
.hero { background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.35; margin: 0 0 18px; letter-spacing: .01em; }
.hero p.lead { font-size: 18px; max-width: 620px; margin: 0 0 30px; opacity: .95; }
.hero .btn { background: var(--yellow); color: var(--ink); }
.hero .note { font-size: 13px; opacity: .85; margin-top: 14px; }
section { padding: 64px 0; }
section.alt { background: var(--bg); }
h2 { font-size: 26px; margin: 0 0 28px; line-height: 1.4; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 64px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }
table.plain { width: 100%; border-collapse: collapse; background: #fff; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; font-size: 15px; }
table.plain th { width: 32%; background: var(--bg); font-weight: 600; }
form .row { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; }
form .hint { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
input[type=text], input[type=url], input[type=email], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9d6d0; border-radius: 10px; font: inherit; background: #fff;
}
textarea { min-height: 110px; }
.radio { display: flex; gap: 20px; flex-wrap: wrap; }
.radio label, .check label { font-weight: 400; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.hp { position: absolute; left: -9999px; }
.msg { padding: 14px 16px; border-radius: 10px; margin-top: 14px; }
.msg.err { background: #fdecec; color: #8a1c1c; }
.done { text-align: center; }
.code { font-size: 44px; font-weight: 800; letter-spacing: .2em; color: var(--teal); background: var(--bg); border-radius: 14px; padding: 14px 0; margin: 16px auto; max-width: 320px; }
.doc h1 { font-size: 28px; margin: 40px 0 8px; }
.doc h2 { font-size: 19px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 15px; }
.doc .updated { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); margin-right: 16px; }
@media (max-width: 640px) {
  .nav { display: none; }
  section { padding: 48px 0; }
  table.plain th { width: 38%; }
}
