/* jobs-look.css — 求人9サイトの見た目の共通の床（JOBS_LOOK_2026_11_26）
 *
 * 読むサイト: 9サイト全部（bci・flyingcar・ryoshi＝大元の includes/header.php／humanoid・physicalai＝/var/www/shared/site-chrome/header.php／
 *   fde・jidou・taxi・boei＝各サイトの includes/header.php）。どれもサイトの CSS の一番後ろで読む＝ここが最後に効く。
 *   写しのサイトの assets/css/jobs-look.css は大元への印（symlink）＝写しを作らない。?v= はファイルの時刻（直せば自動で変わる）。
 * 置く物: 9サイトで同じであるべき見た目の決まりだけ（サイトの色は書かない＝var(--accent) などを使う）。
 *   1サイトだけの直しはここに書かない。大元（base.css）に移す時もこの印で探す。
 * 正本: git の apps/frontier-jobs-core/assets/css/jobs-look.css → 本番 /var/www/shared/frontier-jobs-core/assets/css/jobs-look.css
 */

/* 1. 求人詳細のスマホの応募カードを貼り付けない。
 *    旧 jobs-base の style.css（B の3サイトが読む）は .sidebar-card に position:sticky を持ち、スマホ用の .sidebar-card-sp も
 *    同じ sticky（高さ約430px）で画面の半分に貼り付き、後ろの本文と重なっていた。大元 base.css にある解除をここで全部に効かせる。 */
.sidebar-card.sidebar-card-sp,
.sidebar-card-sp { position: static; top: auto; }

/* 2. 入力欄は全部 16px 以上（iOS は 16px 未満の欄に触ると画面を拡大する）。
 *    下はどれも元が 13〜15px だった物（2026-11-26 に9サイトのトップ・一覧・詳細の27ページで数えた）。 */
body .job-search-input,
body .joblist-sidebar .job-search-input,
body .lead-form-input,
body .lead-form--sidebar .lead-form-input,
body .apply-gate-input,
body .auth-modal .form-input,
body .form-select,
body .form-control { font-size: 16px; }
/* ヘッダーの検索は指で触る端末だけ 16px（マウスの PC は 16px にすると狭い欄で「求人・企業名で検索」が切れる・拡大も起きない） */
@media (hover: none), (pointer: coarse) {
  body .header-search-input,
  body .site-header .header-search-input { font-size: 16px; }
}
/* クラスの無い欄の床（特定度 0＝どのサイトの規則にも負ける） */
:where(input:not([type]), input[type="text"], input[type="email"], input[type="search"], input[type="password"],
       input[type="tel"], input[type="url"], input[type="number"], select, textarea) { font-size: 16px; }
.job-search-input::placeholder { text-overflow: ellipsis; }
/* 一覧の検索: 狭い画面では「検索」の字を隠して虫眼鏡だけにし、欄に文字が入る幅を空ける（読み上げには字が残る） */
@media (max-width: 480px) {
  body .job-search-btn { font-size: 0; gap: 0; padding-left: 16px; padding-right: 16px; }
  body .job-search-btn .lucide-icon { width: 20px; height: 20px; margin: 0; }
}

/* 2'. メールの登録の欄とボタン（fde・humanoid・physicalai の .lead-form／応募の前の窓）: 隙間を空け、角の丸みをほかのボタン（10px）にそろえる。
 *    旧 jobs-base の LEAD_FORM_UI_2026_08_21 は「隙間なし・角丸なし」で、縦に並んだ時に欄とボタンがくっついていた。 */
body .lead-form-row,
body .apply-gate-form { gap: 8px; }
body .lead-form-input,
body .lead-form-btn,
body .apply-gate-input,
body .apply-gate-submit { border-radius: 10px; }

/* 3. 言語の切り替え（fde・humanoid・physicalai のヘッダー・フッター）。前は site-chrome/header.php と fde の header.php の <style> にあった。
 *    PC のヘッダーで「日本語」が「日／本／語」と縦に割れていた＝折り返さない・縮めない。 */
.lang-switcher { position: relative; display: inline-flex; align-items: center; }
.lang-switcher__btn { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 6px; padding: 6px 10px; font-size: 12px; cursor: pointer; color: inherit; font-family: inherit;
  white-space: nowrap; flex-shrink: 0; }
