@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%; }
}