/* ==========================================================================
   BAIMIRA — カスタムデザインCSS「Midnight Cinema」
   --------------------------------------------------------------------------
   適用方法（どちらか）:
     A) WordPress管理画面「外観 > カスタマイズ > 追加CSS」へ全文を貼る
     B) 子テーマ（SWELL CHILD）から wp_enqueue_style で読み込む
   方針書: wp-design/design/design_system.md
   前提: SWELL 2.19.1 / SWELL CHILD。フォント（Marcellus / Inter）は
         子テーマ functions.php 側で Google Fonts を読み込むこと。
   注意: 「要実機確認」と付けたセレクタは SWELL の内部構造依存のため、
         適用後にブラウザの開発者ツールで実在を確認してから確定すること。
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  --bm-bg-0: #070b14;
  --bm-bg-1: #0b1120;
  --bm-bg-2: #111a2e;
  --bm-bg-3: #182238;
  --bm-line: rgba(148, 178, 255, 0.14);
  --bm-line-strong: rgba(148, 178, 255, 0.28);
  --bm-text: #edf2fa;
  --bm-text-2: #a9b7cc;
  --bm-text-3: #8494ac;
  --bm-accent: #33c4dc;
  --bm-accent-bright: #7fe7f7;
  --bm-accent-deep: #0b6b80;
  --bm-gold: #c9a24b;
  --bm-gold-bright: #e8c877;
  --bm-gold-deep: #9a7a2e;
  --bm-ink: #0b1120; /* ゴールド面の上に載せる暗色文字 */

  --bm-font-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --bm-font-en: "Inter", "Hiragino Sans", sans-serif;
  --bm-font-display: "Marcellus", "Inter", serif;

  --bm-radius: 8px;
  --bm-radius-btn: 4px;
  --bm-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --bm-glow: 0 0 42px rgba(51, 196, 220, 0.14);
  --bm-section-gap: clamp(4rem, 10vw, 7rem);
  --bm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   1. ベース（SWELL既定の白背景・水色リンクを置き換える）
   -------------------------------------------------------------------------- */
body {
  background: var(--bm-bg-1);
  color: var(--bm-text);
  font-family: var(--bm-font-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(51, 196, 220, 0.35);
  color: #fff;
}

/* 本文リンクはシアンに統一（ゴールドはリンクに使わない） */
.post_content a:not(.swl-button):not(.bm-btn) {
  color: var(--bm-accent);
  text-decoration: underline;
  text-decoration-color: rgba(51, 196, 220, 0.4);
  text-underline-offset: 3px;
  transition: color 0.25s var(--bm-ease),
    text-decoration-color 0.25s var(--bm-ease);
}
.post_content a:not(.swl-button):not(.bm-btn):hover {
  color: var(--bm-accent-bright);
  text-decoration-color: var(--bm-accent-bright);
}

/* キーボードフォーカスは消さない（WCAG 2.1 AA） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--bm-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 画像は角丸と境界で「貼っただけ」感を消す */
.post_content img {
  border-radius: var(--bm-radius);
}

/* --------------------------------------------------------------------------
   2. ヘッダー / フッター
   ※ .l-header / .l-footer は SWELL の実在クラス。
      内部構造（ロゴ・ナビの子クラス）は 要実機確認。
   -------------------------------------------------------------------------- */
.l-header {
  background: rgba(7, 11, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bm-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ロゴ文字（テキストロゴ時）— 要実機確認: SWELL のロゴリンククラス */
.l-header .c-headLogo__link,
.l-header .c-headLogo {
  font-family: var(--bm-font-display);
  letter-spacing: 0.28em;
  color: var(--bm-text);
}

/* グローバルナビ — 要実機確認: SWELL のナビリンクセレクタ */
.l-header nav a {
  color: var(--bm-text-2);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s var(--bm-ease);
}
.l-header nav a:hover {
  color: var(--bm-text);
}

.l-footer {
  background: var(--bm-bg-0);
  border-top: 1px solid var(--bm-line);
  color: var(--bm-text-2);
}
.l-footer a {
  color: var(--bm-text-2);
  transition: color 0.25s var(--bm-ease);
}
.l-footer a:hover {
  color: var(--bm-accent-bright);
}

/* パンくず・ページタイトル帯をダークに馴染ませる
   — 要実機確認: SWELL のタイトルエリア／パンくずクラス */
.p-breadcrumb,
.c-breadcrumb {
  color: var(--bm-text-3);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   3. ヒーロー（トップページ先頭のフルワイドブロックに .bm-hero を付与）
   画像を使わず、グラデーション＋光＋質感だけで作る（LCP対策）。
   SWELL のメインビジュアル機能を使う場合は .p-mainVisual 側にも当てる。
   -------------------------------------------------------------------------- */
.bm-hero,
.p-mainVisual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(51, 196, 220, 0.22), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(201, 162, 75, 0.13), transparent 55%),
    linear-gradient(168deg, #0d1526 0%, var(--bm-bg-1) 52%, var(--bm-bg-0) 100%);
  color: var(--bm-text);
}

/* フィルムグレイン風の質感（微細なドット。外部画像は使わない） */
.bm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* 下端を次のセクションへ溶かす */
.bm-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bm-bg-1));
}

