/* =========================================================
   予約システム記事（rs_guide）の白基調デザイン。2026-09-28
   トップページ（/system/）と同じ LP ヘッダー・フッターを使い、
   白背景・黒文字・グレーの罫線だけで組む。
   既存の reserve-system.css（暗色）より後に読み込み、記事内だけを上書きする。
   ========================================================= */

body.ts-rs-article {
  --a-ink:   #121212;
  --a-text:  #2b2d31;
  --a-muted: #5f6368;
  --a-faint: #8a8d91;
  --a-line:  #e4e5e7;
  --a-soft:  #f7f8f9;
  --a-soft2: #eef0f2;
  background: #fff;
  color: var(--a-text);
}
body.ts-rs-article .ts-rs { background: #fff; color: var(--a-text); }

/* ---- 枠 ---- */
body.ts-rs-article .ts-rs-article-shell {
  width: min(calc(100% - 40px), 760px);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) 0 0;
}

/* ---- パンくず ---- */
body.ts-rs-article .ts-breadcrumbs {
  width: auto; margin: 0 0 28px; padding: 0;
  font-size: 12px; line-height: 1.8; color: var(--a-faint); letter-spacing: .02em;
}
body.ts-rs-article .ts-breadcrumbs a { color: var(--a-muted); text-decoration: none; }
body.ts-rs-article .ts-breadcrumbs a:hover { color: var(--a-ink); text-decoration: underline; }

