/*
Theme Name: Manga Netokore Child
Template: manga-base-theme
Description: NTR・寝取られ同人マンガレビューサイト「ネトコレ」の子テーマ。太ゴシック × ダーク × クリムゾン・アクセント。
Author: manga-hub project
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: manga-netokore
*/

/* ===========================================================================
   CSS変数の上書き
   親テーマの :root を上書きすることで、サイト全体のトーンを変える
   =========================================================================== */
:root {
  /* 背景：無彩色ダーク（赤み・色味なし。アクセントだけが赤に立つように） */
  --bg-base:        #0e0e10;
  --bg-surface:     #16161a;
  --bg-card:        #1c1c20;
  --bg-elevated:    #232328;

  /* テキスト：無彩色グレースケール */
  --text-primary:   #ececec;
  --text-secondary: #b8b8b8;
  --text-muted:     #767676;

  /* アクセント：クリムゾン（NTR） */
  --accent:         #c2334d;
  --accent-hover:   #d94862;
  --accent-deep:    #8a1f33;
  --accent-glow:    rgba(194, 51, 77, 0.35);
  --accent-marker:  rgba(194, 51, 77, 0.22);
  --accent-text:    #e8879a;

  /* 機能色 */
  --price:          #e8859e;
  --sale:           #e8859e;
  --rating:         #d63a52;

  /* タイポ：太ゴシックで統一（明朝は使わない） */
  --font-sans:      "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-display:   "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif:     "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* ===========================================================================
   フォント読み込み
   =========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800;900&display=swap');

/* ===========================================================================
   グレイン（フィルムノイズ）
   =========================================================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ワイン色フィルター */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background:
    radial-gradient(ellipse at top, rgba(194,51,77,0.04), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(138,31,51,0.03), transparent 50%);
}

/* ===========================================================================
   ヘッダーをガラス感に + 本文幅 (1080px) と統一 + SVGロゴ
   =========================================================================== */
.mb-header {
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(194, 51, 77, 0.15);
}

/* --- ヘッダー幅をサイト最大幅(--max-width = 1280px)に統一 ----------------- */
/* 注: トップ hero __inner は意図的に 1080px に絞っているため、
       ヘッダーの方が hero より外側に広がる設計（アーカイブ等の本文と一致させるため） */
.mb-header__inner {
  max-width: var(--max-width);
  padding: 14px var(--gutter);
}
@media (max-width: 768px) {
  .mb-header__inner {
    padding: 12px var(--gutter-mobile);
  }
}

/* --- ブランド（SVGロゴ用に再定義） -------------------------------------- */
.mb-brand {
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 0;
}
.mb-brand__logo {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: inherit;
  font-size: 0;
  display: inline-flex;
  align-items: center;
}
.mb-brand__logo svg {
  display: block;
  height: 36px;
  width: auto;
}
@media (max-width: 480px) {
  .mb-brand {
    flex-direction: row;
    align-items: center;
  }
  .mb-brand__logo svg {
    height: 30px;
  }
}

/* ===========================================================================
   セクションタイトル
   =========================================================================== */
.mb-section__title {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 22px;
}

/* ===========================================================================
   作品ヒーロー
   =========================================================================== */
.mb-work-hero__title {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 24px;
}
.mb-work-hero__image {
  box-shadow: 0 12px 32px rgba(0,0,0,0.4),
              0 0 0 1px rgba(194,51,77,0.2);
  border-radius: 14px;
}

/* ===========================================================================
   作品カード
   =========================================================================== */
.mb-card__thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.mb-card__thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .4s ease;
  z-index: 3;
}
.mb-card:hover .mb-card__thumb::after { width: 100%; }

.mb-card__title {
  font-weight: 700;
  font-size: 14px;
}

/* --- フロントページ work-grid カードの箱装飾 ------------------------------- */
.mb-front-work-grid .mb-card {
  background: var(--bg-surface);
  border: 1px solid rgba(194, 51, 77, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.mb-front-work-grid .mb-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

/* サムネ: カードの overflow:hidden に任せ個別角丸・margin 不要 */
.mb-front-work-grid .mb-card__thumb {
  border-radius: 0;
  margin-bottom: 0;
}
/* サムネ底辺のアクセントラインはカード内では不要 */
.mb-front-work-grid .mb-card .mb-card__thumb::after {
  display: none;
}

/* テキストエリアの内側余白 */
.mb-front-work-grid .mb-card__circle {
  padding: 10px 11px 0;
  letter-spacing: 0.02em;
  color: #c89aaa;
  font-family: var(--font-sans);
}
.mb-front-work-grid .mb-card__title {
  padding: 5px 11px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-primary, #fbeef0);
}
.mb-front-work-grid .mb-card__meta {
  padding: 8px 11px 11px;
  margin-top: auto;
}
.mb-front-work-grid .mb-card__price {
  font-size: 13px;
  font-weight: 700;
  color: #e8859e;
}
.mb-front-work-grid .mb-card__price--sale { color: #e8859e; }

/* SALEバッジをピンク系フォントに統一 */
.mb-front-work-grid .mb-card__sale-badge {
  background: #e8859e;
  font-family: var(--font-sans);
  letter-spacing: 0;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

/* ===========================================================================
   CTAボタン（ホバーで光が走る）
   =========================================================================== */
.mb-cta {
  position: relative;
  overflow: hidden;
  font-size: 16px;
  letter-spacing: 0.05em;
  border-radius: 14px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--price), var(--accent));
  color: #fff;
}
.mb-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left .5s;
}
.mb-cta:hover::before { left: 100%; }

/* ===========================================================================
   価格ボックス（左にアクセントライン）
   =========================================================================== */
.mb-price-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.mb-price-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
.mb-price-box__price {
  font-size: 32px;
  font-weight: 700;
}

/* ===========================================================================
   タグピル
   =========================================================================== */
.mb-tag-pill {
  display: inline-block;
  background: var(--bg-elevated);
  color: var(--accent);
  border: 1px solid rgba(194,51,77,0.25);
  border-radius: 12px;
  padding: 5px 12px;
  transition: background .2s;
}
.mb-tag-pill:hover {
  background: var(--bg-surface);
}

@media (max-width: 768px) {
  .mb-work-hero__title { font-size: 20px; }
  .mb-price-box__price { font-size: 28px; }
  .mb-cta { font-size: 15px; }
}

/* ===========================================================================
   年齢確認モーダル（上部にゴールドのライン）
   =========================================================================== */
.mb-age-modal__inner {
  border: 1px solid rgba(194, 51, 77, 0.3);
  position: relative;
}
.mb-age-modal__inner::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.mb-age-modal__title {
  font-family: var(--font-serif);
  font-weight: 800;
}
.mb-age-modal__buttons {
  align-items: stretch;
}
.mb-age-btn {
  font-family: var(--font-display);
  letter-spacing: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  padding: 14px 12px;
}
.mb-age-btn__sub {
  display: block;
  font-size: 0.78em;
  opacity: 0.85;
  margin-top: 3px;
  letter-spacing: 0;
}

/* ===========================================================================
   フッター（ゴールドの細ライン）
   =========================================================================== */
.mb-footer {
  background: #0b0b0c;
  border-top: 1px solid rgba(194, 51, 77, 0.1);
}

/* ===========================================================================
   記事本文の装飾（子テーマ）
   - 親の骨格 (.dlfh-*) に明朝・ナンバリング・グロー等を上乗せ
   =========================================================================== */

/* キャッチフレーズ：明朝でデカく */
.mb-post-content .dlfh-catchphrase {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* リード文：明朝寄り */
.mb-post-content .dlfh-lead {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, rgba(194, 51, 77, 0.06), transparent 60%);
  border-left-width: 4px;
}

/* H2：明朝 + ナンバリング装飾（疑似要素で 01. / 02. ... を出す） */
.mb-post-content {
  counter-reset: dlfh-h2-counter;
}
.mb-post-content .dlfh-h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.03em;
  position: relative;
  padding-left: 64px;
  border-left: none;
  border-bottom: 1px solid rgba(194, 51, 77, 0.2);
}
.mb-post-content .dlfh-h2::before {
  counter-increment: dlfh-h2-counter;
  content: counter(dlfh-h2-counter, decimal-leading-zero) ".";
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}

/* H3：明朝 + 細ライン強化 */
.mb-post-content .dlfh-h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* フェーズ見出し（序盤 / 中盤 / 終盤）：明朝で締める */
.mb-post-content .dlfh-experience-flow dt.dlfh-phase {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.08em;
  position: relative;
  padding-left: 22px;
}
.mb-post-content .dlfh-experience-flow dt.dlfh-phase::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent);
}

/* 刺さる人リストのマーカーを ◆ ゴールドに */
.mb-post-content .dlfh-target-readers li::before {
  content: '◆';
  font-size: 10px;
  top: 14px;
}
.mb-post-content .dlfh-target-readers li {
  border-bottom-color: rgba(194, 51, 77, 0.1);
}

/* FAQ Q：明朝 + ゴールドグラデ背景 */
.mb-post-content .dlfh-faq .dlfh-faq-q {
  font-family: var(--font-serif);
  font-weight: 700;
  background: linear-gradient(90deg, rgba(194, 51, 77, 0.08), transparent 80%);
  border-left-width: 4px;
}

