/* ══════════════════════════════════════════════════════════════
   金継ぎ 追補スタイル — 占いの栞（2026-08-28）
   本体は 1 行も変えていない。写し（demo/after）にだけ当てた検証用。
   本番へ入れるときは、この 1 枚を <head> の最後で読み込むだけでよい。
   ══════════════════════════════════════════════════════════════ */

/* ── 1. 色の元栓 ────────────────────────────────────────────
   直書きで散っていた灰4色と黒2色を、サイトが既に持っている色へ束ねる。
   金は「暗い地の上」では今のまま美しいので --gold は触らない。
   明るい地に載る文字のためだけに、明度だけ下げた派生1色を足す（色相は不変）。 */
:root{
  --ink: #140E23;        /* #2A2438 と #140E23 → 1本 */
  --gold-ink: #8A6A2E;   /* --gold #B68F4E の明度だけ下げた派生（明色地の文字用・比4.7） */
  --muted: #56506B;      /* #6B6480 / #8A83A0 / #9A93A8 / #A59EBB → 1本（比7.5） */
}

/* 明るい地に載る「金の文字」を、読める金へ */
.brand small,
.sec-head .no,
.art-card .en,
.jm-orn,
.jm-ct,
.region h3 .reg-ct,
.an-cnt,
.col-card .cat,
.pref-btn .ct{ color: var(--gold-ink); }

/* 灰の文字を1本に（すべて比4.5以上） */
.today-date,
.today-hint,
.zbtn small,
.jm-ct small,
.pref-btn .ct small,
.foot-note,
.foot-copy,
.foot-copy a,
.nav,
#headRight ul.nav a,
.jm-note,
.foot-links a{ color: var(--muted); }

