/*
Theme Name: mystone.jp
Author: Mrs. Nano
Description: mystone.jp 専用の自作ブロックテーマ（dawlessテーマのフォーク）。色・レイアウトは theme.json が正本。広告表記の自動挿入と公開ガードを functions.php に持つ。
Version: 0.3.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: mystone
*/

/* =========================================================
 * 原則: 色・パレット・タイポは theme.json に書く。
 * レイアウトの余白・罫線はテンプレートに JSON スタイルを書かず、
 * ここに className 経由で書く（ブロック検証エラーを避けるため。
 * 手書きテンプレートに style 属性系の JSON を入れると、
 * エディタの想定シリアライズと一致せず「無効なコンテンツ」になる）。
 * ========================================================= */

/* ---- ヘッダー ---- */
.site-header {
  padding: 1.1rem 0;
}

/* タップターゲット確保（WCAG 2.5.8）: padding で高さ約40px */
.site-nav a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.625rem 0.5rem;
  margin-left: 0.5rem;
}

.site-nav a:first-child {
  margin-left: 0;
}

/* #b794e6 は暗地専用アクセント（白地では 1.84:1 で使用禁止）。ヘッダーは暗地なので可 */
.site-nav a:hover {
  color: var(--wp--preset--color--accent, #b794e6);
}

/* ---- メイン ---- */
.site-main {
  padding: 2.5rem 0 4.5rem;
}

/* 記事一覧の1件分（罫線 #f7f5fa は白地で1.04:1=不可視のため #d4d8d6 に） */
.post-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #d4d8d6;
}

.post-meta {
  font-size: 0.875rem;
  color: var(--wp--preset--color--muted, #635a68);
}

/* 更新日（公開日と同日なら目立たせない。ラベルはCSSで付与） */
.post-meta .post-modified::before {
  content: "更新: ";
}

.post-byline {
  font-size: 0.875rem;
  color: var(--wp--preset--color--muted, #635a68);
}

.post-byline a {
  color: inherit;
  text-decoration: underline;
}

.post-nav {
  margin-top: 3rem;
}

/* ---- フッター ---- */
.site-footer {
  padding: 2.5rem 0;
}

.site-footer-nav,
.site-footer-copy {
  font-size: 0.875rem;
}

/* フッターナビ: タップ領域48px・モバイルは2列グリッド */
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.5rem;
}

.site-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.75rem;
}

.site-footer a {
  color: var(--wp--preset--color--base, #ffffff);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--wp--preset--color--accent, #b794e6);
}

@media (max-width: 600px) {
  .site-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
  }
}

/* =========================================================
 * 広告表記（functions.php が全記事冒頭に自動挿入する）
 *
 * 目立たせすぎず、しかし読み飛ばされない濃度にする。
 * 薄いグレーの小さい字にすると「隠している」と判断されうるため、
 * 本文と同等の可読性を確保する。
 * ========================================================= */
