@charset "utf-8";

/* ebizorich.com — 静的サイトのスタイル
 *
 * 設計の根拠（すべて 2026-11-04 の実測）:
 *  - モバイルのクリック95%（CLAUDE.md §3）→ 1カラム・サイドバーなし
 *  - /chat/voifull/ の平均滞在53秒・本文2万字 → 読み切られていない。
 *    冒頭で判断材料を渡す
 *  - 記事内クリック率6.6%が3ヶ月横ばい → CTAの視認性を上げる
 *  - 色は記事本文のインラインstyle（217箇所）から採取した3色を基調にする。
 *    本文は改変できない（CLAUDE.md §1）ので、喧嘩させずに取り込む
 *  - Webフォントは読み込まない。画像を軽量化する方針と矛盾するため
 */

:root {
  --ink: #2b2b2b;
  --ink-soft: #5e5e66;
  --paper: #ffffff;
  --shell: #edeef0;
  --rule: #d7d8dc;
  --rule-soft: #e8e9ec;

  /* 本文のカラーボックスから採取 */
  --magenta: #e91e8c;
  --magenta-dark: #b5126c;
  --magenta-pale: #fdf6fa;
  --blue: #2563aa;
  --blue-pale: #f0f8ff;
  --orange: #d46b00;
  --orange-pale: #fff8f0;

  --measure: 34em;
  --gutter: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  font-feature-settings: "palt" 1;
}

img,
video { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- 骨組み */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.masthead__inner {
  max-width: 44em;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.masthead__name {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.masthead__note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet {
  max-width: 44em;
  margin: 0 auto;
  background: var(--paper);
  padding: 0 var(--gutter) 48px;
}

.crumbs {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 12px 0 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crumbs li::after { content: "/"; margin-left: 6px; color: var(--rule); }
.crumbs li:last-child::after { content: none; }

.title {
  font-size: clamp(21px, 5vw, 28px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
}

.byline {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ 広告表示（PR）

   **記事の冒頭に出す。フッターだけでは足りない。**

   消費者庁のステマ規制は「一般消費者が事業者の表示であることを
   明瞭に判別できる」ことを求めている。これまで広告表示はフッターにしか
   無く、**読者の95%を占めるモバイルでは、最初のCTAを踏む時点で
   一度も目に入らない**状態だった（2026-11-22・外部レビューの指摘で判明）。

   あわせて料金の確認日を同じ行に出している。このサイトの差別化は
   「料金の正確さ」なので、**開示と差別化が同じ一行で成立する。**
   フッターの表記は残す（冗長だが、置き場所として標準的なため）。 */

.disclosure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--orange-pale);
  border: 1px solid #f1dcc2;
  border-radius: 6px;
  padding: 9px 11px;
  margin: 0 0 26px;
}

.disclosure b {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--orange);
  border-radius: 3px;
  padding: 2px 6px;
}

/* ------------------------------------------------- 結論（このページの主役） */

/* 「53秒で判断材料を渡す」ための箱。1ページに1つだけ置く。
 * カードを量産しないこと。ここが唯一の強い要素。 */
.verdict {
  border: 2px solid var(--ink);
  border-radius: 2px;
  margin: 0 0 30px;
  background: var(--paper);
}

.verdict__head {
  margin: 0;
  background: var(--ink);
  color: #fff;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.verdict__body { padding: 16px 14px 18px; }

.verdict__lede {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
}

/* 料金表。このサイトの唯一の資産は「数字が正しいこと」なので、
 * ここに紙面の強さを集める。pt と円を必ず並べる（モコムは1pt≒1.33円） */
.rates {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}

.rates th,
.rates td {
  border-bottom: 1px solid var(--rule-soft);
  padding: 9px 2px;
  text-align: left;
}

.rates thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 5px;
}

.rates tbody th {
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
}

.rates__yen {
  text-align: right;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.rates__yen span { font-size: 14px; font-weight: 400; margin-left: 1px; }

.rates__unit {
  text-align: right;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-left: 8px;
}

.rates__src {
  margin: -8px 0 18px;
  font-size: 11px;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- CTA */

/* CLAUDE.md §4 の4配置（導入直後 / 安全性の後 / 料金の後 / 末尾）で使う。
 * 文言の定義は CAMPAIGN-BLOCK.md §7 のみ。ここで文言を作らない。 */
.cta {
  display: block;
  background: var(--magenta);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  padding: 14px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 0 var(--magenta-dark);
}

.cta:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--magenta-dark); }

.cta--inline { margin: 28px 0; }

.cta__sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.92;
  margin-top: 2px;
}

/* ---------------------------------------------------------------- 目次 */

.toc {
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin: 0 0 32px;
  background: #fbfbfc;
}

.toc > summary {
  cursor: pointer;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

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

.toc > summary::before {
  content: "▸";
  color: var(--ink-soft);
  margin-right: 7px;
  font-size: 11px;
  display: inline-block;
}

.toc[open] > summary::before { content: "▾"; }

/* 見出しの文字列そのものに「1 」「2 」と章番号が入っているため、
 * リストの番号を出すと二重になる（1790 で確認）。番号は出さない。 */
.toc__list {
  margin: 0;
  padding: 0 14px 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  list-style: none;
}

.toc__list li { margin: 3px 0; }
.toc__list ol {
  padding-left: 15px;
  margin: 3px 0 7px;
  font-size: 13px;
  list-style: none;
  border-left: 1px solid var(--rule);
}

.toc__list > li > a { font-weight: 700; }
.toc__list a { color: var(--ink); text-decoration: none; }
.toc__list a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 本文 */

.body { max-width: var(--measure); }

.body > * { margin-top: 0; margin-bottom: 1.35em; }

.body h2 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  margin: 2.2em 0 0.9em;
  padding: 0 0 7px;
  border-bottom: 2px solid var(--ink);
  scroll-margin-top: 12px;
}

.body h3 {
  font-size: 17.5px;
  line-height: 1.6;
  font-weight: 700;
  margin: 1.9em 0 0.7em;
  padding-left: 10px;
  border-left: 4px solid var(--magenta);
  scroll-margin-top: 12px;
}

.body h4 {
  font-size: 16px;
  margin: 1.6em 0 0.6em;
  color: var(--ink-soft);
}

.body ul,
.body ol { padding-left: 1.5em; }
.body li { margin: 0.35em 0; }

.body blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--rule);
  color: var(--ink-soft);
}

