@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   共通変数
   ============================================================ */
:root {
  --ac-accent:   #c0392b;
  --ac-accent2:  #e74c3c;
  --ac-bg:       #f7f7f7;
  --ac-bg2:      #ffffff;
  --ac-border:   #e0e0e0;
  --ac-text:     #222;
  --ac-muted:    #777;
  --ac-radius:   6px;
  --ac-shadow:   0 2px 6px rgba(0,0,0,.08);
  --ac-grid-min: 160px;    /* 動画カード最小幅 */
  --ac-actress-min: 120px; /* 女優カード最小幅 */
}

/* ============================================================
   リセット・共通
   ============================================================ */
.avcast-video-grid,
.avcast-actress-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.avcast-no-results {
  padding: 40px;
  text-align: center;
  color: var(--ac-muted);
}

/* ============================================================
   ボタン
   ============================================================ */
.avcast-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--ac-radius);
  font-weight: bold;
  font-size: .88rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
  line-height: 1.4;
}
.avcast-btn:hover { opacity: .85; }
.avcast-btn--buy {
  display: block;
  background: var(--ac-accent);
  color: #fff;
  margin-top: 10px;
  text-align: center;
}
.avcast-btn--affiliate {
  background: var(--ac-accent);
  color: #fff;
}
.avcast-btn--sm { padding: 5px 12px; font-size: .78rem; }

/* いいねボタン（カード・バー共通） */
.avcast-btn-like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--ac-border);
  border-radius: 20px;
  color: var(--ac-muted);
  font-size: .82rem;
  cursor: pointer;
  transition: all .2s;
}
.avcast-btn-like:hover,
.avcast-btn-like.is-liked {
  border-color: var(--ac-accent);
  color: var(--ac-accent);
  background: #fff5f5;
}
.avcast-btn-like__icon { font-size: 1rem; }

/* ジャンル・タグ */
.avcast-genre-tags,
.avcast-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.avcast-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: .76rem;
  color: var(--ac-text);
  text-decoration: none;
  transition: background .2s;
}
.avcast-tag:hover { background: #e0e0e0; }

/* セクションタイトル */
.avcast-section-title,
.section-title {
  font-size: 1.05rem;
  font-weight: bold;
  padding: 8px 14px;
  border-left: 4px solid var(--ac-accent);
  background: var(--ac-bg);
  margin: 0 0 14px;
}

/* 情報テーブル（単票形式） */
.avcast-info-table,
.actress-profile__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-bottom: 14px;
}
.avcast-info-table th,
.avcast-info-table td,
.actress-profile__table th,
.actress-profile__table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--ac-border);
  text-align: left;
  vertical-align: top;
}
.avcast-info-table th,
.actress-profile__table th {
  width: 90px;
  color: var(--ac-muted);
  font-weight: normal;
  white-space: nowrap;
}
.avcast-info-table td a,
.actress-profile__table td a {
  color: var(--ac-accent);
  text-decoration: none;
}
.avcast-info-table td a:hover,
.actress-profile__table td a:hover { text-decoration: underline; }
.avcast-info-table code {
  font-size: .82rem;
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 3px;
}

/* アーカイブタイトル */
.archive-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ac-border);
}
.archive-title__count {
  font-size: .85rem;
  color: var(--ac-muted);
  font-weight: normal;
}
.archive-desc {
  color: var(--ac-muted);
  font-size: .9rem;
  margin: -10px 0 16px;
}

/* ============================================================
   トップページ
   ============================================================ */
.avcast-top {
  padding: 16px 0;
  min-width: 0;
  overflow: hidden;
}
.avcast-top-section {
  margin-bottom: 40px;
}
.avcast-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.avcast-section-header .avcast-section-title,
.avcast-section-header .section-title {
  margin: 0;
}
.avcast-section-more {
  font-size: .82rem;
  color: var(--ac-accent);
  text-decoration: none;
  white-space: nowrap;
}
.avcast-section-more:hover { text-decoration: underline; }

/* ============================================================
   動画グリッド
   ============================================================ */
ul.avcast-video-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);  /* サイドバーあり時：3列 */
  gap: 14px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 700px) {
  ul.avcast-video-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* 動画カード */
.avcast-video-card {
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.avcast-video-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.13); }

/* サムネイル */
.avcast-video-card__thumb-link { display: block; }
.avcast-video-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #111;
}
.avcast-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.avcast-video-card__thumb-link:hover img { opacity: .85; }
.avcast-video-card__thumb--no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: .75rem;
  background: #222;
}

/* カード本文 */
.avcast-video-card__body {
  padding: 8px 10px 4px;
  flex: 1;
}
.avcast-video-card__title {
  font-size: .82rem;
  font-weight: bold;
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avcast-video-card__title a {
  color: var(--ac-text);
  text-decoration: none;
}
.avcast-video-card__title a:hover { color: var(--ac-accent); }

.avcast-video-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: .74rem;
  color: var(--ac-muted);
}
.avcast-video-card__maker a,
.avcast-video-card__actresses a {
  color: var(--ac-muted);
  text-decoration: none;
}
.avcast-video-card__maker a:hover,
.avcast-video-card__actresses a:hover { color: var(--ac-accent); text-decoration: underline; }

