/* 占い調査団（移管テスト）の見た目
   元サイトは WordPress＋SWELL。本文のHTMLは元のまま使い、クラス名に合わせてここで見た目を付け直している。
   SWELL のCSSは持ち出していない（テーマのCSSは独自ライセンスのため）。 */

:root {
  --main: #2d0751;
  --main-thin: #eceaf1;
  --accent: #9731c8;
  --text: #333;
  --text-sub: #666;
  --line: #ddd;
  --bg: #fdfdfd;
  --bg-gray: #f7f7f7;
  --link: #1176d4;
  --red: #c62828;
  --green: #2e7d32;
  --blue: #1565c0;
  --pale-blue: #e0f4fd;
  --pale-green: #eaf7e6;
  --pale-red: #fdeeee;
  --pale-yellow: #fff8dc;
  --content-w: 760px;
  /* 文字の3段（D11：14px未満は使わない）。本文16・表や一覧15・補足14 */
  --fs-body: 16px;
  --fs-dense: 15px;
  --fs-small: 14px;
  /* 端末に入っている書体を使う（読み込み 0KB。2026-11-03 平良さんの判断で Google Fonts の Noto Sans JP をやめた）
     iPhone・Mac＝ヒラギノ角ゴ／Android＝Noto Sans CJK／Windows＝游ゴシック UI（無ければメイリオ） */
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }  /* 動きを減らす設定の人には、なめらかなスクロールをしない */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--link); }
/* 広告の JSリンク（<span class="jump">。tools/ads.py）：文の中ではふつうのリンクと同じ見た目。
   ボタンの形（.pad__btn・.swell-block-button__link など）は、それぞれのクラスの見た目が勝つよう :where() で弱くしている */
span.jump { cursor: pointer; }
:where(span.jump) { color: var(--link); text-decoration: underline; }
span.jump:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
iframe { max-width: 100%; }

/* ---------------- ヘッダー・フッター ---------------- */

/* ヘッダー（2026-11-05）：下に読み進めると隠れ、上に戻すと出る（site.js が is-hidden を付け外し）。
   スマホは［メニュー］で一覧を開く（is-open）。PCは1行に並べる */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--main);
  box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .2s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
/* ヘッダー・パンくず・フッターの幅は TOP の中身と同じ 1120px（左右24px）にそろえる。記事の本文は読みやすさのため 760px のまま（2026-11-04） */
.site-header__inner {
  position: relative; max-width: 1120px; margin: 0 auto; padding: 8px 24px; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__logo img { display: block; width: 150px; height: auto; }
/* ［メニュー］：金の枠のボタン風（2026-11-05 案C）。押せる所だと一目で分かるように、文字も 14px で並べる */
.site-header__menu {
  display: none; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 12px;
  border: 1.5px solid #e2c27a; border-radius: 999px; background: rgba(226, 194, 122, .10);
  color: #fff; font: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer;
}
.site-header__menu:hover, .site-header.is-open .site-header__menu { background: rgba(226, 194, 122, .22); }
.site-header__menu:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-header__menu i {
  width: 20px; height: 20px; background: #e2c27a;
  -webkit-mask: url("icons/menu.svg") center / contain no-repeat; mask: url("icons/menu.svg") center / contain no-repeat;
}
.site-header.is-open .site-header__menu i { -webkit-mask-image: url("icons/close.svg"); mask-image: url("icons/close.svg"); }
.site-header__nav { display: flex; align-items: center; gap: 4px; }
.site-header__nav a { color: #fff; text-decoration: none; }
.site-header__link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.site-header__link:hover { background: rgba(255,255,255,.12); }
.site-header__link small, .site-header__group { display: none; }
.site-header__kinds { display: flex; align-items: center; margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); }
.site-header__kinds a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; color: #e2c27a !important; font-size: var(--fs-small); }
.site-header__kinds a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  /* スマホ・小さい画面（メニューが1行に入りきらない幅）：［メニュー］を押すと、ヘッダーの下に一覧が開く（後ろは暗くする） */
  .site-header__inner { padding: 4px 16px; }
  .site-header__menu { display: flex; }
  .site-header__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 16px 16px; background: #fff; border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.18), 0 0 0 100vmax rgba(20,4,40,.45);
    clip-path: inset(0 -100vmax -100vmax);  /* 暗くするのはヘッダーより下だけ */
    max-height: calc(100vh - 56px); overflow-y: auto;
  }
  .site-header.is-open .site-header__nav { display: flex; }
  .site-header__group { display: block; margin: 12px 0 2px; font-size: var(--fs-small); font-weight: 800; color: #8a6d2b; }
  .site-header__nav .site-header__link {
    display: block; min-height: 48px; padding: 8px 4px; border-radius: 0; border-bottom: 1px solid #eee; color: var(--main);
    font-size: 16px; line-height: 1.4;
  }
  .site-header__link:hover { background: var(--main-thin); }
  .site-header__link small { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--text-sub); }
  .site-header__kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 0; padding: 0; border: 0; }
  .site-header__kinds a {
    justify-content: center; padding: 0 4px; border: 1px solid #c9bedb; border-radius: 10px; color: var(--main) !important; font-weight: 700;
  }
}

.breadcrumb { background: var(--bg-gray); font-size: var(--fs-small); color: var(--text-sub); }
.breadcrumb ol {
  max-width: 1120px; margin: 0 auto; padding: 6px 24px; list-style: none;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 4px; }
.breadcrumb li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.breadcrumb a { color: inherit; text-decoration: none; }

