/* 既存の青・赤・黄を踏襲。商品情報を最初に、連絡先はその次に配置する。 */
.request-page { background: #fff; }
.request-page [hidden] { display: none !important; }
.request-page a { text-underline-offset: .2em; }
.request-page :focus-visible { outline: 3px solid #1867c0; outline-offset: 4px; }
.request-wrap { max-width: 920px; padding: 0 24px; margin: 0 auto; }
.request-hero { background: var(--aqua); border-bottom: 5px solid var(--blue); padding: 40px 0; }
.request-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.4; font-weight: 900; margin-bottom: 16px; }
.request-hero p { line-height: 1.9; }
.request-body { padding-top: 28px; padding-bottom: 56px; }
.preview-notice { background: var(--yellow-pale); border-left: 4px solid #c59d00; padding: 14px 18px; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.preview-notice strong { display: block; }
.contact-options { border: 2px solid var(--blue); border-radius: 8px; overflow: hidden; margin-top: 32px; }
.line-option { padding: 26px; display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: center; }
.contact-options h2, .apply-intro h2 { font-size: 21px; line-height: 1.5; margin-bottom: 10px; }
.contact-options p, .apply-intro p { font-size: 15px; line-height: 1.9; }
.email-option { background: #f0f8fc; border-top: 1px solid #c4e8f0; padding: 20px 26px; }
.email-option h2 { font-size: 18px; margin-bottom: 4px; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 700; color: #1867c0; }
.contact-button { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 56px; padding: 14px 22px; border-radius: 6px; border: 0; text-align: center; line-height: 1.5; font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; width: 100%; }
.contact-button--line { background: #087f35; color: white; }
.link-note { font-size: 12px; font-weight: 400; margin-top: 4px; }
.contact-button--primary { background: var(--red); color: #fff; max-width: 400px; margin: 24px auto 0; }
.contact-button--secondary { background: white; border: 1px solid var(--blue-heading); color: var(--blue-heading); }
.contact-button:hover:not(:disabled) { filter: brightness(.94); }
.contact-button:disabled { background: #e5e7eb; color: #555; cursor: not-allowed; }
.route-switch { font-size: 15px; text-align: center; margin: 20px 0 48px; }
.route-switch a, .request-body p a, .section-help a, .consent a { color: #1867c0; }
.form-heading { margin-bottom: 24px; scroll-margin-top: 90px; }
.form-heading h2 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.form-heading p { font-size: 15px; }
.form-steps { list-style: none; display: flex; margin: 0 0 32px; border-bottom: 3px solid #d9e0e7; }
.form-steps li { flex: 1; text-align: center; padding: 12px 4px; color: #5c6470; font-weight: 700; }
.form-steps [aria-current] { background: #edf7fc; color: #1867c0; border-bottom: 3px solid var(--blue-heading); margin-bottom: -3px; }
#request-form, #confirmation, .form-field, .consent { scroll-margin-top: 90px; }
#form-controls { border: 0; min-width: 0; }
.form-section { border-top: 1px solid #d3dce5; padding: 28px 0 32px; }
.form-section > h2 { font-size: 21px; color: var(--blue-heading); margin-bottom: 20px; }
.section-help { margin: -8px 0 20px; font-size: 14px; line-height: 1.8; }
.product-entry { border: 1px solid #d3dce5; border-radius: 6px; padding: 20px; margin: 0 0 20px; min-width: 0; }
.product-entry legend { padding: 0 10px; color: var(--blue-heading); font-weight: 700; font-size: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.form-field { min-width: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.field-tag { font-size: 11px; border-radius: 3px; font-weight: 400; background: #eef0f3; color: #505863; padding: 1px 6px; }
.field-tag--required { background: #fff0f2; color: #b30c2d; }
.form-field input, .form-field select, .form-field textarea { display: block; font: inherit; font-size: 16px; color: var(--text); width: 100%; min-width: 0; max-width: 100%; background: #fff; border: 1px solid #929ba6; border-radius: 5px; min-height: 48px; padding: 11px 12px; }
.form-field textarea { resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #737c86; font-size: 14px; opacity: 1; }
.form-field input[aria-invalid="true"], .form-field select[aria-invalid="true"], .consent input[aria-invalid="true"] { outline: 2px solid #b30c2d; outline-offset: 2px; }
.field-hint { font-size: 13px; color: #57616d; line-height: 1.8; margin-top: 8px; }
.add-product { font: inherit; font-weight: 700; color: #1867c0; background: #edf7fc; border: 1px solid #93b9dc; border-radius: 5px; min-height: 48px; padding: 12px 20px; cursor: pointer; width: 100%; }
.add-product:disabled { opacity: .55; cursor: not-allowed; }
.remove-product { font: inherit; color: #a80d2b; background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 12px 0 0; margin-top: 10px; }
.consent { display: flex; gap: 12px; font-size: 15px; line-height: 1.9; margin-bottom: 20px; align-items: flex-start; }
.consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 5px; accent-color: #1867c0; }
.submit-help { font-size: 13px; text-align: center; margin-top: 12px; color: #57616d; }
.form-errors { border: 2px solid #b30c2d; border-radius: 5px; color: #8b0924; background: #fff5f7; padding: 18px; margin-bottom: 24px; }
.form-errors ul { padding-left: 22px; margin-top: 8px; }
.form-errors a { color: inherit; }
.apply-intro { border-left: 5px solid var(--blue); padding: 4px 0 4px 24px; margin: 32px 0; }
.purchase-flow { display: grid; grid-template-columns: repeat(4, 1fr); list-style-position: inside; gap: 12px; font-size: 13px; font-weight: 700; margin: 20px 0; color: var(--blue-heading); }
.purchase-flow li { background: #edf7fc; padding: 14px 10px; }
.confirmation > h2 { font-size: 26px; margin-bottom: 12px; }
.confirmation h3 { font-size: 19px; color: var(--blue-heading); margin: 28px 0 8px; }
.confirmation dl { margin-bottom: 24px; }
.confirmation dl > div { display: grid; grid-template-columns: 190px 1fr; padding: 14px 8px; border-bottom: 1px solid #d3dce5; gap: 16px; }
.confirmation dt { font-weight: 700; font-size: 14px; }
.confirmation dd { overflow-wrap: anywhere; white-space: pre-wrap; }
#assessment-complete { scroll-margin-top: 90px; }
#assessment-complete p { margin: 16px 0; overflow-wrap: anywhere; }
#assessment-challenge { margin: 24px 0 12px; }
#send-status { white-space: pre-wrap; }
.confirmation-actions { display: flex; gap: 16px; }
.confirmation-actions .contact-button { margin: 0; max-width: none; flex: 1; }
.request-support { border-top: 1px solid #d3dce5; margin-top: 32px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.request-support h2 { width: 100%; font-size: 18px; }
.request-support a { color: #1867c0; font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.request-page .app-nav [aria-current] { color: #1867c0; font-weight: 700; background: #edf7fc; }
@media (max-width: 640px) {
  .request-wrap { padding-left: 18px; padding-right: 18px; }
  .request-hero { padding: 28px 0; }
  .line-option { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; }
  .email-option { padding: 20px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .product-entry { padding: 18px 14px; }
  .form-heading h2 { font-size: 23px; }
  .route-switch { text-align: left; margin-bottom: 36px; }
  .apply-intro { padding-left: 16px; }
  .purchase-flow { grid-template-columns: 1fr 1fr; }
  .confirmation dl > div { grid-template-columns: 1fr; gap: 4px; }
  .confirmation-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