/* 本文の表（比較表）。横に長いので、はみ出す分はスクロールさせる */
.body figure.wp-block-table,
.body .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}

.body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 20em;
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.body th,
.body td {
  border: 1px solid var(--rule);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.body thead th,
.body tr:first-child th {
  background: #f6f6f8;
  font-size: 13px;
  white-space: nowrap;
}

/* ------------------------------------------- SWELL のブロックに当てるCSS */

/* 本文のHTMLは1文字も書き換えない（CLAUDE.md §1）。
 * SWELL が付けていたクラス名に、自前のCSSを当てて見た目を作る。 */

.swell-block-button { margin: 28px 0; text-align: center; }

.swell-block-button__link {
  display: block;
  background: var(--magenta);
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  padding: 14px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 0 var(--magenta-dark);
}

.swell-block-button__link:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--magenta-dark);
}

.swell-block-box {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  margin: 1.8em 0;
}

.swell-block-box__title {
  margin: 0;
  background: #f6f6f8;
  border-bottom: 1px solid var(--rule);
  padding: 9px 13px;
  font-size: 14.5px;
  font-weight: 700;
}

.swell-block-box__content { padding: 13px 13px 2px; }
.swell-block-box__content > *:last-child { margin-bottom: 11px; }

.is-style-check_list { list-style: none; padding-left: 0; }

.is-style-check_list li {
  padding-left: 1.5em;
  position: relative;
}

.is-style-check_list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 700;
}

.is-size-l { font-size: 1.14em; }
.is-color-red { color: var(--magenta-dark); }

/* サービスの画面（スクリーンショット）
 *
 * `tools/add_screenshot.py` が出す <figure class="shot"> 用。
 *
 * **なぜ枠と確認日を付けるか（2026-11-22）。**
 * 本文にサービスの画面が0枚で、競合は10〜12枚（2026-11-17 調査）。
 * さらに外部のレビューで「体験談に証拠が無い」と指摘された。
 * 口コミ・体験談は事実だが、**読者から確かめる手段が無かった。**
 * 画面そのものと「いつ時点か」が、その手段になる。
 *
 * figure のブラウザ既定マージン（0 40px）を打ち消す。
 * 画像は add_screenshot.py が幅760pxに縮めているので、本文幅（44em≒700px）で
 * ちょうど収まる。img の max-width:100% は上で全体に効いている。 */
.shot {
  margin: 1.6em 0;
  text-align: center;
}

