:root {
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color: #223047;
  background: #f4f7fb;
  font-synthesis: none;
  --blue: #2457d6;
  --navy: #17305e;
  --border: #dce3ef;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 90% 0%, #e3ecff 0, transparent 32rem), #f4f7fb; }
a { color: var(--blue); }
.site-header { height: 68px; display: flex; align-items: center; padding: 0 max(24px, calc((100% - 960px) / 2)); background: rgba(255,255,255,.9); border-bottom: 1px solid var(--border); }
.brand { color: var(--navy); text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.page-shell { width: min(100% - 32px, 760px); margin: 0 auto; padding: 64px 0 80px; }
.intro { margin-bottom: 28px; }
.eyebrow { color: var(--blue); letter-spacing: .18em; font-size: 12px; font-weight: 800; }
h1 { color: var(--navy); font-size: clamp(28px, 6vw, 42px); line-height: 1.3; margin: 8px 0 12px; }
.intro > p, .status-card > p { color: #5c687b; line-height: 1.8; }
.support-note { margin-top: 8px; font-size: 14px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 40px rgba(40, 64, 110, .08); }
.form-card { padding: clamp(24px, 6vw, 48px); }
fieldset { border: 0; padding: 0; margin: 0 0 40px; }
legend { width: 100%; font-size: 20px; font-weight: 800; color: var(--navy); padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
label { display: grid; gap: 8px; font-weight: 700; margin-bottom: 24px; line-height: 1.6; }
.form-question { margin-bottom: 28px; }
.question-label { margin: 0 0 12px; font-weight: 700; line-height: 1.6; }
.checkbox-group { display: grid; gap: 10px; }
.checkbox-option { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-weight: 500; }
.checkbox-option:has(input:checked) { border-color: var(--blue); background: #f4f7ff; }
.checkbox-option input { width: 20px; height: 20px; margin: 2px 0 0; }
.other-answer { margin: 16px 0 0; font-size: 14px; }
input, textarea, select { width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #b8c4d7; border-radius: 10px; padding: 13px 14px; }
input::placeholder, textarea::placeholder { color: #a1adbd; opacity: 1; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(36,87,214,.18); border-color: var(--blue); }
input[readonly] { background: #f1f4f8; color: #536176; }
.hint, .submit-note { font-size: 13px; color: #68758a; font-weight: 400; }
.required { display: inline-flex; width: fit-content; color: #a53145; background: #fff0f2; padding: 1px 6px; border-radius: 4px; font-size: 11px; vertical-align: 2px; }
.consent { grid-template-columns: 22px 1fr; align-items: start; background: #f7f9fc; border-radius: 12px; padding: 18px; font-weight: 500; }
.consent input { width: 20px; height: 20px; margin-top: 2px; }
.button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(36,87,214,.22); }
.button:hover { background: #1749c3; }
.alert, .notice { padding: 16px 18px; border-radius: 10px; margin-bottom: 28px; line-height: 1.7; }
.alert { background: #fff2f3; border: 1px solid #f0c7cc; color: #81293a; }
.alert ul { margin-bottom: 0; padding-left: 22px; }
.notice { background: #fff8df; color: #725a09; }
.status-card { padding: clamp(32px, 8vw, 64px); text-align: center; }
.status-card .button { margin-top: 20px; }
.status-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: #e8efff; color: var(--blue); font-size: 28px; font-weight: 800; }
.status-card.success .status-mark { background: #e6f8ef; color: #18804b; }
.status-card.warning .status-mark { background: #fff2e1; color: #a65a00; }
.discord-guide-card { padding: clamp(28px, 6vw, 48px); }
.discord-guide-card h1 { font-size: clamp(28px, 5vw, 38px); }
.guide-lead { color: #5c687b; line-height: 1.8; margin-bottom: 28px; }
.guide-steps { display: grid; gap: 14px; padding: 0; margin: 0 0 22px; list-style: none; counter-reset: guide-step; }
.guide-steps li { counter-increment: guide-step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px; background: #f7f9fc; border: 1px solid var(--border); border-radius: 12px; }
.guide-steps li::before { content: counter(guide-step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e8efff; color: var(--blue); font-weight: 800; }
.guide-steps strong { display: block; color: var(--navy); margin: 6px 0 4px; }
.guide-steps p { color: #5c687b; line-height: 1.7; margin: 0 0 6px; }
.guide-note { margin: 0 0 22px; padding: 14px 16px; color: #725a09; background: #fff8df; border-radius: 10px; line-height: 1.7; }
.discord-guide-card .submit-note { text-align: center; line-height: 1.7; }
footer { text-align: center; color: #7a8799; font-size: 12px; padding: 24px; }
@media (max-width: 520px) {
  .page-shell { width: min(100% - 24px, 760px); padding-top: 40px; }
  .site-header { height: 60px; padding: 0 18px; }
  .form-card { border-radius: 16px; }
  .guide-steps li { grid-template-columns: 32px 1fr; padding: 14px; gap: 10px; }
  .guide-steps li::before { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
