/* ドラEVER 求人データ 共通スタイル */
/* 運SOUL公式パレット(src/constants/color.ts 実値):
   メイン#172a88(hover #2e4090 / active #47579e) / ページ背景#f8f9fa / カード白+1px #dadce0 /
   テキストリンク#113fa8 / 薄青パネル#eaeff7 / 月給#172a88太字 /
   応募CTA(応募ボタン/電話応募/追従バー)のみ#f87828(hover #ff9050) */
:root {
  --navy: #172a88;        /* メインカラー(ナビバー/主要ボタン/見出し) */
  --navy-hover: #2e4090;
  --navy-active: #47579e;
  --navy-light: #172a88;  /* 月給・強調値(メインと同色・太字で使う) */
  --link: #113fa8;
  --link-hover: #2e4090;
  --action: #172a88;      /* 検索・詳細ボタンもメインカラー */
  --cta: #f87828;
  --cta-hover: #ff9050;
  --ink: #222833;
  --muted: #5a6b8a;
  --line: #dadce0;
  --bg: #f8f9fa;
  --bg-soft: #f5f6f8;
  --panel: #eaeff7; /* 薄青パネル(住所検索ブロック等) */
  --error: #b3261e;
}
* { box-sizing: border-box; }
/* hidden属性はdisplay指定を持つ要素(.job-cards等)でも必ず効かせる */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.8; }
body.has-apply-bar { padding-bottom: 84px; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 16px; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--action); outline-offset: 1px; }