/* ---- 記事の頭 ---- */
body.ts-rs-article .ts-rs-article-header { margin: 0 0 40px; padding-bottom: 36px; border-bottom: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-article-header .ts-kicker {
  display: inline-block; margin: 0 0 18px; padding: 4px 10px;
  background: var(--a-ink); color: #fff;
  font: 700 11px/1.4 Lato, sans-serif; letter-spacing: .16em;
}
body.ts-rs-article .ts-rs-article-header h1 {
  margin: 0; color: var(--a-ink);
  font-size: clamp(26px, 4.2vw, 38px); font-weight: 700; line-height: 1.45; letter-spacing: .01em;
}
body.ts-rs-article .ts-rs-summary {
  margin: 24px 0 0; padding: 0; border: 0; background: none;
  color: var(--a-muted); font-size: 15px; line-height: 1.95;
}
body.ts-rs-article .ts-rs-meta { margin: 18px 0 0; color: var(--a-faint); font-size: 12.5px; }

/* ---- 目次 ---- */
body.ts-rs-article .ts-rs-toc {
  margin: 0 0 48px; padding: 24px 26px;
  border: 1px solid var(--a-line); background: var(--a-soft);
}
body.ts-rs-article .ts-rs-toc h2 { margin: 0 0 12px; color: var(--a-ink); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
body.ts-rs-article .ts-rs-toc ol { margin: 0; padding-left: 1.4em; color: var(--a-muted); line-height: 2; columns: 1; }
body.ts-rs-article .ts-rs-toc a { color: var(--a-text); text-decoration: none; font-size: 14.5px; }
body.ts-rs-article .ts-rs-toc a:hover { color: var(--a-ink); text-decoration: underline; }

/* ---- 本文 ---- */
body.ts-rs-article .ts-rs-prose { color: var(--a-text); font-size: 16px; line-height: 2; letter-spacing: .01em; }
body.ts-rs-article .ts-rs-prose > :first-child { margin-top: 0; }
body.ts-rs-article .ts-rs-prose h2 {
  margin: 2.8em 0 1em; padding: 0 0 .55em; border-bottom: 2px solid var(--a-ink);
  color: var(--a-ink); font-size: clamp(21px, 3vw, 26px); font-weight: 700; line-height: 1.5;
}
body.ts-rs-article .ts-rs-prose h3 {
  margin: 2.2em 0 .7em; padding-left: 12px; border-left: 3px solid var(--a-ink);
  color: var(--a-ink); font-size: 18px; font-weight: 700; line-height: 1.6;
}
body.ts-rs-article .ts-rs-prose p,
body.ts-rs-article .ts-rs-prose ul,
body.ts-rs-article .ts-rs-prose ol { margin: 1.2em 0; }
body.ts-rs-article .ts-rs-prose ul,
body.ts-rs-article .ts-rs-prose ol { padding-left: 1.4em; }
body.ts-rs-article .ts-rs-prose li { margin: .45em 0; }
body.ts-rs-article .ts-rs-prose li::marker { color: var(--a-faint); }
body.ts-rs-article .ts-rs-prose strong { color: var(--a-ink); font-weight: 700; background: linear-gradient(transparent 62%, #eef0f2 62%); }
body.ts-rs-article .ts-rs-prose a { color: var(--a-ink); text-decoration: underline; text-underline-offset: 3px; }
body.ts-rs-article .ts-rs-prose a:hover { color: var(--a-muted); }

/* 表 */
body.ts-rs-article .ts-rs-prose table { display: table; width: 100%; margin: 1.6em 0 .6em; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
body.ts-rs-article .ts-rs-prose caption { margin-bottom: 10px; color: var(--a-muted); font-size: 12.5px; text-align: left; }
body.ts-rs-article .ts-rs-prose th,
body.ts-rs-article .ts-rs-prose td { min-width: 0; padding: 12px 14px; border: 1px solid var(--a-line); text-align: left; vertical-align: top; color: var(--a-text); background: #fff; }
body.ts-rs-article .ts-rs-prose thead th { background: var(--a-soft); color: var(--a-ink); font-weight: 700; }
@media (max-width: 640px) {
  body.ts-rs-article .ts-rs-prose table { display: block; overflow-x: auto; white-space: normal; }
  body.ts-rs-article .ts-rs-prose th, body.ts-rs-article .ts-rs-prose td { min-width: 120px; }
}

/* 条件別のおすすめ（定義リスト） */
body.ts-rs-article .ts-rs-deflist { margin: 1.4em 0; border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-deflist dt { margin: 0; padding: 18px 0 6px; color: var(--a-ink); font-weight: 700; line-height: 1.7; }
body.ts-rs-article .ts-rs-deflist dd { margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--a-line); color: var(--a-text); line-height: 1.95; }

/* ---- 比較図（ショートコード） ---- */
body.ts-rs-article .ts-rs-cmp { gap: 22px; margin: 1.6em 0; }
body.ts-rs-article .ts-rs-cmp__case,
body.ts-rs-article .ts-rs-honest { border-left: 3px solid var(--a-ink); background: var(--a-soft); color: var(--a-text); }
body.ts-rs-article .ts-rs-cmp__case b,
body.ts-rs-article .ts-rs-honest b { color: var(--a-ink); }
body.ts-rs-article .ts-rs-cmp__fig { border: 1px solid var(--a-line); background: #fff; }
body.ts-rs-article .ts-rs-cmp__fig figcaption { color: var(--a-muted); }
body.ts-rs-article .ts-rs-cmp__fig figcaption strong { background: none; }
body.ts-rs-article .cmp-grid { stroke: #eef0f2; }
body.ts-rs-article .cmp-axis { stroke: #c4c6c9; }
body.ts-rs-article .cmp-ax { fill: var(--a-faint); }
body.ts-rs-article .cmp-dot { fill: #b9bcc0; }
body.ts-rs-article .cmp-dot.is-ours { fill: var(--a-ink); }
body.ts-rs-article .cmp-name { fill: var(--a-text); }
body.ts-rs-article .cmp-name.is-ours { fill: var(--a-ink); }
body.ts-rs-article .cmp-val { fill: var(--a-muted); }
body.ts-rs-article .ts-rs-cmp__read { background: var(--a-line); }
body.ts-rs-article .ts-rs-cmp__read > div { background: #fff; }
body.ts-rs-article .ts-rs-cmp__read > div.is-lead { background: var(--a-soft); border-left: 3px solid var(--a-ink); }
body.ts-rs-article .ts-rs-cmp__read-l { color: var(--a-muted); }
body.ts-rs-article .ts-rs-cmp__read-v { color: var(--a-ink); font-weight: 700; }
body.ts-rs-article .ts-rs-cmp__read-n { color: var(--a-text); }
body.ts-rs-article .ts-rs-cmp__read-n strong { color: var(--a-ink); background: none; }
body.ts-rs-article .ts-rs-cmp-wrap { margin: 0; }
body.ts-rs-article .ts-rs-cmp-table { display: table; margin: 0; }
body.ts-rs-article .ts-rs-cmp-table th,
body.ts-rs-article .ts-rs-cmp-table td { border: 1px solid var(--a-line); background: #fff; color: var(--a-text); text-align: center; vertical-align: middle; }
body.ts-rs-article .ts-rs-cmp-table thead th { background: var(--a-soft); color: var(--a-ink); }
body.ts-rs-article .ts-rs-cmp-table tbody th { background: var(--a-soft); color: var(--a-text); text-align: left; }
body.ts-rs-article .ts-rs-cmp-table thead th.is-ours { background: var(--a-ink); color: #fff; }
body.ts-rs-article .ts-rs-cmp-table td.is-ours { background: #f3f4f5; color: var(--a-ink); font-weight: 700; }
body.ts-rs-article .ts-rs-cmp-table .cap-2 { color: var(--a-ink); }
body.ts-rs-article .ts-rs-cmp-table .cap-1 { color: var(--a-muted); }
body.ts-rs-article .ts-rs-cmp-table .cap-0 { color: #c4c6c9; }
body.ts-rs-article .ts-rs-cmp-table tr.is-total th,
body.ts-rs-article .ts-rs-cmp-table tr.is-total td { background: var(--a-soft); color: var(--a-ink); }
body.ts-rs-article .ts-rs-cmp-table tr.is-total td.is-ours { background: #e9ebed; color: var(--a-ink); }
body.ts-rs-article .ts-rs-cmp-table small { color: var(--a-muted); font-weight: 400; }
body.ts-rs-article .ts-rs-cmp__legend,
body.ts-rs-article .ts-rs-note { color: var(--a-muted); font-size: 12.5px; line-height: 1.85; }
body.ts-rs-article .ts-rs-fit { border: 1px solid var(--a-line); padding: 22px 24px; }
body.ts-rs-article .ts-rs-fit h3 { margin: 0 0 10px; padding: 0; border: 0; font-size: 16px; }
body.ts-rs-article .ts-rs-fit dl { margin: 0; }
body.ts-rs-article .ts-rs-fit dl > div { padding: 14px 0; border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-fit dt { color: var(--a-ink); font-weight: 700; }
body.ts-rs-article .ts-rs-fit dd { margin: 4px 0 0; color: var(--a-text); line-height: 1.9; font-size: 14.5px; }
body.ts-rs-article .ts-rs-fit .is-ours dt::after { content: "当社"; margin-left: 8px; padding: 1px 6px; background: var(--a-ink); color: #fff; font-size: 10.5px; vertical-align: 2px; }
body.ts-rs-article .ts-rs-disclosure { margin: 0; color: var(--a-muted); font-size: 13px; line-height: 1.9; }
body.ts-rs-article .ts-rs-disclosure b { color: var(--a-ink); }

/* ---- 記事の後ろのブロック ---- */
body.ts-rs-article .ts-rs-section { margin: 56px 0 0; padding: 0; border: 0; background: none; }
body.ts-rs-article .ts-rs-section > h2,
body.ts-rs-article .ts-rs-author > h2 {
  margin: 0 0 18px; padding: 0 0 .5em; border-bottom: 2px solid var(--a-ink);
  color: var(--a-ink); font-size: 20px; font-weight: 700; line-height: 1.5;
}
body.ts-rs-article .ts-kicker { color: var(--a-faint); font: 700 11px/1 Lato, sans-serif; letter-spacing: .18em; margin: 0 0 8px; }

/* 料金 */
body.ts-rs-article .ts-rs-current-price { padding: 26px 26px 28px; border: 1px solid var(--a-ink); }
body.ts-rs-article .ts-rs-current-price > h2 { border: 0; padding: 0; margin: 0 0 12px; font-size: 16px; }
body.ts-rs-article .ts-rs-current-price p { margin: 0 0 8px; color: var(--a-text); line-height: 1.9; }
body.ts-rs-article .ts-rs-current-price strong { color: var(--a-ink); font-size: 17px; }
body.ts-rs-article .ts-rs-current-price a { display: inline-block; margin-top: 8px; color: var(--a-ink); font-weight: 700; font-size: 14px; }

/* FAQ */
body.ts-rs-article .ts-rs-faq details { border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-faq details:last-of-type { border-bottom: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-faq summary { color: var(--a-ink); padding: 20px 36px 20px 30px; }
body.ts-rs-article .ts-rs-faq summary::before { content: "Q"; position: absolute; left: 0; top: 20px; font: 700 15px/1.7 Lato, sans-serif; color: var(--a-ink); }
body.ts-rs-article .ts-rs-faq summary::after { border-color: var(--a-ink); }
body.ts-rs-article .ts-rs-faq details div { padding: 0 0 22px 30px; color: var(--a-text); font-size: 15px; line-height: 1.95; }
body.ts-rs-article .ts-rs-faq details div p { margin: 0; }

/* 著者 */
body.ts-rs-article .ts-rs-author { margin: 56px 0 0; padding: 22px 24px; border: 1px solid var(--a-line); background: var(--a-soft); color: var(--a-muted); font-size: 13.5px; }
body.ts-rs-article .ts-rs-author > h2 { border: 0; padding: 0; margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; color: var(--a-faint); }
body.ts-rs-article .ts-rs-author p { margin: 0 0 4px; }
body.ts-rs-article .ts-rs-author strong { color: var(--a-ink); font-size: 16px; }

/* 関連記事 */
body.ts-rs-article .ts-rs-card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
body.ts-rs-article .ts-rs-card { display: block; padding: 18px 20px; border: 1px solid var(--a-line); background: #fff; color: var(--a-ink); text-decoration: none; transition: border-color .2s; }
body.ts-rs-article .ts-rs-card:hover,
body.ts-rs-article .ts-rs-card:focus-visible { border-color: var(--a-ink); background: #fff; }
body.ts-rs-article .ts-rs-card span { display: block; margin-bottom: 6px; color: var(--a-faint); font: 700 10.5px/1 Lato, "Noto Sans JP", sans-serif; letter-spacing: .12em; }
body.ts-rs-article .ts-rs-card h3 { margin: 0; color: var(--a-ink); font-size: 15px; font-weight: 700; line-height: 1.65; }
@media (min-width: 768px) { body.ts-rs-article .ts-rs-card-grid { grid-template-columns: repeat(3, 1fr); } }

/* 申込の案内 */
body.ts-rs-article .ts-rs-cta { margin: 64px 0 clamp(56px, 8vw, 96px); padding: 40px 32px 42px; background: var(--a-ink); color: #fff; }
body.ts-rs-article .ts-rs-cta .ts-kicker { color: #9ea1a6; }
body.ts-rs-article .ts-rs-cta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(22px, 3.4vw, 28px); font-weight: 700; }
body.ts-rs-article .ts-rs-cta p { margin: 0 0 24px; color: #d7d9dc; font-size: 14.5px; line-height: 1.9; }
body.ts-rs-article .ts-rs-cta .ts-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border: 1px solid #fff; background: #fff; color: var(--a-ink); font-weight: 700; text-decoration: none;
}
body.ts-rs-article .ts-rs-cta .ts-button:hover { background: transparent; color: #fff; }
body.ts-rs-article .ts-rs-cta .ts-rs-text-link { margin-left: 18px; color: #fff; border-bottom-color: #fff; font-size: 13.5px; }
@media (max-width: 640px) {
  body.ts-rs-article .ts-rs-cta { padding: 32px 22px 34px; }
  body.ts-rs-article .ts-rs-cta .ts-button { width: 100%; }
  body.ts-rs-article .ts-rs-cta .ts-rs-text-link { display: inline-block; margin: 18px 0 0; }
}

/* ---- 2026-09-28 修正：読みにくかった箇所 ---- */
/* 比較図の読み取り（1列にして、文章として読めるように） */
body.ts-rs-article .ts-rs-cmp__read { display: block; background: none; }
body.ts-rs-article .ts-rs-cmp__read > div,
body.ts-rs-article .ts-rs-cmp__read > div.is-lead { padding: 24px 26px; background: var(--a-soft); border: 0; border-left: 3px solid var(--a-ink); }
body.ts-rs-article .ts-rs-cmp__read-l { margin: 0; color: var(--a-muted); font-size: 13.5px; line-height: 1.8; letter-spacing: 0; }
body.ts-rs-article .ts-rs-cmp__read-v { margin: 10px 0 10px; color: var(--a-ink); font-size: clamp(20px, 3vw, 26px); font-weight: 700; line-height: 1.5; }
body.ts-rs-article .ts-rs-cmp__read-v span { font-size: .75em; margin-left: 2px; }
body.ts-rs-article .ts-rs-cmp__read-n { margin: 0; color: var(--a-muted); font-size: 13.5px; line-height: 1.85; }

/* どれを選ぶべきか（暗色が残っていた） */
body.ts-rs-article .ts-rs-fit { background: #fff; border: 1px solid var(--a-line); padding: 26px 26px 10px; }
body.ts-rs-article .ts-rs-fit h3 { color: var(--a-ink); border: 0; padding: 0; margin: 0 0 6px; font-size: 17px; }
body.ts-rs-article .ts-rs-fit dl { display: block; }
body.ts-rs-article .ts-rs-fit > dl > div,
body.ts-rs-article .ts-rs-fit > dl > div.is-ours { padding: 16px 0; border: 0; border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-fit dt,
body.ts-rs-article .ts-rs-fit > dl > div.is-ours dt { color: var(--a-ink); font-size: 15.5px; }
body.ts-rs-article .ts-rs-fit dd { color: var(--a-text); font-size: 14.5px; }
body.ts-rs-article .ts-rs-fit dd strong,
body.ts-rs-article .ts-rs-cmp strong,
body.ts-rs-article .ts-rs-honest b,
body.ts-rs-article .ts-rs-disclosure b { background: none; color: var(--a-ink); font-weight: 700; }

/* 注記（暗色が残っていた） */
body.ts-rs-article .ts-rs-note { margin: 0; padding: 18px 22px; border: 0; border-left: 3px solid var(--a-line); background: var(--a-soft); color: var(--a-muted); font-size: 13px; line-height: 1.9; }
body.ts-rs-article .ts-rs-disclosure { padding: 18px 22px; border: 1px dashed #c4c6c9; color: var(--a-muted); }
body.ts-rs-article .ts-rs-disclosure a { color: var(--a-ink); }
body.ts-rs-article .ts-rs-honest { padding: 22px 24px; font-size: 14.5px; line-height: 2; }
body.ts-rs-article .ts-rs-cmp__legend { margin-top: -8px; }

/* =========================================================
   2026-09-29 業種ページ（/reserve-system/<業種>/）と記事一覧も同じデザインに
   ========================================================= */
body.ts-rs-article .ts-rs-section > p,
body.ts-rs-article .ts-rs-section-lead { color: var(--a-text); font-size: 15.5px; line-height: 2; margin: 0 0 1.2em; }
body.ts-rs-article .ts-rs-section > p strong { color: var(--a-ink); background: linear-gradient(transparent 62%, #eef0f2 62%); }

/* 頭のボタン */
body.ts-rs-article .ts-rs-article-header .ts-rs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 26px 0 0; }
body.ts-rs-article .ts-rs-article-header .ts-button {
  display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 50px; padding: 0 26px;
  border: 1px solid var(--a-ink); background: var(--a-ink); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none;
}
body.ts-rs-article .ts-rs-article-header .ts-button:hover { background: #fff; color: var(--a-ink); }
body.ts-rs-article .ts-rs-article-header .ts-rs-text-link { color: var(--a-ink); border-bottom: 1px solid var(--a-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 640px) { body.ts-rs-article .ts-rs-article-header .ts-button { width: 100%; } }
body.ts-rs-article .ts-rs-more { margin: 18px 0 0; }
body.ts-rs-article .ts-rs-more a { color: var(--a-ink); font-weight: 700; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }

/* 起きていること */
body.ts-rs-article .ts-rs-problems { display: block; margin: 0; background: none; border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-problems > div { padding: 20px 0; background: none; border-bottom: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-problems dt { display: flex; gap: 14px; align-items: baseline; margin: 0; color: var(--a-ink); font-size: 16px; font-weight: 700; line-height: 1.7; }
body.ts-rs-article .ts-rs-problems dt > span { flex: none; color: var(--a-faint); font: 700 12px/1 Lato, sans-serif; letter-spacing: .1em; }
body.ts-rs-article .ts-rs-problems dd { margin: 8px 0 0 30px; color: var(--a-text); font-size: 14.5px; line-height: 1.95; }

/* 調査の棒グラフ */
body.ts-rs-article .ts-rs-survey-note { margin: 0 0 20px; color: var(--a-muted); font-size: 13px; line-height: 1.9; }
body.ts-rs-article .ts-rs-survey { display: grid; gap: 12px; margin: 0 0 20px; padding: 22px 24px; border: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-survey__row { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 3.4em; gap: 12px; align-items: center; }
body.ts-rs-article .ts-rs-survey__label { color: var(--a-text); font-size: 13px; }
body.ts-rs-article .ts-rs-survey__bar { display: block; height: 10px; background: var(--a-soft2); }
body.ts-rs-article .ts-rs-survey__bar i { display: block; height: 100%; background: var(--a-ink); }
body.ts-rs-article .ts-rs-survey__val { color: var(--a-ink); font: 700 13px/1 Lato, "Noto Sans JP", sans-serif; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { body.ts-rs-article .ts-rs-survey__row { grid-template-columns: 6.5em minmax(0, 1fr) 3em; } }

/* THE STORYでできること */
body.ts-rs-article .ts-rs-feature-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; background: none; }
body.ts-rs-article .ts-rs-feature-grid article { padding: 22px 24px; border: 1px solid var(--a-line); background: #fff; }
body.ts-rs-article .ts-rs-feature-grid article > span { display: block; margin: 0 0 10px; color: var(--a-faint); font: 700 11px/1 Lato, sans-serif; letter-spacing: .14em; }
body.ts-rs-article .ts-rs-feature-grid h3 { margin: 0 0 8px; color: var(--a-ink); font-size: 16px; font-weight: 700; line-height: 1.6; }
body.ts-rs-article .ts-rs-feature-grid p { margin: 0; color: var(--a-text); font-size: 14.5px; line-height: 1.9; }
@media (min-width: 768px) { body.ts-rs-article .ts-rs-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 料金 */
body.ts-rs-article .ts-rs-highlight-plan { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin: 0 0 16px; padding: 26px 26px 24px; border: 1px solid var(--a-ink); background: #fff; }
body.ts-rs-article .ts-rs-highlight-plan span { color: var(--a-ink); font-size: 16px; font-weight: 700; }
body.ts-rs-article .ts-rs-highlight-plan strong { color: var(--a-ink); font: 700 clamp(26px, 4vw, 32px)/1.2 Lato, "Noto Sans JP", sans-serif; }
body.ts-rs-article .ts-rs-highlight-plan p { width: 100%; margin: 0; color: var(--a-muted); font-size: 14px; line-height: 1.9; }

/* 業種の状況・説明文 */
body.ts-rs-article .ts-rs-context { color: var(--a-text); font-size: 15px; line-height: 2; }
body.ts-rs-article .ts-rs-card p { margin: 6px 0 0; color: var(--a-muted); font-size: 13px; line-height: 1.8; }

/* 記事一覧 */
body.ts-rs-article .ts-rs-list { border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-list__item { display: block; padding: 20px 0; border-bottom: 1px solid var(--a-line); color: var(--a-text); text-decoration: none; }
body.ts-rs-article .ts-rs-list__item h3 { margin: 0; color: var(--a-ink); font-size: 16.5px; font-weight: 700; line-height: 1.65; }
body.ts-rs-article .ts-rs-list__item p { margin: 6px 0 0; color: var(--a-muted); font-size: 14px; line-height: 1.85; }
body.ts-rs-article .ts-rs-list__item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* 2026-09-29 修正：カード一覧の背景に暗色が残り、カードの間が黒く見えていた */
body.ts-rs-article .ts-rs-card-grid { background: none; border: 0; gap: 12px; }
/* ひな形などの引用ブロック（暗色が残っていた） */
body.ts-rs-article .ts-rs-prose blockquote { margin: 1.4em 0; padding: 22px 26px; border: 1px solid var(--a-line); border-left: 3px solid var(--a-ink); background: var(--a-soft); color: var(--a-text); font-size: 15px; line-height: 1.95; font-style: normal; }
body.ts-rs-article .ts-rs-prose blockquote p { margin: 0 0 1em; color: var(--a-text); }
body.ts-rs-article .ts-rs-prose blockquote p:last-child { margin-bottom: 0; }
body.ts-rs-article .ts-rs-prose blockquote::before { content: none; }

/* 2026-09-29 導入事例の概要・著者ページ */
body.ts-rs-article .ts-rs-case-facts { display: block; margin: 0 0 40px; border-top: 1px solid var(--a-line); background: none; }
body.ts-rs-article .ts-rs-case-facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--a-line); background: none; }
body.ts-rs-article .ts-rs-case-facts dt { margin: 0; color: var(--a-muted); font-size: 13px; font-weight: 700; }
body.ts-rs-article .ts-rs-case-facts dd { margin: 0; color: var(--a-ink); font-size: 14.5px; line-height: 1.8; }
@media (max-width: 480px) { body.ts-rs-article .ts-rs-case-facts > div { grid-template-columns: 1fr; gap: 4px; } }
body.ts-rs-article .ts-rs-meta a,
body.ts-rs-article .ts-rs-author a { color: var(--a-ink); text-decoration: underline; text-underline-offset: 3px; }
body.ts-rs-article .ts-author-kana { display: block; margin-top: 6px; color: var(--a-faint); font-size: 14px; font-weight: 400; letter-spacing: .1em; }
body.ts-rs-article .ts-rs-prose table th { white-space: nowrap; }

/* =========================================================
   2026-09-29 メディア記事（投稿）も同じ白基調に
   ========================================================= */
body.ts-rs-article .ts-rs-prose hr { margin: 2.6em 0; border: 0; border-top: 1px solid var(--a-line); }
body.ts-rs-article .ts-rs-prose pre { margin: 1.4em 0; padding: 18px 20px; border: 1px solid var(--a-line); background: var(--a-soft); color: var(--a-text); font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; overflow-x: auto; }
body.ts-rs-article .ts-rs-prose code { padding: .1em .35em; background: var(--a-soft2); color: var(--a-ink); font-size: .92em; }
body.ts-rs-article .ts-rs-prose pre code { padding: 0; background: none; }
body.ts-rs-article .ts-rs-prose th { color: var(--a-ink); }
body.ts-rs-article .ts-media-badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--a-ink); color: var(--a-ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

/* 続きはメンバー限定 */
body.ts-rs-article .ts-preview { position: relative; max-height: 34rem; padding-bottom: 7rem; overflow: hidden; }
body.ts-rs-article .ts-preview::after { background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%); }
body.ts-rs-article .ts-paywall { margin: 32px 0 0; padding: 30px 28px; border: 1px solid var(--a-ink); background: #fff; color: var(--a-text); }
body.ts-rs-article .ts-paywall h2 { margin: 0 0 10px; color: var(--a-ink); font-size: 20px; }
body.ts-rs-article .ts-paywall p { margin: 0 0 20px; line-height: 1.9; }
body.ts-rs-article .ts-paywall .ts-button,
body.ts-rs-article .ts-rs-cta--article .ts-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 1px solid var(--a-ink); background: var(--a-ink); color: #fff; font-weight: 700; text-decoration: none; }
body.ts-rs-article .ts-paywall .ts-button::after { content: none; }
body.ts-rs-article .ts-paywall .ts-button:hover { background: #fff; color: var(--a-ink); }
body.ts-rs-article .ts-rs-cta--article .ts-button { border-color: #fff; background: #fff; color: var(--a-ink); }
body.ts-rs-article .ts-rs-cta--article .ts-button::after { content: none; }

/* 同じ章の前後記事 */
body.ts-rs-article .ts-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 56px 0 0; padding: 0; border: 0; background: none; }
body.ts-rs-article .ts-pagination a { display: block; padding: 18px 20px; border: 1px solid var(--a-line); background: #fff; color: var(--a-ink); font-size: 14px; font-weight: 700; line-height: 1.7; text-decoration: none; }
body.ts-rs-article .ts-pagination a[rel="next"] { text-align: right; }
body.ts-rs-article .ts-pagination a:hover { border-color: var(--a-ink); }
@media (max-width: 640px) { body.ts-rs-article .ts-pagination { grid-template-columns: 1fr; } body.ts-rs-article .ts-pagination a[rel="next"] { text-align: left; } }

/* 関連記事 */
body.ts-rs-article .ts-related { margin: 56px 0 0; padding: 0; border: 0; }
body.ts-rs-article .ts-related > h2 { margin: 0 0 18px; padding: 0 0 .5em; border-bottom: 2px solid var(--a-ink); color: var(--a-ink); font-size: 20px; font-weight: 700; }
body.ts-rs-article .ts-related .ts-grid { display: grid; grid-template-columns: 1fr; gap: 12px; border: 0; background: none; }
@media (min-width: 768px) { body.ts-rs-article .ts-related .ts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.ts-rs-article .ts-related .ts-card { padding: 18px 20px; border: 1px solid var(--a-line); background: #fff; color: var(--a-ink); }
body.ts-rs-article .ts-related .ts-card:hover { border-color: var(--a-ink); background: #fff; }
body.ts-rs-article .ts-related .ts-card__chapter { color: var(--a-faint); font-size: 10.5px; letter-spacing: .12em; }
body.ts-rs-article .ts-related .ts-card h3 { margin: 6px 0 6px; color: var(--a-ink); font-size: 15px; line-height: 1.65; }
body.ts-rs-article .ts-related .ts-card p { margin: 0; color: var(--a-muted); font-size: 13px; line-height: 1.8; }
