/* ════════════════════════════════════════════════════════════
   記事一覧・記事詳細（2026-10-13）— p-archive-* / p-article-* / p-aside-*
   デザインの正本はトップ（home.css / v010）。色・角丸・影・文字サイズは --v10-* をそのまま使い、
   記事固有の寸法だけ variables.css の --article-* に置く。
   ─ 一覧は「探しやすい編集メディア」：コンパクトな下層 hero → 件数と並び順 → 2 列の記事カード ＋ 右サイドバー
   ─ 詳細は「読みやすいWebメディア」：本文列 780px ＋ 右サイドバー 300px、本文 17px / 行間 1.95
   ─ 効かせる範囲は .p-archive / .p-article の中だけ。業者・地域・トップの共通部品は上書きしない
   ─ 緑 = 案内・リンク・現在地、オレンジ = 主要な行動（トップと同じ役割分担）。赤は使わない
   ════════════════════════════════════════════════════════════ */

/* ── 共通：外枠 ─────────────────────────────────── */
.p-archive-hero__inner,
.p-archive-body,
.p-article-layout,
.p-article-related__inner {
  width: 100%;
  max-width: calc(var(--article-wrap) + var(--v10-side) * 2);
  margin: 0 auto;
  padding: 0 var(--v10-side);
}

/* ── 共通：ボタン・下線リンク（トップの p-home-btn / p-home-more と同じ値。home.css はトップ専用なので記事側に持つ）── */
.p-article-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: var(--v10-btn-h);
  padding: 0 24px;
  border: 0;
  border-radius: var(--v10-radius-btn);
  font-family: var(--font-sans-jp);
  font-size: var(--v10-fs-cta);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}
.p-article-btn:hover { text-decoration: none; }
.p-article-btn--primary { background: var(--v10-orange-btn); color: #fff; }
.p-article-btn--primary:hover { background: var(--v10-orange-btn-hover); color: #fff; }
.p-article-btn--outline { background: #fff; color: var(--v10-green-deep); box-shadow: inset 0 0 0 1.5px var(--v10-green); }
.p-article-btn--outline:hover { background: var(--v10-mint); color: var(--v10-green-deep); }
.p-article-btn:focus-visible {
  outline: 2px solid var(--v10-orange-btn);
  outline-offset: 3px;
}
.p-article-more {
  /* inline-block にして矢印まで 1 本の下線でつなぐ（flex の gap だと下線が途切れる）。上下 10px で 44px の押せる高さ */
  display: inline-block;
  padding: 10px 0;
  line-height: 1.5;
  font-size: var(--v10-fs-link);
  font-weight: var(--font-weight-medium);
  color: var(--v10-green-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  white-space: nowrap;
}
.p-article-more:hover { color: var(--v10-green-deep); }

/* パンくず（hero の中。トップの補足文字と同じ色）*/
.p-archive .c-breadcrumb,
.p-article .c-breadcrumb {
  padding: 0;
  font-size: var(--v10-fs-small);
  line-height: 1.6;
  color: var(--v10-sub);
}
.p-archive .c-breadcrumb a,
.p-article .c-breadcrumb a { color: var(--v10-sub); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--v10-line-ad); }
.p-archive .c-breadcrumb a:hover,
.p-article .c-breadcrumb a:hover { color: var(--v10-green-link); }
.p-article .c-breadcrumb > span:last-child {
  /* 現在地（記事タイトル）は H1 と重複するので 1 行で切る */
  display: inline-block;
  max-width: 22em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* ════════ 記事一覧：下層 hero ═════════════════════════
   トップの目的セクションと同じクリーム地。灰色の大きな帯をやめ、高さは中身なり（PC で約 220px）。 */
.p-archive-hero {
  position: relative;
  overflow: hidden;
  background: var(--v10-cream-2);
  border-bottom: 1px solid var(--v10-line);
}
.p-archive-hero__inner {
  position: relative;
  padding-top: calc(var(--article-hero-y) - 8px);
  padding-bottom: var(--article-hero-y);
}
.p-archive-hero__kicker {
  margin: 18px 0 4px;
  font-size: var(--v10-fs-kicker);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--v10-green-link);
}
.p-archive-hero__title {
  text-wrap: balance;
  margin: 0;
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-h2);
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--v10-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.p-archive-hero__desc {
  max-width: 40em;
  margin-top: 8px;
  font-size: var(--v10-fs-lead);
  line-height: 1.75;
  color: var(--v10-sub);
}
.p-archive-hero__desc p { margin: 0; line-height: inherit; }
.p-archive-hero__leaf {
  position: absolute;
  top: 14px;               /* SP はパンくずの行の右端。説明文に重ねない */
  right: var(--v10-side);
  width: 32px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

/* ════════ 記事一覧：本体 ══════════════════════════════ */
.p-archive-body {
  padding-top: 28px;
  padding-bottom: 56px;
}
.p-archive-layout,
.p-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

/* カテゴリーの切り替え（SP・タブレット）。横に流し、はみ出しは入れ物の中だけでスクロールする */
.p-archive-chips { margin: 0 calc(var(--v10-side) * -1) 20px; }
.p-archive-chips ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 2px var(--v10-side) 6px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.p-archive-chips ul::-webkit-scrollbar { display: none; }
.p-archive-chips a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--v10-line-ad);
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-medium);
  color: var(--v10-text);
  text-decoration: none;
  white-space: nowrap;
}
.p-archive-chips a:hover { background: var(--v10-mint); color: var(--v10-green-deep); text-decoration: none; }
.p-archive-chips a.is-current { background: var(--v10-green-deep); box-shadow: none; color: #fff; font-weight: var(--font-weight-bold); }

/* 件数と並び順：古いタブではなく小さな segmented control */
.p-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
}
.p-archive-toolbar__count {
  margin: 0;
  font-size: var(--v10-fs-small);
  color: var(--v10-sub);
}
.p-archive-toolbar__count span {
  margin-right: 2px;
  font-family: var(--font-sans-en);
  font-size: 1.35em;
  font-weight: var(--font-weight-bold);
  color: var(--v10-ink);
}
.p-archive-sort {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--v10-chip);
  box-shadow: inset 0 0 0 1px var(--v10-line);
}
.p-archive-sort a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-medium);
  color: var(--v10-sub);
  text-decoration: none;
}
.p-archive-sort a:hover { color: var(--v10-green-deep); text-decoration: none; }
.p-archive-sort a.is-current {
  background: #fff;
  color: var(--v10-green-deep);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 1px 3px rgba(85, 88, 74, 0.16);
}
/* 並び順は 2 つ並びで 1 つが 44px 未満の高さになるので、押せる範囲を上下に広げる */
.p-archive-sort a { position: relative; }
.p-archive-sort a::after { content: ''; position: absolute; inset: -4px 0; }