.lang-switcher__btn:hover { background: rgba(0, 0, 0, .05); }
.lang-switcher__btn .lucide-icon { width: 14px; height: 14px; flex-shrink: 0; }
.lang-switcher__btn .lucide-icon.lang-switcher__chev { width: 12px; height: 12px; }
.site-header .header-actions .lang-switcher { flex-shrink: 0; }
.lang-switcher__menu { position: absolute; top: calc(100% + 4px); right: 0; background: #fff; border: 1px solid var(--border-color, #e2e8f0); border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08); padding: 4px; display: none; z-index: 1000; min-width: 140px; }
.lang-switcher__menu.is-open { display: block; }
.lang-switcher__menu a { display: block; padding: 8px 12px; font-size: 13px; color: #0f172a; text-decoration: none; border-radius: 4px; white-space: nowrap; }
.lang-switcher__menu a:hover { background: #f1f5f9; }
.lang-switcher__menu a.is-active { background: #0d9488; color: #fff; }
[data-theme="dark"] .lang-switcher__menu { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .lang-switcher__menu a { color: #e2e8f0; }
[data-theme="dark"] .lang-switcher__menu a:hover { background: #334155; }
@media (max-width: 760px) { .lang-switcher { display: none; } }
/* スマホのメニューの言語で、今の言語を太字に（前は style 属性） */
.mobile-menu a.is-current-lang { font-weight: 700; color: #0d9488; }

/* 4. トップの5問（PC）: 挿絵の無いサイトは右の 210px の空き列を作らず幅いっぱいに。選択肢の字はカードの中で折り返す。
 *    大元 base.css（と書き出しの quiz-kit.css）の「1100px 以上は 1fr 210px の2列」は挿絵（.quiz-hero-illust）がある前提だった。 */
@media (min-width: 1100px) {
  .hv2-quiz-wrap .quiz-hero:not(:has(> .quiz-hero-illust)) { grid-template-columns: minmax(0, 1fr); }
}
.quiz .quiz-chip { min-width: 0; }
.quiz .quiz-chip-box { min-width: 0; overflow-wrap: anywhere; }

/* 5. ランキングのバッジの印（絵文字の代わりの Lucide の award） */
.hero-wheat-value .hero-wheat-icon { display: inline-block; width: 1em; height: 1em; margin-right: 4px; vertical-align: -0.125em; flex-shrink: 0; color: #b7791f; }

/* 6. 前は style 属性だった物（会員の窓の見出しの行） */
.auth-modal-header .auth-modal-titlerow { display: flex; align-items: center; }

/* 7. 求人一覧のページ送り（JOBS_PAGING_2026_11_26・部品 includes/jobs-paging.php と assets/js/jobs-more.js） */
.jobs-pager { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 28px 0 8px; }
.jobs-pager-status { margin: 0; font-size: 14px; color: var(--text-secondary, #475569); }
.jobs-pager .jobs-more { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 52px; border-radius: 10px; text-decoration: none; }
.jobs-pager .jobs-more[aria-busy="true"] { opacity: .6; pointer-events: none; }
.jobs-pager-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.jobs-pager-pages li { margin: 0; }
.jobs-pager-num,
.jobs-pager-step { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px; background: var(--bg-primary, #fff); color: var(--text-primary, #0f172a); font-size: 15px; text-decoration: none; }
.jobs-pager-num:hover,
.jobs-pager-step:hover { border-color: var(--accent, #0d9488); color: var(--accent, #0d9488); }
.jobs-pager-num.is-current { background: var(--accent, #0d9488); border-color: var(--accent, #0d9488); color: #fff; font-weight: 700; }
.jobs-pager-gap { padding: 0 2px; color: var(--text-muted, #94a3b8); }
.jobs-pager.is-appended .jobs-pager-pages { display: none; }

/* 8. 問い合わせ（/contact/）などの入力欄も 16px（11/26・点検表「スマホの見た目」で .form-input・.form-textarea が 15px だった＝古い style.css の .form-input） */
body .form-input,
body .form-textarea { font-size: 16px; }
