@charset "UTF-8";
/*
Theme Name: cocoon-child-master
Template:   cocoon-master
Version:    1.1.3
Description: Cocoon専用の子テーマ
Skin:       
*/

/* ここから下にCSSを記述してください */

/* Font Awesome アイコンフォントの読み込み (必ず一番上に記述) */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* ============================================= */
/* 全体・共通スタイル */
/* ============================================= */
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "Open Sans", "Roboto", sans-serif;
}

a {
  color: #00a0d2;
  text-decoration: none;
}
a:hover {
  color: #00c8ff;
  text-decoration: underline;
}

/* ============================================= */
/* ランキングページ共通スタイル */
/* ============================================= */

/* ランキングコンテナ */
.ranking-list,
.actress-ranking-container {
  padding: 15px;
  border-radius: 8px;
  background-color: #1c1c1c;
  margin-bottom: 20px;
}

/* ランキングカード共通 */
.ranking-card {
  background-color: #282828;
  border: 1px solid #333333;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.4);
}

/* ランキングバッジ */
.ranking-card-rank-badge {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 14px;
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 4px;
  z-index: 20;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.ranking-card:nth-child(1) .ranking-card-rank-badge {
  background-color: #ffd700;
  color: #333;
}
.ranking-card:nth-child(2) .ranking-card-rank-badge {
  background-color: #c0c0c0;
  color: #333;
}
.ranking-card:nth-child(3) .ranking-card-rank-badge {
  background-color: #cd7f32;
  color: #fff;
}

/* カード内情報エリア */
.ranking-card-info-area {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 0;
}

.ranking-card-title {
  font-size: 1.05em;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.05em * 1.3 * 2);
}
.ranking-card-title a {
  color: #e0e0e0;
}

/* ============================================= */
/* 女優詳細ページ (single-dmm_actress.php) 専用スタイル */
/* ============================================= */

/* --- 1. ヘッダーエリア --- */
body.single-dmm_actress .dmm-actress-profile-article .actress-profile-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
  padding: 20px;
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 2em;
}
@media (max-width: 768px) {
  body.single-dmm_actress .dmm-actress-profile-article .actress-profile-hero {
    grid-template-columns: 1fr;
  }
}
body.single-dmm_actress .dmm-actress-profile-article .actress-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
body.single-dmm_actress .dmm-actress-profile-article .entry-title.actress-name {
  font-size: 2.5em;
  margin-bottom: 0.1em;
  font-weight: 700;
  color: #ffffff;
}
body.single-dmm_actress .dmm-actress-profile-article .actress-ruby {
  font-size: 1.1em;
  color: #b0b0b0;
  margin-top: 0;
  margin-bottom: 1.5em;
}

/* --- 2. プロフィール詳細エリア --- */
body.single-dmm_actress .profile-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
body.single-dmm_actress .profile-item {
  background: #282828;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #3a3a3a;
  display: flex;
  flex-direction: column;
}
body.single-dmm_actress .profile-item-icon {
  font-size: 0.9em;
  color: #a0a0a0;
  margin-bottom: 5px;
}
body.single-dmm_actress .profile-item-icon .fas {
  margin-right: 8px;
  color: #00a0d2;
}
body.single-dmm_actress .profile-item-value {
  font-size: 1.2em;
  font-weight: 600;
  color: #f0f0f0;
}

/* --- 3. タグ・作品リスト共通 --- */
body.single-dmm_actress .additional-actress-info h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #00a0d2;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
  color: #ffffff;
}
body.single-dmm_actress .additional-actress-info h2 .fas {
  margin-right: 10px;
}

/* --- 4. タグエリア --- */
body.single-dmm_actress .actress-tags-section .tag-links a {
  display: inline-block;
  background-color: #3a3a3a;
  color: #00a0d2;
  padding: 8px 15px;
  margin: 0 8px 8px 0;
  border-radius: 20px;
  border: 1px solid #444;
  transition: all 0.2s ease;
}
body.single-dmm_actress .actress-tags-section .tag-links a:hover {
  background-color: #00a0d2;
  color: #121212;
}
body.single-dmm_actress .related-actresses-list {
  list-style: none;
  padding: 0;
}
body.single-dmm_actress .related-actresses-list li {
  display: inline-block;
  margin-right: 10px;
}

/* --- 5. 出演作品リストエリア --- */
body.single-dmm_actress .actress-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
body.single-dmm_actress .work-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #282828;
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.single-dmm_actress .work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
body.single-dmm_actress .work-card-link {
  display: block;
}
body.single-dmm_actress .work-card-image {
  width: 100%;
  aspect-ratio: 2/3;
  background-color: #333;
}
body.single-dmm_actress .work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.single-dmm_actress .work-card-content {
  padding: 15px;
}
body.single-dmm_actress .work-card-title {
  font-size: 1em;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  color: #f0f0f0;
}
body.single-dmm_actress .work-card-meta {
  font-size: 0.85em;
  color: #a0a0a0;
  display: flex;
  justify-content: space-between;
}
body.single-dmm_actress .work-card-meta .fas {
  margin-right: 5px;
}
body.single-dmm_actress .work-card-play-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
body.single-dmm_actress .work-card-play-button:hover {
  transform: scale(1.1);
  color: #fff;
}

/* お気に入り数表示用のスタイル */
.work-card-favorites {
    display: inline-flex;
    align-items: center;
    color: #ff69b4; /* ハートの色 */
}
.work-card-favorites .fas {
    margin-right: 4px;
}

