/*
  Theme Name: diver_child
  Template: diver
  Description: Diver子テーマ（軽量・安定版）
  Theme URI: http://tan-taka.com/diver/
  Author: Takato Takagi
*/

/* ===== ベース ===== */
body{ font-family:'Meiryo','メイリオ',sans-serif; }
*,*::before,*::after{ box-sizing:border-box; }

/* ===== 画像トリミング ===== */
.capture img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
.capture_thumb img{ width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; display:block; }

/* ===== 本文段落 ===== */
.entry-content p{ margin:0; }

/* ===== ホバー ===== */
.col_2 img:hover,.col_3 img:hover{ opacity:.7; transition:opacity .3s ease; }

/* =================================================================
   レイアウト
================================================================= */
/* 本文内 .col_2：PC/スマホ共通で常時2列 */
.entry-content .col_2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
  width:100%;
}
.entry-content .col_2 > *{ min-width:0; margin:0; padding:2.5px; }
.entry-content .col_2 img{ width:100%; height:auto; display:block; }
/* 親テーマのSP1列ルールを無効化（保険） */
@media (max-width:960px){ .entry-content .col_2 > div{ width:auto; } }

/* 本文外の3列（従来） */
.col_3{ width:100%; display:flex; flex-wrap:wrap; }
.col_3 > div{ width:33.33333%; padding:2.5px; font-size:13px; text-align:center; margin:0; }
@media (max-width:960px){ .col_3 > div{ width:50%; } }
@media (max-width:480px){ .col_3 > div{ width:100%; } }

