.bx-form-section { padding: 64px 24px; background: #f5f7fa; scroll-margin-top: 88px; color: #14233f; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
.bx-form-shell { max-width: 760px; margin: 0 auto; padding: 40px 48px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.bx-form-shell h2 { margin: 0; font-size: 28px; line-height: 1.4; font-weight: 800; }
.bx-form-intro { margin: 12px 0 28px; color: #526174; font-size: 14px; line-height: 1.8; }
.bx-form-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0 0 28px; padding: 0; gap: 12px; }
.bx-form-progress li { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 2px solid #e2e8f0; color: #738094; font-size: 13px; font-weight: 700; }
.bx-form-progress li span { display: inline-flex; width: 24px; height: 24px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: #eef1f5; font-size: 12px; }
.bx-form-progress li[aria-current="step"] { border-color: #14233f; color: #14233f; }
.bx-form-progress li[aria-current="step"] span { background: #14233f; color: #fff; }
.bx-form-progress li[data-complete="true"] { color: #14233f; border-color: #a6b3c6; }
.bx-step-title { margin: 0 0 24px; font-size: 21px; font-weight: 800; line-height: 1.5; scroll-margin-top: 88px; }
.bx-panel-intro { margin: -12px 0 24px; color: #526174; font-size: 13px; line-height: 1.8; }
.bx-form-field { min-width: 0; margin: 0 0 24px; }
.bx-form-field label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 14px; line-height: 1.5; font-weight: 700; }
.bx-required { color: #b13c22; font-size: 11px; font-weight: 500; }
.bx-form-field input, .bx-form-field select, .bx-form-field textarea { display: block; min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bbc5d1; border-radius: 6px; background: #fff; color: #14233f; font-family: inherit; font-size: 16px; line-height: 1.5; }
.bx-form-field textarea { resize: vertical; min-height: 80px; }
.bx-form-field input::placeholder, .bx-form-field textarea::placeholder { color: #8490a0; font-weight: 400; }
.bx-form-shell :is(input, select, textarea, button, summary, a):focus-visible { outline: 3px solid #9cb8e0; outline-offset: 3px; }
.bx-form-field [aria-invalid="true"] { border-color: #bd372d; }
.bx-field-help { display: block; margin-top: 8px; font-size: 12px; line-height: 1.8; color: #64748b; }
.bx-field-error { margin: 8px 0 0; color: #b42318; font-size: 13px; line-height: 1.7; }
.bx-company-search { display: flex; gap: 8px; }
.bx-company-search input { flex: 1; }
.bx-form-shell button { font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; font-weight: 700; cursor: pointer; }
.bx-form-primary, .bx-form-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-size: 14px; line-height: 1.6; text-align: center; }
.bx-form-primary { border: 1px solid #ffd84d; background: #ffd84d; color: #14233f; }
.bx-form-primary:hover { background: #ffe172; border-color: #ffe172; }
.bx-form-secondary { flex: none; border: 1px solid #aeb9c7; background: #fff; padding: 10px 16px; color: #14233f; }
.bx-form-secondary:hover { background: #f5f7fa; }
.bx-form-back { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; font-size: 14px; color: #526174; text-decoration: underline; text-underline-offset: 4px; }
.bx-form-shell button:disabled { cursor: wait; opacity: .55; }
.bx-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.bx-form-actions > :only-child { margin-left: auto; }
.bx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.bx-form-wide { grid-column: 1 / -1; }
.bx-input-unit { display: flex; align-items: center; gap: 10px; }
.bx-input-unit input { flex: 1; }
.bx-input-unit span { flex: none; font-size: 14px; color: #64748b; }
.bx-company-results { list-style: none; margin: 12px 0 0; padding: 0; border: 1px solid #cbd5e1; border-radius: 6px; overflow: auto; max-height: 288px; }
.bx-company-results li + li { border-top: 1px solid #e2e8f0; }
.bx-company-results button { display: block; width: 100%; padding: 12px 14px; text-align: left; font-size: 14px; line-height: 1.6; }
.bx-company-results button:hover { background: #f1f5f9; }
.bx-company-results button span { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: #64748b; }
.bx-profile-details { margin-top: 4px; }
.bx-detail-intro { margin: 0 0 16px; color: #64748b; font-size: 12px; line-height: 1.8; }
.bx-profile-disclosure { border-top: 1px solid #dce3ec; }
.bx-profile-disclosure:last-child { border-bottom: 1px solid #dce3ec; }
.bx-profile-disclosure > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-size: 15px; line-height: 1.6; font-weight: 700; }
.bx-profile-disclosure > summary::-webkit-details-marker { display: none; }
.bx-profile-disclosure > summary::after { content: '+'; flex: none; font-size: 22px; line-height: 1; font-weight: 400; color: #526174; }
.bx-profile-disclosure[open] > summary::after { content: '−'; }
.bx-profile-disclosure-body { padding: 4px 0 0; }
.bx-profile-disclosure-body > .bx-form-field:last-child { margin-bottom: 22px; }
.bx-recovery-field .bx-input-unit { max-width: 220px; }
.bx-bundled-documents { margin: 4px 0 24px; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; padding: 16px 0; }
.bx-bundled-documents summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.bx-bundled-group { margin-top: 16px; }
.bx-bundled-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.bx-bundled-group ul { margin: 0; padding-left: 20px; }
.bx-bundled-group li { margin: 8px 0; font-size: 13px; line-height: 1.7; }
.bx-bundled-company { display: block; color: #64748b; font-size: 12px; }
.bx-consent-label input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #14233f; }
.bx-pr { margin-left: 4px; color: #64748b; font-size: 11px; font-weight: 400; }
.bx-privacy-note { margin: 4px 0 18px; font-size: 12px; line-height: 1.8; color: #526174; }
.bx-consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.8; cursor: pointer; }
.bx-consent-label a { color: #14233f; text-decoration: underline; text-underline-offset: 3px; }
.bx-download-status { margin: 16px 0 0; color: #14233f; font-size: 13px; line-height: 1.8; }
.bx-form-shell [hidden] { display: none !important; }
.bx-form-shell [data-bx-facts] { margin-top: 24px; }
@media (max-width: 639px) {
  .bx-form-section { padding: 40px 16px; }
  .bx-form-shell { padding: 28px 20px; }
  .bx-form-shell h2 { font-size: 24px; }
  .bx-form-progress { gap: 8px; }
  .bx-form-progress li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11px; }
  .bx-form-grid { grid-template-columns: minmax(0, 1fr); }
  .bx-form-primary { padding: 12px 16px; }
  .bx-company-search { flex-wrap: wrap; }
  .bx-company-search input { flex-basis: 100%; }
  .bx-form-secondary { min-height: 44px; padding: 8px 14px; }
  .bx-form-actions { gap: 8px; }
  .bx-form-actions .bx-form-primary { flex: 1; }
  .bx-form-actions > :only-child { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bx-form-section { scroll-behavior: auto; } }
