/* 履歴書から登録（AI読み取り）/register/ai/ */
.ai-reg { background: #F3F6FA; padding: 32px 16px 64px; }
.ai-reg__wrap { max-width: 640px; margin: 0 auto; }
.ai-reg__steps { display: flex; gap: 6px; margin-bottom: 16px; }
.ai-reg__steps i { flex: 1; height: 6px; border-radius: 3px; background: #DCE3EC; }
.ai-reg__steps i.is-on { background: #E85A24; }
.ai-reg__card { background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 4px 18px rgba(26, 60, 110, 0.08); }
.ai-reg__title { font-size: 24px; font-weight: 800; color: #1A3C6E; line-height: 1.5; margin: 0 0 8px; }
.ai-reg__title--s { font-size: 19px; margin-top: 18px; }
.ai-reg__lead { font-size: 14px; color: #5A6475; line-height: 1.8; margin: 0 0 16px; }
.ai-reg__mark { color: #B26A00; font-weight: 700; }
.ai-reg__drop { display: block; position: relative; border: 2px dashed #9DB3D1; background: #F3F6FA; border-radius: 14px; padding: 24px 12px; text-align: center; cursor: pointer; }
.ai-reg__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ai-reg__drop-ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: #1A3C6E; color: #fff; font-size: 26px; font-weight: 700; }
.ai-reg__drop-b { display: block; font-weight: 800; color: #1A3C6E; font-size: 16px; margin-bottom: 4px; }
.ai-reg__drop-n { display: block; font-size: 12px; color: #5A6475; line-height: 1.6; }
.ai-reg__files { list-style: none; margin: 10px 0 0; padding: 0; }
.ai-reg__files li { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid #DCE3EC; border-radius: 10px; padding: 9px 12px; margin-top: 6px; font-size: 13px; word-break: break-all; }
.ai-reg__files button { border: 0; background: #EEF1F5; border-radius: 50%; width: 26px; height: 26px; flex: 0 0 26px; cursor: pointer; }
.ai-reg__consent { background: #FFF8E1; border: 1px solid #F3D98B; border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-size: 12.5px; line-height: 1.7; }
.ai-reg__consent p { margin: 0 0 8px; }
.ai-reg__consent strong { color: #B26A00; }
.ai-reg__check { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.ai-reg__check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; border: 2px solid #B26A00; border-radius: 4px; background: #fff; cursor: pointer; position: relative; }
.ai-reg__check input:checked { background: #E85A24; border-color: #E85A24; }
.ai-reg__check input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ai-reg__check a, .ai-reg__alt a { color: #1A3C6E; text-decoration: underline; }
.ai-reg__hp { position: absolute; left: -9999px; }
.ai-reg__btn { display: block; width: 100%; margin-top: 16px; padding: 15px; border: 0; border-radius: 999px; background: #E85A24; color: #fff; font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.ai-reg__btn:disabled { background: #F2B9A3; cursor: not-allowed; }
.ai-reg__btn--ghost { background: #fff; color: #1A3C6E; border: 2px solid #1A3C6E; }
.ai-reg__alt { text-align: center; font-size: 13px; margin: 14px 0 0; }
.ai-reg__alt a { color: #1A3C6E; }
.ai-reg__error { color: #C62828; font-size: 13px; font-weight: 700; margin: 10px 0 0; min-height: 1em; }
.ai-reg__loading { text-align: center; padding: 56px 24px; }
.ai-reg__spin { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; border: 7px solid #DCE3EC; border-top-color: #E85A24; animation: ai-spin 1s linear infinite; }
.ai-reg__spin--s { display: inline-block; width: 18px; height: 18px; border-width: 3px; margin: 0 8px -3px 0; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-reg__prog { list-style: none; text-align: left; max-width: 300px; margin: 20px auto 0; padding: 0; font-size: 14px; line-height: 2.2; }
.ai-reg__prog li::before { content: "・ "; }
.ai-reg__prog li.is-done::before { content: "✓ "; color: #2E7D32; font-weight: 900; }
.ai-reg__prog li.is-now { color: #E85A24; font-weight: 700; }
.ai-reg__prog li.is-now::before { content: "… "; }
.ai-reg__prog li.is-wait { color: #A0A8B5; }
.ai-reg__sec { display: inline-block; margin: 18px 0 6px; padding: 4px 10px; border-radius: 6px; background: #1A3C6E; color: #fff; font-size: 13px; font-weight: 800; }
.ai-reg__field { padding: 8px 0; border-bottom: 1px solid #EEF1F5; }
.ai-reg__field label { display: block; font-size: 12px; font-weight: 700; color: #5A6475; margin-bottom: 4px; }
.ai-reg__field input, .ai-reg__field select, .ai-reg__field textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #C9D3E0; border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; }
.ai-reg__field textarea { line-height: 1.7; resize: vertical; }
.ai-reg__field.is-unsure { background: #FFF3E0; margin: 0 -10px; padding: 8px 10px; border-radius: 8px; }
.ai-reg__field.is-unsure label { color: #B26A00; }
.ai-reg__field.is-unsure label::after { content: "（要確認）"; }
.ai-reg__ferr { color: #C62828; font-size: 12px; margin: 4px 0 0; }
.ai-reg__ferr:empty { display: none; }
.ai-reg__careers { margin-top: 10px; }
.ai-reg__careers-h { font-size: 12px; font-weight: 700; color: #5A6475; margin: 0 0 4px; }
.ai-reg__career { background: #F3F6FA; border-radius: 8px; padding: 8px 10px; margin-top: 6px; font-size: 13px; line-height: 1.6; }
.ai-reg__career strong { display: block; color: #1A3C6E; }
.ai-reg__assure { list-style: none; padding: 0; margin: 12px 0 0; font-size: 12px; color: #5A6475; text-align: center; }
.ai-reg__done { background: #E8F5E9; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.7; }
.ai-reg__done strong { color: #2E7D32; }
.ai-reg__job { display: block; border: 1px solid #DCE3EC; border-radius: 12px; padding: 12px 14px; margin-top: 10px; color: inherit; text-decoration: none; }
.ai-reg__job:hover { border-color: #1A3C6E; }
.ai-reg__rk { display: inline-block; background: #E85A24; color: #fff; font-weight: 900; font-size: 12px; border-radius: 4px; padding: 1px 7px; margin-right: 6px; }
.ai-reg__jt { font-size: 14px; font-weight: 700; color: #1A3C6E; line-height: 1.5; }
.ai-reg__jm { display: block; font-size: 12px; color: #5A6475; margin-top: 4px; }
.ai-reg__why { display: block; font-size: 13px; background: #F3F6FA; border-radius: 8px; padding: 7px 9px; margin-top: 8px; line-height: 1.6; }
.ai-reg__why b { color: #1A3C6E; }
.ai-reg__note { font-size: 12px; color: #5A6475; margin: 12px 0 0; }
@media (max-width: 600px) {
  .ai-reg { padding: 20px 12px 48px; }
  .ai-reg__card { padding: 22px 16px; }
  .ai-reg__title { font-size: 21px; }
}
/* 画面の切り替え（テーマ側の display 指定より優先する） */
.ai-reg [hidden] { display: none !important; }
/* このページでは求職者向けの登録カード・下部バーを出さない（登録フォームそのものなので） */
.pc-chat-card, .pc-chat-launcher, .sp-fixed-bar { display: none !important; }
/* 清書版への案内 */
.ai-reg__doc { margin-top: 18px; padding: 14px 16px; border: 1px solid #DCE3EC; border-radius: 12px; background: #F3F6FA; }
.ai-reg__doc-t { margin: 0; font-weight: 800; color: #1A3C6E; }
.ai-reg__doc-n { margin: 4px 0 0; font-size: 12.5px; color: #5A6475; line-height: 1.6; }
.ai-reg__doc .ai-reg__btn { margin-top: 10px; }
