* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #eaf4f8; color: #233247; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', Meiryo, sans-serif; line-height: 1.6; }
button, input { font: inherit; }
.signup-shell { width: min(100% - 32px, 640px); margin: 0 auto; padding: 36px 0 28px; }
.signup-panel { padding: 36px 44px 34px; border: 1px solid #d9e5ec; border-radius: 8px; background: #fff; box-shadow: 0 16px 42px rgba(34, 75, 110, .12); }
.signup-head { text-align: center; }
.signup-badge { display: inline-block; padding: 4px 12px; border: 1px solid #6f8bd9; border-radius: 20px; color: #496bb8; font-size: 12px; font-weight: 700; }
.signup-logo { display: block; width: 168px; height: auto; margin: 14px auto 18px; }
.signup-head h1 { margin: 0; font-size: 23px; line-height: 1.4; color: #172e45; }
.signup-head p { margin: 8px 0 0; font-size: 13px; color: #5b6a78; }
.signup-office { display: grid; gap: 3px; margin-top: 24px; padding: 12px 16px; border-left: 3px solid #65b4cf; background: #f0f9fb; font-size: 13px; color: #425b68; }
.signup-office__label { color: #557482; font-size: 11px; font-weight: 700; }
.signup-office strong { color: #193c53; font-size: 16px; }
.signup-review-note { margin: 22px 0 0; padding: 10px 14px; border-left: 3px solid #65b4cf; background: #f0f9fb; color: #425b68; font-size: 13px; }
.signup-alert { margin-top: 20px; padding: 12px 15px; border-radius: 6px; font-size: 13px; }
.signup-alert--success { background: #e6f5ef; color: #176746; }
.signup-alert--error { background: #fff1f0; color: #a12c2c; }
.signup-alert ul { margin: 6px 0 0; padding-left: 20px; }
.signup-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e5ebef; }
.signup-section h2 { margin: 0 0 16px; color: #243d55; font-size: 15px; font-weight: 700; }
.signup-field + .signup-field { margin-top: 18px; }
.signup-field label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; color: #273b50; font-size: 13px; font-weight: 700; }
.signup-required, .signup-optional { font-size: 11px; font-weight: 600; }
.signup-required { color: #b74549; }
.signup-optional { color: #81909d; }
.signup-field input { display: block; width: 100%; height: 46px; padding: 0 13px; border: 1px solid #d4dfe7; border-radius: 7px; outline: none; background: #f8fafb; color: #1c3248; font-size: 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.signup-field input::placeholder { color: #98a5b0; }
.signup-field input:focus { border-color: #77b2df; background: #fff; box-shadow: 0 0 0 3px rgba(119, 178, 223, .18); }
.signup-field input.is-invalid { border-color: #d06464; }
.signup-hint { margin: 6px 0 0; color: #667785; font-size: 11.5px; line-height: 1.6; }
.signup-consent { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: #3c4e5e; font-size: 13px; cursor: pointer; }
.signup-consent input { width: 17px; height: 17px; flex: none; accent-color: #5d91d1; }
.signup-consent a, .signup-login a, .signup-footer a { color: #426bb1; text-decoration: none; }
.signup-consent a:hover, .signup-login a:hover, .signup-footer a:hover { text-decoration: underline; }
.signup-submit { display: block; width: 100%; min-height: 48px; margin-top: 18px; padding: 10px 16px; border: 0; border-radius: 7px; background: linear-gradient(100deg, #667fce, #72b4d5); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.signup-submit:hover { background: linear-gradient(100deg, #5671c3, #60a9ce); }
.signup-submit:focus-visible { outline: 3px solid #194b76; outline-offset: 3px; }
.signup-login { margin: 20px 0 0; text-align: center; color: #6a7885; font-size: 13px; }
.signup-login a { margin-left: 6px; font-weight: 700; }
.signup-account-line { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf1f4; font-size: 13px; }
.signup-account-line span { color: #667785; }
.signup-account-line strong { font-weight: 600; overflow-wrap: anywhere; }
.signup-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 12px; }
@media (max-width: 600px) {
    .signup-shell { width: 100%; padding: 0 0 20px; }
    .signup-panel { padding: 28px 20px 30px; border: 0; border-radius: 0; box-shadow: none; }
    .signup-head h1 { font-size: 20px; }
    .signup-footer { padding: 0 14px; }
}