/* カードフッター（いいね・アフィリエイト） */
.avcast-video-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px;
  gap: 6px;
  border-top: 1px solid var(--ac-border);
  margin-top: 6px;
}
.avcast-video-card__footer .avcast-btn--affiliate {
  font-size: .74rem;
  padding: 4px 10px;
}

/* ============================================================
   女優グリッド
   ============================================================ */
ul.avcast-actress-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);  /* サイドバーあり時：4列 */
  gap: 12px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 700px) {
  ul.avcast-actress-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* 女優カード */
.avcast-actress-card {
  display: block;
  text-decoration: none;
  color: var(--ac-text);
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  transition: box-shadow .2s;
}
.avcast-actress-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.13); }

.avcast-actress-card__image {
  width: 100%;
  aspect-ratio: 5/7;
  overflow: hidden;
  background: #e0d0d8;
}
.avcast-actress-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.avcast-actress-card:hover .avcast-actress-card__image img { opacity: .88; }
.avcast-actress-card__no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #aaa;
  font-size: .72rem;
}

.avcast-actress-card__body {
  padding: 8px 8px 10px;
  text-align: center;
}
.avcast-actress-card__name {
  font-size: .85rem;
  font-weight: bold;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avcast-actress-card__kana {
  font-size: .72rem;
  color: var(--ac-muted);
  margin: 0;
}

/* ============================================================
   アーカイブページ（動画・女優共通）
   ============================================================ */
.avcast-archive {
  padding: 4px 0 40px;
}

/* メーカーページ ヘッダー */
.avcast-maker-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--ac-accent);
}
.avcast-maker-header__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.avcast-maker-header__desc {
  font-size: .9rem;
  color: var(--ac-muted);
  margin: 0 0 6px;
}
.avcast-maker-header__count {
  font-size: .85rem;
  color: var(--ac-muted);
  margin: 0;
}
.avcast-maker-videos-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--ac-accent);
}

/* ジャンル・動画アーカイブ ヘッダー（maker-header と共通スタイル） */
.avcast-genre-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--ac-accent);
}
.avcast-genre-header__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.avcast-genre-header__desc {
  font-size: .9rem;
  color: var(--ac-muted);
  margin: 0 0 6px;
}
.avcast-genre-header__count {
  font-size: .85rem;
  color: var(--ac-muted);
  margin: 0;
}

/* シリーズ一覧（メーカーページ内） */
.avcast-series-section {
  margin-bottom: 36px;
}
.avcast-series-section__heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--ac-accent);
}
.avcast-series-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.avcast-series-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  text-decoration: none;
  color: var(--ac-text);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.avcast-series-card:hover {
  border-color: var(--ac-accent);
  box-shadow: var(--ac-shadow);
  color: var(--ac-accent);
}
.avcast-series-card__name {
  font-weight: 600;
  line-height: 1.3;
}
.avcast-series-card__count {
  flex-shrink: 0;
  font-size: .78rem;
  color: var(--ac-muted);
}

/* シリーズページ ヘッダー */
.avcast-series-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--ac-accent);
}
.avcast-series-header__breadcrumb {
  font-size: .85rem;
  color: var(--ac-muted);
  margin: 0 0 8px;
}
.avcast-series-header__breadcrumb a {
  color: var(--ac-accent);
  text-decoration: none;
}
.avcast-series-header__breadcrumb a:hover {
  text-decoration: underline;
}
.avcast-series-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.avcast-series-header__desc {
  font-size: .9rem;
  color: var(--ac-muted);
  margin: 0 0 6px;
}
.avcast-series-header__count {
  font-size: .85rem;
  color: var(--ac-muted);
  margin: 0;
}

/* ============================================================
   動画 個別ページ
   ============================================================ */
.avcast-video-single { padding-bottom: 48px; }

/* ヒーローエリア：サムネ + 情報 */
.avcast-video-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .avcast-video-hero { grid-template-columns: 1fr; }
}

.avcast-video-hero__cover { display: flex; flex-direction: column; }
.avcast-cover-img {
  width: 100%;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  display: block;
}

.avcast-video-title {
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1.55;
  margin: 0 0 14px;
}

/* サンプル動画・説明 */
.avcast-sample-section,
.avcast-summary-section { margin-bottom: 28px; }

.avcast-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--ac-radius);
  overflow: hidden;
}
.avcast-video-player {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.avcast-summary {
  font-size: .92rem;
  line-height: 1.8;
  padding: 16px;
  background: var(--ac-bg);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
}

/* 投票コンポーネント（like / dislike）*/
.avcast-vote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 20px;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  margin-bottom: 28px;
}
.avcast-vote__label {
  font-size: .9rem;
  color: var(--ac-muted);
  flex: 1 1 auto;
}
.avcast-vote__buttons {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.avcast-vote__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: none;
  border-radius: 24px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  line-height: 1;
}
.avcast-vote__btn:active:not(:disabled) { transform: scale(.95); }
.avcast-vote__btn:hover:not(:disabled)  { opacity: .85; }
.avcast-vote__btn:disabled { cursor: default; }

