/* ライフナビ 共通スタイル
   「見るだけで理解・比較・判断できる」商用比較メディア向けデザイン。
   スマートフォン基準：コンパクトな固定ヘッダー、画面内に収まるナビ、
   大きな数字とカード・図解中心の情報設計、本文幅760px。
   文字サイズ階層（スマホ基準・ベース16px）：タイトル27px／h2 23px／h3 19px／
   本文16px（行間1.8）／比較表13.6px／重要な数値26〜32px／補足13px／注釈・出典・日付12px。
   重要な契約条件・追加費用・PR表記は小さくしすぎず、色も薄くしすぎない。 */

:root {
  --color-primary: #0b5cad;
  --color-primary-dark: #084a8a;
  --color-cta: #f76707;
  --color-cta-dark: #d9480f;
  --color-text: #22252a;
  --color-muted: #66707c;
  --color-border: #d7e0ea;
  --color-band: #eef4fb;
  --color-note-bg: #f7f8fa;
  --color-good-bg: #eefaf1;
  --color-good: #1e7e34;
  --color-bad-bg: #fdf1ec;
  --color-bad: #b23c17;
  --color-caution-bg: #fff7e6;
  --content-width: 760px;
  /* コンパクト化したスティッキーヘッダーの高さ＋余白。見出しジャンプ時の重なり防止に使う */
  --header-offset: 96px;
  /* サービス識別色（公式ロゴは使わず、色＋名称テキストで識別する） */
  --brand-au: #e35205;
  --brand-sb: #5f6b76;
  --brand-nuro: #0077c8;
  --brand-recruit: #d9261c;
  --brand-levtech: #e07b00;
  --brand-mynavi: #005bac;
  --brand-doda: #0aa14a;
  --brand-pasona: #7c4dbd;
  --brand-jac: #14213d;
  /* 順位色 */
  --rank-1-bg: #f7cf46;
  --rank-1-text: #5c4300;
  --rank-2-bg: #e3e8ee;
  --rank-2-text: #3d4652;
  --rank-3-bg: #f0d3ae;
  --rank-3-text: #6e4510;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  color: var(--color-text);
  background: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.75;
  overflow-wrap: break-word;
}

a {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== 読書進捗バー（画面上部固定） ===== */

#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-cta);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
  pointer-events: none;
}

/* ===== ヘッダー（スティッキー・コンパクト） ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 6px rgba(11, 92, 173, 0.07);
  padding: 6px 12px 0;
}

.site-title,
.site-nav {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.site-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.site-title a {
  color: var(--color-text);
  text-decoration: none;
}

/* ヘッダー上段：ロゴと検索導線を横並びにする */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.header-search {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 14px;
  background: #fff;
}

.header-search::before {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.4em;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  vertical-align: -0.05em;
}

/* サイトロゴマーク（羅針盤モチーフの色ブロック） */
.site-title a::before {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-right: 0.35em;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-primary) 55%, var(--color-cta) 55%);
  vertical-align: baseline;
}

/* ジャンルナビ：表示中の項目を等幅グリッドにし、どの画面幅でも必ず画面内に収める。
   項目数は記事のあるカテゴリー数に連動するため、列幅は自動で等分する。
   はみ出し・横スクロール前提にはしない */
.site-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
}

.site-nav a {
  padding: 7px 2px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px 8px 0 0;
}

.site-nav a:hover {
  background: var(--color-note-bg);
  text-decoration: underline;
}

/* 現在地（表示中ジャンル）の明示 */
.site-nav a.active {
  background: var(--color-band);
  color: var(--color-primary-dark);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--color-primary);
}

/* ===== フッター ===== */

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 56px;
  padding: 20px 16px 36px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.site-footer p,
.footer-nav {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin-bottom: 12px;
}

.footer-nav a {
  padding: 10px 8px;
  color: var(--color-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* ===== トップへ戻るボタン ===== */

/* 小さな円形ボタンにし、本文中のCTAボタンの文言に重ならないようにする */
#to-top {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(11, 92, 173, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

#to-top.show {
  opacity: 0.94;
  visibility: visible;
  transform: translateY(0);
}

#to-top:hover,
#to-top:active {
  background: var(--color-primary-dark);
}

/* ===== 本文カラム ===== */

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 8px 16px 24px;
}

main h1 {
  font-size: 1.7rem;
  line-height: 1.45;
  margin: 0.5em 0 0.8em;
}

article h1 {
  border-bottom: 3px solid var(--color-band);
  padding-bottom: 0.4em;
}

/* アイキャッチ画像 */
.eyecatch {
  margin: 0 0 1.2em;
}

.eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(11, 92, 173, 0.14);
}

/* 信頼チップ（編集方針の要点を記事冒頭で明示） */
.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 1.3em;
  padding: 0;
}

.trust-chips li {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-primary-dark);
  background: var(--color-band);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 11px;
}

.trust-chips li::before {
  content: "✓";
  color: var(--color-cta);
  font-weight: 800;
  margin-right: 5px;
}

/* トップページのキャッチコピー（紹介文より大きく、印象に残る一行） */
.site-catch {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-primary-dark);
  margin: 0.3em 0 0.4em;
}

.site-lead {
  color: #3d4652;
  margin: 0 0 1.5em;
}

/* ===== トップページのヒーロー（入り口） ===== */

.hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: 16px;
  padding: 28px 22px 26px;
  margin: 0.5em 0 0.5em;
  color: #fff;
}

.hero-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.4em;
  color: #cfe3f5;
}

.hero-catch {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 0.45em;
}

.hero-lead {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1.2em;
  color: #e6f0fa;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-btn {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-btn:hover {
  background: var(--color-cta-dark);
}

/* ===== トップページの編集方針（信頼の提示） ===== */

.trust-strip {
  margin-top: 2.5em;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 4px 18px 14px;
  background: var(--color-note-bg);
}

.trust-strip .home-heading {
  margin-top: 14px;
}

.trust-points {
  list-style: none;
  margin: 0 0 0.8em;
  padding: 0;
}

.trust-points li {
  padding: 4px 0 4px 1.4em;
  position: relative;
}

.trust-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-cta);
  font-weight: 800;
}

.trust-links {
  font-size: 0.85rem;
  margin: 0;
}

/* ===== 記事末尾の関連記事 ===== */

.related {
  margin-top: 2.5em;
}

/* ===== トップページの悩み別ナビ ===== */

.purpose-grid {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .purpose-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.purpose-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.purpose-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 3px 12px rgba(11, 92, 173, 0.12);
}

.purpose-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--color-text);
  text-decoration: none;
}

.purpose-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-band);
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purpose-text {
  display: block;
}

.purpose-label {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--color-primary-dark);
}

.purpose-note {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* ===== カードのカテゴリー表示 ===== */

.card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-band);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-tags .card-badge {
  margin-bottom: 0;
}

/* トップ・一覧の見出し */
.home-heading {
  font-size: 1.4rem;
  line-height: 1.5;
  background: var(--color-band);
  border-left: 6px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 0.5em 0.8em;
  margin: 2em 0 1em;
}

/* ===== 記事カード／ジャンルカード ===== */

.card-list,
.genre-list {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .genre-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* PCでは記事カードも2カラムにして、間延びしない密度にする */
@media (min-width: 900px) {
  .card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hero {
    padding: 36px 34px 32px;
  }

  .hero-catch {
    font-size: 1.9rem;
  }
}

.card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 3px 12px rgba(11, 92, 173, 0.12);
}

/* カード全体がタップ領域 */
.card a {
  display: block;
  padding: 16px 18px;
  color: var(--color-text);
  text-decoration: none;
}