.p-archive-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--article-list-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-archive-list > li { display: flex; }

.p-archive-empty {
  padding: 40px 24px;
  border: 1px dashed var(--v10-line-ad);
  border-radius: var(--v10-radius-card);
  background: var(--v10-cream-2);
  text-align: center;
}
.p-archive-empty p { margin: 0 0 20px; font-size: var(--v10-fs-body); line-height: 1.8; color: var(--v10-text); }

/* 品目別処分の案内（既存部品）を一覧のカードに合わせる */
.p-archive .c-item-index { border-radius: var(--v10-radius-card); margin-bottom: 32px; }

/* ════════ 記事カード（variant=media）════════════════
   トップの新着カード（p-home-post）と同じ並び：画像 → カテゴリー・日付 → 見出し → 抜粋 → 記事を読む */
.c-article-card--media {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px 12px 6px;
  border: 1px solid var(--v10-line);
  border-radius: var(--v10-radius-card);
  background: #fff;
  box-shadow: var(--v10-shadow-card);
  color: var(--v10-text);
  text-decoration: none;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.c-article-card--media:hover,
.c-article-card--media:focus-visible {
  transform: none;
  border-color: var(--v10-line-ad);
  box-shadow: var(--v10-shadow-card);
  color: var(--v10-text);
  text-decoration: none;
}
.c-article-card--media:focus-visible { outline: 2px solid var(--v10-orange-btn); outline-offset: 3px; border-radius: var(--v10-radius-card); }
.c-article-card--media:hover .c-article-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.c-article-card__visual {
  display: block;
  overflow: hidden;
  border-radius: var(--article-radius-sm);
  aspect-ratio: 16 / 9;
  background: var(--v10-footer);
}
.c-article-card--media .c-article-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}
/* 画像なし：ダミー写真は入れず、カテゴリーの面にカテゴリー名と葉を置く（トップの目的カードの面を流用） */
.c-article-card__brand {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
}
.c-article-card__brand--mint  { background: var(--v10-mint); }
.c-article-card__brand--leaf  { background: var(--v10-purpose-1); }
.c-article-card__brand--cream { background: var(--v10-cream); }
.c-article-card__brand--warm  { background: var(--v10-purpose-2); }
.c-article-card__brand-cat {
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-card);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: var(--v10-green-deep);
}
.c-article-card__brand-leaf {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: auto;
}
.c-article-card--media .c-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 14px 6px 0;
  font-size: var(--v10-fs-small);
  color: var(--v10-sub);
}
.c-article-card--media .c-article-card__cat {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 1px 10px;
  border-radius: 6px;
  background: var(--v10-chip-green);
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
  color: var(--v10-green-deep);
  white-space: nowrap;
}
.c-article-card--media .c-article-card__date { font-size: var(--v10-fs-small); color: var(--v10-sub); }
.c-article-card--media .c-article-card__title {
  display: -webkit-box;
  margin: 10px 6px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-card);
  font-weight: var(--font-weight-bold);
  line-height: 1.55;
  color: var(--v10-ink);
  text-wrap: pretty;
}
.c-article-card--media .c-article-card__excerpt {
  display: -webkit-box;
  margin: 8px 6px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--v10-fs-small);
  line-height: 1.75;
  color: var(--v10-sub);
}
.c-article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: var(--tap-min);
  margin: auto 6px 0;        /* 抜粋が短いカードでも「記事を読む」は下端にそろう */
  padding-top: 4px;
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-medium);
  color: var(--v10-green-link);
}

