@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");

/* ============================================================
   DAF/FDF 共通女優カードスタイル (超圧縮・スマホ最適化版)
   ============================================================ */

/* コンテナ設定 */
.daf-universal-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 15px 0;
}

@media (min-width: 576px) { .daf-universal-container { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 768px) { .daf-universal-container { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1200px) { .daf-universal-container { grid-template-columns: repeat(6, 1fr); } }

/* カード本体 */
.actress-card.fdf-voltage-card {
    background: #222;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #333;
    transition: transform 0.2s;
}

.actress-card:hover { transform: translateY(-3px); border-color: #555; }

/* 画像エリア */
.actress-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 200 / 267;
    background: #000;
}

.actress-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* コンテンツエリア (スマホで極限まで詰める) */
.actress-card-content { padding: 6px 8px; flex-grow: 1; display: flex; flex-direction: column; }

.actress-name {
    margin: 0 0 2px 0 !important;
    line-height: 1.1 !important;
    font-size: 14px;
    font-weight: 800;
}

.actress-name a { color: #fff; text-decoration: none; }

.actress-name .ruby {
    display: block;
    font-size: 10px;
    color: #888;
    font-weight: normal;
}

/* スペックタグ */
.actress-specs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 4px;
}

.spec-tag {
    font-size: 9px;
    color: #ccc;
    background: #333;
    padding: 0px 4px;
    border-radius: 2px;
    border: 1px solid #444;
}

/* ボルテージカード */
.finder-score-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 4px 6px;
    margin-top: auto;
    border-left: 2px solid #444;
}

.score-label { font-size: 8px; color: #888; margin-bottom: 0; line-height: 1; }

.score-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.score-value-wrap { display: flex; align-items: baseline; line-height: 1; }
.icon-bolt { font-size: 14px; color: #ffcc00; margin-right: 1px; }
.score-value { font-family: sans-serif; font-weight: 900; font-size: 18px; color: #fff; }

.rank-badge {
    font-size: 9px;
    padding: 0px 4px;
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    font-style: italic;
    transform: skewX(-10deg);
}

.score-work-count { font-size: 9px; color: #aaa; margin-top: 2px; }

/* スマホ用特殊圧縮 (DAFから移植) */
@media (max-width: 768px) {
    .actress-name { font-size: 11px !important; letter-spacing: -0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .actress-name .ruby { display: none !important; }
    .score-value { font-size: 16px !important; }
    .spec-tag { transform: scale(0.9); transform-origin: left top; }
}

/* ティア別カラー */
.tier-GOD { background: linear-gradient(45deg, #ff00cc, #3333ff) !important; animation: rainbow-glow 4s ease infinite; }
.tier-SSS { background: #d0021b !important; }
.tier-SS  { background: #f5a623 !important; }
.tier-S   { background: #f8e71c !important; color: #000 !important; }
.tier-A   { background: #4a90e2 !important; }

/* 1. アニメーションの定義 */
@keyframes rainbow-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. 女優カードの外枠カラーを復活 (tierクラスをカード本体に適用) */
.actress-card.fdf-voltage-card.tier-GOD { border: 2px solid #ff00cc; box-shadow: 0 0 10px rgba(255, 0, 204, 0.4); }
.actress-card.fdf-voltage-card.tier-SSS { border: 2px solid #d0021b; }
.actress-card.fdf-voltage-card.tier-SS  { border: 2px solid #f5a623; }
.actress-card.fdf-voltage-card.tier-S   { border: 2px solid #f8e71c; }
.actress-card.fdf-voltage-card.tier-A   { border: 2px solid #4a90e2; }

/* 3. ランクバッジ(GOD)のアクション復活 */
.rank-badge.tier-GOD {
    background: linear-gradient(270deg, #ff00cc, #3333ff, #00ccff, #ff00cc) !important;
    background-size: 400% 400% !important;
    animation: rainbow-glow 4s ease infinite !important;
    color: #fff !important;
}

/* スマホでの「欠け」を防止する設定 */
@media (max-width: 768px) {
    .actress-card-content {
        padding: 4px 6px !important;
        overflow: hidden; /* はみ出し防止 */
    }
    
    .actress-specs-container {
        gap: 2px !important;
        width: 100%;
    }

    /* 改行用スペーサーをスマホのみ有効化 */
    .daf-sp-br {
        display: block !important;
    }

    .spec-tag {
        font-size: 8.5px !important;
        padding: 0 2px !important;
        white-space: nowrap;
    }
    
    .score-value {
        font-size: 15px !important; /* 少し小さくして収める */
    }
    
    .score-work-count {
        font-size: 8px !important;
    }
}

/* 共通コンテナ内のカード幅を最適化 */
.daf-universal-container .actress-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    /* ランキング特有の不要なマージンをリセット */
    .dmm-actress-finder-results {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .daf-universal-container {
        gap: 6px !important; /* スマホでは隙間をさらに詰める */
        padding: 0 4px !important;
    }

    .actress-card-content {
        padding: 4px 5px !important;
    }

    .score-value {
        font-size: 15px !important;
    }
}

/* ============================================================
   【復元】似ている芸能人アーカイブ：関連サイトバナー
   ============================================================ */

/* バナー全体のコンテナ */
.fdf-title-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
    margin-bottom: 25px;
}

/* 金色のボタン本体 */
.fdf-niteruko-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(120deg, #785000 0%, #cb9b10 25%, #ffffff 50%, #cb9b10 75%, #785000 100%);
    background-size: 200% auto;
    animation: goldShine 3s linear infinite;
    color: #000 !important;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 24px 8px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(203, 155, 16, 0.5);
    transition: all 0.3s ease;
    border: 1px solid #fff;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.fdf-niteruko-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(203, 155, 16, 0.8);
    opacity: 1;
    color: #000 !important;
}

/* 丸いサムネイル画像 */
.niteruko-thumb {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: block;
}

/* テキストエリア */
.btn-text-wrap { text-align: left; line-height: 1.35; }
.fdf-niteruko-btn span { color: #d00; font-weight: 900; }
.fdf-niteruko-btn .celeb-name { font-size: 160%; color: #000; margin: 0 3px; line-height: 1; border-bottom: 2px solid rgba(0,0,0,0.1); display: inline-block; }
.fdf-niteruko-btn .site-name { font-weight: normal; font-size: 12px; color: #333; margin-left: 2px; display: inline-block; }
.fdf-niteruko-btn .arrow { font-family: sans-serif; margin-left: 5px; font-size: 18px; color: #000; display: inline-block; animation: moveArrow 1s ease-in-out infinite alternate; }

/* アニメーション定義 */
@keyframes goldShine { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes moveArrow { 0% { transform: translateX(0); } 100% { transform: translateX(5px); } }

/* スマホ対応 */
@media (max-width: 767px) {
    .fdf-niteruko-btn { width: 100%; padding: 10px 12px; border-radius: 50px; font-size: 15px; }
    .niteruko-thumb { width: 60px; height: 60px; }
    .sp-br { display: block; }
    .fdf-niteruko-btn .celeb-name { font-size: 145%; }
}

/* 女優詳細ページ：動画モードの4カラム化設定 */
@media (min-width: 992px) {
    .actress-video-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; /* 最大4カラム */
        gap: 20px !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .actress-video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .actress-video-grid {
        grid-template-columns: 1fr !important; /* スマホは1カラム */
    }
    
    /* スマホで重複していた「作品ボルテージ」エリアを非表示にする */
    .ranking-card.product-card .mobile-voltage-area {
        display: none !important;
    }
    
    /* 代わりにPC用のすっきりしたエリアを表示させる設定 */
    .ranking-card.product-card .pc-voltage-area {
        display: flex !important;
        margin-top: 10px !important;
    }
}

/* 動画モード内のカード調整 */
.actress-video-grid .product-card {
    border: 1px solid #333 !important;
    background: #1a1a1a !important;
}

/* 中央の再生ボタンオーバーレイ */
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2); /* 少し暗くしてボタンを際立たせる */
    transition: background 0.3s;
    z-index: 5;
}

.video-custom-poster:hover .play-button-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* 白い丸と三角形 */
.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 三角形部分の作成 */
.play-icon::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px; /* 三角形のサイズ */
    border-color: transparent transparent transparent #111; /* 三角形の色(濃いグレー) */
    margin-left: 5px; /* 三角形を視覚的な中心にずらす */
}

/* スマホでは少し小さくする */
@media (max-width: 767px) {
    .play-icon {
        width: 45px;
        height: 45px;
    }
    .play-icon::after {
        border-width: 9px 0 9px 15px;
    }
}

/* 1. アニメーション本体の定義（4色のグラデーションが流れる動き） */
@keyframes rainbow-glow {
    0% { background-position: 0% 50% !important; }
    50% { background-position: 100% 50% !important; }
    100% { background-position: 0% 50% !important; }
}

/* 2. GODバッジ専用スタイル（以前のアクションを完全再現） */
.rank-badge.tier-GOD {
    background: linear-gradient(270deg, #ff00cc, #3333ff, #00ccff, #ff00cc) !important;
    background-size: 400% 400% !important; /* グラデーションを大きく引き伸ばす */
    animation: rainbow-glow 4s ease infinite !important; /* アニメーション実行 */
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 0 10px rgba(255, 0, 204, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* 3. 女優カード自体の外枠もGODの時は輝かせる（以前の設定を維持） */
.actress-card.fdf-voltage-card.tier-GOD {
    border: 2px solid #ff00cc !important;
    box-shadow: 0 0 12px rgba(255, 0, 204, 0.5) !important;
}

/* 動画モード：タイトルのフォント・太さをジャケットモードに合わせる */
.actress-video-grid .ranking-card-title,
.actress-video-grid .ranking-card-title a {
    font-size: 12px !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    color: #ddd !important;
    height: 2.8em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

/* 新しいボルテージ行のデザイン（間延び解消） */
.custom-voltage-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    padding: 8px 10px !important;
    border: 1px solid #333 !important;
    margin-bottom: 10px !important;
}

.voltage-box-minimal {
    display: flex !important;
    flex-direction: column !important;
}

.v-label {
    font-size: 8px !important;
    color: #888 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.v-main {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
}

.v-icon { color: #ffcc00 !important; font-size: 14px !important; }
.v-score { font-size: 20px !important; font-weight: 900 !important; color: #fff !important; line-height: 1 !important; }

.v-badge {
    font-size: 10px !important;
    padding: 1px 5px !important;
    border-radius: 3px !important;
    font-weight: bold !important;
    font-style: italic !important;
    transform: skewX(-10deg) !important;
}

.review-box-minimal {
    text-align: right !important;
    line-height: 1.2 !important;
}

.r-star { color: #f1c40f !important; font-weight: bold !important; font-size: 14px !important; display: block !important; }
.r-count { color: #888 !important; font-size: 11px !important; display: block !important; }

/* スマホ表示の最適化 */
@media (max-width: 767px) {
    .v-score { font-size: 18px !important; }
    .custom-voltage-row { padding: 6px 8px !important; }
}

/* CTAボタンのフォントサイズ調整 */
.actress-video-grid .ranking-card-cta {
    padding: 8px !important;
    font-size: 13px !important;
}