.bm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4.5rem, 12vw, 8rem) 1.25rem clamp(5rem, 12vw, 8.5rem);
  text-align: center;
}

/* 英字キッカー（小さな英語ラベル） */
.bm-kicker {
  font-family: var(--bm-font-display);
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bm-accent);
  margin: 0 0 1.4rem;
}

.bm-hero__title {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0 0 1.6rem;
  text-wrap: balance;
}

.bm-hero__lead {
  max-width: 40em;
  margin: 0 auto 2.6rem;
  color: var(--bm-text-2);
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  line-height: 2;
  text-align: left;
}
@media (min-width: 600px) {
  .bm-hero__lead { text-align: center; }
}

.bm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* SWELL のメインビジュアル内テキストにも同等の階層を与える
   — 要実機確認: メインビジュアルの見出しクラス */
.p-mainVisual .p-mainVisual__title {
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

/* --------------------------------------------------------------------------
   3-2. フロントページ先頭の余白（ヒーローをヘッダー直下に接させる）
   ヘッダー下の約120pxの空白帯の真因は2つ（2026-11-23 実地調査で確定）:
   (1) SWELL の #content（.l-content）の padding-top: 4em
   (2) 空の記事スライダー .p-postSlider が約57pxの高さを残していたこと
   （スライダーに中身が無いのに高さだけが残り、空白の一部になっていた）。

   【重要な前提】SWELL では <body> にクラスが付かず、WordPress の
   body_class() は <div id="body_wrap"> に付く。フロントページでは
   #body_wrap に home クラスが付く。そのため v1.0.3 で入れた
   body.home / body.front-page セレクタは一切マッチせず無効だった。
   以後、ページ種別の判定は必ず #body_wrap 側のクラスで行うこと。

   - #content は .l-content と同一要素（SWELL のメインコンテンツ領域）。
   - .p-postSlider は #body_wrap の子要素（子孫）として存在するため、
     子孫セレクタ「#body_wrap.home .p-postSlider」で指定する。
     ※カスタマイザー追加 CSS の暫定ルールは「#body_wrap.home.p-postSlider」
     という複合セレクタで書かれていたが、スライダー要素自体に home
     クラスは付かないはずであり、子孫セレクタの形が正しい。
   - メディアクエリでは分けない: SWELL の padding-top は 600px 以上で
     4em／未満で 2em に切り替わるが、この指定1つで両方を打ち消すため。
   - !important の理由: SWELL 側に !important 付き指定が同居する領域
     であり、指定漏れなく確実に勝たせるため。
   - 適用範囲はフロントページのみ。他の固定ページ（About・料金・
     規約等）の上部余白には影響させない。
   -------------------------------------------------------------------------- */
#body_wrap.home #content {
  padding-top: 0 !important;
}
#body_wrap.home .p-postSlider {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. セクション見出し（H2 = キッカー + ゴールドライン + 大見出し）
   -------------------------------------------------------------------------- */