/* ── 一覧の行カード ────────────────────────────────
   一覧は「行」で並べる（左に小さな画像・右に見出し）。トップ SP の新着カード 2 枚目以降と同じ組み方。
   アイキャッチの多くは記事タイトルを載せた緑のタイトルカードで、大きく並べると同じ緑の面が続き
   どれも同じに見えるため、画像は見分けの手がかりに留め、見出しを主役にする（DESIGN_DECISIONS §2）。 */
.p-archive-list .c-article-card--media,
.p-article-related__list .c-article-card--media {
  display: grid;
  grid-template-columns: var(--article-row-thumb) minmax(0, 1fr);
  grid-template-areas:
    "visual meta"
    "visual title"
    "visual excerpt"
    "visual more";
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  column-gap: 14px;
  padding: 14px 14px 4px;
}
.p-archive-list .c-article-card__visual,
.p-article-related__list .c-article-card__visual { grid-area: visual; }
.p-archive-list .c-article-card__meta,
.p-article-related__list .c-article-card__meta { grid-area: meta; margin: 0; }
.p-archive-list .c-article-card__title,
.p-article-related__list .c-article-card__title { grid-area: title; margin: 6px 0 0; }
.p-archive-list .c-article-card__excerpt,
.p-article-related__list .c-article-card__excerpt { grid-area: excerpt; display: none; margin: 8px 0 0; }
.p-archive-list .c-article-card__more,
.p-article-related__list .c-article-card__more { grid-area: more; margin: 0; }
.p-archive-list .c-article-card__brand,
.p-article-related__list .c-article-card__brand { padding: 8px 10px; }
.p-archive-list .c-article-card__brand-cat,
.p-article-related__list .c-article-card__brand-cat { font-size: 12px; }
.p-archive-list .c-article-card__brand-leaf,
.p-article-related__list .c-article-card__brand-leaf { top: 8px; right: 8px; width: 20px; }

/* ════════ ページ送り ══════════════════════════════════
   トップと同じ丸み。現在地は深い緑、hover は薄い緑。押せる範囲は 44px 以上 */
.p-archive-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.p-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-width: var(--tap-min);
  height: var(--tap-min);
  padding: 0 12px;
  border: 1px solid var(--v10-line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font-sans-en), var(--font-sans-jp);
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-medium);
  color: var(--v10-text);
  text-decoration: none;
}
.p-archive-pagination a.page-numbers:hover { background: var(--v10-chip-green); border-color: var(--v10-line-ad); color: var(--v10-green-deep); text-decoration: none; }
.p-archive-pagination .page-numbers.current { background: var(--v10-green-deep); border-color: var(--v10-green-deep); color: #fff; }
.p-archive-pagination .page-numbers.dots { border-color: transparent; background: none; min-width: 24px; padding: 0; }
.p-archive-pagination .prev,
.p-archive-pagination .next { padding: 0 18px; color: var(--v10-green-deep); }

/* ════════ サイドバー ══════════════════════════════════ */
.p-article-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.p-aside-card {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--v10-line);
  border-radius: var(--v10-radius-card);
  background: #fff;
}
.p-aside-card__kicker {
  margin: 0 0 2px;
  font-size: var(--v10-fs-kicker);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--v10-green-link);
}
.p-aside-card__title {
  margin: 0 0 14px;
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-card);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  color: var(--v10-ink);
}
.p-aside-card__sub {
  margin: 20px 0 6px;
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-bold);
  color: var(--v10-sub);
}
.p-aside-card__text { margin: 0 0 16px; font-size: var(--v10-fs-small); line-height: 1.75; color: var(--v10-sub); }
.p-aside-card--cta { background: var(--v10-cream-2); border-color: var(--v10-line-ad); }
.p-aside-card--cta .p-aside-card__title { padding-right: 40px; }
.p-aside-card__leaf { position: absolute; top: 18px; right: 18px; width: 30px; height: auto; }
.p-aside-card__btn { width: 100%; padding: 0 16px; font-size: var(--v10-fs-link); }
.p-aside-card__more { margin-top: 6px; font-size: var(--v10-fs-small); }