/* 記事カードのサムネイル（アイキャッチ） */
.card-thumb {
  display: block;
  margin: -16px -18px 12px;
}

.card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px 11px 0 0;
}

.card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-primary-dark);
}

.card a:hover .card-title {
  text-decoration: underline;
}

.card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3d4652;
}

.card-meta {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.card-updated::before {
  content: "／";
  margin: 0 2px;
}

/* おすすめバッジ */
.card-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-cta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ===== カテゴリー一覧の冒頭（アイキャッチ＋紹介文） ===== */

.section-eyecatch {
  margin: 0 0 1em;
}

.section-eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.section-lead {
  color: #3d4652;
  margin: 0 0 0.8em;
}

.section-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3d4652;
  margin-bottom: 0.5em;
}

.section-intro p {
  margin: 0 0 0.8em;
}

/* 目的別ナビのカードは矢印でリンク先が分かるようにする */
.purpose-card .card-title::after {
  content: " ›";
  color: var(--color-cta);
  font-weight: 800;
}

/* 検索結果 */
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-results li {
  border-bottom: 1px solid #edf1f5;
  line-height: 1.55;
}

.search-results a {
  display: block;
  padding: 14px 2px;
  font-weight: 600;
  text-decoration: none;
}

.search-results a:hover {
  text-decoration: underline;
}

/* 検索ページ */
input[type="search"] {
  width: 100%;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 16px;
}

/* ===== 記事本文 ===== */

article {
  line-height: 1.8;
}

article p {
  margin: 0 0 1.25em;
}

/* 見出しジャンプ時にスティッキーヘッダーと重ならないようにする */
article h2,
article h3,
article h4 {
  scroll-margin-top: var(--header-offset);
}

article h2 {
  font-size: 1.45rem;
  line-height: 1.5;
  background: var(--color-band);
  border-left: 6px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 0.5em 0.75em;
  margin: 2.2em 0 1em;
}

article h3 {
  font-size: 1.2rem;
  line-height: 1.55;
  border-bottom: 2px solid var(--color-band);
  padding-bottom: 0.3em;
  margin: 1.8em 0 0.8em;
}

article h4 {
  font-size: 1.05rem;
  margin: 1.6em 0 0.7em;
}

article ul,
article ol {
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}

article li {
  margin-bottom: 0.45em;
}

article li > ul,
article li > ol {
  margin-top: 0.45em;
  margin-bottom: 0.2em;
}

article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

article blockquote {
  margin: 0 0 1.25em;
  padding: 0.6em 1em;
  border-left: 4px solid var(--color-border);
  background: var(--color-note-bg);
  color: #3d4652;
}

article blockquote p:last-child {
  margin-bottom: 0;
}

article hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2em 0;
}

article strong {
  color: #111;
}

/* 公開日・更新日（注釈サイズ12px） */
.article-meta {
  color: var(--color-muted);
  font-size: 0.75rem;
  margin: -0.3em 0 0.9em;
}

/* PR表記（記事冒頭の注記。広告表記は見落とされないよう、サイズと色を弱めすぎない） */
.pr-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #4a5560;
  background: var(--color-note-bg);
  border: 1px solid #e6ebf1;
  border-radius: 6px;
  padding: 0.5em 0.85em;
  margin: 0 0 1.1em;
}

/* ===== 目次（折りたたみ式） ===== */

/* 初期状態では1行だけ表示し、冒頭で結論を優先する */
.toc {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fbfdff;
  margin: 0 0 1.3em;
}

.toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
}

.toc-title::-webkit-details-marker {
  display: none;
}

.toc-title::after {
  content: "▾";
  color: var(--color-muted);
  transition: transform 0.2s ease;
}

.toc[open ] .toc-title::after {
  transform: rotate(180deg);
}

.toc nav {
  padding: 0 14px 6px;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  margin: 0;
  border-bottom: 1px dashed #e6ebf1;
}

.toc li:last-child {
  border-bottom: none;
}

.toc a {
  display: block;
  padding: 6px 2px;
  color: var(--color-text);
  font-size: 0.93rem;
  line-height: 1.45;
  text-decoration: none;
}

.toc a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ===== 結論ボックス（記事冒頭） ===== */

/* 長い要点ボックスの置き換え。結論の一文と最も重要な数字だけを大きく見せる */
.verdict {
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  background: #fbfdff;
  padding: 0 18px 14px;
  margin: 0 0 1.6em;
  overflow: hidden;
}

.verdict-head {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  margin: 0 -18px 14px;
  padding: 7px 18px;
}

.verdict-lead {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.65;
  margin: 0 0 0.9em;
}

.verdict-stat {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 16px 10px;
  margin: 0 0 0.9em;
  text-align: center;
}

.verdict-stat-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
}

.verdict-stat-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-cta-dark);
}

.verdict-stat-note {
  margin: 0;
  font-size: 0.82rem;
  color: #3d4652;
}

.verdict-body p {
  margin: 0 0 0.7em;
}

.verdict-body p:last-child {
  margin-bottom: 0;
}

/* ===== フロー図（選ぶ順番・手順の図解） ===== */

.flow {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  position: relative;
  margin: 0;
  padding: 12px 16px;
  background: var(--color-band);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-align: center;
}

/* ステップ間の矢印 */
.flow-step:not(:last-child) {
  margin-bottom: 26px;
}

.flow-step:not(:last-child)::after {
  content: "▼";
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--color-primary);
}

.flow-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--color-primary-dark);
}

.flow-note {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #3d4652;
}

@media (min-width: 640px) {
  .flow {
    flex-direction: row;
    align-items: stretch;
  }

  .flow-step {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .flow-step:not(:last-child) {
    margin-bottom: 0;
    margin-right: 26px;
  }

  .flow-step:not(:last-child)::after {
    content: "▶";
    left: auto;
    right: -22px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ===== サービス紹介カード ===== */

.service-card {
  --brand: var(--color-primary);
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--brand);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 92, 173, 0.07);
  padding: 16px 18px 18px;
  margin: 0 0 1.4em;
}

.service-card--au {
  --brand: var(--brand-au);
}

.service-card--sb {
  --brand: var(--brand-sb);
}

.service-card--nuro {
  --brand: var(--brand-nuro);
}

.service-card--recruit {
  --brand: var(--brand-recruit);
}

.service-card--levtech {
  --brand: var(--brand-levtech);
}

.service-card--mynavi {
  --brand: var(--brand-mynavi);
}

.service-card--doda {
  --brand: var(--brand-doda);
}

.service-card--pasona {
  --brand: var(--brand-pasona);
}

.service-card--jac {
  --brand: var(--brand-jac);
}

/* 目的バッジ（「〜で選ぶなら」の提示） */
.service-card-badge {
  display: inline-block;
  margin: 0 0 0.6em;
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--rank-1-text);
  background: #fdf3d0;
  border: 1px solid var(--rank-1-bg);
  border-radius: 999px;
}

/* 順位バッジ */
.rank-badge {
  display: inline-block;
  min-width: 2.6em;
  text-align: center;
  padding: 2px 8px;
  margin-right: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.6;
  border-radius: 999px;
  background: var(--rank-2-bg);
  color: var(--rank-2-text);
  vertical-align: 0.12em;
}

.rank-badge--1 {
  background: var(--rank-1-bg);
  color: var(--rank-1-text);
}

.rank-badge--3 {
  background: var(--rank-3-bg);
  color: var(--rank-3-text);
}