.post_content h2 {
  position: relative;
  font-size: clamp(1.45rem, 4.4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--bm-text);
  background: none;
  border: none;
  padding: 0 0 1rem;
  margin: var(--bm-section-gap) 0 1.8rem;
}
/* 見出し上の細いゴールドライン */
.post_content h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--bm-gold-bright), var(--bm-gold));
  border-radius: 2px;
}
/* セクション直後の導入文は少し弱める */
.post_content h2 + p {
  color: var(--bm-text-2);
}

.post_content h3 {
  font-size: clamp(1.1rem, 3.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--bm-text);
  border: none;
  background: none;
  padding: 0;
  margin: 2.6rem 0 1rem;
}

/* 英字ラベル付き見出し（ブロックに .bm-sec-head を付けた場合の上位表現） */
.bm-sec-head {
  text-align: center;
}
.bm-sec-head .bm-kicker {
  margin-bottom: 0.9rem;
}
.bm-sec-head h2::before {
  margin-left: auto;
  margin-right: auto;
}

/* セクション区切り（ブロックに .bm-section を付与） */
.bm-section {
  padding-top: var(--bm-section-gap);
  margin-top: var(--bm-section-gap);
  border-top: 1px solid var(--bm-line);
}

/* 注記テキスト */
.bm-note,
.post_content .is-style-small,
.post_content small {
  color: var(--bm-text-3);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   5. 特徴カード（ブロック群に .bm-grid / .bm-card を付与）
   -------------------------------------------------------------------------- */
.bm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (min-width: 600px) {
  .bm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .bm-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.bm-card {
  background: linear-gradient(180deg, var(--bm-bg-3), var(--bm-bg-2));
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--bm-ease), border-color 0.3s var(--bm-ease),
    box-shadow 0.3s var(--bm-ease);
}
.bm-card:hover {
  transform: translateY(-4px);
  border-color: var(--bm-line-strong);
  box-shadow: var(--bm-shadow), var(--bm-glow);
}
.bm-card h3 {
  margin-top: 0;
  font-size: 1.12rem;
}
.bm-card p {
  color: var(--bm-text-2);
  font-size: 0.95rem;
  margin-bottom: 0;
}
/* カード番号（特徴 1〜4 の大きな数字） */
.bm-card__num {
  font-family: var(--bm-font-en);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--bm-gold);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   6. 学び方の流れ（STEP表示。ブロックに .bm-step を付与）
   -------------------------------------------------------------------------- */
.bm-step {
  position: relative;
  background: var(--bm-bg-2);
  border: 1px solid var(--bm-line);
  border-left: 3px solid var(--bm-gold);
  border-radius: var(--bm-radius);
  padding: 1.5rem 1.5rem 1.5rem 1.7rem;
  margin: 1.1rem 0;
}
.bm-step h3 {
  margin-top: 0;
  font-family: var(--bm-font-en);
  letter-spacing: 0.06em;
}
.bm-step h3 .bm-step__label {
  color: var(--bm-gold-bright);
  margin-right: 0.6em;
}
.bm-step p {
  color: var(--bm-text-2);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. CTAボタン
   SWELL ボタンブロック（.swell-block-button）の既定色を上書きしつつ、
   専用クラス .bm-btn も用意する。
   — 要実機確認: ボタンブロック内側のリンククラス（.swl-button 想定）
   -------------------------------------------------------------------------- */
.bm-btn,
.post_content .swell-block-button .swl-button,
.post_content .swell-block-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85em 2.2em;
  border-radius: var(--bm-radius-btn);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.25s var(--bm-ease), box-shadow 0.25s var(--bm-ease),
    filter 0.25s var(--bm-ease);
}

/* 主CTA：ゴールドグラデーション＋暗色文字 */
.bm-btn--primary,
.post_content .swell-block-button.is-style-btn_primary .swl-button,
.post_content .swell-block-button.is-style-btn_primary a {
  background: linear-gradient(160deg, var(--bm-gold-bright), var(--bm-gold) 55%, var(--bm-gold-deep));
  color: var(--bm-ink);
  box-shadow: 0 12px 30px rgba(201, 162, 75, 0.28);
  border: none;
}
.bm-btn--primary:hover,
.post_content .swell-block-button.is-style-btn_primary .swl-button:hover,
.post_content .swell-block-button.is-style-btn_primary a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 36px rgba(201, 162, 75, 0.36);
  color: var(--bm-ink);
}

