/* ========================================
   コノヨル Pro メインスタイルシート
   2026年SEO最適化・CWV対応・カスタマイザー連動
   ======================================== */

/* CSS変数 — カスタマイザーから上書きされる */
:root {
  --c-main:        #c4443f;
  --c-main-deep:   #8c2220;
  --c-main-soft:   #f9edec;
  --c-accent:      #a8800e;
  --c-accent-soft: #fdf4e0;
  --c-text:        #1a1917;
  --c-text-muted:  #706b65;
  --c-text-light:  #9e9791;
  --c-bg:          #faf9f6;
  --c-surface:     #f4f2ee;
  --c-border:      #e3dfd8;
  --c-border-soft: #edeae4;
  --c-link:        #c4443f;
  --c-link-hover:  #8c2220;
  --c-header-bg:   #1a1917;
  --c-header-text: #faf9f6;

  --f-serif: 'Noto Serif JP', 'YuMincho', serif;
  --f-sans:  'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;

  --max-w: 1100px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --sh-sm: 0 2px 10px rgba(0,0,0,.06);
  --sh-md: 0 6px 24px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-link-hover); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-main); outline-offset: 2px; }

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--c-text);
}
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

/* レイアウト */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* スキップリンク */
.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 8px; top: 8px; padding: 8px 14px; background: var(--c-main); color: #fff; border-radius: var(--r-sm); z-index: 10000; }

/* ============================
   ヘッダー
   ============================ */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border-soft);
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  width: 100%; max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.site-logo { display: flex; align-items: center; gap: 6px; flex-shrink: 0; line-height: 1; }
.site-logo__name { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 900; color: var(--c-main); letter-spacing: -.03em; }
.site-logo__sub { font-size: .58rem; font-weight: 500; letter-spacing: .08em; color: var(--c-text-light); align-self: flex-end; margin-bottom: 2px; }

.primary-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.primary-nav a {
  font-size: .82rem; font-weight: 500;
  color: var(--c-text-muted);
  padding: .4em .9em;
  border-radius: 20px;
  min-height: 36px;
  display: flex; align-items: center;
  transition: color .15s, background .15s;
}
.primary-nav a:hover, .primary-nav .current-menu-item a, .primary-nav a[aria-current="page"] {
  color: var(--c-main); background: var(--c-main-soft);
}

.header-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 0 .9em;
  height: 38px;
  min-width: 200px;
  transition: border-color .15s;
}
.header-search:focus-within { border-color: var(--c-main); }
.header-search input {
  border: none; background: transparent;
  font-family: inherit; font-size: .8rem;
  color: var(--c-text);
  outline: none; width: 100%;
}
.header-search__icon { color: var(--c-text-light); font-size: .9rem; flex-shrink: 0; pointer-events: none; }

.hamburger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
}
.hamburger__line { display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border-soft);
  padding: .5rem clamp(1rem, 4vw, 2rem) 1rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: flex; align-items: center; padding: .85rem 0; font-size: .9rem; font-weight: 500; color: var(--c-text); border-bottom: 1px solid var(--c-border-soft); min-height: 44px; }

/* ============================
   ボタン
   ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4em;
  min-height: 44px;
  padding: .55em 1.4em;
  border-radius: 40px;
  font-family: inherit;
  font-size: .87rem;
  font-weight: 700;
  border: 2px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--c-main); color: #fff !important; border-color: var(--c-main); }
.btn--primary:hover { background: var(--c-main-deep); border-color: var(--c-main-deep); box-shadow: var(--sh-md); color: #fff !important; }
.btn--outline { background: transparent; color: var(--c-text) !important; border-color: var(--c-border); }
.btn--outline:hover { border-color: var(--c-main); color: var(--c-main) !important; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff !important; }
.btn--sm { min-height: 36px; padding: .35em 1em; font-size: .8rem; }

/* ============================
   セクションヘッダー
   ============================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .6rem;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 1px; background: currentColor; }

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem;
}
.sec-head__title { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
.sec-head__title::after {
  content: ''; display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-main);
  border-radius: 50%;
  margin-left: 5px; vertical-align: middle; margin-bottom: 3px;
}
.sec-head__more { font-size: .8rem; font-weight: 700; color: var(--c-main); white-space: nowrap; }

/* ============================
   ヒーロー（トップ）
   ============================ */