/* ブランド識別チップ（ロゴの代わりに色で識別） */
.brand-chip {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border-radius: 3px;
  background: var(--color-primary);
}

.brand-chip--au {
  background: var(--brand-au);
}

.brand-chip--sb {
  background: var(--brand-sb);
}

.brand-chip--nuro {
  background: var(--brand-nuro);
}

.brand-chip--recruit {
  background: var(--brand-recruit);
}

.brand-chip--levtech {
  background: var(--brand-levtech);
}

.brand-chip--mynavi {
  background: var(--brand-mynavi);
}

.brand-chip--doda {
  background: var(--brand-doda);
}

.brand-chip--pasona {
  background: var(--brand-pasona);
}

.brand-chip--jac {
  background: var(--brand-jac);
}

.service-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0 0 0.15em;
}

.service-card-tagline {
  font-size: 0.9rem;
  color: #3d4652;
  margin: 0 0 0.4em;
}

/* 料金ゾーン：重要な数字を大きく、補足は小さくグレーで区別する */
.service-card-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0.7em 0 0.9em;
}

.price-block {
  background: var(--color-note-bg);
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  padding: 10px 12px 8px;
}

.price-block-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-muted);
}

.price-block-value {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-cta-dark);
  white-space: nowrap;
}

.price-block-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #3d4652;
}

/* 狭い画面では2列の料金ブロックが窮屈になり、「38,000件以上」のような
   長い数値がはみ出すため、大数字を一段下げて収める（ジャンル共通） */
@media (max-width: 480px) {
  .service-card-prices {
    gap: 8px;
  }

  .price-block {
    padding: 10px 10px 8px;
  }

  .price-block-value {
    font-size: 1.5rem;
  }
}

/* 特徴リスト：チェックアイコン付きで本文の箇条書きと区別する */
.service-card-body ul {
  list-style: none;
  margin: 0 0 0.6em;
  padding: 0;
}

.service-card-body li {
  position: relative;
  margin-bottom: 0.4em;
  padding-left: 1.35em;
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-card-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

/* おすすめする対象 */
.service-card-fit {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 0.6em;
  padding: 9px 12px;
  background: var(--color-band);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.fit-tag {
  flex: 0 0 auto;
  padding: 1px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.8;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
}

/* 注意点 */
.service-card-caution {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 0.4em;
  padding: 9px 12px;
  background: var(--color-caution-bg);
  border: 1px solid #f0dcb0;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.caution-tag {
  flex: 0 0 auto;
  padding: 1px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.8;
  color: #7a5200;
  background: #f7cf46;
  border-radius: 999px;
}

.service-card-link {
  margin: 0.9em 0 0;
  text-align: center;
}

.service-card-link a {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff8a3d, var(--color-cta));
  box-shadow: 0 3px 0 var(--color-cta-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.service-card-link a::after {
  content: " ›";
  font-weight: 800;
}

.service-card-link a:hover,
.service-card-link a:active {
  background: var(--color-cta-dark);
}

/* ===== メリット／デメリット パネル ===== */

.points {
  border-radius: 10px;
  padding: 12px 16px 6px;
  margin: 0 0 1em;
}

.points--good {
  background: var(--color-good-bg);
  border: 1px solid #cdeeda;
}

.points--bad {
  background: var(--color-bad-bg);
  border: 1px solid #f3d3c5;
}

.points-title {
  margin: 0 0 0.5em;
  font-size: 0.95rem;
  font-weight: 800;
}

.points--good .points-title {
  color: var(--color-good);
}

.points--bad .points-title {
  color: var(--color-bad);
}

.points-icon {
  display: inline-block;
  margin-right: 6px;
}

.points-body ul {
  margin-bottom: 0.6em;
  font-size: 0.95rem;
}

/* ===== 手順ステップ ===== */

.steps {
  margin: 0 0 1.5em;
}

.steps ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0 0 0.9em;
  padding: 12px 14px 12px 52px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  line-height: 1.7;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

.steps li p {
  margin: 0 0 0.5em;
}

.steps li p:last-child {
  margin-bottom: 0;
}

/* ===== FAQアコーディオン ===== */

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  margin: 0 0 10px;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 40px 13px 16px;
  position: relative;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 13px;
  color: var(--color-muted);
  transition: transform 0.2s ease;
}

.faq-item[open ] .faq-q::after {
  transform: rotate(180deg);
}

.faq-mark {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

.faq-a {
  padding: 0 16px 6px 49px;
  font-size: 0.95rem;
}

.faq-a p {
  margin-bottom: 0.9em;
}

/* ===== 料金バー比較 ===== */

.price-bars {
  margin: 0 0 1.5em;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fbfdff;
}

.price-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.price-bar-row:last-child {
  margin-bottom: 0;
}

.price-bar-label {
  flex: 0 0 34%;
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 600;
}

.price-bar-track {
  flex: 1 1 auto;
  height: 16px;
  background: #e6ebf1;
  border-radius: 999px;
  overflow: hidden;
}

.price-bar-fill {
  display: block;
  height: 100%;
  background: var(--color-primary);
  border-radius: 999px;
}

.price-bar-fill--au {
  background: var(--brand-au);
}

.price-bar-fill--sb {
  background: var(--brand-sb);
}

.price-bar-fill--nuro {
  background: var(--brand-nuro);
}

/* 最安の行は金額を大きく・目立つ色にする */
.price-bar-row.is-best .price-bar-value {
  color: var(--color-cta-dark);
}

.best-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.7;
  color: var(--rank-1-text);
  background: var(--rank-1-bg);
  border-radius: 999px;
  vertical-align: 0.1em;
}

.price-bar-value {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
}

/* 関連記事 */
article aside {
  margin-top: 2.5em;
  border-top: 1px solid var(--color-border);
  padding-top: 0.5em;
}

article aside ul {
  list-style: none;
  padding-left: 0;
}

article aside li {
  padding: 8px 2px;
  border-bottom: 1px solid #edf1f5;
  margin-bottom: 0;
  line-height: 1.55;
}

article aside a {
  display: block;
  padding: 4px 0;
}

/* ===== 比較表 ===== */

.compare-table {
  margin: 0 0 1.5em;
}

/* 比較表の直後に置く※注記リスト（注釈サイズ12px。本文より控えめにしつつ、
   契約条件に関わるため色は薄くしすぎない） */
.compare-table + ul {
  font-size: 0.75rem;
  line-height: 1.7;
  color: #4a5560;
}

article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 1.5em;
  background: #fff;
}

article th,
article td {
  border: 1px solid #c9d5e2;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

article thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

article tbody th {
  background: var(--color-band);
  font-weight: 700;
  white-space: nowrap;
}

article tbody tr:nth-child(even) td {
  background: #f8fafc;
}

/* 表の横スクロール（JSで .table-scroll に包む。先頭列＝項目列を左端に固定し、
   サービス列だけを横に流せるようにして、スマホでも見出しと値を対応づけて読める） */

/* 外側ラッパー（JSで付与）：横にはみ出す表にだけ案内文と右端フェードを付け、
   列が切れて見える場合でも「横に続きがある」ことを読者に伝える */
.table-scroll-outer {
  position: relative;
  margin: 0 0 1.5em;
}

.table-scroll-outer .table-scroll {
  margin: 0;
}

.table-scroll-hint {
  display: none;
  margin: 0 0 6px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-align: right;
}

.table-scroll-outer.has-overflow .table-scroll-hint {
  display: block;
}

/* 右端フェード：案内文の高さ分（約26px）を避けて表の範囲だけにかけ、
   スクロールし切ったら消す */
.table-scroll-outer.has-overflow::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
  border-radius: 0 10px 10px 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.table-scroll-outer.is-end::after {
  opacity: 0;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.5em;
  border: 1px solid #c9d5e2;
  border-radius: 10px;
  background: #fff;
}

.table-scroll table {
  margin: 0;
  min-width: 600px;
}

.table-scroll th:first-child,
.table-scroll td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 96px;
  box-shadow: 1px 0 0 #c9d5e2, 8px 0 10px -8px rgba(34, 37, 42, 0.45);
}

.table-scroll thead th {
  border-top: none;
}

.table-scroll thead th:first-child {
  z-index: 3;
  background: var(--color-primary-dark);
}

.table-scroll tbody td:first-child {
  background: var(--color-band);
  font-weight: 700;
}

/* スマホでは表を横スクロールにして崩れを防ぐ（JS無効時のフォールバック） */
@media (max-width: 640px) {
  article table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .table-scroll table {
    display: table;
    white-space: normal;
  }

  article th,
  article td {
    padding: 8px 10px;
  }
}

/* ===== CTAボタン ===== */

.cta {
  margin: 1.8em 0 2em;
  text-align: center;
}

.cta a {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ff8a3d, var(--color-cta));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--color-cta-dark);
}