/* 副CTA：ゴースト（枠線のみ） */
.bm-btn--ghost {
  background: transparent;
  color: var(--bm-text);
  border: 1px solid var(--bm-line-strong);
  box-shadow: none;
}
.bm-btn--ghost:hover {
  border-color: var(--bm-accent);
  color: var(--bm-accent-bright);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. 料金比較表（料金ページの table に .bm-price を付与）
   列構成: 1=項目 / 2=ライト / 3=スタンダード（中央・強調） / 4=プレミアム
   -------------------------------------------------------------------------- */
.bm-price-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}
.post_content table.bm-price {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bm-bg-2);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.post_content table.bm-price th,
.post_content table.bm-price td {
  padding: 1rem 1.1rem;
  border: none;
  border-bottom: 1px solid var(--bm-line);
  text-align: center;
  vertical-align: middle;
}
.post_content table.bm-price th:first-child,
.post_content table.bm-price td:first-child {
  text-align: left;
  color: var(--bm-text-2);
  font-weight: 400;
  white-space: nowrap;
}
.post_content table.bm-price thead th {
  background: var(--bm-bg-3);
  color: var(--bm-text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1.3rem 1.1rem;
}
/* 価格の行（tbody 先頭行を価格行として運用） */
.post_content table.bm-price tbody tr:first-child td {
  font-family: var(--bm-font-en);
  font-weight: 800;
  font-size: 1.35rem;
  font-feature-settings: "tnum";
  color: var(--bm-text);
  white-space: nowrap;
}
/* 「利用不可」のセルは弱める（"利用不可" の文言前提ではなく行全体の注記用） */
.post_content table.bm-price td.bm-na {
  color: var(--bm-text-3);
}

/* 中央＝スタンダード列の強調（3列目） */
.post_content table.bm-price th:nth-child(3),
.post_content table.bm-price td:nth-child(3) {
  background: rgba(201, 162, 75, 0.07);
  box-shadow: inset 1px 0 0 var(--bm-gold), inset -1px 0 0 var(--bm-gold);
}
.post_content table.bm-price thead th:nth-child(3) {
  position: relative;
  background: linear-gradient(180deg, rgba(232, 200, 119, 0.22), rgba(201, 162, 75, 0.10));
  color: var(--bm-gold-bright);
  box-shadow: inset 1px 0 0 var(--bm-gold), inset -1px 0 0 var(--bm-gold),
    inset 0 2px 0 var(--bm-gold);
}
/* 「おすすめ」バッジ */
.post_content table.bm-price thead th:nth-child(3)::after {
  content: "おすすめ";
  position: absolute;
  top: -0.72em;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(160deg, var(--bm-gold-bright), var(--bm-gold));
  color: var(--bm-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.28em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
}
/* バッジが上の要素に被らないよう表全体に余白を確保 */
.bm-price-wrap { padding-top: 1rem; }

/* スマホ：項目列を固定して横スクロール */
@media (max-width: 599px) {
  .post_content table.bm-price {
    min-width: 560px;
    font-size: 0.88rem;
  }
  .post_content table.bm-price th:first-child,
  .post_content table.bm-price td:first-child {
    position: sticky;
    left: 0;
    background: var(--bm-bg-2);
    box-shadow: 1px 0 0 var(--bm-line);
    z-index: 1;
  }
  .post_content table.bm-price thead th:first-child {
    background: var(--bm-bg-3);
  }
  .post_content table.bm-price tbody tr:first-child td {
    font-size: 1.15rem;
  }
}

/* 料金の単独表示（料金セクションの価格テキスト） */
.bm-price-num {
  font-family: var(--bm-font-en);
  font-weight: 800;
  font-feature-settings: "tnum";
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--bm-text);
}
.bm-price-num .bm-price-unit {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--bm-text-2);
}

