.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.textRed { color: #d6001c; }
/* ステップ表示（Figma：Steps） */
.formSteps { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.formSteps li { display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: #fff; border: 1px solid #bfbfbf; border-radius: 20px; color: #777; font-size: 14px; font-weight: bold; line-height: 22px; }
.formSteps li .stepNo { color: #999; font-size: 11px; }
.formSteps li.current { background: #1a6fc4; border-color: #1a6fc4; color: #fff; }
.formSteps li.current .stepNo { color: #cfe4f7; }
.formSteps li.stepSep { padding: 0; background: none; border: 0; border-radius: 0; color: #999; font-size: 18px; font-weight: normal; }
/* 入力欄（Figma：Field）：項目名を上、入力欄を下に並べる */
.formRow { margin: 0 0 22px; }
.formLabel { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; font-weight: bold; color: #333; line-height: 24px; }
.formInput { min-width: 0; }
.formInput input[type=text], .formInput input[type=email], .formInput input[type=tel], .formInput select, .formInput textarea {
  width: 100%; height: 44px; box-sizing: border-box; padding: 0 14px; background: #fff; border: 1px solid #bfbfbf; border-radius: 4px; color: #333; font-size: 15px; }
.formInput select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23555'/%3E%3C/svg%3E") right 14px center no-repeat; }
.formInput textarea { height: 220px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.formInput ::placeholder { color: #9a9a9a; opacity: 1; }
.nameInputs { display: flex; gap: 12px; }
.nameInputs > div { flex: 1; min-width: 0; }
.nameCaption { display: block; margin: 0 0 4px; color: #666; font-size: 12px; font-weight: normal; line-height: 19px; }
.tagReq { margin: 0; padding: 2px 8px; border-radius: 3px; color: #fff; font-size: 12px; font-weight: bold; line-height: 18px; }
.tagReq { background: #d6001c; }
.radioGroup { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 6px 0; }
.radioItem { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: normal; color: #333; cursor: pointer; }
.radioItem input[type=radio], .consentBox input[type=checkbox] { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; background: #fff; border: 1.5px solid #8c8c8c; cursor: pointer; }
.radioItem input[type=radio] { border-radius: 50%; }
.radioItem input[type=radio]:checked { border-color: #1a6fc4; background: radial-gradient(#1a6fc4 0 45%, #fff 50%); }
.consentBox input[type=checkbox] { border-radius: 3px; }
.consentBox input[type=checkbox]:checked { border-color: #1a6fc4; background: #1a6fc4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.5 3.5L15 7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 100% no-repeat; }
.formInput input:focus-visible, .formInput select:focus-visible, .formInput textarea:focus-visible, .radioItem input:focus-visible, .consentBox input:focus-visible { outline: 2px solid #1a6fc4; outline-offset: 2px; }
.formHelp { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: #666; }
.formError { margin: 6px 0 0; color: #d6001c; font-weight: bold; font-size: 14px; }
.hasError input[type=text], .hasError input[type=email], .hasError input[type=tel], .hasError select, .hasError textarea { border-color: #d6001c; background: #fff6f6; }
.formErrorSummary { margin: 0 0 16px; padding: 12px; border: 2px solid #d6001c; background: #fff6f6; color: #d6001c; font-weight: bold; }
/* 個人情報の同意（Figma：Consent） */
.consentText { margin: 0 0 8px; font-size: 13px; line-height: 1.6; color: #333; }
.consentBox { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #f4f9ff; border: 1px solid #9cc3e8; border-radius: 6px; color: #333; font-size: 15px; font-weight: 500; cursor: pointer; }
.formRecaptcha { margin: 0 0 20px; color: #777; font-size: 12px; line-height: 1.6; }
/* ボタン（Figma：Button/Primary・Button/Secondary） */
.formButtons { display: flex; justify-content: center; gap: 16px; margin: 0; padding: 8px 0 0; }
.buttonForm, .buttonFormSub { display: inline-flex; align-items: center; justify-content: center; width: 280px; max-width: 100%; height: 52px; box-sizing: border-box; padding: 0 32px; border-radius: 6px; font-size: 16px; font-weight: bold; line-height: 1.5; cursor: pointer; }
.buttonForm { background: #1a6fc4; border: 2px solid #1a6fc4; color: #fff; }
.buttonFormSub { background: #fff; border: 2px solid #1a6fc4; color: #1a6fc4; }
.buttonForm, .buttonFormSub { text-decoration: none; }
a.buttonForm, a.buttonForm:visited, a.buttonForm:hover { color: #fff; }
.buttonForm:disabled { opacity: .6; cursor: default; }
.formNote { margin: 12px 0 0; text-align: center; font-size: 13px; color: #555; }
.formLead { margin: 0 0 22px; color: #333; font-size: 15px; line-height: 1.6; }
/* 確認画面（Figma：Summary） */
.formConfirm { width: 100%; border-collapse: collapse; margin: 0 0 22px; border: 1px solid #cfcfcf; }
.formConfirm th, .formConfirm td { padding: 12px 14px; border-top: 1px solid #cfcfcf; font-size: 14px; line-height: 1.6; color: #333; text-align: left; vertical-align: top; }
.formConfirm th { width: 250px; background: #f2f7fb; font-weight: bold; }
.muted { color: #888; }
/* 送信完了（Figma：OK・ReceiptID） */
.finishOk { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.finishCheck { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 24px; background: #2e9e5b; color: #fff; font-size: 26px; font-weight: bold; line-height: 48px; text-align: center; }
.finishTitle { margin: 0; color: #2e7d4f; font-size: 24px; font-weight: bold; line-height: 1.6; }
.receiptBox { margin: 0 0 22px; padding: 20px 24px; background: #f4f9ff; border: 2px solid #1a6fc4; border-radius: 8px; text-align: center; }
.receiptLabel { margin: 0 0 6px; color: #555; font-size: 14px; font-weight: bold; }
.receiptId { margin: 0 0 6px; color: #0b4f96; font-size: 34px; font-weight: bold; line-height: 1.2; }
.receiptNote { margin: 0; color: #555; font-size: 13px; }
@media screen and (max-width: 640px) {
  .formSteps li { padding: 6px 12px; }
  .nameInputs { display: block; }
  .nameInputs > div + div { margin-top: 12px; }
  .formConfirm th, .formConfirm td { display: block; width: auto; }
  .formConfirm th { border-top: 1px solid #cfcfcf; }
  .formConfirm td { border-top: 0; }
  .formButtons { flex-direction: column; align-items: stretch; margin-bottom: 100px; }   /* ボタンとサイドバーの間を空ける */
  .buttonForm, .buttonFormSub { width: 100%; }
  .receiptId { font-size: 28px; }
}

/* 受付停止画面（Figma：PC｜受付停止中／送信時に停止中） */
.noticeBox { margin: 22px 0; padding: 26px 28px; background: #fff7e0; border: 2px solid #e6a700; border-radius: 8px; }
.noticeHead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.noticeIcon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 16px; background: #e6a700; color: #fff; font-size: 20px; font-weight: bold; line-height: 32px; text-align: center; }
.noticeTitle { margin: 0; color: #8a5a00; font-size: 20px; font-weight: bold; line-height: 1.6; }
.noticeText { margin: 0 0 8px; color: #333; font-size: 16px; line-height: 1.6; }
.noticeText:last-child { margin-bottom: 0; }
.noticeRow { display: flex; gap: 20px; align-items: flex-start; }
.noticeBody { flex: 1; min-width: 0; }
.noticeImg { flex: 0 0 94px; width: 94px; height: auto; }
.urgentBox { margin: 22px 0; padding: 20px 24px; background: #f4f9ff; border: 1px solid #9cc3e8; border-radius: 8px; color: #333; line-height: 1.6; }
.urgentTitle { margin: 0 0 10px; color: #0b4f96; font-size: 17px; font-weight: bold; }
.urgentRow { display: flex; gap: 12px; margin: 0 0 10px; font-size: 14px; }
.urgentRow:last-child { margin-bottom: 0; }
.urgentRow dt { flex: 0 0 190px; font-weight: bold; }
.urgentRow dd { flex: 1; margin: 0; min-width: 0; }
.buttonOutline { display: inline-block; width: 280px; max-width: 100%; box-sizing: border-box; padding: 12px 32px; background: #fff; border: 2px solid #1a6fc4; border-radius: 6px; color: #1a6fc4; font-size: 16px; font-weight: bold; line-height: 1.5; text-align: center; text-decoration: none; }
@media screen and (max-width: 640px) {
  .noticeBox { padding: 20px 16px; }
  .noticeTitle { font-size: 17px; }
  .noticeRow { flex-direction: column-reverse; align-items: center; gap: 12px; }
  .noticeBody { width: 100%; }
  .noticeImg { flex: none; width: 80px; }
  .urgentRow { display: block; }
  .urgentRow dt { margin-bottom: 2px; }
}

/* 受付停止の予告（Figma：StopNotice） */
.stopNotice { margin: 0 0 22px; padding: 14px 18px; background: #fff7e0; border: 1.5px solid #e6a700; border-radius: 6px; }
.stopNoticeHead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.stopNoticeIcon { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 12px; background: #e6a700; color: #fff; font-size: 15px; font-weight: bold; line-height: 24px; text-align: center; }
.stopNoticeTitle { margin: 0; color: #8a5a00; font-size: 16px; font-weight: bold; line-height: 1.6; }
.stopNoticeText { margin: 0; color: #333; font-size: 14px; line-height: 1.6; }
.stopNoticeRow { display: flex; gap: 16px; align-items: center; }
.stopNoticeBody { flex: 1; min-width: 0; }
.stopNoticeImg { flex: 0 0 66px; width: 66px; height: auto; }
.stopNoticeStrong { background: #fdecec; border: 2px solid #d32f2f; }
.stopNoticeStrong .stopNoticeIcon { background: #d32f2f; }
.stopNoticeStrong .stopNoticeTitle { color: #b71c1c; font-size: 17px; }

/* 受付停止までのカウントダウン（右下に固定表示） */
.countdownBox { position: fixed; right: 16px; bottom: 16px; z-index: 1000; min-width: 150px; padding: 10px 16px; background: #fff; border: 2px solid #d32f2f; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); text-align: center; }
.countdownLabel { margin: 0; color: #b71c1c; font-size: 12px; font-weight: bold; line-height: 1.5; }
.countdownTime { margin: 0; color: #d32f2f; font-size: 28px; font-weight: bold; line-height: 1.3; font-variant-numeric: tabular-nums; }
@media screen and (max-width: 640px) { .stopNoticeImg { flex-basis: 48px; width: 48px; } .countdownBox { right: 8px; bottom: 8px; min-width: 120px; padding: 6px 12px; } .countdownTime { font-size: 22px; } }