.cta a::after {
  content: " ›";
  font-weight: 800;
}

.cta a:hover,
.cta a:active {
  background: var(--color-cta-dark);
}

/* 記事内の通常リンクをボタン風に見せる箇所（申込手順・まとめの公式リンク用） */
.link-button {
  margin: 0 0 1em;
  text-align: center;
}

.link-button a {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  padding: 13px 18px;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.link-button a::after {
  content: " ›";
  font-weight: 800;
}

.link-button a:hover,
.link-button a:active {
  background: var(--color-band);
}

/* ===== 情報源ボックス（記事末尾） ===== */

.sources {
  margin-top: 2.8em;
  padding: 16px 18px 8px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-note-bg);
  font-size: 0.75rem;
  line-height: 1.8;
  color: #3d4652;
}

.sources-title {
  margin: 0 0 0.5em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.sources-body p,
.sources-body ul {
  margin-bottom: 0.7em;
}

.sources-policy {
  margin: 0 0 0.7em;
  padding-top: 0.7em;
  border-top: 1px dashed var(--color-border);
}

/* ===== 料金シミュレーション ===== */

.hikari-sim {
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  background: #fbfdff;
  padding: 18px;
  margin: 0 0 2em;
}

.sim-title {
  margin: 0 0 0.3em;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.sim-title::before {
  content: "✓";
  color: var(--color-cta);
  margin-right: 7px;
}

.sim-lead {
  margin: 0 0 1em;
  font-size: 0.92rem;
  color: #3d4652;
}

.sim-group {
  margin: 0 0 1em;
}

.sim-label {
  margin: 0 0 0.45em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
}

.sim-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-opt {
  flex: 1 1 42%;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
}

.sim-opt:hover {
  border-color: var(--color-primary);
}

.sim-opt.is-active {
  border-color: var(--color-primary);
  background: var(--color-band);
  color: var(--color-primary-dark);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.sim-result {
  margin: 1.2em 0;
  padding: 16px 18px 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-cta);
  border-radius: 10px;
}

.sim-rec-label {
  margin: 0 0 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
}

.sim-rec-name {
  margin: 0 0 0.25em;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-primary-dark);
}

.sim-rec-name--au {
  color: var(--brand-au);
}

.sim-rec-name--nuro {
  color: var(--brand-nuro);
}

.sim-rec-reason {
  margin: 0 0 0.8em;
  font-size: 0.94rem;
}

.sim-rec-link {
  margin: 0 0 1em;
  text-align: center;
}

.sim-rec-link a {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  padding: 13px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff8a3d, var(--color-cta));
  box-shadow: 0 3px 0 var(--color-cta-dark);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.sim-rec-link a::after {
  content: " ›";
  font-weight: 800;
}

.sim-rec-link a:hover,
.sim-rec-link a:active {
  background: var(--color-cta-dark);
}

.sim-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-row {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.sim-row.is-recommended {
  border-color: var(--color-cta);
  box-shadow: 0 0 0 1px var(--color-cta);
}

.sim-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.15em;
}

.sim-row-name {
  font-size: 1rem;
  font-weight: 800;
}

.sim-row-name--au {
  color: var(--brand-au);
}

.sim-row-name--sb {
  color: var(--brand-sb);
}

.sim-row-name--nuro {
  color: var(--brand-nuro);
}

.sim-row-badge {
  padding: 1px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.8;
  color: #fff;
  background: var(--color-cta);
  border-radius: 999px;
}

.sim-row-monthly {
  margin: 0 0 0.4em;
  font-size: 0.9rem;
  color: #3d4652;
}

.sim-row-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 0.45em;
}

.sim-row-total-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
}

.sim-row-total-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.sim-row-total-value.is-unknown {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.sim-row-track {
  height: 10px;
  background: #e6ebf1;
  border-radius: 999px;
  overflow: hidden;
}

.sim-row-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--color-primary);
}

.sim-row-fill--au {
  background: var(--brand-au);
}

.sim-row-fill--sb {
  background: var(--brand-sb);
}

.sim-row-fill--nuro {
  background: var(--brand-nuro);
}

.sim-row-note {
  margin: 0.3em 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* セット割適用時の実質負担（オプション料金を加算し、スマホ割引を差し引いた3年間） */
.sim-row-bundle {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0.55em 0 0;
  padding-top: 0.55em;
  border-top: 1px dashed var(--color-border);
}

.sim-row-bundle-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-cta-dark);
}

.sim-row-bundle-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-cta-dark);
}

.sim-row-bundle-note {
  flex-basis: 100%;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #4a5560;
}

.sim-note {
  margin: 1em 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #4a5560;
}

/* ===== 総合メディア化：トップページの雑誌レイアウト（2026-11-27） ===== */

/* トップはPCの横幅を活かす広いカラムにする（記事ページは読み幅のまま） */
main.kind-home {
  max-width: 1080px;
}

/* 見出しは帯をやめ、アクセント記号＋太字の雑誌スタイルに */
.home-heading {
  background: transparent;
  border-left: none;
  border-radius: 0;
  padding: 0;
  margin: 2.2em 0 0.9em;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.home-heading::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.45em;
  background: var(--color-cta);
  border-radius: 2px;
}

/* 特集カード：枠なし、写真と見出しが主役 */
.feature-card {
  margin: 0 0 0.5em;
}