.hero {
  background: var(--c-header-bg);
  color: var(--c-header-text);
  padding-block: clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 88% 40%, rgba(196,68,63,.22) 0%, transparent 65%),
              radial-gradient(ellipse 50% 70% at 10% 90%, rgba(168,128,14,.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero__heading { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.2; color: var(--c-header-text); margin-block: .6rem 1rem; }
.hero__heading em { font-style: normal; color: var(--c-main); }
.hero__lead { font-size: .95rem; color: rgba(250,249,246,.6); margin-bottom: 1.75rem; line-height: 1.95; }
.hero__cta { display: flex; gap: .6rem; flex-wrap: wrap; }

.hero__panel { background: rgba(250,249,246,.06); border: 1px solid rgba(250,249,246,.12); border-radius: var(--r-lg); padding: 1.4rem; }
.hero__panel-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,249,246,.4); margin-bottom: .9rem; }
.mood-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mood-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 11px; border-radius: 9px;
  background: rgba(250,249,246,.07);
  border: 1px solid rgba(250,249,246,.1);
  font-size: .78rem; font-weight: 500;
  color: var(--c-header-text) !important;
  min-height: 44px;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s;
}
.mood-chip:hover { background: rgba(196,68,63,.22); border-color: rgba(196,68,63,.45); color: var(--c-header-text) !important; }
.mood-chip__icon { font-size: .95rem; flex-shrink: 0; }
.mood-chip__count { font-size: .65rem; color: rgba(250,249,246,.35); margin-left: auto; }

