/* ============================================
   浮気調査ランキングLP
   1位LP（クロル）準拠カラー: ネイビー×ゴールド×深紅
   モバイル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", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #1a1a1a;
  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: #b71c1c; }
table { border-collapse: collapse; width: 100%; }
ul, ol { list-style: none; }

/* --- Variables (探偵LP: ネイビー×イエロー系) --- */
:root {
  --navy: #0e2a5c;          /* 主色: 深ネイビー */
  --navy-dark: #081a3d;     /* より濃いネイビー */
  --navy-light: #1a4080;    /* 明るめのネイビー */
  --yellow: #ffd93a;        /* メインイエロー */
  --yellow-dark: #e8c028;   /* 濃いめイエロー */
  --gold: #c9a454;          /* ゴールド(補助) */
  --gold-dark: #a07f2e;
  --accent-blue: #2b7dd9;   /* バッジ用ブルー */
  --red: #c62828;
  --red-light: #e53935;
  --cta: #e85d1c;
  --cta-hover: #c44a12;
  --cta-shadow: #8a3a0b;
  --line: #06c755;
  --line-shadow: #00993d;
  --text: #1a1a1a;
  --text-light: #5a5a5a;
  --bg-light: #f4f6fa;
  --bg-cream: #f7f2e5;
  --bg-navy-soft: #e8eef7;
  --border: #dcdfe6;
  --white: #fff;
  --font-num: "Lexend Deca", "Lexend", "Arial", sans-serif;
  --font-serif: "Noto Serif JP", "游明朝", serif;
}

/* ============================================
   KV（マスター画像 + 地域バッジのみCSS上書き）
============================================= */
.kv {
  position: relative;
  width: 100%;
  background: var(--navy-dark);
  overflow: hidden;
  line-height: 0; /* imgの下余白除去 */
}
.kv__master,
.kv__hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 青丸バッジ(マスター画像の元バッジ位置にCSS変数でピクセルぴったり重ねる) */
.kv {
  --badge-cx: 63%;     /* 中心X */
  --badge-cy: 47.18%;  /* 中心Y */
  --badge-size: 19%;   /* 横幅比(正円・元画像上書き) */
}
.kv__area-overlay {
  position: absolute;
  top: var(--badge-cy);
  left: var(--badge-cx);
  width: var(--badge-size);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #3890e8 0%, #2b7dd9 50%, #1d5a9f 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  line-height: 1.1;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W6", sans-serif;
  box-shadow:
    inset 0 -2px 6px rgba(0,0,0,0.2),
    inset 0 1px 3px rgba(255,255,255,0.25);
  z-index: 2;
  padding: 4px;
}
.kv__area-overlay-top {
  font-size: clamp(13px, 3vw, 18px);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 3px;
  white-space: nowrap;
}
.kv__area-overlay-main {
  font-size: clamp(15px, 3.6vw, 21px);
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 地域名文字数ごとの自動縮小(はみ出し防止) */
/* 2文字(新宿, 渋谷など) = 上段「〇〇の」3文字。ベースサイズ */
.kv__area-overlay[data-len="1"] .kv__area-overlay-top { font-size: clamp(14px, 3.3vw, 19px); }

/* 3文字(八王子, 足立区など) = 上段「〇〇〇の」4文字 */
.kv__area-overlay[data-len="3"] .kv__area-overlay-top { font-size: clamp(11px, 2.6vw, 15px); }

/* 4文字(相模原市, 武蔵小杉など) = 上段「〇〇〇〇の」5文字 */
.kv__area-overlay[data-len="4"] .kv__area-overlay-top { font-size: clamp(9px, 2.2vw, 13px); }

/* 5文字以上(自由が丘, 二子玉川など) — さらに小さく */
.kv__area-overlay[data-len="5"] .kv__area-overlay-top,
.kv__area-overlay[data-len="6"] .kv__area-overlay-top {
  font-size: clamp(8px, 1.9vw, 11px);
}

/* ============================================
   比較表リード（KV直下・圧縮レイアウト）
============================================= */
.comparison-lead {
  padding: 14px 16px 8px;
  background: linear-gradient(180deg, var(--bg-navy-soft) 0%, #fff 100%);
  text-align: center;
  border-bottom: 1px solid var(--gold);
}
.comparison-lead__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-dark);
  background: #fff;
  border: 1px solid var(--gold);
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.comparison-lead__badge strong {
  color: var(--red);
  font-weight: 900;
}
.comparison-lead__title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--navy);
  margin: 0;
}
.comparison-lead__title strong {
  color: var(--red);
  font-size: 18px;
}