/* 検索：白地＋淡い枠＋緑のアイコン */
.p-article-aside .c-search-form {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--v10-line-ad);
  border-radius: var(--radius-pill);
  background: #fff;
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.p-article-aside .c-search-form:focus-within { border-color: var(--v10-green); box-shadow: 0 0 0 3px var(--v10-chip-green); }
.p-article-aside .c-search-form__input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 0 0 16px;
  border: 0;
  background: transparent;
  font-size: 16px;   /* SP のフォーカス時拡大を避ける下限。プレースホルダーが 300px 幅に収まる大きさ */
  color: var(--v10-text);
}
.p-article-aside .c-search-form__input::placeholder { color: var(--v10-check-off); }
.p-article-aside .c-search-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--v10-green-deep);
  cursor: pointer;
}
.p-article-aside .c-search-form__btn .c-icon-svg { width: 20px; height: 20px; }
.p-article-aside .c-search-form__btn:hover { color: var(--v10-orange-btn); }

/* カテゴリー：件数は小さく、現在地は緑の面 */
.p-aside-cats { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.p-aside-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 0 12px;
  border-radius: 10px;
  font-size: var(--v10-fs-link);
  color: var(--v10-text);
  text-decoration: none;
}
.p-aside-cats a:hover { background: var(--v10-mint); color: var(--v10-green-deep); text-decoration: none; }
.p-aside-cats a.is-current { background: var(--v10-chip-green); color: var(--v10-green-deep); font-weight: var(--font-weight-bold); }
.p-aside-cats__count {
  min-width: 2.2em;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--v10-chip);
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.8;
  text-align: center;
  color: var(--v10-sub);
}
.p-aside-cats a.is-current .p-aside-cats__count { background: #fff; }

/* ════════ 記事詳細：hero ═════════════════════════════ */
.p-article { padding-top: 20px; }
.p-article-hero { padding: 0 0 4px; }
.p-article-hero .c-breadcrumb { margin-bottom: 20px; }
.p-article-hero__cat {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 2px 14px;
  border-radius: var(--radius-pill);
  background: var(--v10-chip-green);
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-bold);
  color: var(--v10-green-deep);
  text-decoration: none;
}
.p-article-hero__cat:hover { background: var(--v10-purpose-1); color: var(--v10-green-deep); text-decoration: none; }
.p-article-hero__title {
  max-width: 24em;
  margin: 14px 0 0;
  font-family: var(--v10-font-round);
  font-size: var(--article-fs-title);
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--v10-ink);
  word-break: auto-phrase;
}
.p-article-hero__lead {
  margin: 16px 0 0;
  font-size: var(--v10-fs-lead);
  line-height: 1.85;
  color: var(--v10-sub);
}
.p-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 16px;
  font-size: var(--v10-fs-small);
  color: var(--v10-sub);
}
.p-article-hero__meta time { margin-left: 0.3em; font-family: var(--font-sans-en), var(--font-sans-jp); color: var(--v10-text); }

/* PR 表記：淡いクリーム地・薄い枠・PR は小さな枠線のラベル。警告色は使わない */
.c-pr-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid var(--v10-line-ad);
  border-radius: var(--article-radius-sm);
  background: var(--v10-cream);
  font-size: 14px;
  line-height: 1.7;
  color: var(--v10-text);
}
.c-pr-notice__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-top: 1px;
  padding: 0 7px;
  border: 1px solid var(--v10-sub);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-sans-en);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--v10-text);
}

/* アイキャッチ */
.p-article-thumb { margin: 24px 0 0; }
.p-article-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--v10-radius-card);
}