.feature-card a {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

.feature-thumb {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

.feature-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-body {
  display: block;
  padding: 14px 2px 0;
}

.feature-cat {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.feature-title {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-text);
}

.feature-card a:hover .feature-title {
  text-decoration: underline;
}

.feature-desc {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #3d4652;
}

/* トップの記事カードは枠と影を外し、写真＋文字だけの並びに */
.kind-home .card {
  border: none;
  background: transparent;
  box-shadow: none;
}

.kind-home .card:hover {
  box-shadow: none;
}

.kind-home .card a {
  padding: 0 2px;
}

.kind-home .card-thumb {
  margin: 0 0 10px;
}

.kind-home .card-thumb img {
  border-radius: 12px;
}

.kind-home .card-title {
  color: var(--color-text);
  font-size: 1rem;
}

.kind-home .card-desc {
  -webkit-line-clamp: 2;
}

/* カテゴリーはピル型バッジをやめ、色付きの小見出しテキストに */
.card-cat {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

/* トップのカード配置：スマホ1列／タブレット2列／PC3列 */
@media (min-width: 640px) {
  .kind-home .card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
}

@media (min-width: 900px) {
  .kind-home .card-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .feature-title {
    font-size: 1.7rem;
  }
}

/* ===== デザイン方針の転換：白・黒基調の雑誌メディア（2026-11-27 第20条補足） ===== */

body {
  background: #fbfaf7;
}

/* ヘッダー：白地に黒のロゴタイプ。色はアクセントだけに使う */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e5df;
  box-shadow: none;
}

.site-title a {
  color: #111;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.site-title a::before {
  display: none;
}

.header-search {
  color: #111;
  border-color: #d8d4cc;
  background: #fff;
}

.site-nav a {
  color: #3a3a3a;
}

.site-nav a.active {
  color: #111;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--color-cta);
  background: transparent;
}

/* トップのブランド表示：大きな青いボックスは廃止し、言葉だけで伝える */
.brand-block {
  padding: 30px 0 4px;
}

.brand-catch {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #111;
  margin: 0 0 0.45em;
}

.brand-lead {
  font-size: 0.94rem;
  line-height: 1.8;
  color: #5c564c;
  margin: 0;
  max-width: 34em;
}

/* セクション見出し：帯と記号をやめ、下線だけの静かな見出しに */
.home-heading {
  font-size: 1.22rem;
  color: #111;
  border-bottom: 2px solid #111;
  padding-bottom: 0.4em;
  margin: 2.4em 0 1.1em;
}

.home-heading::before {
  display: none;
}

/* 特集：写真を大きく、見出しは黒で強く */
.feature-thumb {
  border-radius: 10px;
}

.feature-cat {
  color: #8a8578;
}

.feature-title {
  color: #111;
}

/* 記事カード：スマホでも2列。タイトルと写真中心、説明は広い画面だけ */
.kind-home .card-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 12px;
}

.kind-home .card-title {
  font-size: 0.94rem;
  line-height: 1.55;
}

.kind-home .card-desc {
  display: none;
}

.kind-home .card-thumb img {
  border-radius: 8px;
}

.card-cat {
  color: #8a8578;
}

@media (min-width: 640px) {
  .kind-home .card-desc {
    display: -webkit-box;
  }
}

@media (min-width: 900px) {
  .kind-home .card-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 26px 18px;
  }

  .brand-catch {
    font-size: 2.3rem;
  }
}

/* 記事ページ：見出しの帯を外し、文字と余白で読ませる */
article h1 {
  border-bottom: 2px solid #111;
}

article h2 {
  background: transparent;
  border-left: none;
  border-radius: 0;
  padding: 0 0 0.4em;
  border-bottom: 1px solid #ddd9d0;
  color: #111;
}

article h3 {
  border-bottom: none;
  color: #111;
}

article thead th,
.table-scroll thead th {
  background: #1d1d1b;
}

/* 結論ボックス：青枠をやめ、白地＋上部のアクセントラインだけに */
.verdict {
  border: 1px solid #e0dcd2;
  border-top: 3px solid var(--color-cta);
  border-radius: 8px;
  background: #fff;
}

.verdict-head {
  background: transparent;
  color: #111;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid #eeeade;
  margin-left: 0;
  margin-right: 0;
}

/* 信頼チップ・目次などの面はオフホワイトに寄せる */
.trust-strip {
  background: transparent;
  border-top: 1px solid #e0dcd2;
}

/* 記事冒頭の要素を新デザインに統一（青いピル・青み背景を廃止） */
.trust-chips li {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #5c564c;
  padding: 2px 0;
  font-size: 0.8rem;
}

.pr-note {
  background: #fff;
  border: 1px solid #e0dcd2;
  color: #5c564c;
}

.toc {
  background: #fff;
  border: 1px solid #e0dcd2;
}

.toc-title {
  color: #111;
}

.header-search::before {
  border-color: #111;
}

.header-search::after {
  background: #111;
}

/* ===== 料金バー比較 v2：名前＋大きな金額＋全幅バー、差は大きな数字で（2026-11-27 第22条） ===== */
.price-bars {
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: 10px;
  padding: 20px 18px 16px;
}

.price-bar-row {
  display: block;
  margin-bottom: 18px;
}

.price-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.price-bar-label {
  flex: 0 1 auto;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.price-bar-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
}

.price-bar-track {
  display: block;
  height: 13px;
  background: #eceae3;
  border-radius: 999px;
  overflow: hidden;
}

.price-bar-fill {
  background: #9db4c6;
}

.price-bar-fill--nuro {
  background: #8fb8a8;
}

/* 最安の行はバーを濃い緑にし、金額も緑で強調する */
.price-bar-row.is-best .price-bar-fill {
  background: #1f9d66;
}

.price-bar-row.is-best .price-bar-value {
  color: #1f9d66;
}

.best-badge {
  display: none;
}

/* 差のブロック：区切り線の下にラベルと大きな緑の数字 */
.price-bar-diff {
  border-top: 1px solid #e0dcd2;
  margin-top: 4px;
  padding-top: 14px;
}

.price-bar-diff-label {
  display: block;
  font-size: 0.85rem;
  color: #5c564c;
  margin-bottom: 4px;
}

.price-bar-diff-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #1f9d66;
  line-height: 1.25;
}

/* ===== 記事冒頭とサービス紹介の新デザイン（2026-11-27 第23条） ===== */

.article-cat {
  margin: 0.6em 0 0.2em;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.article-cat a {
  color: #8a8578;
  text-decoration: none;
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0.4em 0 1em;
  font-size: 0.8rem;
  color: #8a8578;
}

.meta-sep {
  color: #cfccc2;
}

/* PR表記は箱に入れず、小さな本文テキストとして置く */
.pr-note {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #6f6a5e;
  margin: 0 0 1.4em;
}

/* 要点カード（月額の大きな数字） */
.price-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 0.6em;
}

.price-point {
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: 10px;
  padding: 14px 16px 12px;
}

.price-point-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}

.price-point-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}

.price-point-label {
  font-size: 0.82rem;
  color: #6f6a5e;
}

.price-point-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #17603f;
}

