/* 他社の履歴書・求人票の AI 読み込み（doc_reader.js）。名前はすべて drx_ で始め、ほかの画面の見た目に影響しないようにする */
.drx_panel { margin: 0 0 28px; border: 2px solid #f5a623; border-radius: 10px; background: #fffdf7; font-size: 13px; line-height: 1.6; color: #222; overflow: hidden; }
.drx_head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px; background: #fff3dc; border-bottom: 1px solid #f3dfb3; }
.drx_head h2 { margin: 0; font-size: 16px; font-weight: bold; color: #222; border: 0; padding: 0; }
.drx_badge { display: inline-block; padding: 2px 10px; border-radius: 12px; background: #990000; color: #fff; font-size: 11px; font-weight: bold; letter-spacing: .05em; }
.drx_saved { margin-left: auto; color: #990000; font-weight: bold; font-size: 12px; }
.drx_body { display: flex; gap: 18px; padding: 16px; align-items: flex-start; }
.drx_thumb { flex: 0 0 170px; padding: 0; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: zoom-in; text-align: center; overflow: hidden; }
.drx_thumb_img { display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden; background: #fafafa; }
.drx_thumb_img img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: top; }
.drx_thumb_img i { font-size: 54px; color: #c62828; }
.drx_thumb_name { display: block; padding: 6px; font-size: 11px; line-height: 1.4; color: #333; word-break: break-all; }
.drx_thumb small { color: #888; }
.drx_thumb:hover, .drx_thumb:focus-visible { border-color: #990000; outline: none; }
.drx_sum { flex: 1; min-width: 0; }
.drx_lead { margin: 0 0 10px; }
.drx_counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.drx_counts li { min-width: 120px; padding: 6px 12px; border-radius: 6px; font-size: 12px; line-height: 1.4; }
.drx_counts b { font-size: 22px; margin-right: 4px; }
.drx_counts small { display: block; color: #555; }
.drx_c_ok { background: #edf7ef; border: 1px solid #9fd3aa; }
.drx_c_warn { background: #fff7e0; border: 1px solid #f5c35b; }
.drx_c_miss { background: #fdecec; border: 1px solid #ef9a9a; color: #b71c1c; }
.drx_jumps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.drx_jump { padding: 3px 10px; border-radius: 14px; font-size: 12px; cursor: pointer; background: #fff; }
.drx_jump_miss { border: 1px solid #d32f2f; color: #c62828; }
.drx_jump_warn { border: 1px solid #e0a10a; color: #8a5a00; }
.drx_extra { margin: 6px 0 0; padding-left: 18px; color: #555; font-size: 12px; }
.drx_btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.drx_btns button { padding: 6px 14px; border: 1px solid #aaa; border-radius: 16px; background: #fff; font-size: 12px; cursor: pointer; }

/* 入力欄の色 */
.drx_ctrl_ok, .drx_ctrl_conv { background-color: #f1faf3 !important; border-color: #66bb6a !important; }
.drx_ctrl_warn { background-color: #fff8e1 !important; border-color: #f5a623 !important; box-shadow: 0 0 0 2px rgba(245,166,35,.25) !important; }
.drx_ctrl_miss { background-color: #fff5f5 !important; border-color: #d32f2f !important; box-shadow: 0 0 0 2px rgba(211,47,47,.18) !important; }
.drx_item_miss { background: linear-gradient(90deg, rgba(211,47,47,.07), transparent 60%); box-shadow: inset 4px 0 0 #d32f2f; }
.drx_item_warn { background: linear-gradient(90deg, rgba(245,166,35,.09), transparent 60%); box-shadow: inset 4px 0 0 #f5a623; }
.drx_item_miss > .name, .drx_item_warn > .name { padding-left: 10px; }
.drx_flash { animation: drxFlash 1.5s ease; }
@keyframes drxFlash { 0%, 60% { box-shadow: 0 0 0 4px rgba(153,0,0,.35); } 100% { box-shadow: none; } }

/* 欄の下の説明 */
.drx_note { display: block; box-sizing: border-box; width: 100%; flex: 0 0 100%; margin: 4px 0 6px; font-size: 12px; line-height: 1.5; text-align: left; }
.drx_note .drx_lbl { margin-right: 6px; font-weight: bold; }
.drx_note .drx_cv { display: block; font-style: normal; color: #555; font-size: 11px; }
.drx_note.drx_ok { color: #2e7d32; }
.drx_note.drx_ok .drx_lbl::before, .drx_note.drx_conv .drx_lbl::before { content: "✓ "; }
.drx_note.drx_conv { color: #2e7d32; }
.drx_note.drx_conv .drx_cv { color: #1565c0; }
.drx_note.drx_conv .drx_cv::before { content: "変換：" ; font-weight: bold; }
.drx_note.drx_warn { color: #8a5a00; background: #fff8e1; border-radius: 4px; padding: 4px 8px; }
.drx_note.drx_warn .drx_lbl::before { content: "⚠ "; }
.drx_note.drx_miss { color: #c62828; font-weight: bold; }
.drx_note.drx_miss .drx_lbl::before { content: "● "; }
.drx_note.drx_miss .drx_cv { font-weight: normal; color: #555; }
.drx_note.drx_info { color: #666; }

/* 凡例（右下） */
.drx_legend { position: fixed; align-items: flex-start; right: 12px; bottom: 12px; z-index: 9000; display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; background: rgba(255,255,255,.96); border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.12); font-size: 11px; }
.drx_lg::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; border-radius: 3px; border: 2px solid; }
.drx_lg_ok::before { background: #f1faf3; border-color: #66bb6a; }
.drx_lg_conv::before { background: #f1faf3; border-color: #1565c0; }
.drx_lg_warn::before { background: #fff8e1; border-color: #f5a623; }
.drx_lg_miss::before { background: #fff5f5; border-color: #d32f2f; }

.drx_spin { width: 34px; height: 34px; margin: 0 auto; border: 4px solid #f3dfb3; border-top-color: #990000; border-radius: 50%; animation: drxSpin .9s linear infinite; }
@keyframes drxSpin { to { transform: rotate(360deg); } }
.drx_bar { width: 60%; height: 6px; margin: 10px auto 0; background: #f3e6cc; border-radius: 3px; overflow: hidden; }
.drx_bar i { display: block; height: 100%; width: 0; background: #f5a623; animation: drxBar 2.1s ease forwards; }
@keyframes drxBar { to { width: 100%; } }

/* 書類の拡大 */
.drx_zoom { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; background: rgba(0,0,0,.75); padding: 12px; }
.drx_zoom_bar { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 13px; padding: 0 4px 8px; }
.drx_zoom_bar button { padding: 4px 16px; border: 1px solid #fff; border-radius: 14px; background: transparent; color: #fff; cursor: pointer; }
.drx_zoom_scroll { flex: 1; overflow: auto; text-align: center; }
.drx_zoom_scroll img { max-width: min(1000px, 100%); height: auto; background: #fff; border-radius: 4px; }
.drx_zoom_scroll iframe { width: min(1000px, 100%); height: 100%; min-height: 70vh; border: 0; background: #fff; border-radius: 4px; }

.drx_toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 99999; background: #333; color: #fff; padding: 10px 22px; border-radius: 20px; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.25); max-width: 90vw; text-align: center; }

@media (max-width: 760px) {
	.drx_body { flex-direction: column; }
	.drx_thumb { flex: none; width: 100%; max-width: 260px; }
	.drx_legend { display: none; }
}

/* 登録フォームの項目「既存の○○をアップロードする」 */
.drx_upload_item { background: #fffaf0; box-shadow: 0 0 0 2px #f5a623; border-radius: 8px; padding-top: 14px !important; padding-bottom: 14px !important; margin: 4px 0 22px !important; }
.drx_upload_item > .name { font-weight: bold; color: #222; padding-left: 10px; }
.drx_upload_item > .input { padding-right: 10px; box-sizing: border-box; }
.drx_upload_item .drx_opt { display: inline-block !important; margin-left: 6px !important; padding: 1px 6px !important; border-radius: 3px; background: #777 !important; color: #fff !important; font-size: 11px !important; font-weight: normal !important; line-height: 1.4 !important; vertical-align: 1px; }
.drx_upload_lead { margin: 0 0 10px; color: #990000; font-weight: bold; font-size: 14px; }
.drx_upload_lead i { margin-right: 4px; }
.drx_drop { padding: 16px; border: 2px dashed #f5a623; border-radius: 8px; background: #fff; text-align: center; }
.drx_drop_main { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.drx_drop_main > i { font-size: 30px; color: #f5a623; }
.drx_drop_main b { display: block; font-size: 14px; }
.drx_drop_main span { font-size: 12px; color: #777; }
.drx_drop small { display: block; margin-top: 8px; color: #777; font-size: 12px; }
.drx_pick { padding: 8px 18px; border: 1px solid #990000; border-radius: 18px; background: #fff; color: #990000; font-weight: bold; font-size: 13px; cursor: pointer; }
.drx_chosen { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 6px; background: #f3f3f3; font-size: 13px; }
.drx_chosen[hidden] { display: none; }
.drx_chosen i { color: #c62828; }
.drx_remove { border: 0; background: none; font-size: 16px; line-height: 1; cursor: pointer; color: #666; }
.drx_agree { display: block; margin: 10px 0 0; font-size: 12px; color: #333; text-align: left; }
.drx_go { display: block; margin: 12px auto 0; padding: 10px 30px; border: 0; border-radius: 22px; background: #990000; color: #fff; font-size: 14px; font-weight: bold; cursor: pointer; }
.drx_go:disabled { background: #ccc; cursor: not-allowed; }
.drx_upload_notes { margin: 12px 0 0; padding-left: 18px; font-size: 12px; color: #555; text-align: left; line-height: 1.7; }
.drx_drop.is_busy p { margin: 8px 0 0; font-size: 13px; font-weight: bold; }
.drx_done { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 8px; background: #edf7ef; border: 1px solid #9fd3aa; }
.drx_done > i { font-size: 26px; color: #2e7d32; }
.drx_done b { display: block; font-size: 13px; }
.drx_done span { font-size: 12px; color: #333; }
.drx_done > div { flex: 1; min-width: 200px; }
.drx_redo { padding: 6px 14px; border: 1px solid #aaa; border-radius: 16px; background: #fff; font-size: 12px; cursor: pointer; }
.drx_upload_hint { margin: 6px 0 0; font-size: 11px; color: #777; }

/* 本番で足したもの */
.drx_legend button { position: absolute; top: 2px; right: 4px; border: 0; background: none; font-size: 14px; line-height: 1; cursor: pointer; color: #888; }
.drx_legend { padding-right: 24px; }
.drx_wrap { flex-wrap: wrap !important; }
.drx_wrap > .drx_note { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; }
.drx_note.drx_done { opacity: .55; }
.drx_error { margin: 0 0 10px; padding: 8px 12px; border-radius: 6px; background: #fdecec; border: 1px solid #ef9a9a; color: #b71c1c; font-size: 13px; font-weight: bold; }
.drx_drop.is_over { background: #fff3dc; border-color: #990000; }
.drx_caution { margin: 8px 0 0; font-size: 12px; color: #8a5a00; }
.drx_panel_small .drx_body { padding: 12px 16px; }
.history_item.drx_item_miss, .history_item.drx_item_warn, .career_item.drx_item_miss, .career_item.drx_item_warn { padding-left: 8px; }

/* 不足情報（赤）：項目の背景と「不足情報があります」の文字を、ゆっくり点滅させる（2026-11-21）
   手で入力・選択すると drx_item_miss が外れ、点滅も止まる */
.drx_item_miss { animation: drxMissBg 2.4s ease-in-out infinite; }
@keyframes drxMissBg {
	0%, 100% { background-color: rgba(211,47,47,.03); }
	50% { background-color: rgba(211,47,47,.20); }
}
.drx_item_miss .drx_note.drx_miss { animation: drxMissText 2.4s ease-in-out infinite; }
@keyframes drxMissText {
	0%, 100% { color: #c62828; }
	50% { color: #ef5350; }
}
.drx_ctrl_miss { animation: drxMissCtrl 2.4s ease-in-out infinite; }
@keyframes drxMissCtrl {
	0%, 100% { box-shadow: 0 0 0 2px rgba(211,47,47,.18); }
	50% { box-shadow: 0 0 0 4px rgba(211,47,47,.45); }
}
/* 端末で「動きを減らす」を選んでいる人には点滅させず、濃い赤で止めて出す */
@media (prefers-reduced-motion: reduce) {
	.drx_item_miss, .drx_item_miss .drx_note.drx_miss, .drx_ctrl_miss { animation: none; }
	.drx_item_miss { background-color: rgba(211,47,47,.12); }
}

/* 黄（確認）：ゆっくり点滅（赤より少し遅く）。「確認しました」か入力で止まる（2026-11-21） */
.drx_item_warn { animation: drxWarnBg 3s ease-in-out infinite; }
@keyframes drxWarnBg {
	0%, 100% { background-color: rgba(245,166,35,.03); }
	50% { background-color: rgba(245,166,35,.24); }
}
.drx_ctrl_warn { animation: drxWarnCtrl 3s ease-in-out infinite; }
@keyframes drxWarnCtrl {
	0%, 100% { box-shadow: 0 0 0 2px rgba(245,166,35,.2); }
	50% { box-shadow: 0 0 0 4px rgba(245,166,35,.55); }
}
.drx_item_warn .drx_note.drx_warn .drx_lbl { animation: drxWarnText 3s ease-in-out infinite; }
@keyframes drxWarnText {
	0%, 100% { color: #8a5a00; }
	50% { color: #d08700; }
}
.drx_ok_btn { display: inline-block; margin: 4px 0 0 8px; padding: 2px 12px; border: 1px solid #c98a00; border-radius: 12px; background: #fff; color: #8a5a00; font-size: 12px; font-weight: bold; cursor: pointer; vertical-align: 1px; }
.drx_ok_btn:hover { background: #fff3d6; }
.drx_note.drx_done .drx_lbl::before { content: "✓ "; }
@media (prefers-reduced-motion: reduce) {
	.drx_item_warn, .drx_ctrl_warn, .drx_item_warn .drx_note.drx_warn .drx_lbl { animation: none; }
	.drx_item_warn { background-color: rgba(245,166,35,.14); }
}

/* 色の意味の案内 */
.drx_guide { margin: 0 0 10px; padding: 8px 12px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; }
.drx_guide p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 4px 0; font-size: 12px; line-height: 1.6; }
.drx_guide b { font-size: 13px; }
.drx_guide span { color: #555; }
.drx_guide .drx_sw { flex: 0 0 auto; display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 2px solid; vertical-align: -2px; }
.drx_g_miss b { color: #c62828; }
.drx_g_miss .drx_sw { background: #fdecec; border-color: #d32f2f; animation: drxMissBg 2.4s ease-in-out infinite; }
.drx_g_warn b { color: #8a5a00; }
.drx_g_warn .drx_sw { background: #fff8e1; border-color: #f5a623; animation: drxWarnBg 3s ease-in-out infinite; }
.drx_g_ok b { color: #2e7d32; }
.drx_g_ok .drx_sw { background: #f1faf3; border-color: #66bb6a; }
.drx_t_miss { color: #c62828; }
.drx_t_warn { color: #b26a00; }
.drx_counts small { font-weight: normal; }
.drx_c_miss { order: 0; }
.drx_badge_b { background: #f5a623; color: #222; }
@media (prefers-reduced-motion: reduce) { .drx_guide .drx_sw { animation: none; } }

/* 1件ずつ／まとめて の切り替え */
.drx_modes { display: inline-flex; margin: 0 0 10px; border: 1px solid #990000; border-radius: 18px; overflow: hidden; }
.drx_mode { padding: 6px 14px; border: 0; background: #fff; color: #990000; font-size: 12px; font-weight: bold; cursor: pointer; }
.drx_mode + .drx_mode { border-left: 1px solid #990000; }
.drx_mode.is_on { background: #990000; color: #fff; cursor: default; }

/* まとめて読み込み */
.drx_files { margin: 10px 0 0; padding-left: 22px; text-align: left; font-size: 12px; max-height: 220px; overflow: auto; }
.drx_files li { padding: 2px 0; }
.drx_files .drx_remove { margin-left: 6px; }
.drx_files .drx_files_err { list-style: none; margin-left: -18px; color: #c62828; }
.drx_bsum { margin: 0 0 6px; font-size: 13px; font-weight: bold; }
.drx_brun { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 6px 10px; border-radius: 6px; background: #fff3dc; font-size: 12px; font-weight: bold; color: #8a5a00; }
.drx_spin.drx_spin_s { width: 16px; height: 16px; margin: 0; border-width: 3px; }
.drx_tbl_wrap { overflow-x: auto; margin: 0 0 8px; }
.drx_tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 12px; text-align: left; }
.drx_tbl th { padding: 6px 8px; background: #f5f5f5; border-bottom: 1px solid #ddd; font-weight: bold; white-space: nowrap; }
.drx_tbl th small { display: block; font-weight: normal; color: #777; font-size: 10px; }
.drx_tbl td { padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: middle; }
.drx_tbl tr.is_current td { background: #fff8e1; }
.drx_tbl .drx_no { width: 28px; text-align: center; color: #777; }
.drx_tbl .drx_fn b { display: block; font-size: 13px; }
.drx_tbl .drx_fn small { display: block; color: #777; word-break: break-all; }
.drx_tbl .drx_cn { width: 44px; text-align: center; white-space: nowrap; }
.drx_pill { display: inline-block; white-space: nowrap; min-width: 24px; padding: 1px 6px; border-radius: 10px; font-weight: bold; text-align: center; }
.drx_pill_miss { background: #d32f2f; color: #fff; animation: drxPill 2.4s ease-in-out infinite; }
.drx_pill_warn { background: #f5a623; color: #222; }
.drx_pill_zero { background: #eee; color: #999; }
@keyframes drxPill { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.drx_tbl .drx_st { white-space: nowrap; }
.drx_tbl .drx_st small { display: block; white-space: normal; color: #c62828; max-width: 220px; }
.drx_tbl .drx_st .drx_s_warnmsg { color: #8a5a00; }
.drx_s { font-weight: bold; }
.drx_s_busy { color: #8a5a00; }
.drx_s_done { color: #1565c0; }
.drx_s_fail { color: #c62828; }
.drx_s_opened { color: #8a5a00; }
.drx_s_registered { color: #2e7d32; }
.drx_s_registered::before { content: "✓ "; }
.drx_tbl .drx_op { white-space: nowrap; text-align: right; }
.drx_open { padding: 4px 12px; border: 1px solid #990000; border-radius: 14px; background: #990000; color: #fff; font-size: 12px; font-weight: bold; cursor: pointer; }
.drx_open:disabled { background: #ccc; border-color: #ccc; cursor: not-allowed; }
.drx_reg { display: inline-block; margin-left: 8px; font-size: 12px; color: #333; cursor: pointer; }
.drx_gd { margin: 8px 0 0; font-size: 12px; text-align: left; }
.drx_gd summary { cursor: pointer; color: #555; }
.drx_gd .drx_guide { margin-top: 6px; }
.drx_resume, .drx_new { padding: 6px 14px; border: 1px solid #aaa; border-radius: 16px; background: #fff; font-size: 12px; cursor: pointer; }
.drx_resume { border-color: #990000; color: #990000; font-weight: bold; }
@media (prefers-reduced-motion: reduce) { .drx_pill_miss { animation: none; } }
@media (max-width: 760px) {
	.drx_tbl .drx_op { white-space: normal; }
	.drx_reg { display: block; margin: 4px 0 0; }
}

/* まとめて読み込みの使い方（2026-11-21） */
.drx_steps { counter-reset: drxs; list-style: none; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #f3dfb3; border-radius: 8px; background: #fff; text-align: left; }
.drx_steps li { counter-increment: drxs; position: relative; padding: 4px 0 4px 30px; font-size: 12px; line-height: 1.6; }
.drx_steps li::before { content: counter(drxs); position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #990000; color: #fff; font-weight: bold; font-size: 12px; line-height: 22px; text-align: center; }
.drx_steps b { display: block; font-size: 13px; color: #222; }
.drx_steps span { color: #555; }
.drx_next { margin: 10px 0 0; padding: 8px 12px; border-left: 4px solid #990000; background: #fff; font-size: 12px; line-height: 1.6; }
.drx_next b { display: block; font-size: 13px; color: #990000; }
.drx_next ol { margin: 4px 0 0; padding-left: 20px; }
.drx_view { display: inline-block; margin-top: 4px; padding: 2px 10px; border: 1px solid #1565c0; border-radius: 12px; background: #fff; color: #1565c0; font-size: 11px; cursor: pointer; }
.drx_view:hover { background: #e3f2fd; }
.drx_thumb_go { display: block; padding: 4px 6px 8px; color: #1565c0; font-size: 12px; font-weight: bold; }
.drx_thumb_img i.fa-file-excel { color: #1e7145; }
.drx_thumb_img i.fa-file-word { color: #2b579a; }

/* 書類を横に開く */
.drx_viewer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9500; display: flex; flex-direction: column; width: min(42vw, 640px); background: #fff; border-left: 1px solid #ccc; box-shadow: -4px 0 16px rgba(0,0,0,.15); font-size: 13px; color: #222; }
.drx_viewer.is_wide { width: min(68vw, 1100px); }
html.drx_viewing body { padding-right: min(42vw, 640px); box-sizing: border-box; }
html.drx_viewing.drx_viewing_wide body { padding-right: 0; }
.drx_vhead { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #333; color: #fff; }
.drx_vttl { flex: 1; min-width: 0; }
.drx_vttl b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drx_vttl small { display: block; font-size: 11px; color: #ccc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drx_vhead button { flex: 0 0 auto; padding: 4px 12px; border: 1px solid #fff; border-radius: 14px; background: transparent; color: #fff; font-size: 12px; cursor: pointer; }
.drx_vbody { flex: 1; overflow: auto; padding: 10px; background: #f3f3f3; }
.drx_vbody > img { display: block; max-width: 100%; height: auto; margin: 0 auto; background: #fff; cursor: zoom-in; }
.drx_vbody > img.is_zoom { max-width: none; cursor: zoom-out; }
.drx_vbody > iframe { display: block; width: 100%; height: 100%; min-height: 70vh; border: 0; background: #fff; }
.drx_vnote { margin: 0 0 8px; font-size: 12px; color: #555; }
.drx_vpics { margin: 0 0 8px; padding: 6px 10px; border-radius: 6px; background: #fff3dc; color: #8a5a00; font-size: 12px; }
.drx_vtext { margin: 0; padding: 10px; background: #fff; border: 1px solid #ddd; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 13px; line-height: 1.7; }
.drx_vtabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.drx_vtabs button { padding: 3px 10px; border: 1px solid #aaa; border-radius: 12px; background: #fff; font-size: 12px; cursor: pointer; }
.drx_vtabs button.is_on { background: #333; border-color: #333; color: #fff; }
.drx_vsheet table { border-collapse: collapse; background: #fff; font-size: 12px; }
.drx_vsheet td { padding: 3px 6px; border: 1px solid #ddd; vertical-align: top; white-space: pre-wrap; min-width: 24px; max-width: 280px; }
.drx_vtab { position: fixed; right: 0; top: 40%; z-index: 9400; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 0; border-radius: 8px 0 0 8px; background: #1565c0; color: #fff; font-size: 12px; font-weight: bold; cursor: pointer; box-shadow: -2px 2px 8px rgba(0,0,0,.2); writing-mode: vertical-rl; }
.drx_vtab i { writing-mode: horizontal-tb; }
@media (max-width: 1099px) {
	.drx_viewer, .drx_viewer.is_wide { width: 100vw; }
	html.drx_viewing body { padding-right: 0; }
	.drx_vwide { display: none; }
}
/* 書類を横に開いている間だけ、ページの幅（.wrapper の 1200px 固定）を空いている幅に合わせる */
@media (min-width: 1100px) {
	html.drx_viewing:not(.drx_viewing_wide) .wrapper { width: auto !important; max-width: 1200px; margin-left: 16px; margin-right: 16px; }
}

/* 使い方（手順）：一度フォームに入れたら畳んでおく */
.drx_howto { margin: 0 0 10px; text-align: left; }
.drx_howto > summary { cursor: pointer; font-size: 13px; font-weight: bold; color: #990000; margin-bottom: 6px; }
/* 表示言語（送り出し機関） */
.drx_lang { display: flex; justify-content: flex-end; margin: 0 0 8px; font-size: 12px; color: #555; }
.drx_lang label { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.drx_lang select { width: auto !important; min-width: 0 !important; max-width: 220px; height: auto !important; margin: 0 0 0 6px !important; padding: 3px 8px !important; border: 1px solid #aaa; border-radius: 6px; background: #fff; font-size: 12px !important; display: inline-block !important; }

/* まとめて読み込みの1件を最後の登録まで案内する（2026-11-21） */
.drx_flow_note { margin: 6px 0 0; padding: 6px 10px; border-radius: 6px; background: #fff3dc; color: #6b4500; font-size: 12px; font-weight: bold; }
.drx_open.is_next { box-shadow: 0 0 0 3px rgba(153,0,0,.25); }
.drx_open.is_quiet { background: #fff; color: #990000; }
.drx_next_tag { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 10px; background: #990000; color: #fff; font-size: 10px; font-weight: bold; vertical-align: 1px; }
.drx_manual { display: block; margin: 4px 0 0 auto; padding: 0; border: 0; background: none; color: #777; font-size: 10px; text-decoration: underline; cursor: pointer; }
.drx_s_sent { color: #b26a00; }
.drx_s_done { color: #555; }
html.drx_has_bar body { padding-bottom: 120px; }
html.drx_has_bar .drx_legend { bottom: 128px; }
.drx_flowbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9300; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 16px; background: #fff; border-top: 3px solid #990000; box-shadow: 0 -4px 14px rgba(0,0,0,.12); font-size: 12px; color: #222; }
html.drx_viewing:not(.drx_viewing_wide) .drx_flowbar { right: min(42vw, 640px); }
.drx_fb_who { display: flex; flex-direction: column; gap: 2px; min-width: 160px; }
.drx_fb_who b { font-size: 14px; }
.drx_fb_steps { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: fb; }
.drx_fb_steps li { counter-increment: fb; position: relative; padding: 4px 10px 4px 26px; border-radius: 14px; background: #f1f1f1; color: #777; }
.drx_fb_steps li::before { content: counter(fb); position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: #bbb; color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: bold; }
.drx_fb_steps li.is_now { background: #fff3dc; color: #222; font-weight: bold; box-shadow: 0 0 0 2px #f5a623; }
.drx_fb_steps li.is_now::before { background: #990000; }
.drx_fb_steps li.is_done { color: #2e7d32; }
.drx_fb_steps li.is_done::before { content: "✓"; background: #2e7d32; }
.drx_fb_hint { flex: 1 1 260px; margin: 0; color: #444; }
.drx_fb_btns { display: flex; gap: 6px; margin-left: auto; }
.drx_fb_go { padding: 8px 16px; border: 0; border-radius: 18px; background: #990000; color: #fff; font-size: 13px; font-weight: bold; cursor: pointer; }
.drx_fb_list { padding: 8px 14px; border: 1px solid #aaa; border-radius: 18px; background: #fff; font-size: 12px; cursor: pointer; }
.drx_pulse { animation: drxPulse 1.2s ease 3; }
@keyframes drxPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(153,0,0,.0); } 50% { box-shadow: 0 0 0 8px rgba(153,0,0,.35); } }
.drx_flowbox { margin: 0 0 18px; padding: 12px 16px; border: 2px solid #f5a623; border-radius: 10px; background: #fffaf0; font-size: 14px; line-height: 1.7; text-align: left; }
.drx_flowbox p { margin: 0; }
.drx_fx_head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px !important; }
.drx_fx_head b { font-size: 16px; }
.drx_fx_sub { font-size: 12px; color: #666; }
.drx_donebox { margin: 0 0 24px; padding: 16px 18px; border: 2px solid #66bb6a; border-radius: 12px; background: #f4fbf5; font-size: 14px; line-height: 1.7; text-align: left; color: #222; }
.drx_donebox p { margin: 0; }
.drx_dx_ok { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; }
.drx_dx_ok > i { font-size: 22px; color: #2e7d32; }
.drx_dx_ok b { font-size: 17px; }
.drx_dx_prog { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.drx_dx_prog > span { flex: 1; max-width: 360px; height: 8px; border-radius: 4px; background: #dfeee1; overflow: hidden; }
.drx_dx_prog > span i { display: block; height: 100%; background: #2e7d32; }
.drx_dx_prog b { font-size: 13px; }
.drx_dx_next b { font-size: 15px; }
.drx_dx_btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.drx_dx_go { padding: 10px 24px; border: 0; border-radius: 22px; background: #990000; color: #fff; font-size: 15px; font-weight: bold; cursor: pointer; }
.drx_dx_list, .drx_dx_clear { padding: 9px 18px; border: 1px solid #aaa; border-radius: 20px; background: #fff; font-size: 13px; cursor: pointer; }
@media (max-width: 760px) {
	.drx_fb_steps, .drx_fb_hint { display: none; }
	html.drx_has_bar body { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .drx_pulse { animation: none; outline: 3px solid #990000; } }

/* まとめて読み込み：1件ずつの5つの手順と「登録チェック」（2026-11-21 第6版） */
.drx_steps[start="2"] { counter-reset: drxs 1; }
.drx_howto_t { margin: 0 0 6px; font-size: 13px; font-weight: bold; color: #990000; }
.drx_dots { display: flex; gap: 3px; margin: 4px 0 2px; }
.drx_dots i { width: 16px; height: 16px; border-radius: 50%; background: #e6e6e6; color: #888; font-style: normal; font-size: 10px; line-height: 16px; text-align: center; font-weight: bold; }
.drx_dots i.is_done { background: #2e7d32; color: #fff; }
.drx_dots i.is_now { background: #990000; color: #fff; box-shadow: 0 0 0 2px #f6caca; }
.drx_s_next { display: block; color: #990000 !important; font-weight: bold; }
.drx_s.drx_s_checked { background: #e3f2e5; color: #1b5e20; }
.drx_regcheck { margin: 18px 0; padding: 14px 16px; border: 3px solid #990000; border-radius: 10px; background: #fff7f7; text-align: left; font-size: 14px; color: #222; }
.drx_regcheck.is_on { border-color: #2e7d32; background: #f1f8f2; }
.drx_rc_head { margin: 0 0 6px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.drx_rc_t { margin: 0 0 8px; font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.drx_rc_no { display: inline-block; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #990000; color: #fff; font-size: 13px; line-height: 24px; text-align: center; font-weight: bold; }
.drx_regcheck.is_on .drx_rc_t .drx_rc_no { background: #2e7d32; }
.drx_rc_label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #d9b3b3; border-radius: 8px; cursor: pointer; font-weight: bold; }
.drx_regcheck.is_on .drx_rc_label { border-color: #a5d6a7; }
.drx_rc_label input { width: 22px; height: 22px; flex: none; accent-color: #2e7d32; }
.drx_rc_lead { margin: 8px 0 0; font-size: 13px; color: #555; }
.drx_rc_after { margin: 10px 0 0; display: flex; gap: 8px; align-items: flex-start; font-weight: bold; color: #1b5e20; }
.drx_rc_need { margin: 8px 0 0; color: #c00; font-weight: bold; }
.drx_fb_check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid #990000; border-radius: 6px; font-weight: bold; cursor: pointer; background: #fff7f7; }
.drx_fb_check input { width: 18px; height: 18px; accent-color: #2e7d32; }
.drx_fb_check:has(input:checked) { border-color: #2e7d32; background: #f1f8f2; }
.drx_next_tag.is_now { background: #2e7d32; }
.drx_op .drx_open + .drx_open { margin-top: 4px; }
.drx_tbl .drx_op { white-space: normal; min-width: 150px; }
.drx_tbl .drx_op > .drx_open, .drx_tbl .drx_op > .drx_manual { display: block; margin: 4px 0 0 auto; }
.drx_tbl .drx_op > .drx_next_tag { display: inline-block; margin: 0 0 2px; }
.drx_tbl .drx_fn { min-width: 170px; }
.drx_s_registered ~ .drx_s_next { color: #2e7d32 !important; }
.drx_tbl .drx_op .drx_open { word-break: normal; overflow-wrap: break-word; }

/* 第7版：1件ずつ登録の案内・添付ファイルの赤字・大きな言語の窓 */
.drx_rc_one { margin: 10px 0 0; padding: 8px 10px; display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px dashed #990000; border-radius: 6px; color: #990000; font-weight: bold; font-size: 13px; line-height: 1.6; }
.drx_rc_one i { margin-top: 3px; }
.drx_attach_note { margin: 0 0 10px; display: flex; gap: 6px; align-items: flex-start; color: #e00000; font-weight: bold; font-size: 14px; line-height: 1.6; }
.drx_attach_note i { margin-top: 4px; }
.drx_lang.drx_lang_big { display: block; margin: 0 0 18px; font-size: 14px; color: #222; }
.drx_lang_big .drx_lang_in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-start; padding: 12px 16px; border: 2px solid #990000; border-radius: 10px; background: #fff7f7; cursor: default; }
.drx_lang_big .drx_lang_ic { font-size: 30px; color: #990000; flex: none; }
.drx_lang_big .drx_lang_t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; }
.drx_lang_big .drx_lang_t b { font-size: 17px; }
.drx_lang_big .drx_lang_t small { font-size: 12px; color: #555; }
.drx_lang_big select { max-width: 100%; min-width: 200px !important; margin: 0 !important; padding: 8px 12px !important; font-size: 16px !important; font-weight: bold; border: 2px solid #990000; border-radius: 8px; flex: 0 1 260px; }
.drx_lang.drx_lang_band { flex: 1 1 100%; display: flex; justify-content: center; margin: 4px 0 0; color: #fff; font-size: 13px; font-weight: bold; }
.drx_lang.drx_lang_band[hidden] { display: none; }
.drx_lang.drx_lang_band select { font-size: 15px !important; padding: 6px 10px !important; min-width: 200px; max-width: 100%; color: #222; }

/* 第8版：アップロードの見出し「かんたん登録！」を大きめに */
.drx_upload_item .drx_easy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.drx_upload_item .drx_easy_t { display: block; font-size: 24px; line-height: 1.3; font-weight: bold; color: #990000; letter-spacing: .02em; }
.drx_upload_item .drx_easy_s { display: block; font-size: 16px; line-height: 1.55; font-weight: bold; color: #222; }
.drx_upload_item .drx_easy .drx_opt { margin-left: 0 !important; }
@media screen and (max-width: 768px) {
	.drx_upload_item .drx_easy_t { font-size: 22px; }
	.drx_upload_item .drx_easy_s { font-size: 15px; }
}
.drx_upload_item > .name .drx_easy_s { color: #222 !important; margin: 0 !important; padding: 0 !important; font-size: 16px !important; }
.drx_upload_item > .name .drx_easy { margin: 0 !important; padding: 0 !important; }

/* 書類を読み込まなくても出す案内（2026-11-23）：特定技能の添付ファイル（赤枠）・紹介動画（黄色の枠）。読み込みの印と同じ色 */
.drx_hintbox_miss { background: linear-gradient(90deg, rgba(211,47,47,.07), transparent 60%); box-shadow: inset 4px 0 0 #d32f2f; outline: 2px solid #d32f2f; outline-offset: -2px; border-radius: 4px; }
.drx_hintbox_warn { background: linear-gradient(90deg, rgba(245,166,35,.09), transparent 60%); box-shadow: inset 4px 0 0 #f5a623; outline: 2px solid #f5a623; outline-offset: -2px; border-radius: 4px; }
.drx_hintbox_miss > .name, .drx_hintbox_warn > .name { padding-left: 10px; }
.drx_hctrl_miss { background-color: #fff5f5 !important; border: 1px solid #d32f2f !important; box-shadow: 0 0 0 2px rgba(211,47,47,.18) !important; }
.drx_hctrl_warn { background-color: #fff8e1 !important; border: 1px solid #f5a623 !important; box-shadow: 0 0 0 2px rgba(245,166,35,.25) !important; }
.drx_hint { display: block; box-sizing: border-box; width: 100%; margin: 0 0 8px; padding: 6px 10px; border-radius: 4px; font-size: 13px; line-height: 1.6; text-align: left; }
.drx_hint .drx_lbl { margin-right: 6px; font-weight: bold; }
.drx_hint_miss { color: #c62828; background: #fff5f5; font-weight: bold; }
.drx_hint_miss .drx_lbl::before { content: "● "; }
.drx_hint_warn { color: #8a5a00; background: #fff8e1; }
.drx_hint_warn .drx_lbl::before { content: "⚠ "; }
.drx_hintbox_miss .drx_attach_note { display: none; } /* 赤枠の案内と同じことなので、重ねて出さない */
/* 登録チェック：赤が残っているときの確認（画面の中で聞く） */
.drx_rc_ask { margin: 10px 0 0; padding: 10px 12px; border: 2px solid #d32f2f; border-radius: 6px; background: #fff5f5; }
.drx_rc_ask p { margin: 0 0 8px; color: #c62828; font-weight: bold; line-height: 1.6; }
.drx_rc_ask_btns { display: flex; flex-wrap: wrap; gap: 8px; }
.drx_rc_ask_btns button { cursor: pointer; padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: bold; line-height: 1.4; }
.drx_rc_yes { border: 1px solid #1f6f3f; background: #1f8a4c; color: #fff; }
.drx_rc_no_btn { border: 1px solid #c62828; background: #fff; color: #c62828; }
.drx_rc_go_item { cursor: pointer; padding: 6px 12px; border: 1px solid #c62828; border-radius: 999px; background: #fff; color: #c62828; font-size: 14px; font-weight: bold; line-height: 1.4; }
.drx_rc_go_item:hover { background: #fff5f5; }

/* 黄色の「確認しました」：大きめのチェックボックス（2026-11-24）。チェックするまで登録に進めない */
.drx_ok_chk { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 2px 8px; padding: 6px 14px 6px 10px; border: 2px solid #e0a100; border-radius: 8px; background: #fff; color: #6b4500; font-size: 15px; font-weight: bold; line-height: 1.4; cursor: pointer; vertical-align: middle; user-select: none; }
.drx_ok_chk input { width: 22px; height: 22px; margin: 0; accent-color: #1f8a4c; cursor: pointer; flex: none; }
.drx_ok_chk:hover { background: #fff8e1; }
.drx_confirmed .drx_ok_chk { border-color: #1f8a4c; color: #1f6f3f; background: #eef8f1; }
.drx_ask_warn { color: #8a5a00 !important; }
.drx_go_warn { border-color: #e0a100 !important; color: #8a5a00 !important; }
.drx_go_warn:hover { background: #fff8e1 !important; }
.drx_wgate { margin: 12px 0; text-align: left; }
@media screen and (max-width: 768px) { .drx_ok_chk { display: flex; width: fit-content; margin: 6px 0 2px; font-size: 16px; } .drx_ok_chk input { width: 24px; height: 24px; } }
/* 確認済みの黄色は、薄くせずに緑で「確認しました」が分かるようにする */
.drx_note.drx_confirmed { opacity: 1; display: block; padding: 4px 8px; border: 0; border-radius: 4px; background: #eef8f1; color: #1f6f3f; }
.drx_note.drx_confirmed .drx_lbl::before { content: "✓ "; }