/* 近い白どうしを束ねる（見た目は変わらない） */
.hero-inner h1{ color: #FFFFFF; }
.col-thumb{ background-color: #FFFFFF; }
/* ※ --paper #FAF7F2 は「頭と節の地」の役割があるので束ねない（理由は診断書に記載） */

/* ── 2. 文字の段を役割ごとに揃える ──────────────────────────
   9〜11px の極小文字をすべて 12px 以上へ。段は役割の中で 2〜3 本に。 */

/* 補足（12px の1本） */
.brand small,
.pref-btn .ct small,
.zbtn small,
.jm-ct small{ font-size: 12px; }

/* 見出し h3〜h6（14 / 16 の2本） */
.region h3{ font-size: 16px; }
.owner h3{ font-size: 16px; }
.area-nav-ttl{ font-size: 14px; }
.region h3 .reg-ct{ font-size: 14px; }

/* 本文（13 / 14 / 16 の3本） */
.hero .eyebrow,
.hero-top .eyebrow,
.hero-inner .eyebrow,
.page-head .eyebrow{ font-size: 13px; }
.card-go,
.foot-note,
.cb-text{ font-size: 13px; }
.today-date{ font-size: 14px; }
.hero-inner p.lead,
.hero-top p.lead{ font-size: 16px; }

/* ボタン・ラベル（12 / 14 の2本＋ロゴ21はそのまま） */
.art-card .en,
.col-card .cat,
.jm-note,
.jm-name,
.jm-ct,
.an-cnt,
.area-links a{ font-size: 12px; }
.zbtn b,
.jm-orn,
.art-card .jp,
.jm-note strong,
.skip-link,
.foot-links a,
.cb-btn,
.pref-btn .nm{ font-size: 14px; }

/* その他（12 / 21 / 34 の3本） */
.foot-copy,
.hero-deco,
.hero-inner .hero-deco,
.sec-head .no{ font-size: 12px; }

/* 狭い幅でも極小に戻さない */
@media (max-width: 900px){
  .jm-note, .jm-name, .jm-ct, .art-card .en, .col-card .cat, .an-cnt, .area-links a{ font-size: 12px; }
  .jm-ct small, .zbtn small, .brand small, .pref-btn .ct small{ font-size: 12px; }
  .foot-copy, .hero-inner .hero-deco{ font-size: 12px; }
  .hero-inner p.lead, .hero-top p.lead{ font-size: 16px; }
}

/* ── 3. 角丸を3種に（4 / 8 / 999） ──────────────────────────
   カードは 4px に寄せる（8px 以上へ揃えると「カード格子」の既製品の型に
   一致してしまうため。寄せ先を変えて型を増やさない） */
.btn,
.jm-block,
.nav-toggle span,
.art-card,
.area-nav,
.col-card{ border-radius: 4px; }
.tcard-face,
.tcard-back,
.tcard-back img{ border-radius: 8px; }

/* ── 4. 重なりの層を 1 / 10 / 100 の3段に ────────────────── */
.consent-bar{ z-index: 100; }

/* ── 5. 星座ボタンの文字の左端を揃える ──────────────────────
   文字(b/small)は全幅ブロック＋中央寄せで左端を揃える。
   画像の箱(.z-ic 52px)は margin auto で中央のまま（2026-09-02 代表指摘で修正） */
.zbtn{ align-items: stretch; }
.zbtn .z-ic{ margin-inline: auto; }
.zbtn b,
.zbtn small{ display: block; text-align: center; }

/* ── 6. 文字を揃えたことで折れ目が変わる所を先に押さえる ──── */
.jm-name, .jm-orn, .nav a, .card-go{ white-space: nowrap; }
.lead, .eyebrow, .today-date, .cb-text, .owner p{ word-break: auto-phrase; }


/* ══════════════════════════════════════════════════════════════
   7. 一覧・店舗カード（県／エリア／店舗の 2,900 ページで共通のパーツ）
      ここが本丸。この1枚が全ページに同じだけ効く。
   ══════════════════════════════════════════════════════════════ */

/* 7-1 読めない金・薄い灰を、読める色へ（明るい地の上だけ） */
.page-head .eyebrow,
.crumb span,
.notice .ic,
.card-meta .rate,
.rating .star{ color: var(--gold-ink); }

.crumb,
.crumb a,
.card-meta .src-mini,
.card-meta .rev,
.fb-label,
.pr-tag,
.pr-sub,
.card-loc,
.notice,
.search-head .count,
.page-head .count,
.chip,
.sortbtn,
.pagination .page-numbers,
#areaLinks > li > a{ color: var(--muted); }

/* 記事本文の淡い灰（記事HTML側のインライン指定のため、元栓では届かない） */
.article-body p[style]{ color: var(--muted) !important; }
.article-body > p,
.article-body > ul > li,
.article-body > ol > li{ color: var(--muted); }

/* 暗い写真の上の文字はそのまま明るく保つ */
.pr-slot--shindan .pr-sub{ color: #E6DECF; }
.uranai-card .uc-name,
.uranai-card .uc-area,
.uranai-card.mini .uc-area{ color: #FFFFFF; }

/* 7-2 極小文字をすべて12px以上へ・段を役割ごとに束ねる */
.uranai-card .uc-kind,
.uranai-card.mini .uc-kind,
.card-meta .src-mini,
.card-meta .rate .star,
.card-arts span,
.pr-tag,
.pr-sub,
.fb-label,
.notice span{ font-size: 12px; }

.card-loc,
.crumb,
.article th,
.notice{ font-size: 13px; }

.card-go,
.card-meta .rate,
.pagination .page-numbers,
.uranai-card .uc-name,
.uranai-card.mini .uc-name{ font-size: 14px; }

.search-head .count,
.page-head .count,
.pr-lead,
.notice .ic{ font-size: 15px; }

.card-name,
.article-body h3{ font-size: 18px; }

@media (max-width: 900px){
  .uranai-card .uc-kind, .uranai-card.mini .uc-kind,
  .card-meta .src-mini, .card-meta .rate .star,
  .card-arts span, .pr-tag, .pr-sub, .fb-label, .notice span{ font-size: 12px; }
  .card-loc, .crumb, .article th, .notice{ font-size: 13px; }
  .card-go, .card-meta .rate, .pagination .page-numbers,
  .uranai-card .uc-name, .uranai-card.mini .uc-name{ font-size: 14px; }
  .card-name, .article-body h3{ font-size: 18px; }
}

/* 7-3 近い地・近い白を束ねる */
.uranai-card .uc-area{ font-size: 13px; }
.article th,
.shop-editorial th,
.card-arts span{ background-color: #FFFFFF; }

/* 7-4 角丸を揃える（カードは4pxへ＝8px以上に揃えると「カード格子」の型に一致する） */
.notice,
.uranai-card,
.pr-tag,
.filterbar,
.card,
.chip,
.sortbtn,
.pr-slot{ border-radius: 4px; }

/* 7-5 取りこぼしの後始末 */
.pr-box--shindan .pr-cta{ background-color: var(--gold-ink); }   /* 白文字が薄い金の上に載っていた（比2.99）→地を締めて5.1へ */
.pr-cta{ font-size: 14px; }
.pr-slot{ background-color: #FFFFFF; }
.pr-slot--shindan .pr-lead{ font-size: 15px; }
.pr-sub{ font-size: 13px; }
#artChips > button.chip,
.chip{ font-size: 12px; }
.article td,
.article td a{ font-size: 15px; }
.card-arts > span,
.pr-box{ border-radius: 4px; }

/* ══════════════════════════════════════════════════════════════
   8. 店舗ページ（クリックの7割が集まるページ）の取りこぼし
   ══════════════════════════════════════════════════════════════ */
/* 明るい地の上の金は暗い金へ。暗いヒーローの中だけは今の金のまま */
.eyebrow{ color: var(--gold-ink); }
.hero-inner .eyebrow{ color: var(--gold); }

.rating .src,
.rating .rev,
.dl dt,
.lede,
.shop-report,
.guide-note{ color: var(--muted); }

.rating .src{ font-size: 12px; }
.shop-report{ font-size: 13px; }
.dl dd{ font-size: 15px; }
.rating .star{ font-size: 15px; }
.uranai-card .uc-name,
.uranai-card.mini .uc-name{ font-size: 15px; }
.owner h3{ font-size: 18px; }
.arts .art{ font-size: 12px; }
.rating .num{ font-size: 21px; }
.is-rank > a{ font-size: 14px; background-color: #FFFFFF; border-radius: 4px; }
.guide-note{ background-color: #FFFFFF; }
.shot .mat{ border-radius: 4px; }
.pr-box--shindan .pr-cta,
.pr-slot--shindan .pr-cta{ background-color: var(--gold-ink); color: #FFFFFF; }

@media (max-width: 900px){
  .rating .src{ font-size: 12px; }
  .shop-report{ font-size: 13px; }
  .dl dd{ font-size: 15px; }
  .rating .star{ font-size: 15px; }
  .uranai-card .uc-name, .uranai-card.mini .uc-name{ font-size: 15px; }
  .owner h3{ font-size: 18px; }
  .arts .art{ font-size: 12px; }
  .rating .num{ font-size: 21px; }
  .is-rank > a{ font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   9. 仕上げ（段の最終調整と、明るいヒーローの金）
   ══════════════════════════════════════════════════════════════ */
.owner h3,
.foot-links h4{ font-size: 16px; }
.sortbtn{ font-size: 12px; }
.uranai-card .uc-name,
.uranai-card.mini .uc-name{ font-size: 14px; }
.rating .rev{ font-size: 12px; }
.guide-links > li > a{ font-size: 14px; border-radius: 4px; }
.guide-links .is-rank > a{ background-color: #FFFFFF; }
.shot .frame,
span.frame{ border-radius: 4px; }

/* 明るいヒーロー（店舗・下層）の金は暗い金。暗いヒーロー（トップ）だけ元の金のまま */
.hero .eyebrow,
.hero-text .eyebrow,
.page-head .eyebrow,
.shop-head .eyebrow{ color: var(--gold-ink); }
.hero-inner .eyebrow{ color: var(--gold); }

@media (max-width: 900px){
  .owner h3, .foot-links h4{ font-size: 16px; }
  .sortbtn{ font-size: 12px; }
  .uranai-card .uc-name, .uranai-card.mini .uc-name{ font-size: 14px; }
  .rating .rev{ font-size: 12px; }
  .guide-links > li > a{ font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   10. 掲載のご案内（/pricing）とコラム一覧（/column）
   ══════════════════════════════════════════════════════════════ */
/* 掲載のご案内 */
.ad-note,
.plan .pr small,
.note,
.price-hero p,
.price-hero p b,
.ad-step p,
p.a,
p.a b{ color: var(--muted); }
.plan .badge{ font-size: 12px; }
.note{ font-size: 13px; }
.price-hero p,
.ad-step p{ font-size: 15px; }
.ad-step .ad-n{ font-size: 16px; }
.plan{ border-radius: 8px; }

/* コラム一覧 */
.col-section > p,
.col-section > h2 > span{ color: var(--muted); }
.col-tab{ font-size: 12px; }

@media (max-width: 900px){
  .plan .badge{ font-size: 12px; }
  .note{ font-size: 13px; }
  .price-hero p, .ad-step p{ font-size: 15px; }
  .ad-step .ad-n{ font-size: 16px; }
  .col-tab{ font-size: 12px; }
}

/* 10-2 テンプレート側のインラインstyleで書かれた薄い灰
   （追補CSSからは !important でしか届かない。本筋はテンプレートの該当行を直すこと） */
.plan .note{ color: var(--muted); }
.col-section > p[style],
.col-section > h2 > span[style]{ color: var(--muted) !important; }

/* ══════════════════════════════════════════════════════════════
   11. 深夜限定CTA（電話占い枠 .online-aff・22時〜6時のみ表示）
   2026-09-02 夜間の再計測で初めて写り込んだ取りこぼし。
   テーマ側 .online-aff .pr-tag が詳細度で勝ち、7-2 の手当てが
   届いていなかったため、同じ強さで個別に当てる
   ══════════════════════════════════════════════════════════════ */
.online-aff .pr-tag{
  font-size: 12px;
  color: var(--muted);
  background: transparent;   /* 薄灰の地(--mist)を外し、他のPRタグと同じ「線だけ」の型に */
  border: 1px solid var(--line);
}
.oa-sub{ color: var(--muted); }     /* #6B6480 → 灰の1本へ */
.online-aff{ border-radius: 8px; }  /* 10px → 8 の段へ */
.guide-note{ border-radius: 4px; }  /* 3px → 4 の段へ（夜間計測で見えた取りこぼし） */

/* 夜間状態（深夜CTAあり）では文字の段がずれるため再調律。
   rev 12→13（uc-areaの段へ）・star 15→14（uc-nameの段へ）・oa-lead 18→15（ledeの段へ） */
.rating .rev{ font-size: 13px; }
.rating .star{ font-size: 14px; }
.oa-lead{ font-size: 15px; }
@media (max-width: 900px){
  .rating .rev{ font-size: 13px; }
  .rating .star{ font-size: 14px; }
  .oa-lead{ font-size: 15px; }
}

/* 同上の再調律つづき。src 12→13（revの段へ）・注意書きアイコン 15→14（starの段へ） */
.rating .src{ font-size: 13px; }
.notice .ic{ font-size: 14px; }
@media (max-width: 900px){
  .rating .src{ font-size: 13px; }
  .notice .ic{ font-size: 14px; }
}