.price-point-fit {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.price-point-note {
  margin: 0;
  font-size: 0.8rem;
  color: #8a8578;
}

.price-points-note {
  font-size: 0.78rem;
  color: #8a8578;
  margin: 0 0 1.6em;
}

/* 差のブロックは淡い面に中央寄せで */
.price-bar-diff {
  background: #f3f5ef;
  border-top: none;
  border-radius: 8px;
  text-align: center;
  padding: 16px 12px 14px;
  margin-top: 14px;
}

.price-bar-diff-value {
  color: #17603f;
}

.price-bar-diff-sub {
  display: block;
  font-size: 0.88rem;
  color: #3d4652;
  margin-top: 2px;
}

/* サービスカード：ブランド色の太い上枠とピルをやめ、写真と数字で見せる */
.service-card {
  border-top: 1px solid var(--color-border);
  box-shadow: none;
  border-radius: 12px;
}

.service-card-badge {
  background: transparent;
  color: #8a8578;
  padding: 0;
  letter-spacing: 0.06em;
}

.service-card-photo {
  margin: 0 0 12px;
}

.service-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-card-fit {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.service-card-caution {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.fit-tag {
  background: transparent;
  color: #17603f;
  padding-left: 0;
}

.caution-tag {
  background: transparent;
  padding-left: 0;
}

/* サービスカードの残存装飾を除去（バッジ・価格ボックス・注意枠・ブランドチップ） */
.service-card-badge {
  border: none;
}

.service-card .brand-chip {
  display: none;
}

.service-card .price-block {
  background: transparent;
  border: none;
  padding: 0;
}

.service-card .price-block-value {
  color: #111;
}

.service-card-prices .price-block:first-child .price-block-value {
  color: #17603f;
}

.service-card-fit,
.service-card-caution {
  border: none;
}

/* ===== 商品紹介カード（セール記事用、2026-11-27 第24条） ===== */
.product-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 1.2em;
}

.product-card-photo {
  flex: 0 0 38%;
  margin: 0;
}

.product-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-card-main {
  flex: 1 1 auto;
  min-width: 0;
}

.product-card-name {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #111;
  line-height: 1.45;
}

.product-card-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card-price-label {
  font-size: 0.78rem;
  color: #6f6a5e;
}

.product-card-price-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #c22525;
  line-height: 1.2;
}

.product-card-off {
  font-size: 0.95rem;
  font-weight: 800;
  color: #c22525;
}

.product-card-was {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #8a8578;
}

.product-card-body {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-top: 8px;
}

.product-card-body p {
  margin: 0 0 0.5em;
}

.product-card-link {
  margin: 10px 0 0;
}

.product-card-link a {
  display: inline-block;
  background: #f76707;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
}

@media (max-width: 560px) {
  .product-card {
    flex-direction: column;
  }

  .product-card-photo {
    flex: none;
  }
}

/* ===== 記事ヒーロー（写真にタイトルを重ねる特集型） ===== */
.article-hero {
  position: relative;
  margin: 0 0 1.4em;
  border-radius: 12px;
  overflow: hidden;
  background: #22201c;
}

.article-hero-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (min-width: 760px) {
  .article-hero-img {
    height: 380px;
  }
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(10, 10, 8, 0.78) 0%, rgba(10, 10, 8, 0.35) 45%, rgba(10, 10, 8, 0) 70%);
  color: #fff;
}

.article-hero-cat {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffd9a8;
  text-transform: uppercase;
}

.article-hero-title {
  margin: 0 0 8px;
  font-size: 1.65rem;
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
  border: none;
  padding: 0;
}

@media (min-width: 760px) {
  .article-hero-title {
    font-size: 2.1rem;
  }
}

.article-hero-lead {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f2efe8;
}

.article-hero-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #d8d4c8;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ===== セール日程ボックス ===== */
.sale-schedule {
  background: #f7f5ef;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 1.4em;
}

.sale-schedule-title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #111;
}

.sale-schedule dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 0.92rem;
}

.sale-schedule dt {
  font-weight: 700;
  color: #3d4652;
  background: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  text-align: center;
}

.sale-schedule dd {
  margin: 0;
  padding: 2px 0;
}

/* ===== ジャンルタイル ===== */
.genre-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 1.6em;
}

@media (min-width: 760px) {
  .genre-tiles {
    grid-template-columns: repeat(6, 1fr);
  }
}

.genre-tile {
  display: block;
  text-decoration: none;
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.genre-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

/* ===== 商品カード v2（理由リスト＋緑ボタン） ===== */
.product-card {
  flex-wrap: wrap;
}

.product-card-genre {
  display: inline-block;
  margin: 0 0 6px;
  padding: 1px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5c564c;
  background: #f1efe8;
  border-radius: 999px;
}

.product-card-off {
  background: #c22525;
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.product-card-price-value {
  color: #c22525;
}

.product-card-side {
  flex: 1 1 100%;
  border-top: 1px solid #eee9dd;
  padding-top: 10px;
}

@media (min-width: 760px) {
  .product-card-side {
    flex: 0 0 240px;
    border-top: none;
    border-left: 1px solid #eee9dd;
    padding-top: 0;
    padding-left: 16px;
  }
}

.product-card-side-title {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #111;
}

.product-card-points {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  line-height: 1.6;
}

.product-card-points li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 3px;
}

.product-card-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #17603f;
  font-weight: 800;
}

.product-card-link a {
  background: #1d5c43;
  display: block;
  text-align: center;
}

/* ===== スマホでの表のカード表示と本文の読みやすさ（早見表対策） =====
   横スクロールでは「どの値がどのサービスか」が追いづらいため、
   スマホでは表を1行=1カードに変形し、先頭セルをカードのタイトル、
   残りのセルを「列見出し：値」の行として縦に並べる（data-labelはJSが付与）。 */
@media (max-width: 680px) {
  .table-scroll {
    overflow-x: visible;
  }
  .table-scroll-hint {
    display: none;
  }
  .table-scroll-outer::after {
    display: none;
  }
  article table.sp-cards {
    display: block;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    line-height: 1.65;
  }
  article .sp-cards thead {
    display: none;
  }
  article .sp-cards tbody {
    display: block;
  }
  article .sp-cards tbody tr {
    display: block;
    background: #fff;
    border: 1px solid #e0dcd2;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  article .sp-cards tbody tr td,
  article .sp-cards tbody tr th {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    border: none;
    background: transparent;
    padding: 7px 0;
    white-space: normal;
    text-align: right;
  }
  article .sp-cards tbody tr td::before,
  article .sp-cards tbody tr th::before {
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 700;
    color: #5c564c;
    text-align: left;
    flex: 0 0 40%;
  }
  article .sp-cards tbody tr > *:first-child {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
    text-align: left;
    padding: 0 0 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e8e5df;
  }
  article .sp-cards tbody tr > *:first-child::before {
    display: none;
  }
  /* 本文の読みやすさ：行間と段落の間隔を少し広げる */
  article p {
    line-height: 1.9;
    margin-bottom: 1.15em;
  }
  article li {
    line-height: 1.85;
  }
}

/* ===== スマホ表カード表示の補正（横スクロール用ルールの打ち消し） ===== */
@media (max-width: 680px) {
  .table-scroll:has(> table.sp-cards) {
    overflow: visible;
    border: none;
    background: transparent;
    border-radius: 0;
  }
  .table-scroll table.sp-cards {
    min-width: 0;
    width: 100%;
  }
  .table-scroll-outer.has-overflow .table-scroll-hint {
    display: none;
  }
  .table-scroll-outer.has-overflow::after {
    display: none;
  }
  article .sp-cards tbody tr td:first-child,
  article .sp-cards tbody tr th:first-child {
    position: static;
    min-width: 0;
    box-shadow: none;
  }
  article .sp-cards tbody tr td,
  article .sp-cards tbody tr th {
    min-width: 0;
    overflow-wrap: break-word;
  }
}

/* ===== 記事内タイポグラフィ：読みやすさ基準（2026-11-28） =====
   構造・レイアウトは変えず、文字サイズ・行間・余白・色の階層だけを整える。
   本文は article のフォントサイズで効かせる（rem指定の部品には影響しない）。 */

/* 本文：17px（PC 18px）、行間1.85、字間0.02em */
article {
  font-size: 17px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  article {
    font-size: 18px;
  }
}

article p,
article li {
  line-height: 1.85;
}

article p {
  margin-bottom: 1.3em;
}

article li {
  margin-bottom: 0.5em;
}

/* 見出し階層：サイズと太さに明確な差を付ける（装飾は従来のまま） */
article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
  margin: 2.4em 0 1.1em;
}

article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 1.9em 0 0.85em;
}

article h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

/* 注釈・補足：小さくしすぎず、コントラストを確保する */
.article-meta {
  font-size: 0.8125rem;
  color: #565d66;
}

.pr-note {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #39424c;
}

.sources {
  font-size: 0.8125rem;
  line-height: 1.85;
  color: #333a42;
}

