/* 人事Flow: モック(style.css → mock.css)に対する追加分。リンクをボタンと同じ見た目にする等 */
nav a{display:flex;gap:12px;align-items:center;width:100%;text-align:left;text-decoration:none;color:#4f4a43;margin:2px 0;padding:11px 16px;border-left:3px solid transparent;border-radius:0 7px 7px 0}
nav a:hover{background:var(--brand-tint);color:var(--brand-ink)}
nav a.active{background:var(--brand-tint);color:var(--brand-ink);border-left-color:var(--brand);font-weight:700}
nav a.disabled{color:#b8b1a6;pointer-events:none}
nav i{font-style:normal;width:18px;font-size:18px}
.tabs a{padding:9px 15px;border:1px solid transparent;border-radius:8px;background:transparent;color:#756e60;font-size:13px;line-height:1.2;white-space:nowrap;text-decoration:none}
.tabs a:hover{background:#e5e3e0;color:#333029}
.tabs a.selected{background:white;border-color:#dbd8d3;color:var(--brand-ink);font-weight:600;box-shadow:0 1px 3px rgba(18,44,53,.13)}
.tabs a .count{margin-left:5px}
.tabs a.selected .count{background:#e6f5ed;color:#238061}
a.btn,button.btn{display:inline-block;border:1px solid #e4e2df;background:white;border-radius:7px;padding:9px 14px;color:#49443b;font-weight:500;text-decoration:none;font-size:14px;cursor:pointer}
a.btn:hover{background:#f8eff4}
a.btn.primary,button.primary{background:var(--brand);border-color:var(--brand);color:#fff}
a.btn.rowbutton,button.rowbutton{font-size:12px;padding:6px 11px}
a.backlink{display:inline-block;color:#756e60;padding:0 0 10px;font-size:12px;text-decoration:none}
.flash{background:#e6f5ed;color:#238061;border-radius:7px;padding:11px 16px;margin-bottom:18px;font-size:13px}
.errors{background:#fceceb;color:#c45850;border-radius:7px;padding:11px 16px;margin-bottom:18px;font-size:13px}
.errors ul{margin:0;padding-left:18px}
.inline{display:inline}
.dupbox{border:1px solid #f0d9b5;background:#fffaf2;border-radius:8px;padding:12px 14px;margin-top:10px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.dupbox small{display:block;color:#9e978a;font-size:12px;margin-top:3px}
.btnrow{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px;align-items:flex-start}
.btnrow form{margin:0}
dd{overflow-wrap:anywhere}
.notelist{list-style:none;margin:0;padding:0}
.notelist li{border-bottom:1px solid var(--line);padding:12px 0;font-size:13px;white-space:pre-wrap}
.notelist small{display:block;color:#9e978a;font-size:11px;margin-bottom:4px;white-space:normal}
/* #88 面接記録の編集・削除 */
.notelist li.ivnote{white-space:normal}
.notelist .notebody{white-space:pre-wrap}
.notelist .noteedit{white-space:normal;margin-top:6px}
.notelist .noteedit summary{cursor:pointer;color:#9e978a;font-size:11px}
.notelist .noteedit form{margin-top:8px}
.notelist .noteedit label{display:block;font-size:12px}
.notelist .noteedit textarea{width:100%;margin-top:6px}
.notelist .noteedit .btnrow{margin-top:6px}
.notelist .noteedit button.danger{color:#b3261e;border-color:#e3b4b0}
.frame{border:2px dashed #e0ddd6;border-radius:10px;padding:28px;text-align:center;color:#9e978a;background:#fbfaf7}
textarea{width:100%;min-height:90px;border:1px solid #e4e2df;border-radius:7px;padding:9px}
input[type=text],input[type=email],input[type=tel],input[type=date],input[type=search],input[type=password],input[type=number],select{border:1px solid #e4e2df;border-radius:7px;padding:9px 10px;background:#fff}
.loginbox{max-width:400px;margin:80px auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:32px}
.loginbox img{max-width:178px;display:block;margin-bottom:6px}
.loginbox label{display:block;margin:16px 0 6px;font-size:13px;color:#756e60}
.loginbox input{width:100%}
.loginbox button{width:100%;margin-top:22px}
/* 本人向け(スマホ) */
.applybody{background:var(--warm);min-height:100vh;padding:18px 12px 40px}
.applyhead{max-width:460px;margin:0 auto 14px;display:flex;align-items:center;justify-content:space-between}
.applyhead img{width:140px;height:auto}
.phone h4{font-size:14px;margin:28px 0 6px;padding-bottom:8px;border-bottom:2px solid var(--brand-tint);color:var(--brand-ink)}
.phone .rowline{display:grid;grid-template-columns:84px 56px minmax(0,1fr);gap:6px;margin-top:6px}
.phone .rowline input{min-width:0}
.phone .histadd{margin-top:6px}
.phone select,.phone textarea{width:100%}
.phone .help{font-size:11px;color:#9e978a;margin-top:4px}
.phone .err{color:#c45850;font-size:12px;margin-top:4px}
.phone .submit{width:100%;margin-top:26px;padding:14px;font-size:15px}
.devbox{border:2px dashed #FED400;background:#FFFBE6;border-radius:10px;padding:14px;margin-top:18px;font-size:13px}
.devbox b{color:#8A6D00}
.resumepaper{background:#fffefa;border:1px solid #e5dfcf;padding:14px}
.resumepaper table{width:100%;table-layout:fixed;border-collapse:collapse;white-space:normal}
.resumepaper th,.resumepaper td{border:1px solid #bcbfb8;padding:7px 9px;font-size:12px;overflow-wrap:anywhere;background:none;color:#403c35;text-align:left;font-weight:400}
.resumepaper th{width:130px;background:#f6f2e6}
.resumepaper caption{font-weight:700;padding:6px 0 10px;letter-spacing:.3em}
.twocol{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
@media(max-width:1000px){.twocol{grid-template-columns:1fr}}
.resumepaper tr:last-child td,.resumepaper tr:last-child th{border-bottom:1px solid #bcbfb8}
/* 手順2: 入社手続きタブ */
.steperror{color:#c45850 !important;font-size:12px !important;margin-top:6px !important;white-space:normal}
.checkline{display:flex !important;gap:8px;align-items:center;margin-top:14px;font-size:13px}
.checkline input{width:auto}
.guidetext{white-space:pre-wrap;background:#fbfaf7;border:1px solid var(--line);border-radius:8px;padding:14px;font-size:13px;line-height:1.8;font-family:inherit;margin:8px 0 0}
/* 手順3: 入社手続きの確認 */
.reviewtable th{width:260px;background:#fbfbfb;color:#6f685b;font-size:13px;white-space:normal}
.reviewtable td{white-space:normal;vertical-align:top}
.reviewtable td small{display:block}
.reviewtable .reasoncell{width:300px}
.reviewtable .reasoncell input{width:100%}
.reviewtable .reasoncell .nochange{margin-top:6px;font-size:12px;color:#5f584d;white-space:nowrap}
.reviewtable .reasoncell .nochange input{width:auto;flex:none}
.masked{letter-spacing:.08em;color:#8b8271;margin-right:10px}
.revealed{letter-spacing:.06em;background:#fff2df;padding:2px 6px;border-radius:4px}
@media(max-width:760px){.reviewtable th{width:auto}.reviewtable .reasoncell{width:auto}}
/* 手順4・5 */
.checkhead{display:flex;align-items:baseline;gap:14px;margin:6px 0 14px}.checkhead h2{font-size:18px}
.inlineform{display:flex;gap:6px;align-items:center}.inlineform select{padding:6px 8px}
td.wrap{white-space:normal;max-width:360px}
.linethread .msg{background:#f7f6f5;border-radius:10px;padding:10px 14px;margin:0 0 10px;max-width:640px}
.linethread .msg.auto{opacity:.55;background:#fbfaf9}
.linethread .msg p{margin-top:4px;line-height:1.7}
.linethread .msg small{color:#a0998a;font-size:12px}
/* 2026-10-08 デバッグ対応 */
.profileform{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end}
.profileform label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#756e60}
.profileform input,.profileform select{width:100%}
.mobilemenu{border:1px solid #e4e2df;background:#fff;border-radius:7px;padding:6px 10px;font-size:18px;line-height:1}
.menuveil{display:none}
@media(max-width:760px){body.menu .menuveil{display:block;position:fixed;inset:0;background:#29262155;z-index:15}}
.changedmark{display:inline-block;font-size:11px;padding:1px 6px;border-radius:4px;margin-left:6px;background:#e6f5ed;color:#238061}
.changedmark.no{background:#fceceb;color:#c45850}
/* 本人向けページのプレビュー(LIFF 未設定のとき) */
.previewbar{position:sticky;top:0;z-index:30;max-width:460px;margin:0 auto 12px;background:#fff2df;color:#8a5a12;border:1px solid #f0d3a6;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:600;line-height:1.6}

/* 2026-10-08 面接・アンケート・求職申込書 */
.minihead{font-size:13px;margin:0 0 4px;color:#5c574d}
.jaform h4{margin:16px 0 6px;font-size:13px;border-left:3px solid #2e8b6a;padding-left:8px}
.jarow{display:grid;grid-template-columns:170px minmax(0,1fr);gap:10px;padding:6px 0;border-bottom:1px dashed #ece8de}
.jalabel{font-size:12px;color:#5c574d}.jalabel .srctag{display:block;width:fit-content;margin-top:3px;font-size:10px}
.jainput .chk{margin-right:10px;white-space:nowrap}.jainput input:not([type=radio]):not([type=checkbox]),.jainput textarea{width:100%}
@media(max-width:700px){.jarow{grid-template-columns:1fr}}
/* 履歴書の写真(2026-10-13): 社内画面のサムネイルと応募フォームの写真欄 */
.photogrid{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.photothumb{display:flex;flex-direction:column;align-items:center;gap:4px;width:120px;text-decoration:none;color:inherit}
.photothumb img{width:120px;height:150px;object-fit:cover;border:1px solid #e3ddd0;border-radius:6px;background:#f6f2e6}
.photothumb small{font-size:11px;color:#9e978a}
.photoerr{display:flex;align-items:center;justify-content:center;text-align:center;width:120px;height:150px;border:1px dashed #d8cfbd;border-radius:6px;font-size:12px;color:#7a7364;background:#faf7f0}
.photopick{border:1px dashed #d8cfbd;border-radius:10px;padding:12px;margin-top:6px;background:#fffdf8}
.photopick input[type=file]{width:100%}
.photolist{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.photolist figure{margin:0;width:88px;text-align:center;font-size:11px;color:#7a7364}
.photolist img{width:88px;height:110px;object-fit:cover;border:1px solid #e3ddd0;border-radius:6px;display:block;background:#f6f2e6}
.photolist button{margin-top:4px;font-size:12px;padding:2px 8px}
.photostatus{margin-top:8px;font-size:13px;color:#7a7364}
.sendingbar{position:fixed;left:0;right:0;bottom:0;background:#1f6f5c;color:#fff;padding:12px 16px;text-align:center;font-size:14px;z-index:50}
/* 応募者・スタッフ一覧の絞り込み(2026-10-13) */
.stagetabs a.zero{color:#aaa396}.stagetabs a.zero .count{background:transparent;color:#bdb7ab}
.stagetabs a.warn .count{background:#fceceb;color:#c45850}
.appfilters{align-items:flex-end;gap:12px 16px}
.appfilters .searchbox{flex:1 1 320px;min-width:0}
.appfilters .searchbox input{width:100%;min-width:0}
.appfilters .searchbox small{display:block;font-size:11px;color:#a0998b;margin-top:4px}
.segment{display:inline-flex;border:1px solid #e4e2df;border-radius:8px;overflow:hidden;background:#fff;flex-wrap:wrap}
.segment a{padding:9px 13px;font-size:13px;color:#756e60;text-decoration:none;border-right:1px solid #e4e2df;white-space:nowrap}
.segment a:last-of-type{border-right:0}
.segment a.on{background:var(--brand-tint,#fde8f2);color:var(--brand-ink,#c9006f);font-weight:600}
.segment .count{margin-left:6px}
.morefilters{flex:1 1 100%}
.morefilters summary{cursor:pointer;font-size:13px;color:var(--brand-ink,#c9006f);width:fit-content}
.filtergrid{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:10px;align-items:flex-end}
.filtergrid label,.sortbox label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#8b8271}
.filtergrid fieldset{border:0;padding:0;margin:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.filtergrid legend{font-size:12px;color:#8b8271;padding:0;margin-bottom:4px}
.filtergrid input[type=date]{padding:8px 10px}
.sortbox{display:flex;gap:12px;align-items:flex-end;margin-left:auto}
#applist.js .nojs{display:none}
#applist[aria-busy=true] [data-swap=results]{opacity:.55;transition:opacity .15s}
.resultbar{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px 22px;border-bottom:1px solid var(--line)}
.resultcount{font-size:13px;color:#756e60}.resultcount strong{font-size:16px;color:#2e2a27;margin-right:2px}.resultcount small{margin-left:6px;color:#a0998b}
.chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.chip{display:inline-flex;align-items:center;gap:6px;background:var(--brand-tint,#fde8f2);color:var(--brand-ink,#c9006f);border-radius:999px;padding:5px 10px 5px 12px;font-size:12px;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
.chip span[aria-hidden]{font-size:14px;line-height:1}.chip:hover{background:#f9d3e5}
.chipclear{font-size:12px;color:#756e60;margin-left:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tag.origin{background:#f3eee2;color:#7d6a3a;margin-left:6px;font-size:11px;padding:2px 6px}
.avatar.staff{background:#f3eee2!important;color:#7d6a3a!important}
.applist .namelink{color:inherit;text-decoration:none;font-weight:500}.applist .namelink:hover{text-decoration:underline}
.pager{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;padding:16px}
.pager a,.pager span{min-width:36px;text-align:center;padding:7px 10px;border-radius:7px;font-size:13px;text-decoration:none;color:#756e60}
.pager a{border:1px solid #e4e2df;background:#fff}.pager a:hover{background:#f8eff4}
.pager .cur{background:var(--brand-ink,#c9006f);color:#fff;font-weight:600}.pager .off{color:#c8c2b6}.pager .gap{min-width:auto;padding:7px 2px}
@media(max-width:760px){
  .appfilters{padding:14px 16px}.appfilters>*{width:100%}
  .segment{display:flex}.segment a{flex:1 1 auto;text-align:center;padding:9px 8px}
  .sortbox{margin-left:0}.sortbox label{flex:1}.sortbox select{width:100%}
  .filtergrid label,.filtergrid fieldset{width:100%}.filtergrid select{width:100%}.filtergrid input[type=date]{flex:1;min-width:0}
  .resultbar{padding:12px 16px}
  /* 一覧はカードにする(横スクロールさせない) */
  .applist,.applist tbody{display:block;white-space:normal}.applist thead{display:none}
  .applist tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:14px 16px;border-bottom:1px solid #f2f1ef}
  .applist td{display:block;padding:0;border:0;font-size:13px}
  .applist td.c-name{grid-column:1}.applist td.c-status{grid-column:2;grid-row:1;text-align:right}
  .applist td[data-label]{grid-column:1 / -1;color:#5c574d}
  .applist td[data-label]::before{content:attr(data-label)'：';color:#a0998b;font-size:12px}
  .applist td[data-label] small{display:inline;margin-left:6px}
  .applist td.c-applied:empty,.applist td.c-go{display:none}
  .applist td.empty{grid-column:1 / -1;padding:30px 0}
  .applist .person{align-items:flex-start}
}
@media(min-width:761px){.applist td.c-sub,.applist td.c-issue{white-space:normal;min-width:130px;max-width:210px;overflow-wrap:anywhere}}
.applist td.c-name small{max-width:260px;white-space:normal}
@media(min-width:761px){.applist td{padding:14px 10px}.applist th{padding:12px 10px}.applist td:first-child,.applist th:first-child{padding-left:18px}}
/* 応募フォーム: 端末内の下書き(#4)・エラー一覧(#5) */
.phone [hidden]{display:none!important}
.phone .draftnote{font-size:11.5px;color:#6f685c;background:#f6f2e6;border-radius:7px;padding:9px 12px;margin-top:12px;line-height:1.6}
.phone .draftbar{margin-top:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12.5px}
.errsummary ul{margin:6px 0 0;padding-left:18px}
.errsummary li{margin:3px 0}
.errsummary a{color:#c45850;text-decoration:underline}
/* スタッフフォロー(第2フェーズ・2026-10-14) */
.stepper{margin:-6px 0 16px;font-size:13px;color:#9a9284}
.stepper span{padding:4px 10px;border-radius:999px;background:#f3f1ee}
.stepper span.on{background:var(--brand-tint,#fde8f2);color:var(--brand-ink,#c9006f);font-weight:600}
.warntext{color:#c62828;font-weight:600}
.sfkinds .step{gap:10px}
.sfrecords li .tag{margin-right:6px}
/* #33 個人ページ「次にやること」・採用決定の確認ダイアログ */
.nextsteps .panelhead{padding-bottom:12px;flex-wrap:wrap}
.nslist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.nslist>li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:10px 14px;border:1px solid var(--line);border-left:4px solid #e1a756;border-radius:8px;background:#fdfcfb}
.nslist>li.ns-ready{border-left-color:#3a9a72;background:#f4faf6}
.nslist>li.ns-wait{border-left-color:#c9c5bc;background:#f8f7f6}
.nstext{min-width:0;flex:1 1 260px}.nstext b{font-size:14px}.nstext small{display:block;font-size:12px;color:#8b8271;margin-top:3px}
.nsact{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nsact .btn{text-decoration:none}
.nsform{flex:1 1 100%;margin-top:6px}
.nscallout{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:#e6f5ed;color:#1f6b51;border-radius:8px;padding:12px 14px;margin-bottom:12px;font-size:13px}
#hire-dialog{max-width:640px}
#hire-dialog .modalhead button{border:0;background:transparent;font-size:20px;padding:4px 10px}
#hire-dialog .errors{margin-bottom:12px}
/* 保存して元の欄へ戻ったとき、上の「保存しました」が見えるように(個人ページだけ)・欄が上端に貼りつかないように */
body:has(.stagetabs) .flash{position:sticky;top:8px;z-index:15;box-shadow:0 4px 14px rgba(18,44,53,.12)}
.content [id]{scroll-margin-top:70px}
@media(max-width:760px){.nslist>li{padding:10px}.nsact{width:100%}.nsact>*{flex:1 1 auto;text-align:center}}

/* 2026-10-14 本人の画面で見る(#55) */
.personpreviewbar{position:sticky;top:0;z-index:40;max-width:460px;margin:0 auto 12px;background:#2f2a24;color:#fff;border-radius:0 0 10px 10px;padding:10px 14px;font-size:13px;line-height:1.6;display:flex;flex-direction:column;gap:2px}
.personpreviewbar b{color:#ffd27a}
.personpreviewbar small{color:#e8e2d6}
.personpreviewbar a{color:#9fd3ff}
.pptable td small{display:block;color:#7a746a}

/* #72 エントリーシート(手で直せる) */
.esform input:not([type=date]),.esform textarea{width:100%;box-sizing:border-box;font-size:12px}
.esform .esto{font-size:13px;margin-bottom:6px}.esform .esto input{width:70%;display:inline-block}
.esform .esbox{border:1.5px solid #2e8b6a;padding:10px;margin-top:10px;font-size:12px;line-height:1.7}
.esform .esmeetby{color:#d00000;font-size:14px;font-weight:bold;margin-bottom:4px;white-space:nowrap;overflow-x:auto}
/* #76 求職申込書は青系(エントリーシートと見分ける)・緊急連絡先の見出し(会社情報は PDF・Excel だけ #77) */
.japanel .panelhead{background:#e6eefa;border-bottom-color:#c4d4ee}.japanel .panelhead h2{color:#1f3f73}
.japanel .jaform h4{border-left-color:#2a5caa;color:#1f3f73}.japanel .jarow{border-bottom-color:#dbe4f3}.japanel .jalabel{color:#2f4d7a}
.jaemhead{margin:10px 0 2px;padding:3px 8px;background:#2a5caa;color:#fff;font-size:12px;font-weight:bold;border-radius:4px;width:fit-content}
.esform .esred{color:#d00000}
.esform th .srctag{display:block;width:fit-content;margin:3px 0 0;white-space:normal;position:static}
/* 求職申込書・エントリーシートの PDF プレビュー(#79 ポップアップ) */
dialog.pdfdialog{width:min(1100px,96vw);max-width:96vw;height:94vh;max-height:94vh;padding:0;border:0;border-radius:8px;overflow:hidden}
dialog.pdfdialog[open]{display:flex;flex-direction:column}
dialog.pdfdialog::backdrop{background:rgba(0,0,0,.55)}
dialog.pdfdialog .modalhead{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #ddd;background:#f7f7f7}
dialog.pdfdialog .modalhead h2{margin:0;font-size:15px}
dialog.pdfdialog .pdfdialogbtns{display:flex;gap:6px;flex-wrap:wrap}
dialog.pdfdialog iframe{flex:1;width:100%;border:0;background:#fff}

/* 連携・設定の状況のトークンの表: 1280px でボタンが横スクロールの先に隠れないよう、セルを折り返す(ボタンは2列目) */
table.ssotokens{white-space:normal}
table.ssotokens th,table.ssotokens td{padding:12px 12px;vertical-align:top}
table.ssotokens th:first-child,table.ssotokens td:first-child{white-space:nowrap}
table.ssotokens td{font-size:13px}
table.ssotokens .nw{white-space:nowrap}
table.ssotokens .tag{white-space:normal;display:inline-block;line-height:1.5}
table.ssotokens td.tokenaction{min-width:120px;max-width:200px}
table.ssotokens td.tokenaction .rowbutton{white-space:nowrap}

/* 2026-11-09 フォームの崩れ直し(fix/form-layout・PC 1280 とスマホ 390 で撮って比べた)。
   ラベルを欄の上に置き、同じ行の欄は折り返して並べ、補足(small)は欄の下に。スマホでは欄を横いっぱいに */
.fieldform{padding-top:10px}
.fieldform>p,.fieldform>.fieldrow{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:flex-start;margin:0 0 16px}
.fieldform label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;color:#4f4a43;min-width:0;max-width:100%}
.fieldform label>input:not([type=checkbox]):not([type=radio]),.fieldform label>select,.fieldform label>textarea{max-width:100%;font-weight:400}
.fieldform label:has(>textarea){flex:1 1 100%}
.fieldform label>textarea{width:100%}
.fieldform label:has(>input[type=checkbox]),.fieldform label:has(>input[type=radio]){flex-direction:row;align-items:center;gap:6px;font-weight:400;white-space:nowrap;align-self:flex-end;min-height:36px}
.fieldform>p>small,.fieldform>p>.legend{flex-basis:100%;margin:0;color:var(--muted);font-size:12px;font-weight:400}
.fieldform button[type=submit]{margin-top:4px}
@media(max-width:760px){
  .fieldform label{flex:1 1 100%}
  .fieldform label>input:not([type=checkbox]):not([type=radio]),.fieldform label>select{width:100%}
  .fieldform label:has(>input[type=checkbox]),.fieldform label:has(>input[type=radio]){flex:0 1 auto;white-space:normal}
}
/* 2列の枠: スマホで中の広い表に引っぱられて横にはみ出さない(jobs タブ 816px → 390px) */
.twocol>*{min-width:0}
@media(max-width:1000px){.twocol{grid-template-columns:minmax(0,1fr)}}
.tag{max-width:100%}
/* 一覧の絞り込み: スマホで選択欄が 22px に潰れない・枠の見出しが1字ずつ折れない */
@media(max-width:760px){
  .appfilters .sortbox{display:flex;flex-wrap:wrap;gap:10px 12px;width:100%}
  .appfilters label{flex:1 1 calc(50% - 12px);min-width:0;display:flex;flex-direction:column;gap:4px}
  .appfilters select,.appfilters input{width:100%;min-width:0}
  .panelhead h2{min-width:6em}
  .panelhead>.legend{flex:1 1 100%;text-align:left}
  .tag{white-space:normal}
}
.esmeetby input{max-width:100%}
/* #102 履歴書を人事が入力・修正する */
.resumeedit{width:100%;border-collapse:collapse;margin-bottom:6px;table-layout:fixed}
.resumeedit input,.resumeedit select{width:100%;box-sizing:border-box;min-width:0}
.resumeedit th{font-size:12px;color:#756e60;font-weight:normal;text-align:left;padding:2px 4px}
.resumeedit td{padding:2px 4px}