.shot img {
  display: block;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--rule-soft);
}

/* 確認日。**小さくても必ず出す。** 日付の無い画面は証拠にならない。 */
.shot figcaption {
  margin-top: 0.5em;
  font-size: 0.82em;
  color: var(--ink-soft);
  text-align: center;
}

/* 内部リンクカード（post-link ブロック）
 *
 * 構造は SWELL が出したまま:
 *   .p-blogCard__inner > span.caption + div.thumb(figure>img) + div.body(a + span.excerpt)
 * 本文側に text-align:center の親があるため、カード内は明示的に左揃えに戻す。
 * figure のブラウザ既定マージン（0 40px）でサムネイル枠が潰れるので打ち消す。 */
.swell-block-postLink { margin: 1.6em 0; }

.p-blogCard {
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fbfbfc;
  text-align: left;
}

.p-blogCard__inner {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-areas: "thumb body";
  gap: 12px;
  padding: 11px;
  align-items: start;
}

/* caption は自サイト名が入るだけなので出さない（内部リンクに「chatレビュー」と
 * 毎回表示されても情報がない） */
.p-blogCard__caption { display: none; }

.p-blogCard__thumb { grid-area: thumb; }

.c-postThumb__figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: var(--rule-soft);
}

.c-postThumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-blogCard__body { grid-area: body; min-width: 0; }

.p-blogCard__title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink) !important;
  text-decoration: none;
}

.p-blogCard__title:hover { text-decoration: underline; }

/* 抜粋はモバイルで場所を取るだけなので出さない。見出しで判断できる */
.p-blogCard__excerpt { display: none; }

/* ---------------------------------------------------------------- 文末 */

.foot {
  max-width: 44em;
  margin: 0 auto;
  padding: 22px var(--gutter) 60px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--shell);
}

.foot a { color: var(--ink-soft); }
.foot p { margin: 0.5em 0; }

/* 固定ページへのナビ（2026-11-22 追加）
 *
 * `/policy/` を 11/21 に公開したが、**トップからの1本だけで孤立していた**
 * （記事22本からは0本。1790 は17ページから張られている）。
 * §11-3 のとおり孤立には内部リンクが効く。本文を触らずに全ページから張れる。
 *
 * タップしやすいよう上下に余白を取る（読者の95%がモバイル）。 */
.foot-nav {
  margin-top: 1.1em !important;
  padding-top: 0.9em;
  border-top: 1px solid var(--rule);
}

.foot-nav a {
  display: inline-block;
  padding: 0.25em 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.related {
  border-top: 2px solid var(--ink);
  margin-top: 40px;
  padding-top: 18px;
}

.related__ttl { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.related__list { list-style: none; margin: 0; padding: 0; }
.related__list li { border-bottom: 1px solid var(--rule-soft); }

.related__list a {
  display: block;
  padding: 11px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
}

.related__list a:hover { text-decoration: underline; }

/* トップの配信者セクションから /category/chatlady/ への導線。
   カテゴリページは sitemap に載っているのに被リンク0の孤立ページだった
   （2026-11-07 実測）。リンク1本で解消している。 */
.related__more { margin: 12px 0 0; font-size: 14px; }
.related__more a {
  color: var(--blue);
  text-decoration: none;
  display: inline-block;
  padding: 8px 0;      /* モバイルでタップできる高さを確保する（クリックの95%がモバイル） */
}
.related__more a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 広め */

@media (min-width: 700px) {
  :root { --gutter: 36px; }
  body { font-size: 17.5px; }
  .rates__yen { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* トップ先頭の「どれから読めばいいか」（2026-11-21）。
   トップは101PV・サイト2位なのにアフィリエイトクリック0本・滞在5秒/セッション
   で、22本の長いタイトルが並ぶだけだった。収益2サービス（Voifull / モコム）への
   入口を用途の言葉で2本だけ出す。クリックの95%がモバイルなのでタップ高さを確保する。 */
.lead {
  border-top: none;
  margin-top: 22px;
  padding-top: 0;
  background: var(--magenta-pale);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  padding: 16px 16px 6px;
}
.lead__list { list-style: none; margin: 0; padding: 0; }
.lead__list li + li { border-top: 1px solid var(--rule-soft); }
.lead__list a {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
}
.lead__list b { display: block; font-size: 15px; line-height: 1.55; }
.lead__list span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.lead__list a:hover b { text-decoration: underline; }