.sources-title {
  font-size: 0.875rem;
}

.price-points-note {
  font-size: 0.8125rem;
  color: #5c564c;
}

/* 表：文字を大きくし、行間と余白を確保する（スマホのカード表示にも適用） */
article table,
.table-scroll table {
  font-size: 0.9375rem;
  line-height: 1.7;
}

article th,
article td {
  padding: 11px 12px;
}

/* 色分けパネル：注意＝淡い黄色、メリット＝淡い緑、補足＝淡い青。
   いずれもアイコンとラベルの文字を併用し、色だけに依存しない */
.points--bad {
  background: #fff7e6;
  border-color: #ecd9a0;
}

.points--bad .points-title {
  color: #946a00;
}

.points-title {
  font-size: 1rem;
}

.points-body ul {
  font-size: 1rem;
  line-height: 1.85;
}

article blockquote {
  background: #eef4fb;
  border-left-color: #7aa7d9;
  color: #2e3a46;
}

.service-card-fit {
  background: var(--color-good-bg);
  border-radius: 8px;
  padding: 8px 12px;
}

.service-card-caution {
  background: var(--color-caution-bg);
  border-radius: 8px;
  padding: 8px 12px;
}

/* FAQの回答も本文に準じた読みやすさに */
.faq-a {
  font-size: 1rem;
  line-height: 1.85;
}

/* ===== 改善仕様：装飾の共通スタイル（2026-11-28） =====
   仕様まとめ画像に基づく。見出しの緑アクセント、比較表の緑ヘッダー、
   緑の広告ボタン、補足（青）・注意（黄）・メリット（緑）の3色パネル、
   キーワードのマーカー強調を全記事に共通適用する */

/* 補足・注釈は14pxを下限にする */
.article-meta,
.sources,
.price-points-note {
  font-size: 0.875rem;
}

/* 大見出し：緑の縦バーで視線を集める */
article h2 {
  border-left: 5px solid #1e9e62;
  border-bottom: none;
  padding-left: 14px;
}

/* 比較表：ヘッダーは濃い緑で項目を明確に */
article thead th,
.table-scroll thead th {
  background: #1e7e4f;
}

.table-scroll thead th:first-child {
  background: #1e7e4f;
}

/* 広告ボタン：緑で統一し、押す場所を明確に */
.cta a {
  background: #1e9e62;
}

.cta a:hover,
.cta a:active {
  background: #177a4b;
}

/* キーワードのマーカー強調（使いすぎない） */
article mark {
  background: linear-gradient(transparent 55%, #ffef8a 55%);
  color: inherit;
  padding: 0 1px;
}

/* 補足・ワンポイント（青） */
.points--info {
  background: #eef4fb;
  border: 1px solid #c3d9f2;
}

.points--info .points-title {
  color: #0b5cad;
}

.points--info .points-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b5cad;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  vertical-align: 2px;
}

/* この記事でわかること（緑のチェックリスト） */
.checklist {
  background: #eef7f0;
  border: 1px solid #cdeeda;
  border-radius: 10px;
  padding: 14px 18px 8px;
  margin: 0 0 1.4em;
}

.checklist-title {
  margin: 0 0 0.5em;
  font-size: 1rem;
  font-weight: 800;
  color: #1e7e34;
}

.checklist-body ul {
  list-style: none;
  margin: 0 0 0.6em;
  padding-left: 0;
}

.checklist-body li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.4em;
}

.checklist-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1e9e62;
  font-weight: 800;
}

/* ===== 数字の見せ方：装飾を減らし、色を1つに統一（2026-11-28） =====
   読ませたいのは数字そのもの。枠線・面・色分けを減らし、
   強調の緑は #1e9e62 の1色だけにする */

/* 料金バー：外枠を外し、バーは全行同じ色。最安だけ金額を緑で示す */
.price-bars {
  border: none;
  background: transparent;
  padding: 4px 0 0;
}

.price-bar-fill,
.price-bar-fill--au,
.price-bar-fill--sb,
.price-bar-fill--nuro,
.price-bar-row.is-best .price-bar-fill {
  background: #cfccc2;
}

.price-bar-row.is-best .price-bar-value,
.price-bar-diff-value {
  color: #1e9e62;
}

.price-bar-diff {
  background: transparent;
}

/* 冒頭の要点カード：枠と面を外し、余白だけで区切る */
.price-point {
  border: none;
  background: transparent;
  padding: 4px 0 2px;
}

.price-point-value {
  color: #1e9e62;
}

.price-point-note {
  font-size: 0.8125rem;
  color: #5c564c;
}

/* 結論の数字：枠を外し、色は緑に統一 */
.verdict-stat {
  border: none;
  background: transparent;
}

.verdict-stat-value {
  color: #1e9e62;
}

/* サービスカードの金額：緑を統一 */
.service-card-prices .price-block:first-child .price-block-value {
  color: #1e9e62;
}

/* シミュレーション：枠は細く中立に、結果の装飾とボタンを緑へ */
.hikari-sim {
  border: 1px solid #e0dcd2;
  background: #fff;
}

.sim-title,
.sim-rec-name,
.sim-rec-name--au,
.sim-rec-name--sb,
.sim-rec-name--nuro {
  color: #111;
}

.sim-result {
  border: none;
  background: transparent;
  padding-left: 0;
}

.sim-rec-link a {
  background: #1e9e62;
  box-shadow: none;
}

/* ===== シミュレーション：今の料金を入れると削減額が出る（2026-11-28） ===== */
.sim-current {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.sim-current input {
  width: 9em;
  padding: 10px 12px;
  font-size: 1.15rem;
  font-weight: 700;
  border: 1px solid #c9cdc2;
  border-radius: 8px;
  background: #fff;
}

.sim-current-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #5c564c;
}

.sim-saving {
  margin: 0 0 0.6em;
  font-size: 1rem;
}

.sim-saving-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e9e62;
  white-space: nowrap;
}

.sim-saving.is-negative {
  font-size: 0.95rem;
  color: #5c564c;
}

.sim-row-saving {
  margin: 0.4em 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e9e62;
}

.sim-row-saving.is-negative {
  font-weight: 400;
  color: #5c564c;
}

/* シミュレーション内のバーと名前も色を統一する */
.sim-row-fill {
  background: #cfccc2;
}

.sim-row.is-recommended .sim-row-fill {
  background: #1e9e62;
}

.sim-row-name {
  color: #111;
}

.sim-row-badge {
  background: #1e9e62;
}

/* ===== 記事構造の整理：見出しの間隔（2026-11-28） ===== */
article h2 {
  margin-top: 2.5rem;
}

/* ===== 追従CTAと比較基準（人気サイトの型：2026-11-28） ===== */
.trust-note {
  margin-top: 2em;
}

.sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e0dcd2;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .sticky-cta a {
    flex: 1;
    background: #1e9e62;
    color: #fff;
    text-align: center;
    padding: 13px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
  }

  .sticky-cta-close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid #e0dcd2;
    border-radius: 50%;
    background: #fff;
    color: #5c564c;
    font-size: 1.1rem;
    line-height: 1;
  }

  body.has-sticky-cta #to-top {
    bottom: 96px;
  }
}

/* ===== 押しやすいボタン：大きく、文言が目立つ形（2026-11-28） ===== */
article .cta a {
  font-size: 1.08rem;
  padding: 18px 20px;
  border-radius: 12px;
}

article .link-button a {
  font-size: 1.02rem;
  padding: 16px 18px;
}

