/* 事前登録の入力・実数表示。既存のカードとCTAの素材・配色を引き継ぐ。 */
.registration-count { display: grid; justify-items: center; gap: 2px; margin: 16px auto 24px; max-width: 440px; text-align: center; }
.registration-count > span { font-size: 14px; }
.registration-count strong { font-size: 28px; line-height: 1.3; color: var(--ink); }
.registration-count small { font-size: 11px; font-weight: 700; line-height: 1.6; }
.reward-progress { display: grid; gap: 4px; max-width: 440px; margin: 0 auto 52px; padding: 14px 16px; border: 3px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: 0 4px 0 var(--ink); text-align: center; }
.reward-progress p { margin: 0; }
.reward-progress-label { font-size: 12px; }
.reward-progress-total { font-size: clamp(15px, 4vw, 20px); line-height: 1.65; color: var(--ink); }
.reward-progress-pulls { font-size: 15px; color: var(--red); }
.reward-progress-next { font-size: 12px; line-height: 1.65; }
.stop-state { order: 4; margin-top: 3px; padding: 1px 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: #4b4f60; font-size: 10px; line-height: 1.4; white-space: nowrap; }
.road::before { height: 219px; }
.road::after { height: 211px; }
.stop.is-achieved .stop-medal { background: #e2f7da; box-shadow: 0 4px 0 var(--ink), inset 0 0 0 4px #88d975; }
.stop.is-achieved .stop-state { background: #e2f7da; color: #256235; }
.stop.is-next .stop-state { background: var(--gold); color: var(--ink); }
#registration { scroll-margin-top: 80px; }
.registration-form { display: grid; gap: 16px; margin-top: 20px; text-align: left; }
.registration-field { display: grid; gap: 6px; font-size: 14px; }
.registration-field input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font: 700 16px var(--font); }
.registration-field input:disabled { background: #edece6; color: #636574; }
.registration-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; font-weight: 700; line-height: 1.75; }
.registration-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.registration-consent a { text-underline-offset: 3px; }
.registration-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.registration-challenge { display: flex; justify-content: center; min-height: 0; }
.registration-challenge.has-widget { min-height: 140px; }
.registration-submit { width: 100%; font-size: 18px; cursor: pointer; animation: none; }
.registration-submit:disabled { animation: none; cursor: default; opacity: .65; }
.registration-form[aria-busy="true"] .registration-submit { animation: none; }
.registration-message { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.75; text-align: center; overflow-wrap: anywhere; }
.registration-message.is-error { color: #a32520; }
.registration-message.is-success { color: #256235; }
.registration-note { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.7; color: #4b4f60; text-align: center; }
.registration-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; max-width: 760px; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.registration-footer-links a { text-underline-offset: 3px; }

/* 登録解除とご案内、規約とプライバシー。 */
.legal-header { padding: 28px 16px 12px; }
.legal-header img { width: min(240px, 70vw); height: auto; margin: auto; }
.legal-shell { width: min(100% - 32px, 760px); margin: 24px auto 52px; padding: 28px clamp(18px, 4vw, 38px); font-weight: 700; overflow-wrap: anywhere; }
.legal-shell h1 { margin: 0 0 8px; font-size: clamp(23px, 5.8vw, 32px); line-height: 1.45; font-weight: 900; }
.legal-shell h2 { margin: 30px 0 8px; font-size: 20px; line-height: 1.5; }
.legal-shell p, .legal-shell li { font-size: 14px; line-height: 1.9; }
.legal-shell ul { padding-left: 1.4em; }
.legal-shell a { text-underline-offset: 3px; }
.legal-version { color: #4b4f60; font-size: 12px !important; }
.legal-back { display: inline-block; margin-top: 24px; font-size: 14px; }
.registration-action { max-width: 560px; text-align: center; }
.registration-action .cta { margin: 24px auto 18px; animation: none; }
.registration-action .cta:disabled { animation: none; opacity: .65; cursor: default; }
.registration-action [hidden] { display: none; }
.registration-action .registration-message { font-size: 14px; }

@media (max-width: 360px) {
  .registration-submit { font-size: 16px; gap: 6px; }
  .registration-submit b { width: 28px; height: 28px; font-size: 21px; }
  .registration-count strong { font-size: 25px; }
}
