/* 会員情報と追加入力で同じ入力部品を使う。 */
main [hidden] { display: none !important; }
main #profile, main #demographics-profile-form, main #demographics-complete { max-width: 680px; }
main .profile-field { margin-top: 22px; }
main .profile-field label { margin: 0 0 8px; }
main .profile-field small:not(label small) { display: block; margin-top: 7px; line-height: 1.6; }
main .profile-field input, main .profile-field select { margin: 0; }
main .profile-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
main #profile button[type=submit], main #demographics-profile-form button[type=submit] { max-width: 320px; }
main #profile #email-verification { margin: 9px 0 0; padding: 0; border: 0 !important; background: transparent; }
main #email-verification p { margin: 0; line-height: 1.6; }
main #email-verification button { width: auto; min-height: 44px; padding: 9px 16px; margin: 10px 8px 0 0; font-size: 14px; }
main #email-verification details { margin-top: 10px; font-size: 14px; }
main #email-verification details p { margin-top: 8px; }
main #demographics-complete { margin-top: 24px; padding: 24px; border: 1px solid #60665b; border-radius: 8px; background: #161a15; }
main #demographics-complete p { margin: 0 0 18px; }
main .profile-primary-link { display: inline-flex; min-height: 48px; padding: 11px 24px; align-items: center; justify-content: center; background: #ffed00; color: #111; border-radius: 6px; font-weight: 700; text-decoration: none; }
main .profile-skip { display: block; margin-top: 18px; }
main #demographics-profile-result:empty, main #save-result:empty, main #message:empty { display: none; }
@media (max-width: 600px) {
  main .profile-pair { grid-template-columns: 1fr; }
  main #profile button[type=submit], main #demographics-profile-form button[type=submit], main .profile-primary-link { max-width: none; width: 100%; }
  main #email-verification button { max-width: 100%; }
}