/* 目次（details / summary だけ。JS を足さない） */
.p-article-toc {
  margin: 28px 0 0;
  border: 1px solid var(--v10-line);
  border-radius: var(--v10-radius-card);
  background: var(--v10-mint);
}
.p-article-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px 0 20px;
  cursor: pointer;
  list-style: none;
}
.p-article-toc__summary::-webkit-details-marker { display: none; }
.p-article-toc__summary:focus-visible { outline: 2px solid var(--v10-orange-btn); outline-offset: 2px; border-radius: var(--v10-radius-card); }
.p-article-toc__title {
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-card);
  font-weight: var(--font-weight-bold);
  color: var(--v10-ink);
}
.p-article-toc__title::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -1px;
  background: url('../images/home/leaf-card.webp') center / contain no-repeat;
}
.p-article-toc__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--v10-line-ad);
}
.p-article-toc__toggle::before,
.p-article-toc__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--v10-green-deep);
}
.p-article-toc__toggle::after { transform: rotate(90deg); }
.p-article-toc details[open] .p-article-toc__toggle::after { display: none; }
.p-article-toc__list {
  margin: 0;
  padding: 2px 20px 18px 20px;
  list-style: none;
  counter-reset: toc;
}
.p-article-toc__list li { counter-increment: toc; border-top: 1px dashed var(--v10-line-2); }
.p-article-toc__list a {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: var(--v10-fs-link);
  line-height: 1.6;
  color: var(--v10-text);
  text-decoration: none;
}
.p-article-toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  flex-shrink: 0;
  min-width: 1.6em;
  font-family: var(--font-sans-en);
  font-weight: var(--font-weight-bold);
  color: var(--v10-green-link);
}
.p-article-toc__list a:hover { color: var(--v10-green-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ════════ 記事詳細：本文 ═════════════════════════════ */
.p-article .p-entry {
  margin-top: 32px;
  font-size: var(--article-fs-body);
  line-height: var(--article-lh-body);
  letter-spacing: 0.02em;
  color: var(--v10-text);
}
.p-article .p-entry > :first-child { margin-top: 0; }
.p-article .p-entry p { margin: 0 0 1.4em; line-height: inherit; }
.p-article .p-entry a { color: var(--v10-green-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.p-article .p-entry a:hover { color: var(--v10-green-deep); text-decoration-thickness: 2px; }
.p-article .p-entry strong { font-weight: var(--font-weight-bold); background: linear-gradient(transparent 62%, var(--v10-chip-green) 62%); }

/* H2：トップのセクション見出しと同じ丸ゴシック。左に小さな葉、上に細い区切り。ベタ塗りの帯は使わない */
.p-article .p-entry h2 {
  position: relative;
  margin: 2.6em 0 0.9em;
  padding: 26px 0 0 34px;
  border: 0;
  border-top: 1px solid var(--v10-line-2);
  font-family: var(--v10-font-round);
  font-size: var(--article-fs-h2);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--v10-ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.p-article .p-entry h2::before {
  content: '';
  position: absolute;
  top: calc(26px + 0.2em);
  left: 0;
  width: 24px;
  height: 22px;
  background: url('../images/home/leaf-card.webp') center / contain no-repeat;
}
.p-article .p-entry h2::after {
  /* 区切り線の左端だけ緑→オレンジの短いアクセント（トップの FV 下線の色の組み合わせ） */
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--v10-green) 0 70%, var(--v10-orange) 70% 100%);
}
/* H3：左の短い線だけ。H2 より明確に弱く */
.p-article .p-entry h3 {
  margin: 2em 0 0.7em;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--v10-green);
  font-size: var(--article-fs-h3);
  font-weight: var(--font-weight-bold);
  line-height: 1.55;
  color: var(--v10-ink);
}
.p-article .p-entry h4 { margin: 1.6em 0 0.5em; font-size: var(--article-fs-body); font-weight: var(--font-weight-bold); color: var(--v10-ink); }

/* リスト */
.p-article .p-entry ul,
.p-article .p-entry ol { margin: 0 0 1.4em; padding: 16px 20px 16px 2.2em; border-radius: var(--article-radius-sm); background: var(--v10-card-faq); }
.p-article .p-entry li { margin: 0 0 0.35em; line-height: 1.85; }
.p-article .p-entry li:last-child { margin-bottom: 0; }
.p-article .p-entry ul { list-style: none; padding-left: 20px; }
.p-article .p-entry ul > li { position: relative; padding-left: 18px; }
.p-article .p-entry ul > li::before {
  content: '';
  position: absolute;
  top: 0.78em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v10-green);
}
.p-article .p-entry ol { list-style: decimal; }
.p-article .p-entry ol > li::marker { font-family: var(--font-sans-en); font-weight: var(--font-weight-bold); color: var(--v10-green-link); }

/* 引用・注記（information = 薄い緑 / attention = 薄いベージュ） */
.p-article .p-entry blockquote {
  margin: 0 0 1.4em;
  padding: 16px 20px;
  border: 0;
  border-left: 3px solid var(--v10-line-ad);
  border-radius: 0 var(--article-radius-sm) var(--article-radius-sm) 0;
  background: var(--v10-mint);
  color: var(--v10-text);
}
.p-article .p-entry .is-note,
.p-article .p-entry .p-entry-box--info { margin: 0 0 1.4em; padding: 16px 20px; border-radius: var(--article-radius-sm); background: var(--v10-mint); border: 1px solid var(--v10-line); }
.p-article .p-entry .is-warning,
.p-article .p-entry .p-entry-box--attention { margin: 0 0 1.4em; padding: 16px 20px; border-radius: var(--article-radius-sm); background: var(--v10-cream); border: 1px solid var(--v10-line-ad); }

/* 画像・キャプション */
.p-article .p-entry img { height: auto; border-radius: var(--article-radius-sm); }
.p-article .p-entry figure { margin: 0 0 1.6em; }
.p-article .p-entry figcaption { margin-top: 8px; font-size: var(--v10-fs-small); color: var(--v10-sub); text-align: center; }

/* 表：入れ物の中だけ横スクロール（SP）。見出し列は淡い緑 */
.p-entry-table {
  margin: 0 0 1.6em;
  overflow-x: auto;
  border: 1px solid var(--v10-line);
  border-radius: var(--article-radius-sm);
  -webkit-overflow-scrolling: touch;
}
.p-entry-table:focus-visible { outline: 2px solid var(--v10-orange-btn); outline-offset: 2px; }
.p-article .p-entry table {
  width: 100%;
  min-width: 600px;   /* SP では入れ物の中で横に動かす。列を潰して 1 文字ずつ折り返させない */
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
.p-article .p-entry th,
.p-article .p-entry td {
  min-width: 6.5em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--v10-line);
  text-align: left;
  vertical-align: top;
}
.p-article .p-entry tr:last-child td { border-bottom: 0; }
.p-article .p-entry thead th,
.p-article .p-entry tr:first-child > th {
  background: var(--v10-chip-green);
  font-weight: var(--font-weight-bold);
  color: var(--v10-green-deep);
}
.p-article .p-entry tbody tr:nth-child(even) td { background: var(--v10-card-faq); }

/* 本文中のボタン（.wp-block-button） */
.p-article .p-entry .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--v10-btn-h);
  padding: 0 24px;
  border-radius: var(--v10-radius-btn);
  background: var(--v10-orange-btn);
  color: #fff;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}