/* グッド：ピンク */
.avcast-vote__btn--like {
  background: #F172A3;
  color: #fff;
}
.avcast-vote__btn--like.avcast-vote__btn--voted {
  box-shadow: 0 0 0 3px rgba(241,114,163,.35);
}

/* バッド：グレー */
.avcast-vote__btn--dislike {
  background: #949593;
  color: #fff;
}
.avcast-vote__btn--dislike.avcast-vote__btn--voted {
  box-shadow: 0 0 0 3px rgba(148,149,147,.35);
}

/* アイコン文字サイズ */
.avcast-vote__btn-icon  { font-size: 1.1em; }
.avcast-vote__btn-label { font-size: .85em; opacity: .9; }
.avcast-vote__count     { font-size: 1em; }

/* バー */
.avcast-vote__bar {
  display: flex;
  width: 100%;
  height: 7px;
  border-radius: 4px;
  overflow: hidden;
  background: #e5e7eb;
}
.avcast-vote__bar-like    { background: #F172A3; transition: width .4s ease; }
.avcast-vote__bar-dislike { background: #949593; transition: width .4s ease; }

/* ============================================================
   女優 個別ページ
   ============================================================ */
.avcast-actress-single { padding-bottom: 48px; }

.actress-profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}
@media (max-width: 600px) {
  .actress-profile { grid-template-columns: 1fr; }
}

.actress-profile__image {
  width: 100%;
}
.actress-profile__image img {
  width: 100%;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  display: block;
}
.actress-profile__no-image {
  width: 100%;
  aspect-ratio: 5 / 6;
  background: #f0f0f0;
  border-radius: var(--ac-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #aaa;
  font-size: .75rem;
}

.actress-profile__name {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 6px;
  line-height: 1.4;
}
.actress-profile__kana {
  font-size: .9rem;
  color: var(--ac-muted);
  font-weight: normal;
}
.actress-profile__aliases {
  font-size: .85rem;
  color: var(--ac-muted);
  margin: 0 0 12px;
}

/* 旧クラス名の後方互換 */
.actress-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 6px;
}
.actress-kana {
  font-size: .9rem;
  color: var(--ac-muted);
  font-weight: normal;
}

.actress-videos { margin-top: 8px; }
.actress-videos__title {
  font-size: 1.15rem;
  font-weight: bold;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ac-border);
}
.actress-videos__count {
  font-size: .85rem;
  color: var(--ac-muted);
  font-weight: normal;
}
.actress-no-videos {
  color: var(--ac-muted);
  font-size: .9rem;
  margin: 24px 0;
}
.avcast-pagination--top {
  margin: 0 0 16px;
}

/* ============================================================
   ページネーション（SWELLデフォルトに追加調整）
   ============================================================ */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 28px 0 0;
  justify-content: center;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  text-decoration: none;
  font-size: .88rem;
  color: var(--ac-text);
  transition: all .2s;
}
.page-numbers:hover { border-color: var(--ac-accent); color: var(--ac-accent); }
.page-numbers.current {
  background: var(--ac-accent);
  border-color: var(--ac-accent);
  color: #fff;
}

/* ============================================================
   横型動画カード（トップ 日付別一覧）
   ============================================================ */
.avcast-video-row-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 600px) {
  .avcast-video-row-list { grid-template-columns: 1fr; }
}
.avcast-video-row {
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* サムネイル（上部・全幅） */
.avcast-video-row__thumb-link { display: block; width: 100%; }
.avcast-video-row__thumb {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #111;
}
.avcast-video-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity .2s;
}
.avcast-video-row__thumb-link:hover img { opacity: .85; }
.avcast-video-row__thumb--no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: #555;
  font-size: .72rem;
}