/* 補助 */
img.line{ border:1px solid #000; box-shadow:10px 10px 15px -10px; }
.small{ font-size:.9em; color:#414141; padding:5px 0; }
.text-c{ text-align:center; }

/* =================================================================
   ランキング
================================================================= */
.ranking-list{ list-style:none; margin:0; padding:0; }
.ranking-list li{ display:flex; align-items:flex-start; margin-bottom:15px; border-bottom:1px dotted #ccc; padding-bottom:12px; position:relative; }
.rank-thumb{ position:relative; width:100px; height:100px; margin-right:10px; flex-shrink:0; }
.rank-thumb a{ display:block; width:100%; height:100%; }
.rank-thumb img{ width:100px; height:100px; object-fit:cover; border-radius:5px; transition:.3s; }
.rank-thumb img:hover{ opacity:.7; }
.rank-num{ position:absolute; top:-6px; left:-6px; width:28px; height:28px; background:#f90; color:#fff; font-size:.9em; font-weight:bold; text-align:center; line-height:28px; border-radius:50%; z-index:2; }
.ranking-list li:nth-child(2) .rank-num{ background:#bbb; }
.ranking-list li:nth-child(3) .rank-num{ background:#cd7f32; }
.ranking-list li:nth-child(n+4) .rank-num{ background:#555; }
.rank-text{ flex:1; font-size:.85em; }
.rank-text a{ text-decoration:none; color:#333; line-height:1.3; }
.rank-text a:hover{ color:#ff1493; text-decoration:underline; }

/* =================================================================
   俳優グリッド（5列→SP2列）
================================================================= */
.actor-grid{ display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; justify-content:center; }
.actor-grid li{ flex:1 1 calc(20% - 10px); box-sizing:border-box; text-align:center; }
.actor-grid li a{ display:block; padding:10px; text-decoration:none; color:goldenrod; border:1px solid goldenrod; border-radius:5px; background:#fff; transition:background-color .3s,color .3s,border-color .3s; }
.actor-grid li a:hover{ background:goldenrod; color:#fff; border-color:goldenrod; }
@media (max-width:600px){ .actor-grid li{ flex:1 1 calc(50% - 10px); } }

/* =================================================================
   独立2列
================================================================= */
.col_2a{ width:100%; display:flex; flex-wrap:wrap; }
.col_2a > *{ width:calc(50% - 6px); margin-right:12px; margin-bottom:12px; }
.col_2a > *:nth-child(2n){ margin-right:auto; }

/* =================================================================
   プロフィール
================================================================= */
.profile-wrap{ display:flex; align-items:stretch; gap:1rem; flex-wrap:wrap; }
.profile-left{ flex:0 0 40%; display:flex; flex-direction:column; }
.profile-img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.profile-right{ flex:1; display:flex; flex-direction:column; }
.profile-table{ width:100%; height:100%; border-collapse:collapse; }
@media (max-width:768px){
  .profile-left,.profile-right{ flex:0 0 100%; width:100%; }
  .profile-wrap{ flex-direction:column; }
  .profile-img{ height:auto; }
}

/* =================================================================
   detail-table
================================================================= */
.kireina-detail-table{ width:100%; border-collapse:separate; border-spacing:0; margin:30px 0; font-size:16px; min-width:320px; background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,.1); }
.kireina-detail-table th,.kireina-detail-table td{ padding:16px 20px; border-bottom:1px solid #eee; }
.kireina-detail-table th{ background:linear-gradient(to right,#f9f9f9,#ececec); font-weight:bold; text-align:left; width:30%; }
.kireina-detail-table td{ background:#fff; }
.kireina-detail-table tr:last-child th,.kireina-detail-table tr:last-child td{ border-bottom:none; }
.kireina-detail-table tr:hover td{ background:#f1f7ff; }
@media (max-width:600px){ .kireina-detail-table, .kireina-detail-table th, .kireina-detail-table td{ font-size:14px; padding:12px 15px; } }

/* =================================================================
   光るボタン
================================================================= */
.shiny-btn1,.shiny-btn2{
  display:block; position:relative; width:100%; padding:10px; margin:20px auto;
  border-radius:5px; font-weight:bold; font-size:16px; color:#fff; text-align:center; text-decoration:none; overflow:hidden;
}
.shiny-btn1{ background:#f00; box-shadow:0 3px 0 0 rgba(255,0,0,1); }
.shiny-btn2{ background:#00f; box-shadow:0 3px 0 0 rgba(0,0,255,1); }
.shiny-btn1:hover,.shiny-btn2:hover{ color:#fff; box-shadow:none; transform:translateY(3px); }
.shiny-btn1::before,.shiny-btn2::before{ position:absolute; content:''; top:-180px; left:0; width:30px; height:100%; background:#fff; animation:shiny 3s ease-in-out infinite; }
@-webkit-keyframes shiny{
  0%{-webkit-transform:scale(0) rotate(45deg);opacity:0}
  80%{-webkit-transform:scale(0) rotate(45deg);opacity:.5}
  81%{-webkit-transform:scale(4) rotate(45deg);opacity:1}
  100%{-webkit-transform:scale(50) rotate(45deg);opacity:0}
}
@keyframes shiny{
  0%{transform:scale(0) rotate(45deg);opacity:0}
  80%{transform:scale(0) rotate(45deg);opacity:.5}
  81%{transform:scale(4) rotate(45deg);opacity:1}
  100%{transform:scale(50) rotate(45deg);opacity:0}
}



/* =================================================================
   ページネーション
================================================================= */
.pager{ text-align:center; margin:30px auto; font-family:sans-serif; }
.pager .page-numbers{ display:inline-flex; flex-wrap:wrap; justify-content:center; gap:6px; padding:0; margin:0 auto; list-style:none; }
.pager .page-numbers li{ display:inline-block; }
.pager .page-numbers a,.pager .page-numbers span{
  display:inline-block; min-width:40px; padding:10px 14px; font-size:14px;
  border-radius:6px; text-decoration:none; border:1px solid #ccc;
  background:#f7f7f7; color:#333; transition:.2s; text-align:center; line-height:1;
}
.pager .page-numbers a:hover{ background:#0073aa; color:#fff; border-color:#0073aa; }
.pager .page-numbers .current{ background:#0073aa; color:#fff; font-weight:bold; border-color:#0073aa; }

/* =================================================================
   Gutenberg画像
================================================================= */
.entry-content .wp-block-image img{ display:block; width:100%; height:auto; }
.entry-content .wp-block-image + .wp-block-image{ margin-top:16px; }

/* =================================================================
   CTA（btn1）
================================================================= */
.btn1{ margin:50px 0; padding:0; background:#fafafa; border-radius:5px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:0; }
.btn1 a{ text-decoration:none!important; }
.btn1 .btn-copy{ font-size:1.5rem; font-weight:bold; display:block; margin:0!important; padding:0!important; line-height:1; }
.btn1 .btn-copy:before{ content:'＼'; margin-right:1rem; }
.btn1 .btn-copy:after{ content:'／'; margin-left:1rem; }
.btn1 .btn1-1{
  position:relative; display:block; width:100%; padding:20px; margin:0!important;
  text-decoration:none; border-radius:5px; color:#fff!important; background:#ffa500; border:1px solid #ffa500;
  box-shadow:0 3px 0 #c62828; font-weight:bold; font-size:120%;
}
.btn1 .btn1-1:hover{ opacity:.5; }
.btn1 .btn-copy2{ font-size:80%; margin:0!important; padding:0!important; line-height:1; }
.btn1-1--green{ background:#008000; border-color:#008000; color:#fff!important; box-shadow:0 3px 0 #006400; }
.btn1 .btn1-1.btn1-1--green,
.btn1 .btn1-1.btn1-1--green:link,
.btn1 .btn1-1.btn1-1--green:visited{ background:#008000!important; border-color:#008000!important; color:#fff!important; box-shadow:0 3px 0 #006400!important; }
.btn1 .btn1-1.btn1-1--green:hover{ opacity:.5; color:#fff!important; }
.btn1 .btn1-1.btn1-1--green *{ color:#fff!important; }






/* ===============================
   Card Fix Pack (FINAL)
   - Related videos (.sc_article.grid) → 末尾の矯正パッチで定義
   - [article_cards] PC=4列 / 1200px=3列 / 900px以下=2列
   Theme: Diver (child)
   =============================== */


/* =========================================
   2) [article_cards] レイアウト本体
   構造：
   .custom-article-wrapper > (.row | .cards-row) > .sc_col2 > .card-style > a.card-link > (.card-img + .card-body)
   ========================================= */

/* 親をグリッドに（PC=4 / 1200px=3 / 900px以下=2） */
.custom-article-wrapper{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:24px;
}
@media (max-width:1200px){
  .custom-article-wrapper{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px){
  .custom-article-wrapper{ grid-template-columns:repeat(2,1fr); } /* ←スマホ2列 */
}

/* PHPが出す行コンテナは中身だけグリッドに流す */
.custom-article-wrapper > .row,
.custom-article-wrapper > .cards-row{
  display:contents !important;
  margin:0 !important; padding:0 !important; border:0 !important;
  --bs-gutter-x:0; --bs-gutter-y:0; /* Bootstrap系のガター無効化 */
} /* clearfix無効化 */

/* テーマ由来の列ユーティリティを無効化（セルいっぱい使う） */
.custom-article-wrapper .sc_col2{
  width:auto !important; max-width:none !important;
  margin:0 !important; padding:0 !important;
  float:none !important; display:block !important;
}

/* --- カード箱（枠・角丸・薄い影） --- */
.custom-article-wrapper .card-style{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
}

/* カード全体をリンク化（使っていなくても支障なし） */
.custom-article-wrapper .card-link{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  height:100%;
}

/* --- サムネ：3:2で統一 --- */
.custom-article-wrapper .card-img{
  width:100%;
  aspect-ratio:3/2;
  overflow:hidden;
  background:#f3f4f6;
}

/* --- 本文 --- */
.custom-article-wrapper .card-body{
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1 1 auto;
}

/* --- ボタン（見た目） --- */
.custom-article-wrapper .card-body .btn,
.custom-article-wrapper .card-body a.btn{
  display:block;
  width:100%;
  text-align:center;
  margin-top:auto;
  padding:10px 12px;
  border-radius:10px;
  background:#0d6efd;
  color:#fff;
  font-weight:700;
  border:1px solid rgba(0,0,0,.06);
}

/* クリック不能対策（画像層がイベントを奪わない） */
.custom-article-wrapper .card-img,
.custom-article-wrapper .card-img *{ pointer-events:none; }

/* ページャ（任意） */
.custom-article-wrapper + .pager{ margin-top:8px; text-align:center; }
.pager ul{ list-style:none; margin:0; padding:0; display:inline-flex; gap:8px; }
.pager .page-numbers{ display:inline-block; padding:8px 12px; border-radius:8px; background:#f2f2f2; }
.pager .current{ background:#0d6efd; color:#fff; }




/* ====== Fix: トップのカード のスマホ崩れ ======
   (関連動画 ul.sc_article.grid は style.css 末尾の矯正パッチに統一) */

/* トップのカード一覧（.custom-article-wrapper）を強制上書き */
.custom-article-wrapper{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr)) !important; /* PC=4 */
  gap:24px !important;
}
@media (max-width:1200px){
  .custom-article-wrapper{ grid-template-columns:repeat(3,1fr) !important; }
}
@media (max-width:900px){
  .custom-article-wrapper{ grid-template-columns:repeat(2,1fr) !important; }  /* スマホ=2 */
}
/* 行コンテナは中身だけ流す */
.custom-article-wrapper > .row,
.custom-article-wrapper > .cards-row{ display:contents !important; margin:0 !important; padding:0 !important; border:0 !important; }

/* 子要素の古い幅指定/floatを完全に潰す（“4枠の中に2列”化の元凶対策） */
.custom-article-wrapper .sc_col2{
  width:auto !important; max-width:none !important; margin:0 !important; padding:0 !important;
  float:none !important; display:block !important; min-width:0 !important;
}

/* カード箱：角丸・薄い影 */
.custom-article-wrapper .card-style{
  background:#fff; border:1px solid #e5e7eb; border-radius:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.04); overflow:hidden;
  height:100%; display:flex; flex-direction:column;
}

/* 全体リンク（安全に上書き） */
.custom-article-wrapper .card-link{
  display:flex; flex-direction:column; text-decoration:none; color:inherit; height:100%;
}

/* サムネは3:2でトリミング */
.custom-article-wrapper .card-img{ position:relative; width:100%; aspect-ratio:3/2; overflow:hidden; }

/* 本文部分 */
.custom-article-wrapper .card-body{ display:flex; flex:1 1 auto; flex-direction:column; gap:8px; padding:10px; }

/* ===============================
   Card/Grid unified styles
   (Related videos ul.sc_article.grid は末尾の矯正パッチに統一)
   =============================== */

/* [article_cards] main layout (PC=4 / <=1200px=3 / <=900px=2) — 5px frame design */
.custom-article-wrapper{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;                       /* frame-to-frame gap */
  margin:0; padding:0;
}
@media (max-width:1200px){
  .custom-article-wrapper{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px){
  .custom-article-wrapper{ grid-template-columns:repeat(2,1fr); }
}
/* Neutralize theme rows inside wrapper */
.custom-article-wrapper > .row,
.custom-article-wrapper > .cards-row{
  display:contents !important;
  margin:0 !important; padding:0 !important; border:0 !important;
  --bs-gutter-x:0; --bs-gutter-y:0;
}
.custom-article-wrapper > .row::before,
.custom-article-wrapper > .row::after{ content:none !important; }

/* Columns */
.custom-article-wrapper .sc_col2{
  width:auto !important; max-width:none !important;
  margin:0 !important; padding:0 !important;
  float:none !important; display:block !important;
}

/* Card (frame, radius, subtle shadow) */
.custom-article-wrapper .card-style{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  overflow:hidden;
}

/* Make entire card clickable */
.custom-article-wrapper .card-link{
  display:block; text-decoration:none; color:inherit;
}

/* Image */
.custom-article-wrapper .card-img{
  position:relative; width:100%;
  aspect-ratio:4/3; overflow:hidden;
  background:#f4f4f5;
}
.custom-article-wrapper .card-img img{
  width:100%; height:100%;
  object-fit:cover; display:block;
}

/* Text */
.custom-article-wrapper .card-body{
  display:flex; flex-direction:column; gap:6px;
  padding:5px;                    /* inside frame gap */
}
.custom-article-wrapper .card-body h4{
  margin:0; font-size:14px; line-height:1.35; font-weight:600;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.custom-article-wrapper .card-body .meta{ font-size:12px; color:#6b7280; }
.custom-article-wrapper .card-body .code{ font-size:12px; color:#374151; font-weight:600; }
.custom-article-wrapper .card-body .label{ font-size:12px; color:#111827; }

/* タイトルは最大2行まで表示（3行目の頭が見えないようにする） */
.custom-article-wrapper .card-body .info.work_title{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  line-height:1.4 !important;
  max-height:2.7em !important;
  white-space:normal !important;
  word-break:break-word !important;
}
.custom-article-wrapper .card-body .info.work_title strong{
  display:inline !important;
  font-weight:600 !important;
}

/* CTA button (full width) */
.custom-article-wrapper .card-body .btn{
  display:block; width:100%;
  text-align:center; text-decoration:none;
  padding:10px 12px; border-radius:10px;
  background:#ff1493; color:#fff;
  font-weight:700; line-height:1;
  transition:.2s;
}
.custom-article-wrapper .card-body .btn:hover,
.custom-article-wrapper .card-body .btn:focus{
  filter:brightness(0.95);
}

/* Ensure card remains clickable (no overlay blocks) */
.custom-article-wrapper .card-img, 
.custom-article-wrapper .card-img *{ pointer-events:none; }
.custom-article-wrapper .card-link, 
.custom-article-wrapper .card-body{ pointer-events:auto; }

/* 3) Label row link colors (moved from inline <style>) */
body table tr.is-label-row > td a:link    { color:#00f !important; }
body table tr.is-label-row > td a:visited { color:#000 !important; }
body table tr.is-label-row > td a:hover,
body table tr.is-label-row > td a:focus,
body table tr.is-label-row > td a:active  { color:#ff1493 !important; text-decoration:underline; font-weight:bold; }


/* ============================================================
   ★ Diver [article layout="grid"] 矯正パッチ（一元管理）
   - 親テーマは <ul class="sc_article grid"> > <a> > <li> 構造を出す
   - 親 .sc_article.grid > a { width: calc(33.333% - 16px) } が
     残るとサムネが 1/3 に縮むので、ここで <a> 幅を上書きする
   ============================================================ */

/* 1) <ul> をグリッドコンテナに（PC=4 / <=1200px=3 / <=768px=2） */
ul.sc_article.grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  gap:16px !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 0 16px !important;
  height:auto !important;
}
@media (max-width:1200px){
  ul.sc_article.grid{ grid-template-columns:repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width:768px){
  ul.sc_article.grid{ grid-template-columns:repeat(2, minmax(0,1fr)) !important; gap:12px !important; }
}

/* 2) ★最重要★ 直下の <a>＝グリッドアイテム。親テーマの calc(33.333%) を完全無効化 */
ul.sc_article.grid > a,
.sc_article.grid > a{
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  background:#fff !important;
  box-shadow:0 1px 4px rgba(0,0,0,.08) !important;
  border-radius:10px !important;
  overflow:hidden !important;
  text-decoration:none !important;
  color:inherit !important;
  vertical-align:top !important;
  transition:transform .2s ease, box-shadow .2s ease !important;
}
ul.sc_article.grid > a:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,.12) !important;
}

/* 3) <a> 内の <li> は全幅ブロック扱い */
ul.sc_article.grid > a > li,
.sc_article.grid li{
  width:100% !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  white-space:normal !important;
  overflow:visible !important;
  display:block !important;
}

/* 4) サムネ枠（<figure>）— 親の固定 100×80 を打ち消す */
ul.sc_article.grid .post_list_thumb,
ul.sc_article.grid .post-box-thumbnail__wrap{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/9 !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  overflow:hidden !important;
  background:#f1f1f1 !important;
  border-radius:0 !important;
}

/* 5) サムネ画像 */
ul.sc_article.grid .post_list_thumb img,
ul.sc_article.grid .post-box-thumbnail__wrap img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* 6) カテゴリバッジ */
ul.sc_article.grid .sc_article_cat{
  position:absolute !important;
  right:6px !important;
  bottom:6px !important;
  top:auto !important;
  left:auto !important;
  padding:2px 8px !important;
  font-size:12px !important;
  line-height:1.5 !important;
  color:#fff !important;
  background:rgba(0,0,0,.6) !important;
  border-radius:9999px !important;
  margin:0 !important;
}

/* 7) メタ部 */
ul.sc_article.grid .meta{
  padding:8px 10px 10px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
}
ul.sc_article.grid .sc_article_title{
  font-size:13px !important;
  line-height:1.4 !important;
  font-weight:600 !important;
  color:#222 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  margin:0 !important;
}
ul.sc_article.grid .sc_article_date{
  font-size:11px !important;
  color:#888 !important;
  margin:0 !important;
  min-width:0 !important;
}

/* 女優ジャケット(card)マウスオン: 画像の10px内側に1pxの白枠を四辺描画 */
.asc-jk-card .card-img{position:relative}
.asc-jk-card:hover .card-img::after{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border:1px solid #fff;pointer-events:none;z-index:2}

/* =================================================================
   taxonomy「label」アーカイブ FIX2026-06-14g（実機検証済み・Diver標準に一致）
   方針：見出しは Diver 標準の「.content h2」リボンに“任せる”。独自上書きしない。
        （.label-archive-wrap が class="content" を持つため、内側のh2は
         Diver既定の全幅ピンクリボン＝枠から左右にはみ出す形＋灰色の折返しになる。
         デスクトップ/スマホともDiver既定と完全一致。）
   - #main に Diver標準アーカイブと同じ桁あけ（本文1039px＋サイドバー310px）
   - 白カードは Diver の本文セクション（.single-post-main: padding 16px 40px）に合わせる
     → h2 の margin:-50px が効いてカード端から左右に10pxはみ出す＝標準と同じ
================================================================= */

/* --- Diver標準の2カラム桁あけ（サイドバー幅をデフォルトに） --- */
body.tax-label #main{
  padding:0 330px 0 0 !important;
  margin:0 -330px 0 0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
@media (max-width:960px){
  body.tax-label #main{ padding-right:0 !important; margin-right:0 !important; }
}

/* --- コンテンツ全体を囲む白カード（Diver本文セクションと同じ余白） --- */
body.tax-label #main .label-archive-wrap{
  background:#fff !important;
  padding:16px 40px !important;
  margin:0 0 24px !important;
  border-radius:0 !important;
  box-shadow:rgba(150,150,150,.2) 0 0 5px 0 !important;
  overflow:visible !important;
}

/* --- 内側ブロックは枠なし・間隔のみ（.content の入れ子は維持＝h2リボンが効く） --- */
body.tax-label #main .label-archive-wrap .content,
body.tax-label #main .label-archive-wrap .fanza-term-desc,
body.tax-label #main .label-archive-wrap .label-archive{
  background:transparent !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin:0 0 22px !important;
}

/* 見出し h2 は Diver標準の .content h2（全幅ピンクのリボン）に委ねるため、
   ここでは一切上書きしない。 */

/* =================================================================
   ターム アイキャッチ画像（mu-term-eyecatch）
================================================================= */
.term-eyecatch{ margin:0 0 20px; }
.term-eyecatch img,
.term-eyecatch .term-eyecatch-img{
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
}
/* labelカード内では角丸を少し抑えて余白調整 */
body.tax-label #main .label-archive-wrap .term-eyecatch{ margin:0 0 18px; }

/* =================================================================
   actor-grid 高さ揃え＆文字統一（不揃い解消）
   - 行内のボックスを等高（stretch＋a高さ100%でflex中央寄せ）
   - 文字サイズ・太さを固定（1行/2行でも見た目を揃える）
================================================================= */
.actor-grid{ align-items:stretch !important; }
.actor-grid li{
  display:flex !important;        /* 子のaを高さいっぱいに伸ばす */
  align-items:stretch !important;
}
.actor-grid li a{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:46px !important;     /* 1行ボックスの最低高さ */
  padding:8px 10px !important;
  font-size:14px !important;
  font-weight:400 !important;     /* 太字をやめて統一 */
  line-height:1.3 !important;
  text-align:center !important;
  word-break:break-word !important;
}