/* ============================================
   KV メガエンブレム（成果報酬型の大訴求）
============================================= */
.kv__mega {
  position: relative;
  margin: 22px auto 18px;
  padding: 28px 18px 22px;
  background: linear-gradient(180deg, #fffef5 0%, #fff 100%);
  border: 3px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(201,164,84,0.25), 0 6px 20px rgba(0,0,0,0.4);
  color: var(--text);
  text-align: center;
}
.kv__mega__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #e93a1a, var(--red));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  white-space: nowrap;
  line-height: 1.2;
}
.kv__mega__ribbon-text {
  display: block;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 1px;
}
.kv__mega__eye {
  font-size: 14px;
  font-weight: 900;
  color: var(--red);
  margin: 4px 0 10px;
  letter-spacing: 0.5px;
}
.kv__mega__sub {
  font-size: 13px;
  color: #333;
  margin: 0 0 6px;
}
.kv__mega__headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 4px 0 8px;
}
.kv__mega__seal {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1;
}
.kv__mega__big {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--navy);
  line-height: 1.1;
  background: linear-gradient(180deg, #0d5c3a 0%, #1b7a52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  position: relative;
}
.kv__mega__arrow {
  font-size: 22px;
  color: var(--gold-dark);
  margin: 4px 0 8px;
  line-height: 1;
}
.kv__mega__merits {
  display: block;
  background: #f7f9f4;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 6px 0 10px;
}
.kv__mega__merit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
  line-height: 1.5;
  text-align: left;
}
.kv__mega__merit:not(:last-child) { border-bottom: 1px dashed #dcdfe6; }
.kv__mega__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
}
.kv__mega__merit-text { color: #333; }
.kv__mega__merit-text strong { color: var(--red); font-weight: 900; }
.kv__mega__footer {
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 6px;
}
.kv__mega__footer strong { color: var(--red); }

/* ============================================
   成果報酬型 大訴求セクション
============================================= */
.seika {
  position: relative;
  padding: 42px 16px 28px;
  background: linear-gradient(180deg, #fffbea 0%, #fff 100%);
  border-top: 6px solid var(--gold);
  border-bottom: 6px solid var(--gold);
  text-align: center;
  overflow: hidden;
}
.seika__stamp {
  position: absolute;
  top: 16px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(14deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 3px dashed #fff;
  outline: 2px solid var(--red);
  z-index: 2;
  opacity: 0.96;
}
.seika__stamp-top {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}
.seika__stamp-main {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
  margin: 2px 0;
}
.seika__stamp-bottom {
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: 1px;
}

.seika__header { margin-bottom: 20px; position: relative; z-index: 1; }
.seika__pill {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.seika__title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--navy);
}
.seika__title-em {
  background: linear-gradient(transparent 60%, #ffe799 60%);
  padding: 0 2px;
  color: var(--red);
}

.seika__compare {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 20px;
  position: relative;
  z-index: 1;
}
.seika__col {
  flex: 1;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: left;
}
.seika__col--bad {
  background: #f3f4f6;
  border: 2px solid #c8cbd1;
  opacity: 0.9;
}
.seika__col--good {
  background: #fffef0;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(201,164,84,0.25);
}
.seika__col-label {
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.seika__col--bad .seika__col-label { color: #888; }
.seika__col--good .seika__col-label { color: var(--red); }
.seika__col-head {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.seika__col--bad .seika__col-head { color: #666; }
.seika__col--good .seika__col-head { color: var(--navy); }
.seika__col-list li {
  font-size: 11px;
  line-height: 1.5;
  padding: 4px 0 4px 14px;
  position: relative;
}
.seika__col-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.seika__col--bad .seika__col-list li::before { background: #bbb; }
.seika__col--good .seika__col-list li::before { background: var(--gold); }
.seika__col--bad .seika__col-list li strong { color: #666; }
.seika__col--good .seika__col-list li strong { color: var(--red); }

.seika__vs {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 900;
  color: var(--gold-dark);
  align-self: center;
  flex-shrink: 0;
  padding: 0 2px;
}

.seika__conclusion {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  color: var(--navy);
  position: relative;
  z-index: 1;
  padding: 14px 8px;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 8px;
  margin-bottom: 12px;
}
.seika__red {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}
.seika__green {
  background: var(--navy);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 3px;
}

.seika__cta {
  font-size: 14px;
  font-weight: 900;
  padding: 6px 0 0;
}
.seika__cta-text {
  color: var(--navy);
  font-weight: 900;
}
.seika__cta-text strong {
  color: var(--red);
  background: #fff8dd;
  padding: 2px 4px;
  border-radius: 3px;
}

/* ============================================
   1位カードの成果報酬型メガバナー
============================================= */
.rank1-seika-banner {
  position: relative;
  margin: 0 -14px 14px;
  padding: 14px 16px 14px 64px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: #fff;
  border-radius: 6px 6px 0 0;
  border-bottom: 3px solid var(--gold);
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.rank1-seika-banner__ribbon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%) rotate(-8deg);
  background: var(--red);
  color: #fff;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: 0 3px 0 #7a1616;
  border: 2px solid #fff;
  line-height: 1;
}
.rank1-seika-banner__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rank1-seika-banner__label {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.rank1-seika-banner__title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.rank1-seika-banner__em {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  margin-left: 2px;
}
.rank1-seika-banner__sub {
  font-size: 11px;
  color: #d8dfec;
  letter-spacing: 0.3px;
}

/* ============================================
   比較表 ハイライト列／bad ✕マーク
============================================= */
.rank-table__th--hl {
  background-color: var(--navy) !important;
  color: var(--gold) !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
}
.rank-table__circle-img--big {
  width: 36px !important;
  height: 36px !important;
}
.rank-table__mark-label--hl {
  color: var(--red) !important;
  font-weight: 900 !important;
  font-size: 11px !important;
}
.rank-table__mark--bad {
  font-size: 26px !important;
  color: #b0b0b0 !important;
  font-weight: 900;
}

/* ============================================
   タブ切り替え比較表
============================================= */
.comparison {
  background: var(--bg-light);
  padding: 4px 12px 16px;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--gold);
  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(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

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

.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__th {
  box-sizing: border-box;
  height: 40px;
  padding: 4px 2px;
  background-color: #eef2f8;
  border: 1px solid #dddddd;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-table__row {
  box-sizing: border-box;
  border: 1px solid #dddddd;
  background-color: #fff;
}

.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: 60px;
  margin: 0 auto;
}
.rank-table__logo {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 4px;
  font-size: 9px;
  color: #ccc;
  border-radius: 4px;
}
.rank-table__crown-img {
  position: absolute;
  top: -7px;
  left: -6px;
  display: block;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.rank-table__service-name {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  color: var(--navy);
  text-decoration: underline;
  white-space: normal;
}

.rank-table__score {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.0;
  text-align: center;
  color: var(--red);
}
.rank-table__stars {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--gold-dark);
  letter-spacing: 1px;
}

.rank-table__price {
  display: block;
  font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
  color: #333;
}
.rank-table__price small { font-size: 11px; }
.rank-table__price-label {
  display: block;
  width: 54px;
  margin: 0 auto 2px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  color: var(--red);
}

.rank-table__circle-img {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
}

.rank-table__link {
  display: block;
  font-size: 10px;
  color: var(--navy-light);
  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;
}

/* ◎○△ マーク */
.rank-table__mark {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  margin: 0 auto 4px;
}
.rank-table__mark--great { color: var(--red); }
.rank-table__mark--good  { color: #e98300; }
.rank-table__mark--ok    { color: #b0b0b0; }
.rank-table__mark-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  color: #333;
  margin-top: 2px;
}
.rank-table__mark-label--muted { color: #999; font-weight: 500; }

.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: #eef2f8;
  font-size: 10px;
  line-height: 1.1;
  color: var(--navy);
}

.rank-table__cell--detail {
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}
.rank-table__cell--detail p { margin: 0; }
.rank-table__mark-label {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-align: center;
  hanging-punctuation: allow-end;
}

/* 公式ボタン（紺ベース） */
.rank-table__btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 82px;
  height: 36px;
  margin: 0 auto;
  padding: 0;
  border-radius: 4px;
  background: linear-gradient(to bottom, var(--navy-light) 0%, var(--navy) 100%);
  box-shadow: 0 3px 0 0 var(--navy-dark);
  font-family: "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 36px;
  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 var(--navy-dark);
  transform: translateY(3px);
}

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

/* ============================================
   ランキング詳細カード
============================================= */
.ranking { padding: 4px 12px 20px; 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: var(--navy);
}
.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(--navy);
  color: var(--gold);
  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: var(--red);
  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: var(--navy);
}
.ranking_item_maincopy .__red { color: var(--red); }
.ranking_item_maincopy .__gold { color: var(--gold-dark); }

.ranking_item_spec01 {
  display: flex;
  align-items: flex-start;
  margin: 0 0 10px;
  gap: 10px;
}
#rank1 .ranking_item_spec01 { align-items: center; }
.ranking_item_banner_wrap { flex-shrink: 0; display: block; }
.ranking_item_banner {
  width: 150px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.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 #d6ddea;
  font-weight: bold;
}
.ranking_item_spec01_table th {
  background: #eef2f8;
  line-height: 1;
  padding: 5px 0;
  color: var(--navy);
}
.ranking_item_spec01_table td {
  padding: 8px 4px;
  color: #333;
}

.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 #d6ddea;
  font-weight: bold;
}
.ranking_item_spec02_table th {
  background: #eef2f8;
  line-height: 1;
  padding: 6px 0;
  width: calc(100% / 3);
  color: var(--navy);
}
.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: var(--navy);
}
.ranking_item_user_list_h4::before {
  content: "✓";
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  margin-right: 6px;
  vertical-align: -3px;
  font-weight: 900;
}
.ranking_item_user_list {
  padding: 10px;
  border: solid 1px #ccc;
  margin: 0 0 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  border-radius: 3px;
}
.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: var(--gold-dark);
  font-weight: 900;
  font-size: 14px;
}

.ranking_item_comment { margin: 0 0 14px; }
.ranking_item_comment_h4 {
  background: var(--navy);
  color: var(--gold);
  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: #f7f9fc;
  border: solid 1px #e2e7f0;
}
.ranking_item_comment_description {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: #333;
}
.ranking_item_comment_description .__color01 {
  color: var(--red);
  font-weight: bold;
}

.uservoice { margin: 0 0 14px; }
.ranking_item_uservoice_h4 {
  background: var(--navy);
  color: var(--gold);
  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(--navy);
}
.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(--navy);
}
.ranking_item_review__wrap {
  padding: 12px 14px;
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 140px;
  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(--navy);
  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: var(--navy);
  color: var(--gold);
  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: #fff7e6;
  border: solid 1px var(--gold);
  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 #fff7e6;
  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 var(--gold);
  z-index: 1;
}
.ranking_item_baloon .__red { color: var(--red); font-weight: bold; }

/* 電話CTA */
.ranking_item_tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 6px;
  margin: 0 0 8px;
}
.ranking_item_tel__label {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 3px 8px;
  border-radius: 3px;
}
.ranking_item_tel__num {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.ranking_item_tel__sub {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  margin-top: 2px;
  text-align: center;
}

/* CTAボタン（オレンジ・LINE併記） */
.ranking_item_linkbutton {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to bottom, #ff8a3a, var(--cta));
  box-shadow: 0 4px 0 var(--cta-shadow);
  border-radius: 6px;
  padding: 14px 0;
  margin: 0 auto 4px;
  position: relative;
}
.ranking_item_linkbutton:active {
  box-shadow: 0 0 0 var(--cta-shadow);
  transform: translateY(4px);
}
.ranking_item_linkbutton--line {
  background: linear-gradient(to bottom, #2ad66a, var(--line));
  box-shadow: 0 4px 0 var(--line-shadow);
  margin-top: 8px;
}
.ranking_item_linkbutton--line:active {
  box-shadow: 0 0 0 var(--line-shadow);
}

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

/* ============================================
   記事パート
============================================= */
.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-navy-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  line-height: 1.4;
  color: var(--navy);
}

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

.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(--gold);
  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(--navy);
  color: var(--gold);
}
.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-navy-soft); }

.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(--navy);
  color: var(--gold);
  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; color: var(--navy); }