/* 本文エリア */
.avcast-video-row__body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.avcast-video-row__title {
  font-size: .88rem;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avcast-video-row__title a { color: var(--ac-text); text-decoration: none; }
.avcast-video-row__title a:hover { color: var(--ac-accent); }

/* メタ情報リスト */
.avcast-video-row__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.avcast-video-row__meta-item {
  font-size: .80rem;
  color: var(--ac-muted);
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.5;
}
.avcast-video-row__meta-item--actress { color: var(--ac-text); }
.avcast-video-row__meta-icon { font-size: .70rem; flex-shrink: 0; }
.avcast-video-row__meta-item a { color: inherit; text-decoration: none; }
.avcast-video-row__meta-item a:hover { color: var(--ac-accent); text-decoration: underline; }
.avcast-video-row__code { font-family: monospace; font-size: .78rem; }
.avcast-video-row__series { font-size: .78rem; }

.avcast-video-row__readmore {
  display: inline-block;
  margin-top: auto;
  font-size: .80rem;
  color: var(--ac-muted);
  text-decoration: none;
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 3px 10px;
  align-self: flex-start;
  transition: border-color .2s, color .2s;
}
.avcast-video-row__readmore:hover { border-color: var(--ac-accent); color: var(--ac-accent); }

/* 販路リンク */
.avcast-video-row__channels {
  display: flex;
  border-top: 1px solid var(--ac-border);
}
.avcast-video-row__channel-link {
  flex: 1;
  display: block;
  text-align: center;
  padding: 7px 4px;
  font-size: .82rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--ac-muted);
  transition: background .15s, color .15s;
  border-right: 1px solid var(--ac-border);
}
.avcast-video-row__channel-link:last-child { border-right: none; }
.avcast-video-row__channel-link:hover { background: #f5f5f5; color: var(--ac-text); }
/* 各販路カラー */
.avcast-video-row__channel-link--fanza-video:hover  { background: #fff0f0; color: #c0392b; }
.avcast-video-row__channel-link--fanza-amateur:hover { background: #fff5f0; color: #e67e22; }
.avcast-video-row__channel-link--mgs:hover          { background: #f0f5ff; color: #2563eb; }
.avcast-video-row__channel-link--duga:hover         { background: #f8f0ff; color: #8e44ad; }
.avcast-video-row__channel-link--sokmil:hover       { background: #f0fff5; color: #16a34a; }

/* ============================================================
   動画個別ページ（av-wiki 風）
   ============================================================ */

/* ---- ヘッダー ---- */
.avcast-article-header {
  margin-bottom: 24px;
}

.avcast-entry-header {
  margin-bottom: 16px;
}

.avcast-entry-title {
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 10px;
}

.avcast-entry-subtitle {
  display: block;
  font-size: .88rem;
  font-weight: normal;
  color: var(--ac-muted);
  margin-top: 4px;
}

/* メタ情報（日付・シリーズ・女優） */
.avcast-post-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: .85rem;
  color: var(--ac-muted);
}
.avcast-post-meta li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.avcast-post-meta a {
  color: var(--ac-muted);
  text-decoration: none;
}
.avcast-post-meta a:hover { color: var(--ac-accent); text-decoration: underline; }

/* メタアイコン（疑似要素で代替） */
.avcast-meta-icon { display: inline-block; width: 1em; height: 1em; }
.avcast-meta-icon--clock::before  { content: "🕐"; font-style: normal; }
.avcast-meta-icon--series::before { content: "◫"; font-style: normal; }
.avcast-meta-icon--tag::before    { content: "🏷"; font-style: normal; }

/* サムネイル */
.avcast-article-thumbnail {
  text-align: center;
  margin-bottom: 20px;
}
.avcast-article-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
}

/* ---- 記事本文 ---- */

/* 引用風ブロック */
.avcast-blockquote-like {
  background: var(--ac-bg);
  border-left: 4px solid var(--ac-border);
  padding: 12px 16px;
  margin: 0 0 20px;
  border-radius: 0 var(--ac-radius) var(--ac-radius) 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ac-text);
}
.avcast-blockquote-like p { margin: 0; }

/* Q&A リード */
.avcast-qa-container {
  margin-bottom: 24px;
}
.avcast-qa-container dl {
  margin: 0;
  padding: 16px;
  background: #fff8f8;
  border: 1px solid #f5c6c6;
  border-radius: var(--ac-radius);
}
.avcast-qa-container dt {
  font-size: .95rem;
  font-weight: bold;
  line-height: 1.7;
  color: var(--ac-text);
  margin-bottom: 8px;
}
.avcast-qa-container dt strong {
  color: var(--ac-accent);
}
.avcast-qa-container dd {
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
}
.avcast-qa-container dd a {
  color: var(--ac-accent);
  text-decoration: none;
  font-weight: bold;
}
.avcast-qa-container dd a:hover { text-decoration: underline; }

/* 概要タイトル（バルーン風） */
.avcast-baloon-title {
  position: relative;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 16px 10px 20px;
  background: var(--ac-accent);
  color: #fff;
  border-radius: var(--ac-radius);
  margin: 0 0 12px;
}

/* 概要 dl テーブル */
.avcast-dltable {
  margin: 0 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr;
}
.avcast-dltable dt,
.avcast-dltable dd {
  padding: 7px 10px;
  font-size: .88rem;
  border-bottom: 1px solid var(--ac-border);
}
.avcast-dltable dt {
  color: var(--ac-muted);
  font-weight: normal;
  white-space: nowrap;
}
.avcast-dltable dd {
  margin: 0;
}
.avcast-dltable dd a {
  color: var(--ac-accent);
  text-decoration: none;
}
.avcast-dltable dd a:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .avcast-dltable { grid-template-columns: 90px 1fr; }
}

/* ---- まとめページリンク ---- */
.avcast-border-title {
  font-size: .95rem;
  font-weight: bold;
  padding: 6px 12px 6px 14px;
  border-left: 4px solid var(--ac-accent);
  background: var(--ac-bg);
  margin: 24px 0 10px;
}

.avcast-cat-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.avcast-cat-link a,
.avcast-cat-link__text {
  display: block;
  padding: 8px 12px;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  font-size: .88rem;
  color: var(--ac-text);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.avcast-cat-link a:hover {
  border-color: var(--ac-accent);
  color: var(--ac-accent);
}
.avcast-cat-link__text {
  color: var(--ac-muted);
  cursor: default;
}

/* ---- 関連作品グリッド ---- */
.avcast-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .avcast-related-grid { grid-template-columns: repeat(2, 1fr); }
}

.avcast-related-item {
  font-size: .78rem;
}
.avcast-related-thumb {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #111;
  border-radius: var(--ac-radius);
  margin-bottom: 4px;
  display: block;
}
.avcast-related-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}
.avcast-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity .2s;
}
.avcast-related-thumb a:hover img { opacity: .85; }
.avcast-related-thumb--no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: .72rem;
}

