/* -----------------------------------------
 * サムネイル非表示
 * .entry_thumb {
   display: none;
}
 * 
 * -------- */

/* ------------------------------------------------- */

/* -----------------------------------------------人気記事サムネイル非表示-- */
/* 人気記事サムネイル非表示
.widget_recent_entries_img .widget_recent_entries_thumb {
    display: none;
}
.widget_recent_entries_img .list_widget_recent_entries_img li {
    height: auto!important;
}
.widget_recent_entries_img .list_widget_recent_entries_img .widget_recent_entries_img_entry_title a {
    height: auto!important;
}
-------- */


/* ------------------------------------------------- */

/* ------------------------------------------------- */
@media only screen and (max-width : 736px){
  .keni-sub { clear: both; }
  .entry_description { display: none; }
}
/* ------------------------------------------------- */
/* ------------------------------------------------- */

ul.related-entry-list.related-entry-list_style01 .related-entry_thumb { display: none; }

/* ------------------------------------------------- */
/* ----続きを読む非表示化--------------------------------------------- */
.entry_description { display: none!important; }
@media only screen and (max-width : 736px){
  .ently_read-more { display: none; }
}
/* ------------------------------------------------- */
/* スマホ幅では3列固定にする */
@media (max-width: 736px){
  .cat-grid{
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px; /* 余白を少し狭める */
  }
  .cat-thumb{ aspect-ratio: 1 / 1; }
  .cat-body{ padding: 8px; }
  .cat-title{ font-size: .9rem; }
  .cat-meta{ font-size: .75rem; }
  .cat-desc{ display:none; }
}
@media (max-width:736px){
  .category-index-page .cat-grid{ grid-template-columns:repeat(3,1fr) !重要; }
}


/* ▼デバッグ用：当たっているか確認（一時的に） */
/* .home-ranking { outline: 2px dashed red; } */

/* スマホ時に「ランキング上位作品」を3列に固定 */
@media (max-width: 767px){
  .home-ranking,
  .home-ranking .wp-block-gallery,
  .home-ranking .blocks-gallery-grid,
  .home-ranking .gallery,
  .home-ranking ul,
  .home-ranking .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 8px !important;
    align-items: start;
  }
  .home-ranking > *,
  .home-ranking li,
  .home-ranking .wp-block-image,
  .home-ranking .wp-block-column {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
  }
  .home-ranking img{
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
  /* 列数を2にしたい場合はここだけ変更 → repeat(2,1fr) */
}
@media (max-width: 767px){
  .home-ranking{ column-count: initial !important; }
}


/* =========================================================
   reviewbox を k2_section と同じダーク調＋モバイル2列に
   ========================================================= */
