/* ======================================================
   共通1：冒頭あらすじ
====================================================== */
  .apple-summary {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1d1d1f;
    max-width: 700px;
    margin: 40px 0;
    line-height: 1.75;
  }
  
  .as-item { 
    margin-bottom: 32px; 
  }

  .as-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #86868b;
    margin-bottom: 8px;
    padding-bottom: 4px;
    letter-spacing: 0.02em;
    /* ラベルの下線 */
    border-bottom: 0.5px solid #d2d2d7; 
    min-width: 80px;
  }

  .as-content, .as-footer { 
    font-size: 16px;
    margin: 0; 
    font-weight: 400; 
  }

  .as-highlight { font-weight: 600; color: #0071e3; }

  .as-footer {
    color: #1d1d1f;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 0.5px solid #d2d2d7;
  }


/* ======================================================
   相関図1：相関図ブロック前リード文
====================================================== */
.wp-block-group.apple-section-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1d1d1f;
  line-height: 1.65;
}
.ac-lead-main {
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1f;
  margin: 0 0 12px 0;
}
.ac-lead-notice {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .ac-lead-notice { font-size: 12px; padding: 3px 8px; margin-bottom: 16px; }
}


/* ======================================================
   相関図2：相関図ブロック後注意文
====================================================== */
.ac-meta-note {
  font-size: 12px;
  font-weight: 400;
  color: #86868b;
  letter-spacing: 0.02em;
  margin: 12px 0 0 0;
  text-align: right;
}
@media (max-width: 768px) {
  .ac-meta-note { margin-top: 10px; }
}



/* ======================================================
   共通2：作品関連の別記事紹介ブロック
====================================================== */
.reading-natural-box {
  background: #f8f9fa;
  border: 1px solid #e5e5e7;
  border-radius: 12px;
  padding: 12px 18px;
  margin: 8px 0;
}
.reading-natural-box > *:first-child {
  margin-top: 0 !important;
}
.reading-natural-box > * {
  margin-bottom: 8px;
}
.reading-natural-box > *:last-child {
  margin-bottom: 0;
}
.reading-natural-box h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: #1c1c1e;
}
.reading-natural-box p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: #3c3c3e;
}
.natural-cta {
  display: inline-block;
  color: #0071e3;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 5px 16px;
  border: 1px solid #0071e3;
  border-radius: 9999px;
  transition: all 0.25s ease;
}
.natural-cta:hover {
  background: #0071e3;
  color: #fff;
}
@media (max-width: 768px) {
  .reading-natural-box {
    padding: 12px 14px;
    margin: 8px 0;
  }
}

/* ======================================================
   共通3：対応編の巻数・漫画強調ブロック
====================================================== */
.info-highlight-box {
  background: #f8f9fa;
  border: 1px solid #e5e5e7;
  border-radius: 16px;
  padding: 20px 22px;
  margin: 24px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.info-highlight-box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1d1d6;
}
.info-main {
  font-size: 16px;
  margin-bottom: 14px;
  color: #1c1c1e;
}
.info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.info-label {
  font-weight: 700;
  color: #8e8e93;
  width: 90px;
  flex-shrink: 0;
  font-size: 14px;
}
.info-value {
  font-weight: 500;
  color: #1c1c1e;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .info-highlight-box {
    padding: 18px 16px;
    margin: 20px 0;
  }
  
  .info-row {
    flex-direction: column;
    gap: 4px;
  }
  
  .info-label {
    width: auto;
  }
}