.avcast-related-title h4 {
  font-size: .78rem;
  font-weight: normal;
  margin: 0 0 2px;
  line-height: 1.4;
}
.avcast-related-title h4 a { color: var(--ac-text); text-decoration: none; }
.avcast-related-title h4 a:hover { color: var(--ac-accent); }

.avcast-related-maker {
  font-size: .72rem;
  color: var(--ac-muted);
  text-decoration: none;
}
.avcast-related-maker:hover { color: var(--ac-accent); }

/* ---- series-btn（女優ボタン） ---- */
.avcast-basic-box {
  margin-bottom: 24px;
}
.avcast-series-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.avcast-series-btn a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--ac-accent);
  color: #fff;
  font-size: .9rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: var(--ac-radius);
  transition: opacity .2s;
}
.avcast-series-btn a:hover { opacity: .85; }

/* ---- aside product-item-box ---- */
.avcast-product-aside {
  margin-bottom: 28px;
}
.avcast-product-box {
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  overflow: hidden;
  background: var(--ac-bg2);
  box-shadow: var(--ac-shadow);
}
.avcast-product-inner {
  display: flex;
  gap: 12px;
  padding: 12px;
}
.avcast-product-thumb {
  flex-shrink: 0;
  width: 100px;
}
.avcast-product-thumb img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  display: block;
}
.avcast-product-content {
  flex: 1;
  min-width: 0;
}
.avcast-product-title {
  font-size: .85rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 6px;
}
.avcast-product-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .80rem;
  color: var(--ac-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.avcast-product-meta-list a {
  color: var(--ac-accent);
  text-decoration: none;
}
.avcast-product-meta-list a:hover { text-decoration: underline; }

.avcast-product-btns {
  display: flex;
  border-top: 1px solid var(--ac-border);
}
.avcast-product-btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 10px 4px;
  font-size: .88rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
}
.avcast-product-btn:hover { opacity: .88; }
.avcast-product-btn--mgs          { background: #2563eb; }
.avcast-product-btn--fanza        { background: #c0392b; }
.avcast-product-btn--fanza-amateur { background: #e67e22; }
.avcast-product-btn--duga         { background: #8e44ad; }
.avcast-product-btn--sokmil       { background: #16a34a; }

@media (max-width: 480px) {
  .avcast-product-inner { flex-direction: column; }
  .avcast-product-thumb { width: 100%; max-width: 200px; margin: 0 auto; }
}

/* ============================================================
   品番バッジ（カード内）
   ============================================================ */
.avcast-video-card__code {
  display: inline-block;
  font-size: .72rem;
  font-family: monospace;
  color: var(--ac-muted);
  background: #f0f0f0;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: .03em;
}

/* ============================================================
   メーカークイックリンク（トップ）
   ============================================================ */
.avcast-maker-nav {
  margin-bottom: 24px;
  padding: 12px 14px;
  background: var(--ac-bg);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
}
.avcast-maker-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.avcast-maker-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: 20px;
  font-size: .82rem;
  color: var(--ac-text);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.avcast-maker-nav__link:hover {
  border-color: var(--ac-accent);
  color: var(--ac-accent);
}
.avcast-maker-nav__count {
  font-size: .72rem;
  color: var(--ac-muted);
}

/* ============================================================
   週間ランキンググリッド
   ============================================================ */
ul.avcast-ranking-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
@media (max-width: 700px) {
  ul.avcast-ranking-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.avcast-ranking-card {
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  display: flex;
  flex-direction: column;
}
.avcast-ranking-card__thumb-link {
  display: block;
  position: relative;
}
.avcast-ranking-card__thumb {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #111;
}
.avcast-ranking-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.avcast-ranking-card__thumb-link:hover img { opacity: .85; }
.avcast-ranking-card__thumb--no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: #555;
  font-size: .75rem;
}
.avcast-ranking-card__rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ac-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
}
.avcast-ranking-card[data-rank="1"] .avcast-ranking-card__rank { background: #c0a000; font-size: 1.1rem; width: 36px; height: 36px; }
.avcast-ranking-card[data-rank="2"] .avcast-ranking-card__rank { background: #888; }
.avcast-ranking-card[data-rank="3"] .avcast-ranking-card__rank { background: #a0673a; }

.avcast-ranking-card__body {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.avcast-ranking-card__title {
  font-size: .82rem;
  font-weight: bold;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avcast-ranking-card__title a { color: var(--ac-text); text-decoration: none; }
.avcast-ranking-card__title a:hover { color: var(--ac-accent); }
.avcast-ranking-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: .74rem;
  color: var(--ac-muted);
  margin-top: 2px;
}
.avcast-ranking-card__meta a { color: var(--ac-muted); text-decoration: none; }
.avcast-ranking-card__meta a:hover { color: var(--ac-accent); text-decoration: underline; }
.avcast-ranking-card__code {
  font-family: monospace;
  font-size: .72rem;
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--ac-muted);
}
.avcast-ranking-card .avcast-btn--affiliate {
  margin-top: auto;
  padding-top: 6px;
  font-size: .74rem;
  padding: 4px 10px;
  align-self: flex-start;
}

/* ============================================================
   日付別グループ（新着動画）
   ============================================================ */
.avcast-date-group,
.avcast-channel-group {
  margin-bottom: 32px;
}
.avcast-date-group__heading,
.avcast-channel-group__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: bold;
  margin: 0 0 12px;
  padding: 7px 12px;
  background: var(--ac-bg);
  border-left: 4px solid var(--ac-accent);
  border-radius: 0 var(--ac-radius) var(--ac-radius) 0;
}
.avcast-date-group__count {
  font-size: .78rem;
  font-weight: normal;
  color: var(--ac-muted);
}

/* ============================================================
   メーカー一覧ページ
   ============================================================ */
/* レーベル・シリーズ一覧（avcast-tax-list）は avcast-maker-list と同スタイル */
.avcast-tax-list,
.avcast-maker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
@media (max-width: 600px) {
  .avcast-tax-list,
  .avcast-maker-list { grid-template-columns: 1fr; }
}
.avcast-tax-list__link,
.avcast-maker-list__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  text-decoration: none;
  color: var(--ac-text);
  transition: border-color .2s, box-shadow .2s;
  font-size: .9rem;
}
.avcast-tax-list__link:hover,
.avcast-maker-list__link:hover {
  border-color: var(--ac-accent);
  box-shadow: var(--ac-shadow);
  color: var(--ac-accent);
}
.avcast-tax-list__count,
.avcast-maker-list__count {
  font-size: .78rem;
  color: var(--ac-muted);
  white-space: nowrap;
  margin-left: 8px;
}

/* ============================================================
   サブメニュー accordion（メーカー／シリーズページ）
   ============================================================ */
.avcast-submenu {
  margin-bottom: 28px;
}
.avcast-submenu__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  background: #b8860b;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: var(--ac-radius);
  transition: background .2s;
}
.avcast-submenu__toggle:hover { background: #a07808; }
.avcast-submenu__icon { font-style: normal; font-size: 1.1rem; }
.avcast-submenu__panel {
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-top: none;
  border-radius: 0 0 var(--ac-radius) var(--ac-radius);
  padding: 16px;
}
.avcast-submenu__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 768px) {
  .avcast-submenu__grid { grid-template-columns: repeat(2, 1fr); }
}
.avcast-submenu__link {
  display: block;
  padding: 8px 10px;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  text-align: center;
  font-size: .85rem;
  color: var(--ac-text);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.avcast-submenu__link:hover,
.avcast-submenu__link.is-current {
  border-color: var(--ac-accent);
  color: var(--ac-accent);
}

/* ============================================================
   動画カード（メーカー／シリーズアーカイブ用）3列グリッド
   ============================================================ */
.avcast-vmc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .avcast-vmc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .avcast-vmc-grid { grid-template-columns: 1fr; }
}

.avcast-vmc {
  display: flex;
  flex-direction: column;
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
}
.avcast-vmc__thumb-link { display: block; }
.avcast-vmc__thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}
.avcast-vmc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avcast-vmc__thumb--noimg {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: .8rem;
}
.avcast-vmc__body {
  flex: 1;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.avcast-vmc__title {
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avcast-vmc__title a { color: var(--ac-text); text-decoration: none; }
.avcast-vmc__title a:hover { color: var(--ac-accent); }
.avcast-vmc__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: .8rem;
  color: var(--ac-muted);
}
.avcast-vmc__meta a { color: inherit; text-decoration: none; }
.avcast-vmc__meta a:hover { color: var(--ac-accent); }
.avcast-vmc__meta-actress,
.avcast-vmc__meta-actress a { color: var(--ac-accent); }
.avcast-vmc__icon {
  display: inline-block;
  margin-right: 3px;
}
.avcast-vmc__readmore {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px;
  border: 1px solid var(--ac-border);
  border-radius: 3px;
  font-size: .78rem;
  color: var(--ac-text);
  text-decoration: none;
  align-self: flex-start;
}
.avcast-vmc__readmore:hover { border-color: var(--ac-accent); color: var(--ac-accent); }
.avcast-vmc__channels {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  background: var(--ac-bg);
  border-top: 1px solid var(--ac-border);
  flex-wrap: wrap;
}
.avcast-vmc__ch {
  flex: 1;
  min-width: 48px;
  text-align: center;
  padding: 5px 6px;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.avcast-vmc__ch:hover { opacity: .85; }
.avcast-vmc__ch--mgs           { background: #1a6496; }
.avcast-vmc__ch--fanza-video   { background: #c0392b; }
.avcast-vmc__ch--fanza-amateur { background: #e67e22; }
.avcast-vmc__ch--duga          { background: #8e44ad; }
.avcast-vmc__ch--sokmil        { background: #27ae60; }

/* ============================================================
   サイドバー ウィジェット
   ============================================================ */
.avcast-widget-term-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.avcast-widget-term-list li {
  border-bottom: 1px solid var(--ac-border);
}
.avcast-widget-term-list li:last-child { border-bottom: none; }
.avcast-widget-term-list li a {
  display: flex;
  justify-content: space-between;
  padding: 7px 4px;
  font-size: .88rem;
  color: var(--ac-text);
  text-decoration: none;
  transition: color .2s;
}
.avcast-widget-term-list li a:hover { color: var(--ac-accent); }
.avcast-widget-count {
  color: var(--ac-muted);
  font-size: .8rem;
}

/* タグ風（ジャンル） */
.avcast-widget-term-list--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.avcast-widget-term-list--tags li {
  border: none;
}
.avcast-widget-term-list--tags li a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: .78rem;
  color: var(--ac-text);
  transition: background .2s;
}
.avcast-widget-term-list--tags li a:hover { background: #e0e0e0; color: var(--ac-text); }

/* ランキングウィジェット */
.avcast-widget-ranking {
  list-style: none;
  padding: 0;
  margin: 0;
}
.avcast-widget-ranking__item {
  border-bottom: 1px solid var(--ac-border);
}
.avcast-widget-ranking__item:last-child { border-bottom: none; }
.avcast-widget-ranking__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--ac-text);
  transition: color .2s;
}
.avcast-widget-ranking__link:hover { color: var(--ac-accent); }
.avcast-widget-ranking__thumb {
  width: 56px;
  height: 38px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}
.avcast-widget-ranking__rank {
  font-size: .78rem;
  font-weight: bold;
  color: var(--ac-accent);
  min-width: 16px;
  flex-shrink: 0;
}
.avcast-widget-ranking__title {
  font-size: .82rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.avcast-widget-ranking__like {
  font-size: .75rem;
  color: #F172A3;
  margin-left: auto;
  white-space: nowrap;
  padding-left: 8px;
}

/* 参考になったコメントランキング */
.avcast-widget-comment-ranking {
  list-style: none;
  padding: 0;
  margin: 0;
}
.avcast-widget-comment-ranking__item {
  padding: 10px 0;
  border-bottom: 1px solid var(--ac-border);
}
.avcast-widget-comment-ranking__item:last-child { border-bottom: none; }
.avcast-widget-comment-ranking__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.avcast-widget-comment-ranking__rank {
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: #F172A3;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avcast-widget-comment-ranking__author {
  font-size: .8rem;
  font-weight: 600;
  color: #c0392b;
}
.avcast-widget-comment-ranking__like {
  font-size: .75rem;
  color: #F172A3;
  margin-left: auto;
}
.avcast-widget-comment-ranking__text {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ac-text);
  margin: 0 0 5px;
}
.avcast-widget-comment-ranking__link {
  font-size: .75rem;
  color: var(--ac-muted);
  text-decoration: none;
}
.avcast-widget-comment-ranking__link:hover { color: #F172A3; }

/* ============================================================
   コメントセクション（2ch風）
   ============================================================ */

.avcast-comments {
  margin-top: 40px;
}
.avcast-comments__heading {
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--ac-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.avcast-comments__count {
  font-size: .85rem;
  color: var(--ac-muted);
  font-weight: 400;
}
.avcast-comments__empty {
  color: var(--ac-muted);
  font-size: .9rem;
  padding: 16px 0;
}

/* コメントリスト */
.avcast-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.avcast-comment {
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
}
.avcast-comment--reply {
  margin-left: 24px;
  border-left: 3px solid #F172A3;
  background: #fdf4f8;
}

/* ヘッダー行 */
.avcast-comment__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .8rem;
  color: var(--ac-muted);
  margin-bottom: 6px;
}
.avcast-comment__num {
  font-weight: 700;
  color: var(--ac-text);
  min-width: 24px;
}
.avcast-comment__author {
  font-weight: 600;
  color: #c0392b;
}
.avcast-comment__date {
  flex: 1 1 auto;
}
.avcast-comment__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.avcast-comment__reply-btn {
  background: none;
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: .78rem;
  color: var(--ac-muted);
  cursor: pointer;
  transition: all .15s;
}
.avcast-comment__reply-btn:hover {
  border-color: #F172A3;
  color: #F172A3;
}

/* 本文 */
.avcast-comment__body {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 8px;
}
.avcast-comment__body p { margin: 0; }
.avcast-comment__ref {
  color: #F172A3;
  font-weight: 600;
  margin-right: 6px;
  text-decoration: none;
}
.avcast-comment__ref:hover { text-decoration: underline; }

/* 返信バッジ */
.avcast-comment__reply-badge {
  font-size: .78rem;
  color: #F172A3;
  margin-bottom: 8px;
}

/* コメント投票（画像スタイル） */
.avcast-cvote {
  margin-top: 8px;
}
.avcast-cvote__counts {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 3px;
  padding: 0 4px;
}
.avcast-cvote__like-count    { color: #F172A3; }
.avcast-cvote__dislike-count { color: #949593; }

.avcast-cvote__row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.avcast-cvote__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avcast-cvote__btn:active:not(:disabled) { transform: scale(.9); }
.avcast-cvote__btn:hover:not(:disabled)  { opacity: .8; }
.avcast-cvote__btn:disabled              { cursor: default; opacity: .5; }
.avcast-cvote__btn--like    { background: #F172A3; color: #fff; }
.avcast-cvote__btn--dislike { background: #949593; color: #fff; }
.avcast-cvote__btn.is-voted { box-shadow: 0 0 0 3px rgba(0,0,0,.15); }

.avcast-cvote__bar {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
}
.avcast-cvote__bar-like    { background: #F172A3; transition: width .4s ease; }
.avcast-cvote__bar-dislike { background: #949593; transition: width .4s ease; }

/* コメントフォーム */
.avcast-cform-wrap {
  background: var(--ac-bg2);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius);
  padding: 20px;
  margin-top: 8px;
}
.avcast-cform__heading {
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.avcast-cform__reply-to[hidden] { display: none; }
.avcast-cform__reply-to {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: #F172A3;
  background: #fdf4f8;
  border: 1px solid #F172A3;
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.avcast-cform__reply-to button {
  background: none;
  border: none;
  color: var(--ac-muted);
  font-size: .78rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}
.avcast-cform__reply-to button:hover { color: var(--ac-text); }
.avcast-cform__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.avcast-cform__input,
.avcast-cform__textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--ac-border);
  border-radius: 6px;
  font-size: .9rem;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s;
}
.avcast-cform__input:focus,
.avcast-cform__textarea:focus {
  outline: none;
  border-color: #F172A3;
}
.avcast-cform__textarea { resize: vertical; }
.avcast-cform__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avcast-cform__submit {
  padding: 9px 24px;
  background: #F172A3;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.avcast-cform__submit:hover:not(:disabled) { opacity: .85; }
.avcast-cform__submit:disabled { opacity: .5; cursor: default; }
.avcast-cform__msg {
  font-size: .82rem;
  color: var(--ac-muted);
}


/* ============================================================
   ヘッダー検索バー
   ============================================================ */
.avcast-header-search {
  background: #111;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 9998; /* SWELLのfix-header(9999)の直下 */
  width: 100%;
}
.avcast-header-search__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 8px 16px;
}
.avcast-header-search__inner form {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.avcast-header-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 14px;
  background: transparent;
  color: #222;
  min-width: 0;
}
.avcast-header-search__input::placeholder {
  color: #aaa;
  font-size: 13px;
}
.avcast-header-search__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--ac-accent, #c0392b);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s;
}
.avcast-header-search__btn:hover {
  background: var(--ac-accent2, #e74c3c);
}

/* スマホ */
@media (max-width: 767px) {
  .avcast-header-search__inner {
    padding: 7px 12px;
  }
  .avcast-header-search__input {
    font-size: 16px; /* iOS自動ズーム防止 */
    padding: 9px 12px;
  }
}

/* ============================================================
   新着コメントウィジェット
   ============================================================ */
.avcast-recent-comments {
  list-style: none;
  margin: 0;
  padding: 0;
}
.avcast-recent-comments__item {
  border-bottom: 1px solid var(--ac-border, #e0e0e0);
}
.avcast-recent-comments__item:last-child {
  border-bottom: none;
}
.avcast-recent-comments__link {
  display: block;
  padding: 9px 4px;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.avcast-recent-comments__link:hover {
  background: #f9f9f9;
}
.avcast-recent-comments__post-title {
  display: block;
  font-size: 11px;
  color: var(--ac-muted, #777);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avcast-recent-comments__body {
  display: block;
  font-size: 13px;
  color: var(--ac-text, #222);
  line-height: 1.5;
  margin-bottom: 4px;
}
.avcast-recent-comments__author {
  font-weight: 600;
  margin-right: 5px;
  color: var(--ac-accent, #c0392b);
}
.avcast-recent-comments__text {
  color: #444;
}
.avcast-recent-comments__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ac-muted, #777);
}
.avcast-recent-comments__votes {
  display: flex;
  gap: 4px;
}
.avcast-recent-comments__like    { color: #2980b9; }
.avcast-recent-comments__dislike { color: #999; }