/* ヘッダー(運SOUL風2段構成: 上段=白バー+ロゴ風サイト名 / 下段=メインカラーのナビバー) */
.header-top { background: #fff; border-bottom: 1px solid var(--line); }
.header-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.site-name { color: var(--navy); font-weight: 800; font-size: 1.2rem; text-decoration: none; padding: 6px 0; letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 8px; }
/* ブランドロゴ画像(ヘッダー): 実寸678x235・比率維持でCLS防止。ロゴは青系のため白背景ヘッダー上でそのまま表示 */
.brand-logo { height: 28px; width: auto; display: block; }
.site-name-suffix { color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.header-aux { display: flex; gap: 8px; }
.header-aux a { color: var(--muted); font-size: 0.85rem; text-decoration: none; padding: 8px 6px; min-height: 40px; display: inline-flex; align-items: center; }
.header-aux a:hover { color: var(--link); }
/* ヘッダー常設の検索フォーム(全ページからネイティブGETで /search へ遷移。JS不要で全ページから動く) */
.header-search { display: flex; align-items: center; gap: 6px; flex: 1 1 240px; min-width: 0; max-width: 440px; }
.header-search input { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; min-height: 40px; font-size: 0.95rem; font-family: inherit; background: #fff; color: var(--ink); }
.header-search-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--action); color: #fff; border: none; border-radius: 6px; min-width: 44px; min-height: 40px; padding: 0 12px; cursor: pointer; }
.header-search-btn:hover { background: var(--navy-hover); }
.header-search-btn:active { background: var(--navy-active); }
.header-search-btn svg { width: 20px; height: 20px; fill: currentColor; }
.header-nav { background: var(--navy); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: #fff; text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 0; }
.site-nav a:hover { background: var(--navy-hover); color: #fff; }
@media (max-width: 600px) {
  /* モバイルは補助リンクを畳んでコンパクトに */
  .header-aux { display: none; }
  .header-top .wrap { padding-top: 6px; padding-bottom: 6px; }
  .site-name { font-size: 1.05rem; }
  .site-nav a { padding: 10px 8px; font-size: 0.9rem; }
  /* 検索フォームはロゴの下段に全幅で回り込ませる(横スクロールを出さない細い検索バー) */
  .header-search { flex-basis: 100%; max-width: none; order: 3; }
}

.breadcrumb { font-size: 0.82rem; margin: 10px 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: ">"; margin: 0 6px; color: var(--muted); }

main { padding-bottom: 48px; }
/* タイポグラフィスケール: H1 28px(モバイル22px) / セクション見出し20px+下線アクセント / 本文16px */
h1 { font-size: 1.75rem; color: var(--navy); line-height: 1.4; margin: 0.4em 0; }
h2 { font-size: 1.25rem; color: var(--navy); margin: 0 0 0.9em; padding-bottom: 8px; border-bottom: 2px solid var(--line); position: relative; }
h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--navy); }
h3 { font-size: 1.05rem; color: var(--navy); margin: 1em 0 0.4em; }
@media (max-width: 600px) { h1 { font-size: 1.375rem; } }
.note { color: var(--muted); font-size: 0.88rem; }
.lead { font-size: 0.95rem; }
.updated { color: var(--muted); font-size: 0.85rem; }

/* 白カード */
.card, main > section, main article > section { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 16px; margin: 14px 0; }
@media (min-width: 600px) { .card, main > section, main article > section { padding: 22px 24px; } }

/* 求人詳細ヒーロー(サマリーカード) */
.job-hero { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 18px; margin: 14px 0; }
.hero-co { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.job-hero h1 { font-size: 1.4rem; margin: 0 0 12px; }
@media (max-width: 600px) { .job-hero h1 { font-size: 1.2rem; } }
.hero-salary { font-size: 1rem; color: var(--navy); margin: 8px 0; }
/* 月給はページ内で最も大きく(32px級・メインカラー太字) */
.hero-salary strong { color: var(--navy-light); font-size: 2rem; font-weight: 800; letter-spacing: 0.01em; }
.hero-loc { margin: 4px 0 10px; color: var(--ink); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--action); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: none; border-radius: 8px; padding: 14px 32px; min-height: 48px; cursor: pointer; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-primary:active { background: var(--navy-active); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; border: 2px solid var(--navy); border-radius: 8px; padding: 12px 24px; min-height: 48px; cursor: pointer; font-size: 1rem; }
.btn-secondary:hover { background: var(--bg-soft); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0; }

/* チップ: 職種は運SOULのCHECK/MASTER式バッジ(紺塗りつぶし白文字)、その他はグレー枠モノトーン */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 0; max-width: 100%; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); border-radius: 4px; padding: 3px 12px; font-size: 0.8rem; white-space: nowrap; }
.chip-occ { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }

/* 応募CTA(応募ボタン/追従バー/電話応募)のみオレンジ(公式CTA色) */
.btn-apply { display: inline-flex; align-items: center; justify-content: center; background: var(--cta); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: none; border-radius: 8px; padding: 14px 32px; min-height: 48px; cursor: pointer; }
.btn-apply:hover { background: var(--cta-hover); color: #fff; }

/* LINE応募・問い合わせボタン(補助導線・掲載中求人のみ)。LINEブランド緑は配色ルールの例外として
   このbtn-lineクラスのみに許可する(他ボタンは運SOUL青/CTAオレンジ) */
.line-apply { margin: 0 0 16px; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #06C755; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: none; border-radius: 8px; padding: 14px 28px; min-height: 48px; }
.btn-line:hover { background: #05b34c; color: #fff; }
.btn-line svg { flex-shrink: 0; width: 22px; height: 22px; fill: currentColor; }
.line-apply .note { margin: 6px 0 0; }

/* お電話でのご応募(050番号のみ表示。番号を大きく・tel:リンク) */
.tel-number { margin: 8px 0 4px; }
.apply-tel { display: inline-flex; align-items: center; gap: 10px; color: var(--cta); font-size: 1.7rem; font-weight: 800; text-decoration: none; letter-spacing: 0.02em; min-height: 48px; }
.apply-tel:hover { color: var(--cta-hover); }
.apply-tel svg { flex-shrink: 0; width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 600px) { .apply-tel { font-size: 1.45rem; } }

/* 募集終了バナー(掲載終了求人。応募は受け付けるため案内トーン。CTA色は使わずアンバーで注意喚起) */
.ended-banner { background: #fdf6dd; border: 1px solid #e0b400; border-radius: 8px; padding: 14px 16px; margin: 14px 0; color: #6b5600; }
.ended-banner .ended-banner-title { font-weight: 700; color: #7a6200; margin: 0 0 6px; font-size: 1.02rem; }
.ended-banner p { margin: 0; }
.ended-banner p + p { color: var(--ink); }

/* カード型求人一覧(デスクトップ: 左240x180サムネイル+右本文 / モバイル: 上部全幅画像の縦型) */
/* grid-template-columns=minmax(0,1fr): 列を0まで縮小可にし、非ja(lang≠ja)で未翻訳の
   日本語がCJK改行されずカードを横に押し広げる→ページ横スクロール崩れ(iOS Safari)を防ぐ。
   jaは元々CJKで折り返すため見た目不変。WebKit実機でscroll 705/1271→390を確認済。 */
.job-cards { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.job-card { position: relative; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 40px 14px 14px; text-decoration: none; color: var(--ink); }
.job-card:hover { border-color: var(--link-hover); box-shadow: 0 1px 4px rgba(30,58,95,0.10); }
.job-card:hover .card-title { color: var(--link-hover); }
.card-thumb { flex: 0 0 240px; }
.card-thumb img, .card-thumb svg { display: block; width: 240px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-soft); }
.card-body { flex: 1 1 auto; min-width: 0; max-width: 100%; }
/* :not(.chips)= .chips は display:flex;flex-wrap:wrap を維持させる(この block 指定が
   .chips{display:flex} を上書きするとチップが折り返さず横溢れするのを防ぐ)。 */
.card-body > span:not(.chips) { display: block; min-width: 0; max-width: 100%; }
.card-dist { display: inline-block; margin-left: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; font-size: 0.78rem; color: var(--navy); font-weight: 700; }
@media (max-width: 640px) {
  /* モバイルは縦型カード: 上部全幅画像(16/9)+下に本文 */
  .job-card, .map-card { flex-direction: column; gap: 10px; padding: 12px 12px 14px; }
  .card-thumb { flex: 0 0 auto; width: 100%; }
  .card-thumb img, .card-thumb svg { width: 100%; aspect-ratio: 16 / 9; }
  .card-arrow { display: none; }
}
.card-co { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.card-title { font-size: 1rem; font-weight: 600; color: var(--navy-light); margin: 2px 0; }
.card-meta { color: var(--muted); font-size: 0.85rem; }
/* 非ja(lang=vi等)では長い日本語の会社名/タイトル/住所が折り返されず横はみ出しするため強制改行。
   card-body配下の全spanに適用(salary/chips含む)。jaはCJKが既定で折り返すため見た目は不変 */
.card-body span { overflow-wrap: anywhere; word-break: break-word; }
.card-salary { color: var(--navy-light); font-weight: 800; font-size: 1.25rem; margin: 2px 0; }
.card-salary-na { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.job-card .chips { margin: 6px 0 0; }
.card-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.6rem; }

/* テーブル(集計用) */
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
caption { text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 6px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
thead th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; }
td.num { text-align: right; white-space: nowrap; }
.co-table th { width: 8em; background: var(--bg-soft); color: var(--navy); white-space: nowrap; }
.co-table td { word-break: break-all; }

/* 件数グリッド(市区町村別・職種別・雇用形態別等の集計。縦長テーブルをスマホ2〜3列のタイルに圧縮)。
   auto-fill minmax(140px)で375pxは2列・広がると3列以上に自動追従。長い名称はタイル内で省略し横スクロールを出さない */
.count-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; padding: 0; margin: 12px 0; }
.count-grid li { margin: 0; min-width: 0; }
.count-grid a, .count-grid .count-tile { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.count-grid a:hover { border-color: var(--link-hover); background: var(--bg-soft); color: var(--navy); }
/* タイル名は省略記号で切らず、全文を折り返して表示する(職種名・車形状名が長いため。2枚のスクショで「中型ト…」等の切れを是正) */
.count-tile-name { min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: break-word; line-height: 1.25; }
.count-grid .tile-badge { flex-shrink: 0; background: var(--bg-soft); border-radius: 999px; padding: 1px 10px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
/* 掛け合わせページの内訳タイルが地図の複数条件リンクであることを示す一言 */
.grid-hint { margin: 0 0 8px; font-size: 0.82rem; color: var(--muted); }
.grid-hint strong { color: var(--navy); }

/* ラベル(dt)はグレー小さめ・値(dd)は濃く大きめでコントラストを付ける */
dl.stats, dl.summary { display: grid; grid-template-columns: 10em 1fr; gap: 6px 12px; margin: 12px 0; }
dl.stats dt, dl.summary dt { font-weight: 600; color: var(--muted); font-size: 0.85rem; align-self: center; }
dl.stats dd, dl.summary dd { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
/* dl.stats dd より詳細度を高くして強調色(メインカラー)を効かせる */
.accent-text, dl.stats dd.accent-text, dl.summary dd.accent-text { color: var(--navy-light); font-weight: 800; font-size: 1.15rem; }
@media (max-width: 600px) {
  dl.stats, dl.summary { grid-template-columns: 1fr; gap: 2px; }
  dl.stats dd, dl.summary dd { margin: 0 0 8px 0; }
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; margin: 8px 0; }
.tags li { background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); border-radius: 4px; padding: 2px 10px; font-size: 0.85rem; }

.body-text dl dt { font-weight: 700; color: var(--navy); margin-top: 8px; }
.body-text dl dd { margin: 0 0 8px 1em; }

/* 企業画像: 全セル同寸に整列(aspect-ratio + object-fit: cover) */
.photo-main { margin: 14px 0; }
.photo-main img { display: block; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo-main figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; margin: 12px 0; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-grid li { margin: 0; }
.photo-grid figure { margin: 0; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photo-grid figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* 関連リンク */
.related-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 8px; }

/* 応募フォーム */
.apply { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 16px; margin-top: 24px; scroll-margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label, .field-label { font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
.req { color: #fff; background: var(--error); border-radius: 3px; font-size: 0.7rem; padding: 1px 5px; margin-left: 6px; font-weight: 700; }
input[type="text"], input[type="email"], select, textarea { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 1rem; font-family: inherit; background: #fff; min-height: 44px; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--error); background: #fdf3f2; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--navy); }
.checks { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.checks label { font-weight: 400; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; }
.agree-box { margin-top: 12px; font-size: 0.9rem; }
.agree-box label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.form-error { background: #fdf3f2; border: 1px solid var(--error); color: var(--error); border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; }
.form-error ul { margin: 4px 0 0 1.2em; padding: 0; }
.apply-submit { background: var(--cta); color: #fff; border: none; border-radius: 8px; padding: 16px 40px; font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 16px; min-height: 52px; width: 100%; }
@media (min-width: 600px) { .apply-submit { width: auto; } }
.apply-submit:hover { background: var(--cta-hover); }
.apply-submit:disabled { background: var(--muted); cursor: wait; }
.apply-success { font-weight: 700; color: var(--navy); background: #eef2f8; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }

/* 追従応募バー(画面下部固定。応募フォームが見えている間は隠す) */
.apply-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(26,43,74,0.12); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; transition: transform 0.2s ease; }
.apply-bar.is-hidden { transform: translateY(110%); }
.apply-bar-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.apply-bar-co { font-size: 0.82rem; color: var(--navy); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apply-bar-salary { color: var(--navy-light); font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-bar-btn { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--cta); color: #fff; font-weight: 700; text-decoration: none; border-radius: 8px; padding: 12px 28px; min-height: 48px; font-size: 1rem; }
.apply-bar-btn:hover { background: var(--cta-hover); }

/* トップページ: 検索ファーストのヒーロー */
.top-hero { background: var(--navy); color: #fff; border-radius: 8px; padding: 28px 20px; margin: 16px 0; }
.top-hero h1 { color: #fff; margin: 0 0 6px; }
.top-hero-lead { color: #dfe5f0; margin: 0 0 16px; font-size: 0.95rem; }
.hero-search { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-search input[type="text"] { flex: 2 1 220px; border: none; }
.hero-search select { flex: 1 1 160px; border: none; max-width: 100%; }
.hero-search button { flex: 0 0 auto; min-width: 96px; }
@media (max-width: 600px) { .hero-search button { flex: 1 1 100%; } }

/* チップ型リンク(件数バッジ付き) */
.tile-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 12px 0; }
.tile-links a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; min-height: 44px; text-decoration: none; color: var(--navy); font-weight: 600; background: #fff; }
.tile-links a:hover { border-color: var(--navy-light); background: var(--bg-soft); }
.tile-badge { background: var(--bg-soft); border-radius: 999px; padding: 1px 10px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }

/* 統計サマリカード */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
@media (max-width: 600px) { .stat-cards { grid-template-columns: 1fr; } }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
/* 会員データのスカウトKPI(5枚・自動折返し)+補足 */
.m-kpi { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat-card .stat-sub { font-size: 0.72rem; color: var(--muted); font-weight: 600; margin-top: 3px; line-height: 1.35; }
.m-h3 { font-size: 0.98rem; color: var(--navy); margin: 16px 0 4px; }
/* スカウト待ちドライバー(匿名)一覧・プロフィール */
.talent-cards { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.talent-card { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.talent-card:hover { border-color: var(--link-hover); box-shadow: 0 1px 4px rgba(30,58,95,0.10); }
.talent-card .tc-head { font-weight: 700; color: var(--navy); }
.talent-card .tc-line { font-size: 0.86rem; color: var(--ink); overflow-wrap: anywhere; }
.talent-card .tc-sal { font-weight: 700; color: var(--navy-light); }
.talent-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0; font-size: 0.95rem; }
.talent-dl dt { color: var(--muted); font-weight: 700; }
.talent-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .talent-dl { grid-template-columns: 1fr; gap: 2px 0; } .talent-dl dt { margin-top: 8px; } }
/* スカウト一覧: カード⇄表の切替・並び替え・絞り込み */
.talent-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.btn-toggle { background: var(--navy); color: #fff; border: none; border-radius: 6px; padding: 8px 16px; font-weight: 700; cursor: pointer; min-height: 40px; }
.btn-toggle:hover { background: var(--navy-hover); }
.tl-hint { color: var(--muted); font-size: 0.82rem; }
.talent-table-wrap .table-wrap { overflow-x: auto; }
.talent-tbl { width: 100%; border-collapse: collapse; min-width: 780px; font-size: 0.88rem; background: #fff; }
.talent-tbl th, .talent-tbl td { padding: 7px 10px; border-bottom: 1px solid #e6e9ef; text-align: left; vertical-align: top; }
.talent-tbl th.tl-h { background: #f2f4f8; color: #5f6b7a; font-weight: 700; white-space: nowrap; cursor: pointer; user-select: none; }
.talent-tbl th.tl-h:hover { background: #e8ecf3; }
.talent-tbl .tl-arr { color: var(--navy); }
.talent-tbl tr.tl-frow td { padding: 4px 6px; }
.talent-tbl .tl-f { width: 100%; box-sizing: border-box; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; font-size: 0.82rem; }
.talent-tbl td a { color: var(--navy); text-decoration: none; font-weight: 600; }
.talent-tbl td a:hover { text-decoration: underline; }
.tl-count { color: var(--navy); font-weight: 700; margin: 4px 0 8px; }
/* /talent 全候補横断検索フォーム */
.ts-form .ts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 14px; margin: 8px 0; }
.ts-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; color: var(--navy); font-weight: 700; }
.ts-form select, .ts-form input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 0.92rem; min-height: 40px; box-sizing: border-box; font-weight: 400; }
.ts-status { color: var(--navy); font-weight: 700; margin: 10px 0 4px; }
.ts-more { margin: 12px 0 0; text-align: center; }
/* 双方向マッチング(求人↔スカウト待ちドライバー)の適合度カード */
.match-list { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.match-list li a { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.match-list li a:hover { border-color: var(--link-hover); box-shadow: 0 1px 4px rgba(30,58,95,0.10); }
.mt-score { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.8rem; border-radius: 999px; padding: 2px 10px; margin-bottom: 2px; }
.mt-title { font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.mt-co { color: var(--muted); font-size: 0.85rem; overflow-wrap: anywhere; }
.mt-meta { color: var(--navy-light); font-size: 0.82rem; overflow-wrap: anywhere; }
/* AIからのおすすめポイント(求人・候補者。固有文脈テキストでAI検索/SEO強化)。色付きボーダー/背景は使わず通常カード。 */
.ai-pick h2 { display: flex; align-items: center; gap: 8px; }
.ai-pick h2::before { content: "AI"; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; color: #fff; background: var(--navy); border-radius: 5px; padding: 2px 7px; }
.ai-pick p { font-size: 0.99rem; line-height: 1.9; margin: 0; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.3; }
.stat-label { color: var(--muted); font-size: 0.85rem; }

/* 折りたたみ(AI/SEO用の全件表を人間向けにコンパクト化) */
details > summary { cursor: pointer; font-weight: 700; color: var(--navy-light); padding: 10px 4px; min-height: 44px; display: flex; align-items: center; }

/* 検索ページ */
.search-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 600px) { .search-form { grid-template-columns: 1fr; } }
.search-form .full { grid-column: 1 / -1; }
/* スマホ横はみ出し防止: ネイティブselectは最長オプション(市区町村の長い地名)幅に広がるため、フィールド幅に固定する */
.search-form select, .search-form input, .search-form textarea { width: 100%; max-width: 100%; min-width: 0; }
#s-count { font-weight: 700; color: var(--navy); }
#s-more { width: 100%; margin: 8px 0 16px; }

/* オートコンプリート(絞り込みのサジェスト付きドロップダウン。ルール12/21準拠) */
.ac { position: relative; }
.ac-input { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
/* ネイティブselectは値の保持・候補データ用に残すが視覚的に隠す(オートコンプリートが主UI)。
   .search-form select{width:100%}より高い詳細度で指定し、スマホでの横はみ出しを防ぐ */
.search-form select.ac-native { position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.ac-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(23,42,136,0.14); max-height: 260px; overflow-y: auto; max-width: 100%; box-sizing: border-box; }
.ac-menu[hidden] { display: none; }
.ac-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; min-height: 40px; cursor: pointer; font-size: 0.95rem; color: var(--navy); }
.ac-opt:hover, .ac-opt.is-active { background: var(--bg-soft); }
.ac-opt.is-active { box-shadow: inset 3px 0 0 var(--navy); }
.ac-opt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-opt-count { flex: 0 0 auto; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.ac-empty { padding: 10px 12px; color: var(--muted); font-size: 0.9rem; }

/* 住所から近い順(薄紺パネルで最上段に目立たせる) */
.near-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.near-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.near-label svg { flex-shrink: 0; }
.near-row { display: flex; gap: 8px; flex-wrap: wrap; }
.near-row input { flex: 1 1 220px; background: #fff; }
.btn-mini { display: inline-flex; align-items: center; justify-content: center; background: var(--action); color: #fff; font-weight: 700; border: none; border-radius: 6px; padding: 0 18px; min-height: 44px; cursor: pointer; font-size: 0.95rem; }
.btn-mini:hover { background: var(--navy-hover); }
.btn-mini:active { background: var(--navy-active); }
.btn-mini.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-mini.ghost:hover { background: var(--bg-soft); }
.near-msg { color: var(--error); font-weight: 700; margin: 4px 0 0; }
.near-base { color: var(--navy); font-weight: 700; margin: 4px 0 0; }

/* 一覧/地図の表示切替タブ(右端に現在地ボタンの複製導線) */
.view-tabs { display: flex; gap: 8px; margin: 14px 0 8px; align-items: center; flex-wrap: wrap; }
.view-tabs .btn-mini { margin-left: auto; }
.view-tab { flex: 0 0 auto; min-width: 96px; min-height: 44px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; font-size: 1rem; border-radius: 8px; cursor: pointer; }
.view-tab.is-active { background: var(--navy); color: #fff; }

/* 地図表示 */
#s-map { height: 480px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); }
@media (max-width: 600px) { #s-map { height: 380px; } }
.map-popup strong { color: var(--navy); }
.map-popup .pop-thumb { display: block; width: 220px; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 6px; background: var(--bg-soft); }
.map-popup .pop-salary { color: var(--navy-light); font-weight: 800; }
.map-popup .pop-btn { display: inline-block; background: var(--action); color: #fff; font-weight: 700; text-decoration: none; border-radius: 6px; padding: 6px 14px; margin-top: 6px; }
.map-popup .pop-btn:hover { background: var(--navy-hover); }
.map-popup .pop-title { color: var(--ink); font-size: 0.85rem; }

/* 地図で探すページ(/map): GoogleMaps風レイアウト(PC=左地図/右リスト、スマホ=地図上/リスト下) */
.map-count { font-weight: 700; color: var(--navy); margin: 0; }
/* 地図を上・求人リストを下に縦積み(要望: MAPの下に配置)。横並び380px列だとカードが窮屈で見出しと画像が重なるため。 */
.map-layout { display: block; margin: 8px 0 16px; }
#m-map { height: 460px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); }
.map-list { min-width: 0; margin-top: 18px; }
.map-list-heading { font-size: 1.05rem; color: var(--navy); margin: 0 0 10px; }
/* 地図下のリストは通常の求人カード(.job-card)と同じ見た目に統一(1列・左に横長サムネ240px・全文タイトル)。
   縦長サムネ/多段は違和感との指摘があり、サイト標準カードに合わせた。 */
.map-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-height: 720px; overflow-y: auto; padding: 2px; }
/* 地図リストのカード(検索カードを地図連動用にボタン化。data-idで該当ピンへフォーカス)。
   サムネ寸法は汎用 .card-thumb(240px・4:3)をそのまま使い、通常カードと同一に見せる。 */
.map-card { position: relative; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; cursor: pointer; }
.map-card:hover { border-color: var(--link-hover); box-shadow: 0 1px 4px rgba(30,58,95,0.10); }
.map-card.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.map-card .card-body { flex: 1 1 auto; min-width: 0; }
.map-card .card-title { color: var(--ink); font-weight: 700; display: block; overflow-wrap: anywhere; }
.map-card:hover .card-title { color: var(--link-hover); }
.map-card .card-detail { display: inline-block; margin-top: 8px; background: var(--action); color: #fff; font-weight: 700; text-decoration: none; border-radius: 6px; padding: 6px 14px; min-height: 40px; line-height: 28px; }
.map-card .card-detail:hover { background: var(--navy-hover); color: #fff; }
.map-card-nogeo { opacity: 0.85; }
.map-empty { list-style: none; padding: 24px 12px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 8px; }
#m-more { width: 100%; margin: 8px 0 0; }
@media (max-width: 860px) {
  /* スマホ・タブレット: 地図を低め・リストは1列・全件表示(内側スクロール解除) */
  #m-map { height: 360px; }
  .map-cards { grid-template-columns: 1fr; max-height: none; overflow: visible; }
}

/* ギャラリーのライトボックス(閉じる3操作: オーバーレイ/×/Esc) */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.82); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lightbox img { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #fff; font-size: 0.9rem; text-align: center; }
.lb-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border: none; border-radius: 50%; background: rgba(255,255,255,0.16); color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: none; border-radius: 50%; background: rgba(255,255,255,0.16); color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.32); }
.lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 0.9rem; }

/* トップページ: 都道府県から探す(地方別グリッド・件数バッジ付き)。
   スマホでは1列だと縦スクロールが多いため、minmax(130px)で375px=2列・420px以上=3列に圧縮する。
   県名は短いが最大件数の県で溢れないよう名称は折返し可・バッジは縮小しない(横スクロールを出さない) */
.pref-region { margin: 14px 0 4px; }
.pref-region h3 { margin: 0 0 6px; }
.pref-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; padding: 0; margin: 8px 0; }
.pref-grid a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; min-height: 44px; text-decoration: none; color: var(--navy); font-weight: 600; background: #fff; }
.pref-grid .tile-badge { white-space: nowrap; flex-shrink: 0; }
.pref-grid a:hover { border-color: var(--link-hover); background: var(--bg-soft); color: var(--navy); }
@media (max-width: 600px) {
  .pref-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
  .pref-grid a { padding: 8px 10px; font-size: 0.92rem; }
  .pref-grid .tile-badge { font-size: 0.72rem; padding: 1px 7px; }
}

/* ランキング(/ranking/): 順位バッジ付きカード */
/* minmax(0,1fr): nowrapの長タイトルでグリッドが親幅を超えて膨張するのを防ぐ */
.rank-list { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rank-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.rank-item:hover { border-color: var(--link-hover); }
.rank-item:hover .rank-title { color: var(--link-hover); }
.rank-no { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--muted); color: #fff; font-weight: 800; font-size: 1.05rem; border-radius: 8px; }
.rank-item.top3 .rank-no { background: var(--navy); }
.rank-body { min-width: 0; flex: 1 1 auto; }
.rank-salary { display: block; color: var(--navy-light); font-weight: 800; font-size: 1.2rem; }
.rank-co { display: block; font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.rank-title { display: block; color: var(--link); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-occ { display: block; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 600px) { .rank-title { white-space: normal; } }

/* データ分析(/analysis/): 集計ランキングのバー付きテーブル + 統計カード + ヒストグラム */
.a-stat { margin: 16px 0 20px; }
.table-wrap { overflow-x: auto; }
table.a-rank { width: 100%; border-collapse: collapse; min-width: 520px; }
table.a-rank td.nm { min-width: 6em; }
table.a-rank th, table.a-rank td { padding: 9px 10px; border-bottom: 1px solid #e6e9ef; text-align: left; vertical-align: middle; }
table.a-rank th { font-size: 0.76rem; color: #5f6b7a; font-weight: 700; background: #f2f4f8; white-space: nowrap; }
table.a-rank td.rk, table.a-rank th.rk { text-align: center; width: 44px; color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
table.a-rank tr:nth-child(-n+3) td.rk { font-size: 1.05rem; }
table.a-rank td.nm { font-weight: 600; }
table.a-rank td.nm a { color: var(--navy); text-decoration: none; }
table.a-rank td.nm a:hover { text-decoration: underline; }
table.a-rank .vcol { white-space: nowrap; }
.a-bar { display: inline-block; width: 80px; height: 8px; background: #eaeef4; border-radius: 999px; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.a-bar-fill { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.a-num { font-variant-numeric: tabular-nums; font-weight: 700; }
.a-sub { color: #5f6b7a; font-variant-numeric: tabular-nums; }
.a-hist { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.a-hist li { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 10px; font-size: 0.88rem; }
.a-hist .a-hbar { height: 18px; background: #eaeef4; border-radius: 4px; overflow: hidden; }
.a-hist .a-hbar span { display: block; height: 100%; background: var(--navy); }
.a-hist .a-hn { text-align: right; font-variant-numeric: tabular-nums; color: #5f6b7a; }
@media (max-width: 560px) { .a-bar { width: 44px; } table.a-rank th, table.a-rank td { padding: 7px 6px; font-size: 0.85rem; } .a-hist li { grid-template-columns: 76px 1fr 52px; font-size: 0.8rem; } }
/* 会員データ(/members)用の横バー。ラベル・件数が長い(「大型トラックドライバー」「12,345名 (12.3%)」)ため列を広めに取る */
.m-hist { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.m-hist li { display: grid; grid-template-columns: minmax(120px, 190px) 1fr minmax(112px, auto); align-items: center; gap: 10px; font-size: 0.88rem; }
.m-hist .a-hlabel { overflow-wrap: anywhere; line-height: 1.3; }
.m-hist .a-hbar { height: 18px; background: #eaeef4; border-radius: 4px; overflow: hidden; }
.m-hist .a-hbar span { display: block; height: 100%; background: var(--navy); }
.m-hist .a-hn { text-align: right; font-variant-numeric: tabular-nums; color: #5f6b7a; white-space: nowrap; }
@media (max-width: 560px) { .m-hist li { grid-template-columns: 92px 1fr auto; font-size: 0.78rem; gap: 6px; } }
/* 求人動向(/trend/): 実況・前日比バッジ・推移バーチャート・ランキング表 */
.trend-live { border-left: 4px solid var(--navy); }
.trend-live-text { margin: 8px 0; }
.trend-live-scope { display: inline-block; background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 700; border-radius: 999px; padding: 1px 10px; margin-right: 8px; vertical-align: 1px; }
.trend-diff { font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.trend-diff-up { color: #1a7f37; }      /* 増加(緑・▲記号併用でa11y担保) */
.trend-diff-down { color: var(--error); } /* 減少(赤・▼記号併用) */
.trend-diff-flat, .trend-diff-none { color: var(--muted); }
.trend-rank { min-width: 460px; }
.trend-rank caption { text-align: left; color: var(--muted); font-size: 0.82rem; padding: 6px 0; }
figure.trend-chart { margin: 12px 0 8px; }
.trend-chart-wrap { overflow-x: auto; }
.trend-bars { list-style: none; display: flex; align-items: flex-end; gap: 3px; height: 150px; margin: 8px 0 0; padding: 0; min-width: min-content; }
.trend-bars li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 0 0 auto; }
.trend-bar { display: block; width: 14px; min-height: 4px; background: var(--navy); border-radius: 3px 3px 0 0; }
.trend-bars li:last-child .trend-bar { background: var(--navy-active); } /* 最新日は淡いネイビーで強調(CTA色は応募系のみに予約) */
.trend-bar-x { writing-mode: vertical-rl; font-size: 0.6rem; color: var(--muted); margin-top: 4px; max-height: 46px; }
@media (max-width: 600px) { .trend-bar { width: 9px; } .trend-bars { height: 120px; } }

/* お役立ち情報(/guide/) */
.guide-cards { list-style: none; display: grid; gap: 12px; padding: 0; margin: 12px 0; }
.guide-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: var(--link-hover); color: var(--ink); }
.guide-card:hover .guide-card-title { color: var(--link-hover); }
.guide-card-title { display: block; color: var(--link); font-weight: 700; font-size: 1.02rem; margin-bottom: 2px; }
.guide-card-desc { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.guide-card-date { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.national-guide h3 { margin: 14px 0 6px; font-size: 0.98rem; }
.guide-cat { display: inline-block; background: var(--navy); color: #fff; border-radius: 4px; padding: 1px 10px; font-size: 0.76rem; font-weight: 600; margin-bottom: 4px; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 14px 0; }
.toc-label { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.article-body h2 { margin-top: 1.6em; }
.article-body table { font-size: 0.9rem; }
.article-body { overflow-wrap: break-word; }
.article-meta { color: var(--muted); font-size: 0.85rem; }
.faq dt { font-weight: 700; color: var(--navy); margin-top: 12px; }
.faq dd { margin: 4px 0 0 0; }

.site-footer { background: var(--navy); color: #dfe5f0; margin-top: 40px; font-size: 0.85rem; }
.site-footer .wrap { padding-top: 16px; padding-bottom: 16px; }
.site-footer a { color: #fff; }
.site-footer .copyright { color: #b9c4dc; margin-top: 8px; }
/* フッターのロゴ: 青系ロゴを紺背景で視認できるよう白チップに載せる */
.footer-logo { height: 20px; width: auto; display: inline-block; vertical-align: middle; background: #fff; padding: 4px 8px; border-radius: 4px; }
/* 掲載元のロゴ: 白カード上のため背景チップ不要 */
.co-source-logo { height: 30px; width: auto; display: inline-block; vertical-align: middle; }
/* 掲載企業について(補助ブロック) */
.company-meta .co-meta-desc { margin: 0 0 8px; line-height: 1.75; }
.company-meta .co-meta-src { margin: 0; }
/* 掲載企業について(リッチ表示: キャッチコピー・会社紹介・会社概要・特徴チップ) */
.company-rich .co-rich-catch { margin: 0 0 8px; font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.6; }
.company-rich .co-rich-desc { margin: 0 0 12px; line-height: 1.85; }
.company-rich .co-rich-points { margin: 0 0 12px; padding: 0 0 0 1.15em; list-style: none; }
.company-rich .co-rich-points li { position: relative; margin: 0 0 8px; line-height: 1.8; overflow-wrap: break-word; }
.company-rich .co-rich-points li::before { content: ""; position: absolute; left: -1.15em; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.company-rich .co-rich-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 12px; }
.company-rich .co-rich-facts dt { font-weight: 700; color: var(--navy); }
.company-rich .co-rich-facts dd { margin: 0; overflow-wrap: break-word; }
.company-rich .co-rich-tags { margin: 0 0 12px; }
.company-rich .co-rich-src { margin: 0; }
@media (max-width: 600px) {
  .company-rich .co-rich-facts { grid-template-columns: 1fr; gap: 2px 0; }
  .company-rich .co-rich-facts dd { margin: 0 0 6px; }
}
body.has-apply-bar .site-footer { margin-bottom: 0; }

/* ---- 多言語(グローバル化)対応UI ---- */
/* ヘッダーの多言語バッジ + 言語切替 */
.header-i18n { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.globe-ic { flex: none; vertical-align: middle; }
.ml-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 14px;
  background: #eaeff7; color: #172a88; font-size: 12px; font-weight: 700;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.ml-badge:hover { background: #dbe3f3; }
.ml-badge .globe-ic { width: 15px; height: 15px; }
.ml-badge-en { font-weight: 500; opacity: .8; }
.ml-badge-count { background: #172a88; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; }
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 12px; }
.lang-switch a { color: #47579e; text-decoration: none; }
.lang-switch a:hover { text-decoration: underline; }
.lang-switch .lang-cur { color: #172a88; font-weight: 700; }
/* 言語ボタンの国旗(日本人にも一目で言語が分かるよう。切替・フッター・外国人導線で共用) */
.lang-flag { margin-right: 4px; font-size: 1.15em; line-height: 1; vertical-align: -0.06em; }
/* フッターの対応言語一覧 */
.footer-langs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; margin: 0 0 10px; }
.footer-langs .globe-ic { color: #fff; opacity: .85; }
.footer-langs-label { font-weight: 700; }
.footer-langs a { color: #fff; text-decoration: underline; }
.footer-langs .lang-pending { color: rgba(255,255,255,.55); }
/* トップの外国人ドライバー向け導線 */
.for-foreign { border: 1px solid #cdd7ef; background: linear-gradient(180deg,#f3f6fc,#eaeff7); }
.for-foreign h2 { display: flex; align-items: center; gap: 8px; color: #172a88; }
.for-foreign h2 .globe-ic { width: 24px; height: 24px; color: #172a88; }
.for-foreign .ff-en { font-weight: 500; font-size: .8em; opacity: .8; }
.ff-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ff-lang {
  display: inline-block; padding: 6px 12px; border-radius: 8px;
  background: #fff; border: 1px solid #c9d3ea; color: #172a88; text-decoration: none; font-weight: 600; font-size: 14px;
}
.ff-lang:hover { background: #eaeff7; }
.ff-lang-pending { color: #8a93a6; background: #f5f6f8; border-style: dashed; }
/* 求人詳細の機械翻訳準備中の注記 */
.mt-pending {
  margin: 10px 0; padding: 10px 12px; border-radius: 8px;
  background: #fff7ec; border: 1px solid #f0d8b0; color: #7a5b1e; font-size: 13px;
}
@media (max-width: 640px) {
  .header-i18n { width: 100%; justify-content: space-between; }
}
