@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.4
*/

/************************************
** 子テーマ用のスタイル（AV女優コレナビ用・整理版）
** - 変更点：重複セレクタの統合、順序の整理、ユーティリティ化
** - デザインは従来どおり（ライト・トーン／ピル型CTA等）
************************************/

/* =========================================================
   グローバル変数（色）
   ========================================================= */
:root{
  /* FANZA系 CTA：ライト・トーン */
  --cta-bg:        #fff4f7;
  --cta-bd:        #ffc3d1;
  --cta-text:      #c24d73;
  --cta-bg-hover:  #ffe6ee;
  --cta-bd-hover:  #ff9fb8;
  --cta-text-hover:#b43862;
}

/* =========================================================
   1) 女優プロフィール表（actress-profile-table）
   ========================================================= */
.actress-profile-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:14px 0;
  background:#fff;
  border:1px solid #eceff4;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(17,17,26,.05);
}
.actress-profile-table th,
.actress-profile-table td{
  padding:14px 16px;
  vertical-align:middle;
  line-height:1.6;
  border-bottom:1px solid #f1f3f5;
}
.actress-profile-table th{
  width:14rem;
  text-align:left;
  font-weight:600;
  color:#6b7280;
  background:#fafbfc;
  border-right:1px solid #f0f3f7;
}
.actress-profile-table td{
  background:#ffffff;
}
.actress-profile-table tr + tr th,
.actress-profile-table tr + tr td{ border-top:1px solid #f1f5f9; }
.actress-profile-table a{ text-decoration:none; }
.actress-profile-table a:hover{ text-decoration:underline; }

/* 画像セル */
.ap-avatar-cell{ width:100%; }
.ap-avatar-img{
  display:block; width:120px; height:120px; object-fit:cover;
  border-radius:12px; background:#f3f4f6; box-shadow:0 4px 12px rgba(0,0,0,.06);
}
.ap-avatar-fallback{
  width:120px; height:120px; display:grid; place-items:center;
  border-radius:12px; background:#f3f4f6; color:#9ca3af; font-size:42px; font-weight:700;
}
.ap-avatar-fallback::after{ content:attr(data-initials); line-height:1; }



/* PC 基本レイアウト */
.ap-hero {
  display: grid;
  grid-template-columns: minmax(140px,220px) 1fr; /* 左：画像 右：プロフィール */
  gap: 24px;
  align-items: start;
  margin: 12px 0 24px;
}

/* 画像共通 */
.ap-hero__img-el {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* NO IMAGE プレースホルダー */
.ap-hero__img--ph {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f3f4f6;
  color: #999;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

/* スマホ対応（縦並び＋縮小） */
@media (max-width: 768px) {
  .ap-hero {
    grid-template-columns: 1fr; /* 縦並び */
  }

  /* 女優個別ページの女優画像を縮小 */
  .single-actress .ap-hero__img {
    width: 160px;
    max-width: 70vw;
    margin: 0 auto;
  }

  .single-actress .ap-hero__img .actress-thumb,
  .single-actress .ap-hero__img--ph {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  /* プロフィール表の文字サイズを縮小 */
  .actress-profile-table {
    font-size: 14px;
  }

  .actress-profile-table th,
  .actress-profile-table td {
    padding: 10px 12px;
  }

  .actress-profile-table th {
    width: 8rem;
  }
}

.single-actress .section-title{
  position:relative;
  display:flex;
  justify-content:center;
  gap:.6em;
  margin:0 auto 26px;
  padding-bottom:10px;
  text-align:center;
}

.single-actress .section-title .work-count{
  display:inline-block;
  padding:.16em .55em;
  border-radius:10px;
  background:#f6f8fc;            /* ごく淡いブルーグレー */
  color:#44506a;                  /* 落ち着いたブルーグレー */
  font-weight:600;
  font-size:.9em;
  font-variant-numeric:tabular-nums;
  box-shadow:0 1px 0 rgba(0,0,0,.04); /* うす影 */
}



/* 女優一覧カード：作品数行を中央寄せ＋下に余白 */
.post-type-archive-actress .actor-card .actress-card__works{
  display:block;          /* 行として扱う */
  width:100%;             /* カード幅いっぱいに */
  text-align:center;      /* ← 中央寄せ */
  margin:8px 0 14px;      /* 上8px / 下14px（好みで 10~18px に調整） */
  font-size:.80rem;       /* 文字はやや小さめ（任意） */
  color:#4a5b84;
}

/* 数字バッジはそのまま */
.post-type-archive-actress .actor-card .actress-card__works .num{
  font-size:1.20em;          /* 親基準で拡大（1.1～1.3で好み調整） */
  font-weight:600;
  padding:.1em .45em;
  border-radius:999px;
  background:#f6f8fc;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
  font-variant-numeric:tabular-nums;
}

@media (max-width: 767px) {
  .single-actress .ap-works .av-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; /* 余白はお好みで調整 */
  }
}


/* 女優ページ：パンくず＋概要ブロック */
.actress-summary-block {
  margin: 28px 0 36px;
}

.actress-breadcrumbs {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
}

.actress-bio {
  margin: 0;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.actress-bio__title {
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 4px solid #d8b36a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.actress-bio__content {
  text-align: left;
  font-size: 15px;
  line-height: 2;
  color: #333;
}

.actress-bio__content p {
  margin: 0 0 1em;
  text-align: left;
}

.actress-bio__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .actress-summary-block {
    margin: 24px 0 32px;
  }

  .actress-bio {
    padding: 16px 14px;
    border-radius: 10px;
  }

  .actress-bio__title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .actress-bio__content {
    font-size: 14px;
    line-height: 1.9;
  }
}


/* 女優概要：3行まで表示して、それ以上は折りたたみ */
.actress-bio__body {
  margin-top: 12px;
}

.actress-bio__content.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.actress-bio__content.is-expanded {
  display: block;
}

.actress-bio__content p:last-child {
  margin-bottom: 0;
}

.actress-bio__toggle {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 9999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.actress-bio__toggle:hover {
  opacity: 0.85;
}

.actress-bio__toggle[hidden] {
  display: none !important;
}


/* =========================
 * 女優ページ：出演傾向
 * ========================= */
.actress-tendency{
  margin: 32px 0 40px;
}

.actress-tendency__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.actress-tendency__card{
  background: #fff;
  border: 1px solid #ece7ea;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.actress-tendency__card-title{
  margin: 0 0 14px;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.5;
}

.actress-tendency__list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.actress-tendency__item{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #f3eef0;
}

.actress-tendency__item:first-child{
  border-top: none;
  padding-top: 0;
}

.actress-tendency__link{
  display: inline-block;
  line-height: 1.6;
  word-break: break-word;
}

.actress-tendency__count{
  flex: 0 0 auto;
  color: #777;
  font-size: 0.94em;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 960px){
  .actress-tendency__grid{
    grid-template-columns: 1fr;
  }

  .actress-tendency__card{
    padding: 16px 18px;
  }
}


/* =========================
 * 女優ページ：別名・旧名義
 * ========================= */
.actress-aliases{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}

.actress-alias-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid #ece7ea;
  border-radius: 999px;
  background: #fff;
  font-size: 0.95em;
  line-height: 1.5;
  color: #444;
  text-align: center;
}


/* =========================================================
  女優一覧ページ用 のタグデザイン
   ========================================================= */
/* タグリンクのラッパー */
.actress-tag-filter {
  display: flex;
  flex-wrap: wrap;      /* 横並び＋折り返し */
  gap: 6px;             /* ボタン間の余白 */
  margin: 1em 0;
  align-items: center;
  font-size: 14px;
}

/* 見出し部分（"タグで絞り込み："） */
.actress-tag-filter strong {
  margin-right: 8px;
  font-weight: bold;
  white-space: nowrap;
}

/* タグボタン */
.actress-tag-link {
  display: inline-block;
  padding: 0.25em 0.6em;      /* 小さめのボタン感 */
  border: 1px solid #ccc;
  border-radius: 12px;        /* 丸みを付けてバッジ風に */
  text-decoration: none;
  font-size: 13px;
  color: #333;
  background: #fafafa;
  line-height: 1.6;
  transition: all 0.2s;
}

/* hover */
.actress-tag-link:hover {
  background: #f0f0f0;
  border-color: #999;
}

/* 選択中のタグを強調 */
.actress-tag-link.current {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* 女優個別ページ：このページで分かること */
.single-actress .actress-page-points {
  max-width: 780px;
  margin: 32px auto 28px;
  padding: 22px 26px;
  border: 1px solid #f0e3e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .025);
  text-align: left;
}

.single-actress .actress-page-points .work-section-title {
  margin-top: 0;
  margin-bottom: 14px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.single-actress .actress-page-points > p {
  margin: 0 0 14px;
  text-align: center;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}

.single-actress .actress-page-points__list {
  list-style: none;
  max-width: 660px;
  margin: 16px auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.single-actress .actress-page-points__item {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #f1e4e8;
  border-radius: 12px;
  background: #fff;
  line-height: 1.6;
  text-align: left;
  font-size: 14px;
}

.single-actress .actress-page-points__label {
  display: inline-block;
  margin-right: 6px;
  color: #d95f7d;
  font-weight: 600;
  white-space: nowrap;
}

.single-actress .actress-page-points__label::after {
  content: "：";
  color: #999;
  font-weight: 400;
}

.single-actress .actress-page-points__value {
  color: #333;
  font-weight: 400;
}

@media (max-width: 768px) {
  .single-actress .actress-page-points {
    margin: 28px 0 24px;
    padding: 18px 16px;
  }

  .single-actress .actress-page-points .work-section-title {
    font-size: 16px;
  }

  .single-actress .actress-page-points > p {
    font-size: 13.5px;
    text-align: left;
  }

  .single-actress .actress-page-points__list {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .single-actress .actress-page-points__item {
    font-size: 13.5px;
  }
}
/* =========================================================
   /actress/ 一覧ページ説明文
   ========================================================= */
.archive-actress-intro{
  max-width: 760px;
  margin: 0 auto 30px;
  padding: 0 16px;
  text-align: center;
}

.archive-actress-intro__title{
  display: inline-block;
  margin: 0 0 14px;
  padding: 0 0 .35em;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 700;
  color: #333;
  border-bottom: 2px solid #f0c9d6;
}

.archive-actress-intro__text{
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  text-align: center;
}

@media (max-width: 768px){
  .archive-actress-intro{
    margin: 0 auto 24px;
    padding: 0 12px;
  }

  .archive-actress-intro__title{
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .archive-actress-intro__text{
    font-size: 13px;
    line-height: 1.8;
  }
}

/* =========================================================
  女優プロフィール用 のタグデザイン
   ========================================================= */
.actress-tag-badge {
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 0.2em 0.7em;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 9999px;   /* pill型バッジ */
  background: #f9f9f9;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
  transition: all 0.2s ease;
}

a.actress-tag-badge:hover {
  background: #eee;
  border-color: #999;
}

/* =========================================================
  女優タグ検索後のページデザイン
   ========================================================= */
.tag-archive-header {
  text-align: center;
  margin: 2em 0 1.5em;
}

.tag-archive-header .tag-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  display: inline-block;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #e33; /* アクセントカラーに調整可 */
}

.tag-archive-header .tag-desc {
  margin-top: 0.5em;
  font-size: 14px;
  color: #666;
}


/* =========================================================
   2) カードグリッド（work/av 共通）
   ========================================================= */
.work-cards,
.av-work-grid,
.work-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

@media (max-width:560px){ .work-cards, .av-work-grid, .work-grid{ grid-template-columns:1fr; } }

/* カード本体 */
.work-card,
.av-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
  box-shadow:0 6px 16px rgba(17,17,26,.04);
  transition:transform .15s ease, box-shadow .2s ease;
}
.work-card:hover,
.av-card:hover{ transform:translateY(-2px); box-shadow:0 10px 22px rgba(17,17,26,.08); }

/* サムネイル枠：縦横比は統一（3:2） */
.av-card__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; /* contain時の余白色 */
}

/* サムネ画像：高さを基準にフィット */
.av-card__thumb img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  display: block;
}





/* タイトル／メタ */
.av-card__title,
.av-card__title a {
  margin: 10px 12px 4px !important;
  font-size: 14px;
  line-height: 1.5;
  min-height: 3em;       /* 1行の高さ × 2行分を確保 */
  text-align: left;   /* 左揃え */

	
  /* 2行制御 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;  /* 念のため折り返し許可 */

  /* リンクスタイル調整 */
  color: inherit;
  text-decoration: none;

  /* リセット系 */
  background: none;
  border: none !important;
  box-shadow: none;
  padding: 0 !important;
}
.av-card__title a::before,
.av-card__title a::after{ content:none !important; }

.av-card__actors,
.av-card__meta{
  margin: 0 12px 12px;
  font-size: 14px; line-height: 1.6; color: #555;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}

/* CTA をカードの最下部に寄せる＆中央寄せ */
.av-card__cta,
.av-card__footer{ margin-top:auto; display:flex; justify-content:center; padding: 0 12px 12px; }

.av-card__release{ font-size: 14px; line-height: 1.6; margin-bottom: 0.8em; }

@media (max-width: 768px) {
	.av-card__title,
	.av-card__title a {
		font-size: 12px;
	}
	.av-card__actors,
	.av-card__meta{
		font-size: 12px;
	}

	.av-card__release{
		font-size: 12px;
	}
}

/* =========================================================
   3) デュアル検索フォーム（global_dual_search）
   ========================================================= */
.gs-wrap{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:10px 14px;
  max-width:760px;
  margin:24px auto 10px;
}
.gs-form{ display:contents; }
.gs-wrap input[type="search"]{
  width:100%; height:44px; padding:0 16px;
  border:1px solid #e5e7eb; border-radius:999px; background:#fff; outline:none;
}
.gs-wrap input[type="search"]::placeholder{ color:#9ca3af; }
.gs-btn{
  height:44px; padding:0 16px;
  border:1px solid #f0c9d6; border-radius:999px;
  background:#ffedf4; color:#d9487d; font-weight:700; cursor:pointer;
  transition:filter .15s ease, transform .06s ease, box-shadow .18s ease;
}
.gs-btn:hover{ filter:brightness(.98); }
.gs-btn:focus-visible{ outline:2px solid #f59fb8; outline-offset:2px; }

/* =========================================================
   4) 共通UI（見出し・メタ・パンくず）
   ========================================================= */
/* =========================================================
   共通UI（並び替え・件数・単体のみ・ジャンル表示）
   ========================================================= */

.container {
  text-align: center; /* 中央寄せ */
}

.av-archive-controls {
  display: inline-flex;
  justify-content: center;
  align-items: flex-start; /* ラベルがあるので上揃え */
  gap: 2rem;

  margin: 1.5rem auto 2rem;
  padding: 1rem 2rem;

  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  width: auto;
  max-width: 100%;
}

/* ラベル＋セレクトを縦並び */
.av-archive-controls label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;

  font-size: .85rem;
  font-weight: 600;
  color: #444;
  margin: 0;
}

/* セレクト共通 */
.av-archive-controls select {
  appearance: none;
  padding: .6rem 1.4rem;
  border-radius: 999px;

  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;

  min-width: 120px;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}

/* 並び替え（オレンジ） */
.av-archive-controls label:nth-of-type(1) select {
  border: 1.5px solid #ff884d;
  color: #ff884d;
  background: #fff;
}

.av-archive-controls label:nth-of-type(1) select:hover {
  background: #ff884d;
  color: #fff; /* テキストを白に反転 */
}

/* 件数（グリーン） */
.av-archive-controls label:nth-of-type(2) select {
  border: 1.5px solid #4dbb8d;
  color: #4dbb8d;
  background: #fff;
}

.av-archive-controls label:nth-of-type(2) select:hover {
  background: #4dbb8d;
  color: #fff; /* テキストを白に反転 */
}

/* 適用ボタン（ピンク） */
.av-archive-controls__submit {
  align-self: flex-end;        /* セレクト下端と揃える */
  padding: .6rem 1.4rem;       /* セレクトと同じ高さ */

  border-radius: 999px;
  border: 1.5px solid #e75480; /* ピンクのライン */
  background: #fff;            /* フラット白背景 */
  color: #e75480;              /* テキストをラインと揃える */

  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;

  min-width: 120px;
  line-height: 1.2;
  box-sizing: border-box;
}

.av-archive-controls__submit:hover {
  background: #e75480; /* 背景をピンクに反転 */
  color: #fff;         /* テキストを白に反転 */
}

/* スマホ対応 */
/*
@media (max-width: 640px) {
  .av-archive-controls {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
  }

  .av-archive-controls label,
  .av-archive-controls__submit {
    width: 100%;
  }
}
*/

@media (max-width: 640px) {
  .av-archive-controls {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 0.5rem;
    padding: 1rem;
    justify-content: center;
  }

  .av-archive-controls label {
    flex: 1 1 45%; /* 並び替えと表示件数を横並びにする */
    min-width: 120px;
  }

  .av-archive-controls__submit {
    flex: 1 1 60%; /* 適用ボタンは下段で全幅 */
    margin-top: 0.5rem;
  }
}






/* パンくずの現在ページ（長いタイトルは…で省略） */
.avcl-bc__item.avcl-bc__current {
  display: inline-block;
  max-width: 100%;        /* 枠に合わせる */
  white-space: nowrap;    /* 改行禁止 */
  overflow: hidden;       /* はみ出しを隠す */
  text-overflow: ellipsis;/* …で省略表示 */
  vertical-align: bottom;
}



/* =========================================================
   6) 0件ページ（no-results）
   ========================================================= */
.nr-wrap{ max-width:980px; margin:1.25rem auto 2.5rem; padding:1.25rem 1.25rem 1.5rem; background:#fff; border:1px solid #eee; border-radius:12px; }
.nr-header{ margin-bottom:.75rem; }
.nr-title{ font-size:1.2rem; font-weight:700; margin:0 0 .25rem; }
.nr-lead{ color:#666; margin:0 0 1rem; }
.nr-forms{ display:grid; grid-template-columns:1fr 1fr; gap:.75rem 1rem; margin:1rem 0 1.25rem; }
.nr-form{ display:flex; gap:.5rem; }
.nr-form input[type="search"]{ flex:1; padding:.55rem .8rem; border:1px solid #ddd; border-radius:10px; }
.nr-form button{ padding:.55rem .9rem; border:none; border-radius:10px; background:#f6f6f6; cursor:pointer; }
.nr-tips{ grid-column:1 / -1; margin:.5rem 0 0 0; padding-left:1.2rem; color:#666; }
.nr-tips li{ margin:.25rem 0; }
.nr-actions{ text-align:right; margin-top:.25rem; }
@media (max-width:720px){
  .nr-forms{ grid-template-columns:1fr; }
  .nr-actions{ text-align:left; }
}

/* =========================================================
   7) CTAボタン（統一）
   ========================================================= */
/* ベース */
.btn-cta{
  appearance: none;
  border: 1px solid var(--cta-bd);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
  padding: .65em 1.15em;
  border-radius: 9999px;
  letter-spacing: .02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height:44px;
  min-width: 92px;
  white-space:nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.06), inset 0 -2px 0 rgba(255,255,255,.6);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease, filter .18s ease;
}
.btn-cta:hover{ background: var(--cta-bg-hover); border-color: var(--cta-bd-hover); color: var(--cta-text-hover); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.btn-cta:focus-visible{ outline:2px solid #f59fb8; outline-offset:2px; }
.btn-cta:active{ transform:translateY(0); }

/* カード内（アーカイブ/ホーム等）を“幅広・中央寄せ・上品枠”に */
.av-card__cta .btn-cta,
.av-archive-work .av-card__cta .btn-cta{
  width: calc(100% - 24px);
  max-width: 280px;
  font-size: 15.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: none !important;
  background: linear-gradient(180deg, #fff, var(--cta-bg));
  color: var(--cta-text);
  box-shadow: 0 6px 18px rgba(0,0,0,.08), inset 0 0 0 1.6px var(--cta-bd);
  padding: .85em 1.2em;
}
.av-card__cta .btn-cta:hover,
.av-archive-work .av-card__cta .btn-cta:hover{
  background: linear-gradient(180deg, #fff, var(--cta-bg-hover));
  color: var(--cta-text-hover);
  box-shadow: 0 10px 24px rgba(0,0,0,.14), inset 0 0 0 1.6px var(--cta-bd-hover);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 768px) {
  .ap-works .av-card__cta .btn-cta {
    min-height: 32px !important;  /* ←ここで高さを制御 */
    padding: 0.4em 0.8em;          /* 余白を小さく */
    font-size: 13.5px;             /* 文字も一回り小さく */
  }
}


	
	
/* 0件ページのアクションにだけ強めカラーを維持 */
.nr-actions .btn-cta{
  background:#ff3f7f; color:#fff; border:none;
  box-shadow:none; letter-spacing:.02em; text-transform:none;
}
.nr-actions .btn-cta:hover{ opacity:.92; }

/* =========================================================
   8) アーカイブ（/work/・ラベル・メーカー）
   ========================================================= */
.av-archive-work .av-work-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr); /* 1行3個 */
  gap:3rem;
}

/* 画面が小さめなら2列（＝1行2個） */
@media (max-width: 640px){
  .av-archive-work .av-work-grid{
    grid-template-columns:repeat(2,1fr);
  }
}


.av-archive-work .av-card{ background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; display:flex; flex-direction:column; height:100%; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.av-archive-work .av-card__noimg{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:#f5f5f5; color:#aaa; font-size:12px; }

.av-archive-work .av-card__actors{ margin:0 12px 12px; font-size:14px; line-height:1.6; color:#555; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.av-archive-work .av-card__cta{ margin: 10px 12px 16px; display:flex; justify-content:center; }
 

/* CTA を“下端に固定” */
.post-type-archive-work .av-grid > *,
.tax-label               .av-grid > *,
.tax-maker               .av-grid > *,
.av-archive-work         .av-grid > *{ display:flex; }
.post-type-archive-work .av-grid > * > .av-card,
.tax-label               .av-grid > * > .av-card,
.tax-maker               .av-grid > * > .av-card,
.av-archive-work         .av-grid > * > .av-card{ display:flex; flex-direction:column; width:100%; height:100%; }
.post-type-archive-work .av-card__cta,
.tax-label               .av-card__cta,
.tax-maker              .av-card__cta,
.av-archive-work        .av-card__cta{ margin-top:auto; }
.post-type-archive-work .av-card,
.tax-label               .av-card,
.tax-maker              .av-card,
.av-archive-work        .av-card{ padding-bottom:8px; }

.entry-title{
  text-align: left;        /* 文字を左寄せ */
}


.av-term-pager{display:flex;gap:.5rem;justify-content:center;margin:1rem 0;flex-wrap:wrap}
.av-term-pager a,.av-term-pager span{padding:.4rem .7rem;border:1px solid #e5e7eb;border-radius:.4rem;text-decoration:none}
.av-term-pager .is-active{background:#f3f4f6;border-color:#d1d5db;font-weight:600}
.av-term-pager .is-disabled{opacity:.45;pointer-events:none}



/* メーカー／レーベル説明ブロック */
.maker-description {
  margin: 16px 0 24px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #eceff4;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(17, 17, 26, 0.03);
  font-size: 14px;
  line-height: 1.7;
  text-align: left; /* ★ 追加 */
}

/* 念のため、段落も左寄せを明示 */
.maker-description p {
  margin: 0 0 0.6em;
  text-align: left;
}
.maker-description p:last-child {
  margin-bottom: 0;
}

.work-topic-h2{
  margin: 10px 0 8px;
  font-size: 14px;
  line-height: 1.5;   /* 追加：読みやすさ */
  font-weight: 600;   /* 追加：薄すぎ防止（任意） */
  color: #666;
}

.work-section-title{
  margin: 18px 0 10px;
  font-size: 18px;
}

/* =========================================================
   term_index 固定ページの説明文
   影響範囲：固定ページの一覧説明文ブロックのみ
   ========================================================= */
.term-index-intro{
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 0 16px;
  text-align: center;
}

.term-index-intro h2,
.term-index-intro .wp-block-heading{
  display: inline-block;
  margin: 0 0 14px !important;
  padding: 0 0 .35em !important;
  font-size: 1.35rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #333 !important;
  border-bottom: 2px solid #f0c9d6 !important;
  background: none !important;
  box-shadow: none !important;
}

.term-index-intro h2::before,
.term-index-intro h2::after,
.term-index-intro .wp-block-heading::before,
.term-index-intro .wp-block-heading::after{
  content: none !important;
  display: none !important;
}

.term-index-intro p{
  margin: 0 auto !important;
  max-width: 700px;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  text-align: center;
}

.term-index-intro p br{
  display: block;
  content: "";
  margin-top: .35em;
}

@media (max-width: 768px){
  .term-index-intro{
    margin: 0 auto 22px;
    padding: 0 12px;
  }

  .term-index-intro h2,
  .term-index-intro .wp-block-heading{
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
  }

  .term-index-intro p{
    font-size: 13px;
    line-height: 1.8;
  }
}

/* =========================================================
   /work/ 一覧ページ説明文
   ========================================================= */
.archive-work-intro{
  max-width: 760px;
  margin: 0 auto 30px;
  padding: 0 16px;
  text-align: center;
}

.archive-work-intro__title{
  display: inline-block;
  margin: 0 0 14px;
  padding: 0 0 .35em;
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 700;
  color: #333;
  border-bottom: 2px solid #f0c9d6;
}

.archive-work-intro__text{
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  text-align: center;
}

@media (max-width: 768px){
  .archive-work-intro{
    margin: 0 auto 24px;
    padding: 0 12px;
  }

  .archive-work-intro__title{
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .archive-work-intro__text{
    font-size: 13px;
    line-height: 1.8;
  }
}


/* =========================================================
   /work/ 作品一覧：日付・絞り込みUIの調整
   影響範囲：作品一覧ページの上部フィルター周りのみ
   ========================================================= */

/* 上部フィルター全体の余白を整理 */
main.av-archive-work .av-archive-filterline{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px !important;
}

/* FANZA動画 / FANZA素人 / 単体のみ のピル */
main.av-archive-work .av-archive-filterline .pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #f0c9d6;
  background: #fff;
  color: #e75480;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}

main.av-archive-work .av-archive-filterline .pill:hover{
  background: #fff7fa;
  border-color: #efbfd0;
  color: #d9487d;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0,0,0,.07);
}

main.av-archive-work .av-archive-filterline .pill.on{
  background: #fff4f7;
  border-color: #ffc3d1;
  color: #c24d73;
  box-shadow: inset 0 0 0 1px rgba(255,195,209,.35);
}

/* 日付絞り込みブロック */
main.av-archive-work .av-archive-date-filter{
  max-width: 560px;
  margin: 0 auto 18px !important;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(17,17,26,.05);
}

/* archive-work.php 側のインライン指定を上書き */
main.av-archive-work .av-archive-date-filter form{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 9px 10px !important;
}

/* ラベル */
main.av-archive-work .av-archive-date-filter label{
  width: 100%;
  margin: 0 0 2px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700 !important;
  line-height: 1.5;
  text-align: center;
}

/* 日付入力 */
main.av-archive-work .av-archive-date-filter input[type="date"]{
  width: min(100%, 260px);
  min-height: 40px;
  padding: 0 14px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
  outline: none;
}

main.av-archive-work .av-archive-date-filter input[type="date"]:focus{
  border-color: #ffc3d1 !important;
  box-shadow: 0 0 0 3px rgba(255,195,209,.25);
}

/* 絞り込む / 日付を解除 */
main.av-archive-work .av-archive-date-filter .pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #ffc3d1 !important;
  background: #fff4f7;
  color: #c24d73;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease;
}

main.av-archive-work .av-archive-date-filter .pill:hover{
  background: #ffe6ee;
  border-color: #ff9fb8 !important;
  color: #b43862;
  transform: translateY(-1px);
}

main.av-archive-work .av-archive-date-filter .pill.on{
  background: #fff;
  color: #6b7280;
  border-color: #e5e7eb !important;
}

/* ジャンル表示ボタン */
main.av-archive-work .work-genre-wrapper{
  margin: 2px 0 22px;
}

main.av-archive-work .work-genre-toggle-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #ffc3d1;
  background: #fff4f7;
  color: #c24d73;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  box-shadow: 0 5px 16px rgba(194,77,115,.10);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}

main.av-archive-work .work-genre-toggle-btn:hover{
  background: #ffe6ee;
  border-color: #ff9fb8;
  color: #b43862;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(194,77,115,.14);
}

main.av-archive-work .work-genre-wrapper.is-open .work-genre-toggle-btn{
  background: #fff;
  border-color: #e5e7eb;
  color: #6b7280;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}

/* ジャンル一覧が開いたとき */
main.av-archive-work .work-genre-list{
  max-width: 960px;
  margin: 14px auto 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(17,17,26,.05);
}

main.av-archive-work .work-genre-inner{
  display: block;
  max-width: none;
}

main.av-archive-work .work-genre-label{
  display: block;
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

main.av-archive-work .work-genre-group{
  margin: 12px 0 0;
}

main.av-archive-work .work-genre-group:first-of-type{
  margin-top: 0;
}

main.av-archive-work .work-genre-group-title{
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

main.av-archive-work .work-genre-group-tags{
  gap: 6px 8px;
}

main.av-archive-work .work-genre-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e9eef3;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

main.av-archive-work .work-genre-link:hover{
  background: #fff7fa;
  border-color: #efbfd0;
  color: #d9487d;
}

main.av-archive-work .work-genre-link.current{
  background: #333;
  border-color: #333;
  color: #fff;
}

@media (max-width: 640px){
  main.av-archive-work .work-genre-toggle-btn{
    width: auto;
    max-width: calc(100% - 24px);
    min-height: 40px;
    padding: 0 18px;
    font-size: 12px;
  }

  main.av-archive-work .work-genre-wrapper{
    margin-bottom: 20px;
  }

  main.av-archive-work .work-genre-list{
    max-width: calc(100% - 20px);
    padding: 14px 12px;
    border-radius: 16px;
  }

  main.av-archive-work .work-genre-group-title{
    text-align: center;
  }

  main.av-archive-work .work-genre-group-tags{
    justify-content: center;
  }
}

/* 並び替えフォームとの距離を少し詰める */
main.av-archive-work .av-archive-controls{
  margin-top: 1.1rem;
}

/* スマホ調整 */
@media (max-width: 640px){
  main.av-archive-work .av-archive-filterline{
    gap: 6px;
    margin-bottom: 12px !important;
  }

  main.av-archive-work .av-archive-filterline .pill{
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  main.av-archive-work .av-archive-date-filter{
    max-width: calc(100% - 20px);
    padding: 13px 12px;
    border-radius: 16px;
  }

  main.av-archive-work .av-archive-date-filter input[type="date"]{
    width: 100%;
  }

  main.av-archive-work .av-archive-date-filter .pill{
    min-height: 38px;
    padding: 0 15px;
    font-size: 12px;
  }

  main.av-archive-work .work-genre-list{
    max-width: calc(100% - 20px);
    padding: 14px 12px;
    border-radius: 16px;
  }

  main.av-archive-work .work-genre-group-title{
    text-align: center;
  }

  main.av-archive-work .work-genre-group-tags{
    justify-content: center;
  }
}

/* =========================================================
   作品一覧（タグ）
   ========================================================= */
.work-genre-wrapper{
  text-align:center;
  margin:10px 0 18px;
}
.work-genre-toggle-btn{
  display:inline-block;
  padding:6px 14px;
  border-radius:18px;
  border:1px solid #ddd;
  background:#fff;
  font-size:13px;
  cursor:pointer;
}
.work-genre-list{
  margin-top:10px;
}
.work-genre-inner{
  display:inline-block;
  text-align:left;
  max-width:960px;
}
.work-genre-label{
  display:inline-block;
  margin-right:6px;
  font-size:13px;
}
.work-genre-group{
  margin:6px 0 4px;
}
.work-genre-group-title{
  font-weight:bold;
  font-size:13px;
  margin:4px 0;
}
.work-genre-group-tags{
  display:flex;
  flex-wrap:wrap;
  gap:4px 6px;
}
.work-genre-link{
  display:inline-block;
  padding:4px 8px;
  border-radius:12px;
  border:1px solid #ddd;
  font-size:12px;
  background:#fff;
  color:#333;
  text-decoration:none;
}
.work-genre-link.current{
  background:#333;
  color:#fff;
}


/* =========================================================
   一覧導線ナビ
   ========================================================= */
.av-global-index-nav{
  margin: 12px 0 18px;
  text-align: center;
}

.av-global-index-nav__title{
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.av-global-index-nav__list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.av-global-index-nav__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .6em 1.15em;
  border: 1px solid #f0c9d6;
  border-radius: 9999px;
  background: #fff;
  color: #e75480;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.av-global-index-nav__link:hover{
  background: #e75480;
  color: #fff;
  border-color: #e75480;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
}

.av-global-index-nav__link.is-current{
  background: #333;
  color: #fff;
  border-color: #333;
  pointer-events: none;
  box-shadow: none;
}

.av-global-index-nav--home{
  margin: 20px 0 24px;
}

@media (max-width: 768px){
  .av-global-index-nav__list{
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 0 4px 6px;
  }

  .av-global-index-nav__link{
    flex: 0 0 auto;
    font-size: 12px;
    padding: .7em 1em;
  }
}


/* =========================================================
   9) ホーム（AV女優コレナビ：ホーム）
   ========================================================= */
/* トップページID=41 の新着作品見出しだけ背景を消す */
.page-id-41 .article h2.section-title {
  background: none !important;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin: 2rem 0 1.5rem;
  color: #333;
  border-bottom: 2px solid #f0c9d6; /* 薄ピンクのライン */
  display: inline-block;            /* 線をタイトル幅だけに */
  padding-bottom: .3em;
}

/*  トップページ説明文（AV女優コレナビについて） */
.page-id-41 .home-intro{
  max-width: 860px;
  margin: 18px auto 34px;
  padding: 0 16px;
  text-align: center;
}

.page-id-41 .home-intro h2,
.page-id-41 .home-intro .wp-block-heading{
  display: inline-block;
  margin: 0 0 18px !important;
  padding: 0 0 .35em !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #333 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  border-bottom: 2px solid #f0c9d6 !important;
}

/* Cocoon見出しの装飾を無効化 */
.page-id-41 .home-intro h2::before,
.page-id-41 .home-intro h2::after,
.page-id-41 .home-intro .wp-block-heading::before,
.page-id-41 .home-intro .wp-block-heading::after{
  content: none !important;
  display: none !important;
}

.page-id-41 .home-intro p{
  max-width: 720px;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  text-align: left;
}

.page-id-41 .home-intro p:last-child{
  margin-bottom: 0 !important;
}

@media (max-width: 768px){
  .page-id-41 .home-intro{
    margin: 14px auto 26px;
    padding: 0 12px;
  }

  .page-id-41 .home-intro h2,
  .page-id-41 .home-intro .wp-block-heading{
    font-size: 1.25rem !important;
    margin-bottom: 14px !important;
  }

  .page-id-41 .home-intro p{
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
}


/* === Home CTA buttons: レイアウト + ピル型 === */

/* 中央寄せ＆横並び（PC） */
.entry-content .acn-actions{
  display:flex;
  justify-content:center;
  gap:100px;
  margin:20px 0 24px;
}

/* ボタン（PC） */
.acn-actions .acn-btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:1.2em 2.4em;
  font-size:16px;
  font-weight:600;
  line-height:1;
  letter-spacing:.15em;
  border-radius:9999px;             /* pill */
  border:2px solid #e75480;         /* 枠：淡ピンク */
  background:#fff;                  /* 背景 */
  color:#e75480;                    /* 文字：ローズ */
  text-decoration:none;
  box-shadow:0 3px 8px rgba(0,0,0,.06);
  transition:transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space:nowrap;               /* 折り返し防止（SPでは解除） */
}

.acn-actions .acn-btn:hover{
  background:#e75480;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

/* --- モバイル（640px以下）: 強制上書き --- */
@media (max-width:640px){
  .entry-content .acn-actions{
    gap:10px !important;
    margin:5px 0 24px !important;
  }
  .entry-content .acn-actions .acn-btn{
    font-size:12px !important;
    padding:.8em 1.2em !important;
    letter-spacing:.05em !important;
    white-space:normal !important;  /* 幅が足りない時に折り返し許可 */
  }
}



/* 「もっと見る」ボタン */
.acn-more {
  text-align: center;
  margin: 1.5em 0 2em; /* 少しタイトに */
}

.acn-more .acn-btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .6em 1.5em;
  border-radius: 9999px;
  border: 2px solid #e75480; /* 落ち着いたピンク */
  background: #fff;          /* 白背景 */
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #e75480;            /* 枠と同じ濃いピンク文字 */
  transition: all .3s ease;
}

.acn-more .acn-btn::after {
  content: "»"; /* 細身の矢印 */
  font-size: 1rem;
  color: inherit; /* ← 親要素の文字色を引き継ぐ */
  transition: transform .2s ease;
}

.acn-more .acn-btn:hover {
  background: #e75480;
  color: #fff;
}

.acn-more .acn-btn:hover::after {
  transform: translateX(4px);
}



.acn-grid{display:grid;gap:12px}
.acn-grid--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:960px){.acn-grid--cols-4{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.acn-grid--cols-4{grid-template-columns:repeat(2,1fr)}}
.acn-card{display:block;background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden;transition:transform .12s ease, box-shadow .12s ease}
.acn-card:hover{transform:translateY(-2px);box-shadow:0 4px 18px rgba(0,0,0,.06)}
.acn-card__media img,.acn-thumb{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#f0f0f0}
@keyframes acnShine{0%{background-position:-200px 0}100%{background-position:200px 0}}
.acn-card__body{padding:.65rem .8rem}
.acn-card__title{font-size:1rem;line-height:1.35;margin:.1rem 0 0}


/* トップページ：AV女優コレナビでできること */
.home-guide-block {
  max-width: 940px;
  margin: 34px auto 56px;
  padding: 30px 28px 28px;
  border: 1px solid #f4dfe6;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
  box-shadow: 0 8px 24px rgba(80, 40, 50, .04);
}

.home-guide-block h2 {
  margin: 0 0 24px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  position: relative;
}

.home-guide-block h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #f3a9bb;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-guide-card {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid #f3e2e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(80, 40, 50, .035);
  text-align: center;
}

.home-guide-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #f3a9bb;
}

.home-guide-card h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.home-guide-card p {
  margin: 0 0 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.85;
  text-align: left;
}

.home-guide-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #f3b3c3;
  border-radius: 999px;
  background: #fff;
  color: #e6507d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(230, 80, 125, .08);
}

.home-guide-card a:hover {
  background: #fff6f9;
  color: #d93f70;
  text-decoration: none;
}

/* 複数リンク用 */
.home-guide-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.home-guide-links a {
  margin: 0;
}

@media (max-width: 768px) {
  .home-guide-block {
    margin: 28px auto 42px;
    padding: 22px 16px 20px;
    border-radius: 20px;
  }

  .home-guide-block h2 {
    margin-bottom: 20px !important;
    font-size: 19px;
  }

  .home-guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-guide-card {
    padding: 20px 16px 18px;
  }

  .home-guide-card h3 {
    font-size: 15px;
  }

  .home-guide-card p {
    font-size: 13.5px;
    line-height: 1.8;
  }
}



/* =========================================================
   ホームの一覧ナビ調整
   ========================================================= */
.page-id-41 .av-global-index-nav--home{
  max-width: 920px;
  margin: 22px auto 12px;
  padding: 0 16px;
}

.page-id-41 .av-global-index-nav--home .av-global-index-nav__list{
  justify-content: center;
  gap: 12px;
}

.page-id-41 .av-global-index-nav--home .av-global-index-nav__link{
  min-height: 44px;
  padding: .8em 1.35em;
  font-size: 14px;
}

@media (max-width: 768px){
  .page-id-41 .av-global-index-nav--home{
    max-width: 100%;
    margin: 16px auto 8px;
    padding: 0;
  }

  .page-id-41 .av-global-index-nav--home .av-global-index-nav__list{
    justify-content: flex-start;
    gap: 8px;
    padding: 0 10px 6px;
    scroll-padding-left: 10px;
    box-sizing: border-box;
  }

  .page-id-41 .av-global-index-nav--home .av-global-index-nav__link{
    flex: 0 0 auto;
    font-size: 13px;
    padding: .75em 1.05em;
  }
}



/* =========================================================
   10) Single-Work（ヒーロー＋CTA）
   ========================================================= */
.single-work .work-hero {
  display:grid;
  justify-items:center;
  gap:24px;
  margin:24px 0 32px;
}

.single-work .work-hero img {
  width:min(100%, 720px);
  aspect-ratio: 3 / 2;   /* 横長の枠を固定 */
  object-fit: contain;   /* 画像を縮小して全体を表示 */
  background: #fff;      /* 余白部分の背景色（黒や白など好みで） */
  display:block;
  margin:0 auto;
}


.single-work .av-card__cta{ display:flex; justify-content:center; margin-top:16px; }
.single-work .btn-cta.btn-wide{ padding:1.2em 2.4em; }
.single-work .av-work-hero{ margin:16px 0 24px; }
.single-work .av-work-hero__media img{ display:block; width:min(100%, 720px); height:auto; margin:0 auto; border-radius:10px; }

/* 本文上部文面 */
.work-auto-summary,
.work-auto-summary p {
  text-align: left !important;
  line-height: 1.9;
}

/* 商品説明（概要） 折りたたみ表示 */
.work-overview{
  position: relative;
  text-align: left;
  margin:14px 0 18px;
  padding:12px 14px;
  background:#fff;
  border:1px solid #eceff4;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(17,17,26,.03);
  line-height:1.75;
}

.work-overview__body {
  line-height: 1.6;
  max-height: calc(1.6em * 5); /* だいたい5行分 */
  overflow: hidden;
  transition: max-height 0.25s ease;
}

/* 展開時は高さ制限を解除 */
.work-overview--expanded .work-overview__body {
  max-height: none;
}

/* 「…続きを見る」ボタン */
.work-overview__toggle {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.9em;
  cursor: pointer;
  color: #0073aa; /* お好みで変更可（WP管理画面リンク風） */
}

.work-overview__toggle:hover,
.work-overview__toggle:focus {
  text-decoration: underline;
}


/* 「FANZAで作品を見る」と最初の「○○の作品一覧」の間 */
.single-work .ap-work-box > .av-card__cta {
  margin-bottom: 1.5rem;
}

/* 各「○○の作品一覧」ブロック自体の上下余白 */
.single-work .work-related-block {
  margin-top: 3rem;     /* これで Fanzaボタン → 見出し、前のブロック → 次の見出し の隙間が広がる */
}

/* 「○○の作品一覧」内のグリッドと「もっと見る」の間 */
.single-work .work-related-block .acn-more {
  margin-top: 1.5rem;
}

/* 「もっと見る」以降（次の「○○の作品一覧」）との間もさらに広げたい場合 */
.single-work .work-related-block {
  margin-bottom: 3rem;
}

/* single-work：関連「○○の作品一覧」をPCで3列表示 */
.single-work .work-related-block .av-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* single-work：関連「○○の作品一覧」をスマホで2列表示 */
@media (max-width: 767px) {
  .single-work .work-related-block .av-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* =========================================================
 * 作品ページ：短いH1・正式タイトル・関連リンク
 * ========================================================= */

body.single-work .av-work-title-block {
	margin: 0 0 18px;
}

body.single-work .av-work-short-title {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

body.single-work .av-work-official-title {
	margin: 8px 0 0;
	padding: 12px 14px;
	border: 1px solid #edf1f5;
	border-radius: 12px;
	background: #fafcff;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.7;
}

body.single-work .av-work-official-title__label {
	display: inline-block;
	margin: 0 8px 0 0;
	color: #6b7280;
	font-weight: 700;
}

body.single-work .av-work-official-title__text {
	color: #374151;
}

body.single-work .av-work-related-links {
	margin: 24px 0;
	padding: 18px;
	border: 1px solid #e8eef5;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

body.single-work .av-work-related-links__title {
	margin: 0 0 12px;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
}

body.single-work .av-work-related-links ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.single-work .av-work-related-links li {
	margin: 0;
	padding: 0;
}

body.single-work .av-work-related-links a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid #edf1f5;
	border-radius: 999px;
	background: #f8fbff;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

body.single-work .av-work-related-links a:hover {
	background: #eef6ff;
	color: #111827;
}

/* =========================================================
 * 全ページ：通常サイドバー・スマホサイドバーを非表示
 * 本文カラムは中央寄せ
 * ========================================================= */

/* 通常サイドバーを非表示 */
#sidebar,
.sidebar,
#sidebar-scroll,
.sidebar-scroll,
#sidebar-menu-content,
.sidebar-menu-content,
.sidebar-menu-button,
.mobile-menu-buttons .sidebar-menu-button {
	display: none !important;
}

/* Cocoonの2カラム配置を解除 */
.content-in {
	display: block !important;
}

/* 本文エリアを中央寄せ */
.main {
	float: none !important;
	clear: both !important;
	width: calc(100% - 32px) !important;
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* 記事内の重複mainには幅指定をかけない */
main.site-main {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
	.main {
		width: calc(100% - 20px) !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}


/* =========================================
   作品ページ：サンプル画像ギャラリー
   ======================================= */
.work-sample-gallery {
  margin: 18px 0 22px;
}

.work-sample-gallery__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.work-sample-gallery__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scroll-behavior: smooth;
}

.work-sample-gallery__track::-webkit-scrollbar {
  height: 8px;
}

.work-sample-gallery__track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

@media (min-width: 768px) {
  .work-sample-gallery__title {
    text-align: center;
  }

  .work-sample-gallery__track {
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
}

.work-sample-gallery__item {
  display: block;
  flex: 0 0 auto;
  width: 140px;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.work-sample-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .work-sample-gallery__item {
    width: 120px;
  }
}

/* =========================================
   作品ページ：サンプル画像ライトボックス
   ======================================= */
body.work-sample-lightbox-open {
  overflow: hidden;
}

.work-sample-lightbox[hidden] {
  display: none !important;
}

.work-sample-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.work-sample-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.work-sample-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(96vw, 1100px);
  height: min(92vh, 900px);
  margin: 4vh auto 0;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
}

.work-sample-lightbox__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 0;
}

.work-sample-lightbox__body img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #111;
}

.work-sample-lightbox__counter {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.work-sample-lightbox__close,
.work-sample-lightbox__nav {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.work-sample-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.work-sample-lightbox__nav {
  width: 44px;
  height: 64px;
  border-radius: 999px;
  font-size: 36px;
  line-height: 1;
  justify-self: center;
}

@media (max-width: 767px) {
  .work-sample-lightbox__dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    grid-template-columns: 44px 1fr 44px;
    padding: 16px 0;
  }

  .work-sample-lightbox__body img {
    max-height: 72vh;
  }

  .work-sample-lightbox__nav {
    width: 36px;
    height: 52px;
    font-size: 30px;
  }

  .work-sample-lightbox__close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}


/* ===============================
   女優カード（archive-actress.php）
   =============================== */
.actor-card img {
  width: 100%;
  aspect-ratio: 3 / 4;   /* 縦長固定 */
  object-fit: cover;     /* トリミングして歪み防止 */
  border-radius: 12px 12px 0 0; /* 上だけ角丸 */
}

.actor-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

@media (max-width:1024px){
  .actor-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:640px){
  .actor-cards { grid-template-columns: repeat(2, 1fr); }
}

.actor-card {
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.actor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}


.actor-card__title {
  margin: .6em 0;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
}
/* 女優カード：タイトルリンク（一覧＋トップ） */
.post-type-archive-actress .actor-card__title a,
.home .actor-cards .actor-card__title a{
  text-decoration: underline;   /* 下線は残す */
  border-left: 0 !important;    /* 左の灰色バー対策（border-left系） */
  box-shadow: none !important;  /* insetの左バー対策（Cocoon） */
  background: none !important;
  background-image: none !important;
  padding-left: 0 !important;   /* 左バー用の余白が付くテーマ対策 */
}
.post-type-archive-actress .actor-card__title a:hover,
.home .actor-cards .actor-card__title a:hover{
  color: #e75480;
}

/* ページID=41 の女優カード見出し(h3)だけ、灰色ボックス系を無効化 */
.page-id-41 h3.actor-card__title{
  background: none !important;
  box-shadow: none !important;   /* 見出し自体に当たる影装飾への対策 */
  border: 0 !important;
  padding-left: 0 !important;
}

.actor-card__noimg {
  width: 100%;
  aspect-ratio: 1 / 1;            /* ★3/4 → 1/1 に変更 */
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f5f5;
  border-radius: 12px 12px 0 0;   /* ★8px → 上だけ12pxに統一 */
  color:#999;
  font-size:.9rem;
  font-weight:600;
}

/* サムネイル部分のリンクは下線なし */
.actor-card__thumb { text-decoration: none; }

/* 女優カード：作品数行（一覧＋トップ共通） */
.post-type-archive-actress .actor-card .actress-card__works,
.home .actor-cards .actress-card__works{
  display: block;
  width: 100%;
  text-align: center;     /* 中央寄せ */
  margin: 8px 0 14px;     /* 上8 / 下14（お好みで 10〜18px） */
  font-size: .80rem;      /* 文字をやや小さめに */
  color: #4a5b84;
}
.post-type-archive-actress .actor-card .actress-card__works .num,
.home .actor-cards .actress-card__works .num{
  font-weight: 600;
  padding: .1em .45em;
  border-radius: 999px;
  background: #f6f8fc;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  font-variant-numeric: tabular-nums;
}

/* 女優一覧（アーカイブ）での女優名サイズ */
.post-type-archive-actress h3.actor-card__title{ font-size: .90rem; line-height: 1.35; }

/* トップの新着女優でも同じサイズに */
.home .actor-cards h3.actor-card__title{ font-size: .90rem; line-height: 1.35; }

/* スマホはさらに少し小さく（任意） */
@media (max-width: 640px){
  .post-type-archive-actress h3.actor-card__title,
  .home .actor-cards h3.actor-card__title{ font-size: .85rem; }
}


.actress-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;            /* 正方形のままでOK */
  overflow: hidden;
  border-radius: 12px 12px 0 0;   /* ★上だけ角丸で統一 */
  background-repeat: no-repeat;

  background-position: var(--focus-x, 50%) var(--focus-y, 50%);
  background-size: var(--zoom, 100%) auto;
}

/* 女優個別ページ：画像エリアは全部角丸 */
.single-actress .ap-hero__img,
.single-actress .ap-hero__img img,
.single-actress .ap-hero__img .actress-thumb,
.single-actress .ap-hero__img--ph{
  border-radius: 12px;
  overflow: hidden;
}

/* 女優個別ページ：画像なしプレースホルダーも正方形＋角丸 */
.ap-hero__img--ph{
  width: 100%;
  aspect-ratio: 1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f5f5;
  color:#999;
  font-weight:600;
  border-radius: 12px;
}


/* =========================================================
   固定ページ用：手動女優カード（完成版）
   影響範囲：
   - [avcl_featured_actress_cards] を入れた固定ページのみ
   - 既存の女優一覧 / 女優詳細 / トップの新着女優には影響しない
   ========================================================= */

.avcl-featured-actress-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}

.avcl-featured-actress-card{
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(17,17,26,.06);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.avcl-featured-actress-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17,17,26,.09);
  border-color: #dfe5ee;
}

.avcl-featured-actress-card__top{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.avcl-featured-actress-card__rank{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff4f7;
  border: 1px solid #ffc3d1;
  color: #c24d73;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.avcl-featured-actress-card__head{
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 14px;
  row-gap: 14px;
  align-items: center;
}

.avcl-featured-actress-card__main{
  display: contents;
}

.avcl-featured-actress-card__image{
  grid-column: 1;
  grid-row: 1;
  width: 92px;
  margin: 0;
  justify-self: center;
}

.avcl-featured-actress-card__image a{
  display: block;
  text-decoration: none;
}

.avcl-featured-actress-card__image img,
.avcl-featured-actress-card__noimg{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f7fa;
}

.avcl-featured-actress-card__image img{
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.avcl-featured-actress-card__noimg{
  display: grid;
  place-items: center;
  color: #97a0ad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid #e7ebf1;
}

/* 名前部分：テーマの h3 装飾を完全に打ち消す */
.entry-content h3.avcl-featured-actress-card__name{
  grid-column: 2;
  grid-row: 1;
  min-height: 92px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

.entry-content h3.avcl-featured-actress-card__name::before,
.entry-content h3.avcl-featured-actress-card__name::after{
  content: none !important;
  display: none !important;
}

.entry-content h3.avcl-featured-actress-card__name a{
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: #1f5fb8;
}

.entry-content h3.avcl-featured-actress-card__name a::after{
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: #efbfd0;
}

.entry-content h3.avcl-featured-actress-card__name a:hover{
  opacity: .88;
  text-decoration: none !important;
}

.avcl-featured-actress-card__profile{
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 14px;
  background: #fbfcfe;
  border: 1px solid #edf1f6;
  border-radius: 14px;
}

.avcl-featured-actress-card__profile-row{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid #eef2f7;
}

.avcl-featured-actress-card__profile-row:first-child{
  border-top: none;
  padding-top: 0;
}

.avcl-featured-actress-card__profile-row:last-child{
  padding-bottom: 0;
}

.avcl-featured-actress-card__profile dt{
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  white-space: nowrap;
}

.avcl-featured-actress-card__profile dd{
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  word-break: break-word;
}

.avcl-featured-actress-card__works{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #e6eaf0;
}

.avcl-featured-actress-card__work{
  display: block;
  text-decoration: none;
}

.avcl-featured-actress-card__work img,
.avcl-featured-actress-card__work-noimg{
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f8fb;
}

.avcl-featured-actress-card__work img{
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .18s ease;
}

.avcl-featured-actress-card__work:hover img{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.avcl-featured-actress-card__work-noimg{
  display: grid;
  place-items: center;
  color: #97a0ad;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid #e7ebf1;
}

/* タブレット */
@media (max-width: 1100px){
  .avcl-featured-actress-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .avcl-featured-actress-card__name{
    font-size: 28px;
  }
}

/* スマホ */
@media (max-width: 767px){
  .avcl-featured-actress-grid{
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 18px 0 24px;
  }

  .avcl-featured-actress-card{
    padding: 14px;
    border-radius: 16px;
  }

  .avcl-featured-actress-card__rank{
    min-height: 32px;
    padding: 0 12px;
    font-size: 16px;
  }

  .avcl-featured-actress-card__head{
    grid-template-columns: 78px 1fr;
    column-gap: 12px;
    row-gap: 12px;
  }

  .avcl-featured-actress-card__image{
    width: 78px;
  }

  .entry-content h3.avcl-featured-actress-card__name{
    min-height: 78px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
  }

  .entry-content h3.avcl-featured-actress-card__name a::after{
    width: 28px;
    height: 2px;
    margin-top: 6px;
  }

  .avcl-featured-actress-card__profile{
    padding: 10px 12px;
    border-radius: 12px;
  }

  .avcl-featured-actress-card__profile-row{
    grid-template-columns: 84px 1fr;
    gap: 8px;
    padding: 6px 0;
  }

  .avcl-featured-actress-card__profile dt{
    font-size: 12px;
  }

  .avcl-featured-actress-card__profile dd{
    font-size: 13px;
    line-height: 1.65;
  }

  .avcl-featured-actress-card__works{
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
  }
}


/* =========================================================
 * 人気AV女優ランキングページ
 * 上部導入ブロック用デザイン
 * 対象ショートコード：
 * [avcl_ranking_intro]
 * ======================================================= */

.avcl-ranking-intro{
  margin: 0 0 12px;
}

.avcl-ranking-intro__lead{
  display: block;
  margin: 0 0 4px;
  padding: 10px 18px 10px;
  border: 1px solid #e7ebf2;
  border-radius: 20px;
  background: #fff;
}

.avcl-ranking-intro__lead > *:last-child{ margin-bottom: 0 !important; }

.avcl-ranking-intro__eyebrow{
  display: table;
  margin: 0 auto 8px;
  padding: 0 12px;
  min-height: 28px;
  line-height: 28px;
  font-size: 12px;
  font-weight: 700;
  color: #d96a95;
  background: #fff7fa;
  border: 1px solid #f0cddb;
  border-radius: 999px;
}

.avcl-ranking-intro__text{
  margin: 0;
  padding: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.8;
  color: #4e596a;
  text-align: left;
}

.avcl-ranking-intro__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.avcl-ranking-intro__panel{
  display: flex;
  flex-direction: column;
  padding: 14px 16px 12px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 20px;
  height: 100%;
}

/* 見出しは中央配置＋細い下線のみ */
.avcl-ranking-intro .avcl-ranking-intro__panel-title{
  display: block;
  margin: 0 0 10px !important;
  padding: 0 0 8px !important;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  color: #24324a;
  text-align: center;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e9edf3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: static !important;
}

.avcl-ranking-intro .avcl-ranking-intro__panel-title::after{
  content: none !important;
}

.avcl-ranking-intro__panel-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #556173;
  text-align: left;
}

.avcl-ranking-intro__points{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.avcl-ranking-intro__points li{
  position: relative;
  margin: 0 0 6px;
  padding: 0 0 0 16px;
  font-size: 13px;
  line-height: 1.75;
  color: #4f5b6d;
  text-align: left !important;
}

.avcl-ranking-intro__points li:last-child{
  margin-bottom: 0;
}

.avcl-ranking-intro__points li::before{
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #efc8d7;
  transform: translateY(-50%);
}

.avcl-ranking-intro__links{
  margin-top: 10px;
}

.avcl-ranking-intro__link-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.avcl-ranking-intro__link-row + .avcl-ranking-intro__link-row{
  margin-top: 8px;
}

.avcl-ranking-intro__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #2f3f58;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.avcl-ranking-intro__link:hover{
  color: #d96a95;
  background: #fff7fa;
  border-color: #efc8d7;
}

/* 右パネルのリンク群を下に寄せて、左右の高さ差を見えにくくする */
.avcl-ranking-intro__panel .avcl-ranking-intro__links{
  margin-top: auto;
  padding-top: 12px;
}

.avcl-ranking-intro__panel > :last-child{
  margin-bottom: 0;
}

@media (max-width: 767px){
  .avcl-ranking-intro{
    margin-bottom: 10px;
  }

  .avcl-ranking-intro__lead{
    margin-bottom: 4px;
    padding: 10px 14px 9px;
    border-radius: 16px;
  }

  .avcl-ranking-intro__eyebrow{
    margin: 0 auto 7px;
    min-height: 26px;
    line-height: 26px;
    font-size: 11px;
  }

  .avcl-ranking-intro__text{
    font-size: 13px;
    line-height: 1.75;
  }

  .avcl-ranking-intro__grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .avcl-ranking-intro__panel{
    padding: 12px 14px 10px;
    border-radius: 16px;
  }

  .avcl-ranking-intro .avcl-ranking-intro__panel-title{
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    font-size: 18px;
  }

  .avcl-ranking-intro__panel-text{
    font-size: 13px;
    line-height: 1.85;
  }

  .avcl-ranking-intro__points{
    margin-top: 8px;
  }

  .avcl-ranking-intro__points li{
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.7;
  }

  .avcl-ranking-intro__links{
    margin-top: 8px;
  }

  .avcl-ranking-intro__panel .avcl-ranking-intro__links{
    padding-top: 10px;
  }

  .avcl-ranking-intro__link-row{
    gap: 8px;
  }

  .avcl-ranking-intro__link-row + .avcl-ranking-intro__link-row{
    margin-top: 8px;
  }

  .avcl-ranking-intro__link{
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
}

/* 人気AV女優ランキング：H1直下の説明文 */
.avcl-ranking-top-lead {
  max-width: 860px;
  margin: 0 auto 26px;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

@media (max-width: 768px) {
  .avcl-ranking-top-lead {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.85;
  }
}

/* ランキング系ページ：H1直下の説明文 */
.avcl-ranking-top-lead {
  max-width: 860px;
  margin: 0 auto 26px;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

@media (max-width: 768px) {
  .avcl-ranking-top-lead {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.85;
  }
}

/* =========================================================
 * 人気AV女優ランキング
 * Top100軽量一覧 + 詳細ページ導線
 * 対象ショートコード：
 * [avcl_actress_ranking_grid]
 * [avcl_featured_actress_cards_range]
 * ======================================================= */

.avcl-ranking-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.avcl-ranking-grid__item{
  min-width: 0;
}

.avcl-ranking-grid__link{
  display: block;
  height: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.avcl-ranking-grid__link:hover{
  transform: translateY(-2px);
  border-color: #d9e2ec;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

.avcl-ranking-grid__rank{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  margin: 0 0 10px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #d96a95;
  background: #fff7fa;
  border: 1px solid #f0cddb;
  border-radius: 999px;
}

.avcl-ranking-grid__image{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f9fb;
  margin-bottom: 10px;
}

.avcl-ranking-grid__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avcl-ranking-grid__noimg{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #7b8794;
}

.avcl-ranking-grid__name{
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: #2f3f58;
  word-break: break-word;
}

.avcl-ranking-grid__meta{
  font-size: 12px;
  line-height: 1.5;
  color: #617082;
}

.avcl-ranking-detail-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.avcl-ranking-detail-links .avcl-ranking-detail-links__item{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  text-decoration: none;
  color: #2f3f58;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 999px;
  box-sizing: border-box;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.avcl-ranking-detail-links a.avcl-ranking-detail-links__item:hover{
  color: #d96a95;
  background: #fff7fa;
  border-color: #efc8d7;
}

.avcl-ranking-top-detail-anchor{
  scroll-margin-top: 100px;
}

@media (max-width: 1023px){
  .avcl-ranking-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .avcl-ranking-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .avcl-ranking-grid__link{
    padding: 10px;
    border-radius: 14px;
  }

  .avcl-ranking-grid__rank{
    min-width: 46px;
    height: 24px;
    margin-bottom: 8px;
    font-size: 11px;
  }

  .avcl-ranking-grid__image{
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .avcl-ranking-grid__name{
    font-size: 12px;
    margin-bottom: 4px;
  }

  .avcl-ranking-grid__meta{
    font-size: 11px;
  }

  .avcl-ranking-detail-links{
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }

  .avcl-ranking-detail-links .avcl-ranking-detail-links__item{
    min-height: 40px;
    font-size: 12px;
  }
}

/* =========================================================
 * 人気AV女優ランキング
 * 詳細ランキング見出し・現在位置ボタン調整
 * 対象：
 * [avcl_actress_ranking_page]
 * ======================================================= */

/* 現在選択中のページを分かりやすくする */
.avcl-ranking-detail-links--pager .avcl-ranking-detail-links__item.is-current{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(180deg, #e27aa4 0%, #d96a95 100%);
  border: 1px solid #d96a95;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(217, 106, 149, .22);
  box-sizing: border-box;
  cursor: default;
}

/* 詳細カード前の見出し */
.avcl-ranking-detail-head--main{
  margin: 26px 0 22px;
  text-align: center;
}

/* 小さな補足ラベル */
.avcl-ranking-detail-head__eyebrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  padding: 4px 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #d96a95;
  background: #fff7fa;
  border: 1px solid #f0cddb;
  border-radius: 999px;
}

/* h2のグレー帯をやめて、サイトに合う見出しにする */
.avcl-ranking-detail-head--main .avcl-ranking-detail-head__title{
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 12px;
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
  color: #24324a;
  background: transparent;
  border: 0;
}

/* 女優名の下線とは少し違う、短めのアクセント */
.avcl-ranking-detail-head--main .avcl-ranking-detail-head__title::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 3px;
  transform: translateX(-50%);
  background: #f0b6c9;
  border-radius: 999px;
}

.avcl-ranking-detail-head--main .avcl-ranking-detail-head__lead{
  max-width: 760px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: #556173;
}

/* 2ページ目以降の見出しもグレー帯を避ける */
.avcl-ranking-detail-head:not(.avcl-ranking-detail-head--main) .avcl-ranking-detail-head__title{
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 12px;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
  color: #24324a;
  background: transparent;
  border: 0;
}

.avcl-ranking-detail-head:not(.avcl-ranking-detail-head--main) .avcl-ranking-detail-head__title::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 3px;
  transform: translateX(-50%);
  background: #f0b6c9;
  border-radius: 999px;
}

@media (max-width: 767px){
  .avcl-ranking-detail-head--main{
    margin: 22px 0 18px;
  }

  .avcl-ranking-detail-head__eyebrow{
    font-size: 11px;
  }

  .avcl-ranking-detail-head--main .avcl-ranking-detail-head__title{
    font-size: 20px;
  }

  .avcl-ranking-detail-head--main .avcl-ranking-detail-head__lead{
    font-size: 13px;
    line-height: 1.8;
  }
}

/* =========================================================
   11) 用語カード（term index）
   ========================================================= */
.av-term-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media (max-width:1200px){.av-term-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.av-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.av-term-grid{grid-template-columns:1fr}}
.av-term-card{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px;
  box-shadow:0 0 0 1px rgba(0,0,0,.02),0 2px 6px rgba(0,0,0,.03); min-height:64px;
}
.av-term-card__link{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; text-decoration:none; }
.av-term-card__name{ font-size:15px; line-height:1.5; }
.av-term-card__badge{
  min-width:24px; height:24px; padding:0 8px; border-radius:9999px;
  background:#f1f3ff; color:#3b4ee6;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700;
}

/* =========================================================
   12) ノーヒット時の案内ボックス
   ========================================================= */
.av-nohit{ border:1px solid #eee; background:#fafafa; padding:16px; border-radius:10px; margin:12px 0 20px; }
.av-nohit__title{ font-size:1.05rem; margin:0 0 10px; }
.av-nohit__tips ul{ margin:6px 0 10px 1.2em; }
.av-nohit__tips li{ list-style:disc; }
.av-nohit__switch{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:10px 0; }
.av-nohit__switch .pill{ display:inline-block; padding:6px 10px; border:1px solid #ddd; border-radius:999px; text-decoration:none; color:#333; }
.av-nohit__switch .pill:hover{ background:#fff; }
.suggest-list{ display:flex; flex-wrap:wrap; gap:8px 12px; padding:0; list-style:none; margin:8px 0 0; }
.suggest-list li a{ text-decoration:none; border-bottom:1px dashed #bbb; color:#333; }
.suggest-list li a:hover{ border-bottom-color:#333; }
.av-nohit__dual{ margin-top:12px; }

/* =========================================================
   13) パンくずレイアウト
   ========================================================= */
/* レイアウト：パンくずは必ず1段占有（Flex/Grid/float すべて想定） */
.avcl-bc-wrap {
  display: block;
  width: 100%;
  clear: both;
  float: none;
  margin: 8px 0 16px;
  grid-column: 1 / -1;   /* 親がCSS Gridの場合も1段占有 */
  flex-basis: 100%;      /* 親がFlexの場合に強制折り返し */
}

.avcl-bc {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .25em .5em;
  font-size: 12px;
  line-height: 1.8;
}

.avcl-bc__item {
  white-space: nowrap;
}

.avcl-bc__item::after {
  content: "›";
  opacity: .5;
  margin: 0 .4em;
}

.avcl-bc__item:last-child::after {
  content: none;
}

.avcl-bc__current {
  opacity: .85;
}

/* =========================================================
		ページネーション最適化
   ========================================================= */

/* 基本スタイル */
.navigation.pagination {
  text-align: center;
  margin: 30px 0;
}

/* ページネーションの共通デザイン調整 */
.navigation.pagination .page-numbers {
  display: inline-flex;        /* 中央揃えに有効 */
  align-items: center;         /* 縦方向中央 */
  justify-content: center;     /* 横方向中央 */
  min-width: 45px;             /* 数字が大きくてもはみ出さない幅 */
  height: 40px;                /* 高さを統一 */
  padding: 0 10px;             /* 左右に余白（可変数字対応） */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;              /* 上下のズレを防止 */
  box-sizing: border-box;      /* paddingを含めて計算 */
  white-space: nowrap;         /* 改行防止 */
}

/* 現在のページ（強調表示） */
.navigation.pagination .page-numbers.current {
  background: #ff6666;
  color: #fff;
  border-color: #ff6666;
}

/* 「次へ」ボタンなど */
.navigation.pagination .next,
.navigation.pagination .prev {
  min-width: 60px; /* テキスト入りのボタンは少し広め */
}


/* 省略記号「…」を常に表示 */
.navigation.pagination .page-numbers.dots {
  display: inline-block !important;
  border: none;
  background: transparent;
  color: #666;
  min-width: auto;
  padding: 6px 5px;
  margin: 0 2px;
}

/* ページネーションのスマホ表示を横スクロール対応に */
@media (max-width: 768px) {
  .navigation.pagination .nav-links {
    display: flex;
    flex-wrap: nowrap;       /* 改行させない */
    overflow-x: auto;        /* 横スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* スマホで滑らかスクロール */
    gap: 4px;                /* ボタン同士に余白 */
  }

  .navigation.pagination .page-numbers {
    flex: 0 0 auto;          /* 縮小せずそのまま表示 */
  }
}


/* ===== term_index ページャ（安定版：flex 中央寄せ） ===== */

/* 親：必ず横並び＋中央寄せ（テーマ上書きを抑止） */
.av-term-index .navigation.pagination .nav-links{
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  line-height: 0 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* form は並べるための箱だけにする */
.av-term-index .navigation.pagination .page-numbers__form{
  display: inline-flex !important;
  margin: 0;
  padding: 0;
}

/* ボタン本体：flex でど真ん中に */
.av-term-index .navigation.pagination .page-numbers__form .page-numbers{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 45px;
  padding: 0 10px;
  background: #fff;
  color: inherit;
  border: 1px solid #ddd;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
}

/* 現在ページ */
.av-term-index .navigation.pagination .page-numbers__form .page-numbers.current{
  background: #ff6666;
  color: #fff;
  border-color: #ff6666;
  cursor: default;
}

/* ホバー：背景を薄グレー（枠色は変えない） */
.av-term-index .navigation.pagination
  .page-numbers__form .page-numbers:not(.current):hover{
  background: #f5f5f5;
  border-color: #ddd;
}

/* 無効（Prev/Next の端） */
.av-term-index .navigation.pagination .page-numbers__form .page-numbers.is-disabled{
  opacity: .45;
  pointer-events: none;
  cursor: default;
}

/* Prev / Next 幅を作品ページと合わせる */
.av-term-index .navigation.pagination .page-numbers.prev,
.av-term-index .navigation.pagination .page-numbers.next{
  min-width: 60px;
}

/* ===== SP: 1行固定＋横スクロール（左寄せ＋オーバーレイ・フェード） ===== */
@media (max-width:768px){
  .av-term-index .navigation.pagination .nav-links{
    /* 中央寄せを打ち消して左スタートにする */
    justify-content: flex-start !important;

    /* スクロール可能なブロックにする（inline-flex → flex） */
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    gap: 6px;

    /* フェード幅＝12px に合わせて余白＆スナップ基準も揃える */
    padding: 0 12px 6px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;

    /* 端フェードは ::before/::after のオーバーレイで（クリック阻害しない） */
    position: relative;
  }
  .av-term-index .navigation.pagination .nav-links::before,
  .av-term-index .navigation.pagination .nav-links::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 6px;                   /* 下パディングに合わせる */
    width: 12px;                   /* フェード幅 */
    pointer-events: none;          /* 下のボタンにタップを通す */
  }
  .av-term-index .navigation.pagination .nav-links::before{
    left: 0;
    background: linear-gradient(90deg, #fff 0, rgba(255,255,255,0) 100%);
  }
  .av-term-index .navigation.pagination .nav-links::after{
    right: 0;
    background: linear-gradient(270deg, #fff 0, rgba(255,255,255,0) 100%);
  }

  /* 子要素は折り返さず固定幅として扱う */
  .av-term-index .navigation.pagination .page-numbers__form{
    flex: 0 0 auto;
  }
  .av-term-index .navigation.pagination .page-numbers__form .page-numbers{
    flex: 0 0 auto;
    scroll-snap-align: center;     /* 押しやすい位置で止まりやすく */
    /* 端での見切れ防止（手動スクロール時にも効く） */
    scroll-margin-inline: 12px;
  }

  /* スクロールバー（任意） */
  .av-term-index .navigation.pagination .nav-links{ scrollbar-width: thin; }
  .av-term-index .navigation.pagination .nav-links::-webkit-scrollbar{ height: 6px; }
  .av-term-index .navigation.pagination .nav-links::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.2); border-radius: 3px;
  }
}



/* ===== term_index ページャの <p> リセット ===== */
/* nav-links 直下の段落を“器だけ”にして行高を無効化 */
.av-term-index .navigation.pagination .nav-links > p{
  display: contents !important;   /* 子要素だけを並べる */
  margin: 0 !important;
  line-height: 0 !important;
}

/* ===== /term_index 完成版 ===== */


/* ===== term_index：タブ（あかさたな…） ===== */
.av-term-index .av-term-tabs{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 10px;
  line-height: 0;                 /* 行間の影響を打ち消し */
}

.av-term-index .av-term-tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 9999px;          /* ピル型 */
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.av-term-index .av-term-tab:hover{
  background: #f7f7f7;
  border-color: #ddd;
}

.av-term-index .av-term-tab.is-active,
.av-term-index .av-term-tab[aria-current="page"]{
  background: #ff6666;
  border-color: #ff6666;
  color: #fff;
  pointer-events: none;           /* 現在地はクリック不可 */
}

/* キーボード操作の見やすさ */
.av-term-index .av-term-tab:focus-visible{
  outline: 2px solid #ff6666;
  outline-offset: 2px;
}

@media (max-width:768px){
  .av-term-index .av-term-tabs{
    justify-content: flex-start !important; /* ← 中央寄せを打ち消す */
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    gap: 6px;
    padding: 0 12px 6px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    position: relative;
  }
  .av-term-index .av-term-tabs::before,
  .av-term-index .av-term-tabs::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 6px;
    width: 12px;
    pointer-events: none;
  }
  .av-term-index .av-term-tabs::before{
    left: 0;
    background: linear-gradient(90deg, #fff 0, rgba(255,255,255,0) 100%);
  }
  .av-term-index .av-term-tabs::after{
    right: 0;
    background: linear-gradient(270deg, #fff 0, rgba(255,255,255,0) 100%);
  }
  .av-term-index .av-term-tab{
    flex: 0 0 auto;
    scroll-snap-align: start;
    /* 念のため：左端での見切れ防止 */
    scroll-margin-inline: 12px;
  }
}




/* 女優ヘッダーのベース（画像と見出し） */
.av-archive-actress-header img {
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}
.av-archive-actress-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 10px 0 8px;
}

/* ▼ プロフィールリンク（テキストリンク版：他UIに合わせた淡色+下線） */
.av-archive-actress-link { margin: 0 0 18px; }
.av-actor-prof-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;              /* グレー基調（UIの淡色に合わせる） */
  text-decoration: none;
  border-bottom: 1px solid #cfd8dc;
  padding-bottom: 2px;
}
.av-actor-prof-link:hover {
  color: #ff6a00;              /* 既存UIのアクセントに寄せる */
  border-color: #ff6a00;
}
.av-actor-prof-caret {
  font-size: 12px;
  line-height: 1;
  opacity: .8;
}

/* （好みで）ピル型のゴーストボタンにしたい場合は下を有効化*/
.av-actor-prof-link {
  border: 1px solid #e9eef3;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}





.av-archive-filterline .pill{
  display:inline-block; padding:6px 14px; border-radius:999px;
  border:1px solid #e9eef3; background:#fff; color:#666; font-size:13px;
  box-shadow:0 1px 2px rgba(0,0,0,.04); text-decoration:none;
}
.av-archive-filterline .pill:hover{ border-color:#ff6a00; color:#ff6a00; }
.av-archive-filterline .pill.on{ border-color:#ff6a00; color:#ff6a00; background:#fff; }




/* =========================================================
   13) レスポンシブ補足
   ========================================================= */
@media (max-width:1200px){ .work-cards{ grid-template-columns:repeat(5,1fr); } }
@media (max-width:980px){  .work-cards{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:760px){  .work-cards{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){  .work-cards{ grid-template-columns:repeat(2,1fr); } }

@media (max-width:600px){
  .gs-wrap {
    grid-template-columns: 1fr auto; /* 入力欄を優先的に広く、ボタンは必要最小限 */
    gap: 10px;
  }
  .gs-btn {
    width: auto;      /* 内容に合わせる */
    min-width: 80px;  /* 小さすぎ防止（必要なら調整） */
    padding: 0 14px;  /* 横の余白を少し減らしてコンパクトに */
  }
}

@media (max-width:720px){
  .actress-profile-table th{ width:8.5rem; padding:10px 12px; }
  .actress-profile-table td{ padding:10px 12px; }
  .ap-avatar-img,.ap-avatar-fallback{ width:96px; height:96px; }
}
@media (max-width:480px){
  .actress-profile-table th,
  .actress-profile-table td{ padding:.55em .6em; font-size:.95em; }
  .ap-avatar-img,.ap-avatar-fallback{ width:72px; height:72px; font-size:22px; }
}

/* =========================================================
   14) レガシー互換（既存テンプレの呼称をサポート）
   ========================================================= */
.u-work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media (max-width:1200px){.u-work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.u-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.u-work-grid{grid-template-columns:1fr}}

.c-work-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.02),0 2px 6px rgba(0,0,0,.03);padding:8px 8px 10px;display:flex;flex-direction:column;gap:8px}
.c-work-card__thumb{display:block;aspect-ratio:2/3;border-radius:8px;overflow:hidden;background:#f6f7f8}
.c-work-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.c-work-card__title{font-size:14px;line-height:1.5;margin:0 2px}
.c-work-card__title a{text-decoration:none}
.c-work-card__meta{font-size:12px;color:#666;margin:0 2px}
.c-work-card__cta{display:flex;justify-content:center;margin-top:6px}
.c-btn-fanza{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 18px;border-radius:9999px;border:1px solid var(--cta-bd,#e9e9ee);background:linear-gradient(0deg,#fff, #fff),var(--cta-bg,#f7f7fb);box-shadow:inset 0 0 0 .6px var(--cta-bd,#e9e9ee);font-size:12px;font-weight:700;letter-spacing:.02em}
.c-btn-fanza:hover{background:linear-gradient(0deg,#f8f8ff,#f8f8ff);box-shadow:inset 0 0 0 .6px var(--cta-bd-hover,#dfe2f0)}
