/*
Theme Name: Cocoon Child
Template: cocoon-master
Version: 1.0
*/
/* ============================
   女優アーカイブ（/actresses/）
   ============================ */

.archive-actress .page-header {
  margin-bottom: 16px;
}
.archive-actress .page-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
  border-bottom: 2px solid #88abda;
  padding-bottom: 0.35rem;
}
.archive-actress .page-desc {
  margin: 0 0 12px;
  color: #555;
  font-size: 0.95rem;
}

/* フィルタ（頭文字） */
.archive-actress .head-filter {
  margin: 10px 0 18px;
}
.archive-actress .head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-actress .head-row.alpha {
  margin-top: 6px;
}
.archive-actress .head-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #cfd9eb;
  border-radius: 999px;
  background: #f8fafd;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s;
}
.archive-actress .head-chip:hover {
  background: #e7f0fb;
  border-color: #88abda;
  color: #223;
}
.archive-actress .head-chip.is-active {
  background: #88abda;
  border-color: #88abda;
  color: #fff;
}

/* グリッド */
.archive-actress .actress-grid {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.archive-actress .actress-card {
  border: 1px solid #e0e6f0;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.archive-actress .actress-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: #b9cbe6;
}
.archive-actress .actress-link {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}

/* サムネ */
.archive-actress .avatar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 10px;
}
.archive-actress .avatar img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
.archive-actress .avatar-ph {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1f5fb, #d9e4f4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

/* テキスト */
.archive-actress .actress-info .name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: #222;
}
.archive-actress .actress-info .ruby {
  color: #667;
  font-size: 0.85rem;
  margin-top: 2px;
}
.archive-actress .actress-info .meta-line {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.archive-actress .actress-info .pill {
  background: #eef3fb;
  color: #445;
  border: 1px solid #d4e0f2;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.78rem;
}

/* ページネーション */
.archive-actress .pagination-wrap {
  margin-top: 18px;
  text-align: center;
}
.archive-actress .pagination-wrap .page-numbers {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  margin: 0 3px;
  padding: 0 8px;
  text-decoration: none;
  border-radius: 6px;
  background: #f0f4fb;
  color: #334;
  border: 1px solid #cfd9eb;
}
.archive-actress .pagination-wrap .page-numbers.current {
  background: #88abda;
  border-color: #88abda;
  color: #fff;
}

/* ダークモード軽対応 */
/* @media (prefers-color-scheme: dark) {
  .archive-actress .actress-card {
    background: #1a1c1f;
    border-color: #2a2e35;
  }
  .archive-actress .head-chip {
    background: #242c38;
    border-color: #3c4a66;
    color: #cfd7ff;
  }
  .archive-actress .head-chip.is-active {
    background: #88abda;
    border-color: #88abda;
    color: #0d1117;
  }
  .archive-actress .actress-info .name {
    color: #f2f3f5;
  }
  .archive-actress .actress-info .ruby {
    color: #cfd7ff;
  }
  .archive-actress .pagination-wrap .page-numbers {
    background: #242c38;
    border-color: #3c4a66;
    color: #cfd7ff;
  }
  .archive-actress .pagination-wrap .page-numbers.current {
    background: #88abda;
    border-color: #88abda;
    color: #0d1117;
  }
} */

/* =========================================================
   女優CPT 個別ページ（single-actress）
   ========================================================= */

.single-actress .actress-title {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.8rem;
  border-bottom: 2px solid #5e7fbb;
  padding-bottom: 0.35rem;
}

/* プロフィール行 */
.single-actress .actress-profile-wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.single-actress .actress-thumb .actress-thumb-img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: auto;
  max-width: 260px; /* 女優画像の最大幅（DMMは200px角が最大なので少し小さめでシャープに） */
}

.single-actress .actress-meta-box {
  flex: 1;
  min-width: 260px;
}

.single-actress .actress-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.single-actress .actress-meta-table th,
.single-actress .actress-meta-table td {
  padding: 8px;
  text-align: left;
}

.single-actress .entry-body {
  margin-top: 24px;
}

/* 作品一覧 */
.single-actress .actress-works {
  margin-top: 40px;
}

.single-actress .actress-works > h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-left: 5px solid #5e7fbb;
  padding-left: 10px;
  color: #333;
}

/* グリッド */
.single-actress .actress-works-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* カード */
.single-actress .work-card {
  position: relative;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.single-actress .work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #dfe6ff;
}
.single-actress .work-card .work-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* 横長画像を“そのまま活かす” */
.single-actress .work-card .thumb {
  margin-bottom: 10px;
}
.single-actress .work-card .thumb img {
  width: 100%;
  height: auto; /* アスペクト比維持（800x538想定） */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  image-rendering: auto;
}

/* メタ／タイトル／日付 */
.single-actress .work-card .meta {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #6b7280;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.single-actress .work-card .meta span {
  background: #f2f5ff;
  color: #445;
  border: 1px solid #e2e7ff;
  padding: 2px 6px;
  border-radius: 999px;
}

.single-actress .work-card .ttl {
  margin-top: 6px;
  font-weight: 700;
  line-height: 1.45;
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-actress .work-card .date {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #9aa0a6;
}

.single-actress .actress-works .note {
  font-size: 0.88rem;
  color: #666;
  margin-top: 14px;
}

/* ダークモード軽対応 */
@media (prefers-color-scheme: dark) {
  .single-actress .work-card {
    background: #15171a;
    border-color: #24272c;
  }
  .single-actress .work-card .meta span {
    background: #1c2130;
    color: #cfd7ff;
    border-color: #28304a;
  }
  .single-actress .work-card .ttl {
    color: #e8eaed;
  }
  .single-actress .work-card .date {
    color: #aab2bd;
  }
  .single-actress .actress-meta-table th,
  .single-actress .actress-meta-table td {
    border-color: #2a2f36;
  }
  .single-actress .actress-title {
    border-color: #7fa0ff;
  }
  /* .single-actress .actress-works > h2 {
    border-left-color: #7fa0ff;
    color: #e8eaed;
  } */
}