/* v1.0.7: 開示文は記事末尾の注意書きへ移動（functions.php参照）。控えめな脚注スタイル */
.gn-disclosure {
  margin: 2.5em 0 0;
  padding: 0.8em 1em;
  border-left: 3px solid var(--wp--preset--color--muted, #635a68);
  background: var(--wp--preset--color--surface, #f7f5fa);
  color: var(--wp--preset--color--muted, #635a68);
  font-size: 0.8rem;
  line-height: 1.7;
}

.gn-disclosure strong {
  color: var(--wp--preset--color--ink, #1a1a1a);
}

/* =========================================================
 * 日本語の可読性
 * ========================================================= */
.entry-content p,
.wp-block-post-content p {
  letter-spacing: 0.02em;
}

.wp-block-post-content h2,
.wp-block-post-content h3 {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* =========================================================
 * 表の見え方（v1.6.3・2026-08-21）
 *
 * 既定の table{width:100%} のままだと、列の多い比較表はコンテナ幅へ
 * 押し込められ、スマホ（375px）で1列29pxまで潰れていた。
 * 横スクロールに逃がしたうえで、列に下限幅を持たせ、
 * 1列目（機種名）は固定して横スクロール中も見失わないようにする。
 * ========================================================= */
.wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.wp-block-table th,
.wp-block-table td {
  padding: 0.5em 0.75em;
}

/* 比較表（○×の一覧）: 折り返さず、自然な幅のまま横へ流す */
.spec-table > table {
  width: max-content;
  min-width: 100%;
}

.spec-table th,
.spec-table td {
  white-space: nowrap;
  text-align: center;
}

.spec-table th:first-child,
.spec-table td:first-child {
  white-space: normal;
  min-width: 8.5em;
  text-align: left;
}

/* 列の多い一覧表: 潰れない下限を持たせ、中身は折り返す */
.wide-table > table {
  min-width: 34rem;
}

.wide-table th:first-child,
.wide-table td:first-child {
  min-width: 7.5em;
}

/* 1列目の固定は border-collapse:collapse だと重なり順が効かず、
   スクロールした列の文字が固定列の上に描かれてしまう。
   separate に変えたうえで、罫線は「右と下だけ」にして二重線を防ぐ。 */
.spec-table > table,
.wide-table > table {
  border-collapse: separate;
  border-spacing: 0;
  border-style: solid;
  border-width: 1px 0 0 1px;
}

.spec-table th,
.spec-table td,
.wide-table th,
.wide-table td {
  border-width: 0 1px 1px 0;
}

/* 1列目を固定（横スクロール中も機種名が見えるようにする） */
.spec-table th:first-child,
.spec-table td:first-child,
.wide-table th:first-child,
.wide-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--wp--preset--color--base, #fff);
}

.spec-table thead th:first-child,
.wide-table thead th:first-child {
  z-index: 2;
}

/* =========================================================
 * 評議会3反映（v1.0.5）
 * ========================================================= */

/* ---- モバイルの左右余白（390px実査で余白0だった対策） ---- */
@media (max-width: 781px) {
  .site-main > *,
  .site-header-inner,
  .site-footer > * {
    padding-inline: 20px;
  }
}

/* ---- リンクの非色手がかり＋フォーカスリング ---- */
.wp-block-post-content a:where(:not(.wp-element-button)) {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.wp-block-post-content a:where(:not(.wp-element-button)):hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent-dark, #6d4fa3);
  outline-offset: 2px;
}

/* ---- 見出しの階層強化 ---- */
.wp-block-post-content h2 {
  padding-bottom: 0.4em;
  border-bottom: 1px solid #d4d8d6;
  margin-top: 3rem;
}

/* ---- 検証状態バッジ（二値状態システム） ---- */
.badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.badge--verified {
  color: #005c41;
  background: #e6f5ef;
  border: 1px solid #9fd6c2;
}

.badge--unverified {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #f3d38a;
}

/* 未検証の説明ボックス（広告開示とは分離。琥珀=分類表示であって警告ではない） */
.verify-note {
  margin: 1em 0 0;
  padding: 0.8em 1em;
  border-radius: 6px;
  background: #fffbeb;
  border: 1px solid #f3d38a;
  color: #6b6455;
  font-size: 0.8rem;
  line-height: 1.7;
}

.verify-note p {
  margin: 0.5em 0 0;
}

.verify-line {
  margin: 0 0 1.5em;
}

/* ---- 所有者の結論ボックス（星評価の代替・定性3軸） ---- */
.owner-verdict {
  border: 2px solid var(--wp--preset--color--ink, #1a1a1a);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
}

.owner-verdict__axes dt {
  font-weight: 700;
  margin-top: 0.75em;
}

.owner-verdict__axes dd {
  margin: 0.25em 0 0;
}

/* ---- 購入導線ボックス（PR表記を内包・店舗併記・黒ボタン） ---- */
.buy-box {
  border: 1px solid #d4d8d6;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
}

.buy-box__pr {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--muted, #635a68);
  margin: 0 0 0.75em;
}

.buy-box__name {
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 0 0 0.75em;
}

.buy-box__shops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.buy-box__shops a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 2px solid var(--wp--preset--color--ink, #1a1a1a);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--wp--preset--color--ink, #1a1a1a);
  min-height: 48px;
}

.buy-box__shops a:hover {
  background: var(--wp--preset--color--ink, #1a1a1a);
  color: #ffffff;
}

.buy-box__shops .num {
  font-family: var(--wp--preset--font-family--mono);
  font-variant-numeric: tabular-nums;
}

/* ---- 橋渡しCTA ---- */
.bridge-cta {
  border-left: 3px solid var(--wp--preset--color--accent, #b794e6);
  background: var(--wp--preset--color--surface, #f7f5fa);
  padding: 1rem 1.25rem;
  margin: 2.5rem 0;
}

.bridge-cta__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wp--preset--color--muted, #635a68);
  margin: 0 0 0.25em;
  letter-spacing: 0.05em;
}

/* ---- 目次（プラグインなし・手動運用） ---- */
.toc {
  background: var(--wp--preset--color--surface, #f7f5fa);
  border: 1px solid #d4d8d6;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25em;
}

.toc a {
  text-decoration: none;
}

/* ---- スペック表（出典caption・等幅数字・固定レイアウト打ち消し） ---- */
.spec-table table {
  table-layout: auto;
}

.spec-table .num {
  font-family: var(--wp--preset--font-family--mono);
  font-variant-numeric: tabular-nums;
}

.spec-table th[scope="row"] {
  width: 34%;
  font-weight: 500;
  color: var(--wp--preset--color--muted, #635a68);
  text-align: left;
}

.spec-table caption {
  caption-side: bottom;
  font-size: 0.8125rem;
  color: var(--wp--preset--color--muted, #635a68);
  text-align: left;
  padding-top: 0.5em;
}

/* ---- ハブページの導線カード ---- */
.hub-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.hub-path {
  display: block;
  padding: 1.25rem;
  border: 2px solid var(--wp--preset--color--ink, #1a1a1a);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--wp--preset--color--ink, #1a1a1a);
}

.hub-path:hover {
  background: var(--wp--preset--color--ink, #1a1a1a);
  color: #ffffff;
}

/* ---- トップのヒーロー ---- */
.home-hero {
  padding: 3rem 0 2rem;
}

.home-hero__title {
  font-size: clamp(1.5rem, 1.5rem + 1.5vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0 0 0.75em;
}

.home-hero__lead {
  font-size: 1rem;
  color: var(--wp--preset--color--muted, #635a68);
  max-width: 36em;
}

/* ---- 接続図 ---- */
.wiring-diagram img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
 * v1.0.8: 記事一覧のカードグリッド化（アイキャッチをトップから見せる）
 * ========================================================= */
.post-grid ul.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 2.5em;
}

@media (max-width: 620px) {
  .post-grid ul.wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

.post-grid li.wp-block-post {
  margin: 0;
}

.post-grid .post-card {
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-grid .post-card:hover {
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.12);
  transform: translateY(-2px);
}

.post-grid .wp-block-post-featured-image {
  margin: 0;
}

.post-grid .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-grid .wp-block-post-title {
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0.9em 1.1em 0.3em;
}

.post-grid .wp-block-post-title a {
  text-decoration: none;
  color: var(--wp--preset--color--ink, #1a1a1a);
}

.post-grid .wp-block-post-title a:hover {
  color: var(--wp--preset--color--accent-dark, #6d4fa3);
}

.post-grid .post-meta {
  margin: 0 1.2em;
  font-size: 0.75rem;
  color: var(--wp--preset--color--muted, #635a68);
  gap: 0.8em;
}

.post-grid .post-meta a {
  color: inherit;
}

.post-grid .wp-block-post-excerpt {
  margin: 0.5em 1.2em 1.2em;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--wp--preset--color--muted, #635a68);
}

/* =========================================================
 * v1.1.0: トップページの複数セクション化
 * （新着 / 編集部ピックアップ帯 / カテゴリ別3列）
 * ========================================================= */
.home-sec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  margin: 2.4em 0 1em;
  border-left: 4px solid var(--wp--preset--color--accent, #b794e6);
  padding-left: 0.65em;
}

.home-sec__head h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.4;
}

.home-sec__more {
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--wp--preset--color--accent-dark, #6d4fa3);
  text-decoration: none;
}

.home-sec__more:hover {
  text-decoration: underline;
}

.home-band {
  background: #f0f6f3;
  border-radius: 18px;
  padding: 0.4em 1.3em 1.3em;
  margin: 2.6em 0;
}

.home-band .home-sec__head--band {
  margin-top: 1.2em;
}

.home-band .post-card {
  border-color: #d8e4de;
}

.post-grid--compact ul.wp-block-post-template {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 16px;
  margin-bottom: 1.6em;
}

@media (max-width: 820px) {
  .post-grid--compact ul.wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .post-grid--compact ul.wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

.post-grid--compact .wp-block-post-title {
  font-size: 0.92rem;
  margin: 0.75em 1em 0.4em;
}

.post-grid--compact .post-meta {
  margin: 0 1.1em 1em;
}


/* =========================================================
 * v1.2.1: buy-box 画像＋テキスト型（楽天発行画像）
 * ========================================================= */
.buy-box__body {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.buy-box__img {
  flex: 0 0 132px;
  display: block;
  border: 1px solid #e3e6e4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.buy-box__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.buy-box__main {
  flex: 1 1 auto;
  min-width: 0;
}

.buy-box--with-image .buy-box__name {
  margin-top: 0.1em;
}

@media (max-width: 480px) {
  .buy-box__body {
    flex-direction: column;
  }

  .buy-box__img {
    flex-basis: auto;
    width: 160px;
  }
}

/* ---- buy-box の相場表示（v1.4.0・実地調査の新品/中古レンジ） ---- */
.buy-box__price {
  margin: 0 0 0.75em;
  padding: 0.6rem 0.85rem;
  background: #f4f6f5;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.buy-box__price-row {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.buy-box__price-row + .buy-box__price-row {
  margin-top: 0.35em;
}

.buy-box__price dt {
  flex: 0 0 5.5em;
  font-weight: 700;
  color: var(--wp--preset--color--muted, #635a68);
  font-size: 0.875rem;
}

.buy-box__price dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.buy-box__price-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--wp--preset--color--muted, #635a68);
  margin: -0.35em 0 0.85em;
}
/* v1.4.6: 相場注記がボタン群の後ろに来る構成になったので、負のマージンを打ち消す */
.buy-box__group + .buy-box__price-note {
  margin-top: 0.85em;
}

@media (max-width: 600px) {
  .buy-box__price-row {
    display: block;
  }
  .buy-box__price dt {
    margin-bottom: 0.15em;
  }
}

/* v1.4.4: 相場行の直下に対応する店ボタン（新品/中古の2グループ） */
.buy-box__group { margin-top: .75rem; }
.buy-box__group + .buy-box__group { margin-top: 1.1rem; }
.buy-box__group .buy-box__price { margin-bottom: .5rem; }
.buy-box__group .buy-box__shops { margin-top: 0; }
.buy-box__price-na { color: #6b7570; font-size: .9em; }


/* =========================================================
 * v1.5.0: トップページ改修（評議会 2026-08-18）
 * Hero の実績メタ・目的別4入口・固定「まず読む3本」・推薦モジュール近くの開示
 * ========================================================= */
.home-hero__proof { font-size: 0.9rem; }

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.4em;
  margin: -0.6em 0 0.4em;
  font-size: 0.8rem;
  color: var(--wp--preset--color--muted, #635a68);
}

.home-hero__meta-item::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--wp--preset--color--accent, #b794e6);
  margin-right: 0.45em;
  vertical-align: 0.1em;
}

.home-goals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 1.5em;
}

@media (max-width: 820px) {
  .home-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .home-goals { grid-template-columns: 1fr; }
}

.home-goal {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  padding: 1em 1.05em 1.1em;
  background: #fff;
  border: 1px solid #e3e6e4;
  border-top: 3px solid var(--wp--preset--color--accent, #b794e6);
  border-radius: 12px;
  text-decoration: none;
  color: var(--wp--preset--color--ink, #1a1a1a);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-goal:hover {
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.12);
  transform: translateY(-2px);
}

.home-goal__t { font-weight: 700; font-size: 1rem; line-height: 1.4; }

.home-goal__d {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--wp--preset--color--muted, #635a68);
}

.home-picks {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 820px) {
  .home-picks { grid-template-columns: 1fr; }
}

.home-pick {
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 12px;
  padding: 1em 1.05em 1.1em;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
}

.home-pick a { text-decoration: none; color: var(--wp--preset--color--ink, #1a1a1a); }
.home-pick a:hover { color: var(--wp--preset--color--accent-dark, #6d4fa3); }
.home-pick__t { font-weight: 700; font-size: 0.98rem; line-height: 1.5; }

.home-pick__use,
.home-pick__caveat {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--wp--preset--color--muted, #635a68);
}

.home-disclosure {
  font-size: 0.78rem;
  color: var(--wp--preset--color--muted, #635a68);
  margin: 0.2em 0 0.4em;
}


/* v1.5.1: Hero を2カラム化（左テキスト・右にセットアップのイラスト） */
.home-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2em 2.4em;
  align-items: center;
  padding-bottom: 1.2rem;
}

@media (max-width: 820px) {
  .home-hero--split { grid-template-columns: 1fr; gap: 1.2em; }
}

.home-hero__figure {
  margin: 0;
}

.home-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #e3e6e4;
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.08);
}

.home-hero__figure figcaption {
  margin-top: 0.5em;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--wp--preset--color--muted, #635a68);
}

/* =========================================================
 * v1.6.0: 機材一覧（/gear/）— 単一マスターからのフィルター表示（評議会 2026-08-18）
 * ========================================================= */
.gear-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; flex-wrap: wrap; margin: 0.5em 0 0.6em; }
.gear-search { flex: 1 1 16em; max-width: 24em; padding: 0.55em 0.8em; border: 1px solid #cfd6d2; border-radius: 10px; font-size: 0.95rem; }
.gear-count { font-size: 0.85rem; color: var(--wp--preset--color--muted, #635a68); }
.gear-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0.8em; }
.gear-chip { border: 1px solid var(--wp--preset--color--accent-dark, #6d4fa3); background: #eaf7f1; color: var(--wp--preset--color--accent-dark, #6d4fa3); border-radius: 999px; padding: 0.25em 0.75em; font-size: 0.8rem; cursor: pointer; }
.gear-chip--clear { background: #fff; border-color: #cfd6d2; color: var(--wp--preset--color--muted, #635a68); }
.gear-filters { background: #f0f6f3; border-radius: 14px; padding: 0.9em 1em 0.6em; margin: 0 0 1.2em; }
.gear-fgroup { margin: 0 0 0.7em; }
.gear-fgroup__t { font-size: 0.78rem; font-weight: 700; color: var(--wp--preset--color--muted, #635a68); margin: 0 0 0.3em; }
.gear-fgroup__row { display: flex; flex-wrap: wrap; gap: 6px; }
.gear-fbtn { border: 1px solid #d5dcd8; background: #fff; border-radius: 999px; padding: 0.3em 0.75em; font-size: 0.82rem; cursor: pointer; color: var(--wp--preset--color--ink, #1a1a1a); }
.gear-fbtn.is-on { background: var(--wp--preset--color--ink, #1a1a1a); color: #fff; border-color: var(--wp--preset--color--ink, #1a1a1a); }
.gear-details { margin: 0.4em 0 0.4em; }
.gear-details summary { cursor: pointer; font-size: 0.85rem; color: var(--wp--preset--color--accent-dark, #6d4fa3); margin-bottom: 0.5em; }
.gear-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .gear-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gear-list { grid-template-columns: 1fr; } }
.gear-card { display: block; background: #fff; border: 1px solid #e3e6e4; border-radius: 12px; padding: 0 0 0.9em; overflow: hidden; text-decoration: none; color: var(--wp--preset--color--ink, #1a1a1a); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.gear-card:hover { box-shadow: 0 6px 18px rgba(26, 26, 26, 0.12); transform: translateY(-2px); }
.gear-card__maker { font-size: 0.74rem; color: var(--wp--preset--color--muted, #635a68); }
.gear-owned { display: inline-block; margin-left: 0.4em; font-size: 0.7rem; color: var(--wp--preset--color--accent-dark, #6d4fa3); border: 1px solid currentColor; border-radius: 999px; padding: 0 0.5em; }
.gear-card__name { font-weight: 700; font-size: 1rem; line-height: 1.4; margin: 0.15em 0 0.35em; }
.gear-card__roles { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 0.35em; }
.gear-tag { font-size: 0.7rem; border-radius: 999px; padding: 0.1em 0.55em; background: #eef1ef; }
.gear-tag--brain { background: #e3ecff; } .gear-tag--spice { background: #ffe8e0; } .gear-tag--glue { background: #e9f5e6; } .gear-tag--sketch { background: #fff4d6; }
.gear-card__meta { font-size: 0.78rem; color: var(--wp--preset--color--muted, #635a68); }
.gear-card__note { font-size: 0.74rem; color: var(--wp--preset--color--muted, #635a68); margin-top: 0.25em; }
.gear-empty { grid-column: 1 / -1; padding: 1.2em; text-align: center; color: var(--wp--preset--color--muted, #635a68); }
/* トップ: セットアップ役割4 */
.home-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.5em; }
@media (max-width: 820px) { .home-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .home-roles { grid-template-columns: 1fr; } }
.home-role { display: flex; flex-direction: column; gap: 0.3em; padding: 1em 1.05em 1.1em; border-radius: 12px; text-decoration: none; color: var(--wp--preset--color--ink, #1a1a1a); border: 1px solid #e3e6e4; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.home-role:hover { box-shadow: 0 6px 18px rgba(26, 26, 26, 0.12); transform: translateY(-2px); }
.home-role--brain { background: #eef3ff; } .home-role--spice { background: #fff0ea; } .home-role--glue { background: #edf7ea; } .home-role--sketch { background: #fff8e3; }
.home-role__t { font-weight: 700; font-size: 1.05rem; }
.home-role__d { font-size: 0.82rem; line-height: 1.6; color: var(--wp--preset--color--muted, #635a68); }
.home-role__n { font-size: 0.74rem; color: var(--wp--preset--color--accent-dark, #6d4fa3); }
.home-goals--eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-watch { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
@media (max-width: 620px) { .home-watch { grid-template-columns: 1fr; } }
.home-watch li { font-size: 0.9rem; line-height: 1.5; padding: 0.35em 0; border-bottom: 1px dashed #e3e6e4; }
.home-watch a { text-decoration: none; color: var(--wp--preset--color--ink, #1a1a1a); }
.home-watch a:hover { color: var(--wp--preset--color--accent-dark, #6d4fa3); }
.home-watch__st { display: inline-block; font-size: 0.7rem; border-radius: 999px; padding: 0.05em 0.55em; background: #fff4d6; margin-right: 0.4em; }

.gear-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 0.6em; background: #f0f6f3; }
.gear-card__img--none { background: repeating-linear-gradient(45deg, #f0f6f3, #f0f6f3 8px, #e8efeb 8px, #e8efeb 16px); }
.gear-card__maker, .gear-card__name, .gear-card__roles, .gear-card__meta, .gear-card__note { margin-left: 0.95em; margin-right: 0.95em; }

/* v1.6.2: スマホで「目的から探す」（8入口）が潰れる不具合の修正 */
@media (max-width: 820px) { .home-goals--eight { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .home-goals--eight { grid-template-columns: 1fr; gap: 10px; }
  .home-goal { padding: 0.85em 0.95em 0.95em; }
  .home-role { padding: 0.85em 0.95em 0.95em; }
  .home-hero__lead { font-size: 0.95rem; }
}

/* =========================================================
 * サイト内検索（v1.7.0・2026-08-21）
 * ヘッダーの検索窓と、検索結果ページのフォーム。
 * ========================================================= */
.site-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-search__input {
  width: 11rem;
  max-width: 42vw;
  padding: 0.35em 0.6em;
  font-size: 0.875rem;
  color: var(--wp--preset--color--contrast, #222);
  background: var(--wp--preset--color--base, #fff);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.site-search__button {
  padding: 0.4em 0.8em;
  font-size: 0.8125rem;
  color: var(--wp--preset--color--base, #fff);
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
}

.site-search__button:hover,
.site-search__button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

/* 検索結果ページ */
.search-title {
  font-size: 1.5rem;
  margin-bottom: 0.6em;
}

.search-page-form {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--wp--preset--color--surface, #f7f5fa);
  border-radius: 6px;
}

.search-page-form__label {
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.875rem;
  color: var(--wp--preset--color--muted, #635a68);
}

.search-page-form__row {
  display: flex;
  gap: 0.5rem;
}

.search-page-form__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55em 0.8em;
  font-size: 1rem;
  border: 1px solid rgba(26, 26, 26, 0.25);
  border-radius: 4px;
}

.search-page-form__button {
  flex: 0 0 auto;
  padding: 0.55em 1.2em;
  font-size: 0.9375rem;
  color: var(--wp--preset--color--base, #fff);
  cursor: pointer;
  background: var(--wp--preset--color--ink, #1a1a1a);
  border: 0;
  border-radius: 4px;
}

.search-no-results {
  padding: 1rem 1.2rem;
  background: var(--wp--preset--color--surface, #f7f5fa);
  border-radius: 6px;
}

/* スマホではヘッダーの検索窓を1行に落とす */
@media (max-width: 600px) {
  .site-search {
    flex: 1 0 100%;
    margin-top: 0.5rem;
  }

  .site-search__input {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }
}


/* v1.8.0: トップの「運営者が所有している機材」枠（2026-08-22 評議会レビューの反映）
   所有していることと、レビューできることを分けて出す。 */
.home-owned__lead { font-size: 0.9rem; line-height: 1.8; margin: 0 0 1.1em; }
.home-owned {
  list-style: none; padding: 0; margin: 0 0 1.6em;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 820px) { .home-owned { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .home-owned { grid-template-columns: 1fr; } }
.home-owned__i a {
  display: block; text-decoration: none;
  color: var(--wp--preset--color--ink, #1a1a1a);
  border: 1px solid #e3e6e4; border-radius: 6px; overflow: hidden;
  background: var(--wp--preset--color--base, #fff);
}
.home-owned__i a:hover { border-color: var(--wp--preset--color--accent-dark, #6d4fa3); }
.home-owned__i img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; background: #f0f6f3;
}
.home-owned__st {
  display: inline-block; font-size: 0.68rem; line-height: 1.6;
  border-radius: 999px; padding: 0.05em 0.6em; margin: 0.6em 0.8em 0;
}
.home-owned__st.is-review { background: #d7f5e9; color: #00654a; }
.home-owned__st.is-wip { background: #f0f2f1; color: #635a68; }
.home-owned__n {
  display: block; font-size: 0.86rem; line-height: 1.5;
  margin: 0.3em 0.8em 0.9em; font-weight: 500;
}


/* =========================================================
 * v0.2.0: mystone トップページ（スピリチュアル主軸・2026-08-24承認案）
 * ========================================================= */
.ms-hero {
  background: #26215C; color: #EEEDFE; text-align: center;
  border-radius: 10px; padding: 3.2em 1.5em 2.4em; margin: 1.5em 0 2em;
}
.ms-hero__catch {
  font-family: var(--wp--preset--font-family--serif, "Noto Serif JP", serif);
  font-size: 1.9rem; font-weight: 500; margin: 0 0 0.5em; color: #EEEDFE;
}
.ms-hero__lead { font-size: 0.95rem; line-height: 2; color: #CECBF6; margin: 0 auto 1.2em; max-width: 34em; }
.ms-hero__stones { display: flex; gap: 8px; justify-content: center; }
.ms-hero__stones span { width: 52px; height: 36px; border-radius: 6px; display: block; }

.ms-wish { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 0 0 2em; }
@media (max-width: 820px) { .ms-wish { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.ms-wish__card {
  display: block; text-decoration: none; text-align: center;
  border-radius: 10px; padding: 1.1em 0.8em; border: 0.5px solid transparent;
}
.ms-wish__card:hover { filter: brightness(0.97); }
.ms-wish__t { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 0.2em; }
.ms-wish__d { display: block; font-size: 0.78rem; }
.ms-wish__card--love { background: #FBEAF0; border-color: #F4C0D1; }
.ms-wish__card--love .ms-wish__t { color: #4B1528; } .ms-wish__card--love .ms-wish__d { color: #993556; }
.ms-wish__card--fortune { background: #FAEEDA; border-color: #FAC775; }
.ms-wish__card--fortune .ms-wish__t { color: #412402; } .ms-wish__card--fortune .ms-wish__d { color: #854F0B; }
.ms-wish__card--calm { background: #E6F1FB; border-color: #B5D4F4; }
.ms-wish__card--calm .ms-wish__t { color: #042C53; } .ms-wish__card--calm .ms-wish__d { color: #185FA5; }
.ms-wish__card--guard { background: #EEEDFE; border-color: #CECBF6; }
.ms-wish__card--guard .ms-wish__t { color: #26215C; } .ms-wish__card--guard .ms-wish__d { color: #534AB7; }

.ms-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin: 0 0 2em; }
@media (max-width: 640px) { .ms-two { grid-template-columns: 1fr; } }
.ms-panel { border: 0.5px solid #CECBF6; border-radius: 10px; padding: 1em 1.1em; background: var(--wp--preset--color--base, #fff); }
.ms-panel__h { font-size: 1rem; margin: 0 0 0.7em; color: #26215C; }
.ms-birth { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ms-birth a {
  text-align: center; font-size: 0.82rem; padding: 0.4em 0;
  border: 0.5px solid #CECBF6; border-radius: 6px; text-decoration: none;
  color: var(--wp--preset--color--accent-dark, #6d4fa3);
}
.ms-birth a:hover { background: #EEEDFE; }
.ms-daily__name { font-weight: 500; margin: 0 0 0.2em; color: #26215C; }
.ms-daily__text { font-size: 0.85rem; line-height: 1.8; color: var(--wp--preset--color--muted, #635a68); margin: 0; }

.ms-lore { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0 0 2em; }
@media (max-width: 820px) { .ms-lore { grid-template-columns: 1fr; } }
.ms-lore__card {
  display: block; text-decoration: none; border: 0.5px solid #e5e0ee;
  border-radius: 10px; padding: 0.9em 1em; background: var(--wp--preset--color--base, #fff);
}
.ms-lore__card:hover { border-color: var(--wp--preset--color--accent-dark, #6d4fa3); }
.ms-lore__t { display: block; font-weight: 500; font-size: 0.92rem; color: #26215C; margin-bottom: 0.25em; }
.ms-lore__d { display: block; font-size: 0.8rem; line-height: 1.7; color: var(--wp--preset--color--muted, #635a68); }

.site-footer-note {
  font-size: 0.75rem; line-height: 1.8; opacity: 0.85;
  max-width: 44em; margin: 0 auto 1em; text-align: center;
}


/* =========================================================
 * 4コマ漫画（v0.2.1）: 原寸1024x1536をそのまま出すと大きすぎるため
 * 表示幅を制限し、中央寄せ。クリックで原寸（記事側でリンク）
 * ========================================================= */
.ms-manga { max-width: 480px; margin: 2.2em auto; }
.ms-manga img { width: 100%; height: auto; display: block;
  border: 1px solid rgba(109, 79, 163, 0.25); border-radius: 6px; }
.ms-manga figcaption { text-align: center; font-size: 0.8rem; opacity: 0.75; margin-top: 0.5em; }


/* =========================================================
 * v0.3.0 星影の事典スキン（本人承認のデザインキャンバス「本命」を実装）
 * 深い夜空グラデーション＋星々＋金(e8cd8a/e2c988)×アメジスト紫。
 * 既存の配色定義より後に読み、色と質感だけ上書きする。
 * ========================================================= */

/* --- 夜空と星 --- */
body {
  background: linear-gradient(175deg, #0b081f 0%, #171040 34%, #251c54 62%, #171038 100%);
  background-attachment: fixed;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 22px 34px, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 120px 90px, rgba(207,195,236,0.8), transparent 60%),
    radial-gradient(1.6px 1.6px at 210px 160px, rgba(232,205,138,0.9), transparent 60%),
    radial-gradient(1px 1px at 300px 60px, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 380px 200px, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 90px 250px, rgba(207,195,236,0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 330px 320px, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 180px 380px, rgba(232,205,138,0.6), transparent 60%);
  background-size: 420px 420px;
  opacity: 0.8;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(640px 480px at 78% 6%, rgba(183,148,230,0.16), transparent 70%),
    radial-gradient(560px 440px at 6% 32%, rgba(217,180,92,0.08), transparent 70%);
}
.site-header, .site-main, .site-footer, footer.wp-block-template-part, header.wp-block-template-part { position: relative; z-index: 1; }

/* --- ヘッダー --- */
.site-header, .site-header.has-ink-background-color {
  background: rgba(11, 8, 31, 0.72) !important;
  border-bottom: 1px solid rgba(183, 148, 230, 0.22);
}
.site-header, .site-header.has-base-color { color: #ede8f8 !important; }
.site-header .wp-block-site-title a, .site-header .wp-block-site-title {
  color: #f4eede !important; font-family: var(--wp--preset--font-family--serif); letter-spacing: 0.08em;
}
.site-nav a { color: #cfc3ec; }
.site-nav a:first-child { color: #cfc3ec; }
.site-nav a:hover { color: #e8cd8a; }
.site-search__input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(183,148,230,0.4);
  color: #ede8f8; border-radius: 999px;
}
.site-search__input::placeholder { color: #9d92c4; }
.site-search__button {
  background: transparent; border: 1px solid rgba(232,205,138,0.5); color: #e8cd8a; border-radius: 999px;
}

/* --- セクション見出し --- */
.home-sec__head h2, .ms-panel__h {
  color: #e8cd8a; font-family: var(--wp--preset--font-family--serif);
  font-weight: 600; letter-spacing: 0.18em;
}
.home-sec__head h2::before { content: "\2726\0020"; color: #e8cd8a; }
.home-sec__more { color: #cfc3ec; }
.home-sec__more:hover { color: #e8cd8a; }

/* --- ヒーロー --- */
.ms-hero { background: transparent; padding: 4.2em 1.5em 2.8em; }
.ms-hero__catch {
  font-size: 2.3rem; letter-spacing: 0.14em; color: #f7f3e8;
  text-shadow: 0 0 34px rgba(183, 148, 230, 0.55);
}
.ms-hero__lead { color: #cfc3ec; letter-spacing: 0.08em; }
.ms-hero__stones { gap: 16px; margin-top: 1.6em; }
.ms-hero__stones span {
  width: 14px; height: 14px; border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35), 0 0 18px 2px rgba(183, 148, 230, 0.35);
}

/* --- 願いごとカード（ガラス質） --- */
.ms-wish { gap: 18px; }
.ms-wish__card,
.ms-wish__card--love, .ms-wish__card--fortune, .ms-wish__card--calm, .ms-wish__card--guard {
  background: rgba(183, 148, 230, 0.09);
  border: 1px solid rgba(183, 148, 230, 0.32);
  border-radius: 14px; padding: 1.6em 1em;
  box-shadow: 0 10px 34px rgba(11, 8, 31, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ms-wish__card:hover { filter: none; transform: translateY(-3px); border-color: rgba(232, 205, 138, 0.6); }
.ms-wish__card .ms-wish__t,
.ms-wish__card--love .ms-wish__t, .ms-wish__card--fortune .ms-wish__t,
.ms-wish__card--calm .ms-wish__t, .ms-wish__card--guard .ms-wish__t {
  color: #f4eede; font-family: var(--wp--preset--font-family--serif);
  font-size: 1.05rem; letter-spacing: 0.12em;
}
.ms-wish__card .ms-wish__d,
.ms-wish__card--love .ms-wish__d, .ms-wish__card--fortune .ms-wish__d,
.ms-wish__card--calm .ms-wish__d, .ms-wish__card--guard .ms-wish__d { color: #b3a8d9; }
.ms-wish__icon { display: block; margin: 0 auto 0.7em; }

/* --- 誕生石・石ことばパネル --- */
.ms-panel { background: rgba(23, 16, 64, 0.55); border: 1px solid rgba(183, 148, 230, 0.28); border-radius: 14px; padding: 1.4em 1.5em; }
.ms-birth { gap: 10px; }
.ms-birth a {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232, 205, 138, 0.5); border-radius: 50%;
  color: #ede8f8; font-size: 0.85rem; padding: 0;
}
.ms-birth a:hover { background: rgba(183, 148, 230, 0.22); }
.ms-daily__name {
  font-family: var(--wp--preset--font-family--serif); font-size: 1.5rem; letter-spacing: 0.14em;
  color: #f7f3e8; text-shadow: 0 0 22px rgba(183, 148, 230, 0.6);
}
.ms-daily__text { color: #cfc3ec; }

/* --- 石の事典カード --- */
.ms-lore { gap: 18px; }
.ms-lore__card {
  background: linear-gradient(165deg, rgba(155, 139, 216, 0.16), rgba(23, 16, 64, 0.4));
  border: 1px solid rgba(183, 148, 230, 0.3); border-radius: 14px; padding: 1.3em 1.1em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ms-lore__card:hover {
  border-color: rgba(232, 205, 138, 0.6); transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(11, 8, 31, 0.6);
}
.ms-lore__t { color: #f4eede; font-family: var(--wp--preset--font-family--serif); letter-spacing: 0.08em; }
.ms-lore__d { color: #b3a8d9; }
.ms-lore__card--orb { text-align: center; }
.ms-orb { display: block; width: 46px; height: 46px; margin: 0 auto 0.8em; border-radius: 50%; }

/* --- 新着記事カード --- */
.post-grid .post-card {
  background: rgba(23, 16, 64, 0.55); border: 1px solid rgba(183, 148, 230, 0.28); border-radius: 14px;
}
.post-grid .post-card:hover { box-shadow: 0 12px 34px rgba(11, 8, 31, 0.6); border-color: rgba(232, 205, 138, 0.5); }
.post-grid .wp-block-post-title a { color: #f4eede; font-family: var(--wp--preset--font-family--serif); font-weight: 500; }
.post-grid .wp-block-post-title a:hover { color: #e8cd8a; }
.post-grid .wp-block-post-excerpt, .post-grid .post-meta, .post-grid .post-meta a { color: #b3a8d9; }

/* --- フッター --- */
.site-footer, .site-footer.has-ink-background-color { background: rgba(11, 8, 31, 0.8) !important; border-top: 1px solid rgba(183, 148, 230, 0.22); }
.site-footer, .site-footer.has-base-color { color: #cfc3ec !important; }
.site-footer-note { color: #9d92c4; opacity: 1; }
.site-footer a { color: #cfc3ec; }
.site-footer a:hover { color: #e8cd8a; }
.site-footer-copy { color: #7d739f; font-family: var(--wp--preset--font-family--serif); letter-spacing: 0.2em; }

/* --- 記事本文まわり --- */
.post-byline, .post-meta { color: #a99fce; }
.post-byline a { color: #cfc3ec; }
.wp-block-table td, .wp-block-table th { border-color: rgba(183, 148, 230, 0.25); }
.wp-block-table th, figure.wp-block-table table tr th { background: rgba(23, 16, 64, 0.7); color: #e8cd8a; }
.wp-block-post-content a:where(:not(.wp-element-button)) { color: #e2c988; }
.wp-block-post-content a:where(:not(.wp-element-button)):hover { color: #f4e3b2; }

/* --- 開示文・バッジ --- */
.gn-disclosure { color: #a99fce; border-color: rgba(183, 148, 230, 0.25); }
.verify-note { background: rgba(23, 16, 64, 0.55); border: 1px solid rgba(183, 148, 230, 0.28); }
.verify-note p { color: #b3a8d9; }
.badge--unverified { background: transparent; border: 1px solid rgba(232, 205, 138, 0.6); color: #e8cd8a; }

/* --- buy-box --- */
.buy-box { background: rgba(23, 16, 64, 0.55); border: 1px solid rgba(183, 148, 230, 0.3); border-radius: 14px; }
.buy-box__pr { color: #9d92c4; }
.buy-box__name { color: #f4eede; font-family: var(--wp--preset--font-family--serif); }
.buy-box__price dt { color: #a99fce; }
.buy-box__price dd { color: #f7f3e8; }
.buy-box__price-note { color: #9d92c4; }
.buy-box__img img { background: #ffffff; border-radius: 8px; padding: 4px; }
.buy-box__shops a {
  background: transparent; border: 1px solid rgba(232, 205, 138, 0.55); color: #e8cd8a; border-radius: 10px;
}
.buy-box__shops a:hover { background: rgba(232, 205, 138, 0.12); color: #f0ddac; }

/* --- 4コマ --- */
.ms-manga img { border-color: rgba(183, 148, 230, 0.4); box-shadow: 0 10px 34px rgba(11, 8, 31, 0.5); }
.ms-manga figcaption { color: #9d92c4; opacity: 1; }

/* --- お問い合わせフォーム --- */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea, .wpcf7 select {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(183, 148, 230, 0.35);
  color: #ede8f8; border-radius: 8px; padding: 0.6em 0.8em; width: 100%; box-sizing: border-box;
}
.wpcf7 input[type="submit"] {
  background: #e2c988; color: #0b081f; border: none; border-radius: 999px;
  padding: 0.7em 2.2em; font-weight: 700; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: #f0ddac; }

/* =========================================================
 * v0.3.1: 石データ表のラベル列を1行に固定（2026-08-28 本人指摘）
 * 値の長い右列に押されてラベルが「よくある処理・注／意」のように
 * 1〜3文字で折れていた。ラベルは短い（最長9文字）ので1行固定にし、
 * 幅は内容ぶんだけ取る。比較表（spec-table/wide-table）は既存規則を維持
 * ========================================================= */
.wp-block-table:not(.spec-table):not(.wide-table) tr > th:first-child {
  white-space: nowrap;
  width: 1%;
}
