@charset "utf-8";
/* ════════════════════════════════════════════════════════════
   キーワードによる統計情報表示機能（給与統計・求人件数）
   特集ページ・キーワードページ共通
   ※special.cssのトークンのうち統計枠で使用するものを.f50-containerに限定して定義
   ──────────────────────────────────────────────────────────── */
.f50-container {
  --blue-500: #018fd9;
  --navy-700: #1c2c63;
  --slate-600: #737f8f;
  --slate-400: #99a9b0;
  --ink-900: #1a1a1a;
  --gray-100: #f1f2f3;
  --gray-200: #e3e5e9;
  --gray-300: #d9d9d9;
  --font-jp:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-num:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fw-regular: 400;
  --fw-bold: 700;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* ════════════════════ 枠・見出し ════════════════════ */
.f50-container {
  background: var(--gray-100);
  padding: 40px 0;
}
.f50-sec {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.f50-sec-title {
  text-align: center;
}
.f50-sec-title h3 {
  margin: 0;
  font: 900 20px/1.55 var(--font-jp);
  color: var(--navy-700);
}
.f50-text-navy {
  color: var(--navy-700);
}
.f50-text-blue {
  color: var(--blue-500);
}
.f50-underline {
  position: relative;
  width: 180px;
  max-width: 60%;
  height: 0;
  margin: 14px auto 0;
  border-top: 2px solid var(--navy-700);
}
.f50-underline span {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--navy-700);
}
.f50-update {
  margin: 0;
  text-align: right;
  font: var(--fw-regular) 11px/1.6 var(--font-jp);
  color: var(--slate-400);
}

@media (min-width: 768px) {
  .f50-container {
    background: transparent;
  }
  .f50-sec {
    gap: 28px;
  }
  .f50-sec-title h3 {
    font: 900 27px/1.5 var(--font-jp);
  }
  .f50-underline {
    width: 440px;
    max-width: 80%;
    margin: 16px auto 0;
  }
  .f50-underline span {
    border-left-width: 11px;
    border-right-width: 11px;
    border-top-width: 11px;
  }
  .f50-update {
    font: var(--fw-regular) 14px/1.6 var(--font-jp);
    color: var(--slate-600);
  }
}

/* ════════════════════════════════════════════════════════════
   給与テーブル：同一マークアップ／ base=カード積み・PC=通常テーブル
   ════════════════════════════════════════════════════════════ */
.salary-table {
  width: 100%;
  border-collapse: collapse;
}
.salary-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.salary-table tbody {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.salary-table tr {
  display: block;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
.salary-table td {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  font: var(--fw-bold) 15px/1.4 var(--font-num);
  color: var(--ink-900);
  border-bottom: 1px solid var(--gray-200);
}
.salary-table td::before {
  content: attr(data-label);
  font: var(--fw-bold) 13px/1.4 var(--font-jp);
  color: var(--slate-600);
}
.salary-table td.st-type {
  background: #e4f7f4;
  color: var(--navy-700);
  font: var(--fw-bold) 16px/1.4 var(--font-jp);
  justify-content: center;
  padding: 13px 16px;
}
.salary-table td.st-type::before {
  content: none;
}

@media (min-width: 768px) {
  .f50-salary-wrap {
    width: min(870px, 100%);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--gray-300);
  }
  .salary-table thead {
    display: table-header-group;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  .salary-table thead th {
    padding: 12px 8px;
    background: var(--navy-700);
    color: #fff;
    font: var(--fw-bold) 14px/1.3 var(--font-jp);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
  }
  .salary-table thead th:first-child {
    text-align: left;
    padding-left: 24px;
  }
  .salary-table tbody {
    display: table-row-group;
  }
  .salary-table tr {
    display: table-row;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .salary-table td {
    display: table-cell;
    text-align: center;
    justify-content: unset;
    gap: 0;
    padding: 16px 8px;
    font: var(--fw-bold) 15px/1.3 var(--font-num);
    border-bottom: 1px solid var(--gray-200);
    background-color: #fff;
  }
  .salary-table td::before {
    content: none;
  }
  .salary-table td:first-child {
    text-align: left;
    padding-left: 24px;
  }
  .salary-table td.st-type {
    background: #e4f7f4;
    color: var(--navy-700);
    font: var(--fw-bold) 15px/1.3 var(--font-jp);
    justify-content: unset;
    text-align: left;
    padding: 16px 8px 16px 24px;
  }
  .salary-table tr:last-child td {
    border-bottom: none;
  }
}