/* FAQ A：左に薄ゴールド縦線 */
.mb-post-content .dlfh-faq .dlfh-faq-a {
  border-left: 1px solid rgba(194, 51, 77, 0.15);
  margin-left: 8px;
  padding: 4px 0 4px 16px;
}

/* モバイル微調整 */
@media (max-width: 640px) {
  .mb-post-content .dlfh-catchphrase { font-size: 22px; }
  .mb-post-content .dlfh-h2 { font-size: 20px; padding-left: 52px; }
  .mb-post-content .dlfh-h2::before { font-size: 28px; }
  .mb-post-content .dlfh-lead { font-size: 16px; }
}

/* ===========================================================================
   キュレーション記事 (.dlfh-list-*) 装飾
   - 親の骨格に明朝・グロー・金縁等を上乗せ
   =========================================================================== */

/* 冒頭キャッチ：明朝でデカく・グラデテキスト */
.dlfh-list-catchphrase {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* 導入文：明朝・ゴールドグラデ背景 */
.dlfh-list-lead {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, rgba(194, 51, 77, 0.06), transparent 60%);
  border-left-width: 4px;
}

/* H2：明朝 + 重厚ライン（カウンターなし） */
.dlfh-list-h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.03em;
  border-left-width: 4px;
  border-bottom-color: rgba(194, 51, 77, 0.2);
}

/* 作品ブロック：ゴールド縁取り + ホバー発光 */
.dlfh-list-item {
  border-color: rgba(194, 51, 77, 0.25);
  transition: box-shadow 0.3s;
}
.dlfh-list-item:hover {
  box-shadow: 0 0 20px rgba(194, 51, 77, 0.2);
}

/* 第1位：金縁取り + No.1 バッジ（右上） */
.dlfh-list-item[data-rank="1"] {
  border-color: var(--price);
}
.dlfh-list-item[data-rank="1"]:hover {
  box-shadow: 0 0 28px rgba(194, 51, 77, 0.35);
}
.dlfh-list-item[data-rank="1"]::before {
  content: 'No.1';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--price);
  background: rgba(194, 51, 77, 0.12);
  padding: 2px 10px;
  border: 1px solid rgba(194, 51, 77, 0.4);
  line-height: 1.6;
  z-index: 1;
}

/* スペック表の装飾 */
.dlfh-list-item__spec th {
  color: var(--text-muted);
  font-family: var(--font-sans);
}
.dlfh-list-item__spec tr {
  border-bottom-color: rgba(194, 51, 77, 0.08);
}

/* ============================================================
   work-price ショートコード(設計書カラートークン準拠)
   ============================================================ */
.dlfh-price {
  font-weight: bold;
  color: var(--price);
}
.dlfh-price-block-sale {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dlfh-price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9em;
}
.dlfh-price-current {
  font-weight: bold;
  color: var(--sale);
  font-size: 1.1em;
}
.dlfh-sale-badge {
  background: var(--sale);
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
  line-height: 1.4;
}
.dlfh-sale-deadline {
  font-size: 0.85em;
  color: var(--text-muted);
}

/* アピール文：左ラインで控えめに区別 */
.dlfh-list-item__appeal {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-block: 16px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.7;
}

/* 詳細レビューCTA：ゴールドボタン + シマー */
.dlfh-list-item__cta a {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.2em;
}
.dlfh-list-item__cta a::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.dlfh-list-item__cta a:hover {
  color: #fff;
  background: var(--accent-glow);
}
.dlfh-list-item__cta a:hover::before {
  left: 100%;
}

/* 推奨表の装飾 */
.dlfh-list-recommendation thead th {
  background: rgba(194, 51, 77, 0.12);
  font-family: var(--font-serif);
  font-weight: 700;
}
.dlfh-list-recommendation tbody tr {
  border-bottom-color: rgba(194, 51, 77, 0.08);
}

/* 末尾CTAボタン：大型グラデ + シマー */
.dlfh-list-final-cta a {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.25em;
  position: relative;
  overflow: hidden;
}
.dlfh-list-final-cta a::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}
.dlfh-list-final-cta a:hover {
  color: #fff;
}
.dlfh-list-final-cta a:hover::before {
  left: 100%;
}

/* モバイル微調整 */
@media (max-width: 767px) {
  .dlfh-list-catchphrase { font-size: 22px; }
  .dlfh-list-h2 { font-size: 20px; }
}

/* ===========================================================================
   目次の装飾
   =========================================================================== */
.mb-toc {
  background: linear-gradient(90deg, rgba(194, 51, 77, 0.08), transparent 80%);
  border-left-width: 4px;
}

.mb-toc__toggle {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.mb-toc__toggle-state {
  font-family: var(--font-display);
  letter-spacing: 0.25em;
}

.mb-toc__item--lv2 a {
  font-family: var(--font-serif);
  font-weight: 600;
}

.mb-toc__item a:hover {
  background: linear-gradient(90deg, rgba(194, 51, 77, 0.05), transparent 50%);
  padding-left: 8px;
}
.mb-toc__item--lv3 a:hover {
  padding-left: 28px;
}

/* ===========================================================================
   ヒーロー細部の装飾
   =========================================================================== */

/* 品番（display フォント） */
.mb-work-hero__product-id {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  box-shadow: 0 0 12px rgba(194, 51, 77, 0.15);
}
.mb-work-hero__source {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
}

/* 評価のデカ字（display フォント） */
.mb-work-rating__num {
  font-family: var(--font-display);
  font-size: 44px;
  text-shadow: 0 0 16px rgba(194, 51, 77, 0.25);
}

/* 価格セール時のラベル & 割引バッジ */
.mb-price-box__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.mb-price-box__discount {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(168, 23, 74, 0.4);
}

/* セール終了日時の装飾 */
.mb-price-box__campaign-end {
  color: rgba(255, 255, 255, 0.7);
}
.mb-price-box__campaign-end-icon {
  color: #c2334d;
}
.mb-price-box__campaign-end-date {
  color: #f5f5f5;
  font-weight: 600;
}

@media (max-width: 640px) {
  .mb-work-rating__num { font-size: 36px; }
}

/* ===========================================================================
   パンくず・タグセクションの装飾
   =========================================================================== */

/* パンくず: HOME を display フォントで */
.mb-breadcrumb__link[href$="/"] {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
}

/* タグラベル: jp を主役に（英語 span は子テーマ tags.php で削除済み） */
.mb-tag-group__label-jp {
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-round, var(--font-body));
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 1;
}
/* jp 単独前提でラベルの flex 方向を明示 */
.mb-tag-group__label {
  flex-direction: row;
  align-items: center;
}

/* タグピル: ホバーで輝くエフェクト */
.mb-tag-pill {
  position: relative;
  overflow: hidden;
}
.mb-tag-pill::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(194, 51, 77, 0.1), transparent);
  transition: left 0.4s;
}
.mb-tag-pill:hover::before {
  left: 100%;
}

/* ===========================================================================
   関連作品 / 末尾CTA の装飾
   =========================================================================== */

/* 関連セクションヘッダ */
.mb-related-head__label {
  font-family: var(--font-display);
  letter-spacing: 0.35em;
  color: var(--accent);
}

/* 同サークル「もっと見る」ボタン */
.mb-related-more {
  margin-top: 24px;
  text-align: center;
}
.mb-related-more__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(194, 51, 77, 0.3);
  background: rgba(194, 51, 77, 0.1);
  color: var(--accent, #c2334d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mb-related-more__link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.mb-related-more__link:hover {
  background: rgba(194, 51, 77, 0.2);
  border-color: rgba(194, 51, 77, 0.5);
  color: var(--text-primary, #fbeef0);
}
.mb-related-more__link:hover::after {
  transform: translateX(4px);
}

/* 末尾大型 CTA */
.mb-final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.mb-final-cta__label {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.mb-final-cta__title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mb-final-cta--sale .mb-final-cta__title {
  color: transparent;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mb-final-cta__copy strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .mb-final-cta__copy strong { font-size: 18px; }
}

/* ===========================================================================
   Archive Work — 装飾
   =========================================================================== */

/* ヘッダ左ボーダーグラデ縦棒 */
.mb-archive__header {
  position: relative;
  padding-left: 20px;
}
.mb-archive__header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent, #c2334d), transparent);
}

.mb-archive__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  text-shadow: 0 0 10px rgba(194, 51, 77, 0.7), 0 0 20px rgba(194, 51, 77, 0.4);
}

