:root {
  --white: #ffffff;
  --sky: #eef9ff;
  --accent: #0275fd;
  --ink: #222222;
  --muted: #707070;
  --line: #e8e8e8;
  --line-blue: #c9dce9;
  --warn: #ad654d;
  --warn-bg: #fff1e9;
  --ok: #1f8a4c;
  --line-green: #06c755;
  --radius-card: 10px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .06);
  --font: Inter, 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; }
.mono, .kicker, .eyebrow { font-family: var(--mono); }
.kicker { color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.hint { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.inline { display: inline; margin: 0; }
.no-scroll { overflow: hidden; }

/* buttons: 主要CTAはピル型、補助は小さな角丸 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border: 1px solid var(--ink); border-radius: 500px; background: var(--ink); color: #f7f7f7; font-size: 14px; font-weight: 500; text-decoration: none; }
.btn:hover { background: #000; }
.btn.wide { width: 100%; }
.btn-sub { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.btn-sub:hover { background: var(--sky); }
.btn-danger { border-color: #c0392b; color: #c0392b; }
.link-btn { border: 0; background: none; padding: 10px 0; color: var(--ink); font-size: 14px; font-weight: 500; min-height: 44px; }

/* forms */
.label { display: block; font-size: 14px; font-weight: 500; margin: 22px 0 8px; }
.input { width: 100%; min-height: 48px; border: 1px solid #cbd5df; border-radius: 4px; padding: 10px 14px; background: #fff; font-size: 15px; }
textarea.input { min-height: 80px; resize: vertical; }
select.input { appearance: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 18px 0; line-height: 1.6; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.field-error { color: #c0392b; font-size: 13px; margin: 6px 0 0; }
.row-inline { display: flex; gap: 8px; align-items: center; }

.flash { padding: 12px 16px; border-radius: 8px; background: var(--sky); color: #1d4f70; font-size: 14px; margin: 0 0 16px; }
.flash.is-error { background: #fdecea; color: #a1301f; }

.badge { display: inline-block; font-size: 10px; line-height: 1.4; background: var(--warn-bg); color: #a86246; border-radius: 4px; padding: 3px 6px; margin-left: 6px; font-weight: 500; vertical-align: 2px; }
.badge.sent { background: #e8f7ee; color: var(--ok); }
