@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマです。
Theme URI: https://wp-cocoon.com
Author: わいひら
Author URI: https://wp-cocoon.com
Template: cocoon-master
Version: 1.1.4
*/

/*
==================================================
ここから下にスタイルを記述してください
==================================================
*/

/* =============================================
   CinemaCheck.jp - Prime Video 新着カレンダー
   ============================================= */

/* ── サイトヘッダー ── */
.cc-page-wrap .cc-site-header {
  background: #1a1810; color: #fff;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cc-page-wrap .cc-site-logo {
  font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff;
}
.cc-page-wrap .cc-site-logo span { color: #1a6b9a; }
.cc-page-wrap .cc-header-note { font-size: 11px; color: #888; }

/* ── ヒーロー ── */
.cc-page-wrap .cc-hero {
  background: #1a1810; color: #fff;
  padding: 52px 40px 44px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid #1a6b9a;
}
.cc-page-wrap .cc-hero::before {
  position: absolute; right: -10px; top: -40px;
  font-family: 'DM Serif Display', serif; font-size: 320px;
  color: rgba(255,255,255,0.03); line-height: 1;
  pointer-events: none; user-select: none;
}
.cc-page-wrap .cc-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 3px; color: #1a6b9a; text-transform: uppercase; margin-bottom: 14px;
}
.cc-page-wrap .cc-hero h1 {
  font-family: 'DM Serif Display', serif; font-size: clamp(30px, 5vw, 54px);
  line-height: 1.1; margin-bottom: 18px; font-weight: 400; color: #fff;
}
.cc-page-wrap .cc-hero h1 em { font-style: italic; color: #aac8e0; }
.cc-page-wrap .cc-hero-desc {
  font-size: 14px; color: #aaa; max-width: 520px; line-height: 1.9; margin-bottom: 32px;
}
.cc-page-wrap .cc-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-page-wrap .cc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px; padding: 5px 12px; font-size: 12px; color: #ccc;
}
.cc-page-wrap .cc-chip b { color: #fff; font-weight: 700; }
.cc-page-wrap .cc-chip-prime { border-color: #1a6b9a; color: #aac8e0; }

/* ── 月ナビ ── */
.cc-page-wrap .cc-month-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 40px; background: #f0ede6; border-bottom: 1px solid #ddd8ce;
}
.cc-page-wrap .cc-month-btn {
  display: inline-flex; align-items: center; padding: 8px 20px;
  background: #1a1810; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700; border-radius: 4px; transition: background .2s;
}
.cc-page-wrap .cc-month-btn:hover { background: #1a6b9a; color: #fff; }

/* ── 凡例バー ── */
.cc-page-wrap .cc-legend-bar {
  background: #f0ede6; border-bottom: 1px solid #ddd8ce;
  padding: 10px 40px; display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap; font-size: 11px; color: #5a5648;
}
.cc-page-wrap .cc-legend-bar strong { color: #1a1810; margin-right: 4px; }
.cc-page-wrap .cc-lbadge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 2px; font-size: 10px; font-weight: 700;
}
.cc-page-wrap .cc-lb-ex  { background: #fdecea; color: #c0392b; border: 1px solid #f5bcb8; }
.cc-page-wrap .cc-lb-og  { background: #e8f2fa; color: #0d4d72; border: 1px solid #b8d4ea; }
.cc-page-wrap .cc-lb-sp  { background: #fdf6e3; color: #a07820; border: 1px solid #eedd9a; }
.cc-page-wrap .cc-lb-new { background: #e8f7f4; color: #1a6b5a; border: 1px solid #a0dbd0; }

/* ── 週ジャンプナビ ── */
.cc-page-wrap .cc-week-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid #ddd8ce; padding: 0 40px;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.cc-page-wrap .cc-week-nav::-webkit-scrollbar { display: none; }
.cc-page-wrap .cc-wn-tab {
  padding: 13px 18px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #9a9488;
  cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all .2s; text-decoration: none;
}
.cc-page-wrap .cc-wn-tab:hover { color: #1a1810; }
.cc-page-wrap .cc-wn-tab.active { color: #1a6b9a; border-bottom-color: #1a6b9a; }

/* ── カレンダー本体 ── */
.cc-page-wrap .cc-cal-container {
  max-width: 1080px; margin: 0 auto; padding: 0 40px 80px; background: #f7f5f0;
}

/* ── 週ヘッダー ── */
.cc-page-wrap .cc-week-head {
  display: grid; grid-template-columns: 90px 1fr;
  background: #1a1810; color: #fff; margin-top: 40px;
}
.cc-page-wrap .cc-week-head:first-child { margin-top: 32px; }
.cc-page-wrap .cc-wh-label {
  padding: 10px 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #1a6b9a;
  border-right: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.cc-page-wrap .cc-wh-title { padding: 10px 20px; font-size: 12px; color: #aaa; }

/* ── 日付行 ── */
.cc-page-wrap .cc-date-row {
  display: grid; grid-template-columns: 90px 1fr;
  border-bottom: 1px solid #ddd8ce;
}
.cc-page-wrap .cc-date-row:first-child { border-top: 1px solid #ddd8ce; }
.cc-page-wrap .cc-date-axis {
  padding: 20px 16px; border-right: 2px solid #ddd8ce;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; gap: 2px; background: #f7f5f0;
}
.cc-page-wrap .cc-da-month {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 1px; color: #9a9488; text-transform: uppercase;
}
.cc-page-wrap .cc-da-day {
  font-family: 'DM Serif Display', serif; font-size: 32px; color: #0d4d72; line-height: 1;
}
.cc-page-wrap .cc-da-week { font-size: 10px; color: #9a9488; }
.cc-page-wrap .cc-da-count {
  margin-top: 6px; background: #1a6b9a; color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 10px;
}
.cc-page-wrap .cc-cards-area {
  padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; background: #f7f5f0;
}

/* ── コンテンツカード ── */
.cc-page-wrap .cc-card {
  background: #fff; border: 1px solid #ddd8ce; border-radius: 6px;
  padding: 14px 16px; display: grid; grid-template-columns: 1fr auto;
  gap: 12px; align-items: start; transition: box-shadow .2s, border-color .2s;
}
.cc-page-wrap .cc-card:hover {
  box-shadow: 0 4px 18px rgba(26,24,16,0.08); border-color: #bbb4a8;
}
.cc-page-wrap .cc-card.has-review { border-left: 3px solid #1a6b9a; }
.cc-page-wrap .cc-card-left { display: flex; flex-direction: column; gap: 6px; }
.cc-page-wrap .cc-card-badges { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.cc-page-wrap .cc-badge {
  font-size: 9px; font-weight: 700; letter-spacing: .8px;
  padding: 2px 7px; border-radius: 2px; text-transform: uppercase;
}
.cc-page-wrap .cc-b-ex    { background: #fdecea; color: #c0392b; border: 1px solid #f5bcb8; }
.cc-page-wrap .cc-b-og    { background: #e8f2fa; color: #0d4d72; border: 1px solid #b8d4ea; }
.cc-page-wrap .cc-b-sp    { background: #fdf6e3; color: #a07820; border: 1px solid #eedd9a; }
.cc-page-wrap .cc-b-new   { background: #e8f7f4; color: #1a6b5a; border: 1px solid #a0dbd0; }
.cc-page-wrap .cc-b-genre { background: #f0ede6; color: #5a5648; border: 1px solid #ddd8ce; }
.cc-page-wrap .cc-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; color: #1a1810; }
.cc-page-wrap .cc-card-sub { font-size: 11px; color: #9a9488; line-height: 1.6; }
.cc-page-wrap .cc-card-sub a { color: #1a6b9a; text-decoration: none; }
.cc-page-wrap .cc-card-sub a:hover { text-decoration: underline; }

/* ── 破線・レビューエリア ── */
.cc-page-wrap .cc-card-divider {
  border: none; border-top: 1px dashed #bbb4a8; margin: 10px 0; width: 100%;
}
.cc-page-wrap .cc-card-review-area {
  font-size: 11px; color: #9a9488; line-height: 1.7;
}
.cc-page-wrap .cc-card-review-area a {
  color: #1a6b9a; text-decoration: none; font-size: 11px;
}
.cc-page-wrap .cc-card-review-area a:hover { text-decoration: underline; }

/* ── レビューブロック ── */
.cc-page-wrap .cc-review-block {
  min-width: 160px; max-width: 200px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-end;
}
.cc-page-wrap .cc-stars { display: flex; gap: 2px; cursor: pointer; }
.cc-page-wrap .cc-star { font-size: 16px; color: #ddd; transition: color .15s; user-select: none; }
.cc-page-wrap .cc-star.on { color: #c8941a; }
.cc-page-wrap .cc-stars:hover .cc-star { color: #edc84a; }
.cc-page-wrap .cc-stars .cc-star:hover ~ .cc-star { color: #ddd; }
.cc-page-wrap .cc-review-input {
  width: 100%; font-size: 11px;
  border: 1px solid #ddd8ce; border-radius: 4px; padding: 6px 8px;
  color: #1a1810; background: #f0ede6; resize: none; line-height: 1.5;
  outline: none; transition: border-color .2s; display: none;
}
.cc-page-wrap .cc-review-input:focus { border-color: #1a6b9a; }
.cc-page-wrap .cc-review-input::placeholder { color: #9a9488; }
.cc-page-wrap .cc-review-saved {
  font-size: 11px; color: #1a8a7a; display: none; align-items: center; gap: 4px;
}
.cc-page-wrap .cc-review-saved::before { content: '\2713'; }
.cc-page-wrap .cc-btn-save,
.cc-page-wrap .cc-btn-clear {
  font-size: 10px; font-weight: 700; border-radius: 3px; padding: 4px 10px; cursor: pointer;
  display: none; width: 100%; text-align: center; box-sizing: border-box;
}
.cc-page-wrap .cc-btn-save { background: #1a6b9a; color: #fff; border: none; }
.cc-page-wrap .cc-btn-save:hover { background: #0d4d72; }
.cc-page-wrap .cc-btn-clear { background: #fff; color: #c0392b; border: 1px solid #f5bcb8; margin-top: 4px; }
.cc-page-wrap .cc-btn-clear:hover { background: #fdecea; }
.cc-page-wrap .cc-confirm-wrap { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.cc-page-wrap .cc-confirm-msg { font-size: 10px; color: #c0392b; font-weight: 700; text-align: center; }
.cc-page-wrap .cc-confirm-btns { display: flex; gap: 4px; }
.cc-page-wrap .cc-confirm-yes,
.cc-page-wrap .cc-confirm-no { flex: 1; font-size: 10px; font-weight: 700; border-radius: 3px; padding: 3px 0; cursor: pointer; }
.cc-page-wrap .cc-confirm-yes { background: #c0392b; color: #fff; border: none; }
.cc-page-wrap .cc-confirm-no { background: #f0ede6; color: #5a5648; border: 1px solid #ddd8ce; }

/* ── フッター ── */
.cc-page-wrap .cc-footer {
  background: #1a1810; color: #888; padding: 32px 40px; font-size: 12px; line-height: 2;
}
.cc-page-wrap .cc-footer a { color: #aac8e0; }
.cc-page-wrap .cc-ft-logo { font-family: 'DM Serif Display', serif; font-size: 18px; color: #fff; margin-bottom: 8px; }

/* ── Cocoon干渉リセット ── */
.cc-page-wrap > * { margin-bottom: 0 !important; margin-top: 0 !important; }
.entry-content > .cc-page-wrap { margin-bottom: 0 !important; margin-top: 0 !important; }

/* ── アニメーション ── */
@keyframes ccFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ヒーロー背景数字（月別postidで管理） ── */
.postid-4445 .cc-hero::before { content: '4'; }
.postid-4064 .cc-hero::before { content: '3'; }
.postid-4393 .cc-hero::before { content: '2'; }
.postid-4429 .cc-hero::before { content: '1'; }

/* ── アイキャッチ非表示・タイトル調整（月別postidで管理） ── */
.postid-4445 .eye-catch,
.postid-4445 .eye-catch-wrap { display: none !important; }
.postid-4445 .entry-title { font-size: 18px; opacity: 0.7; margin: 0 !important; padding: 0 !important; }
.postid-4064 .eye-catch,
.postid-4064 .eye-catch-wrap { display: none !important; }
.postid-4064 .entry-title { font-size: 18px; opacity: 0.7; margin: 0 !important; padding: 0 !important; }
.postid-4393 .eye-catch,
.postid-4393 .eye-catch-wrap { display: none !important; }
.postid-4393 .entry-title { font-size: 18px; opacity: 0.7; margin: 0 !important; padding: 0 !important; }
.postid-4429 .eye-catch,
.postid-4429 .eye-catch-wrap { display: none !important; }
.postid-4429 .entry-title { font-size: 18px; opacity: 0.7; margin: 0 !important; padding: 0 !important; }

/* ── スマホ（640px以下） ── */
@media screen and (max-width: 640px) {
  .cc-page-wrap .cc-site-header { padding: 12px 16px !important; }
  .cc-page-wrap .cc-hero { padding: 32px 16px !important; }
  .cc-page-wrap .cc-hero::before { display: none !important; }
  .cc-page-wrap .cc-month-nav { padding: 12px 16px !important; }
  .cc-page-wrap .cc-legend-bar { padding: 10px 12px !important; }
  .cc-page-wrap .cc-week-nav { padding: 0 12px !important; }
  .cc-page-wrap .cc-cal-container { padding: 0 0 40px 0 !important; }
  .cc-page-wrap .cc-footer { padding: 24px 16px !important; }
  .cc-page-wrap .cc-week-head {
    display: grid !important; grid-template-columns: 56px 1fr !important;
  }
  .cc-page-wrap .cc-date-row {
    display: grid !important; grid-template-columns: 56px 1fr !important;
  }
  .cc-page-wrap .cc-date-axis { padding: 8px 6px !important; }
  .cc-page-wrap .cc-da-day { font-size: 20px !important; }
  .cc-page-wrap .cc-cards-area { padding: 8px 10px !important; }
  .cc-page-wrap .cc-card {
    display: grid !important; grid-template-columns: 1fr !important; padding: 12px !important;
  }
  .cc-page-wrap .cc-review-block {
    min-width: unset !important; max-width: unset !important;
    align-items: flex-start !important; width: 100% !important;
  }
}









/* 全体 */
.cw-wrap {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: var(--cw-ink);
  max-width: 100%;
}

/* ひとことリード */
.cw-lead-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff8f0;
  border-left: 4px solid var(--cw-orange);
  padding: 16px 18px;
  margin: 0 0 28px;
  border-radius: 0 4px 4px 0;
}

.cw-lead-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.cw-lead-text {
  font-size: 14px;
  line-height: 1.85;
  color: #3a3530;
  margin: 0;
  font-style: italic;
}

/* 基本情報テーブル */
.cw-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 13px;
}

.cw-table th,
.cw-table td {
  padding: 10px 14px;
  border: 1px solid var(--cw-border);
  text-align: left;
  vertical-align: middle;
}

.cw-table th {
  background: var(--cw-gray);
  font-weight: 700;
  width: 110px;
  color: var(--cw-ink);
}

.cw-table td {
  background: #fff;
}

/* 評価ボックス */
.cw-verdict {
  border: 2px solid var(--cw-ink);
  padding: 24px 24px 20px;
  margin: 0 0 28px;
  background: #fff;
  position: relative;
}

.cw-verdict::before {
  content: 'VERDICT';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--cw-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 3px 10px;
}

.cw-verdict-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cw-border);
}

.cw-stars-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.cw-stars-on  { color: var(--cw-orange); font-size: 22px; letter-spacing: 2px; }
.cw-stars-off { color: #ddd;             font-size: 22px; letter-spacing: 2px; }

.cw-score {
  font-family: 'Noto Serif JP', serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--cw-orange);
  line-height: 1;
}

.cw-score small {
  font-size: 16px;
  color: var(--cw-muted);
}

.cw-verdict-tag {
  font-size: 13px;
  color: var(--cw-muted);
  margin: 0;
  line-height: 1.6;
}

.cw-verdict-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cw-red);
  margin: 0 0 10px;
}

/* チェックリスト */
.cw-check-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
}

.cw-check-list li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--cw-border);
  font-size: 13px;
  line-height: 1.75;
  position: relative;
  list-style: none !important;
}

.cw-check-list li:last-child { border-bottom: none; }

.cw-check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cw-red);
  font-weight: 700;
}

/* 得する・損する */
.cw-gain-loss {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.cw-gain,
.cw-loss {
  padding: 14px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.8;
}

.cw-gain { background: #fff5f5; border: 1px solid #f5c0bc; }
.cw-loss { background: var(--cw-gray); border: 1px solid var(--cw-border); }

.cw-gl-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 8px !important;
}

.cw-gain-title { color: var(--cw-red); }
.cw-loss-title { color: var(--cw-muted); }

.cw-gain p:last-child,
.cw-loss p:last-child { margin: 0; font-size: 12px; }

/* CTA */
.cw-cta {
  background: var(--cw-red);
  border-radius: 4px;
  margin: 28px 0;
  padding: 2px;
}

.cw-cta-inner {
  background: var(--cw-red);
  border-radius: 3px;
  padding: 20px 24px;
  text-align: center;
}

.cw-cta-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  margin: 0 0 4px !important;
}

.cw-cta-sub {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  margin: 0 0 14px !important;
}

.cw-cta-btn {
  display: inline-block;
  background: #fff !important;
  color: var(--cw-red) !important;
  padding: 11px 28px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  border-radius: 2px;
  border: none !important;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.cw-cta-btn:hover { opacity: 0.85; }

/* H2 */
.cw-h2 {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: var(--cw-ink) !important;
  border-left: 4px solid var(--cw-red) !important;
  border-bottom: 1px solid var(--cw-border) !important;
  border-top: none !important;
  border-right: none !important;
  padding: 8px 0 8px 14px !important;
  margin: 40px 0 18px !important;
  line-height: 1.5 !important;
  background: none !important;
}

/* H3 */
.cw-h3 {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--cw-ink) !important;
  border-bottom: 1px dashed var(--cw-border) !important;
  border-top: none !important;
  padding: 0 0 8px !important;
  margin: 24px 0 12px !important;
  background: none !important;
}

/* ポイントカード */
.cw-point {
  background: var(--cw-gray);
  border-left: 4px solid var(--cw-orange);
  padding: 16px 18px;
  margin: 0 0 14px;
  border-radius: 0 4px 4px 0;
}

.cw-point-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--cw-ink);
  margin: 0 0 8px !important;
  font-family: 'Noto Serif JP', serif;
}

.cw-point p:last-child {
  font-size: 13px;
  line-height: 1.85;
  color: #3a3530;
  margin: 0;
}

/* ネタバレ アコーディオン */
.cw-spoiler {
  margin: 0 0 28px;
  border: 1px solid var(--cw-border);
  border-radius: 4px;
  overflow: hidden;
}

.cw-spoiler-btn {
  width: 100%;
  background: #2d2d2d;
  color: #ff6b6b;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.cw-spoiler-btn:hover { background: #3a3a3a; }

.cw-spoiler-arrow {
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #888;
}

.cw-spoiler.is-open .cw-spoiler-arrow {
  transform: rotate(180deg);
}

.cw-spoiler-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #1e1e1e;
  color: #c8c0b0;
}

.cw-spoiler.is-open .cw-spoiler-body {
  max-height: 3000px;
  padding: 22px 20px;
}

.cw-spoiler-body p {
  font-size: 13px;
  line-height: 1.95;
  color: #b8b0a0;
  margin-bottom: 12px;
}

.cw-spoiler-body .cw-h3 {
  color: #e0d8cc !important;
  border-bottom-color: #3a3a3a !important;
}

/* 比較カード */
.cw-compare-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 28px;
}

.cw-compare-card {
  border: 1px solid var(--cw-border);
  padding: 16px;
  background: #fff;
  border-radius: 4px;
}

.cw-compare-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px !important;
  font-weight: 700;
  margin: 0 0 8px !important;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cw-red);
  color: var(--cw-ink);
}

.cw-compare-card p:last-child {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .cw-gain-loss    { grid-template-columns: 1fr; }
  .cw-compare-wrap { grid-template-columns: 1fr; }
  .cw-verdict      { padding: 20px 14px 16px; }
  .cw-cta-inner    { padding: 18px 16px; }
}


/* =========================
   固定ページID:40 ランキング専用CSS
   ========================= */

/* ドット（・）を完全に消す */
.page-id-40 .entry-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* liの基本装飾 */
.page-id-40 .entry-content ul li {
  position: relative;
  padding-left: 1.6em;
  margin: 0.4em 0;
  border-bottom: 1px dashed #ddd;
}

/* ▶ をCSSで表示（テキストに▶を書かない前提） */
.page-id-40 .entry-content ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #e60023;
  font-weight: bold;
}

/* 評価帯（H2想定）の装飾 */
.page-id-40 h2 {
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 40px;
}

/* 評価ごとの色分け（H2にclassを付ける） */
.page-id-40 .rank-10 { background: #ffe08a; }
.page-id-40 .rank-9  { background: #ffd6d6; }
.page-id-40 .rank-8  { background: #fff3cd; }
.page-id-40 .rank-7  { background: #e6f4ff; }
.page-id-40 .rank-6  { background: #f1f1f1; }
.page-id-40 .rank-5  { background: #f8f9fa; }
.page-id-40 .rank-4  { background: #eeeeee; }
.page-id-40 .rank-3  { background: #f5f5f5; }
.page-id-40 .rank-2  { background: #ececec; }
.page-id-40 .rank-1  { background: #e0e0e0; }

/* ジャンル誘導文 */
.genre-lead{
  text-align:center;
  margin:25px 0 15px;
  font-size:15px;
  color:#555;
}

/* ジャンルボタン全体 */
.genre-filter{
  text-align:center;
  margin-bottom:30px;
}

/* 立体スタイリッシュボタン */
.genre-btn{
  display:inline-block;
  margin:6px 8px;
  padding:10px 18px;
  border-radius:30px;
  background:linear-gradient(145deg,#ffffff,#e6e6e6);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.12),
              -4px -4px 10px rgba(255,255,255,0.9);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  color:#333;
  transition:all .2s ease;
}

/* ホバーで押し込まれる立体感 */
.genre-btn:hover{
  transform:translateY(2px);
  box-shadow: inset 3px 3px 8px rgba(0,0,0,0.15),
              inset -3px -3px 8px rgba(255,255,255,0.8);
}

.genre-lead{
  text-align:center;
  margin:28px 0 14px;
  font-size:13px;
  letter-spacing:1px;
  color:#888;
}

/* コピーライト */
.footer-amazon {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}


/* ============================
   WP Popular Posts 映画ランキング用
   サムネのみ / 2列 / 丸バッジ
============================ */

/* グリッド全体 */
.wpp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列固定 */
  gap: 12px;
  padding: 0;
  margin: 0;
  counter-reset: rank;
}

/* 各記事 */
.wpp-list li {
  list-style: none;
  position: relative;
}

/* リンク（タイトル非表示） */
.wpp-list li a {
  display: block;
  font-size: 0; /* タイトル完全非表示 */
  line-height: 0;
}

/* サムネイル（160:90前提） */
.wpp-list li img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}

.wpp-list li img:hover {
  transform: scale(1.03);
}

/* ランキング番号：●丸・中央揃え */
.wpp-list li::before {
  counter-increment: rank;
  content: counter(rank);
  position: absolute;
  top: 8px;
  left: 8px;

  width: 28px;
  height: 28px;

  background-color: #e53935; /* 黒じゃない赤 */
  color: #fff;

  font-weight: 700;
  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%; /* ← これが●の正体 */
  z-index: 2;
}


/* hover時の影・枠・強調を完全に無効化 */
.wpp-list li a:hover,
.wpp-list li a:focus {
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}

/* サムネ画像の余計な枠・影・背景を除去 */
.wpp-list li img {
  box-shadow: none !important;   /* 影を完全オフ */
  background: transparent !important;
  border: none !important;
}

/* 角丸は維持（縁の色が出ないように） */
.wpp-list li {
  background: transparent !important;
}
/* ランキング共通 */
.wpp-list {
  counter-reset: rank;
}

.wpp-list li {
  position: relative;
}

/* 共通：位置 */
.wpp-list li::before {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  line-height: 1;
  text-align: center;
}

/* 1～3位：絵文字だけ表示、背景・丸・影なし */
.wpp-list li:nth-child(-n+3)::before {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 22px; /* 絵文字サイズ */
}

/* 1位🥇 2位🥈 3位🥉 */
.wpp-list li:nth-child(1)::before { content: "🥇"; }
.wpp-list li:nth-child(2)::before { content: "🥈"; }
.wpp-list li:nth-child(3)::before { content: "🥉"; }

/* 4位・5位・6位：丸バッジ固定サイズ */
.wpp-list li:nth-child(4)::before,
.wpp-list li:nth-child(5)::before,
.wpp-list li:nth-child(6)::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #e57373;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
  box-shadow: none;
}

/* 個別に文字を入れる */
.wpp-list li:nth-child(4)::before { content: "₄"; }
.wpp-list li:nth-child(5)::before { content: "₅"; }
.wpp-list li:nth-child(6)::before { content: "₆"; }

/* サムネとのグリッドも整理（2列） */
.wpp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  counter-reset: rank;
  padding: 0;
  margin: 0;
}

.wpp-list li {
  list-style: none;
  position: relative; /* ::before の位置基準 */
}

.wpp-list li img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.wpp-list li img:hover {
  transform: scale(1.03);
}


/* 切り替えボタン */
.ranking-switch {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.tab-btn {
  flex: 1;
  padding: 6px 0;
  font-size: 12px;
  border: none;
  border-radius: 6px;
  background: #eee;
  cursor: pointer;
}

.tab-btn.active {
  background: #e53935;
  color: #fff;
}

/* 表示切り替え */
.ranking-content {
  display: none;
}

.ranking-content.active {
  display: block;
}


.wpp-toggle-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.wpp-toggle-buttons button {
  flex: 1;
  padding: 6px 8px;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 13px;
  border-radius: 6px;
  transition: 0.2s ease;
}

.wpp-toggle-buttons button.active {
  background: #e53935;
  color: #fff;
}

.wpp-content {
  display: none;
}

.wpp-content.active {
  display: block;
}





/* ヘッダーをAmazonブルーに */
#header-container,
#header {
  background-color: #0f79af;
}

/* H2左ラインをAmazonブルーに */
.entry-content h2 {
  border-left-color: #0f79af;
}

.featured-image-source {
    font-size: 12px;                 /* 小さめで目立たない */
    color: #555;                     /* 暗めグレー */
    font-family: "Noto Sans JP", sans-serif;
    text-align: right;               /* 右寄せ */
    margin: 2px 0;                   /* 上下余白 */
    letter-spacing: 0.5px;
}


/* Cocoon カテゴリー・アーカイブ件数バッジの色を消す */

.widget_categories .post-count,
.widget_archive .post-count {
  all: unset;
  color: #666;
  font-size: 14px;
}

/* アマゾンアフィリ用 */

/* ===== PC版 ===== */

.affiliate-grid {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.affiliate-grid a {
  flex: 1 1 calc(50% - 14px);   /* ← widthをやめる */
  max-width: calc(50% - 14px);
  text-align:center;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.affiliate-grid a > img {
  width:100%;
  max-width:160px;
  height:auto;
  display:block;
}



.affiliate-text {
  margin-top:6px;
}




/* ===== スマホ ===== */
@media (max-width:480px) {

  .affiliate-grid {
    gap:10px;
  }

  .affiliate-grid a {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .affiliate-grid img {
    max-width:130px;
  }

}


/* ===== 新着まとめ ===== */
.month-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 40px 0;
}

.month-btn {
  width: 50%;
  text-align: center;
  padding: 12px 5px;
  background: #0f79af; /* メインカラー */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* ホバー時 */
.month-btn:hover {
  background: #0a5f8a; /* 少し濃いブルー */
  color: #f5c518;      /* ゴールド寄せ */
  transform: translateY(-2px);
}

/* ===== PR ===== */
.prime-btn-wrap {
  text-align: center;
  margin: 40px 0;
}

.prime-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0f79af;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.25s ease;
}

/* hover */
.prime-btn:hover {
  background: #0c6a99;   /* 少し暗く */
  color: #f5c518;        /* ゴールド */
  transform: translateY(-2px);
}

/* ===== PRランキング用===== */
.prime-cta {
  text-align: center;
  margin: 40px 0;
}

.pr-label {
  font-size: 12px;
  color: #777;
  margin: 0 0 6px 0;   /* 下だけ6px */
}

.prime-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0f79af;
  color: #ffffff !important;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: bold;
  transition: all 0.25s ease;
}

.prime-btn:hover {
  background: #0c6a99;
  color: #f5c518 !important;
  transform: translateY(-2px);
}

/* ===== ランキングノート化===== */

.rank-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rank-item.top3 {
  border-color: #0f79af;
  background: #f3f9fc;
}

.rank-item p {
  line-height: 1.8;
}


/* グローバルメニューを1行にして、はみ出た分は隠す/省略する */
.navi-in ul{
    flex-wrap: nowrap; /* 折り返しを禁止 */
    white-space: nowrap; /* 折り返しを禁止 */
    overflow: hidden; /* はみ出た分を隠す */
    text-overflow: ellipsis; /* はみ出た部分を...にする */
}





/* サムネを基準にする */
.entry-card-thumb,
.entry-card-image,
.card-thumb {
  position: relative;
}

/* NEWバッジ */
.is-new-post .entry-card-thumb::after,
.is-new-post .entry-card-image::after,
.is-new-post .card-thumb::after {
  content: "NEW";
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 80, 80, 0.85);
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 9999; /* ← 重要 */
  pointer-events: none;
}

/* ゆっくり上品な点滅 */
@keyframes newFade {
  0%   { opacity: 1; }
  50%  { opacity: 0.55; }
  100% { opacity: 1; }
}

.is-new-post .entry-card-thumb::after,
.is-new-post .entry-card-image::after,
.is-new-post .card-thumb::after {
  animation: newFade 2.8s ease-in-out infinite;
}




/* ===== サイドバーでは小さく＆点滅なし ===== */
.sidebar .is-new-post .entry-card-thumb::after,
.sidebar .is-new-post .entry-card-image::after,
.sidebar .is-new-post .card-thumb::after {

  font-size: 7px;
  padding: 2px 4px;
  top: 3px;
  right: 3px;
  border-radius: 8px;

  animation: none !important; /* 点滅止める */
}

/* ===== スマホ用 NEWバッジ位置調整 ===== */
@media screen and (max-width: 480px) {

  .is-new-post .entry-card-thumb::after,
  .is-new-post .entry-card-image::after,
  .is-new-post .card-thumb::after {

    top: 1px;
    right: 1px;
  }

}



/* ===== 関連記事 NEW（PC） ===== */
.related-entry-card.is-new-post .entry-card-thumb::after,
.related-entry-card.is-new-post .entry-card-image::after,
.related-entry-card.is-new-post .card-thumb::after {

  top: 4%;
  right: 2%;   /* ← ここで右寄せ微調整 */
}


/* ===== 関連記事 NEW（スマホ） ===== */
@media screen and (max-width: 480px) {

  .related-entry-card.is-new-post .entry-card-thumb::after,
  .related-entry-card.is-new-post .entry-card-image::after,
  .related-entry-card.is-new-post .card-thumb::after {

    top: 2%;
    right: 1%;
  }

}





/* Prime導線ボタン */
.prime-btn {
  display:block;
  width:90%;              /* ← スマホ考慮の%幅 */
  max-width:520px;        /* ← PCで巨大化防止 */
  margin:20px auto;       /* ← 中央配置 */
  padding:14px 20px;
  text-align:center;
  font-weight:bold;
  font-size:16px;
  border-radius:8px;
  text-decoration:none;
  background:#0F79AF;     /* Primeカラー寄せ */
  color:#fff;
  transition:0.3s;
}

/* hover（PC用） */
.prime-btn:hover {
  opacity:0.85;
  transform:translateY(-1px);
}

/* 注意書き */
.prime-note {
  width:90%;
  max-width:520px;
  margin:8px auto 0;
  font-size:12px;
  line-height:1.6;
  color:#666;
}

@media (max-width:768px){
  .prime-btn{
    width:95%;
    font-size:17px;
  }
}

/* テーブル全体 */
.prime-basic-info {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  margin: 24px 0 36px;
  font-size: 0.95rem;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  display: block;
  overflow-x: auto;
}

/* セル余白 */
.prime-basic-info th,
.prime-basic-info td {
  padding: 10px 14px;
  vertical-align: top;
}

/* 左列 */
.prime-basic-info th {
  width: 110px;
  font-weight: 600;
  color: #555;
  background: #fafafa;
  border-right: 1px solid #eee;
  white-space: nowrap;
}

/* 右列 */
.prime-basic-info td {
  color: #222;
  line-height: 1.5;
}

/* 行境界 */
.prime-basic-info tr:not(:last-child) td,
.prime-basic-info tr:not(:last-child) th {
  border-bottom: 1px solid #f0f0f0;
}

/* スマホ */
@media screen and (max-width: 480px) {
  .prime-basic-info {
    font-size: 0.9rem;
  }
  .prime-basic-info th {
    min-width: 80px;
  }
}

.prime-status {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin: 8px 0 14px;
  line-height: 1.6;
  white-space: nowrap; /* PCでは1行固定 */
}

/* スマホだけ2行にする */
@media (max-width: 768px) {
  .prime-status {
    white-space: normal;   /* 折り返しOK */
    padding: 0 10px;       /* 端ギリ防止 */
  }
}
@media (max-width: 768px) {
  .prime-status {
    white-space: normal;
  }
  .prime-status::before {
    content: "";
  }
}



/* ===== Affi アフィリ 2カラム（整理版） ===== */

/* ----- 共通設定（PC含む） ----- */
.affi-block-2col {
  display: flex;
  justify-content: center;        /* 全体中央寄せ */
  gap: clamp(20%, 28%, 30%);      /* PC: 20〜30%の間隔で自動調整 */
  flex-wrap: nowrap;               /* 横並び固定 */
  overflow-x: auto;                /* はみ出したら横スクロール */
}

.affi-item {
  flex: 0 0 auto;                  /* 縮まない固定幅 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;         /* ▶ 左揃え */
  width: 160px;                     /* PC固定幅 */
}

.affi-item img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  object-fit: contain;
}

.affi-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;         /* 左揃え */
  gap: 2px;                        /* 文字間隔最小 */
  margin-top: 2px;                 /* 画像との隙間最小 */
}

.affi-links a {
  display: flex;
  align-items: center;
  font-size: 14px;                 /* タップしやすいサイズ */
  text-decoration: none;
  white-space: nowrap;             /* 折り返さない */
  overflow: visible;               /* はみ出しても … なし */
  text-overflow: clip;             /* …なし */
  padding-right: 0;                /* 不要な余白なし */
}

.affi-links a .affi-arrow {
  flex: 0 0 16px;                  /* ▶ 幅固定 */
  text-align: right;
  margin-right: 2px;               /* ▶と文字の間隔 */
}

.affi-links a .affi-text {
  flex: 1 1 auto;                  /* 残り幅で伸縮 */
  white-space: nowrap;             /* 折り返さない */
  overflow: visible;               /* はみ出しても省略なし */
  text-overflow: clip;             /* …なし */
  display: inline-block;
}

/* ===== スマホ（～480px） ===== */
@media (max-width:480px) {
  .affi-block-2col {
    gap: 12%;                       /* スマホは画面比率で間隔 */
    justify-content: center;
  }

  .affi-item {
    width: 43%;                       /* 画面幅に応じた可変幅 */
    flex-shrink: 0;
  }

  .affi-item img {
    width: 100%;
    max-width: none;
  }

  .affi-links a {
    font-size: 13px;                  /* スマホで少し小さめ */
  }
}

/* ===== iPhone SE など極小幅（～360px） ===== */
@media (max-width:360px) {
  .affi-links a {
    font-size: 12px;                  /* 文字を小さくして収める */
    overflow: visible; 
    text-overflow: clip;              /* …なし */
  }
}


/* ========================================
   怪盗キッドガイド専用CSS v3
   COCOON子テーマの追加CSSに貼ってください
   （以前のものと丸ごと入れ替えてください）
   ======================================== */

.kid-guide-wrap *,
.kid-guide-wrap *::before,
.kid-guide-wrap *::after {
  all: revert;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.kid-guide-wrap {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background: #0d0d14;
  color: #f0ece0;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

/* ── Hero ── */
.kid-hero {
  position: relative;
  padding: 48px 20px 40px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
  border-bottom: 0.5px solid rgba(201,168,76,0.2);
  overflow: hidden;
}
.kid-hero::before {
  content: "1412";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 140px;
  font-weight: 700;
  color: rgba(201,168,76,0.04);
  pointer-events: none;
  letter-spacing: -8px;
  white-space: nowrap;
  line-height: 1;
}
.kid-spoiler-badge {
  display: inline-block;
  background: rgba(204,68,68,0.15);
  border: 0.5px solid rgba(204,68,68,0.4);
  color: #e88a8a;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.kid-heading-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: #e8c96a;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}
.kid-heading-main span {
  display: block;
  font-size: 12px;
  color: #8a8799;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.kid-hero-desc {
  color: #8a8799;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* ── Inner ── */
.kid-inner {
  padding: 0 16px 48px;
}

/* ── Section header ── */
.kid-section-header {
  padding: 36px 0 16px;
  width: 100%;
}
.kid-section-header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  gap: 0 !important;
}
.kid-line-cell {
  display: block !important;
  flex: 1 1 0% !important;
  height: 0.5px !important;
  background: rgba(201,168,76,0.2) !important;
  min-width: 0 !important;
}
.kid-section-title-cell {
  display: block !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  padding: 0 12px !important;
  text-align: center !important;
}
.kid-heading-section {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  color: #c9a84c;
  white-space: nowrap;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  display: inline;
}
.kid-count-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 0.5px solid rgba(201,168,76,0.2);
  color: #c9a84c;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Intro ── */
.kid-intro {
  color: #b8b4cc;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #1a1a2e;
  border-left: 2px solid #c9a84c;
  border-radius: 0 8px 8px 0;
}

/* ── Episode cards (mobile-first) ── */
.kid-ep-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kid-ep-card {
  background: #131320;
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px 16px;
}
.kid-ep-card.kid-hl {
  border-color: rgba(201,168,76,0.25);
  background: #16151f;
}
.kid-ep-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.kid-ep-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.kid-ep-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.kid-ep-num {
  color: #c9a84c;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.kid-ep-title-text {
  font-weight: 600;
  color: #f0ece0;
  font-size: 14px;
  line-height: 1.4;
}
.kid-ep-source {
  color: #8a8799;
  font-size: 11px;
  margin-top: 2px;
}
.kid-ep-desc {
  color: #9b97b0;
  font-size: 12.5px;
  line-height: 1.65;
  margin-top: 8px;
}
.kid-ep-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.kid-ep-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c9a84c;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 10px;
  border: 0.5px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  flex-shrink: 0;
}
.kid-ep-link::before {
  content: "▶";
  font-size: 7px;
}

/* ── Tags ── */
.kid-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  flex-shrink: 0;
}
.kid-tag-tv { background: #1a3a5c; color: #6ab0e8; }
.kid-tag-sp { background: #1a2e1a; color: #7ac47a; }
.kid-star {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 0.5px solid rgba(201,168,76,0.4);
  color: #e8c96a;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── Movie cards ── */
.kid-movie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}
.kid-movie-card {
  background: #131320;
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px;
}
.kid-movie-num {
  font-size: 11px;
  color: #8a8799;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}
.kid-heading-card {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  color: #f0ece0;
  line-height: 1.4;
  margin-bottom: 3px;
  padding: 0;
}
.kid-movie-year {
  font-size: 11px;
  color: #c9a84c;
  margin-bottom: 8px;
  font-weight: 500;
  display: block;
}
.kid-movie-card p {
  font-size: 13px;
  color: #9b97b0;
  line-height: 1.65;
  margin-bottom: 12px;
}
.kid-movie-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c9a84c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 0.5px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
}
.kid-movie-link::after { content: " →"; }
.kid-movie-link.coming {
  color: #4a4860;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  pointer-events: none;
  cursor: default;
  font-style: italic;
}
.kid-movie-link.coming::after { content: ""; }

/* ── Tips ── */
.kid-tips {
  margin-top: 28px;
  padding: 18px 20px;
  background: #1a1a2e;
  border: 0.5px solid rgba(201,168,76,0.2);
  border-radius: 10px;
}
.kid-heading-tips {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 600;
  color: #c9a84c;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 0;
}
.kid-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.kid-tips li {
  font-size: 12.5px;
  color: #9b97b0;
  padding-left: 14px;
  position: relative;
  line-height: 1.65;
  list-style: none;
}
.kid-tips li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #c9a84c;
  font-size: 7px;
  top: 5px;
}

/* ── Footer quote ── */
.kid-footer-quote {
  text-align: center;
  padding: 32px 16px 24px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  margin-top: 40px;
}
.kid-footer-quote blockquote {
  font-family: 'Noto Serif JP', serif;
  font-size: 12.5px;
  color: #8a8799;
  font-style: italic;
  line-height: 2.1;
  margin: 0 auto 8px;
  padding: 0;
  border: none;
  background: none;
}
.kid-footer-quote cite {
  font-size: 11px;
  color: #c9a84c;
  font-style: normal;
}

/* ── PC：2カラム以上 ── */
@media (min-width: 640px) {
  .kid-hero { padding: 60px 24px 48px; }
  .kid-hero::before { font-size: 180px; }
  .kid-heading-main { font-size: 28px; }
  .kid-inner { padding: 0 24px 64px; }
  .kid-movie-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
  .kid-ep-card { padding: 16px 20px; }
  .kid-ep-title-text { font-size: 15px; }
  .kid-ep-desc { font-size: 13px; }
}

/* ── PR表記 ── */
.kid-pr-notice {
  font-size: 11px;
  color: #4a4860;
  background: none;
  border: none;
  padding: 0 0 16px;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

/* ========================================
   黒ずくめの組織ガイド専用CSS
   COCOON子テーマの追加CSSに貼ってください
   kid-guide-v3.css と共存できます
   ======================================== */

.kuro-guide-wrap *,
.kuro-guide-wrap *::before,
.kuro-guide-wrap *::after {
  all: revert;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.kuro-guide-wrap {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background: #0a0a0a;
  color: #d0ccc4;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

/* ── Hero ── */
.kuro-hero {
  position: relative;
  padding: 48px 20px 40px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(160,20,20,0.15) 0%, transparent 70%);
  border-bottom: 0.5px solid rgba(160,20,20,0.3);
  overflow: hidden;
}

.kuro-hero::before {
  content: "APTX";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 140px;
  font-weight: 700;
  color: rgba(160,20,20,0.04);
  pointer-events: none;
  letter-spacing: -4px;
  white-space: nowrap;
  line-height: 1;
}

.kuro-spoiler-badge {
  display: inline-block;
  background: rgba(160,20,20,0.2);
  border: 0.5px solid rgba(160,20,20,0.5);
  color: #c97070;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.kuro-heading-main {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #c97070 !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.kuro-heading-main span {
  display: block;
  font-size: 12px;
  color: #6a6660;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.kuro-hero-desc {
  color: #6a6660;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* ── Inner ── */
.kuro-inner {
  padding: 0 16px 48px;
}

/* ── PR表記 ── */
.kuro-pr-notice {
  font-size: 11px;
  color: #3a3835;
  background: none;
  border: none;
  padding: 0 0 16px;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

/* ── Section header ── */
.kuro-section-header {
  padding: 36px 0 16px;
  width: 100%;
}

.kuro-section-header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  gap: 0 !important;
}

.kuro-line-cell {
  display: block !important;
  flex: 1 1 0% !important;
  height: 0.5px !important;
  background: rgba(160,20,20,0.3) !important;
  min-width: 0 !important;
}

.kuro-section-title-cell {
  display: block !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  padding: 0 12px !important;
  text-align: center !important;
}

.kuro-heading-section {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #c97070 !important;
  white-space: nowrap !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  border: none !important;
  background: none !important;
}

.kuro-count-badge {
  display: inline-block;
  background: rgba(160,20,20,0.15);
  border: 0.5px solid rgba(160,20,20,0.3);
  color: #c97070;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Intro ── */
.kuro-intro {
  color: #7a7670;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #111010;
  border-left: 2px solid #8b1a1a;
  border-radius: 0 8px 8px 0;
}

/* ── Movie cards ── */
.kuro-movie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.kuro-movie-card {
  background: #0f0e0e;
  border: 0.5px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s;
}

.kuro-movie-card:hover {
  border-color: rgba(160,20,20,0.3);
}

.kuro-movie-num {
  font-size: 11px;
  color: #4a4845;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}

.kuro-heading-card {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  color: #d0ccc4;
  line-height: 1.4;
  margin-bottom: 3px;
  padding: 0;
}

.kuro-movie-year {
  font-size: 11px;
  color: #c97070;
  margin-bottom: 8px;
  font-weight: 500;
  display: block;
}

.kuro-movie-card p {
  font-size: 13px;
  color: #6a6660;
  line-height: 1.65;
  margin-bottom: 12px;
}

.kuro-movie-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c97070;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 0.5px solid rgba(160,20,20,0.3);
  padding-bottom: 1px;
}

.kuro-movie-link::after { content: " →"; }

.kuro-movie-link.coming {
  color: #2e2c2a;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
  pointer-events: none;
  cursor: default;
  font-style: italic;
}

.kuro-movie-link.coming::after { content: ""; }

/* ── Tips ── */
.kuro-tips {
  margin-top: 28px;
  padding: 18px 20px;
  background: #111010;
  border: 0.5px solid rgba(160,20,20,0.2);
  border-radius: 10px;
}

.kuro-heading-tips {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 600;
  color: #c97070;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 0;
}

.kuro-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.kuro-tips li {
  font-size: 12.5px;
  color: #6a6660;
  padding-left: 14px;
  position: relative;
  line-height: 1.65;
  list-style: none;
}

.kuro-tips li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #8b1a1a;
  font-size: 7px;
  top: 5px;
}

/* ── Episode cards ── */
.kuro-ep-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kuro-ep-card {
  background: #0f0e0e;
  border: 0.5px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 14px 16px;
}

.kuro-ep-card.kuro-hl {
  border-color: rgba(160,20,20,0.3);
  background: #130e0e;
}

.kuro-ep-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.kuro-ep-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.kuro-ep-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.kuro-ep-num {
  color: #c97070;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.kuro-ep-title-text {
  font-weight: 600;
  color: #d0ccc4;
  font-size: 14px;
  line-height: 1.4;
}

.kuro-ep-source {
  color: #4a4845;
  font-size: 11px;
  margin-top: 2px;
}

.kuro-ep-desc {
  color: #6a6660;
  font-size: 12.5px;
  line-height: 1.65;
  margin-top: 8px;
}

.kuro-ep-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.kuro-ep-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c97070;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 10px;
  border: 0.5px solid rgba(160,20,20,0.3);
  border-radius: 20px;
  flex-shrink: 0;
}

.kuro-ep-link::before {
  content: "▶";
  font-size: 7px;
}

.kuro-ep-link.coming {
  color: #2e2c2a;
  border-color: rgba(255,255,255,0.05);
  pointer-events: none;
  cursor: default;
  font-style: italic;
}

.kuro-ep-link.coming::before { content: ""; }

/* ── Tags ── */
.kuro-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  flex-shrink: 0;
}

.kuro-tag-tv  { background: #1a1212; color: #8b5a5a; }
.kuro-tag-sp  { background: #1a1212; color: #c97070; }

.kuro-star {
  display: inline-block;
  background: rgba(160,20,20,0.2);
  border: 0.5px solid rgba(160,20,20,0.4);
  color: #c97070;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── Footer quote ── */
.kuro-footer-quote {
  text-align: center;
  padding: 32px 16px 24px;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  margin-top: 40px;
}

.kuro-footer-quote blockquote {
  font-family: 'Noto Serif JP', serif;
  font-size: 12.5px;
  color: #4a4845;
  font-style: italic;
  line-height: 2.1;
  margin: 0 auto 8px;
  padding: 0;
  border: none;
  background: none;
}

.kuro-footer-quote cite {
  font-size: 11px;
  color: #8b1a1a;
  font-style: normal;
}

/* ── PC対応 ── */
@media (min-width: 640px) {
  .kuro-hero { padding: 60px 24px 48px; }
  .kuro-heading-main { font-size: 28px !important; }
  .kuro-inner { padding: 0 24px 64px; }
  .kuro-movie-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
  .kuro-ep-card { padding: 16px 20px; }
  .kuro-ep-title-text { font-size: 15px; }
  .kuro-ep-desc { font-size: 13px; }
}


/* ========================================
   安室透（降谷零）ガイド専用CSS
   COCOON子テーマの追加CSSに貼ってください
   kid-guide-v3.css・kuro-guide.css と共存できます
   ======================================== */

.amuro-guide-wrap *,
.amuro-guide-wrap *::before,
.amuro-guide-wrap *::after {
  all: revert;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.amuro-guide-wrap {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background: #080c14;
  color: #c8d4e8;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

/* ── Hero ── */
.amuro-hero {
  position: relative;
  padding: 48px 20px 40px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,80,160,0.2) 0%, transparent 70%);
  border-bottom: 0.5px solid rgba(60,120,220,0.2);
  overflow: hidden;
}

.amuro-hero::before {
  content: "ZERO";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 140px;
  font-weight: 700;
  color: rgba(30,80,160,0.12);
  pointer-events: none;
  letter-spacing: 8px;
  white-space: nowrap;
  line-height: 1;
}

.amuro-spoiler-badge {
  display: inline-block;
  background: rgba(30,80,160,0.15);
  border: 0.5px solid rgba(60,120,220,0.3);
  color: #6a9ad4;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.amuro-heading-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: #7ab0e8;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-align: center;
}

.amuro-heading-main span {
  display: block;
  font-size: 12px;
  color: #4a6a8a;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.amuro-heading-date {
  display: block;
  font-size: 11px;
  color: #7a9aba;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.amuro-hero-desc {
  color: #7a9aba;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* ── Inner ── */
.amuro-inner {
  padding: 0 16px 48px;
}

/* ── PR表記 ── */
.amuro-pr-notice {
  font-size: 11px;
  color: #3a5878;
  background: none;
  border: none;
  padding: 0 0 16px;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

/* ── Section header ── */
.amuro-section-header {
  padding: 36px 0 16px;
  width: 100%;
}

.amuro-section-header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  gap: 0 !important;
}

.amuro-line-cell {
  display: block !important;
  flex: 1 1 0% !important;
  height: 0.5px !important;
  background: rgba(60,120,220,0.2) !important;
  min-width: 0 !important;
}

.amuro-section-title-cell {
  display: block !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  padding: 0 12px !important;
  text-align: center !important;
}

.amuro-heading-section {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  color: #7ab0e8;
  white-space: nowrap;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  display: inline;
}

.amuro-count-badge {
  display: inline-block;
  background: rgba(30,80,160,0.15);
  border: 0.5px solid rgba(60,120,220,0.2);
  color: #7ab0e8;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Intro ── */
.amuro-intro {
  color: #7a9aba;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #0c1220;
  border-left: 2px solid #1e50a0;
  border-radius: 0 8px 8px 0;
}

/* ── Movie cards ── */
.amuro-movie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.amuro-movie-card {
  background: #0a0f1a;
  border: 0.5px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s;
}

.amuro-movie-card:hover {
  border-color: rgba(60,120,220,0.25);
}

.amuro-movie-num {
  font-size: 11px;
  color: #3a5878;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}

.amuro-heading-card {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  color: #c8d4e8;
  line-height: 1.4;
  margin-bottom: 3px;
  padding: 0;
}

.amuro-movie-year {
  font-size: 11px;
  color: #7ab0e8;
  margin-bottom: 8px;
  font-weight: 500;
  display: block;
}

.amuro-movie-card p {
  font-size: 13px;
  color: #6a8aaa;
  line-height: 1.65;
  margin-bottom: 12px;
}

.amuro-movie-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7ab0e8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 0.5px solid rgba(60,120,220,0.3);
  padding-bottom: 1px;
}

.amuro-movie-link::after { content: " →"; }

.amuro-movie-link.coming {
  color: #1a2535;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
  pointer-events: none;
  cursor: default;
  font-style: italic;
}

.amuro-movie-link.coming::after { content: ""; }

/* ── Tips ── */
.amuro-tips {
  margin-top: 28px;
  padding: 18px 20px;
  background: #0c1220;
  border: 0.5px solid rgba(60,120,220,0.15);
  border-radius: 10px;
}

.amuro-heading-tips {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 600;
  color: #7ab0e8;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 0;
}

.amuro-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.amuro-tips li {
  font-size: 12.5px;
  color: #6a8aaa;
  padding-left: 14px;
  position: relative;
  line-height: 1.65;
  list-style: none;
}

.amuro-tips li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #1e50a0;
  font-size: 7px;
  top: 5px;
}

/* ── Episode cards ── */
.amuro-ep-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amuro-ep-card {
  background: #0a0f1a;
  border: 0.5px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 14px 16px;
}

.amuro-ep-card.amuro-hl {
  border-color: rgba(60,120,220,0.25);
  background: #0c1422;
}

.amuro-ep-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.amuro-ep-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.amuro-ep-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.amuro-ep-num {
  color: #7ab0e8;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.amuro-ep-title-text {
  font-weight: 600;
  color: #c8d4e8;
  font-size: 14px;
  line-height: 1.4;
}

.amuro-ep-source {
  color: #3a5878;
  font-size: 11px;
  margin-top: 2px;
}

.amuro-ep-desc {
  color: #6a8aaa;
  font-size: 12.5px;
  line-height: 1.65;
  margin-top: 8px;
}

.amuro-ep-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.amuro-ep-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7ab0e8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 10px;
  border: 0.5px solid rgba(60,120,220,0.25);
  border-radius: 20px;
  flex-shrink: 0;
}

.amuro-ep-link::before {
  content: "▶";
  font-size: 7px;
}

.amuro-ep-link.coming {
  color: #1a2535;
  border-color: rgba(255,255,255,0.04);
  pointer-events: none;
  cursor: default;
  font-style: italic;
}

.amuro-ep-link.coming::before { content: ""; }

/* ── Tags ── */
.amuro-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  flex-shrink: 0;
}

.amuro-tag-tv  { background: #0a1525; color: #4a70a0; }
.amuro-tag-sp  { background: #0a1525; color: #6a9aca; }

.amuro-star {
  display: inline-block;
  background: rgba(30,80,160,0.2);
  border: 0.5px solid rgba(60,120,220,0.3);
  color: #7ab0e8;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
}

/* ── Footer quote ── */
.amuro-footer-quote {
  text-align: center;
  padding: 32px 16px 24px;
  border-top: 0.5px solid rgba(255,255,255,0.04);
  margin-top: 40px;
}

.amuro-footer-quote blockquote {
  font-family: 'Noto Serif JP', serif;
  font-size: 12.5px;
  color: #5a7a9a;
  font-style: italic;
  line-height: 2.1;
  margin: 0 auto 8px;
  padding: 0;
  border: none;
  background: none;
}

.amuro-footer-quote cite {
  font-size: 11px;
  color: #1e50a0;
  font-style: normal;
}

/* ── PC対応 ── */
@media (min-width: 640px) {
  .amuro-hero { padding: 60px 24px 48px; }
  .amuro-heading-main { font-size: 28px !important; }
  .amuro-inner { padding: 0 24px 64px; }
  .amuro-movie-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
  .amuro-ep-card { padding: 16px 20px; }
  .amuro-ep-title-text { font-size: 15px; }
  .amuro-ep-desc { font-size: 13px; }
}










/* ===== 吹き出し本体（全体共通：背景と枠線を強制設定） ===== */
.speech-wrap .speech-balloon {
  background-color: #f0f6fb !important; /* 背景：水色（強制） */
  border: 1px solid #0f79af !important; /* 枠線：1px青（強制） */
  border-radius: 10px !important;
  padding: 12px !important;
  position: relative;
}

/* Cocoonデフォルトの影や太枠を完全に消す */
.wp-block-cocoon-blocks-balloon-1 .speech-balloon {
  box-shadow: none !important;
  border-width: 1px !important; /* ここで改めて1pxに */
}

/* ===== 左側（.sbp-l）の三角設定 ===== */
/* 外枠（青い三角） */
.sbp-l .speech-balloon::before {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  left: -17px !important; /* 1px用に外へずらす */
  border: 8px solid transparent !important;
  border-right-color: #0f79af !important; /* 枠線の色（強制） */
  z-index: 1 !important;
}

/* 内側（水色の三角） */
.sbp-l .speech-balloon::after {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  left: -15px !important; /* 枠線の1px分だけ内側 */
  border: 8px solid transparent !important;
  border-right-color: #f0f6fb !important; /* 中身の色（強制） */
  z-index: 2 !important;
}

/* ===== 右側（.sbp-r）の三角設定 ===== */
/* 外枠（青い三角） */
.sbp-r .speech-balloon::before {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  right: -17px !important; /* 1px用に外へずらす */
  border: 8px solid transparent !important;
  border-left-color: #0f79af !important; /* 枠線の色（強制） */
  z-index: 1 !important;
}

/* 内側（水色の三角） */
.sbp-r .speech-balloon::after {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  right: -15px !important; /* 枠線の1px分だけ内側 */
  border: 8px solid transparent !important;
  border-left-color: #f0f6fb !important; /* 中身の色（強制） */
  z-index: 2 !important;
}








/* ── 新ランキング用── */
.rk-lead {
  margin-bottom: 28px;
}
.rk-new-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafafa;
  border: 0.5px solid #e8e8e8;
  border-left: 3px solid #f5c518;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-bottom: 14px;
  text-decoration: none !important;
  color: inherit !important;
}
.rk-new-card:hover { background: #fff8dc; }
.rk-new-card-badge {
  background: #f5c518;
  color: #7a5f00;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.rk-new-card-text {
  font-size: 14px;
  font-weight: 700;
  color: #222;
}
.rk-new-card-arrow {
  margin-left: auto;
  color: #aaa;
  font-size: 14px;
}
.rk-lead-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 16px;
  border-left: 2px solid #e8e8e8;
  padding-left: 12px;
}
.rk-lead-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.rk-stat {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  color: #888;
}
.rk-stat strong {
  color: #222;
  font-weight: 700;
  font-size: 14px;
  display: block;
}
.page-id-40 .entry-title {
  position: relative;
  font-size: 20px;
  padding: 14px 16px 14px 20px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #f5c518;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.page-id-40 .entry-title::before {
  content: "🎬";
  margin-right: 8px;
  font-size: 18px;
}

.page-id-40 .entry-title::after {
  content: "随時更新";
  display: inline-block;
  margin-left: 10px;
  background: #f5c518;
  color: #7a5f00;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
}


/* =========================================
   コナン記事共通テーブル：右案（タグ風モダン）
   クラス名：conan-summary-table modern
   ========================================= */

.wp-block-table.conan-summary-table.modern {
  margin: 1.5rem 0 2rem;
}

.wp-block-table.conan-summary-table.modern table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ヘッダー */
.wp-block-table.conan-summary-table.modern thead th {
  padding: 15px 18px;
  text-align: left;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1f2937, #334155);
  border: none;
  letter-spacing: 0.02em;
}

/* セル */
.wp-block-table.conan-summary-table.modern tbody td {
  padding: 14px 18px;
  border-top: 1px solid #eef2f7;
  background: #ffffff;
  vertical-align: middle;
}

/* 行の区切り感をやわらかく */
.wp-block-table.conan-summary-table.modern tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

/* 左列 */
.wp-block-table.conan-summary-table.modern tbody td:first-child {
  width: 34%;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

/* 右列 */
.wp-block-table.conan-summary-table.modern tbody td:last-child {
  color: #374151;
}

/* ホバー */
.wp-block-table.conan-summary-table.modern tbody tr:hover td {
  background: #f8fbff;
  transition: background 0.2s ease;
}

/* 角丸 */
.wp-block-table.conan-summary-table.modern thead tr th:first-child {
  border-top-left-radius: 16px;
}
.wp-block-table.conan-summary-table.modern thead tr th:last-child {
  border-top-right-radius: 16px;
}
.wp-block-table.conan-summary-table.modern tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}
.wp-block-table.conan-summary-table.modern tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

/* -----------------------------------------
   タグ（バッジ）風
   ----------------------------------------- */
.conan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.42em 0.78em;
  border-radius: 999px;
  font-size: 0.87em;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  border: 1px solid transparent;
}

/* 登場・初登場 */
.conan-badge.is-green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

/* 関連あり・重要要素 */
.conan-badge.is-blue {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

/* 恋愛要素 */
.conan-badge.is-pink {
  background: #fce7f3;
  color: #be185d;
  border-color: #fbcfe8;
}

/* アクション */
.conan-badge.is-orange {
  background: #ffedd5;
  color: #c2410c;
  border-color: #fed7aa;
}

/* ミステリー */
.conan-badge.is-yellow {
  background: #fef9c3;
  color: #a16207;
  border-color: #fde68a;
}

/* 舞台・設定 */
.conan-badge.is-gray {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

/* 強調したい情報 */
.conan-badge.is-red {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

/* タグが複数並ぶ場合 */
.conan-badge + .conan-badge {
  margin-left: 6px;
  margin-top: 4px;
}


/* =========================================
   コナン記事共通テーブル：modern 完全版
   対象HTML：
   <figure class="wp-block-table conan-summary-table modern">
   ========================================= */

.wp-block-table.conan-summary-table.modern {
  margin: 1.5rem 0 2rem;
  overflow-x: visible;
}

.wp-block-table.conan-summary-table.modern table,
.wp-block-table.conan-summary-table.modern table.has-fixed-layout {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto !important;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  font-size: 0.96rem;
  line-height: 1.7;
  overflow: visible;
}

.wp-block-table.conan-summary-table.modern th,
.wp-block-table.conan-summary-table.modern td {
  box-sizing: border-box;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

/* ヘッダー */
.wp-block-table.conan-summary-table.modern thead th {
  padding: 15px 18px;
  text-align: left;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1f2937, #334155);
  border: none;
  letter-spacing: 0.02em;
}

/* 本文セル */
.wp-block-table.conan-summary-table.modern tbody td {
  padding: 14px 18px;
  border-top: 1px solid #eef2f7;
  background: #ffffff;
  color: #374151;
}

/* 交互背景 */
.wp-block-table.conan-summary-table.modern tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

/* 左列 */
.wp-block-table.conan-summary-table.modern tbody td:first-child {
  width: 32%;
  font-weight: 700;
  color: #111827;
}

/* 右列 */
.wp-block-table.conan-summary-table.modern tbody td:last-child {
  width: 68%;
}

/* ホバー */
.wp-block-table.conan-summary-table.modern tbody tr:hover td {
  background: #f8fbff;
  transition: background 0.2s ease;
}

/* 角丸 */
.wp-block-table.conan-summary-table.modern thead tr th:first-child {
  border-top-left-radius: 16px;
}
.wp-block-table.conan-summary-table.modern thead tr th:last-child {
  border-top-right-radius: 16px;
}
.wp-block-table.conan-summary-table.modern tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}
.wp-block-table.conan-summary-table.modern tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

/* バッジ共通 */
.conan-badge {
  display: inline-block;
  max-width: 100%;
  padding: 0.42em 0.78em;
  border-radius: 999px;
  font-size: 0.87em;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  border: 1px solid transparent;
  vertical-align: middle;
}

/* 色 */
.conan-badge.is-green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.conan-badge.is-blue {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.conan-badge.is-pink {
  background: #fce7f3;
  color: #be185d;
  border-color: #fbcfe8;
}
.conan-badge.is-orange {
  background: #ffedd5;
  color: #c2410c;
  border-color: #fed7aa;
}
.conan-badge.is-yellow {
  background: #fef9c3;
  color: #a16207;
  border-color: #fde68a;
}
.conan-badge.is-gray {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}
.conan-badge.is-red {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

/* スマホ */
@media (max-width: 767px) {
  .wp-block-table.conan-summary-table.modern table,
  .wp-block-table.conan-summary-table.modern table.has-fixed-layout {
    width: 100%;
    table-layout: auto !important;
    font-size: 0.9rem;
  }

  .wp-block-table.conan-summary-table.modern thead th,
  .wp-block-table.conan-summary-table.modern tbody td {
    padding: 10px 10px;
  }

  .wp-block-table.conan-summary-table.modern tbody td:first-child {
    width: 30%;
    font-size: 0.86rem;
  }

  .wp-block-table.conan-summary-table.modern tbody td:last-child {
    width: 70%;
    font-size: 0.86rem;
  }

  .conan-badge {
    display: inline;
    padding: 0.2em 0.45em;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.5;
  }
}



/* ===== 吹き出し本体（シネくま：右側）===== */
.sbp-r .speech-balloon {
  background-color: #f0f6fb !important;
  border: 1px solid #0f79af !important;
  border-radius: 10px !important;
  padding: 12px !important;
}

/* ===== 吹き出し本体（シネうま：左側）===== */
.sbp-l .speech-balloon {
  background-color: #fdf0f5 !important;
  border: 1px solid #d4739d !important;
  border-radius: 10px !important;
  padding: 12px !important;
}

/* Cocoonデフォルトの影や太枠を完全に消す */
.wp-block-cocoon-blocks-balloon-1 .speech-balloon {
  box-shadow: none !important;
  border-width: 1px !important;
}

/* ===== 左側（シネうま .sbp-l）の三角設定 ===== */
/* 外枠（ローズピンクの三角） */
.sbp-l .speech-balloon::before {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  left: -17px !important;
  border: 8px solid transparent !important;
  border-right-color: #d4739d !important;
  z-index: 1 !important;
}

/* 内側（ローズピンク背景の三角） */
.sbp-l .speech-balloon::after {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  left: -15px !important;
  border: 8px solid transparent !important;
  border-right-color: #fdf0f5 !important;
  z-index: 2 !important;
}

/* ===== 右側（シネくま .sbp-r）の三角設定 ===== */
/* 外枠（青い三角） */
.sbp-r .speech-balloon::before {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  right: -17px !important;
  border: 8px solid transparent !important;
  border-left-color: #0f79af !important;
  z-index: 1 !important;
}

/* 内側（水色の三角） */
.sbp-r .speech-balloon::after {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  right: -15px !important;
  border: 8px solid transparent !important;
  border-left-color: #f0f6fb !important;
  z-index: 2 !important;
}