/* ======================================================
   共通4：AppleライクアCTAブロック
====================================================== */
  #subcul-cta-unit.pure-cta-container {
    --p-blue: #0071e3; --p-dark: #1d1d1f;
    --p-prime: #00a8e8;
    --p-gradient: linear-gradient(90deg, #0071e3 0%, #f5f5f7 100%);
    --p-gradient-dark: linear-gradient(90deg, #1d1d1f 0%, #f5f5f7 100%);
    --p-gradient-prime: linear-gradient(90deg, #00a8e8 0%, #f5f5f7 100%);
    all: initial; display: block; position: relative; max-width: 860px;
    min-height: 380px; height: auto !important; padding: 40px 0;
    margin: 30px auto !important; background: #fff !important; border-radius: 24px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); font-family: "SF Pro Display", "Inter", sans-serif;
    border: 1px solid rgba(0,0,0,0.08); box-sizing: border-box; touch-action: pan-y;
  }
  #subcul-cta-unit * { box-sizing: border-box !important; margin: 0; padding: 0; line-height: 1.5; }
  #subcul-cta-unit button,
  #subcul-cta-unit .p-title,
  #subcul-cta-unit .p-text { background: none !important; }

  #subcul-cta-unit .pure-guide {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 100;
    pointer-events: auto; color: #1d1d1f; cursor: pointer; transition: all 0.3s ease;
    background: rgba(210,210,215,0.4) !important; border-radius: 50%; width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); border: none;
  }
  #subcul-cta-unit .pure-guide:hover { background: rgba(210,210,215,0.7) !important; }
  #subcul-cta-unit .p-arrow-box { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; animation: arrow-float 2s infinite ease-in-out; }
  #subcul-cta-unit .p-svg { width: 28px; height: 28px; fill: none !important; stroke: currentColor !important; border: none !important; background: none !important; }

  @keyframes arrow-float { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
  @keyframes arrow-float-reverse { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }

  #subcul-cta-unit .p-shifter { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.2,0,0,1); cursor: grab; position: relative; z-index: 10; pointer-events: auto; background: transparent !important; }

  /* モード別幅（JSで付与） */
  #subcul-cta-unit.mode-3 .p-shifter { width: 300%; }
  #subcul-cta-unit.mode-3 .p-pane   { width: 33.333%; }
  #subcul-cta-unit.mode-2 .p-shifter { width: 200%; }
  #subcul-cta-unit.mode-2 .p-pane   { width: 50%; }

  #subcul-cta-unit .p-pane { height: 100%; display: flex; align-items: center; padding: 0 60px; flex-shrink: 0; user-select: none; pointer-events: none; }
  #subcul-cta-unit .p-inner { display: flex; align-items: center; justify-content: center; gap: 50px; width: 100%; min-height: 300px; }

  #subcul-cta-unit .p-visual { width: 170px; min-height: 240px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; pointer-events: auto; }
  #subcul-cta-unit .p-visual a { display: block !important; cursor: pointer !important; animation: p-float-anim 4s infinite ease-in-out; background: transparent !important; }
  #subcul-cta-unit .p-visual img { width: auto !important; height: auto !important; max-width: 170px !important; max-height: 240px !important; border-radius: 4px 12px 12px 4px; filter: drop-shadow(12px 16px 24px rgba(0,0,0,0.12)); margin: 0 !important; display: block !important; border: none; background: transparent !important; }

  @keyframes p-float-anim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

  #subcul-cta-unit .p-content { flex-grow: 1; min-width: 0; }
  #subcul-cta-unit .p-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; display: block; }
  #subcul-cta-unit .p-title { font-size: 26px !important; font-weight: 700 !important; color: #1d1d1f !important; margin-bottom: 14px !important; white-space: nowrap; border: none; }
  #subcul-cta-unit .p-title span { position: relative; display: inline-block; padding-bottom: 8px; }
  #subcul-cta-unit .p-title span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 2px; }
  #subcul-cta-unit .p-text { font-size: 14.5px !important; color: #424245 !important; margin-bottom: 20px !important; line-height: 1.6 !important; display: block !important; border: none; }

  #subcul-cta-unit .p-action { pointer-events: auto; display: flex; flex-direction: column; align-items: flex-start; }
  #subcul-cta-unit .p-action a,
  #subcul-cta-unit .p-visual a { cursor: pointer !important; }

  #subcul-cta-unit .p-btn-wrapper a {
    display: inline-block !important; padding: 10px 24px !important; border-radius: 20px !important;
    font-weight: 600 !important; text-decoration: none !important; font-size: 13px !important;
    transition: all 0.3s ease !important; text-align: center !important;
    box-sizing: border-box !important; border: 2px solid transparent !important;
  }
  #subcul-cta-unit .blue-btn  a { background: var(--p-blue)  !important; color: #fff !important; }
  #subcul-cta-unit .blue-btn  a:hover { background: #fff !important; color: var(--p-blue)  !important; border: 2px solid var(--p-blue)  !important; }
  #subcul-cta-unit .dark-btn  a { background: var(--p-dark)  !important; color: #fff !important; }
  #subcul-cta-unit .dark-btn  a:hover { background: #fff !important; color: var(--p-dark)  !important; border: 2px solid var(--p-dark)  !important; }
  #subcul-cta-unit .prime-btn a { background: var(--p-prime) !important; color: #fff !important; }
  #subcul-cta-unit .prime-btn a:hover { background: #fff !important; color: var(--p-prime) !important; border: 2px solid var(--p-prime) !important; }

  #subcul-cta-unit .p-sub-link { margin-top: 10px; }
  #subcul-cta-unit .p-sub-link a { font-size: 12px !important; color: var(--p-blue) !important; text-decoration: none !important; transition: 0.2s !important; border: none; }
  #subcul-cta-unit .p-sub-link a:hover { color: #cf2e2e !important; text-decoration: underline !important; background: transparent !important; }

  #subcul-cta-unit .p-yahoo-link { margin-top: 4px; }
  #subcul-cta-unit .p-yahoo-link a { font-size: 12px !important; color: var(--p-blue) !important; text-decoration: none !important; transition: 0.2s !important; border: none; }
  #subcul-cta-unit .p-yahoo-link a:hover { color: #cf2e2e !important; text-decoration: underline !important; background: transparent !important; }

  /* ドットナビゲーション */
  #subcul-cta-unit .p-dots { display: flex; justify-content: center; gap: 5px; padding: 0 0 14px; position: relative; z-index: 10; }
  #subcul-cta-unit .p-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(0,0,0,0.15); transition: all 0.25s; cursor: pointer; border: none; pointer-events: auto; display: inline-block; }
  #subcul-cta-unit .p-dot.active { width: 16px; border-radius: 3px; }

  @media (max-width: 768px) {
    #subcul-cta-unit.pure-cta-container { min-height: 350px; border-radius: 0; padding: 40px 0; }
    #subcul-cta-unit .p-pane { padding: 0 25px; }
    #subcul-cta-unit .p-inner { gap: 15px; min-height: auto; flex-direction: row; align-items: center; }
    #subcul-cta-unit .p-visual { width: 100px; height: 140px; min-height: 140px; }
    #subcul-cta-unit .p-visual img { max-width: 100px !important; max-height: 140px !important; }
    #subcul-cta-unit .p-title { font-size: 17px !important; white-space: normal; }
    #subcul-cta-unit .p-text { font-size: 12.5px !important; margin-bottom: 12px !important; }
    #subcul-cta-unit .pure-guide { width: 40px; height: 40px; }
    #subcul-cta-unit .p-svg { width: 22px; height: 22px; }
  }