.mb-archive__title {
  font-family: var(--font-serif);
  font-weight: 800;
  color: transparent;
  background: linear-gradient(135deg, #fff 0%, var(--accent, #c2334d) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mb-archive__lead {
  font-family: var(--font-serif);
  font-style: italic;
}

.mb-archive__count-num {
  font-family: var(--font-display);
  text-shadow: 0 0 12px rgba(194, 51, 77, 0.7), 0 0 24px rgba(194, 51, 77, 0.4);
}

.mb-archive__count-label {
  font-family: var(--font-display);
}

/* ページネーション */
.mb-archive__pagination {
  border-top-color: rgba(194, 51, 77, 0.15);
}

.mb-archive__pagination a.page-numbers,
.mb-archive__pagination span.page-numbers {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  border-color: rgba(194, 51, 77, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

.mb-archive__pagination a.page-numbers:hover {
  box-shadow: 0 0 10px rgba(194, 51, 77, 0.5), 0 0 20px rgba(194, 51, 77, 0.25);
  border-color: var(--accent, #c2334d);
}

.mb-archive__pagination span.page-numbers.current {
  background: linear-gradient(135deg, var(--accent, #c2334d), #8a1f33);
  border-color: var(--accent, #c2334d);
  box-shadow: 0 0 12px rgba(194, 51, 77, 0.6), 0 0 24px rgba(194, 51, 77, 0.3);
}

.mb-page-label {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
}

.mb-archive__page-current {
  font-family: var(--font-display);
  color: var(--accent, #c2334d);
  text-shadow: 0 0 8px rgba(194, 51, 77, 0.7);
}

.mb-archive__page-total {
  font-family: var(--font-display);
}

/* 0件 */
.mb-archive__empty {
  border-color: rgba(194, 51, 77, 0.2);
}

.mb-archive__empty-text {
  font-family: var(--font-serif);
  font-style: italic;
}

/* --- タクソノミーアーカイブ：作品グリッド ------------------------------- */
.mb-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mb-work-grid .mb-card {
  background: var(--bg-surface);
  border: 1px solid rgba(194, 51, 77, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.mb-work-grid .mb-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}
.mb-work-grid .mb-card__thumb {
  border-radius: 0;
  margin-bottom: 0;
}
.mb-work-grid .mb-card .mb-card__thumb::after {
  display: none;
}
.mb-work-grid .mb-card__circle {
  padding: 10px 12px 0;
  letter-spacing: 0.02em;
  color: #c89aaa;
  font-family: var(--font-sans);
}
.mb-work-grid .mb-card__title {
  padding: 5px 12px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-primary, #fbeef0);
}
.mb-work-grid .mb-card__meta {
  padding: 9px 12px 12px;
  margin-top: auto;
}
.mb-work-grid .mb-card__price {
  font-size: 13px;
  font-weight: 700;
  color: #e8859e;
}
.mb-work-grid .mb-card__price--sale { color: #e8859e; }
.mb-work-grid .mb-card__sale-badge {
  background: #e8859e;
  font-family: var(--font-sans);
  letter-spacing: 0;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .mb-work-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mb-work-grid .mb-card__title { font-size: 12px; }
}

/* ===========================================================================
   スクリーンリーダー専用（視覚的に非表示）
   =========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================================================================
   Front Page — mb-front-* netokore 路線スタイル
   クリムゾン × ダークプラム / Noto Sans JP（太ゴシック）
   =========================================================================== */

/* --- 共通コンテナ --------------------------------------------------------- */
.mb-front-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Hero ----------------------------------------------------------------- */
.mb-section--front-hero {
  position: relative;
  padding: 32px 0 28px;
}
.mb-section--front-hero::before,
.mb-section--front-hero::after {
  display: none;
  content: '';
}

.mb-front-hero__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.mb-front-hero__inner::before {
  display: none;
  content: '';
}

.mb-front-hero__brand {
  background: var(--bg-surface);
  border: 1px solid rgba(194, 51, 77, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.mb-front-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent, #c2334d);
  margin-bottom: 14px;
  display: block;
  background: none;
  border: none;
  padding: 0;
}

.mb-front-hero__site-name {
  font-size: 27px;
  font-weight: 700;
  color: var(--text-primary, #fbeef0);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.mb-front-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11px;
  color: #8a1f33;
  letter-spacing: 0.2em;
}
.mb-front-hero__tagline::before,
.mb-front-hero__tagline::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent, #c2334d);
}

.mb-front-hero__catch {
  font-size: 13px;
  color: #e0cdd4;
  line-height: 1.95;
}

/* Stats: 非表示 */
.mb-front-hero__stats {
  display: none;
}

/* Stat数字のグラデーション除去（念のため） */
.mb-front-hero__stat-num {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* --- ピックアップ（トップ最上部の目玉枠） ------------------------------- */
.mb-front-hero__pickup {
  margin-top: 28px;
}

.mb-front-hero__pickup-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bg-base, #1a1419);
  background: linear-gradient(135deg, var(--accent, #c2334d), var(--accent-deep, #8a1f33));
  padding: 5px 14px 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}
.mb-front-hero__pickup-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-base, #1a1419);
  opacity: 0.55;
}

.mb-front-hero__pickup-card {
  display: flex;
  gap: 0;
  align-items: stretch;
  position: relative;
  background: linear-gradient(135deg, #2a1e25, #241a20);
  border: 1px solid rgba(194, 51, 77, 0.22);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.mb-front-hero__pickup-card:hover {
  border-color: rgba(194, 51, 77, 0.5);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
  transform: translateY(-3px);
}

.mb-front-hero__pickup-thumb {
  width: 190px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.mb-front-hero__pickup-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 75%, rgba(36, 26, 32, 0.55));
  pointer-events: none;
}
.mb-front-hero__pickup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mb-front-hero__pickup-card:hover .mb-front-hero__pickup-thumb img {
  transform: scale(1.06);
}

.mb-front-hero__pickup-info {
  flex: 1;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.mb-front-hero__pickup-circle {
  font-size: 12px;
  color: var(--accent, #c2334d);
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 16px;
  position: relative;
}
.mb-front-hero__pickup-circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--accent, #c2334d);
}

.mb-front-hero__pickup-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary, #fbeef0);
  line-height: 1.5;
  font-family: var(--font-sans);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 評価ブロック */
.mb-front-hero__pickup-rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans);
}
.mb-front-hero__pickup-rating-star {
  font-size: 18px;
  color: #f4c95d;
  line-height: 1;
}
.mb-front-hero__pickup-rating-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary, #fbeef0);
  line-height: 1;
}
.mb-front-hero__pickup-rating-count {
  font-size: 12px;
  color: #c89aaa;
}

/* --- ヒーロー内 探す（ボタン + 検索） --------------------------------- */
.mb-front-hero__find {
  max-width: 480px;
  margin: 24px auto 0;
}

.mb-front-hero__find-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mb-front-hero__find-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(194, 51, 77, 0.35);
  background: rgba(194, 51, 77, 0.08);
  color: var(--accent, #c2334d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mb-front-hero__find-btn:hover {
  background: rgba(194, 51, 77, 0.16);
  border-color: rgba(194, 51, 77, 0.6);
}

.mb-front-hero__search {
  display: flex;
  gap: 8px;
}

.mb-front-hero__search-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(194, 51, 77, 0.25);
  background: var(--bg-base, #1a1419);
  color: var(--text-primary, #fbeef0);
  font-size: 16px; /* iOS のフォーカス時ズーム防止のため 16px 以上を維持 */
  font-family: var(--font-sans);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}
.mb-front-hero__search-input::placeholder {
  color: #9a7d88;
}
.mb-front-hero__search-input:focus {
  outline: none;
  border-color: var(--accent, #c2334d);
}

.mb-front-hero__search-submit {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent, #c2334d), var(--accent-deep, #8a1f33));
  color: var(--bg-base, #1a1419);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: filter 0.2s ease;
}
.mb-front-hero__search-submit:hover {
  filter: brightness(1.08);
}

/* --- セクションヘッド ----------------------------------------------------- */
.mb-front-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: none;
}
.mb-front-section-head::before {
  display: none;
  content: '';
}

.mb-front-section-head__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mb-front-section-head__icon {
  font-size: 18px;
}

.mb-front-section-head__ja {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #fbeef0);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.mb-front-section-head__ja::after {
  display: none;
  content: '';
}

.mb-front-section-head__en {
  display: none;
}

.mb-front-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--accent, #c2334d);
  text-decoration: none;
  padding: 6px 14px;
  background: rgba(194, 51, 77, 0.1);
  border: 1px solid rgba(194, 51, 77, 0.22);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.mb-front-view-all:hover {
  background: rgba(194, 51, 77, 0.2);
  border-color: rgba(194, 51, 77, 0.45);
  color: var(--text-primary, #fbeef0);
  gap: 8px;
}

.mb-front-view-all-wrap {
  text-align: right;
  margin-top: 20px;
}
.mb-front-view-all-wrap::before,
.mb-front-view-all-wrap::after {
  display: none;
  content: '';
}

/* --- 作品グリッド --------------------------------------------------------- */
.mb-front-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mb-front-work-card {
  background: var(--bg-surface);
  border: 1px solid rgba(194, 51, 77, 0.2);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.mb-front-work-card__cover {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}
.mb-front-work-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.mb-front-work-card:hover .mb-front-work-card__cover img {
  transform: scale(1.04);
}
/* VIEW DETAIL を非表示 */
.mb-front-work-card__cover::after {
  display: none;
  content: '';
}

.mb-front-work-card__body {
  padding: 11px;
}

.mb-front-work-card__title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary, #fbeef0);
  margin-bottom: 6px;
  min-height: 34px;
}

.mb-front-work-card__author {
  font-size: 10px;
  color: #c89aaa;
  margin-bottom: 8px;
}

.mb-front-work-card__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.mb-front-work-card__tag {
  font-size: 9px;
  background: #2a2a2e;
  color: var(--accent, #c2334d);
  padding: 2px 7px;
  border-radius: 8px;
}

.mb-front-work-card__price {
  font-size: 13px;
  font-weight: 700;
  color: #e8859e;
}

/* --- ランキング表示（おすすめセクション） ------------------------------- */
.mb-front-work-grid--ranked {
  align-items: stretch;          /* 各セルを行の高さに揃える */
}

.mb-front-ranked-item {
  position: relative;            /* ランクバッジの absolute 基準 */
  display: flex;                 /* 中の .mb-card を高さいっぱいに */
}
.mb-front-ranked-item > .mb-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* カード内：タイトルを伸ばし、価格/評価を最下部に揃える */
.mb-front-ranked-item > .mb-card .mb-card__title {
  flex: 1;
}
.mb-front-ranked-item > .mb-card .mb-card__meta {
  margin-top: auto;             /* 価格・★評価をカード下端へ */
}

/* ランクバッジ：画像の上でも一瞬で読める視認性最優先デザイン */
.mb-front-rank-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-sans);
  font-style: italic;
  letter-spacing: -0.02em;
  /* 暗いプラム地 × 白文字でコントラストを最大化、表紙と同化しない */
  color: #fff;
  background: var(--bg-base, #1a1419);
  border: 2px solid var(--accent, #c2334d);
  border-radius: 50%;
  /* 表紙との境目を作るリング状の影 */
  box-shadow:
    0 0 0 3px rgba(26, 20, 25, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.55);
  /* グラデ文字打ち消し（親テーマ干渉対策・fix4 から継続） */
  background-image: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #fff;
}
/* 1位だけアクセント地で格上げ（:first-child は .mb-front-ranked-item 単位） */
.mb-front-ranked-item:first-child .mb-front-rank-badge {
  color: var(--bg-base, #1a1419);
  background: var(--accent, #c2334d);
  -webkit-text-fill-color: var(--bg-base, #1a1419);
}

/* SALEバッジ */
.mb-front-sale-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e8859e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

/* 推薦・おすすめ */
.mb-section--front-recommended {
  position: relative;
}
.mb-section--front-recommended::before {
  display: none;
  content: '';
}

/* --- タグセクション ------------------------------------------------------- */
.mb-front-tag-section {
  background: var(--bg-surface);
  border: 1px solid rgba(194, 51, 77, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
}

.mb-front-tag-section__head {
  text-align: center;
  margin-bottom: 16px;
}

.mb-front-tag-section__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #fbeef0);
  margin-bottom: 4px;
}

.mb-front-tag-section__sub {
  font-size: 11px;
  color: #c89aaa;
}

/* --- タググリッド --------------------------------------------------------- */
.mb-front-tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mb-front-tag-card {
  background: linear-gradient(160deg, #2e2128, #261b21);
  border: 1px solid rgba(194, 51, 77, 0.16);
  border-radius: 16px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.mb-front-tag-card:hover {
  border-color: rgba(194, 51, 77, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px);
}
/* カード上辺のアクセントライン */
.mb-front-tag-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #c2334d), var(--accent-deep, #8a1f33));
}

/* 見出し行 */
.mb-front-tag-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(194, 51, 77, 0.12);
}
.mb-front-tag-card__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary, #fbeef0);
  font-family: var(--font-sans);
  line-height: 1.4;
}
.mb-front-tag-card__count {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent, #c2334d);
  background: rgba(194, 51, 77, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-sans);
}

/* タームリスト（ul の既定スタイルを完全リセット） */
.mb-front-tag-card__terms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mb-front-tag-card__terms li {
  margin: 0;
  padding: 0;
}

/* タームピル */
.mb-front-tag-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(194, 51, 77, 0.06);
  border: 1px solid rgba(194, 51, 77, 0.14);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary, #fbeef0);
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mb-front-tag-pill:hover {
  background: rgba(194, 51, 77, 0.14);
  border-color: rgba(194, 51, 77, 0.35);
}
.mb-front-tag-pill__count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent, #c2334d);
  font-family: var(--font-sans);
}

/* すべて見る */
.mb-front-tag-card__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent, #c2334d);
  font-family: var(--font-sans);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.mb-front-tag-card__all:hover {
  color: var(--text-primary, #fbeef0);
  gap: 8px;
}

/* --- 特集記事 ------------------------------------------------------------- */
.mb-front-featured {
  background: var(--bg-surface);
  border: 1px solid rgba(194, 51, 77, 0.2);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  gap: 14px;
  text-decoration: none;
}

.mb-front-featured__thumb {
  width: 78px;
  height: 104px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  background: linear-gradient(160deg, #4a2f3c 0%, #2a1d24 100%);
}

.mb-front-featured__body {
  flex: 1;
}

.mb-front-featured__no {
  font-size: 10px;
  color: #e8859e;
  font-weight: 700;
  margin-bottom: 6px;
}

.mb-front-featured__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary, #fbeef0);
  line-height: 1.5;
  margin-bottom: 8px;
}

.mb-front-featured__excerpt {
  font-size: 11px;
  color: #c89aaa;
  line-height: 1.7;
}

/* --- mb-section 汎用 ------------------------------------------------------ */
.mb-section--front {
  padding: 30px 0 0;
}

/* --- レスポンシブ --------------------------------------------------------- */
@media (max-width: 768px) {
  .mb-front-container        { padding: 0 14px; }
  .mb-front-hero__inner      { padding: 0 14px; }
  .mb-front-work-grid        { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mb-front-rank-badge      { width: 32px; height: 32px; font-size: 13px; top: -6px; left: -6px; box-shadow: 0 0 0 2px rgba(26,20,25,0.9), 0 3px 8px rgba(0,0,0,0.5); }
  .mb-front-tag-grid         { grid-template-columns: repeat(2, 1fr); }
  .mb-front-section-head     { margin-bottom: 12px; }
  .mb-front-section-head__ja { font-size: 15px; }
}

@media (max-width: 480px) {
  .mb-front-hero__brand             { padding: 1.5rem 1rem; }
  .mb-front-hero__site-name         { font-size: 22px; }
  .mb-front-work-card__title        { font-size: 11px; }
  .mb-front-tag-grid                { grid-template-columns: 1fr; gap: 12px; }
  .mb-front-view-all-wrap           { margin-top: 14px; }
  .mb-front-tag-card                { padding: 16px 14px; }
  .mb-front-tag-card__label         { font-size: 13px; }
  .mb-front-tag-pill                { font-size: 12px; padding: 8px 10px; }
  .mb-front-hero__pickup            { margin-top: 22px; }
  .mb-front-hero__pickup-thumb      { width: 116px; }
  .mb-front-hero__pickup-info       { padding: 16px 16px; gap: 8px; }
  .mb-front-hero__pickup-title      { font-size: 16px; -webkit-line-clamp: 3; }
  .mb-front-hero__pickup-circle     { font-size: 11px; }
  .mb-front-hero__pickup-rating-num { font-size: 20px; }
  .mb-front-hero__find          { margin-top: 20px; }
  .mb-front-hero__search-submit { padding: 10px 16px; }
}


/* ===========================================================================
   Taxonomy List ( /{taxonomy_slug}/ )
   =========================================================================== */

.mb-tax-list {
  position: relative;
}

.mb-section--tax-list {
  padding: 0;
  position: relative;
}

.mb-tax-list__head {
  text-align: center;
  margin-bottom: 64px;
  padding: 96px 24px 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(194, 51, 77, 0.18);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー背景の薄い大型英字 */
.mb-tax-list__head::before {
  content: attr(data-en);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(140px, 20vw, 260px);
  letter-spacing: -0.02em;
  color: rgba(194, 51, 77, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.mb-tax-list__head > * { position: relative; z-index: 1; }

.mb-tax-list__num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.45em;
  color: var(--accent);
  margin: 0 0 18px;
}

.mb-tax-list__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: 0.06em;
  color: transparent;
  background: linear-gradient(135deg, #fff 0%, #e8d5a8 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0 0 12px;
  line-height: 1.2;
}

.mb-tax-list__en {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.55em;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.mb-tax-list__count {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(194, 51, 77, 0.85);
  letter-spacing: 0.25em;
  margin: 0;
}

/* グリッド */
.mb-tax-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 120px;
}

/* カード */
.mb-tax-list__card {
  position: relative;
  display: block;
  padding: 32px 28px;
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid transparent;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  min-height: 220px;
  isolation: isolate;
}
.mb-tax-list__card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 51, 77, 0.4);
  border-left-color: var(--accent);
  background: var(--bg-elevated);
}

/* 代表サムネを背景レイヤーに */
.mb-tax-list__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(40%) blur(2px);
  transition: opacity .3s ease, filter .3s ease, transform .5s ease;
  z-index: 0;
}
.mb-tax-list__card:hover .mb-tax-list__card-bg {
  opacity: 0.35;
  filter: grayscale(0%) blur(0);
  transform: scale(1.04);
}

/* 暗色グラデーションオーバーレイで本文の可読性を確保 */
.mb-tax-list__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 8, 16, 0.88) 0%,
    rgba(26, 8, 16, 0.72) 60%,
    rgba(26, 8, 16, 0.96) 100%);
  z-index: 1;
}

/* ホバー時のアクセントライン (上端) */
.mb-tax-list__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .4s ease;
  z-index: 2;
}
.mb-tax-list__card:hover::after { width: 100%; }

.mb-tax-list__card-body {
  position: relative;
  z-index: 2;
}

.mb-tax-list__card-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--text-primary);
  line-height: 1.4;
}

.mb-tax-list__card-count {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin: 0 0 16px;
}

.mb-tax-list__card-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mb-tax-list__empty {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 120px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .mb-tax-list__grid       { grid-template-columns: repeat(2, 1fr); }
  .mb-tax-list__title      { font-size: 40px; }
}

@media (max-width: 768px) {
  .mb-tax-list__head       { padding: 72px 24px 44px; margin-bottom: 48px; }
  .mb-tax-list__title      { font-size: 32px; }
  .mb-tax-list__en         { font-size: 12px; letter-spacing: 0.45em; }
  .mb-tax-list__grid       { gap: 16px; padding: 0 24px 80px; }
  .mb-tax-list__card       { padding: 26px 22px; min-height: 180px; }
  .mb-tax-list__card-name  { font-size: 21px; }
}

@media (max-width: 480px) {
  .mb-tax-list__head       { padding: 60px 20px 36px; }
  .mb-tax-list__title      { font-size: 26px; }
  .mb-tax-list__grid       { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .mb-tax-list__card       { min-height: 160px; }
}

/* ===========================================================================
   Page (固定ページ) — /about/ /privacy/ /contact/ /operator/ 等
   =========================================================================== */

.mb-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 32px 120px;
  position: relative;
}

.mb-page__head {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(194, 51, 77, 0.15);
  position: relative;
}

.mb-page__head::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--accent);
}

.mb-page__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.mb-page__content {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
}

.mb-page__content h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 56px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}

.mb-page__content h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin: 40px 0 16px;
  letter-spacing: 0.04em;
}

.mb-page__content p {
  margin: 0 0 20px;
}

.mb-page__content ul,
.mb-page__content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.mb-page__content li {
  margin-bottom: 8px;
}

.mb-page__content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(194, 51, 77, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.mb-page__content a:hover {
  text-decoration-color: var(--accent);
}

.mb-page__content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.mb-page__content blockquote {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 3px solid rgba(194, 51, 77, 0.3);
  background: rgba(194, 51, 77, 0.04);
  color: var(--text-secondary);
  font-style: italic;
}

.mb-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 32px;
}
.mb-page__content table th,
.mb-page__content table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.mb-page__content table th {
  width: 30%;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mb-page__content code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  padding: 2px 6px;
  background: rgba(194, 51, 77, 0.08);
  color: var(--text-primary);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .mb-page                  { padding: 56px 24px 80px; }
  .mb-page__head            { margin-bottom: 40px; padding-bottom: 24px; }
  .mb-page__title           { font-size: 28px; }
  .mb-page__content h2      { font-size: 18px; margin: 44px 0 16px; }
  .mb-page__content h3      { font-size: 16px; margin: 32px 0 12px; }
  .mb-page__content table th { width: 35%; }
}

@media (max-width: 480px) {
  .mb-page                  { padding: 48px 20px 64px; }
  .mb-page__title           { font-size: 24px; }
  .mb-page__content         { font-size: 14px; line-height: 1.9; }
  .mb-page__content table th,
  .mb-page__content table td { padding: 10px 12px; font-size: 13px; }
}

/* ===========================================================================
   404 Not Found
   =========================================================================== */

/* --- Hero --------------------------------------------------------------- */
.mb-section--404-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  background: var(--bg-base);
  text-align: center;
  border-top: 1px solid rgba(194, 51, 77, 0.10);
  border-bottom: 1px solid rgba(194, 51, 77, 0.10);
}

/* 大型背景文字 "404" */
.mb-section--404-hero::before {
  content: '404';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(280px, 40vw, 480px);
  line-height: 1;
  color: rgba(194, 51, 77, 0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.mb-404__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.mb-404__num {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 16px;
}

.mb-404__en {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--accent);
  margin: 0 0 28px;
  padding-left: 0.5em;
}

.mb-404__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0 0 20px;
  line-height: 1.5;
}

.mb-404__desc {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  margin: 0 0 40px;
}

.mb-404__home-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  border: 1px solid var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
}
.mb-404__home-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}
.mb-404__home-link::after {
  content: '→';
  font-family: var(--font-sans);
  transition: transform 0.3s ease;
}
.mb-404__home-link:hover {
  color: var(--bg-base);
}
.mb-404__home-link:hover::before {
  transform: scaleX(1);
}
.mb-404__home-link:hover::after {
  transform: translateX(4px);
}

/* --- 新着作品 / 人気ジャンルセクション --------------------------------- */
.mb-section--404-latest,
.mb-section--404-tags {
  padding: 80px 0;
  background: var(--bg-base);
}

/* --- タグピル一覧 ------------------------------------------------------- */
.mb-404__tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.mb-404__tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(194, 51, 77, 0.15);
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.mb-404__tag-pill:hover {
  border-color: var(--accent);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.mb-404__tag-count {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.mb-404__tag-all {
  margin: 40px 0 0;
  text-align: center;
}
.mb-404__tag-all a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: padding-right 0.2s ease;
}
.mb-404__tag-all a:hover {
  padding-right: 8px;
}

/* --- レスポンシブ ------------------------------------------------------- */
@media (max-width: 768px) {
  .mb-section--404-hero       { padding: 100px 0 80px; }
  .mb-404__num                { font-size: 80px; }
  .mb-404__title              { font-size: 22px; }
  .mb-section--404-latest,
  .mb-section--404-tags       { padding: 56px 0; }
}

@media (max-width: 480px) {
  .mb-section--404-hero       { padding: 80px 0 60px; }
  .mb-404__num                { font-size: 64px; }
  .mb-404__title              { font-size: 18px; }
  .mb-404__desc               { font-size: 13px; }
  .mb-404__home-link          { padding: 12px 28px; font-size: 11px; letter-spacing: 0.25em; }
  .mb-404__tag-pill           { padding: 8px 14px; font-size: 13px; }
}

/* ===========================================================================
   Footer — 3カラム装飾 (BRAND / EXPLORE / ABOUT)
   =========================================================================== */

.mb-footer {
  background: #0b0b0c;
  position: relative;
  margin-top: 80px;
  padding: 88px 0 28px;
  border-top: 1px solid rgba(194, 51, 77, 0.18);
  overflow: hidden;
}

/* グラデーションのトップ罫線 */
.mb-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  pointer-events: none;
  z-index: 1;
}

/* 大型背景文字 */
.mb-footer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(180px, 26vw, 320px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(194, 51, 77, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.mb-footer .mb-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* メイン: 3カラム */
.mb-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* about カラムが無い場合は 2 カラムに */
.mb-footer__main:not(:has(.mb-footer__col--about)) {
  grid-template-columns: 2fr 1fr;
}

/* --- カラム共通 --- */
.mb-footer__col {
  position: relative;
}

/* --- BRAND --- */
.mb-footer__col--brand {
  max-width: 460px;
}

.mb-footer__logo {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.05em;
  margin: 0 0 22px;
  color: transparent;
  background: linear-gradient(135deg, #fff 0%, #e8d5a8 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mb-footer__brand-desc {
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding-left: 16px;
  border-left: 1px solid rgba(194, 51, 77, 0.22);
}

/* --- さがす / サイト案内 見出し --- */
.mb-footer__heading {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 4px 0 22px;
  font-weight: 400;
  position: relative;
  padding-bottom: 14px;
}

.mb-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

/* --- リスト --- */
.mb-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mb-footer__list li {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.mb-footer__list a {
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, padding 0.2s ease;
  position: relative;
}

.mb-footer__list a::before {
  content: '';
  width: 6px;
  height: 1px;
  background: rgba(194, 51, 77, 0.4);
  transition: width 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.mb-footer__list a:hover {
  color: var(--accent);
}

.mb-footer__list a:hover::before {
  width: 14px;
  background: var(--accent);
}

/* --- ボトム (コピーライト + 注意書き) --- */
.mb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  padding-top: 4px;
}

.mb-footer__copy {
  font-family: var(--font-display);
  letter-spacing: 0.25em;
}

.mb-footer__age {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(194, 51, 77, 0.55);
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
  .mb-footer__main {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .mb-footer {
    padding: 64px 0 24px;
    margin-top: 56px;
  }
  .mb-footer .mb-container {
    padding: 0 20px;
  }
  .mb-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    margin-bottom: 40px;
    padding-bottom: 32px;
  }
  .mb-footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
  .mb-footer__main:not(:has(.mb-footer__col--about)) {
    grid-template-columns: 1fr;
  }

  .mb-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mb-footer::after {
    font-size: clamp(140px, 32vw, 220px);
    bottom: -30px;
  }
}

@media (max-width: 480px) {
  .mb-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mb-footer__logo { font-size: 24px; }
  .mb-footer::after { font-size: 120px; }
}

/* ===========================================================================
   作品本文 (.dlfh-article) 装飾 — 大人可愛い路線 (Step 11-5-2)
   AI生成HTMLのクラスをスタイリング。スマホファースト。
   =========================================================================== */

/* --- カウンターリセット --- */
.dlfh-article {
  counter-reset: dlfh-h2-counter;
}

/* --- キャッチコピー --- */
.dlfh-article .dlfh-catchphrase {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
  margin: 1.2rem 0 1rem;
  line-height: 1.6;
}

/* --- リード文 --- */
.dlfh-article .dlfh-lead {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 12px 14px;
  margin: 0.8rem 0 1.2rem;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* --- 大見出し (H2) --- */
.mb-post-content .dlfh-article .dlfh-h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.8rem 0 0.9rem;
  border: none;
  padding: 0;
  padding-left: 0;
  position: static;
}
.mb-post-content .dlfh-article .dlfh-h2::before {
  counter-increment: dlfh-h2-counter;
  content: counter(dlfh-h2-counter, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #2e2128;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  position: static;
  margin: 0;
  padding: 0;
}

/* --- 小見出し (H3) — ピル型ラベル --- */
.dlfh-article .dlfh-h3 {
  display: inline-block;
  background: var(--bg-elevated);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 1.2rem 0 0.4rem;
  border: none;
}

/* --- カード共通 --- */
.dlfh-article .dlfh-synopsis,
.dlfh-article .dlfh-highlights,
.dlfh-article .dlfh-experience-flow,
.dlfh-article .dlfh-target-readers,
.dlfh-article .dlfh-review-body,
.dlfh-article .dlfh-faq {
  background: var(--bg-surface);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 0.8rem;
}

/* カード内テキスト */
.dlfh-article .dlfh-synopsis p,
.dlfh-article .dlfh-highlights p,
.dlfh-article .dlfh-review-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 1.5em;
}
.dlfh-article .dlfh-synopsis p:last-child,
.dlfh-article .dlfh-highlights p:last-child,
.dlfh-article .dlfh-review-body p:last-child {
  margin-bottom: 0;
}

/* --- 体験フロー (dl/dt/dd) --- */
.dlfh-article .dlfh-experience-flow {
  display: block;
}
.mb-post-content .dlfh-article .dlfh-experience-flow dt.dlfh-phase {
  display: inline-block;
  background: var(--bg-elevated);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  padding-left: 10px;
  border-radius: 20px;
  margin: 0.6rem 0 0.3rem;
  border: none;
  border-bottom: none;
  text-decoration: none;
  background-image: none;
  position: static;
}
.mb-post-content .dlfh-article .dlfh-experience-flow dt.dlfh-phase::before {
  display: none;
  content: none;
}
.dlfh-article .dlfh-experience-flow dd {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 1.2rem 0;
  padding: 0;
}

/* --- 刺さる人リスト --- */
.mb-post-content .dlfh-article .dlfh-target-readers ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mb-post-content .dlfh-article .dlfh-target-readers li {
  position: relative;
  padding: 0.9em 0 0.9em 2em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  list-style: none;
  margin: 0;
  border-bottom: 1px solid rgba(194, 51, 77, 0.12);
}
.mb-post-content .dlfh-article .dlfh-target-readers li:last-child {
  border-bottom: none;
}
.mb-post-content .dlfh-article .dlfh-target-readers li::before {
  content: '♡';
  position: absolute;
  left: 0;
  top: 0.9em;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.9;
}

/* --- FAQ --- */
.mb-post-content .dlfh-article .dlfh-faq .dlfh-faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.2rem 0 0.9rem;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  display: block;
}
.mb-post-content .dlfh-article .dlfh-faq .dlfh-faq-q:first-child {
  margin-top: 0;
}
.mb-post-content .dlfh-article .dlfh-faq .dlfh-faq-a {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  border-left: 2px solid var(--bg-elevated);
  padding-left: 14px;
  margin: 0 0 0 4px;
}

@media (max-width: 768px) {
  .dlfh-article .dlfh-synopsis,
  .dlfh-article .dlfh-highlights,
  .dlfh-article .dlfh-experience-flow,
  .dlfh-article .dlfh-target-readers,
  .dlfh-article .dlfh-review-body,
  .dlfh-article .dlfh-faq { padding: 16px 18px; }
  .dlfh-article .dlfh-catchphrase { font-size: 17px; }
  .dlfh-article .dlfh-lead { font-size: 14px; }
  .mb-post-content .dlfh-article .dlfh-h2 { font-size: 16px; }
  .dlfh-article .dlfh-h3 { font-size: 12px; }
  .dlfh-article .dlfh-synopsis p,
  .dlfh-article .dlfh-highlights p,
  .dlfh-article .dlfh-review-body p { font-size: 13px; }
  .dlfh-article .dlfh-experience-flow dd { font-size: 13px; }
  .mb-post-content .dlfh-article .dlfh-target-readers li {
    font-size: 13px;
    padding: 0.8em 0 0.8em 1.8em;
  }
  .mb-post-content .dlfh-article .dlfh-target-readers li::before { top: 0.8em; }
  .mb-post-content .dlfh-article .dlfh-faq .dlfh-faq-q { font-size: 13px; }
  .mb-post-content .dlfh-article .dlfh-faq .dlfh-faq-a { font-size: 13px; }
}

/* ===========================================================================
   E-E-A-T 強化セクション (.dlfh-eat) — 本文末尾の3ボックス (Step 14-04 / 14-04b)
   reviewer / score / verdict の3カード。見出し無し。
   PC：横並び3カラム（高さ揃え）/ 768px以下：縦積み1カラム
   各ボックスのヘッダーラベル・アイコン・「/ 5.0」等は擬似要素で描画。
   =========================================================================== */

/* --- セクション全体：auto-fit で 2 ボックス時も詰まる --- */
.dlfh-article .dlfh-eat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin: 2rem 0 0.8rem;
}

/* --- 3ボックス共通：既存カードと同じ surface / 角丸14px / padding ---
       flex 縦並びにして order で擬似要素を上に挿入できる構造に。 */
.dlfh-article .dlfh-eat-reviewer,
.dlfh-article .dlfh-eat-score,
.dlfh-article .dlfh-eat-verdict {
  background: var(--bg-surface);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- ヘッダーラベル：3ボックス共通の小ラベル ---
       ::before に static content を入れ、order:0 で最上段固定。 */
.dlfh-article .dlfh-eat-reviewer::before,
.dlfh-article .dlfh-eat-score::before,
.dlfh-article .dlfh-eat-verdict::before {
  order: 0;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: none;
  margin: 0 0 12px;
}
.dlfh-article .dlfh-eat-reviewer::before { content: "レビュー担当"; }
.dlfh-article .dlfh-eat-score::before    { content: "編集部スコア"; }
.dlfh-article .dlfh-eat-verdict::before  { content: "編集部の一言"; }

/* --- (a) レビュアープロフィール ---
       flex order: ::before(0) ヘッダー → ::after(1) アイコン円
       → name(2) → role(3) → bio(4) */
.dlfh-article .dlfh-eat-reviewer::after {
  order: 1;
  content: "✒";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-deep);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  margin: 0 0 10px;
}
.dlfh-article .dlfh-eat-reviewer__name {
  order: 2;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.3em;
}
.dlfh-article .dlfh-eat-reviewer__role {
  order: 3;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 0.9em;
}
.dlfh-article .dlfh-eat-reviewer__bio {
  order: 4;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* --- (b) 編集部スコア --- */

/* 大数字の上に「総合評価」ラベル（::before 静的テキスト） */
.dlfh-article .dlfh-eat-score__overall {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  color: var(--rating);
  line-height: 1;
  margin: 0.2rem 0 1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dlfh-article .dlfh-eat-score__overall::before {
  content: "総合評価";
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.dlfh-article .dlfh-eat-score__overall::after {
  content: " / 5.0";
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  vertical-align: baseline;
  margin-left: 2px;
}

.dlfh-article .dlfh-eat-score__axes {
  margin: 0;
  padding: 0;
}

.dlfh-article .dlfh-eat-score__axes dt.dlfh-eat-axis__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 1em 0 0.35em;
}
.dlfh-article .dlfh-eat-score__axes dt.dlfh-eat-axis__label:first-child {
  margin-top: 0;
}

.dlfh-article .dlfh-eat-axis__note {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
}

.dlfh-article .dlfh-eat-score__axes dd.dlfh-eat-axis__value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0.85em;
  padding: 0 0 0.85em;
  border-bottom: 1px solid rgba(194, 51, 77, 0.12);
}
.dlfh-article .dlfh-eat-score__axes dd.dlfh-eat-axis__value:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dlfh-article .dlfh-eat-axis__number {
  flex-shrink: 0;
  width: 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* バー：トラック ＋ 中の span（幅は PHP のインライン width に任せる） */
.dlfh-article .dlfh-eat-bar {
  flex: 1 1 auto;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-elevated);
  overflow: hidden;
}
.dlfh-article .dlfh-eat-bar span {
  display: block;
  height: 100%;
  background: var(--rating);
  border-radius: 3px;
}

/* --- (c) 編集部の一言：左ボーダー強調（lead と同じ作法） ---
       左ボーダーとヘッダーラベルが干渉しないよう左 padding を厚めに。 */
.dlfh-article .dlfh-eat-verdict {
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding-left: 20px;
}
.dlfh-article .dlfh-eat-verdict p {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}

/* --- レスポンシブ：768px以下は縦積み・既存 .dlfh-article のスケールに揃える --- */
@media (max-width: 768px) {
  .dlfh-article .dlfh-eat {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }
  .dlfh-article .dlfh-eat-reviewer,
  .dlfh-article .dlfh-eat-score,
  .dlfh-article .dlfh-eat-verdict {
    padding: 18px 18px 16px;
    height: auto;
  }
  .dlfh-article .dlfh-eat-verdict {
    padding-left: 16px;
  }
  .dlfh-article .dlfh-eat-reviewer::before,
  .dlfh-article .dlfh-eat-score::before,
  .dlfh-article .dlfh-eat-verdict::before {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .dlfh-article .dlfh-eat-reviewer::after {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .dlfh-article .dlfh-eat-score__overall {
    font-size: 28px;
  }
  .dlfh-article .dlfh-eat-score__overall::after {
    font-size: 12px;
  }
  .dlfh-article .dlfh-eat-reviewer__bio,
  .dlfh-article .dlfh-eat-verdict p {
    font-size: 13px;
  }
}

/* ===========================================================================
   Front Hero — netokore オリジナル構成
   ブランド行 / h1 キャッチ / リード / 型タイル5枚 /
   補助導線ピル / 統計ストリップ
   =========================================================================== */

.mb-front-hero--netokore .mb-front-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

/* --- ブランドバナー ------------------------------------------------------ */
.mb-front-hero--netokore .mb-front-hero__banner {
  margin: 0;
  width: 100%;
  max-width: 1200px;
}
.mb-front-hero--netokore .mb-front-hero__banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow:
    0 0 32px rgba(255, 77, 109, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .mb-front-hero--netokore .mb-front-hero__banner-image {
    max-height: 160px;
  }
}

/* --- h1 キャッチ --------------------------------------------------------- */
.mb-front-hero--netokore .mb-front-hero__catch {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

/* --- リード文 ------------------------------------------------------------ */
.mb-front-hero--netokore .mb-front-hero__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 760px;
}

/* --- 型タイル ----------------------------------------------------------- */
.mb-front-hero--netokore .mb-front-hero__types {
  margin-top: 8px;
}
.mb-front-hero--netokore .mb-front-hero__types-heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: none;
}
.mb-front-hero--netokore .mb-front-hero__type-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.mb-front-hero--netokore .mb-front-hero__type-item {
  margin: 0;
}
.mb-front-hero--netokore .mb-front-hero__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(194, 51, 77, 0.18);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-primary);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.mb-front-hero--netokore .mb-front-hero__tile:hover,
.mb-front-hero--netokore .mb-front-hero__tile:focus-visible {
  border-color: var(--accent);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -8px var(--accent-glow);
  outline: none;
}
.mb-front-hero--netokore .mb-front-hero__tile-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent-text);
}
.mb-front-hero--netokore .mb-front-hero__tile-icon {
  width: 24px;
  height: 24px;
  display: block;
}
.mb-front-hero--netokore .mb-front-hero__tile:hover .mb-front-hero__tile-icon-wrap,
.mb-front-hero--netokore .mb-front-hero__tile:focus-visible .mb-front-hero__tile-icon-wrap {
  color: var(--accent-hover);
}
.mb-front-hero--netokore .mb-front-hero__tile-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}
.mb-front-hero--netokore .mb-front-hero__tile-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- 補助導線ピル -------------------------------------------------------- */
.mb-front-hero--netokore .mb-front-hero__pills {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mb-front-hero--netokore .mb-front-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.mb-front-hero--netokore .mb-front-hero__pill--link {
  background: rgba(194, 51, 77, 0.10);
  border: 1px solid rgba(194, 51, 77, 0.35);
  color: var(--accent-text);
}
.mb-front-hero--netokore .mb-front-hero__pill--link:hover,
.mb-front-hero--netokore .mb-front-hero__pill--link:focus-visible {
  background: rgba(194, 51, 77, 0.18);
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

/* --- ヒーロー内 探す（ボタン + 検索） ------------------------------------ */
.mb-front-hero--netokore .mb-front-hero__find {
  max-width: 480px;
  margin: 24px auto 0;
}

.mb-front-hero--netokore .mb-front-hero__find-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mb-front-hero--netokore .mb-front-hero__find-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(194, 51, 77, 0.35);
  background: rgba(194, 51, 77, 0.10);
  color: var(--accent-text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mb-front-hero--netokore .mb-front-hero__find-btn:hover,
.mb-front-hero--netokore .mb-front-hero__find-btn:focus-visible {
  background: rgba(194, 51, 77, 0.18);
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}

.mb-front-hero--netokore .mb-front-hero__search {
  display: flex;
  gap: 8px;
}

.mb-front-hero--netokore .mb-front-hero__search-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(194, 51, 77, 0.25);
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px; /* iOS のフォーカス時ズーム防止 */
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}
.mb-front-hero--netokore .mb-front-hero__search-input::placeholder {
  color: var(--text-muted);
}
.mb-front-hero--netokore .mb-front-hero__search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.mb-front-hero--netokore .mb-front-hero__search-submit {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.mb-front-hero--netokore .mb-front-hero__search-submit:hover,
.mb-front-hero--netokore .mb-front-hero__search-submit:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px -4px var(--accent-glow);
  outline: none;
}

@media (max-width: 560px) {
  .mb-front-hero--netokore .mb-front-hero__find          { margin-top: 20px; }
  .mb-front-hero--netokore .mb-front-hero__search-submit { padding: 10px 16px; }
}

/* --- 統計ストリップ ----------------------------------------------------- */
.mb-front-hero--netokore .mb-front-hero__stats {
  list-style: none;
  margin: 8px 0 0;
  padding: 18px 4px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid rgba(194, 51, 77, 0.18);
}
.mb-front-hero--netokore .mb-front-hero__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mb-front-hero--netokore .mb-front-hero__stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.mb-front-hero--netokore .mb-front-hero__stat-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.mb-front-hero--netokore .mb-front-hero__stat--badge {
  align-items: center;
}
.mb-front-hero--netokore .mb-front-hero__stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 0 18px var(--accent-glow);
}

/* --- レスポンシブ ------------------------------------------------------- */
@media (max-width: 900px) {
  .mb-front-hero--netokore .mb-front-hero__type-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .mb-front-hero--netokore .mb-front-hero__inner {
    padding: 16px 18px 36px;
    gap: 22px;
  }
  .mb-front-hero--netokore .mb-front-hero__type-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mb-front-hero--netokore .mb-front-hero__tile {
    padding: 14px 12px 12px;
  }
  .mb-front-hero--netokore .mb-front-hero__tile-label {
    font-size: 15px;
  }
  .mb-front-hero--netokore .mb-front-hero__stats {
    gap: 18px;
  }
}

/* ===========================================================================
   作品本文 (.dlfh-article) — netokore オーバーライド
   kobeya 由来のカウンター丸バッジ式 H2 を、左クリムゾン縦バー型に差し替える。
   このセクションは cascade 末尾に置き、上流の .dlfh-article 装飾より後勝ち。
   =========================================================================== */

/* --- セクション見出し: 左に5pxの太いクリムゾン縦バー --- */
.mb-post-content .dlfh-article .dlfh-h2 {
  display: block;
  align-items: initial;
  gap: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2.8rem 0 0.9rem;
  border: none;
  border-left: 5px solid var(--accent);
  border-radius: 0;
  padding: 0.15em 0 0.15em 14px;
  position: static;
}
.mb-post-content .dlfh-article .dlfh-h2::before {
  content: none;
  display: none;
  counter-increment: none;
  background: none;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

/* ===========================================================================
   ③ ntr_profile — 「はどんなNTR作品か」セクション
   要点スペック表 (dl) + 散文 (p) の2パート構成。
   =========================================================================== */

.dlfh-article .dlfh-ntr-profile {
  background: var(--bg-surface);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 0.8rem;
}

/* スペック表: dl を2列グリッドにして dt+dd を1行に見せる */
.dlfh-article .dlfh-ntr-profile__points {
  display: grid;
  grid-template-columns: 150px 1fr;
  border: 1px solid var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 1.2rem;
  padding: 0;
}

/* dt: ラベル左カラム */
.dlfh-article .dlfh-ntr-profile__points dt {
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  margin: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 1px solid var(--bg-card);
}

/* dd: 値・右カラム */
.dlfh-article .dlfh-ntr-profile__points dd {
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  padding: 10px 14px;
  margin: 0;
  border-bottom: 1px solid var(--bg-card);
}

/* 最終行の区切り線を消す (overflow:hidden で外周は dl の border に任せる) */
.dlfh-article .dlfh-ntr-profile__points dt:last-of-type,
.dlfh-article .dlfh-ntr-profile__points dd:last-of-type {
  border-bottom: none;
}

/* 最初の dd (= NTRの型の値) のみ強調 */
.dlfh-article .dlfh-ntr-profile__points dd:first-of-type {
  color: var(--accent-text);
  font-weight: 700;
}

/* 散文ブロック */
.dlfh-article .dlfh-ntr-profile__desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0;
}

/* --- モバイル: dt/dd を縦積みに切り替え --- */
@media (max-width: 768px) {
  .dlfh-article .dlfh-ntr-profile {
    padding: 16px 18px;
  }
  .dlfh-article .dlfh-ntr-profile__points {
    grid-template-columns: 1fr;
  }
  .dlfh-article .dlfh-ntr-profile__points dt {
    border-right: none;
    border-bottom: 2px solid var(--accent);
    padding: 8px 12px;
  }
  /* 最終 dt も縦積みでは下の dd を区切るため accent ボーダーを残す */
  .dlfh-article .dlfh-ntr-profile__points dt:last-of-type {
    border-bottom: 2px solid var(--accent);
  }
  .dlfh-article .dlfh-ntr-profile__desc {
    font-size: 13px;
  }
}

/* ===========================================================================
   ⑥ characters — 「ヒロインと寝取り男」セクション
   2段落構成。左バーの色で役割を色分け (ヒロイン=accent / 寝取り男=muted)。
   ラベルは ::before で付与する (HTML にラベル要素が無いため)。
   =========================================================================== */

.dlfh-article .dlfh-characters {
  margin: 0 0 0.8rem;
}

/* 共通: 2段落とも左バー型のカード */
.dlfh-article .dlfh-characters__heroine,
.dlfh-article .dlfh-characters__attacker {
  background: var(--bg-surface);
  border-radius: 0;
  padding: 15px 18px;
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-secondary);
}

/* ヒロインブロック: アクセント (クリムゾン) 左バー */
.dlfh-article .dlfh-characters__heroine {
  border-left: 3px solid var(--accent);
}

/* 寝取り男ブロック: ミュート (グレー) 左バー + 上余白でヒロインから離す */
.dlfh-article .dlfh-characters__attacker {
  border-left: 3px solid var(--text-muted);
  margin-top: 14px;
}

/* ::before で小ラベルをバッジ化して付与 (HTML にラベル要素が無いため)
   display:block + width:fit-content で「バッジ単体で1行を占有・幅は中身ぶんだけ」を実現 */
.dlfh-article .dlfh-characters__heroine::before,
.dlfh-article .dlfh-characters__attacker::before {
  display: block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0 0 10px;
}

.dlfh-article .dlfh-characters__heroine::before {
  content: "ヒロイン";
  background: var(--accent);
  color: #fff;
}

.dlfh-article .dlfh-characters__attacker::before {
  content: "寝取り男";
  background: var(--bg-card);
  color: var(--text-secondary);
}

/* ===========================================================================
   セクションカード枠の撤廃 (kobeya 由来打ち消し)
   .dlfh-synopsis / .dlfh-highlights / .dlfh-experience-flow /
   .dlfh-target-readers / .dlfh-review-body / .dlfh-faq の最外周カードを
   解除し、地 (var(--bg-base)) に直接乗る状態にする。
   セクションの区切りは .dlfh-h2 の左クリムゾン縦バー + 縦マージンが担う。
   ③ .dlfh-ntr-profile / ⑥ .dlfh-characters__* は意図的に囲いを残すため対象外。
   =========================================================================== */

.dlfh-article .dlfh-synopsis,
.dlfh-article .dlfh-highlights,
.dlfh-article .dlfh-experience-flow,
.dlfh-article .dlfh-target-readers,
.dlfh-article .dlfh-review-body,
.dlfh-article .dlfh-faq {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 2.4rem;
}

/* モバイル: 上流 (L2812-2818) の媒体クエリ padding 16px 18px も打ち消す */
@media (max-width: 768px) {
  .dlfh-article .dlfh-synopsis,
  .dlfh-article .dlfh-highlights,
  .dlfh-article .dlfh-experience-flow,
  .dlfh-article .dlfh-target-readers,
  .dlfh-article .dlfh-review-body,
  .dlfh-article .dlfh-faq {
    padding: 0;
    margin-bottom: 1.8rem;
  }
}

/* ===========================================================================
   E-E-A-T セクション (.dlfh-eat) — PC でも縦1列化 + 表示順の入れ替え
   上流 (L2843-2850) の grid-template-columns: repeat(auto-fit, ...) を
   1fr に上書きして PC でも縦積みに。さらに grid order で
   ソース順 reviewer→score→verdict を視覚順 score→verdict→reviewer に並べ替える。
   各ボックス内部の flex order とは別レイヤーなので干渉しない。
   =========================================================================== */

.dlfh-article .dlfh-eat {
  grid-template-columns: 1fr;
}

.dlfh-article .dlfh-eat-score    { order: 1; }
.dlfh-article .dlfh-eat-verdict  { order: 2; }
.dlfh-article .dlfh-eat-reviewer { order: 3; }

/* ===========================================================================
   ⑦ target_readers — 「刺さる人・合わない人」2ブロック (--split) 装飾
   netokore のみ HTML が <div ...--split> で出力される。
   chikubin / TL は従来の単一 <ul class="dlfh-target-readers"> のままで、
   この --split 系セレクタはマッチしないため一切影響しない。
   既存の .dlfh-target-readers li の ♡ 箇条書きは descendant selector で
   そのまま継承される (新 <ul class="__list"> も .dlfh-target-readers 配下)。
   ラベルバッジは ⑥ .dlfh-characters のバッジと同じ作法。
   =========================================================================== */

/* ラベル共通: バッジ単体で1行を占有・幅は中身ぶんだけ */
.dlfh-article .dlfh-target-readers__label {
  display: block;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0 0 8px;
}

/* 刺さる人: ⑥ heroine バッジと同色 (accent + 白文字) */
.dlfh-article .dlfh-target-readers__label--fit {
  background: var(--accent);
  color: #fff;
}

/* 合わない人: ⑥ attacker バッジと同色 (bg-card + secondary) */
.dlfh-article .dlfh-target-readers__label--unfit {
  background: var(--bg-card);
  color: var(--text-secondary);
}

/* fit リスト終わりと unfit ラベル始まりの間に縦余白を確保 */
.dlfh-article .dlfh-target-readers--split .dlfh-target-readers__list--fit {
  margin-bottom: 18px;
}

/* ===========================================================================
   リード文カード枠の撤廃 (kobeya 由来打ち消し)
   上流 (L2641-2650) の .dlfh-article .dlfh-lead は塗り背景 + 左 accent バー +
   border-radius のカード形だった。他セクションの枠撤廃に合わせ、リードも
   地直置きに統一する。font-family / font-weight / color は別ルール
   (L344-349 の .mb-post-content .dlfh-lead) で別途定義されており干渉しない。
   =========================================================================== */

.dlfh-article .dlfh-lead {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0.6rem 0 2rem;
}

@media (max-width: 768px) {
  .dlfh-article .dlfh-lead {
    padding: 0;
    margin: 0.4rem 0 1.6rem;
  }
}

/* ===========================================================================
   [deco-point] ショートコード装飾 — netokore のみ
   AI が highlights / review_body の本文中に literal で書き、表示時に
   WordPress の do_shortcode が <div class="deco-point">…</div> に展開する。
   body_decorations=true のサイトのみ AI 出力に含まれるため、chikubin / TL では
   .deco-point 要素自体が DOM に出現せず、本 CSS はマッチ対象が無くて無害。
   Tabler フォントは未読込のためアイコンは付けず、テキストラベルのみで実装。
   =========================================================================== */

.deco-point {
  background: var(--bg-surface);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  padding: 14px 16px 14px 18px;
  margin: 16px 0;
}

.deco-point__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  margin: 0 0 8px;
  line-height: 1.4;
}

/* Tabler Icons (functions.php で読み込み済み・mnk-tabler-icons ハンドル) の
   ti-pin グリフを擬似要素で挿入し、ラベルの左に配置する。
   Tabler Icons 3.19.0 で ti-pin = \ec9c (cdnjs 配信 CSS を curl + grep で verbatim 確認)。
   font-size を em 単位にしてラベル本体の拡大に自動追従する。 */
.deco-point__label::before {
  content: "\ec9c";
  font-family: "tabler-icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  speak: none;
  display: inline-block;
  font-size: 1.1em;
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--accent-text);
}

.deco-point__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
  color: var(--text-primary);
  margin: 0;
}

/* ===========================================================================
   ⑤ experience_flow フェーズラベル (序盤/中盤/終盤) の拡大 + アイコン
   上流 L2731-2750 では font-size 13px のピル型 + ::before 無効。
   ここで同詳細度の末尾配置オーバーライドで拡大 + Tabler ti-bookmark を再有効化。
   Tabler Icons 3.19.0 で ti-bookmark = \ea3a。
   =========================================================================== */

.mb-post-content .dlfh-article .dlfh-experience-flow dt.dlfh-phase {
  font-size: 15px;
  padding: 5px 14px;
  border-radius: 22px;
}

.mb-post-content .dlfh-article .dlfh-experience-flow dt.dlfh-phase::before {
  content: "\ea3a";
  display: inline-block;
  /* 上流 L397 の netokore オリジナル装飾 (赤い横バー描画用の
     absolute/left:0/top:50%/transform/width:14px/height:2px/background)
     を完全に打ち消し、通常の inline-block 擬似要素として
     Tabler のグリフを描画できる状態にする。 */
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: auto;
  height: auto;
  background: none;
  font-family: "tabler-icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  speak: none;
  font-size: 1.05em;
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--accent);
}

/* ===========================================================================
   E-E-A-T 3ブロックの枠装飾 + verdict 左バー撤去
   本文セクションは枠撤廃で地直置きにしたが、E-E-A-T は編集後記的な独立ブロックで
   差別化するため、3ボックスに共通の薄い枠を付けて地から浮かせる。
   verdict だけクリムゾン左サイドバーで主張していたのを撤去し、3ボックスの体裁を統一する。
   =========================================================================== */

.dlfh-article .dlfh-eat-reviewer,
.dlfh-article .dlfh-eat-score,
.dlfh-article .dlfh-eat-verdict {
  border: 1px solid var(--bg-elevated);
}

/* verdict: 上流 L3019-3023 の border-left 3px accent / 半開き border-radius /
   padding-left 20px を打ち消し、他2ボックスと体裁を完全に揃える。
   border 自体は上の 3ブロック共通ルール (1px solid var(--bg-elevated)) に従う。 */
.dlfh-article .dlfh-eat-verdict {
  border-radius: 14px;
  padding-left: 22px;
}
