/* =========================================================
   AV TV Version 2
   Base Design CSS
   ========================================================= */


/* =========================================================
   1. デザイン変数
   ========================================================= */

:root {
  --avtv-bg: #000;
  --avtv-surface: #111;
  --avtv-card: #161616;
  --avtv-border: #2a2a2a;

  --avtv-orange: #ff7a00;
  --avtv-orange-hover: #ff922b;

  --avtv-text: #fff;
  --avtv-text-sub: #bdbdbd;
  --avtv-text-muted: #888;

  --avtv-radius-small: 5px;
  --avtv-radius: 10px;
  --avtv-radius-large: 14px;

  --avtv-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35);

  --avtv-shadow-hover:
    0 14px 28px rgba(0, 0, 0, 0.48);

  --avtv-transition: 0.22s ease;
}


/* =========================================================
   2. 全体
   ========================================================= */

html {
  background: var(--avtv-bg);
}

body {
  background: var(--avtv-bg) !important;
  color: var(--avtv-text);
}

a {
  transition:
    color var(--avtv-transition),
    background var(--avtv-transition),
    opacity var(--avtv-transition),
    transform var(--avtv-transition);
}

.main {
  padding-top: 20px !important;
}

.pagination {
  clear: both;
  margin-top: 24px;
}

.index-widget-area,
.widget {
  margin-bottom: 16px !important;
}


/* =========================================================
   3. ヘッダー・ロゴ
   ========================================================= */

.site-name-text {
  font-size: 30px !important;
  font-weight: 900;
  letter-spacing: 1px;
}

.site-name-text a {
  color: var(--avtv-orange) !important;
  text-decoration: none;
}

.site-name-text::first-letter {
  color: var(--avtv-text);
}


/* =========================================================
   4. グローバルナビ
   ========================================================= */

#navi {
  background: var(--avtv-surface) !important;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.navi-in > ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.navi-in > ul > li {
  flex: 0 0 auto;
}

.navi-in > ul > li > a {
  display: block;
  padding: 11px 15px;
  color: var(--avtv-text) !important;
  font-size: 13px;
  font-weight: 700;
}

.navi-in > ul > li > a:hover {
  background: var(--avtv-orange);
  color: #000 !important;
}

.navi-in > ul::-webkit-scrollbar {
  height: 5px;
}

.navi-in > ul::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}


/* =========================================================
   5. 記事一覧グリッド
   ========================================================= */

#list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.entry-card-wrap {
  position: relative !important;
  top: auto !important;
  left: auto !important;

  width: 100% !important;
  margin: 0 !important;

  display: flex;
  transition:
    transform var(--avtv-transition),
    opacity var(--avtv-transition);
}

.entry-card-wrap:hover {
  transform: translateY(-5px);
}

.entry-card {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--avtv-card);
  border: 1px solid var(--avtv-border);
  border-radius: var(--avtv-radius);

  box-shadow: var(--avtv-shadow);

  transition:
    box-shadow var(--avtv-transition),
    border-color var(--avtv-transition);
}

.entry-card-wrap:hover .entry-card {
  border-color: #3b3b3b;
  box-shadow: var(--avtv-shadow-hover);
}


/* =========================================================
   6. 一覧サムネイル
   ========================================================= */

.entry-card-thumb {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

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

  overflow: hidden;
  background: #000;
}

.entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;

  display: block;

  object-fit: contain !important;
  object-position: top;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.05);
  filter: brightness(0.72);
}


/* 再生ボタン：1種類だけに統一 */

.entry-card-thumb::after {
  content: "▶";

  position: absolute;
  z-index: 20;

  top: 50%;
  left: 50%;

  width: 60px;
  height: 60px;

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

  transform:
    translate(-50%, -50%)
    scale(0.9);

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.76);
  color: #fff;

  font-size: 27px;
  line-height: 1;
  padding-left: 4px;

  opacity: 0;

  transition:
    opacity var(--avtv-transition),
    transform var(--avtv-transition),
    background var(--avtv-transition);

  pointer-events: none;
}

.entry-card-wrap:hover .entry-card-thumb::after {
  opacity: 1;

  transform:
    translate(-50%, -50%)
    scale(1);
}