/* ======================================================
   共通5：関連記事ブロック
====================================================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

.nav-root,
.nav-root * {
  box-sizing: border-box !important;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
}

.nav-root {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  color: #1c1c1e !important;
  line-height: 1.5 !important;
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 18px !important;
  padding: 24px 22px 18px !important;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.05),
    0 12px 32px rgba(0,0,0,0.07) !important;
  margin: 24px auto;
}

@media (max-width: 600px) {
  .nav-root {
    border-radius: 14px !important;
    padding: 18px 14px 14px !important;
  }
}

/* 見出しは少し大きめの18pxを維持 */
.nav-root h3 { display: block !important; font-size: 16px !important; font-weight: 700 !important; color: #1c1c1e !important; margin: 0 0 18px 0 !important; padding: 0 !important; line-height: 1.4 !important; letter-spacing: -0.02em !important; border: none !important; background: none !important; box-shadow: none !important; text-align: left !important; }

/* ラベル・メーター周りを14pxに統一 */
.nav-meta { display: flex !important; align-items: center !important; justify-content: space-between !important; margin: 0 0 10px 2px !important; padding: 0 !important; }
.nav-meta-label { font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.05em !important; color: #8e8e93 !important; margin: 0 !important; padding: 0 !important; }
.nav-count { font-size: 12px !important; font-weight: 600 !important; color: #636366 !important; background: rgba(0,0,0,0.06) !important; padding: 2px 10px !important; border-radius: 20px !important; border: none !important; margin: 0 !important; line-height: 1.4 !important; white-space: nowrap !important; }

.nav-bar { height: 4px !important; background: rgba(0,0,0,0.08) !important; border-radius: 2px !important; overflow: hidden !important; margin: 0 0 18px 0 !important; padding: 0 !important; border: none !important; }
.nav-fill { height: 100% !important; width: 0% !important; background: linear-gradient(90deg, #007aff 0%, #34aadc 100%) !important; border-radius: 2px !important; transition: width 0.75s cubic-bezier(0.22,1,0.36,1) !important; margin: 0 !important; padding: 0 !important; }
.nav-list { list-style: none !important; display: flex !important; flex-direction: column !important; gap: 4px !important; padding: 0 !important; margin: 0 !important; }
.nav-item { padding: 0 !important; margin: 0 !important; }

/* リンクアイテム基本設定（本文16px） */
.nav-item a { display: flex !important; align-items: center !important; gap: 10px !important; padding: 10px 12px !important; margin: 0 !important; border-radius: 10px !important; text-decoration: none !important; font-size: 14px !important; font-weight: 500 !important; color: #1c1c1e !important; letter-spacing: -0.01em !important; border: 1px solid transparent !important; background: transparent !important; box-shadow: none !important; line-height: 1.4 !important; transition: background 0.18s ease, color 0.18s ease, transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s ease !important; cursor: pointer !important; }
.nav-root .icon { width: 22px !important; height: 22px !important; min-width: 22px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 12px !important; flex-shrink: 0 !important; background: rgba(0,122,255,0.10) !important; color: #007aff !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
.nav-desc { display: block !important; font-size: 12px !important; font-weight: 400 !important; color: #636366 !important; line-height: 1.6 !important; margin: 5px 4px 4px 4px !important; padding: 0 !important; }

/* 状態別デザイン（バッジ・矢印を14pxに統一） */
.nav-item.current a { background: rgba(0,122,255,0.07) !important; border-color: rgba(0,122,255,0.15) !important; color: #007aff !important; }
.nav-item.current .icon { background: rgba(0,122,255,0.15) !important; color: #007aff !important; }
.nav-item.current a:hover { background: rgba(0,122,255,0.12) !important; transform: translateX(2px) !important; color: #007aff !important; }
.now-badge { margin-left: auto !important; font-size: 12px !important; font-weight: 600 !important; color: #007aff !important; background: rgba(0,122,255,0.10) !important; padding: 2px 10px !important; border-radius: 20px !important; white-space: nowrap !important; line-height: 1.4 !important; align-self: center !important; flex-shrink: 0 !important; }

.nav-item.done a { color: #aeaeb2 !important; }
.nav-item.done .icon { background: rgba(0,0,0,0.05) !important; color: #c7c7cc !important; }
.nav-item.done a:hover { background: rgba(0,0,0,0.04) !important; transform: translateX(2px) !important; color: #8e8e93 !important; }
.nav-item.done .nav-desc { color: #aeaeb2 !important; }

.nav-item.normal a:hover { background: rgba(0,0,0,0.04) !important; transform: translateX(2px) !important; color: #1c1c1e !important; }
.nav-item.normal a:active, .nav-item.current a:active, .nav-item.done a:active { transform: scale(0.985) !important; background: rgba(0,0,0,0.07) !important; }

.nav-root .divider { height: 1px !important; background: rgba(0,0,0,0.07) !important; margin: 8px 2px !important; padding: 0 !important; border: none !important; }

/* NEXTバッジ付き（文字サイズ14px調整にともない、はみ出さないよう余白も最適化） */
.nav-item.next { margin-top: 6px !important; }
.nav-item.next a { background: #ffffff !important; border-color: rgba(0,122,255,0.22) !important; box-shadow: 0 1px 3px rgba(0,122,255,0.07), 0 4px 16px rgba(0,122,255,0.10) !important; color: #007aff !important; padding: 14px 12px 10px !important; font-weight: 600 !important; position: relative !important; }
.nav-item.next a:hover { background: #f0f6ff !important; box-shadow: 0 2px 8px rgba(0,122,255,0.12), 0 8px 28px rgba(0,122,255,0.16) !important; transform: translateY(-2px) !important; border-color: rgba(0,122,255,0.35) !important; color: #007aff !important; }
.nav-item.next a:active { transform: translateY(0) scale(0.99) !important; }
.nav-item.next .icon { background: rgba(0,122,255,0.12) !important; color: #007aff !important; }
.next-label { position: absolute !important; top: -10px !important; left: 14px !important; font-size: 12px !important; font-weight: 700 !important; color: #007aff !important; background: #ffffff !important; padding: 0 6px !important; margin: 0 !important; line-height: 1 !important; }
.next-arrow { margin-left: auto !important; font-size: 12px !important; font-weight: 700 !important; color: #007aff !important; opacity: 0.55 !important; line-height: 1 !important; transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), opacity 0.2s !important; }
.nav-item.next a:hover .next-arrow { transform: translateX(4px) !important; opacity: 1 !important; }

/* RECOMMENDバッジ付き */
.nav-item.recommend a { background: #fff8f0 !important; border-color: rgba(255,149,0,0.28) !important; box-shadow: 0 1px 3px rgba(255,149,0,0.07), 0 4px 16px rgba(255,149,0,0.09) !important; color: #b35c00 !important; padding: 14px 12px 10px !important; font-weight: 600 !important; position: relative !important; }
.nav-item.recommend a:hover { background: #fff3e0 !important; box-shadow: 0 2px 8px rgba(255,149,0,0.13), 0 8px 28px rgba(255,149,0,0.14) !important; transform: translateY(-2px) !important; border-color: rgba(255,149,0,0.45) !important; color: #b35c00 !important; }
.nav-item.recommend a:active { transform: translateY(0) scale(0.99) !important; }
.nav-item.recommend .icon { background: rgba(255,149,0,0.13) !important; color: #e07800 !important; }
.recommend-label { position: absolute !important; top: -10px !important; left: 14px !important; font-size: 12px !important; font-weight: 700 !important; color: #e07800 !important; background: #fff8f0 !important; padding: 0 6px !important; margin: 0 !important; line-height: 1 !important; }
.recommend-arrow { margin-left: auto !important; font-size: 12px !important; font-weight: 700 !important; color: #e07800 !important; opacity: 0.55 !important; line-height: 1 !important; transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), opacity 0.2s !important; }
.nav-item.recommend a:hover .recommend-arrow { transform: translateX(4px) !important; opacity: 1 !important; }

/* 下部リセットエリア（14pxに統一） */
.reset-wrap { text-align: right !important; margin: 14px 0 0 0 !important; padding: 0 !important; }
.reset-btn { background: none !important; border: none !important; box-shadow: none !important; font-size: 12px !important; color: #c7c7cc !important; cursor: pointer !important; padding: 2px 4px !important; margin: 0 !important; border-radius: 4px !important; transition: color 0.15s !important; }
.reset-btn:hover { color: #8e8e93 !important; }

/* 初期SEO用静的状態（本文16pxに統一） */
#nav-root-container nav ul { list-style: none; padding: 0; margin: 0; }
#nav-root-container nav li { margin-bottom: 8px; font-size: 14px; }
#nav-root-container nav a { color: #007aff; text-decoration: none; font-weight: 500; }
#nav-root-container nav a:hover { text-decoration: underline; }



/* ======================================================
   共通6：引用元ブロック
====================================================== */
.ac-citation-section {
  max-width: 660px;
  margin: 32px auto 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.ac-citation-list {
  padding-left: 20px;
  margin: 0;
  list-style-type: disc;
}
.ac-citation-list li {
  font-size: 12px;
  line-height: 1.6; /* 文字が大きくなったので行間をわずかにスマートに調整 */
  color: #86868b;
  margin-bottom: 8px;
}
.ac-citation-list li:last-child {
  margin-bottom: 0;
}
.ac-citation-list a {
  color: #0071e3;
  text-decoration: underline;
  transition: color 0.15s ease;
}
.ac-citation-list a:hover {
  color: #dc2626;
}

/* スマホ時も14pxを維持し、余白だけを最適化 */
@media (max-width: 768px) {
  .ac-citation-section {
    margin: 24px 0 16px;
    padding: 12px 4px 0;
  }
}



/* ======================================================
   共通7：pochipp漫画表紙ギャラリーブロック
====================================================== */
#pochipp-gallery-001 {
  --gap:         10px;
  --cols-pc:     4;
  --cols-sp:     2;
  --max-img:     180px;
  --scale-hover: 1.18;
  --shadow:      0 10px 24px rgba(0,0,0,0.18);
  --overlay-bg:  rgba(255,100,0,0.85);
  --transition:  0.32s cubic-bezier(0.25,0.46,0.45,0.94);
  container-type: inline-size;
}

/* ポチップボックスリセット */
#pochipp-gallery-001 .pochipp-image-only .pochipp-box {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__body,
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__btnwrap,
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__price,
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__logo,
#pochipp-gallery-001 .pochipp-image-only .pochipp-logo {
  display: none !important;
}
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__imgwrap,
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__img {
  padding: 0 !important;
  margin: 0 !important;
}
#pochipp-gallery-001 .pochipp-image-only .pochipp-box__img img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== グリッド ===== */
#pochipp-gallery-001 .pochipp-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ===== 各アイテム ===== */
#pochipp-gallery-001 .pochipp-image-only {
  flex: 0 0 calc(100% / var(--cols-pc) - var(--gap));
  max-width: var(--max-img);
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  will-change: transform;
  transition: transform var(--transition), filter var(--transition);
  outline-offset: 3px;
}
#pochipp-gallery-001 .pochipp-image-only:focus-visible {
  outline: 3px solid var(--overlay-bg);
}

/* ===== オーバーレイ（下部・8割幅の帯） ===== */
#pochipp-gallery-001 .pochipp-image-only::after {
  content: "Amazonで見る ▶";
  position: absolute;
  inset: auto 20% 6px 20%;  /* 左右10%ずつ＝横幅60% / 下から6px浮かせる */
  border-radius: 4px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--overlay-bg);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
#pochipp-gallery-001 .pochipp-image-only.is-clicked::after {
  opacity: 1;
}

#pochipp-gallery-001 .pochipp-image-only:hover::after {
  opacity: 1;
}

/* ===== ホバーアニメーション（PC） ===== */
#pochipp-gallery-001 .pochipp-image-only:hover {
  transform: scale(var(--scale-hover)) translateY(-6px);
  filter: drop-shadow(var(--shadow));
  z-index: 2;
}
#pochipp-gallery-001 .pochipp-image-row:has(.pochipp-image-only:hover) .pochipp-image-only:not(:hover) {
  transform: scale(0.96);
  filter: brightness(0.88);
}

/* ===== prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  #pochipp-gallery-001 .pochipp-image-only {
    transition: none !important;
  }
}

/* ===== モバイル ===== */
@media (max-width: 600px) {
  #pochipp-gallery-001 .pochipp-image-only {
    flex: 0 0 calc(100% / var(--cols-sp) - var(--gap)) !important;
    max-width: none !important;
  }
  #pochipp-gallery-001 .pochipp-image-only.is-clicked {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(var(--shadow));
  }
}

/* ======================================================
   相関図3：キャラ一覧ブロック
====================================================== */
/* --- スコープ定義とCSSリセット --- */
.char-directory-scope {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans JP", sans-serif;
  color: #1d1d1f;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  background-color: transparent;
  font-size: 16px;
  box-sizing: border-box;
}

.char-directory-scope *, 
.char-directory-scope *::before, 
.char-directory-scope *::after {
  box-sizing: border-box;
}

/* WordPress干渉回避リセット */
.char-directory-scope h3 {
  margin: 0; padding: 0; background: none; border: none; font-size: 100%; font-weight: normal; color: inherit; box-shadow: none;
}
.char-directory-scope table, 
.char-directory-scope th, 
.char-directory-scope td {
  border: none; margin: 0; padding: 0; background: none; box-shadow: none; border-spacing: 0; border-collapse: collapse;
}

/* --- 検索・操作エリア --- */
.char-directory-scope .control-bar {
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.char-directory-scope .search-input {
  flex-grow: 1;
  padding: 12px 16px;
  font-size: 16px !important;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px;
  background-color: #f5f5f7 !important;
  color: #1d1d1f !important;
  transition: all 0.3s ease;
  appearance: none;
  margin: 0;
  box-shadow: none !important;
}

.char-directory-scope .search-input:focus {
  background-color: #ffffff !important;
  border-color: #0071e3 !important;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15) !important;
}

.char-directory-scope .toggle-all-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 14px !important;
  font-weight: 700;
  font-family: inherit;
  color: #0071e3;
  background-color: #e8f2ff;
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.char-directory-scope .toggle-all-btn:hover {
  background-color: #d0e4ff;
}

/* --- テーブルラッパー --- */
.char-directory-scope .table-wrapper {
  background-color: transparent;
  border: none;
}

/* --- 組織セクション（カード型） --- */
.char-directory-scope .org-section {
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ヘッダー */
.char-directory-scope .org-header {
  margin: 0;
  padding: 16px 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid transparent; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.char-directory-scope .org-header:hover {
  background-color: #fbfbfd;
}

.char-directory-scope .org-section.is-open .org-header {
  border-bottom: 1px solid #e5e5ea;
}

.char-directory-scope .org-name {
  font-size: 16px !important;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 0.02em;
}

.char-directory-scope .toggle-icon {
  font-size: 12px;
  color: #86868b;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.char-directory-scope .org-section.is-open .toggle-icon {
  transform: rotate(180deg);
}

/* コンテンツエリア */
.char-directory-scope .org-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0;
}

.char-directory-scope .org-section.is-open .org-content {
  max-height: 9999px;
  opacity: 1;
  transition: max-height 0.6s ease-in-out, opacity 0.4s ease;
}

/* --- テーブルスタイル --- */
.char-directory-scope table {
  width: 100%;
  margin: 0;
}

.char-directory-scope th, 
.char-directory-scope td {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5ea;
  text-align: left;
  vertical-align: middle;
  color: #1d1d1f;
  background: none;
}

.char-directory-scope tr:last-child th,
.char-directory-scope tr:last-child td {
  border-bottom: none;
}

/* 行のスタイルとホバーエフェクト */
.char-directory-scope tbody tr {
  transition: background-color 0.15s ease-in-out;
}

.char-directory-scope tbody tr:hover {
  background-color: #f2f2f7 !important;
}

/* 名前セル */
.char-directory-scope th {
  width: 30%;
  background-color: #fff !important;
  font-weight: 700;
  white-space: normal;
  font-size: 15px !important;
  transition: box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.char-directory-scope tbody tr:hover th {
  background-color: #f2f2f7 !important;
  box-shadow: inset 4px 0 0 0 #0071e3;
}

/* 説明セル */
.char-directory-scope td {
  font-size: 13px !important;
  color: #424245;
  line-height: 1.7;
  background-color: #fff !important;
  transition: background-color 0.15s ease-in-out;
}

.char-directory-scope tbody tr:hover td {
  background-color: #f2f2f7 !important;
}

/* 通称・肩書き */
.char-directory-scope .char-title {
  display: block;
  font-size: 11px !important;
  font-weight: 500;
  color: #86868b;
  margin-top: 4px;
}

/* 死亡マーク */
.char-directory-scope .dead-mark {
  font-size: 12px;
  margin-left: 4px;
  color: #1d1d1f;
}

/* 表示制御用クラス */
.char-directory-scope .row-hidden { display: none !important; }
.char-directory-scope .section-hidden { display: none !important; }

/* スマホ対応 */
@media (max-width: 600px) {
  .char-directory-scope th { 
    width: 100%; 
    display: block;
    padding: 14px 16px 4px 16px;
    border-bottom: none;
  }
  .char-directory-scope td {
    width: 100%;
    display: block;
    padding: 0 16px 14px 16px;
    border-bottom: 1px solid #e5e5ea;
  }
  .char-directory-scope tr:last-child td {
    border-bottom: none;
  }
  .char-directory-scope tbody tr:hover th {
    box-shadow: inset 3px 0 0 0 #0071e3;
  }
}

/* ゼブラストライプ */
.char-directory-scope tbody tr:nth-child(even) th,
.char-directory-scope tbody tr:nth-child(even) td {
  background-color: #f9f9f9 !important;
}