.step-item__desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-top: 2px; }

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item__q {
  background: var(--bg-navy-soft);
  padding: 10px 12px 10px 32px;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  line-height: 1.5;
  color: var(--navy);
}
.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 12px;
  color: var(--gold-dark);
  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(--red);
  font-weight: 900;
}

/* 記事内おすすめボックス */
.article-recommend {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-navy-soft);
  border: 1px solid var(--navy);
  border-radius: 8px;
}
.article-recommend--compact {
  border: none;
  background: #f7f9fd;
  padding: 10px 14px;
}
.article-recommend__label {
  font-size: 11px;
  font-weight: 900;
  color: var(--gold);
  background: var(--navy);
  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(--navy);
  text-decoration: underline;
  font-weight: 700;
}
.article-recommend__btn {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(to bottom, #ff8a3a, var(--cta));
  box-shadow: 0 3px 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);
}

/* インライン1位CTA */
.inline-pick-cta {
  padding: 20px 16px;
  background: linear-gradient(160deg, var(--bg-navy-soft), #fff);
  text-align: center;
}
.inline-pick-cta__head {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--navy);
}
.inline-pick-cta__card {
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(26,43,74,0.15);
}
.inline-pick-cta__name {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--navy);
}
.inline-pick-cta__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
.inline-pick-cta__points span {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
}
.inline-pick-cta__price {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-light);
}
.inline-pick-cta__price strong { color: var(--red); font-size: 15px; }
.inline-pick-cta__btn {
  display: block;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(to bottom, #ff8a3a, var(--cta));
  box-shadow: 0 4px 0 var(--cta-shadow);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}
.inline-pick-cta__btn:active {
  box-shadow: none;
  transform: translateY(4px);
}

/* インライン比較表 */
.comparison--inline {
  margin: 20px 0;
  background: var(--bg-light);
}
.inline-compare__title {
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--navy);
}

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

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