/* ============================
   ドラマカード
   ============================ */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 18px;
}
.drama-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none !important;
  color: var(--c-text) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.drama-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--c-main);
}
.drama-card__thumb {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
}
.drama-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.drama-card:hover .drama-card__thumb img { transform: scale(1.04); }
.drama-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-size: 3rem;
  color: var(--c-border);
  background: linear-gradient(150deg, var(--c-surface), var(--c-main-soft));
}
.drama-card__badge {
  position: absolute; top: 7px; left: 7px;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1.6;
}
.badge-n { background: #e50914; color: #fff; }
.badge-u { background: #1a1a2e; color: #fff; }
.badge-h { background: #10c44c; color: #000; }
.badge-a { background: #ff9900; color: #000; }
.badge-d { background: #0063e5; color: #fff; }
.badge-l { background: #f03c00; color: #fff; }

.drama-card__svc-row { position: absolute; bottom: 7px; right: 7px; display: flex; gap: 3px; }
.svc-icon {
  width: 18px; height: 18px;
  border-radius: 3px;
  font-size: .52rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  line-height: 1;
}

.drama-card__body { padding: .8rem; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.drama-card__title { font-family: var(--f-serif); font-size: .9rem; font-weight: 700; color: var(--c-text); line-height: 1.45; }
.drama-card__meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.drama-card__year { font-size: .68rem; color: var(--c-text-light); }
.drama-card__genre {
  font-size: .62rem; font-weight: 500;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--c-surface);
  color: var(--c-text-muted);
}

.emo-bars { display: flex; flex-direction: column; gap: 3px; margin-top: 3px; }
.emo-bar { display: flex; align-items: center; gap: 5px; }
.emo-bar__label { font-size: .6rem; color: var(--c-text-light); width: 32px; flex-shrink: 0; text-align: right; }
.emo-bar__track { flex: 1; height: 3px; background: var(--c-border); border-radius: 2px; overflow: hidden; }
.emo-bar__fill { height: 100%; border-radius: 2px; width: 0; transition: width .8s ease; }

/* ============================
   気分カード
   ============================ */
.mood-section { background: var(--c-header-bg); }
.mood-section .sec-head__title { color: var(--c-header-text); }
.mood-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mood-card {
  background: rgba(250,249,246,.06);
  border: 1px solid rgba(250,249,246,.1);
  border-radius: var(--r-md);
  padding: 1.1rem .9rem;
  text-align: center;
  display: block;
  text-decoration: none !important;
  color: var(--c-header-text) !important;
  transition: background .2s, border-color .2s, transform .2s;
}
.mood-card:hover { background: rgba(196,68,63,.18); border-color: rgba(196,68,63,.5); transform: translateY(-2px); }
.mood-card__icon { font-size: 1.75rem; display: block; margin-bottom: .4rem; line-height: 1; }
.mood-card__name { font-size: .82rem; font-weight: 700; color: var(--c-header-text); margin-bottom: 3px; line-height: 1.4; }
.mood-card__count { font-size: .68rem; color: rgba(250,249,246,.38); }

/* ============================
   ドラマ詳細ページ
   ============================ */
.drama-hero { background: var(--c-header-bg); color: var(--c-header-text); padding-block: clamp(2rem, 5vw, 3.5rem); }
.drama-hero__grid { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.drama-hero__poster { aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; border: 2px solid rgba(255,255,255,.1); background: var(--c-surface); }
.drama-hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.drama-hero__title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--c-header-text); margin-block: .5rem .7rem; }
.drama-hero__badges { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: .9rem; }
.drama-hero__tag { font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: rgba(250,249,246,.12); color: rgba(250,249,246,.75); }
.drama-hero__tag--genre { background: rgba(196,68,63,.25); color: var(--c-main); }
.drama-hero__lead { font-size: .9rem; color: rgba(250,249,246,.6); line-height: 1.95; margin-bottom: 1.25rem; }
.drama-hero__watch-label { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,249,246,.35); margin-bottom: .4rem; }
.drama-hero__watch-btns { display: flex; gap: 7px; flex-wrap: wrap; }

.watch-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 7px;
  font-size: .78rem; font-weight: 700;
  min-height: 40px;
  text-decoration: none !important;
  transition: opacity .15s, transform .15s;
}
.watch-btn:hover { opacity: .88; transform: translateY(-1px); }
.watch-btn--n { background: #e50914; color: #fff !important; }
.watch-btn--u { background: #1a1a2e; color: #fff !important; }
.watch-btn--h { background: #10c44c; color: #000 !important; }
.watch-btn--a { background: #ff9900; color: #000 !important; }
.watch-btn--d { background: #0063e5; color: #fff !important; }
.watch-btn--l { background: #f03c00; color: #fff !important; }

.drama-body { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }

.emo-radar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}
.emo-radar__title { font-size: .88rem; font-weight: 700; margin-bottom: 1rem; }
.emo-axes { display: flex; flex-direction: column; gap: 10px; }
.emo-axis { display: grid; grid-template-columns: 68px 1fr 34px; align-items: center; gap: 9px; }
.emo-axis__label { font-size: .72rem; color: var(--c-text-muted); text-align: right; }
.emo-axis__track { height: 7px; background: var(--c-border); border-radius: 4px; overflow: hidden; }
.emo-axis__fill { height: 100%; border-radius: 4px; width: 0; transition: width .9s ease; }
.emo-axis__val { font-size: .72rem; font-weight: 700; text-align: right; }

/* エピソードアコーディオン */
.ep-accordion { border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.ep-item { border-bottom: 1px solid var(--c-border-soft); }
.ep-item:last-child { border-bottom: none; }
.ep-toggle {
  width: 100%;
  display: grid; grid-template-columns: 44px 1fr 32px;
  align-items: center; gap: .6rem;
  padding: .85rem 1rem;
  background: #fff;
  border: none; text-align: left;
  font-family: inherit; cursor: pointer;
  min-height: 52px;
  transition: background .12s;
}
.ep-toggle:hover { background: var(--c-surface); }
.ep-toggle[aria-expanded="true"] { background: var(--c-main-soft); }
.ep-toggle__num { font-size: .68rem; font-weight: 700; color: var(--c-text-light); }
.ep-toggle__title { font-size: .88rem; font-weight: 700; line-height: 1.45; }
.ep-toggle__arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--c-text-muted);
  transition: transform .3s;
}
.ep-toggle[aria-expanded="true"] .ep-toggle__arrow { transform: rotate(180deg); }
.ep-body {
  max-height: 0; overflow: hidden;
  font-size: .86rem;
  color: var(--c-text-muted);
  line-height: 1.85;
  transition: max-height .35s ease, padding .3s;
  padding-inline: 1rem;
}
.ep-body.open { padding-block: .85rem; }

/* サイドバーウィジェット */
.widget {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}
.widget__title {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-text-light);
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: .85rem;
}

/* ============================
   投稿コンテンツ
   ============================ */
.entry-content { font-size: .94rem; line-height: 1.95; color: var(--c-text); }
.entry-content > * + * { margin-top: 1rem; }
.entry-content h2 {
  font-size: 1.25rem; font-weight: 700;
  margin: 2.25rem 0 .85rem;
  padding: .6rem .95rem;
  background: var(--c-main-soft);
  border-left: 4px solid var(--c-main);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.entry-content h3 {
  font-size: 1.1rem; font-weight: 700;
  margin: 1.85rem 0 .7rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--c-border);
}
.entry-content h4 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .55rem; }
.entry-content p { color: var(--c-text-muted); }
.entry-content ul, .entry-content ol { margin: .75rem 0 1.1rem 1.5rem; color: var(--c-text-muted); }
.entry-content li { margin-bottom: .35rem; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content strong { font-weight: 700; color: var(--c-text); }
.entry-content blockquote {
  margin: 1.25rem 0;
  padding: .9rem 1.1rem;
  background: var(--c-surface);
  border-left: 4px solid var(--c-border);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--c-text-muted);
}
.entry-content img { border-radius: var(--r-sm); margin: 1rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.25rem 0; }
.entry-content table th { background: var(--c-text); color: #fff; padding: .6rem .8rem; font-weight: 700; text-align: left; }
.entry-content table td { padding: .55rem .8rem; border-bottom: 1px solid var(--c-border-soft); }
.entry-content table tr:nth-child(even) td { background: var(--c-surface); }

/* ============================
   フッター
   ============================ */
.site-footer { background: var(--c-header-bg); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; color: rgba(250,249,246,.5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(250,249,246,.08); margin-bottom: 1.25rem; }
.footer-brand__logo { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 900; color: var(--c-main); margin-bottom: .6rem; }
.footer-brand__desc { font-size: .78rem; color: rgba(250,249,246,.35); line-height: 1.85; }
.footer-col__title { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,249,246,.55); margin-bottom: .85rem; }
.footer-col__links { display: flex; flex-direction: column; gap: 7px; }
.footer-col__links a { font-size: .78rem; color: rgba(250,249,246,.35) !important; min-height: 28px; display: flex; align-items: center; }
.footer-col__links a:hover { color: rgba(250,249,246,.85) !important; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; color: rgba(250,249,246,.28); flex-wrap: wrap; gap: .4rem; }

/* ============================
   パンくず
   ============================ */
.breadcrumb {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border-soft);
  padding: .6rem 0;
}
.breadcrumb ol {
  display: flex; align-items: center; gap: .4rem;
  font-size: .75rem;
  color: var(--c-text-light);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-main); }
.breadcrumb .sep { color: var(--c-border); }

/* ============================
   ページネーション
   ============================ */
.pagination {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 2rem; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text-muted) !important;
  font-size: .82rem;
  text-decoration: none !important;
  transition: all .15s;
}
.pagination .page-numbers:hover { border-color: var(--c-main); color: var(--c-main) !important; }
.pagination .page-numbers.current {
  border: 1.5px solid var(--c-main);
  background: var(--c-main-soft);
  color: var(--c-main) !important;
  font-weight: 700;
}

/* ============================
   コメント・SNSシェア・関連記事
   ============================ */
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin: 1.5rem 0; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .5em 1em;
  border-radius: var(--r-sm);
  font-size: .8rem; font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  min-height: 38px;
}
.share-btn--x { background: #000; }
.share-btn--fb { background: #1877f2; }
.share-btn--li { background: #00b900; }
.share-btn--p { background: #bd081c; }
.share-btn--copy { background: var(--c-text-muted); }

.author-box {
  margin-top: 1.75rem;
  padding: 1.1rem;
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-soft);
  display: flex; gap: 1rem; align-items: flex-start;
}
.author-box__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-main-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.author-box__name { font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
.author-box__bio { font-size: .76rem; color: var(--c-text-muted); line-height: 1.7; }

/* ============================
   レスポンシブ
   ============================ */
@media (max-width: 1024px) {
  .mood-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .drama-body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-header { height: 56px; }
  .primary-nav, .header-search { display: none; }
  .hamburger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .mood-grid { grid-template-columns: repeat(3, 1fr); }
  .drama-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .drama-hero__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}



/* ============================
   個別記事・固定ページ レスポンシブ補正
   ============================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.content-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.content-layout.episode-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
}
.content-layout.sidebar-left { direction: rtl; }
.content-main {
  min-width: 0;
  background: #fff;
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--c-border-soft);
  direction: ltr;
}
.content-layout.no-sidebar .content-main {
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
}
.content-sidebar { min-width: 0; direction: ltr; }
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1.5rem;
}
.post-nav-grid--episode { margin-top: 2rem; }
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object { max-width: 100%; }
.entry-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  .content-layout.has-sidebar,
  .content-layout.episode-layout.has-sidebar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .content-main { order: 1; }
  .content-sidebar { order: 2; }
  .section { padding-block: 1.5rem; }
  .content-main {
    padding: 1.1rem;
    border-radius: var(--r-sm);
  }
  .post-nav-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; }
  .share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .share-btn { justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding-inline: .9rem; }
  .content-main { padding: 1rem; }
  .entry-content {
    font-size: .92rem;
    line-height: 1.9;
  }
  .entry-content h2 {
    font-size: 1.1rem;
    padding: .55rem .75rem;
  }
  .share-buttons { grid-template-columns: 1fr; }
}