/* ════════ 提携広告（七福神）：外側だけトップに合わせる。提供コードの中身には触れない ═══ */
.p-article .c-article-partner {
  margin: 48px 0 0;
  padding: 24px 20px 20px;
  border: 1px solid var(--v10-line-ad);
  border-radius: var(--v10-radius-card);
  background: var(--v10-cream-2);
}
.c-article-partner__brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 1px 12px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--v10-line-ad);
  font-size: var(--v10-fs-small);
  font-weight: var(--font-weight-bold);
  line-height: 1.7;
  color: var(--v10-green-head);
}
.p-article .c-article-partner__title {
  text-wrap: balance;
  margin: 12px 0 8px;
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-card);
  line-height: 1.55;
  color: var(--v10-ink);
}
.p-article .c-article-partner__text { font-size: var(--v10-fs-body); color: var(--v10-text); }
.p-article .c-article-partner__media { margin: 18px 0 12px; }
.p-article .c-article-partner__slot--banner { border-radius: 4px; background: #fff; }
.p-article .c-article-partner__slot--text a { color: var(--v10-orange-ad); text-underline-offset: 4px; }
.p-article .c-article-partner__note { font-size: var(--v10-fs-small); line-height: 1.75; }
.p-article .c-article-partner__offline { border-color: var(--v10-line-ad); background: #fff; color: var(--v10-sub); }

/* ════════ 記事詳細：FAQ（トップの FAQ と同じカード）═════════ */
.p-article-faq { margin-top: 56px; }
.p-article-faq .l-section__heading { margin-bottom: 20px; text-align: left; }
.p-article-faq .l-section__heading h2 {
  display: flex;
  padding: 0;
  font-family: var(--v10-font-round);
  font-size: var(--article-fs-h2);
  color: var(--v10-ink);
}
.p-article-faq .l-section__heading h2::after { display: none; }
.p-article-faq .l-section__heading-icon { background: var(--v10-chip-green); color: var(--v10-green-deep); }
.p-article-faq .c-faq-list { gap: 12px; }
.p-article-faq .c-faq-item { border: 1px solid var(--v10-line); border-radius: 12px; background: #fff; }
.p-article-faq .c-faq-item:has(> .c-faq-question[aria-expanded="true"]) { background: var(--v10-card-faq); }
.p-article-faq .c-faq-question {
  min-height: 64px;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-faq);
  line-height: 1.6;
  color: var(--v10-ink);
}
.p-article-faq .c-faq-question:hover { background: transparent; }
.p-article-faq .c-faq-question:focus-visible { outline: 2px solid var(--v10-orange-btn); outline-offset: 2px; }
.p-article-faq .c-faq-question::after {
  /* トップの FAQ と同じ丸いアイコン（＋／－の線は既存部品のまま、地だけ足す） */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(var(--v10-green-deep), var(--v10-green-deep)) center / 14px 2px no-repeat,
    linear-gradient(var(--v10-green-deep), var(--v10-green-deep)) center / 2px 14px no-repeat,
    var(--v10-chip);
}
.p-article-faq .c-faq-question.is-open::after {
  background:
    linear-gradient(var(--v10-green-deep), var(--v10-green-deep)) center / 14px 2px no-repeat,
    var(--v10-chip-green);
}
.p-article-faq .c-faq-answer { padding: 0 18px 18px; }
.p-article-faq .c-faq-answer p { padding-top: 14px; border-top: 1px solid var(--v10-line); font-size: var(--v10-fs-body); line-height: 1.85; color: var(--v10-text); }

/* ════════ 記事詳細：業者比較 CTA（トップ最後の地域入口と同じ）═══════ */
.p-article .p-article-cta {
  position: relative;
  margin: 56px 0 0;
  padding: 32px 20px 28px;
  border: 1px solid var(--v10-line);
  border-radius: var(--v10-radius-card);
  background: var(--v10-cream-2);
  text-align: center;
}
.p-article-cta__leaf { display: block; width: 32px; height: auto; margin: 0 auto 10px; }
.p-article-cta__kicker { margin: 0 0 4px; font-size: var(--v10-fs-kicker); font-weight: var(--font-weight-medium); letter-spacing: 0.08em; color: var(--v10-green-link); }
.p-article .p-article-cta__heading {
  text-wrap: balance;
  margin: 0 0 20px;
  font-family: var(--v10-font-round);
  font-size: var(--v10-fs-h2);
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
  color: var(--v10-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.p-article-cta__btns { display: grid; gap: 12px; max-width: 400px; margin: 0 auto; }
.p-article-cta__btns .p-article-btn { width: 100%; }
.p-article .c-article-contact-note { margin-top: 12px; font-size: var(--v10-fs-small); color: var(--v10-sub); }
.p-article .c-article-contact-note a { color: var(--v10-green-link); text-decoration: underline; text-underline-offset: 3px; }

/* 前後の記事 */
.p-article .p-article-postnav { margin: 40px 0 0; gap: 12px; }
.p-article .c-post-nav__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid var(--v10-line);
  border-radius: 12px;
  background: #fff;
}
.p-article .c-post-nav__link:hover { border-color: var(--v10-line-ad); background: var(--v10-mint); box-shadow: none; }
.p-article .c-post-nav__label { font-size: var(--v10-fs-small); font-weight: var(--font-weight-medium); color: var(--v10-green-link); }
.p-article .c-post-nav__title { -webkit-line-clamp: 2; font-size: var(--v10-fs-small); line-height: 1.6; color: var(--v10-text); }

/* ════════ 関連記事（トップ H06 と同じミントの帯）════════════ */
.p-article-related {
  margin-top: 64px;
  padding: 48px 0 56px;
  background: var(--v10-mint);
}
.p-article-related__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 16px;
}
.p-article-related__kicker { grid-column: 1; margin: 0; font-size: var(--v10-fs-kicker); font-weight: var(--font-weight-medium); letter-spacing: 0.08em; color: var(--v10-green-link); }
.p-article-related__title { grid-column: 1; margin: 0; font-family: var(--v10-font-round); font-size: var(--v10-fs-h2); font-weight: var(--font-weight-bold); line-height: 1.45; color: var(--v10-ink); }
.p-article-related__all { grid-column: 2; grid-row: 1 / span 2; }
.p-article-related__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--article-list-gap);
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.p-article-related__list > li { display: flex; }

/* ════════════════════════════════════════════════════
   タブレット（600px 以上）— カードは 2 列
   ════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  /* 一覧の行カード：画像を大きくし、抜粋を出す */
  .p-archive-list .c-article-card--media { column-gap: 22px; padding: 18px 20px 6px 18px; }
  .p-archive-list .c-article-card__excerpt { display: -webkit-box; }
  .p-archive-list .c-article-card__brand { padding: 14px 16px; }
  .p-archive-list .c-article-card__brand-cat { font-size: var(--v10-fs-small); }
  .p-archive-list .c-article-card__brand-leaf { top: 12px; right: 12px; width: 28px; }
  /* 関連記事は 600px から縦型カード 2 列（PC は 3 列）。トップ H06 の PC と同じ */
  .p-article-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-article-related__list .c-article-card--media { display: flex; padding: 12px 12px 4px; }
  .p-article-related__list .c-article-card__meta { margin: 14px 6px 0; }
  .p-article-related__list .c-article-card__title { margin: 10px 6px 0; }
  .p-article-related__list .c-article-card__more { margin: auto 6px 0; }
  .p-article-related__list .c-article-card__brand { padding: 16px 18px; }
  .p-article-related__list .c-article-card__brand-cat { font-size: var(--v10-fs-card); }
  .p-article-related__list .c-article-card__brand-leaf { top: 14px; right: 16px; width: 34px; }
  .p-archive-hero__leaf { top: auto; bottom: 20px; width: 52px; }
  .p-aside-card--cta .p-aside-card__title br { display: none; }
  .p-article .p-article-cta { padding: 40px 32px 36px; }
  .p-article .c-article-partner { padding: 28px 28px 24px; }
}
/* 768〜1023：サイドバーは本文の後ろで 2 枚横並び */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .p-article-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .p-aside-card--cta .p-aside-card__title br { display: inline; }
}