/* --------------------------------------------------------------------------
   8-2. 汎用テーブル（特商法・規約などの「項目名＋本文」の2列表）
   .bm-price 以外の table が対象。スマホでは SWELL 既定の自動レイアウトで
   左列が極端に狭くなり、項目名が1文字ずつ縦に折り返して「縦棒」状に
   なるため、左列に幅の床を持たせる。料金比較表（.bm-price）は
   横スクロール＋左列固定の別設計なので :not(.bm-price) で除外する。
   table-layout: fixed は一律にかけない（3列以上の表を潰さないため）。
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .post_content table:not(.bm-price) th,
  .post_content table:not(.bm-price) td {
    padding: 0.85em 0.8em;
    line-height: 1.75;
    vertical-align: top;
  }
  .post_content table:not(.bm-price) th:first-child,
  .post_content table:not(.bm-price) td:first-child {
    width: 30%;
    min-width: 6.5em;
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   9. FAQアコーディオン（SWELL の FAQ ブロック）
   — 要実機確認: .swell-block-faq / .faq_q / .faq_a の実在と構造
   -------------------------------------------------------------------------- */
.post_content .swell-block-faq {
  border-top: 1px solid var(--bm-line);
  margin: 2rem 0;
}
.post_content .swell-block-faq .faq_q,
.post_content .swell-block-faq dt {
  position: relative;
  background: transparent;
  color: var(--bm-text);
  font-weight: 700;
  letter-spacing: 0.03em;
  /* 左paddingはSWELLのQバッジ（絶対配置）を避けるため広く取る。
     0.2remにすると本文がバッジの下に潜り先頭文字が欠ける（2026-11-23 実機で確認・修正） */
  padding: 1.3rem 2.8rem 1.3rem 3.9rem;
  min-height: 44px;
  border-bottom: 1px solid var(--bm-line);
  cursor: pointer;
}
/* Q マークを置き換えず、開閉アイコンだけを線で描く */
.post_content .swell-block-faq .faq_q::after,
.post_content .swell-block-faq dt::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--bm-accent);
  border-bottom: 2px solid var(--bm-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--bm-ease);
}
.post_content .swell-block-faq .faq_a,
.post_content .swell-block-faq dd {
  background: transparent;
  color: var(--bm-text-2);
  /* Aバッジとの重なり回避のため、質問側と左端を揃える */
  padding: 1.2rem 0.2rem 1.6rem 3.9rem;
  border-bottom: 1px solid var(--bm-line);
  margin: 0;
}
/* SWELL の Q/A アイコンバッジ色を馴染ませる — 要実機確認 */
.post_content .swell-block-faq .faq_q::before,
.post_content .swell-block-faq .faq_a::before {
  background: var(--bm-bg-3);
  color: var(--bm-accent);
  border: 1px solid var(--bm-line);
}

/* --------------------------------------------------------------------------
   10. フォーム要素（登録・診断ページ用）
   -------------------------------------------------------------------------- */
.post_content input[type="text"],
.post_content input[type="email"],
.post_content input[type="password"],
.post_content select,
.post_content textarea {
  font-size: 16px; /* iOS の自動ズーム防止 */
  background: var(--bm-bg-2);
  color: var(--bm-text);
  border: 1px solid var(--bm-line-strong);
  border-radius: var(--bm-radius-btn);
  padding: 0.8em 1em;
  min-height: 48px;
}
.post_content input::placeholder,
.post_content textarea::placeholder {
  color: var(--bm-text-3);
}

/* --------------------------------------------------------------------------
   11. リスト（音声変化の列挙など）の階層
   -------------------------------------------------------------------------- */
.post_content ul li::marker {
  color: var(--bm-gold);
}
.post_content ol li::marker {
  color: var(--bm-accent);
  font-family: var(--bm-font-en);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. モーション配慮（prefers-reduced-motion）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bm-card:hover,
  .bm-btn:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   13. 印刷時はダーク背景を落とす（規約・特商法ページ用）
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #111;
  }
  .l-header,
  .l-footer {
    display: none;
  }
}