/* =========================================================
   7. 一覧カード本文
   ========================================================= */

.entry-card-content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding-bottom: 8px;
}

.entry-card-title {
  min-height: 60px;
  margin: 0;
  padding: 10px 10px 6px;

  color: var(--avtv-text);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;

  display: -webkit-box;
  overflow: hidden;

  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.entry-card-title a {
  color: var(--avtv-text) !important;
  text-decoration: none;
}

.entry-card-title a:hover {
  color: var(--avtv-orange) !important;
}

.entry-card-snippet,
.entry-card-categorys,
.post-date,
.admin-pv {
  display: none !important;
}

.entry-card-meta {
  margin-top: auto;
  padding: 0 10px 10px;

  color: var(--avtv-text-muted);
  font-size: 11px;
}

.entry-card-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.entry-date {
  color: var(--avtv-text-muted);
  font-size: 11px;
}


/* =========================================================
   8. 一覧オーバーレイ表示
   ========================================================= */

.cat-label {
  position: absolute;
  z-index: 30;

  top: 6px;
  left: 6px;

  display: inline-block;

  margin: 0;
  padding: 3px 8px;

  background: rgba(0, 0, 0, 0.72);
  color: #fff !important;

  border-radius: 20px;
  box-shadow: none;

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;

  text-decoration: none;
}

.cat-label:hover {
  background: rgba(0, 0, 0, 0.9);
}

.video-hd {
  position: absolute;
  z-index: 30;

  top: 6px;
  right: 6px;

  padding: 3px 8px;

  background: var(--avtv-orange);
  color: #fff;

  border-radius: 20px;

  font-size: 10px;
  font-weight: 700;
}

.video-views {
  position: absolute;
  z-index: 30;

  bottom: 6px;
  left: 6px;

  padding: 3px 8px;

  background: rgba(0, 0, 0, 0.74);
  color: #fff;

  border-radius: 20px;

  font-size: 10px;
  font-weight: 700;
}

.video-time {
  position: absolute;
  z-index: 30;

  right: 6px;
  bottom: 6px;

  padding: 3px 7px;

  background: rgba(0, 0, 0, 0.78);
  color: #fff;

  border-radius: var(--avtv-radius-small);

  font-size: 10px;
  font-weight: 700;
}

.thumb-wrapper {
  position: relative;
}


/* =========================================================
   9. 記事ページ
   ========================================================= */

.single .content {
  background: var(--avtv-bg);
}

.single .article {
  padding: 25px;

  background: var(--avtv-surface);
  color: var(--avtv-text);

  border: 1px solid #202020;
  border-radius: var(--avtv-radius-large);
}

.single .entry-title {
  margin-bottom: 20px;

  color: var(--avtv-text);

  font-size: 29px;
  line-height: 1.45;
}

.single .entry-content {
  color: #ddd;

  font-size: 18px;
  line-height: 2;
}

.single .entry-content p {
  margin-bottom: 22px;
}

.single .entry-content ul,
.single .entry-content ol {
  margin-bottom: 24px;
}

.single .entry-content li {
  font-size: 18px;
  line-height: 1.9;
}

.single .entry-content h2 {
  margin-top: 38px;
  margin-bottom: 20px;
  padding: 12px 16px;

  background: #151515 !important;
  color: #fff !important;

  border-left: 5px solid var(--avtv-orange);

  font-size: 23px;
  line-height: 1.45;
}

.single .post-date,
.single .author-info,
.single .article-footer {
  display: none !important;
}


/* Cocoon標準アイキャッチはSmart Playerと重複するため非表示 */

.single-post .eye-catch {
  display: none !important;
}


/* =========================================================
   10. パンくず
   ========================================================= */

.breadcrumb {
  padding: 8px 12px;

  background: var(--avtv-surface);
  color: var(--avtv-text-muted);
}

.breadcrumb a {
  color: var(--avtv-text-sub);
}

.breadcrumb a:hover {
  color: var(--avtv-orange);
}


/* =========================================================
   11. FANZAボタン
   ========================================================= */

.fanza-button {
  display: inline-block !important;

  height: auto !important;
  margin: 12px 0 !important;
  padding: 12px 22px !important;

  background: var(--avtv-orange) !important;
  color: #fff !important;

  border-radius: 7px;

  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  text-align: center;
  text-decoration: none !important;

  box-shadow:
    0 5px 14px rgba(255, 122, 0, 0.22);
}

.fanza-button:hover {
  background: var(--avtv-orange-hover) !important;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(255, 122, 0, 0.32);
}


/* =========================================================
   12. 関連記事
   ========================================================= */

.related-entry-card-wrap {
  overflow: hidden;

  background: var(--avtv-card);
  border: 1px solid var(--avtv-border);
  border-radius: var(--avtv-radius);

  transition:
    transform var(--avtv-transition),
    box-shadow var(--avtv-transition);
}

.related-entry-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--avtv-shadow-hover);
}