/* ════════════════════════════════════════════════════
   PC（1024px 以上）— 本文列 ＋ 右サイドバー
   ════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .p-archive-hero__inner { padding-top: calc(var(--article-hero-y) - 12px); padding-right: 140px; }
  .p-archive-hero__leaf { right: calc(var(--v10-side) + 24px); bottom: 28px; width: 72px; }
  .p-archive-hero__kicker { margin-top: 28px; }
  .p-archive-body { padding-top: 40px; padding-bottom: 96px; }
  .p-archive-chips { display: none; }   /* PC は右サイドバーのカテゴリーを使う */

  .p-archive-layout {
    grid-template-columns: minmax(0, 1fr) var(--article-aside);
    gap: var(--article-gap);
    align-items: start;
  }
  .p-article-layout {
    grid-template-columns: minmax(0, var(--article-main)) var(--article-aside);
    justify-content: center;
    gap: var(--article-gap);
  }

  /* hover は PC だけ軽く浮かせる（SP はタップ時のちらつきを避ける） */
  .c-article-card--media:hover { transform: translateY(-3px); box-shadow: var(--v10-shadow-panel); }
  .c-article-card--media:hover .c-article-card__thumb { transform: scale(1.02); }

  /* サイドバーは本文の高さまで伸ばし、業者ランキングのカードだけ追従させる（ヘッダーの下に止める）。
     「記事を探す」まで追従させると、カテゴリーが増えたときに低い画面で下端が切れる */
  .p-article-aside { align-self: stretch; grid-template-rows: auto 1fr; }
  .p-article-aside .p-aside-card--cta { position: sticky; top: var(--article-sticky-top); align-self: start; }

  .p-article { padding-top: 28px; }
  .p-article-hero .c-breadcrumb { margin-bottom: 28px; }
  .p-article-hero__title { margin-top: 18px; }
  .p-article-thumb { margin-top: 32px; }
  .p-article-toc { margin-top: 36px; }
  .p-article .p-entry { margin-top: 40px; }

  .p-article-related { margin-top: 96px; padding: 80px 0 88px; }
  .p-article-related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
  .p-article-related__inner { max-width: calc(var(--article-main) + var(--article-aside) + var(--article-gap) + var(--v10-side) * 2); }
}

/* SP の固定 CTA バーの見た目は cta.css（サイト共通・2026-10-13 に統一）。ここでは上書きしない */