/* 第37条：トップのお得情報・カテゴリー・ツール導線、お気に入り、ボタン44px（2026-11-28） */
.deal-list { display: grid; gap: 12px; margin: 0 0 8px; }
.deal-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #e0dcd2; border-radius: 12px; padding: 16px; text-decoration: none; color: #111; }
.deal-body { display: grid; gap: 4px; }
.deal-title { font-weight: 800; font-size: 1.02rem; line-height: 1.5; }
.deal-text { color: #5c564c; font-size: 0.92rem; line-height: 1.7; }
.deal-deadline { flex-shrink: 0; background: #fff7e6; border: 1px solid #e8d9ae; color: #6b5510; font-weight: 800; font-size: 0.85rem; border-radius: 999px; padding: 4px 10px; }
.cat-grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; background: #fff; border: 1px solid #e0dcd2; border-radius: 10px; padding: 14px; text-decoration: none; color: #111; min-height: 44px; }
.cat-name { font-weight: 700; }
.cat-count { color: #5c564c; font-size: 0.85rem; }
.tool-card { display: grid; gap: 4px; background: #fff; border: 1px solid #e0dcd2; border-radius: 12px; padding: 16px; text-decoration: none; color: #111; margin: 0 0 8px; }
.tool-title { font-weight: 800; font-size: 1.02rem; }
.tool-text { color: #5c564c; font-size: 0.92rem; line-height: 1.7; }
.personal-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.personal-list a { display: block; background: #fff; border: 1px solid #e0dcd2; border-radius: 10px; padding: 12px 14px; text-decoration: none; color: #111; line-height: 1.55; }
.fav-row { margin: 14px 0 4px; }
.fav-btn { min-height: 44px; padding: 10px 18px; border: 1px solid #cfc9bb; background: #fff; color: #111; border-radius: 999px; font-size: 0.95rem; font-weight: 700; cursor: pointer; }
.fav-btn.is-on { border-color: #1e9e62; color: #1e9e62; background: #eefaf1; }
article .cta a, article .link-button a, .sticky-cta a { min-height: 44px; }

/* イベントカレンダー（2026-11-28） */
.event-cal { background: #fff; border: 1px solid #e0dcd2; border-radius: 12px; padding: 16px; margin: 0 0 24px; }
.event-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.event-cal-month { font-weight: 800; font-size: 1.1rem; margin: 0; }
.event-cal-nav { width: 44px; height: 44px; border: 1px solid #e0dcd2; background: #fff; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #111; }
.event-cal-nav:disabled { opacity: 0.3; cursor: default; }
.event-cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; color: #5c564c; font-size: 0.82rem; margin-bottom: 6px; }
.event-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.event-cal-cell { position: relative; min-height: 48px; border: 1px solid transparent; background: transparent; border-radius: 10px; font-size: 0.98rem; color: #111; cursor: pointer; padding: 4px 0 14px; }
.event-cal-cell.is-empty { cursor: default; }
.event-cal-cell.has-events { background: #f4f1ea; font-weight: 700; }
.event-cal-cell.is-today { border-color: #111; }
.event-cal-cell.is-selected { background: #1e9e62; color: #fff; }
.event-cal-count { position: absolute; left: 0; right: 0; bottom: 3px; font-size: 0.68rem; font-weight: 700; color: #1e9e62; }
.event-cal-cell.is-selected .event-cal-count { color: #fff; }
.event-cal-detail { margin-top: 14px; border-top: 1px solid #e8e5df; padding-top: 12px; }
.event-cal-detail-title { font-weight: 800; margin: 0 0 8px; }
.event-cal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event-cal-list li { display: grid; gap: 2px; }
.event-cal-name { font-weight: 700; line-height: 1.55; }
.event-cal-meta { color: #5c564c; font-size: 0.9rem; }
.event-cal-none { color: #5c564c; margin: 0; }

/* ===== 第40条：視認性・可読性の底上げ（2026-11-28） ===== */
main {
  padding-left: 18px;
  padding-right: 18px;
}
article p,
article li {
  line-height: 1.9;
}
article h1 {
  font-size: 1.75rem;
}
@media (min-width: 768px) {
  article h1 {
    font-size: 2rem;
  }
}
article.cta a,
article.link-button a,
.sticky-cta a,
.fav-btn {
  min-height: 52px;
}

/* ===== 第41条：カードの読了時間・新着表示・終了したお得情報 ===== */
.card-read {
  margin-left: 0.6em;
  color: #5c564c;
}
.card-new {
  margin-left: 0.5em;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1e9e62;
}
.deal-card.is-ended {
  opacity: 0.55;
}

/* ===== 第43条：可読性・読書体験の底上げ（行間1.85・段落24px・余白20px・本文幅740px・注意書き15px） ===== */
:root {
  --content-width: 740px;
}
main {
  padding-left: 20px;
  padding-right: 20px;
}
article p,
article li {
  line-height: 1.85;
}
article p {
  margin-bottom: 24px;
}
article .pr-note {
  font-size: 15px;
}
.sources-body p,
.sources-body ul {
  font-size: 15px;
}
/* 画像の読み込みでレイアウトが動かないよう、縦横比を先に確保する */
.card-thumb img,
.eyecatch img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
/* 読書進捗バーは既存の #read-progress の仕組みを使う（ここでは追加しない） */
/* 前回の続きから読むピル */
.resume-pill {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e0dcd2;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  padding: 6px 6px 6px 18px;
}
body.has-sticky-cta .resume-pill {
  bottom: 96px;
}
.resume-pill button.go {
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #157347;
  cursor: pointer;
  padding: 8px 4px;
  min-height: 44px;
}
.resume-pill button.x {
  border: 0;
  background: #f3f1ec;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  color: #5c564c;
}
/* 記事途中の関連案内（1か所だけ・控えめに） */
.inline-related {
  margin: 28px 0;
  padding: 14px 16px;
  background: #f7f8f6;
  border-left: 4px solid #1e9e62;
  border-radius: 0 10px 10px 0;
}
.inline-related .ir-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #157347;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.inline-related a {
  font-weight: 700;
  color: #22251f;
  text-decoration: none;
  line-height: 1.6;
}
.inline-related .ir-desc {
  display: block;
  font-size: 0.9rem;
  color: #5c564c;
  margin-top: 2px;
  line-height: 1.7;
}

/* ===== イベントカレンダーの分かりやすさ改善：使い方の案内と凡例、イベントのない日を薄く ===== */
.event-cal-hint { margin: 0 0 4px; font-weight: 700; font-size: 0.95rem; line-height: 1.7; }
.event-cal-legend { margin: 0 0 12px; color: #5c564c; font-size: 0.85rem; line-height: 1.7; }
.event-cal-cell:not(.has-events):not(.is-selected) { color: #6f6a5f; }

/* ===== イベントカレンダー：日付タップでポップアップ表示（右上の×・背景タップ・Escで閉じる） ===== */
.event-cal-modal[hidden] { display: none; }
.event-cal-modal { position: fixed; inset: 0; z-index: 1300; }
.event-cal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.48); }
.event-cal-panel { position: absolute; left: 12px; right: 12px; bottom: 12px; max-height: 78vh; overflow: auto; background: #fff; border-radius: 16px; padding: 20px 18px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28); }
@media (min-width: 768px) {
  .event-cal-panel { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 560px; max-width: calc(100vw - 48px); }
}
.event-cal-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: #f3f1ec; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #111; }
.event-cal-panel .event-cal-detail-title { padding-right: 48px; }
.event-cal-link { font-weight: 700; line-height: 1.55; color: #157347; text-decoration: underline; text-underline-offset: 3px; }