.k2-reviewbox{
  --rb-bg: var(--bg, #1f2937);                  /* k2_sectionのCSS変数があれば継承 */
  --rb-text: var(--text, #e5e7eb);
  --rb-border: var(--border, rgba(255,255,255,.08));
  background: var(--rb-bg);
  color: var(--rb-text);
  border: 1px solid var(--rb-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.k2-sec--light .k2-reviewbox{
  --rb-bg:#f8fafc; --rb-text:#0f172a; --rb-border:rgba(0,0,0,.08);
}
.k2-reviewbox__head{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}
.k2-reviewbox__cover{ width:100%; height:auto; border-radius:8px; object-fit:cover; }
.k2-reviewbox__meta h3{ margin:0 0 8px; font-size:1rem; }
.k2-reviewbox__meta dl{ display:grid; grid-template-columns:120px 1fr; gap:4px 12px; margin:0; }
.k2-reviewbox__meta dt{ color: rgba(255,255,255,.7); }
.k2-sec--light .k2-reviewbox__meta dt{ color:#6b7280; }
.k2-reviewbox__meta dd{ margin:0; }

/* 評価グリッド：常に2列（スマホでも） */
.k2-reviewbox__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 16px;
}

/* 各項目のボックス */
.k2-reviewbox__item{
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 10px; border-radius:8px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.k2-sec--light .k2-reviewbox__item{
  background:#f3f4f6; border:1px solid rgba(0,0,0,.06);
}
.k2-reviewbox__label{ font-weight:600; display:inline-flex; gap:6px; align-items:center; }
.k2-reviewbox__stars{ letter-spacing:1px; }

@media (max-width:736px){
  .k2-reviewbox__head{ grid-template-columns: 1fr; }
  .k2-reviewbox__meta dl{ grid-template-columns: 100px 1fr; }
  .k2-reviewbox__grid{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap:8px 12px; }
}

/* 作品説明などの本文サイズ（okazurand に合わせる） */
.k2-reviewbox p,
.k2-reviewbox li,
.k2-reviewbox dd{ font-size:15px; line-height:1.9; }
@media (min-width:1024px){
  .k2-reviewbox p,
  .k2-reviewbox li,
  .k2-reviewbox dd{ font-size:16px; }
}


/* 星レーティング */
.stars{ display:inline-flex; gap:2px; font-size:1.1em; line-height:1; }
.star{ position:relative; display:inline-block; color:#d1d5db; font-size:1.2em; }
.star.full{ color:#fbbf24; }
.star.half{ color:#d1d5db; }
.star.half::before{
  content:"★"; position:absolute; left:0; top:0; width:50%;
  overflow:hidden; color:#fbbf24;
}
.star.empty{ color:#d1d5db; }


/* --- FANZA動画アニメランキング：フッター用コンパクト表示 --- */
.fanza-varf-wrap{margin:10px 0 0;padding:10px 0;border-top:1px solid #eee}
.fanza-varf-header{font-size:13px;margin-bottom:6px}

.fanza-varf-scroller{
  display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:4px;
}
.fanza-varf-card{
  min-width:100px; max-width:140px; flex:0 0 auto;
  border:1px solid #eee; border-radius:10px; background:#fff; position:relative;
  text-decoration:none; color:inherit; scroll-snap-align:start;
}
@media (min-width:600px){ .fanza-varf-card{ min-width:130px; max-width:150px; } }
@media (min-width:1024px){ .fanza-varf-card{ min-width:150px; max-width:170px; } }
.fanza-varf-card img{
  width:100%; height:auto; display:block;
  aspect-ratio:3/4; object-fit:cover; max-height:220px;
}
.fanza-varf-title{
  font-size:12px; line-height:1.35; padding:6px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
@media (min-width:1024px){ .fanza-varf-title{ font-size:13px; } }
.fanza-varf-rank{
  position:absolute; left:0; top:0; margin:6px;
  background:rgba(0,0,0,.7); color:#fff; font-size:11px; padding:1px 5px; border-radius:6px;
}
.fanza-varf-scroller::-webkit-scrollbar{height:6px}
.fanza-varf-scroller::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}


/* =========================================================
   K2 Section Box：ヘッダー帯スリム化（ベルト状）
   ========================================================= */
.k2-sec__head{
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  min-height: auto !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.k2-sec__icon{ line-height:1; display:flex; align-items:center; }
.k2-sec__icon svg{ width:1.05em; height:1.05em; fill: currentColor; opacity:.9; }
.k2-sec__title{
  font-size: 1.0rem !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
}
.k2-sec__title::before, .k2-sec__title::after{ content:none !important; }
.k2-sec__title span{
  background: transparent !important; padding:0 !important; border:none !important; box-shadow:none !important;
}
@media (max-width:600px){
  .k2-sec__head{ padding:5px 10px !important; gap:8px !important; }
  .k2-sec__title{ font-size:.98rem !important; }
}


/* =========================================================
   K2 Section：本文テキストを小さめ＆下の余白を小さく
   ========================================================= */
.k2-sec__body{
  --k2-body-fz: 15px;        /* スマホ基準 */
  --k2-body-lh: 1.9;
  --k2-body-gap: .7em;       /* 段落間隔 */
  --k2-body-pad-bottom: 10px;/* 下パディング縮小 */
  padding: 12px 14px;
  padding-bottom: var(--k2-body-pad-bottom);
}
.k2-sec__body p,
.k2-sec__body li{
  font-size: var(--k2-body-fz);
  line-height: var(--k2-body-lh);
}
@media (min-width:1024px){
  .k2-sec__body{ --k2-body-fz: 16px; }
}
.k2-sec__body p{ margin: var(--k2-body-gap) 0; }
.k2-sec__body ul,
.k2-sec__body ol{ margin: var(--k2-body-gap) 0; }
.k2-sec__body > *:first-child{ margin-top: 0; }
.k2-sec__body > *:last-child { margin-bottom: 0; }


/* ============ 1) モバイルは評価グリッドを1列に戻す ============ */
@media (max-width:736px){
  .k2-reviewbox__grid{
    grid-template-columns: 1fr !important;  /* ← 1列 */
    gap: 10px !important;
  }
}



/* ラッパー */
.k2-preroll-wrap{ position: relative; }

/* プレロール広告オーバーレイ */
.k2-preroll{
  position:absolute; inset:0; z-index:3;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,.72);
}
.k2-preroll__link, .k2-preroll__link img{
  display:block; max-width:min(92%, 760px); height:auto; border-radius:10px;
}

/* 「CLOSE AD ×」ボタン（右上） */
.k2-preroll__close{
  position:absolute; right:8px; top:8px;
  padding:6px 10px; font-size:12px; line-height:1;
  color:#fff; background: rgba(0,0,0,.6);
  border:1px solid rgba(255,255,255,.35); border-radius:6px; cursor:pointer;
}
.k2-preroll__close:hover{ background: rgba(0,0,0,.75); }

/* 非表示状態 */
.k2-preroll.is-hidden{ display:none !important; }