.site-footer { background: #3a3a3a; color: #eee; margin-top: 64px; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; padding: 32px 24px 20px; }
.site-footer__ttl { font-weight: 700; border-bottom: 1px solid #666; padding-bottom: 6px; margin: 0 0 8px; }
.site-footer__cats { list-style: none; margin: 0 0 24px; padding: 0; }
.site-footer__cats li { border-bottom: 1px solid #555; }
.site-footer__cats a { display: block; color: #eee; padding: 8px 4px; text-decoration: none; }
.site-footer__cats a::before { content: "›"; margin-right: 8px; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: var(--fs-small); }
.site-footer__nav a { color: #ddd; }
.site-footer__copy { text-align: center; font-size: var(--fs-small); color: #767676; margin: 16px 0 0; }

/* ---------------- TOP ---------------- */

.top-hero {
  background: linear-gradient(135deg, #3b0d6b, var(--main) 55%, #1b0233);
  padding: 48px 16px;
}
.top-hero__box {
  position: relative; max-width: 560px; margin: 0 auto; padding: 32px 24px 16px;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff; font-size: var(--fs-body);
}
.top-hero__label {
  position: absolute; top: -14px; left: 0; margin: 0; padding: 2px 14px;
  background: var(--main); border: 1px solid rgba(255,255,255,.5); font-size: var(--fs-small);
}

.top-area { max-width: 900px; margin: 0 auto; padding: 48px 16px 0; }
.top-area > h1.is-style-section_ttl, .top-area > h2.is-style-section_ttl {
  text-align: center; font-size: 22px; margin: 0 0 24px; color: #333;
}
#japan-map { margin-bottom: 32px; }
#japan-map a.is-migrated span { box-shadow: 0 0 0 3px #f6c94c; }

.wp-block-group.has-background { padding: 24px 16px; margin: 24px 0; }
.has-swl-main-thin-background-color { background-color: var(--main-thin); }
.has-swl-pale-01-background-color { background-color: #fff0f0; }
.has-swl-pale-03-background-color { background-color: #effaeb; }
.wp-block-group p { margin: 0 0 12px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link {
  display: inline-block; padding: 4px 14px; font-size: var(--fs-small); color: #fff; text-decoration: none;
  background: var(--btn, var(--main));
}
.wp-block-button__link:hover { opacity: .8; }
/* TOP の地域ボタン：元の記事の明るい色（水色・黄緑など）に白い字では読みにくい（色の差 1.8〜2.8）ので、字を濃い色にする。
   紫（#7b66d4）だけは地を少し濃くして白い字のまま。押しやすいよう高さも足す */
.wp-block-button__link[style*="--btn"] { color: #1a1a1a; font-weight: 700; padding: 8px 14px; min-height: 40px; box-sizing: border-box; }
.wp-block-button__link[style*="#7b66d4"] { color: #fff; background: #5b45b8; }
.wp-block-button__link.is-migrated { outline: 3px solid #f6c94c; }

.top-area > h3 {
  font-size: 18px; margin: 48px 0 16px; padding: 0 8px 8px;
  border-bottom: 2px solid var(--line); position: relative;
}
.top-area > h3::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 30%; height: 2px; background: var(--main);
}

/* 近くの地域の占い店（元の記事カードを作り替えたもの。tools/nearby.py）：PCは2列・スマホは1列。小さな写真＋地域名＋数字 */
.post-content .nearby { margin: 0 0 1.6em; }
.nearby__list { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nearby__list li { margin: 0 !important; }
.nearby__list a {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px; border: 1px solid #d9cfe8; border-radius: 10px;
  background: #fff; color: var(--text); text-decoration: none;
}
.nearby__list a:hover { border-color: var(--accent); }
.nearby__list a:hover .nearby__name { color: var(--accent); }
.nearby__list img { flex: none; width: 96px; height: 64px; object-fit: cover; border-radius: 6px; margin: 0 !important; }
.nearby__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nearby__name { font-weight: 800; color: var(--main); line-height: 1.5; }
.nearby__meta { font-size: var(--fs-small); color: var(--text-sub); line-height: 1.6; }
.nearby__meta span { white-space: nowrap; }
.nearby__more { margin: 12px 0 0 !important; text-align: right; font-size: var(--fs-small); }
@media (max-width: 600px) { .nearby__list { grid-template-columns: 1fr; } }

/* ================================================================ 店のカード
   店ごとにスライドのようなカードで区切る（body.store-cards＝店の欄がある全記事。2026-11-04 山梨で試し、11-05 全記事へ）
   早見表と店の欄を白いカードにし、後ろに横いっぱいの帯を敷く（カードの間のすき間も帯でつながる）
   ★ 見た目を変えるときは、下の「デザインの値」だけを書き換える（全記事に効く。本文の作り直しは要らない）
   ★ カードをやめるときは、tools/import_wp.py の body_class の store-cards を外す */
.store-cards {
  /* --- デザインの値（ここだけ変える） --- */
  --card-bg: #fff;                                 /* カードの地 */
  --card-line: #d9cfe8;                            /* カードの枠 */
  --card-accent: #e2c27a;                          /* カードの上の縁の線（金） */
  --card-accent-w: 4px;                            /* 上の縁の線の太さ（0で無し） */
  --card-radius: 16px;                             /* 角の丸み */
  --card-pad: 24px 24px 28px;                      /* カードの内側の余白（上 左右 下） */
  --card-gap: 48px;                                /* カードとカードの間 */
  --card-shadow: 0 8px 22px rgba(45, 7, 81, .10);  /* カードの影（none で無し） */
  --card-band: #f5f1fa;                            /* カードの後ろの横いっぱいの帯（transparent で無し） */
  --card-no-bg: var(--main);                       /* 右上の「1 / 5」の地 */
  --card-no-fg: #e2c27a;                           /* 右上の「1 / 5」の文字 */
}
@media (max-width: 600px) {
  .store-cards { --card-radius: 12px; --card-pad: 18px 14px 22px; --card-gap: 40px; }  /* スマホ */
}
/* --- 形（ふだんは触らない） --- */
.store-cards .post-content .quick,
.store-cards .post-content section.store {
  position: relative; margin: 0 0 var(--card-gap); padding: var(--card-pad); background: var(--card-bg);
  border: 1px solid var(--card-line); border-top: var(--card-accent-w) solid var(--card-accent); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow), 0 0 0 100vmax var(--card-band);  /* 2つ目＝カードの外の帯 */
  clip-path: inset(calc(var(--card-gap) / -2) -100vmax);  /* 帯はカードの上下に間の半分ずつ（カードの間がちょうど埋まる） */
}
.store-cards .post-content .quick { margin-top: calc(var(--card-gap) / 2); }
.store-cards .post-content section.store > .store-h { margin-top: 0; padding-right: 64px; }
/* 右上の「1 / 5」（何店目か）。番号は記事の順で固定の data-no（絞り込んでも見出しの No. とずれない） */
.store-cards .post-content section.store::before {
  content: attr(data-no) " / " attr(data-total); position: absolute; top: 14px; right: 16px;
  padding: 2px 10px; border-radius: 999px; background: var(--card-no-bg); color: var(--card-no-fg);
  font-size: var(--fs-small); font-weight: 800; letter-spacing: .04em;
}
@media (max-width: 600px) {
  .store-cards .post-content section.store::before { top: 10px; right: 10px; }
}

/* 記事一覧（TOPの取材記事一覧） */
.wp-block-columns { display: flex; gap: 24px; margin: 24px 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.p-postList { list-style: none; margin: 0; padding: 0; }
.p-postList__link { display: block; color: var(--text); text-decoration: none; }
.p-postList__link:hover .p-postList__title { color: var(--accent); }
.p-postList.-type-card .p-postList__item { margin-bottom: 16px; }
.c-postThumb { position: relative; }
.c-postThumb__figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.c-postThumb__img { width: 100%; height: 100%; object-fit: cover; }
.c-postThumb__cat {
  position: absolute; top: 0; right: 0; background: var(--main); color: #fff; font-size: var(--fs-small); padding: 1px 8px;
}
.p-postList__title { font-weight: 700; font-size: 14px; line-height: 1.6; margin-top: 8px; }
.p-postList__excerpt { font-size: var(--fs-small); color: var(--text-sub); margin-top: 4px; }
.p-postList__meta { font-size: var(--fs-small); color: #666; display: flex; gap: 8px; }
.p-postList.-type-simple .p-postList__item { border-top: 1px solid var(--line); }
.p-postList.-type-simple .p-postList__item:last-child { border-bottom: 1px solid var(--line); }
.p-postList.-type-simple .p-postList__link { padding: 12px 4px; }
.p-postList.-type-simple .p-postList__title { margin-top: 2px; }
.is-style-more_btn { text-align: center; margin-top: 24px; }
.is-style-more_btn a {
  display: inline-block; min-width: 200px; padding: 8px 24px; border: 1px solid var(--line);
  background: #fff; color: var(--text-sub); text-decoration: none; font-size: var(--fs-small);
}

/* ---------------- 記事 ---------------- */

.l-main { display: block; }
.article { max-width: var(--content-w); margin: 0 auto; padding: 32px 16px 0; }
.article__title { font-size: 24px; line-height: 1.5; margin: 0 0 12px; }
/* 記事の頭の帯（TOP のヒーローと同じ濃い紫＋金の線）。中身の幅は本文と同じ 760px で、タイトルと本文の左端をそろえる */
.a-hero { background: var(--main); color: #fff; border-bottom: 3px solid #e2c27a; }
.a-hero__in { max-width: var(--content-w); margin: 0 auto; padding: 32px 16px 28px; }
/* パンくずは本文の欄の先頭（タイトルの帯の下・アイキャッチの上）。背景の帯は付けず、本文と左端をそろえる（2026-11-05） */
.article > .breadcrumb { background: none; margin: 0 0 14px; }
.article > .breadcrumb ol { max-width: none; padding: 0; }
.article > .breadcrumb a { text-decoration: underline; text-decoration-color: rgba(102, 102, 102, .35); text-underline-offset: 3px; }
.article > .breadcrumb a:hover { color: var(--accent); text-decoration-color: currentColor; }
.a-hero__label { margin: 0 0 8px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .1em; color: #e2c27a; }
.a-hero .article__title { font-size: 28px; line-height: 1.45; margin: 0 0 14px; color: #fff; }
.a-hero .article__meta { color: #e9e4f1; margin-bottom: 0; }
.a-hero__stats { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 10px; }
.a-hero__stats li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; border: 1px solid rgba(226, 194, 122, .5); border-radius: 10px; padding: 10px 14px; background: rgba(255, 255, 255, .06); }
.a-hero__stats span { font-size: var(--fs-small); color: #e9e4f1; }
.a-hero__stats strong { font-size: 26px; line-height: 1.2; color: #e2c27a; }
.a-hero__stats small { font-size: var(--fs-small); margin-left: 3px; color: #fff; }
.is-article .article { padding-top: 16px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--fs-small); color: var(--text-sub); margin-bottom: 32px; }
.pr-label { border: 1px solid currentColor; padding: 0 6px; font-size: var(--fs-small); }
.meta__modified::before { content: "更新 "; }
.meta__author::before { content: "著者 "; }

.post-content > * { margin-top: 0; margin-bottom: 1.6em; }
.post-content p { margin: 0 0 1.6em; }
.post-content .has-text-align-center { text-align: center; }
.post-content .has-text-align-left { text-align: left; }

/* 見出し */
/* h2：夜空の紫のグラデーション＋金の章番号＋三日月と星の飾り（icons/night.svg） */
.post-content { counter-reset: sec; }
.post-content h2 {
  --gold: #e2c27a;
  counter-increment: sec; position: relative; overflow: hidden;
  background: url("icons/night.svg") right 12px center / 120px 60px no-repeat, linear-gradient(120deg, #1e0638 0%, #3b0f6b 60%, #5a2a8c 100%);
  color: #fff; font-size: 20px; line-height: 1.5; letter-spacing: .03em;
  padding: 18px 120px 16px 20px; margin: 72px 0 32px; border-radius: 10px;
  border-bottom: 3px solid var(--gold);
}
.post-content h2::before {
  content: "SECTION " counter(sec, decimal-leading-zero); display: block;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; color: var(--gold); margin-bottom: 4px;
}
.post-content h2.has-text-align-center { padding-left: 20px; padding-right: 20px; background-size: 80px 40px, auto; background-position: right 10px top 8px, 0 0; }

/* h3（店以外）：薄紫の地＋左に三日月 */
.post-content h3 {
  position: relative; font-size: 17px; line-height: 1.5; margin: 48px 0 20px;
  padding: 10px 14px 10px 42px; background: var(--main-thin); border-left: 4px solid var(--main); border-radius: 0 8px 8px 0;
}
.post-content h3::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--accent); -webkit-mask: url("icons/moon.svg") center / contain no-repeat; mask: url("icons/moon.svg") center / contain no-repeat;
}

/* h3（店の見出し）：No.番号の丸＋エリア札（地図ピン）／先生の名前を大きく／店名を小さく */
.store-list { counter-reset: store; }
.store { counter-increment: store; }
.post-content .store-h {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
  margin: 56px 0 14px; padding: 0 0 12px; background: none; border: 0; border-radius: 0;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--main), #c9a24a 60%, transparent) 1;
}
.post-content .store-h::before {
  content: "No." attr(data-no); position: static; grid-row: 1 / span 3; align-self: start;
  width: 52px; height: 52px; margin: 0; border-radius: 50%; -webkit-mask: none; mask: none;
  display: grid; place-items: center; font-size: var(--fs-small); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #3b0f6b, #6a2fa0); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #c9a24a;
}
.store-h .h-area {
  justify-self: start; display: inline-flex; align-items: center; gap: 3px;
  font-size: var(--fs-small); font-weight: 700; color: var(--main); background: var(--main-thin); border-radius: 20px; padding: 2px 10px 2px 6px;
}
.store-h .h-area::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: url("icons/pin.svg") center / contain no-repeat; mask: url("icons/pin.svg") center / contain no-repeat;
}
.store-h .h-sep { display: none; }  /* 区切りの「│」は文字としては残し、見た目は札で表す */
.store-h .h-who { font-size: 21px; line-height: 1.4; margin-top: 4px; }
.store-h .h-shop { font-size: var(--fs-small); font-weight: 700; color: var(--text-sub); }
/* 見出しの形が沖縄と違う県（tools/enhance_area.py の _split_generic_heading）：見出しの前置き（「旭川で当たる占い①」など）は小さく */
.store-h .h-pre { font-size: var(--fs-small); font-weight: 700; color: var(--text-sub); }
/* エリアの札（見出しにエリアが無い県は、見出しのすぐ下に置く。見た目は沖縄の見出しの札と同じ） */
.store-area {
  display: inline-flex; align-items: center; gap: 3px; margin: -6px 0 12px 62px !important;
  font-size: var(--fs-small); font-weight: 700; color: var(--main); background: var(--main-thin); border-radius: 20px; padding: 2px 10px 2px 6px;
}
.store-area::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: url("icons/pin.svg") center / contain no-repeat; mask: url("icons/pin.svg") center / contain no-repeat;
}
.post-content h4 {
  font-size: 15px; margin: 36px 0 16px; padding: 2px 0 2px 12px; border-left: 2px solid var(--main);
}
/* h5（店の見出しが h4 の記事の小見出し。ブラウザの既定のままだと 13px になる） */
.post-content h5 { font-size: 15px; margin: 28px 0 12px; color: var(--main); }
/* 古い記事の <small> と <font size="2">（12〜13px になる）を、小さい文字の下限（14px）にそろえる */
.post-content small:not([class]), .post-content font { font-size: var(--fs-small); }
.post-content .report_ttl_02 {
  font-weight: 700; font-size: 15px; margin: 32px 0 16px;
  display: flex; align-items: center; gap: 8px;
}
.post-content .report_ttl_02::before {
  content: ""; width: 32px; height: 24px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Crect x='0' y='0' width='22' height='16' rx='5' fill='%239731c8'/%3E%3Cpath d='M5 15 3 20 10 16z' fill='%239731c8'/%3E%3Ccircle cx='6' cy='8' r='1.8' fill='%23fff'/%3E%3Ccircle cx='11' cy='8' r='1.8' fill='%23fff'/%3E%3Ccircle cx='16' cy='8' r='1.8' fill='%23fff'/%3E%3Crect x='12' y='8' width='19' height='14' rx='5' fill='none' stroke='%239731c8' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 目次：章の見出しと同じ夜空の帯＋金の番号。店は見出しと同じくエリア札・先生名・店名 */
.toc {
  --gold: #e2c27a;
  margin: 32px 0 48px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  font-size: var(--fs-dense);
}
.toc__ttl {
  margin: 0 !important; padding: 14px 20px 12px; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.4;
  background: url("icons/night.svg") right 12px center / 96px 48px no-repeat, linear-gradient(120deg, #1e0638 0%, #3b0f6b 60%, #5a2a8c 100%);
  border-bottom: 3px solid var(--gold);
}
.toc__ttl::before {
  content: "CONTENTS"; display: block; font-size: var(--fs-small); letter-spacing: .12em; color: var(--gold); margin-bottom: 2px;
}
.toc__list { list-style: none; margin: 0; padding: 4px 20px 12px !important; counter-reset: toc; }
.toc__list > li { counter-increment: toc; padding: 10px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.toc__list > li:last-child { border-bottom: 0; }
.toc__list > li > a { display: grid; grid-template-columns: 2.2em 1fr; font-weight: 700; line-height: 1.5; }
.toc__list > li > a::before { content: counter(toc, decimal-leading-zero); color: #b8902f; font-weight: 700; }
.toc__list ol { list-style: none; margin: 6px 0 0; padding: 0 0 0 2.2em; font-size: var(--fs-small); }
.toc__list ol li { margin: 0; }
.toc__list ol a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding: 4px 0 4px 16px; position: relative; line-height: 1.5; }
.toc__list ol a::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--accent);
  -webkit-mask: url("icons/moon.svg") center / contain no-repeat; mask: url("icons/moon.svg") center / contain no-repeat;
}
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc-sheet a:hover { color: var(--accent); }
/* 店の項目：エリア札・先生名・店名（tools/enhance_area.py が span に分ける） */
.toc-area { font-size: var(--fs-small); color: var(--main); background: var(--main-thin); border-radius: 20px; padding: 0 8px; line-height: 1.6; }
.toc-sep { display: none; }
.toc-who { font-weight: 700; }
.toc-shop { color: var(--text-sub); }
.toc.-long:not(.is-open) .toc__list { max-height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.toc__more {
  display: block; width: calc(100% - 40px); margin: 0 20px 16px; padding: 9px; font: inherit; font-size: var(--fs-small); cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--main);
}
/* 開いたあとはボタンが「閉じる」になる（site.js） */
.toc.is-open .toc__more { margin-top: 4px; }

/* 画像 */
.wp-block-image { margin: 0 0 1.6em; }
.wp-block-image figure, figure.wp-block-image { margin: 0 0 1.6em; }
.wp-block-image img { display: block; margin-left: auto; margin-right: auto; }
.aligncenter, .wp-block-image .aligncenter, figure.aligncenter { margin-left: auto; margin-right: auto; text-align: center; display: table; }
.aligncenter img { margin: 0 auto; }
.wp-element-caption { font-size: var(--fs-small); color: var(--text-sub); text-align: center; margin-top: 4px; }
.size_xs img, .size_xs { max-width: 120px; }
.size_s img, .size_s { max-width: 240px; }

/* 吹き出し（SWELL） */
.c-balloon { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 1.6em; }
.c-balloon.-bln-right { flex-direction: row-reverse; }
.c-balloon__icon { flex: none; width: 64px; text-align: center; }
.c-balloon__iconImg { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; background: #fff; }
/* 吹き出しのアイコンの下の名前（「編集長 摩耶」）：アイコンの添え書きなので小さく、1行に収める（2026-11-04 平良さんの指摘。
   本文の最小14pxの例外。14pxでは64pxの幅に収まらず「編集長 摩／耶」と割れていた） */
.c-balloon__iconName { display: block; font-size: 11px; color: var(--text-sub); line-height: 1.3; margin-top: 3px; white-space: nowrap; letter-spacing: 0; }
.c-balloon__body { position: relative; max-width: 100%; }
.c-balloon__text {
  position: relative; padding: 10px 16px; border-radius: 6px; font-size: var(--fs-body);
  background: var(--bal-bg, var(--bg-gray)); border: 1px solid var(--bal-line, transparent);
}
.c-balloon__body.-border-on .c-balloon__text { --bal-line: #ccc; }
.c-balloon__text > :last-child { margin-bottom: 0; }
.c-balloon__text::before {
  content: ""; position: absolute; top: 16px; width: 10px; height: 10px;
  background: var(--bal-bg, var(--bg-gray)); border: 1px solid var(--bal-line, transparent);
  transform: rotate(45deg);
}
.-bln-left .c-balloon__text::before { left: -6px; border-top: 0; border-right: 0; }
.-bln-right .c-balloon__text::before { right: -6px; border-bottom: 0; border-left: 0; }
.c-balloon[data-col="gray"] { --bal-bg: #f7f7f7; }
.c-balloon[data-col="blue"] { --bal-bg: var(--pale-blue); }
.c-balloon[data-col="green"] { --bal-bg: var(--pale-green); }
.c-balloon[data-col="red"] { --bal-bg: var(--pale-red); }
.c-balloon[data-col="yellow"] { --bal-bg: var(--pale-yellow); }
.c-balloon[data-col="blue"] .c-balloon__body.-border-on .c-balloon__text { --bal-line: #9fd2ef; }
.c-balloon[data-col="green"] .c-balloon__body.-border-on .c-balloon__text { --bal-line: #a8dc9a; }
.c-balloon[data-col="red"] .c-balloon__body.-border-on .c-balloon__text { --bal-line: #f2b3b3; }
.c-balloon[data-col="yellow"] .c-balloon__body.-border-on .c-balloon__text { --bal-line: #ecd57e; }
/* アイコンなしの吹き出し（記事冒頭の「〜が知りたい！」） */
.c-balloon:not(:has(.c-balloon__icon)) .c-balloon__text { display: inline-block; }
.c-balloon.-bln-left:not(:has(.c-balloon__icon)) { padding-left: 16px; }
.c-balloon.-bln-right:not(:has(.c-balloon__icon)) { padding-right: 16px; }
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-10 { margin-bottom: 10px !important; }
.swell-block-balloon.u-mb-0 .c-balloon { margin-bottom: 12px; }

/* 吹き出し（Simple Blog Design） */
.sbd-balloon { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 1.6em; }
.sbd-balloon__profile { flex: none; width: 64px; text-align: center; }
.sbd-balloon__icon { margin: 0; }
.sbd-balloon__img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }
.sbd-balloon__name { font-size: 11px; color: var(--text-sub); line-height: 1.3; white-space: nowrap; }  /* .c-balloon__iconName と同じ */
.sbd-balloon__text-box { position: relative; padding: 10px 16px; border-radius: 8px; background: var(--sbd-bg, var(--bg-gray)); font-size: var(--fs-body); }
.sbd-balloon__text-box > :last-child { margin-bottom: 0; }
.sbd-balloon__text-box::before {
  content: ""; position: absolute; left: -7px; top: 18px;
  border: 7px solid transparent; border-left: 0; border-right-color: var(--sbd-bg, var(--bg-gray));
}
.sbd-balloon--red { --sbd-bg: #fde4e4; }
.sbd-balloon--orange { --sbd-bg: #fdf0dc; }
.sbd-balloon--gray { --sbd-bg: #efefef; }

/* タブ：下線の形（早見表の並べ替えと同じ）。中身を囲む枠はなし。選んでいるタブだけ紫の文字・太字・太い下線 */
.swell-block-tab { margin-bottom: 2em; }
.c-tabList {
  display: flex; flex-wrap: nowrap; gap: 0; list-style: none; margin: 0 0 16px; padding: 0;
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.c-tabList::-webkit-scrollbar { display: none; }
.c-tabList__item { flex: 1 1 0; min-width: max-content; }
.c-tabList__button {
  display: block; width: 100%; padding: 10px 8px; margin-bottom: -1px; font: inherit; font-size: var(--fs-small);
  color: #555; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap;
}
.c-tabList__button:hover { color: var(--main); }
.c-tabList__button[aria-selected="true"] { color: var(--main); font-weight: 700; border-bottom-color: var(--main); }
.c-tabBody__item[aria-hidden="true"] { display: none; }
.c-tabBody__item > :last-child { margin-bottom: 1em; }

/* ボックス */
.cap_box { border: 1px solid var(--main); margin: 32px 0 2em; position: relative; }
.cap_box_ttl {
  display: inline-block; position: relative; top: -0.9em; left: 12px; margin-bottom: -0.9em;
  background: var(--bg); color: var(--main); font-weight: 700; padding: 0 8px; font-size: 14px;
}
.cap_box_content { padding: 4px 16px 0; }
.cap_box_content > :last-child { margin-bottom: 1em; }
.is-style-balloon_box {
  display: inline-block; position: relative; background: var(--main); color: #fff !important;
  padding: 2px 16px; font-size: var(--fs-small); margin-bottom: 1.2em !important;
}
.is-style-balloon_box::after {
  content: ""; position: absolute; left: 20px; bottom: -8px;
  border: 8px solid transparent; border-bottom: 0; border-top-color: var(--main);
}
.is-style-bg_stripe {
  padding: 16px 20px;
  background: repeating-linear-gradient(-45deg, #f6f6f6 0 4px, #fff 4px 8px);
}
.block-box { }

/* 引用（口コミ） */
.wp-block-quote {
  position: relative; margin: 0 0 1.6em; padding: 16px 20px 16px 44px;
  background: var(--bg-gray); border: 1px solid #e6e6e6; font-size: var(--fs-body);
}
.wp-block-quote::before { content: "“"; position: absolute; left: 12px; top: 0; font-size: 40px; color: #ccc; font-family: serif; }
.wp-block-quote > :last-child { margin-bottom: 0; }

/* リスト */
.post-content ul, .post-content ol { padding-left: 1.5em; }
.post-content li { margin-bottom: .4em; }
.is-style-check_list, .is-style-bad_list { list-style: none; padding: 16px 20px !important; border: 1px solid var(--line); }
.is-style-check_list li, .is-style-bad_list li { position: relative; padding-left: 1.6em; }
.is-style-check_list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.is-style-bad_list li::before { content: "×"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.-list-under-dashed li { border-bottom: 1px dashed var(--line); padding-bottom: .4em; }
.is-style-num_circle { list-style: none; counter-reset: num; padding-left: 0 !important; }
.is-style-num_circle > li { counter-increment: num; position: relative; padding-left: 2em; }
.is-style-num_circle > li::before {
  content: counter(num); position: absolute; left: 0; top: .2em; width: 1.5em; height: 1.5em; line-height: 1.5em;
  border-radius: 50%; background: var(--main); color: #fff; font-size: var(--fs-small); text-align: center;
}

/* 表 */
.wp-block-table { margin: 0 0 1.6em; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-dense); }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: middle; text-align: left; line-height: 1.6; }
.wp-block-table th { background: var(--bg-gray); font-weight: 700; }
.wp-block-table th[data-align="center"], .wp-block-table .has-text-align-center { text-align: center; }
.wp-block-table table.has-fixed-layout { table-layout: fixed; }
.wp-block-table table[style*="--swl-cell1-width"] tr > :first-child { width: var(--swl-cell1-width); }
/* 店の「料金・場所」の表：項目名を折り返さない */
.store .c-tabBody__item .wp-block-table th { width: 5.5em; white-space: nowrap; }
.c-scrollHint { display: none; }
/* 表の中の写真：ブラウザの既定の左右40pxの余白で、スマホで幅0になって消えないように */
.wp-block-table td figure, .wp-block-table th figure { margin: 0 auto; }
/* 店を横に並べた列の多い表（5列以上）：押し縮めず、横にずらして見る（写真が消える・文字が1字ずつ縦に並ぶのを防ぐ） */
.wp-block-table table:has(tr > :nth-child(5)) { min-width: 640px; table-layout: auto; }
.wp-block-table table:has(tr > :nth-child(7)) { min-width: 840px; }
.wp-block-table table:has(tr > :nth-child(5)) :is(th, td) { min-width: 7em; }
/* 元の記事の比較表（vernis_hikaku_tb）と class の無い表：表の枠（.wp-block-table）の外にあって枠線が無かった（久留米の一覧表など）。
   写真の並びの表（nodesign_table）は枠を付けない形なので含めない */
.koukokuscroll-box { overflow-x: auto; margin: 0 0 1.6em; }
.post-content table.vernis_hikaku_tb, .post-content :not(.wp-block-table) > table:not([class]) {
  width: 100%; border-collapse: collapse; font-size: var(--fs-dense); margin: 0 0 1.6em;
}
.koukokuscroll-box > table { margin-bottom: 0; }
.post-content table.vernis_hikaku_tb :is(th, td), .post-content :not(.wp-block-table) > table:not([class]) :is(th, td) {
  border: 1px solid var(--line); padding: 8px 10px; vertical-align: middle; line-height: 1.6;
}
.post-content table.vernis_hikaku_tb th, .post-content :not(.wp-block-table) > table:not([class]) th { background: var(--bg-gray); font-weight: 700; }
.post-content table.vernis_hikaku_tb td img { display: block; margin: 4px auto 0; border-radius: 50%; }
/* スマホで電話番号と見出しが1字ずつ折り返さないように（久留米） */
.post-content table.vernis_hikaku_tb th, .post-content table.vernis_hikaku_tb a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 600px) { .post-content table.vernis_hikaku_tb :is(th, td) { padding: 6px; font-size: var(--fs-small); } }
/* 「インタビューをした占い師」の表（北海道など）：店名の行＝帯、写真＝丸、先生の名前＝太字、詳細＝小さなボタン */
.interview-table table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; table-layout: auto; }
.interview-table :is(th, td) { border: 0; border-right: 1px solid var(--line); text-align: center; vertical-align: top; min-width: 8.5em; padding: 10px 8px; }
.interview-table tr > :last-child { border-right: 0; }
.interview-table tr:first-child > * { background: var(--main-thin); color: var(--main); font-weight: 700; font-size: var(--fs-small); line-height: 1.5; vertical-align: middle; }
.interview-table tr:nth-child(2) > * { font-weight: 700; padding-top: 14px; }
.interview-table img { display: block; width: 80px; height: 80px; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.interview-table tr:last-child a { display: inline-block; padding: 4px 14px; border: 1px solid var(--main); border-radius: 999px; color: var(--main); font-size: var(--fs-small); text-decoration: none; }
.interview-table tr:last-child a:hover { background: var(--main); color: #fff; }
/* 旭川の店の欄（営業時間・電話・住所の行）のアイコン：大きさの指定が無く、100px〜700pxに広がっていた */
.store-details-ul, .profile-ul { list-style: none; padding-left: 0; }
.store-details-ul li, .profile-ul li { margin: 0 0 6px; }
.store-details-ul img, .profile-ul img { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; display: inline-block; }

/* ラベル（バッジ） */
.label { display: inline-block; font-size: var(--fs-small); line-height: 1.6; padding: 0 8px; margin: 2px 2px 2px 0; color: #fff; background: #666; border-radius: 20px; }
.label-limited { background: #c2185b; }
.label-sale { background: #b45309; }
/* 鹿児島の一覧表の占術の札（元の記事の [dark-purple:霊視] の形）。白い字との色の差が4.5以上になる濃さ */
.label-purple { background: #6a1b9a; } .label-blue { background: #1565c0; } .label-green { background: #2e7d32; }
.label-orange { background: #c2410c; } .label-pink { background: #ad1457; } .label-yellow { background: #8a6100; }
.label-recommend { background: #4caf7d; }
.label-premium { background: #8a63d2; }
.label-exclusive { background: #3c8ee6; }
.label-outline { background: transparent; color: #3c8ee6; border: 1px solid currentColor; }
.label-compact { padding: 0 6px; }

/* ボタン */
.swell-block-button { text-align: center; margin: 0 0 2em; }
.swell-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 64%; max-width: 100%; width: var(--the-width, auto);
  padding: 12px 24px; color: #fff; font-weight: 700; text-decoration: none;
  background: var(--btn-bg, var(--main)); border-radius: 4px; box-shadow: 0 3px 0 rgba(0,0,0,.2);
}
.swell-block-button.-size-l .swell-block-button__link { min-width: 80%; padding: 16px 24px; font-size: 16px; }
.swell-block-button__link:hover { opacity: .85; }
.red_ { --btn-bg: var(--red); }
.green_ { --btn-bg: var(--green); }
.blue_ { --btn-bg: var(--blue); }
.swell-block-button__link .__icon { fill: currentColor; }
.swl-inline-btn a {
  display: inline-block; padding: 2px 14px; margin: 2px 0; border-radius: 3px; font-size: var(--fs-small);
  color: #fff; text-decoration: none; background: var(--btn-bg, var(--main));
}

/* よくある質問 */
.swell-block-faq { margin: 0 0 2em; }
.swell-block-faq__item { border: 1px solid var(--line); margin-bottom: 12px; }
.faq_q, .faq_a { position: relative; padding: 12px 16px 12px 48px; margin: 0; }
.faq_q { font-weight: 700; background: var(--bg-gray); }
.faq_q::before, .faq_a::before {
  position: absolute; left: 14px; top: 10px; width: 24px; height: 24px; line-height: 24px; text-align: center;
  border-radius: 50%; color: #fff; font-weight: 700; font-size: var(--fs-small);
}
.faq_q::before { content: "Q"; background: var(--main); }
.faq_a::before { content: "A"; background: var(--red); }
.faq_a > :last-child { margin-bottom: 0; }

/* 文字の装飾 */
.u-fz-s, .has-small-font-size { font-size: var(--fs-small); }
.u-fz-xs { font-size: var(--fs-small); }
.komozi { font-size: var(--fs-small); color: var(--text-sub); }
.hutoaka { color: #e8382f; font-weight: 700; }
.mark_yellow, .swl-marker, .ymarker { background: linear-gradient(transparent 60%, #fff27a 60%); }
.has-swl-deep-01-color { color: #e44141 !important; }
.has-very-dark-gray-color { color: #313131 !important; }
.has-inline-color { }
.swl-inline-icon { }
.gonext { word-break: break-all; }

/* 段組み（本文内） */
.post-content .wp-block-columns { gap: 16px; }
.post-content .wp-block-column > :last-child { margin-bottom: 0; }

/* ---------------- 見せ方の整理（tools/enhance_area.py） ---------------- */

.compare-note { background: var(--pale-yellow); border: 1px solid #ecd57e; padding: 8px 12px; font-size: var(--fs-small); margin: 0 0 24px; }

/* 早見表 */
.quick { margin: 0 0 2em; }
.quick__ttl { font-weight: 700; color: var(--main); margin: 0 0 10px !important; font-size: 16px; }
.quick__list { list-style: none; margin: 12px 0 0; padding: 0 !important; counter-reset: q; }
.quick__list li { margin: 0; border-top: 1px solid #eee; counter-increment: q; }
.quick__list li[hidden] { display: none; }
.quick__list a {
  display: grid; grid-template-columns: 1.6em 4.6em 1fr; grid-template-areas: "n area who" "n area shop";
  column-gap: 8px; align-items: center; padding: 8px 4px; color: var(--text); text-decoration: none; line-height: 1.5;
}
.quick__list a::before { content: attr(data-no); grid-area: n; font-size: var(--fs-small); color: #666; text-align: right; }
.quick__list a:hover { background: var(--main-thin); }
.quick__area { grid-area: area; font-size: var(--fs-small); text-align: center; background: var(--main-thin); color: var(--main); border-radius: 3px; padding: 1px 0; }
.quick__who { grid-area: who; font-weight: 700; font-size: var(--fs-dense); }
.quick__shop { grid-area: shop; font-size: var(--fs-small); color: var(--text-sub); }
.quick__list a:not(:has(.quick__shop)) { grid-template-areas: "n area who"; }

/* 早見表：料金の目安・相談方法・並べ替え */
/* 料金と相談方法は3行目に（横に並べるとスマホで名前が押しつぶされる） */
.quick__list a:has(.quick__meta) { grid-template-areas: "n area who" "n area shop" "n area meta"; }
/* 写真つき：番号｜写真｜（名前・店名・エリアと料金）。エリアは文字の列の頭に小さく */
.quick__list a:has(.quick__img) {
  grid-template-columns: 1.2em 96px 1fr; column-gap: 10px;
  grid-template-areas: "n img area" "n img who" "n img shop" "n img meta";
}
.quick__img { grid-area: img; width: 96px; height: 48px; object-fit: cover; border-radius: 6px; align-self: center; }
.quick__list a:has(.quick__img) .quick__area { justify-self: start; padding: 0 6px; font-size: var(--fs-small); }
.quick__list li.is-over { display: none; }
.quick__more {
  display: block; width: 100%; margin-top: 8px; padding: 9px; font: inherit; font-size: var(--fs-small); cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--main);
}
.quick__more[hidden] { display: none; }
.quick__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-top: 2px; }
.quick__price { font-size: var(--fs-dense); font-weight: 700; color: var(--main); }
.quick__methods { font-size: var(--fs-small); color: var(--text-sub); }
.quick__note { font-size: var(--fs-small); color: var(--text-sub); margin: 10px 0 0 !important; line-height: 1.6; }

/* 先生（tools/unify_store.py の _teacher_block） */
.teacher__img { display: block; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.teacher__name { margin: 0 !important; font-weight: 700; font-size: var(--fs-dense); line-height: 1.5; }
.teacher__sp { margin: 2px 0 0 !important; font-size: var(--fs-small); color: var(--main); line-height: 1.5; }
.teacher__sp.is-empty { color: #666; }
.teacher__link { display: inline-block; margin-top: 4px; font-size: var(--fs-small); }
/* 1人：写真と名前を横に並べた1行 */
.teachers.-solo { margin: 0 0 12px; }
.teachers.-solo .teacher { display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: var(--main-thin); border-radius: 8px; }
.teachers.-solo .teacher__img { width: 60px; height: 60px; flex: none; }
/* 複数：人数で列の数を決める（tools/unify_store.py の _teacher_cols が --cols・--cols-sp を書く）
   2名＝横長のカード（PC 2列・スマホ1列）／3名＝3列／4名以上＝PC 4列・スマホ 2列。8名を超える分は「ほかの先生を見る」 */
.teachers-wrap { margin: 0 0 12px; }
.teachers__ttl { margin: 0 0 6px !important; font-weight: 700; color: var(--main); }
.teachers.-multi { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 8px; }
.teachers.-multi .teacher { text-align: center; padding: 10px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.teachers.-multi .teacher__img { width: 84px; height: 84px; margin: 0 auto 6px; }
.teachers.-multi[data-count="2"] .teacher { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; }
.teachers.-multi[data-count="2"] .teacher__img { width: 64px; height: 64px; margin: 0; flex: none; }
.teachers.-multi[data-count="3"] .teacher { padding: 8px 4px; }
.teachers.-multi[data-count="3"] .teacher__img { width: 72px; height: 72px; }
.teachers__more { margin-top: 8px; }
.teachers__more > summary {
  display: block; padding: 9px; text-align: center; cursor: pointer; list-style: none; color: var(--main);
  border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: var(--fs-small);
}
.teachers__more > summary::-webkit-details-marker { display: none; }
.teachers__more[open] > summary { margin-bottom: 8px; }

/* 割引・特典（データファイルの deals） */
/* 札：角を少し丸めた塗りの札、左にアイコン（icons/*.svg をマスクにして文字色で塗る）。
   両端の切り欠き（クーポン券の形）は「○」に見えたのでやめた */
.deal-tag, .quick__deal {
  --deal: #c2410c;
  display: inline-flex; align-items: center; gap: 3px; vertical-align: middle;
  font-size: var(--fs-small); font-weight: 700; line-height: 1; padding: 4px 8px 4px 6px; border-radius: 3px;
  color: #fff; background: var(--deal);
}
.deal-tag.-student, .quick__deal.-student { --deal: #1d6fb8; }
.deal-tag.-limited, .quick__deal.-limited { --deal: #d7000f; }
.deal-ico {
  width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.-gift .deal-ico { --ico: url("icons/gift.svg"); }
.-student .deal-ico { --ico: url("icons/student.svg"); }
.-member .deal-ico { --ico: url("icons/member.svg"); }
.-ticket .deal-ico { --ico: url("icons/ticket.svg"); }
.-clock .deal-ico { --ico: url("icons/clock.svg"); }
.deals li[hidden], .quick__deal[hidden], .facts > div[hidden] { display: none; }
/* 特典の行は黒丸なし：1行目に札、2行目に説明、3行目に期限 */
.facts__list.deals { list-style: none; padding-left: 0 !important; }
.deals li { margin: 0 0 8px; }
.deals li:last-child { margin-bottom: 0; }
.deal-text, .deal-note { display: block; }
.deal-text { margin-top: 4px; }

/* 早見表の名前の横の札（ユタなど。データファイルの labels）：金色の地に三日月 */
.label-tag {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; vertical-align: 2px;
  font-size: var(--fs-small); font-weight: 700; line-height: 1; padding: 3px 8px 3px 6px; border-radius: 3px;
  color: #7a5200; background: #fbf3dc; border: 1px solid #e2c27a; white-space: nowrap;
}
.label-tag::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: url("icons/moon.svg") center / contain no-repeat; mask: url("icons/moon.svg") center / contain no-repeat;
}
/* 閉店・閉業・休業の札：灰色の地。三日月は付けない */
.label-tag.-closed { color: #555; background: #eee; border-color: #bbb; padding-left: 8px; }
.label-tag.-closed::before { display: none; }
/* 取材済みの札（先生の取材記事がある店）：濃い紫の地に金の文字。店の欄では見出しの下（場所の札の横） */
.label-tag.-interview { color: #e2c27a; background: #2d0751; border-color: #2d0751; }
.store-area + .label-tag.-interview { margin: -6px 0 12px 6px; vertical-align: 0; }
.store-badges { margin: -6px 0 12px 62px !important; }
.store-badges .label-tag { margin-left: 0; }
.quick__list li[data-status="closed"] .quick__who { color: var(--text-sub); }

/* 口コミ（tools/tidy_tabs.py） */
.review { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; background: #fff; }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0 0 6px !important; font-size: var(--fs-small); color: var(--text-sub); }
.review__who { font-weight: 700; color: var(--text); }
.review__stars { color: #e8a317; letter-spacing: 1px; }
.review__src { margin-left: auto; font-size: var(--fs-small); }
.review__body { font-size: var(--fs-body); line-height: 1.8; }
.review__body p { margin: 0 0 .6em !important; }
.review__body p:last-child { margin-bottom: 0 !important; }
.review__body.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__more[hidden] { display: none; }
.review__more { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--link); font: inherit; font-size: var(--fs-small); cursor: pointer; }

/* 料金・場所の表：生のURLを短い名前に */
.chip-link { display: inline-block; margin: 2px 6px 2px 0; }

/* 店：要点の補足・行動ボタン */
.facts dd small, .facts dd .is-unknown { color: var(--text-sub); font-size: var(--fs-small); }
.facts__list { margin: 0; padding-left: 1.1em !important; }
.facts__list li { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em !important; }
.act {
  flex: 1 1 auto; text-align: center; padding: 9px 12px; border-radius: 6px; font-size: var(--fs-small); font-weight: 700;
  text-decoration: none; border: 1px solid var(--main); color: var(--main); background: #fff;
}
.act.-tel { background: var(--main); color: #fff; }
.actions__sub { flex-basis: 100%; font-size: var(--fs-small); color: var(--text-sub); }
.actions__sub a { margin-right: 10px; }

/* 記事の冒頭の「紹介する○店の一覧を見る」（早見表は店舗の章の頭に置いたので、そこへ飛ぶ1行） */
.quick-jump { margin: 0 0 1.6em !important; }
.quick-jump a {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--main); border-radius: 8px;
  background: var(--main-thin); color: var(--main); font-weight: 700; text-decoration: none;
}
.quick-jump a::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("icons/list.svg") center / contain no-repeat; mask: url("icons/list.svg") center / contain no-repeat; }
.quick-jump a::after { content: "↓"; margin-left: auto; }
.quick__filters-done:disabled { opacity: .45; cursor: default; }
.quick { scroll-margin-top: 8px; }

/* 早見表の上（2026-11-05 作り直し）：見出し → 一覧｜地図（幅いっぱい）→ エリア（最初から）
   → 操作の行（条件で絞る・並び・比べる。同じ形のボタン3つ）→ 条件の板 → 件数と条件の札 */
.quick > .quick__ttl { font-size: 18px; line-height: 1.4; margin: 0 !important; }
.quick__view {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; padding: 4px; border-radius: 12px; background: var(--main-thin);
}
.quick__view button {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 0; border-radius: 9px;
  font: inherit; font-size: 15px; font-weight: 700; background: transparent; color: var(--main); cursor: pointer;
}
.quick__view button::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.quick__view button.-list { --ico: url("icons/list.svg"); }
.quick__view button.-map { --ico: url("icons/pin.svg"); }
.quick__view button[aria-pressed="true"] { background: var(--main); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.quick__label { margin: 14px 0 6px !important; font-size: var(--fs-small); font-weight: 700; color: var(--main); }
.quick > .area-chips button { min-height: 40px; padding: 0 14px; font-weight: 700; border-color: #c9bedb; }
.quick > .area-chips button[aria-pressed="true"] { border-color: var(--main); }
@media (max-width: 767px) {
  /* スマホ：エリアは横に流す（多い記事でも1行。続きは横にずらして見る） */
  .quick > .area-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .quick > .area-chips::-webkit-scrollbar { display: none; }
  .quick > .area-chips button { flex: none; }
}
.quick__tools { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: 12px; }
.tool-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 6px;
  font: inherit; font-size: var(--fs-small); font-weight: 700; cursor: pointer; white-space: nowrap;
  border: 1px solid #c9bedb; border-radius: 10px; background: #fff; color: var(--main);
}
.tool-btn::before {
  content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.tool-btn.-filter { --ico: url("icons/filter.svg"); }
.tool-btn.-sort { --ico: url("icons/sort.svg"); }
.tool-btn.-cmp { --ico: url("icons/compare.svg"); }
.tool-btn[aria-expanded="true"], .tool-btn[aria-pressed="true"] { background: var(--main); border-color: var(--main); color: #fff; }
/* 並び：見た目はほかの2つと同じボタン。透明の選ぶ欄をボタン全体に重ねる（どこを押しても開く） */
.tool-btn.-sort select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.tool-btn.-sort::after { content: "▾"; font-size: 12px; }
.tool-btn.-sort:focus-within { outline: 2px solid var(--main); outline-offset: 2px; }
.tool-btn__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 0 5px; }
.tool-btn__n[hidden] { display: none; }
.quick__filters { margin-top: 10px; padding: 14px; background: var(--bg-gray); border-radius: 8px; }
.quick__filters[hidden] { display: none; }
.quick__filters-ttl { margin: 0 0 6px !important; font-size: var(--fs-small); font-weight: 700; color: var(--text-sub); }
.quick__filters .area-chips + .quick__filters-ttl { margin-top: 14px !important; }
.quick__filters-done {
  display: block; width: 100%; margin-top: 14px; padding: 9px; font: inherit; font-size: var(--fs-small); font-weight: 700;
  border: 0; border-radius: 6px; background: var(--main); color: #fff; cursor: pointer;
}
.quick__active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.quick__active[hidden] { display: none; }
.active-count { font-size: var(--fs-small); font-weight: 700; color: var(--main); margin-right: 4px; }
.active-pill {
  font: inherit; font-size: var(--fs-small); padding: 2px 10px; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--accent); background: #f6eefc; color: var(--accent);
}
.active-reset { font: inherit; font-size: var(--fs-small); border: 0; background: none; color: var(--link); text-decoration: underline; cursor: pointer; }
.quick__about { margin-top: 12px; font-size: var(--fs-small); }
.quick__about > summary { cursor: pointer; color: var(--text-sub); }
.quick__about .quick__note { margin-top: 6px !important; }
/* 店舗一覧の上の帯：絞り込み中だけ */
.filter-bar[hidden] { display: none; }
.filter-bar { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); }
.filter-bar__text { flex: 1; font-weight: 700; color: var(--accent); }
.filter-bar__btn { font: inherit; font-size: var(--fs-small); border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--main); padding: 3px 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }

/* 条件の絞り込み・一覧／地図（finder.js） */
.cond-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.quick.is-map .quick__list, .quick.is-map .quick__more, .quick.is-map .tool-btn.-sort { display: none !important; }
.quick__map { height: 380px; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; z-index: 0; }
.quick__map-note { margin: 8px 0 0; font-size: var(--fs-small); color: var(--text-sub); }
.map-pin span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #3b0f6b, #6a2fa0); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #c9a24a;
}
.map-pop strong, .map-pop span { display: block; line-height: 1.5; }
.map-pop span { font-size: 13px; color: var(--text-sub); }
.map-pop p { margin: 6px 0 0 !important; display: flex; gap: 12px; }

/* 店の欄：主役のボタンの下に、小さな文字リンク（地図で開く・ルート・＋比べる） */
.actions-wrap { margin: 0 0 1.2em; }
.actions-wrap .actions { margin-bottom: 8px !important; }
.actions-sub { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 !important; font-size: var(--fs-small); }
.sub-link { display: inline-flex; align-items: center; gap: 4px; color: var(--link); background: none; border: 0; padding: 2px 0; font: inherit; font-size: var(--fs-small); cursor: pointer; text-decoration: underline; }
.sub-link::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.sub-link.-map { --ico: url("icons/pin.svg"); }
.sub-link.-route { --ico: url("icons/route.svg"); }
.sub-link.-cmp { color: var(--main); }
.sub-link.-cmp::before { display: none; }
.sub-link.-cmp[aria-pressed="true"] { font-weight: 700; text-decoration: none; }

/* 比べる：早見表のチェック・店の欄のボタン・下の帯・比較表（finder.js） */
/* 「比べる」は行の下の段の右端に（右に列を取ると名前が押しつぶされるため） */
.quick__list li { display: flex; flex-direction: column; }
.quick__list li > .cmp { align-self: flex-end; margin: -4px 0 8px; display: none; }
.quick.is-cmp .quick__list li > .cmp { display: inline-flex; }  /* 「比べる」を押したときだけ選ぶ欄を出す */
.cmp { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-small); color: var(--text-sub); padding: 0 4px; cursor: pointer; white-space: nowrap; }
.cmp input { width: 18px; height: 18px; accent-color: var(--main); }
/* 店探しバー：画面の下に固定（早見表を過ぎると出る。finder.js） */
.finder-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex;  /* 地図の無い記事・比べる店が無いときはボタンが減る */
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.10);
  padding-bottom: env(safe-area-inset-bottom);
}
.finder-bar[hidden] { display: none; }
.finder-bar__btn {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 8px 4px 7px; font: inherit; font-size: 12px; color: var(--main); background: none; border: 0; cursor: pointer;
}
.finder-bar__btn[hidden] { display: none; }
.finder-bar__btn + .finder-bar__btn { border-left: 1px solid #f0f0f0; }
.finder-bar__btn span { font-size: var(--fs-small); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.finder-bar__ico { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
/* ［一覧へ］：いちばん使う戻り先なので、幅を広く・色を付ける */
.finder-bar__btn.-list { flex-grow: 1.5; --ico: url("icons/list.svg"); background: var(--main); color: #fff; }
.finder-bar__btn.-list .finder-bar__ico { background: #e2c27a; }
.finder-bar__btn.-map { --ico: url("icons/pin.svg"); }
.finder-bar__btn.-cmp { --ico: url("icons/compare.svg"); }
.finder-bar__btn.-toc { --ico: url("icons/toc.svg"); }
.finder-bar__n {
  position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 12px; line-height: 18px; text-align: center;
}
.finder-bar__n[hidden] { display: none; }
.finder-bar__note {
  position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 31; margin: 0 !important; padding: 10px 12px;
  border-radius: 8px; background: rgba(30,6,56,.92); color: #fff; font-size: var(--fs-small); box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.finder-bar__note[hidden] { display: none; }
body.has-finder-bar .site-footer { padding-bottom: 72px; }
body.has-finder .toc-fab { display: none !important; }

/* 店探しバーから下に開く板（絞り込む・地図） */
.finder-sheet {
  width: min(720px, 100%); max-width: 100%; max-height: 85vh; margin: auto auto 0; padding: 0; border: 0;
  border-radius: 14px 14px 0 0; overflow: hidden; display: none;
}
.finder-sheet[open] { display: flex; flex-direction: column; }
.finder-sheet::backdrop { background: rgba(0,0,0,.45); }
.finder-sheet__head {
  display: flex; align-items: center; padding: 12px 16px; color: #fff;
  background: linear-gradient(120deg, #1e0638 0%, #3b0f6b 60%, #5a2a8c 100%); border-bottom: 3px solid #e2c27a;
}
.finder-sheet__head p { margin: 0; font-weight: 700; flex: 1; }
.finder-sheet__close { border: 0; background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.finder-sheet__body { overflow: auto; padding: 0 0 env(safe-area-inset-bottom); }
.finder-sheet.-map .quick__map { height: min(70vh, 560px); margin: 0; border: 0; border-radius: 0; }
.cmp-sheet__clear { font: inherit; font-size: var(--fs-small); border: 1px solid rgba(255,255,255,.6); border-radius: 6px; background: none; color: #fff; padding: 3px 10px; cursor: pointer; }

.cmp-sheet {
  width: min(960px, 100%); max-width: 100%; max-height: 88vh; margin: auto auto 0; padding: 0; border: 0;
  border-radius: 14px 14px 0 0; overflow: hidden; display: none;
}
.cmp-sheet[open] { display: flex; flex-direction: column; }
.cmp-sheet::backdrop { background: rgba(0,0,0,.45); }
.cmp-sheet__head {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #fff;
  background: linear-gradient(120deg, #1e0638 0%, #3b0f6b 60%, #5a2a8c 100%); border-bottom: 3px solid #e2c27a;
}
.cmp-sheet__head p { margin: 0; font-weight: 700; flex: 1; }
.cmp-sheet__diff { font-size: var(--fs-small); display: inline-flex; align-items: center; gap: 4px; }
.cmp-sheet__close { border: 0; background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.cmp-sheet__body { overflow: auto; }
.cmp-table { border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); min-width: 100%; }
.cmp-table th, .cmp-table td { padding: 10px 10px; border-bottom: 1px solid #eee; vertical-align: top; text-align: left; line-height: 1.6; min-width: 132px; background: #fff; }
.cmp-table tbody th, .cmp-table thead th:first-child {
  position: sticky; left: 0; z-index: 1; min-width: 6em; width: 6em; background: var(--main-thin); color: var(--main); white-space: nowrap;
}
.cmp-table thead th { vertical-align: bottom; }
.cmp-table thead th span { display: block; font-size: var(--fs-dense); color: var(--text); }
.cmp-table thead th small { display: block; color: var(--text-sub); font-weight: 400; }
.cmp-table__img { display: block; width: 112px; height: 56px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.cmp-table__go { display: inline-block; margin: 6px 10px 0 0; font-weight: 400; }
.cmp-table__rm { font: inherit; font-size: var(--fs-small); border: 0; background: none; color: var(--text-sub); text-decoration: underline; cursor: pointer; padding: 0; }
.cmp-table td.is-empty { color: #666; }

/* エリアの絞り込み */
.area-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.area-chips button {
  font: inherit; font-size: var(--fs-small); padding: 3px 12px; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--main); background: #fff; color: var(--main);
}
.area-chips button[aria-pressed="true"] { background: var(--main); color: #fff; }
.area-chips__n { margin-left: 6px; font-weight: 400; color: #666; }
.area-chips button[aria-pressed="true"] .area-chips__n { color: #e2c27a; }
.filter-bar {
  position: sticky; top: 0; z-index: 5; background: rgba(253,253,253,.96);
  padding: 8px 0; margin: 0 0 1.6em; border-bottom: 1px solid var(--line);
}
/* 固定する方は1段にして横へ送る */
.filter-bar .area-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.filter-bar .area-chips::-webkit-scrollbar { display: none; }
.filter-bar .area-chips button { flex: none; }
.store[hidden] { display: none; }
.store > .store-h, .store > .anchor { scroll-margin-top: 64px; }
.store > .anchor { display: block; }  /* 組み直しで消えた見出しの id を残した印（富山の #atlas-uranaishi） */  /* 早見表から飛んだとき、固定のボタンに見出しが隠れないように */

/* 要点の表（店舗・ピックアップ共通。tools/unify_store.py） */
/* 写真をそろえる（tools/unify_images.py） */
.shop-photo { margin: 0 0 12px; }
.shop-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 8px; }
.store .c-tabBody__item .wp-block-image img:not(.c-balloon__iconImg),
.post-content > .wp-block-image:has(+ .facts) img {
  width: 140px !important; height: 140px !important; object-fit: cover; border-radius: 12px; border: 1px solid var(--line);
}
.store .c-tabBody__item .wp-block-columns { flex-wrap: wrap; justify-content: center; gap: 12px; }
.store .c-tabBody__item .wp-block-column { flex: 0 0 auto; }
.store .c-tabBody__item .wp-block-column .wp-block-image img { width: 110px !important; height: 110px !important; }
.facts {
  margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; font-size: var(--fs-dense);
}
.facts > div { display: grid; grid-template-columns: 7em 1fr; border-top: 1px solid #eee; }
.facts > div:first-child { border-top: 0; }
.facts dt { background: var(--main-thin); color: var(--main); font-weight: 700; padding: 8px 10px; white-space: nowrap; }
.facts dd { margin: 0; padding: 8px 12px; line-height: 1.6; }
.facts dd.is-empty { color: #666; }

/* たたんだ表 */
.fold { margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.fold > summary {
  cursor: pointer; padding: 10px 14px; font-size: var(--fs-dense); font-weight: 700; color: var(--main); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "＋"; font-weight: 400; }
.fold[open] > summary::after { content: "－"; }
.fold > .wp-block-table { margin: 0; padding: 0 10px 10px; }

/* 押してから読み込む地図 */
.map-lazy { margin: 0 0 1.6em; }
.map-lazy button {
  width: 100%; padding: 14px; font: inherit; font-size: 14px; cursor: pointer;
  border: 1px dashed #aaa; border-radius: 6px; background: var(--bg-gray); color: var(--text);
}
.map-lazy button::before { content: "📍 "; }
.map-lazy.is-loaded iframe { width: 100%; height: 300px; border: 0; display: block; }

/* 目次ボタン */
.toc-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  padding: 10px 18px; border-radius: 24px; border: 0; cursor: pointer;
  background: var(--main); color: #fff; font: inherit; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.toc-fab::before { content: "☰ "; }
.toc-fab[hidden] { display: none; }
.toc-sheet {
  width: min(560px, 100%); max-width: 100%; max-height: 75vh; margin: auto auto 0; padding: 0 0 12px;
  border: 0; border-radius: 14px 14px 0 0; font-size: var(--fs-dense); overflow: auto;
}
.toc-sheet::backdrop { background: rgba(0,0,0,.4); }
.toc-sheet__head {
  position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.toc-sheet__head p { margin: 0; font-weight: 700; }
/* 目次シートの上の帯も本文の目次と同じ夜空に */
.toc-sheet__head { background: linear-gradient(120deg, #1e0638 0%, #3b0f6b 60%, #5a2a8c 100%); color: #fff; border-bottom: 3px solid #e2c27a; }
.toc-sheet__head .toc-sheet__close { color: #fff; }
.toc-sheet .toc__list { padding-top: 8px !important; }
.toc-sheet__quick { margin: 0 20px 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.toc-sheet a { color: var(--text); text-decoration: none; }
.toc-sheet__close { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #666; }

/* 部品（ショートコード）：電話占いの広告（tools/parts.py・tools/data/parts.json） */
.part { margin: 0 0 2em; }
.part > p { margin-bottom: 1.2em; }
.part-pr { display: inline-block; margin-left: 8px; padding: 0 6px; font-size: var(--fs-small); line-height: 1.5; border: 1px solid rgba(255,255,255,.7); border-radius: 3px; vertical-align: 1px; }
.part-eyebrow { margin: 0 0 4px !important; font-size: var(--fs-small); color: #e44141; }
.part-note { font-size: var(--fs-small); color: var(--text-sub); margin-top: -1em !important; }
.part-details-ttl { font-weight: 700; margin-bottom: .4em !important; }
.part-details { list-style: none; padding: 12px 16px !important; border: 2px solid var(--line); border-radius: 6px; font-size: var(--fs-small); }
.part-details li { margin: 0 0 4px; padding-left: 1em; position: relative; }
.part-details li::before { content: "・"; position: absolute; left: 0; }
.part-teacher-ttl { font-weight: 700; }
.part-teacher-name { font-weight: 700; margin-top: -1em !important; }

/* 電話占いの広告 D案（kind=phone_ad_card。2026-11-05）：先生を主役に、無料の特典を大きく、詳細は押すと開く */
.pad { border-radius: 16px; overflow: hidden; border: 1px solid #d9cfe8; background: #fff; box-shadow: 0 4px 14px rgba(45, 7, 81, .08); }
.pad p { margin: 0 !important; }  /* 本文の段落の余白を消す。個別の余白は .pad .pad__… で付け直す */
.pad__head { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 52px 14px 16px; background: var(--main); color: #fff; }
.pad__photo { flex: none; width: 76px !important; height: 76px !important; margin: 0 !important; border-radius: 50%; object-fit: cover; border: 3px solid #e2c27a; }
.pad__who { min-width: 0; }
.pad__eyebrow { font-size: var(--fs-small); font-weight: 700; color: #e2c27a; }
.pad__name { font-size: 19px; font-weight: 800; line-height: 1.4; }
.pad__role { font-size: var(--fs-small); color: #e9e4f1; }
.pad__pr { position: absolute; top: 12px; right: 12px; white-space: nowrap; display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 4px; background: #fff; color: #444; font-size: var(--fs-small); font-weight: 700; line-height: 1; }
.pad__offer { margin: 14px 14px 0; padding: 12px 14px; border-radius: 12px; background: #fbf3dc; border: 2px solid #e2c27a; text-align: center; }
.pad__offer-label { font-size: var(--fs-small); font-weight: 800; color: #7a5200; }
.pad .pad__offer-amount { margin-top: 2px !important; font-weight: 800; color: var(--main); line-height: 1.2; }
.pad__num { font-size: 40px; }
.pad__unit { font-size: 18px; }
.pad__free { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 6px; background: #c62828; color: #fff; font-size: 22px; vertical-align: 8px; }
.pad .pad__offer-lead { margin-top: 6px !important; font-size: var(--fs-small); }
.pad .pad__body { margin: 12px 16px 0 !important; font-size: var(--fs-dense); }
.pad__cta { padding: 14px 16px 6px; }
.pad__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 16px; border-radius: 999px; background: #e2c27a; color: var(--main) !important; font-size: 17px; font-weight: 800; text-decoration: none !important; text-align: center; box-shadow: 0 3px 0 #b8954a; }
.pad__btn:hover { filter: brightness(1.05); }
.pad .pad__note { margin-top: 6px !important; font-size: var(--fs-small); color: var(--text-sub); text-align: center; }
.pad__more { margin-top: 8px; border-top: 1px solid #eee; }
.pad__more > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 0 16px; cursor: pointer; color: var(--main); font-size: var(--fs-dense); font-weight: 800; }
.pad__more > summary::-webkit-details-marker { display: none; }
.pad__chev { color: var(--accent); transition: transform .2s; }
.pad__more[open] .pad__chev { transform: rotate(180deg); }
.pad__more-close, .pad__more[open] .pad__more-open { display: none; }
.pad__more[open] .pad__more-close { display: inline; }
.pad__more-in { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; }
.pad__cond { padding: 12px 14px; border-radius: 10px; background: #f5f1fa; font-size: var(--fs-small); }
.pad__site { padding: 12px 14px; border-radius: 10px; border: 1px solid #ece4f6; font-size: var(--fs-small); }
.pad .pad__h { margin-bottom: 4px !important; font-weight: 800; color: var(--main); }
.pad__site ul { margin: 0 !important; padding-left: 1.2em !important; }
.pad__site li { margin: 0 0 2px; }
.pad__btn2 { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; border: 2px solid var(--main); color: var(--main) !important; font-size: var(--fs-dense); font-weight: 800; text-decoration: none !important; }
@media (prefers-reduced-motion: reduce) { .pad__chev { transition: none; } }

/* 料金の目安の比較図（tools/price_chart.py。静的な横棒。棒の色は dataviz の点検に通した #7a4bb3） */
.price-chart { --bar: #7a4bb3; margin: 1.6em 0 2em; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.price-chart__ttl { font-weight: 700; color: var(--main); font-size: var(--fs-dense); line-height: 1.5; }
.price-chart__sub { margin: 4px 0 14px !important; font-size: var(--fs-small); color: var(--text-sub); line-height: 1.6; }
.price-chart__plot { position: relative; padding: 24px 0 26px; }
/* 記事にある相場の幅（網かけ）。目盛りと同じ左右の位置 */
.price-chart__band {
  position: absolute; top: 0; bottom: 26px; z-index: 0;
  background: repeating-linear-gradient(45deg, #f6efd9 0 6px, #fbf7ea 6px 12px); border-left: 1px dashed #d9b968; border-right: 1px dashed #d9b968;
}
.price-chart__band span { position: absolute; top: 2px; left: 0; right: 0; text-align: center; line-height: 1.4; font-size: var(--fs-small); color: #8a6a1f; font-weight: 700; }
.price-chart__rows { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 !important; }
.price-chart__rows li { margin: 0; }
.price-chart__rows a { display: block; padding: 6px 0 8px; color: var(--text); text-decoration: none; }
.price-chart__rows a:hover .pc-label { color: var(--accent); }
.pc-label { display: block; font-size: var(--fs-small); font-weight: 700; line-height: 1.5; }
.pc-label small { margin-left: 6px; font-weight: 400; color: var(--text-sub); font-size: var(--fs-small); }
.pc-track { position: relative; display: block; height: 14px; margin-top: 3px; }
.pc-track i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) / var(--max) * 100%); background: var(--bar); border-radius: 0 4px 4px 0; }
.pc-val { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--v) / var(--max) * 100% + 6px); font-size: var(--fs-small); font-weight: 700; color: var(--text); white-space: nowrap; line-height: 1; }
.price-chart__axis { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-top: 1px solid var(--line); }
.price-chart__axis span { position: absolute; top: 4px; transform: translateX(-50%); font-size: var(--fs-small); color: var(--text-sub); white-space: nowrap; }
.price-chart__axis span:first-child { transform: none; }
.price-chart__axis span:last-child { transform: translateX(-100%); }
.price-chart__axis span:last-child::after { content: "円"; }
.price-chart__others { margin: 12px 0 0 !important; font-size: var(--fs-small); color: var(--text-sub); line-height: 1.8; }

/* 記事の終わりの著者の欄（tools/import_wp.py の author_box。誰が確かめた情報かを示す） */
/* 店・占い師の方への掲載の募集（2026-11-17）：地域の記事だけ（body.has-side。tools/shell.py の listing_banner。絵は元の WordPress の掲載のご案内のもの）。
   広い画面（1140px 以上＝本文 760px＋間 32px＋欄 300px が入る幅）は本文の右の欄に置いて追従させる。狭い画面は記事の終わり（著者の欄の前）に1枚 */
.listing a { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(45, 7, 81, .12); }
.listing a:hover { filter: brightness(1.04); }
.listing img { display: block; width: 100%; height: auto; }
.listing.-end { margin: 48px 0 0; }
.a-side { display: none; }
@media (min-width: 1140px) {
  .a-wrap { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 32px; justify-content: center; }
  .a-wrap > .article { margin: 0; max-width: none; }
  .a-side { display: block; padding-top: 16px; }
  .a-side .listing { position: sticky; top: 80px; }  /* ヘッダー（上に戻すと出る）の下 */
  .listing.-end { display: none; }
  /* タイトルの帯も本文の左端にそろえる（帯の中身は本文と同じ幅のまま） */
  .has-side .a-hero__in { max-width: 1092px; }
  .has-side .a-hero__in > * { max-width: 728px; }
}
.author-box { display: flex; gap: 14px; align-items: flex-start; margin: 48px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); flex: none; object-fit: cover; }
.author-box p { margin: 0 !important; }
.author-box__label { font-size: var(--fs-small); color: var(--text-sub); }
.author-box__name { font-weight: 700; font-size: var(--fs-dense); }
.author-box__name span { margin-left: 8px; font-weight: 400; font-size: var(--fs-small); color: var(--text-sub); }
.author-box__desc { font-size: var(--fs-small); margin: 4px 0 6px !important; }
.author-box a { font-size: var(--fs-small); }

/* ---------------- スマホ ---------------- */

@media (max-width: 600px) {
  .breadcrumb ol, .site-footer__inner { padding-left: 16px; padding-right: 16px; }
  .article { padding-top: 20px; }
  .article__title { font-size: 20px; }
  .a-hero__in { padding: 22px 16px 20px; }
  .a-hero .article__title { font-size: 21px; }
  .a-hero__stats li { padding: 8px 10px; }
  .a-hero__stats strong { font-size: 22px; }
  .post-content h2 { font-size: 18px; padding: 16px 92px 14px 16px; background-size: 92px 46px, auto; }
  .store-h .h-who { font-size: 19px; }
  .teachers.-multi { grid-template-columns: repeat(var(--cols-sp, 2), 1fr); }
  .toc { margin: 24px 0 40px; }
  .toc__list { padding: 4px 14px 12px !important; }
  .wp-block-columns { flex-direction: column; gap: 8px; }
  .post-content .wp-block-columns { flex-direction: row; flex-wrap: wrap; }
  .post-content .wp-block-column { flex: 1 1 30%; }
  /* 表が入る段組みは縦に積む（横並びのままだと表が1文字ずつ折り返す） */
  .post-content .wp-block-columns:has(table) { flex-direction: column; }
  .swell-block-button__link { min-width: 100%; }
  .c-balloon, .sbd-balloon { gap: 10px; }
  .c-balloon__icon, .sbd-balloon__profile { width: 52px; }
  .c-balloon__iconImg, .sbd-balloon__img { width: 46px; height: 46px; }
  .top-area { padding-top: 32px; }
}

/* 計測の確認表示（URL に ?track=debug を付けたときだけ。track.js） */
.track-toast { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 99; padding: 8px 10px; border-radius: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-family: monospace; word-break: break-all; }
.track-toast[hidden] { display: none; }

/* ---------------------------------------------------------------- チャット占い・メール占いの記事で使う SWELL の部品（2026-11-06）
   地域の記事には無かった部品。元の見た目を、このサイトの色と文字の大きさ（14px 以上）で付け直す */

/* 段組み（ランキングの横並び：順位・ロゴ・名前とボタン）。列の幅は元の記事の --clmn-w--mobile/tab/pc のまま */
.swell-block-columns { margin: 0 0 1.5em; }
.swell-block-columns__inner { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.swell-block-column { box-sizing: border-box; padding: 0 6px; min-width: 0; width: var(--clmn-w--mobile, 100%); }
.swell-block-column[data-valign="center"] { align-self: center; }
.swell-block-column[data-valign="bottom"] { align-self: flex-end; }
.swell-block-column > :last-child { margin-bottom: 0; }
.swell-block-column.swl-has-mb--s { margin-bottom: .5em; }
@media (min-width: 600px) { .swell-block-column { width: var(--clmn-w--tab, var(--clmn-w--mobile, 100%)); } }
@media (min-width: 960px) { .swell-block-column { width: var(--clmn-w--pc, 100%); } }
/* 順位の札（1位＝金・2位＝銀・3位＝銅・4位から＝灰） */
[class^="pickup-icon_"] { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 6px;
  border-radius: 6px; background: #8a8a8a; color: #fff; font-weight: 700; font-size: var(--fs-dense); }
.pickup-icon_1 { background: #c9a227; }
.pickup-icon_2 { background: #9aa4ad; }
.pickup-icon_3 { background: #b07a4a; }

/* 手順（STEP 1・2…）。番号は元の記事どおり順に数える */
.swell-block-step { counter-reset: swl-step; margin: 0 0 2em; }
.swell-block-step__item { counter-increment: swl-step; position: relative; padding: 0 0 1.5em 1.25em; margin-left: .75em; border-left: 2px solid var(--main-thin); }
.swell-block-step__item:last-child { border-left-color: transparent; }
.swell-block-step__number { position: absolute; left: -.85em; top: 0; display: inline-flex; align-items: baseline; gap: .25em; padding: 2px 10px;
  border-radius: 999px; background: var(--main); color: #fff; font-weight: 700; font-size: var(--fs-small); line-height: 1.6; }
.swell-block-step__number::after { content: counter(swl-step); font-size: var(--fs-dense); }
.swell-block-step__number .__label { font-size: var(--fs-small); letter-spacing: .04em; }
.swell-block-step__title { padding: 2.1em 0 .5em; font-weight: 700; font-size: 1.1em; color: var(--main); }
.swell-block-step__body > :last-child { margin-bottom: 0; }

/* 開け閉めできる囲み（<details>。「占いの基本情報を見る」など） */
.swell-block-accordion { margin: 0 0 1.5em; }
.swell-block-accordion__item { border-radius: 8px; }
.swell-block-accordion__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; list-style: none; }
.swell-block-accordion__title::-webkit-details-marker { display: none; }
.swell-block-accordion__icon i { display: none; }  /* 元のアイコンの文字（フォント）は持ち出していない */
.swell-block-accordion__icon::after { content: ""; display: block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.swell-block-accordion__item[open] .swell-block-accordion__icon::after { transform: rotate(-135deg) translate(-2px, -2px); }
.swell-block-accordion__body { padding: 12px 4px 0; }
@media (prefers-reduced-motion: reduce) { .swell-block-accordion__icon::after { transition: none; } }

/* 説明のリスト（「公式」の札＋URL など。is-style-float＝札と中身を横に並べる） */
.swell-block-dl { margin: 0 0 1em; }
.swell-block-dl.is-style-float { display: grid; grid-template-columns: var(--swl-dt-width, 6em) 1fr; gap: 6px 10px; align-items: center; }
.swell-block-dl__dt { font-weight: 700; }
.swell-block-dl.is-style-float .swell-block-dl__dt { padding: 4px 8px; border-radius: 6px; background: var(--accent); color: #fff; text-align: center; font-size: var(--fs-small); }
.swell-block-dl__dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.swell-block-dl__dd > :last-child { margin-bottom: 0; }

/* 印付きの行（○＝よい点・×＝気になる点・✓＝確かめたこと。印に意味があるので必ず出す） */
.swl-inline-list { display: block; position: relative; padding-left: 1.4em; }
.swl-inline-list::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.swl-inline-list[data-icon="circle"]::before { content: "○"; color: var(--blue); }
.swl-inline-list[data-icon="close"]::before { content: "×"; color: var(--red); }
.swl-inline-list[data-icon="check"]::before { content: "✓"; color: var(--green); }

/* 青い線の印・画像の影 */
.swl-marker.mark_blue, .mark_blue { background: linear-gradient(transparent 60%, #bfe3ff 60%); }
.is-style-shadow img, img.is-style-shadow { box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* ランキングの順位の囲み（tm-box）：見出しを囲みの頭の帯に（元の記事と同じ形。見出しは h3 のまま＝目次に出る） */
.cap_box.tm-box { border-color: var(--line); border-radius: 8px; overflow: hidden; }
.tm-box > .cap_box_ttl { display: block; position: static; margin: 0; padding: 10px 14px; background: var(--main-thin); text-align: center; font-size: inherit; }
.post-content .tm-box > .cap_box_ttl h3 { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 18px; color: var(--main); }
.post-content .tm-box > .cap_box_ttl h3::before { content: none; }
.tm-box > .cap_box_content { padding-top: 14px; }
/* 基本情報の表（左の列が見出し）：「鑑定料金」などの短い見出しを途中で折らない */
.td_to_th_ tbody :is(th, td):first-child { white-space: nowrap; }  /* 元の記事は左の列も td（見出しの見た目だけ付けている） */

/* ---------------------------------------------------------------- 固定ページ（LP。記事掲載のご案内など。tools/fixed_pages.py。2026-11-06）
   元のページは SWELL の「フル幅」の帯を重ねた作り。帯の地の色は元のまま（style の background-color）、文字は14px以上 */
.lp-page { max-width: none; padding: 0; }
.lp-page .swell-block-fullWide { padding: 32px 16px; }
.lp-page .swell-block-fullWide.sp-py-0 { padding-top: 0; padding-bottom: 0; }
.lp-page .swell-block-fullWide__inner { max-width: var(--content-w); margin: 0 auto; }
.lp-page .swell-block-fullWide__inner > :last-child { margin-bottom: 0; }
.lp-page figure { margin: 0 auto 1em; text-align: center; }
.lp-page figure img { max-width: 100%; height: auto; }
/* PC だけ・スマホだけに出す画像と段組み（元のページと同じ切り替え） */
@media (max-width: 767px) { .pc_only { display: none !important; } }
@media (min-width: 768px) { .sp_only { display: none !important; } }
/* 横に動かして見る段組み（スマホのお悩みの吹き出し） */
.swell-block-columns[data-scrollable] .swell-block-columns__inner { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.swell-block-columns[data-scrollable] .swell-block-column { flex: 0 0 auto; scroll-snap-align: start; }
.c-scrollHint { text-align: right; color: var(--text-sub); font-size: var(--fs-small); margin-bottom: 4px; }
.c-scrollHint i { display: none; }
.c-scrollHint span::after { content: " →"; }
/* 節の見出し（中央・下に線） */
.lp-page h2.is-style-section_ttl { text-align: center; background: none; border: 0; padding: 0 0 .4em; margin: 1.6em 0 .4em; color: var(--main); }
.lp-page h2.is-style-section_ttl::before, .lp-page h2.is-style-section_ttl::after { display: none; }
.lp-page .image-deco img { max-width: 180px; }
/* 流れる一言（PRしたいけどどうしたら...?）。動きを減らす設定の人には止めて1つだけ出す */
.top-slidetext { overflow: hidden; margin: 0 0 1em; }
.top-slidetext .scroll-list { display: flex; gap: 3em; width: max-content; margin: 0; padding: 0; list-style: none; animation: lp-slide 18s linear infinite;
  font-weight: 700; color: var(--main); font-size: 18px; }
@keyframes lp-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .top-slidetext .scroll-list { animation: none; width: auto; justify-content: center; }
  .top-slidetext .scroll-list li + li { display: none; }
}
/* 「占い調査団があなたのPRをお手伝い！」の帯・吹き出しの囲み */
.has-swl-main-background-color { background: var(--main); }
.catch-test { padding: 16px; border-radius: 10px; margin: 0 0 1.2em; line-height: 1.7; }
.catch-test p { margin: 0; }
.has-white-color { color: #fff; }
.has-swl-deep-01-color { color: var(--red); }
.has-swl-deep-04-color { color: #ffd54f; }
.hutoaka { color: var(--red); font-weight: 700; }
.is-style-balloon_box2 { position: relative; background: #fff; border: 2px solid var(--main); border-radius: 12px; padding: 14px 16px; margin: 0 0 1em; line-height: 1.6; }
.is-style-balloon_box2::before { content: ""; position: absolute; left: 50%; top: -12px; margin-left: -10px; border: 10px solid transparent; border-top: 0; border-bottom: 12px solid var(--main); }
.lp-page .swl-fz[style*="font-size"] { font-size: 18px; }
/* 白い囲み（掲載のメリット・掲載料） */
.has-white-background-color { background: #fff; }
.pr-merit-box { border: 2px solid var(--main); border-radius: 12px; padding: 20px 16px; }
.pr-merit-box > :last-child { margin-bottom: 0; }
/* 飾りの見出し（「掲載の メリット」「お問い合わせ フォーム」） */
.deco-heading_wrap { text-align: center; margin: 0 0 .6em; }
.deco-heading_head { display: inline-block; line-height: 1.3; font-weight: 700; }
.deco-heading_head .line { font-size: 18px; color: var(--text); }
.deco-heading_head br { display: block; }
.deco-heading_head .purple { display: inline-block; margin: 4px 2px 0; width: 1.6em; height: 1.6em; line-height: 1.6em; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 20px; }
/* 記事の例の画像のリンク */
.c-bannerLink { display: block; }
.c-bannerLink__figure { margin: 0 0 .8em; }
.c-bannerLink.-shadow-on img { box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.c-bannerLink__text:empty, .c-bannerLink__title:empty { display: none; }
/* お問い合わせへ進む（Contact Form 7 の代わり） */
.lp-contact { text-align: center; }
/* 記事の例（2人の先生の囲み）：スマホでは縦に並べる（横に並ぶとボタンの文字が3行に折れる） */
@media (max-width: 599px) { .lp-page .wp-block-columns { display: block; } .lp-page .wp-block-column + .wp-block-column { margin-top: 1em; } }

/* 文字の強調（元の記事のプラグインの書き方。赤い太字・黄色の線は意味のある強調なので必ず出す。2026-11-06 千里眼の記事で気づいた） */
.sbd-text-red { color: var(--red); font-weight: 700; }
.sbd-text-bg-yellow { background: linear-gradient(transparent 60%, #fff27a 60%); }
/* 行の後ろの小さなアイコン（電話・吹き出し。元の記事の style の --the-icon-svg をそのまま使う。飾りなので読み上げない） */
.swl-inline-icon { display: inline-block; width: 1em; height: 1em; margin-left: .2em; vertical-align: -.15em; background: currentColor;
  -webkit-mask: var(--the-icon-svg) center / contain no-repeat; mask: var(--the-icon-svg) center / contain no-repeat; }
/* 表の中の小さなボタン（比べる表の「占う」など） */
.swl-inline-btn > :is(a, span.jump) { display: inline-block; padding: 4px 12px; border-radius: 4px; background: var(--btn-bg, var(--main)); color: #fff;
  font-weight: 700; text-decoration: none; white-space: nowrap; }
.swl-inline-btn.red_ { --btn-bg: var(--red); }
.swl-inline-btn.blue_ { --btn-bg: var(--blue); }

/* 無料占い特集の記事（/yokuatarusaito）で使う部品（元の記事の古いプラグイン・テーマの書き方。2026-11-06） */
/* 広告のボタン（button06）：ピンクの横幅いっぱいのボタン */
.button06 { display: block; max-width: 420px; margin: 0 auto 1.5em; padding: 14px 16px; border-radius: 6px; background: #ec7f7f; color: #fff !important;
  font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 #c96565; }
/* 番号付きの小見出し（①②…。大見出し h3 ごとに数え直す） */
.post-content h3 { counter-reset: st-count; }
.post-content h4.is-style-st-heading-custom-count { counter-increment: st-count; display: flex; align-items: center; gap: .5em; }
.post-content h4.is-style-st-heading-custom-count::before { content: counter(st-count); flex: 0 0 auto; width: 1.6em; height: 1.6em; line-height: 1.5em;
  border: 2px solid var(--main); border-radius: 50%; color: var(--main); text-align: center; font-size: .9em; }
/* オレンジの枠のリスト（点線の枠・四角の印） */
.is-style-sbd-border-orange { list-style: none; padding: 14px 16px !important; border: 1px dashed #999; }
.is-style-sbd-border-orange li { position: relative; padding-left: 1.4em; }
.is-style-sbd-border-orange li::before { content: ""; position: absolute; left: .2em; top: .65em; width: .5em; height: .5em; background: #f0b25c; }
/* 黄色の地の囲み */
.sbd-bg-color.is-style-yellow { background: #fffde6; padding: 16px; margin: 0 0 1.5em; }
.sbd-bg-color > :last-child { margin-bottom: 0; }
/* 申し込みの囲み（画像・ボタン・注記） */
.pb-cv-box { background: #fff0f0; padding: 20px 16px; margin: 0 0 1.5em; text-align: center; }
.pb-cv-box .pb-image { margin: 0 0 1em; }
.pb-cv-box .pb-list:empty { display: none; }
.pb-button__btn { display: inline-block; min-width: 80%; padding: 14px 16px; border-radius: 6px; background: #ff8a8a; color: #fff !important; font-weight: 700;
  text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 #d96b6b; }
.pb-button__btn i { display: none; }
.pb-cv-box__note { margin-top: .8em; font-size: var(--fs-small); color: var(--text-sub); }
/* 比べる表の「公式」ボタン */
.sbd-table-btn > :is(a, span.jump) { display: inline-block; padding: 6px 10px; border-radius: 4px; background: #e8a85a; color: #fff !important;
  font-weight: 700; text-decoration: none; cursor: pointer; }
/* 帯（フル幅）の無い固定ページ（運営者情報など）は、ふつうの記事と同じ幅と左右の余白（2026-11-06） */
.lp-page:not(:has(.swell-block-fullWide)) { max-width: var(--content-w); margin: 0 auto; padding: 16px 16px 0; }

/* 店の注記（台帳の status_note：移転・オンラインのみ・閉店の告知など。2026-11-09 段階6b） */
.post-content .store-status-note { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--pale-yellow); font-size: var(--fs-small); line-height: 1.7; }