.related-entry-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  background: #000;
}

.related-entry-card-thumb img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
}

.related-entry-card-title {
  padding: 10px;

  color: #fff;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.related-entry-card-date,
.related-entry-card-snippet {
  display: none !important;
}


/* =========================================================
   13. タブレット
   ========================================================= */

@media screen and (max-width: 1100px) {
  #list {
    grid-template-columns:
      repeat(4, minmax(0, 1fr)) !important;
  }
}


/* =========================================================
   14. スマホ
   ========================================================= */

@media screen and (max-width: 768px) {
  .main {
    padding-top: 12px !important;
  }

  #list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 10px !important;
  }

  .entry-card {
    height: 100%;
    border-radius: 8px;
  }

  .entry-card-title {
    min-height: 56px;
    padding: 8px;

    font-size: 13px;
    line-height: 1.4;
  }

  .entry-card-meta {
    padding: 0 8px 8px;
  }

  .entry-card-thumb::after {
    width: 48px;
    height: 48px;

    font-size: 22px;
  }

  .single .article {
    padding: 18px;

    border-radius: 8px;
  }

  .single .entry-title {
    font-size: 22px;
  }

  .single .entry-content {
    font-size: 16px;
    line-height: 1.9;
  }

  .single .entry-content li {
    font-size: 16px;
  }

  .single .entry-content h2 {
    margin-top: 30px;
    padding: 10px 13px;

    font-size: 20px;
  }

  .fanza-button {
    width: 100%;
    box-sizing: border-box;

    display: block !important;
  }
}


/* =========================================================
   15. 小型スマホ
   ========================================================= */

@media screen and (max-width: 420px) {
  #list {
    gap: 8px !important;
  }

  .entry-card-title {
    min-height: 52px;

    font-size: 12px;
  }

  .cat-label,
  .video-hd,
  .video-views,
  .video-time {
    font-size: 9px;
  }
}
/* =========================================================
   16. トップページ・人気カテゴリ
   ========================================================= */

.index-widget-area {
  padding: 16px;
  background: var(--avtv-surface);
  border: 1px solid var(--avtv-border);
  border-radius: var(--avtv-radius);
}

.index-widget-area .widget-title {
  margin: 0 0 14px;
  padding: 0 0 10px;

  color: var(--avtv-text);
  border-bottom: 2px solid var(--avtv-orange);

  font-size: 18px;
  font-weight: 800;
}

.avtv-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.avtv-category-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 72px;
  padding: 8px 14px;

  background: #242424;
  color: #fff !important;

  border: 1px solid #363636;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.avtv-category-links a:hover {
  background: var(--avtv-orange);
  border-color: var(--avtv-orange);
  color: #000 !important;

  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .index-widget-area {
    padding: 12px;
  }

  .avtv-category-links {
    gap: 6px;
  }

  .avtv-category-links a {
    min-width: auto;
    padding: 7px 11px;
    font-size: 12px;
  }
}

/* ==========================
   AV TV Version2
========================== */

.avtv-section-heading{
    margin:20px 0 30px;
}

.avtv-section-heading__main{
    display:flex;
    align-items:center;
    gap:10px;
}

.avtv-section-heading__title{
    color:#111 !important;
    font-size:32px;
    font-weight:800;
    margin:0;
}

.avtv-section-heading__description{
    color:#666;
    margin-top:8px;
    font-size:14px;
}