/* ============================================
   退職代行ランキングLP
   Jobs LP準拠フォント/カラー + roudou-pro構造
   モバイル100%
============================================= */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #030305;
  background: #fff;
  max-width: 480px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
strong { color: #D4880F; }
table { border-collapse: collapse; width: 100%; }
ul, ol { list-style: none; }

/* --- Variables (Jobs LP) --- */
:root {
  --accent: #F29600;
  --accent-dark: #D4880F;
  --cta: #61b94b;
  --cta-hover: #4E963C;
  --cta-shadow: #357a2a;
  --text: #030305;
  --text-light: #666;
  --bg-light: #F5F5F5;
  --bg-cream: #FFF5E0;
  --border: #e0e0e0;
  --white: #fff;
  --font-num: "Lexend Deca", "Lexend", sans-serif;
  --font-display: "Geist", sans-serif;
}

/* ============================================
   KV
============================================= */
.kv {
  background: #0a1a3a;
  position: relative;
  overflow: hidden;
}
.kv__hero-img {
  display: block;
  width: 100%;
  height: auto;
}
/* 地域LP: オレンジ丸バッジ（kv_v2.jpg の「主要20社」位置に重ねる） */
.kv__area-badge {
  position: absolute;
  left: 70%;
  top: 54.3%;
  width: 13.5%;
  height: 0;
  padding-bottom: 13.5%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: #f29600;
  border-radius: 50%;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", sans-serif;
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
  pointer-events: none;
  letter-spacing: 0;
  border: 1.5px solid #fff;
  box-sizing: border-box;
}
.kv__area-badge-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kv__area-badge-line1,
.kv__area-badge-line2 {
  white-space: nowrap;
}
/* line1（地域名の）: data-lenで文字数別に調整 */
.kv__area-badge-line1 {
  font-size: clamp(9px, 1.4vw, 17px);
  margin-bottom: 2px;
}
.kv__area-badge[data-len="3"] .kv__area-badge-line1 { font-size: clamp(9px, 1.4vw, 17px); } /* "新宿の" */
.kv__area-badge[data-len="4"] .kv__area-badge-line1 { font-size: clamp(8px, 1.15vw, 14px); } /* "大阪市の" 等 */
.kv__area-badge[data-len="5"] .kv__area-badge-line1 { font-size: clamp(7px, 0.95vw, 12px); }
.kv__area-badge[data-len="6"] .kv__area-badge-line1,
.kv__area-badge[data-len="7"] .kv__area-badge-line1,
.kv__area-badge[data-len="8"] .kv__area-badge-line1,
.kv__area-badge[data-len="9"] .kv__area-badge-line1 { font-size: clamp(6px, 0.85vw, 11px); }

/* line2（厳選3社 等）: sub-lenで調整 */
.kv__area-badge-line2 {
  font-size: clamp(10px, 1.5vw, 19px);
}
.kv__area-badge[data-sub-len="5"] .kv__area-badge-line2 { font-size: clamp(9px, 1.25vw, 16px); }
.kv__area-badge[data-sub-len="6"] .kv__area-badge-line2 { font-size: clamp(8px, 1.1vw, 14px); }
.kv__area-badge[data-sub-len="7"] .kv__area-badge-line2,
.kv__area-badge[data-sub-len="8"] .kv__area-badge-line2 { font-size: clamp(7px, 0.95vw, 12px); }
.kv__pr {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
  color: #888;
  background: rgba(255,255,255,0.85);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.kv__hero-img {
  width: 100%;
  display: block;
}

/* ============================================
   タブ切り替え比較表（roudou-pro準拠）
   参照: ref-column.css の .section__ranking-table
============================================= */
.comparison {
  background: linear-gradient(to bottom, #fafcfa, var(--bg-light));
  padding: 16px 12px 20px;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", system-ui, sans-serif;
}

/* タブ */
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 0;
}
.tab-nav__btn {
  flex: 1;
  padding: 10px 0;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: var(--text-light);
  border: 1px solid #dddddd;
  border-bottom: none;
  cursor: pointer;
  transition: all 0.15s;
}
.tab-nav__btn:first-child { border-radius: 8px 0 0 0; }
.tab-nav__btn:last-child  { border-radius: 0 8px 0 0; }
.tab-nav__btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* --- 比較テーブル本体（.table__retirement-agent-ranking 準拠） --- */
.rank-table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  box-shadow: 0 0 6px 0 rgba(0,0,0,0.16);
  margin: 0;
  table-layout: fixed;
}
.rank-table col.rank-table__col--name { width: 27%; }
.rank-table col.rank-table__col--data { width: 22%; }
.rank-table col.rank-table__col--btn  { width: 29%; }

/* ヘッダー行 .tr-1 th */
.rank-table__th {
  box-sizing: border-box;
  height: 40px;
  padding: 4px 2px;
  background-color: #fff8bf;
  border: 1px solid #dddddd;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  color: #55479b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* データ行 .tr-2 */
.rank-table__row {
  box-sizing: border-box;
  border: 1px solid #dddddd;
  background-color: #fff;
}

/* データセル共通 .tr-2 td */
.rank-table__name-cell,
.rank-table__cell {
  box-sizing: border-box;
  padding: 8px 4px;
  border: 1px solid #dddddd;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

/* サイト名セル（バナー + 王冠 + サービス名） */
.rank-table__name-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100px;
  margin: 0 auto;
}
.rank-table__logo {
  display: block;
  width: 100%;
  max-width: 100px;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: contain;
  margin: 0 auto 4px;
  border: 1px solid #eee;
  border-radius: 3px;
  background: #fff;
  font-size: 9px;
  color: #ccc;
}
/* 順位メダル画像（.icon-crown 準拠: 画像ベース、非推奨。バッジを使用） */
.rank-table__crown-img {
  display: none;
}
/* 順位バッジ（テキスト版。比較表用） */
.rank-table__rank-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  z-index: 2;
}
.rank-table__rank-badge--1 { background: linear-gradient(135deg, #f7d664 0%, #c39a27 100%); }
.rank-table__rank-badge--2 { background: linear-gradient(135deg, #d9d9d9 0%, #8b8b8b 100%); }
.rank-table__rank-badge--3 { background: linear-gradient(135deg, #d9a47f 0%, #8a5a3b 100%); }
.rank-table__rank-badge--n { background: linear-gradient(135deg, #888 0%, #555 100%); }
/* サービス名（.retirement-agent__name 準拠） */
.rank-table__service-name {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: normal;
  text-align: center;
  color: #2f93e5;
  text-decoration: underline;
  white-space: normal;
}

/* 総合評価スコア（.retirement-agent__total-rating__value 準拠） */
.rank-table__score {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.0;
  letter-spacing: normal;
  text-align: center;
  color: #e31f1f;
}
.rank-table__stars {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #e31f1f;
  letter-spacing: 1px;
}

/* 料金（.retirement-agent__price 準拠） */
.rank-table__price {
  display: block;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: center;
  color: #333;
}
.rank-table__price small {
  font-size: 11px;
}
/* 当サイト限定ラベル（.price--benefit 準拠） */
.rank-table__price-label {
  display: block;
  width: 54px;
  margin: 0 auto 2px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  color: #f0315e;
}

/* 二重丸・丸アイコン画像（非表示にしてテキストに置換） */
.rank-table__circle-img {
  display: none;
}
/* テキスト版 評価アイコン */
.rank-table__circle-text {
  display: block;
  margin: 0 auto 4px;
  font-family: "Arial", sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.rank-table__circle-text--double {
  color: #e31f1f;
}
.rank-table__circle-text--single {
  color: #f29600;
}
.rank-table__circle-text--none {
  color: #bbb;
}

/* 口コミタブの内部リンク */
.rank-table__link {
  display: block;
  font-size: 10px;
  color: #2f93e5;
  text-decoration: underline;
  margin-top: 2px;
  white-space: nowrap;
  line-height: 1.3;
}

.rank-table__success-text--muted {
  color: #999;
  font-weight: 600;
}
.rank-table__success-text {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
  color: #333;
}

/* 支払い方法タグ（.tag__payment-type 準拠） */
.rank-table__pay-tags {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}
.rank-table__pay-tag {
  box-sizing: border-box;
  display: inline-block;
  width: fit-content;
  margin: 2px 0;
  padding: 3.5px 5px;
  border-radius: 3px;
  background-color: #f1f0fd;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: normal;
  text-align: left;
  color: #55479b;
}

.rank-table__review-text {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.4;
}
.rank-table__cell--detail {
  text-align: left;
  font-size: 11px;
  line-height: 1.5;
}
.rank-table__cell--detail p {
  margin: 0;
}

/* 公式ボタン（.button_agent-link.green 準拠） */
.rank-table__btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 82px;
  height: 36px;
  margin: 0 auto;
  padding: 0;
  border-radius: 7px;
  background: linear-gradient(to bottom, #4caf50 0%, #2e8b57 100%);
  box-shadow: 0 3px 0 0 #105d14;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 36px;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  position: relative;
  transition: all 0.1s;
}
.rank-table__btn::after {
  content: "›";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}
.rank-table__btn:active {
  box-shadow: 0 0 0 0 #105d14;
  transform: translateY(3px);
}

/* ============================================
   セクション区切り
============================================= */
.section-divider {
  text-align: center;
  padding: 28px 16px 20px;
  background: linear-gradient(to bottom, var(--bg-light), #fff);
}
.section-divider__sub {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.section-divider__title {
  font-size: 20px;
  font-weight: 900;
}
.section-divider__line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 8px;
}
.section-divider__line:last-child {
  margin: 8px auto 0;
}

/* ============================================
   ランキング詳細カード（roudou-pro準拠）
============================================= */
.ranking {
  padding: 0 12px 20px;
  background: #fff;
}

.rank-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

/* ヘッダー帯 */
.rank-card__header {
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-align: center;
}
.rank-card__header--1 { background: linear-gradient(135deg, #D4880F, #F2B830); }
.rank-card__header--2 { background: linear-gradient(135deg, #5a7fa8, #8ab4d9); }
.rank-card__header--3 { background: linear-gradient(135deg, #8B5E3C, #C08A5A); }

/* ヒーロー */
.rank-card__hero {
  position: relative;
}
.rank-card__hero-img { width: 100%; }
.rank-card__popularity {
  padding: 8px 12px;
  background: var(--bg-cream);
}
.rank-card__popularity-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.rank-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.rank-card__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  background: #fff;
}

/* ボディ */
.rank-card__body { padding: 16px; }

/* 総合評価 */
.rank-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.rank-card__rating-label {
  font-size: 13px;
  font-weight: 700;
}
.rank-card__rating-score {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.rank-card__rating-stars {
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 2px;
}

/* 個別評価 */
.rank-card__eval {
  margin-bottom: 16px;
}
.rank-card__eval-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.rank-card__eval-row:last-child { border-bottom: none; }
.rank-card__eval-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--border);
  position: relative;
}
.rank-card__eval-icon--review { border-color: var(--accent); background: var(--bg-cream); }
.rank-card__eval-icon--review::after {
  content: "";
  position: absolute;
  top: 4px; left: 4px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.rank-card__eval-icon--price { border-color: var(--cta); background: #e8f5e9; }
.rank-card__eval-icon--price::after {
  content: "";
  position: absolute;
  top: 4px; left: 4px;
  width: 8px; height: 8px;
  background: var(--cta);
  border-radius: 50%;
}
.rank-card__eval-label { flex: 1; font-weight: 500; }
.rank-card__eval-stars { color: var(--accent); letter-spacing: 1px; font-size: 12px; }

/* 選ばれる理由 */
.rank-card__reasons {
  background: var(--bg-cream);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
}
.rank-card__reasons-title {
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  color: var(--accent-dark);
}
.rank-card__reason {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.rank-card__reason:last-child { border-bottom: none; }
.rank-card__reason-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.rank-card__reason strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px;
}
.rank-card__reason p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

/* CTA補足 */
.rank-card__cta-sub {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
}

/* スペック */
.rank-card__spec {
  margin-bottom: 16px;
}
.rank-card__spec-row {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.rank-card__spec-row:last-child { border-bottom: none; }
.rank-card__spec-row dt {
  width: 80px;
  flex-shrink: 0;
  padding: 10px 8px;
  background: var(--bg-light);
  font-size: 12px;
  font-weight: 700;
}
.rank-card__spec-row dd {
  flex: 1;
  padding: 10px 8px;
  font-size: 13px;
  line-height: 1.6;
}
.rank-card__spec-price {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.rank-card__spec-note {
  font-size: 11px;
  color: #e53935;
}

/* 支払いタグ */
.rank-card__pay-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  margin: 2px;
  border-radius: 3px;
  background: #f0eefa;
  color: #55479b;
}

/* チェックポイント */
.rank-card__checks {
  margin-bottom: 16px;
}
.rank-card__check {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px dashed var(--border);
}
.rank-card__check:last-child { border-bottom: none; }
.rank-card__check::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cta);
  font-weight: 900;
}

/* 口コミ */
.rank-card__reviews {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
}
.rank-card__reviews-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--accent);
}
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.review-card:last-child { margin-bottom: 0; }
.review-card__text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}
.review-card__meta {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 4px;
}

/* CTA */
.rank-card__cta {
  text-align: center;
  padding: 8px 0 0;
}
.rank-card__cta-balloon {
  display: inline-block;
  position: relative;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.rank-card__cta-balloon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--accent);
  border-bottom: none;
}
.rank-card__cta-btn {
  display: block;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #7ad55b, var(--cta));
  box-shadow: 0 4px 0 0 var(--cta-shadow);
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  transition: all 0.1s;
}
.rank-card__cta-btn:active {
  box-shadow: none;
  transform: translateY(4px);
}

/* ============================================
   記事パート
============================================= */
.article { background: #fff; }

.article-section {
  padding: 24px 16px;
}
.article-section--alt {
  background: var(--bg-light);
}

.article-section__title {
  font-size: 18px;
  font-weight: 900;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: var(--bg-cream);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  line-height: 1.4;
}

.article-section__subtitle {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 4px;
  margin: 18px 0 6px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.article-section__img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}
.article-section__body {
  font-size: 14px;
  line-height: 1.9;
}
.article-section__body p {
  margin-bottom: 12px;
}

/* 記事リスト */
.article-list {
  padding: 0;
  margin-bottom: 12px;
}
.article-list li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 13px;
  line-height: 1.7;
}
.article-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--accent);
  font-size: 8px;
}

/* 費用テーブル */
.cost-table {
  font-size: 12px;
  margin: 12px 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cost-table thead tr {
  background: var(--accent);
  color: #fff;
}
.cost-table th, .cost-table td {
  padding: 8px 6px;
  text-align: center;
  border: 1px solid var(--border);
}
.cost-table tbody tr:nth-child(even) { background: var(--bg-cream); }

/* ステップ */
.step-list { padding: 0; }
.step-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-item__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item__title { font-size: 14px; font-weight: 700; }
.step-item__desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-top: 2px; }

/* FAQ */
.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item__q {
  background: var(--bg-cream);
  padding: 10px 12px 10px 32px;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  line-height: 1.5;
}
.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 12px;
  color: var(--accent);
  font-weight: 900;
}
.faq-item__a {
  padding: 10px 12px 10px 32px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  position: relative;
}
.faq-item__a::before {
  content: "A";
  position: absolute;
  left: 12px;
  color: var(--cta);
  font-weight: 900;
}

/* CTA（記事内） */
.article-cta {
  text-align: center;
  padding: 20px 16px;
  background: var(--bg-cream);
}
.article-cta__text {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.article-cta__btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 25px;
  box-shadow: 0 3px 0 0 var(--cta-shadow);
}
.article-cta__btn:active {
  box-shadow: none;
  transform: translateY(3px);
}

/* 監修者 */
.supervisor-section {
  padding: 20px 16px;
  background: #fff;
}
.supervisor {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 16px;
}
.supervisor__label { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.supervisor__name { font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.supervisor__org { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.supervisor__comment { font-size: 13px; line-height: 1.7; }

/* ============================================
   フッター
============================================= */
.footer {
  background: var(--bg-light);
  padding: 16px;
  text-align: center;
}
.footer__text { font-size: 10px; color: #999; }

/* ============================================
   クーポンバナー（Jobs 1位カード）
============================================= */
.rank-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 20px rgba(242,150,0,0.15);
}
.rank-card__header-crown {
  display: inline-block;
  background: #fff;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}
.rank-card__coupon {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  padding: 14px 16px;
  text-align: center;
  border: 2px dashed rgba(255,255,255,0.5);
  border-left: none; border-right: none;
}
.rank-card__coupon-label {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  margin-bottom: 2px;
}
.rank-card__coupon-value {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.rank-card__coupon-value span {
  font-size: 32px;
}
.rank-card__coupon-note {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* 信頼バッジ */
.rank-card__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 8px;
}
.rank-card__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.rank-card__trust-icon {
  width: 24px;
  height: 24px;
}

/* 料金プラン */
.rank-card__plans {
  margin-bottom: 16px;
}
.rank-card__plans-title {
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
}
.rank-card__plan {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  position: relative;
}
.rank-card__plan--recommend {
  border-color: var(--accent);
  background: var(--bg-cream);
}
.rank-card__plan-badge {
  position: absolute;
  top: -8px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.rank-card__plan-name {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.rank-card__plan-price {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.rank-card__plan-price strong {
  font-size: 22px;
  color: var(--text);
}
.rank-card__plan-price small {
  font-size: 11px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-light);
}
.rank-card__plan-original {
  text-decoration: line-through;
  color: #999;
}
.rank-card__plan-arrow {
  margin: 0 4px;
}
.rank-card__plan-desc {
  font-size: 11px;
  color: var(--text-light);
  margin: 0;
}
.rank-card__plans-note {
  font-size: 10px;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}

/* ============================================
   インライン比較表
============================================= */
.comparison--inline {
  margin: 20px 0;
}
.inline-compare__title {
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

/* ============================================
   記事内 Jobs推奨ボックス
============================================= */
.article-recommend {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-cream);
  border: 1px solid var(--accent);
  border-radius: 8px;
}
.article-recommend--compact {
  border: none;
  background: #fff7e6;
  padding: 10px 14px;
}
.article-recommend__label {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  background: var(--accent);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.article-recommend__text {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.article-recommend__text a {
  color: var(--accent-dark);
  text-decoration: underline;
  font-weight: 700;
}
.article-recommend__btn {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(to bottom, #7ad55b, var(--cta));
  box-shadow: 0 3px 0 0 var(--cta-shadow);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
}
.article-recommend__btn:active {
  box-shadow: none;
  transform: translateY(3px);
}

/* ============================================
   インライン Jobs CTA
============================================= */
.inline-jobs-cta {
  padding: 20px 16px;
  background: linear-gradient(160deg, var(--bg-cream), #fff);
  text-align: center;
}
.inline-jobs-cta__head {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
}
.inline-jobs-cta__card {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(242,150,0,0.1);
}
.inline-jobs-cta__name {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}
.inline-jobs-cta__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
.inline-jobs-cta__points span {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
}
.inline-jobs-cta__price {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-light);
}
.inline-jobs-cta__price strong {
  color: #e53935;
  font-size: 15px;
}
.inline-jobs-cta__btn {
  display: block;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #7ad55b, var(--cta));
  box-shadow: 0 4px 0 0 var(--cta-shadow);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}
.inline-jobs-cta__btn:active {
  box-shadow: none;
  transform: translateY(4px);
}

/* ============================================
   ランキング詳細カード（every-tenshoku.com/cp001 構造準拠）
   参照: ref-every/style.css の .ranking_item*
   色はLPのアクセント(#F29600系)に置換、強調赤/ピンクは維持
============================================= */
.ranking { padding: 16px 12px 24px; background: #f7f8fa; }
.ranking_inner { padding: 0; }

/* カード全体 */
.ranking_item {
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  margin: 0 0 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

/* ヘッダー: 順位アイコン + タイトル + 星評価 */
.ranking_item_header {
  position: relative;
  padding: 0 0 14px 58px;
  border-bottom: solid 1px #ccc;
  margin: 0 0 12px;
}
.ranking_item_header_rank {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ranking_item_header_rank_img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.ranking_item_header_h3 {
  font-size: 20px;
  line-height: 1.3;
  width: 100%;
  margin: 0 0 8px;
  font-weight: 900;
  color: #222;
}
.ranking_item_header_star {
  font-size: 13px;
  white-space: nowrap;
  line-height: 1;
}
.ranking_item_header_star .__pt {
  display: inline-block;
  font-size: 10px;
  padding: 4px 6px 5px;
  margin: 0 6px 0 0;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  line-height: 1;
  vertical-align: 2px;
  font-weight: 700;
}
.ranking_item_header_star .star_gold { color: #ffd700; letter-spacing: 1px; }
.ranking_item_header_star .star_gray { color: #ccc; letter-spacing: 1px; }
.ranking_item_header_star .__score {
  font-family: "Lexend", "Arial", sans-serif;
  color: #ff4d66;
  font-weight: 900;
  font-size: 19px;
  margin: 0 2px;
}

/* メインコピー */
.ranking_item_maincopy {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 14px;
  color: #222;
}
.ranking_item_maincopy .__red { color: #FF3714; }

/* スペック01: バナー + テーブル */
.ranking_item_spec01 {
  display: flex;
  align-items: flex-start;
  margin: 0 0 10px;
  gap: 10px;
}
.ranking_item_banner_wrap {
  flex-shrink: 0;
  display: block;
}
.ranking_item_banner {
  width: 210px;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #eee;
}
.ranking_item_spec01_table {
  flex: 1;
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
}
.ranking_item_spec01_table th,
.ranking_item_spec01_table td {
  border: solid 1px #fde4be;
  font-weight: bold;
}
.ranking_item_spec01_table th {
  background: #fde4be;
  line-height: 1;
  padding: 5px 0;
  color: #7a4a00;
}
.ranking_item_spec01_table td {
  padding: 8px 4px;
  color: #333;
}

/* スペック02: 横並びテーブル */
.ranking_item_spec02_table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
  margin: 0 0 14px;
}
.ranking_item_spec02_table th,
.ranking_item_spec02_table td {
  border: solid 1px #fde4be;
  font-weight: bold;
}
.ranking_item_spec02_table th {
  background: #fde4be;
  line-height: 1;
  padding: 6px 0;
  width: calc(100% / 3);
  color: #7a4a00;
}
.ranking_item_spec02_table td {
  padding: 10px 4px;
  color: #333;
}

/* こんな方におすすめ */
.ranking_item_user_list_h4 {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 900;
  color: #222;
}
.ranking_item_user_list_h4::before {
  content: "✓";
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  margin-right: 6px;
  vertical-align: -3px;
  font-weight: 900;
}
.ranking_item_user_list {
  padding: 10px 10px 10px 10px;
  border: solid 1px #ccc;
  margin: 0 0 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  border-radius: 3px;
  list-style: none;
}
.ranking_item_user_list li {
  font-weight: 700;
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}
.ranking_item_user_list li:not(:last-child) {
  border-bottom: solid 1px #eee;
}
.ranking_item_user_list li::before {
  position: absolute;
  content: "✓";
  left: 4px;
  top: 6px;
  color: #F8B62D;
  font-weight: 900;
  font-size: 14px;
}

/* 編集部のコメント */
.ranking_item_comment { margin: 0 0 14px; }
.ranking_item_comment_h4 {
  background: var(--accent);
  color: #fff;
  display: inline-block;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 0 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.ranking_item_comment_h4::before {
  content: "✎";
  margin-right: 6px;
  font-size: 14px;
}
.ranking_item_comment_inner {
  padding: 12px;
  background: #FFF9ED;
}
.ranking_item_comment_description {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: #333;
}
.ranking_item_comment_description .__color01 {
  color: #DC4155;
  font-weight: bold;
}

/* 利用者のクチコミ */
.uservoice { margin: 0 0 14px; }
.ranking_item_uservoice_h4 {
  background: var(--accent);
  color: #fff;
  display: inline-block;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 0 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  border: solid 1px var(--accent);
}
.ranking_item_uservoice_h4::before {
  content: "💬";
  margin-right: 6px;
}
.ranking_item_uservoice_h4 .__notice {
  font-size: 10px;
  font-weight: normal;
  margin-left: 4px;
}
.ranking_item_review__box {
  position: relative;
  margin: 0 0 10px;
  border: solid 1px var(--accent);
}
.ranking_item_review__wrap {
  padding: 12px 14px;
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 140px;
  list-style: none;
  margin: 0;
}
.ranking_item_review__wrap::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 60%, #fff 100%);
  content: "";
  z-index: 1;
  pointer-events: none;
}
.ranking_item_review {
  position: relative;
}
.ranking_item_review:not(:last-child) {
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: solid 1px #eee;
}
.ranking_item_review__profile {
  padding: 0 0 0 40px;
  position: relative;
  font-size: 12px;
  min-height: 32px;
}
.ranking_item_review__profile::before {
  position: absolute;
  content: "👤";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 50%;
  left: 0;
  top: 0;
  font-size: 16px;
}
.ranking_item_review__profile.male::before {
  background: #e3f2fd;
}
.ranking_item_review__profile_title {
  line-height: 1.25;
  font-weight: bold;
  color: var(--accent);
  padding: 8px 0 4px;
}
.ranking_item_review__description {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  margin: 6px 0 0;
}

/* 「もっと読む」トグル */
.grad-trigger { display: none; }
.grad-btn {
  z-index: 2;
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  width: 100px;
  margin: auto;
  padding: 6px 0;
  border-radius: 4px;
  background: #fe9c3c;
  color: #fff;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  font-weight: bold;
  display: block;
}
.grad-trigger:checked + .grad-btn { display: none; }
.grad-trigger:checked ~ .ranking_item_review__wrap { height: auto; }
.grad-trigger:checked ~ .ranking_item_review__wrap::before { display: none; }

/* 吹き出し */
.ranking_item_baloon {
  background: #fff6ed;
  border: solid 1px #fd9426;
  width: calc(100% - 20px);
  margin: 0 auto 14px;
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
  position: relative;
  border-radius: 6px;
  color: #333;
}
.ranking_item_baloon::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top: 8px solid #fff6ed;
  z-index: 2;
}
.ranking_item_baloon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: 9px solid #fd9426;
  z-index: 1;
}
.ranking_item_baloon .__red { color: #FF3714; font-weight: bold; }

/* CTAボタン（オレンジ模倣） */
.ranking_item_linkbutton {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to bottom, #FF7A1A, #FF5800);
  box-shadow: 0 4px 0 #B62400;
  border-radius: 6px;
  padding: 14px 0;
  text-decoration: none;
  margin: 0 auto 4px;
  position: relative;
  overflow: hidden;
}
.ranking_item_linkbutton:active {
  box-shadow: 0 0 0 #B62400;
  transform: translateY(4px);
}

/* ============================================
   Utility
============================================= */
@media (min-width: 481px) { body { max-width: 480px; } }
