﻿/* カスタムスタイル - TailwindCSSと組み合わせて使用 */
/* ============================================================
   Dark Theme — index (top) page
   ============================================================ */

/* アニメーション */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out;
}

/* セクションタイトル */
h2.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    width: 100%;
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.85rem 0.5rem 0.75rem;
    border-bottom: none;
    border-left: 4px solid #fc88d3;
    background: linear-gradient(90deg, rgba(252,136,211,0.22) 0%, rgba(252,136,211,0.10) 45%, transparent 100%);
    border-radius: 0 5px 5px 0;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(252,136,211,0.12), 0 0 12px rgba(252,136,211,0.08);
}
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(252,136,211,0.55) 0%, rgba(200,80,200,0.25) 55%, transparent 100%);
}
h2.section-title div {
    font-weight: 600;
    color: #fc88d3;
    font-size: 0.7em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
}
@media (max-width: 768px) {
    .section-title { font-size: 0.8rem; }
}

/* ============================================================
   トップページ共通セクションパネル
   ============================================================ */
.top-section {
    margin-bottom: 1.5rem;
    padding-top:1rem;
    padding-bottom:1rem;
}
.top-section-inner {
    background: rgba(14, 4, 16, 0.78);
    border: 1px solid rgba(255, 0, 180, 0.14);
    border-radius: 12px;
    padding: 1.25rem 1.5rem 1.4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255,0,180,0.06);
}
@media (max-width: 640px) {
    .top-section-inner { padding: 1rem 0.85rem 1.1rem; border-radius: 8px; }
}

/* ライン制限ユーティリティ */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}




/* ============================================================
   新着ニュース 1カラムインライン表示
   ============================================================ */
.top-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.top-news-item {
    background: rgba(16, 6, 30, 0.85);
    border: 1px solid rgba(255, 0, 180, 0.18);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.top-news-item-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-news-cate {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.top-news-item-date {
    font-size: 0.72rem;
    color: rgba(252, 195, 228, 0.55);
    flex-shrink: 0;
}

.top-news-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fce8f4;
    line-height: 1.5;
    margin: 0;
}

.top-news-item-img {
    width: 100%;
    max-height: 260px;
    overflow: hidden;
    border-radius: 6px;
}
.top-news-item-img img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

/* TinyMCE本文: インライン style（font-size / color 等）を優先。未指定要素のみデフォルト */
.top-news-item-body {
    color: rgba(252, 230, 242, 0.82);
    font-size: 0.85rem;
    line-height: 1.75;
    word-break: break-word;
}
/* Tailwind preflight が h1–h6 を font-size:inherit にするため明示サイズを復元 */
.top-news-item-body h1,
.top-news-item-body h2,
.top-news-item-body h3,
.top-news-item-body h4,
.top-news-item-body h5,
.top-news-item-body h6 {
    color: #fce8f4;
    font-weight: 700;
    line-height: 1.45;
    margin: 0.75em 0 0.4em;
}
.top-news-item-body h1 { font-size: 1.5rem; }
.top-news-item-body h2 { font-size: 1.25rem; }
.top-news-item-body h3 { font-size: 1.1rem; }
.top-news-item-body h4 { font-size: 1rem; }
.top-news-item-body h5 { font-size: 0.95rem; }
.top-news-item-body h6 { font-size: 0.9rem; }
.top-news-item-body p { margin: 0.4em 0; }
.top-news-item-body strong,
.top-news-item-body b { font-weight: 700; }
.top-news-item-body em,
.top-news-item-body i:not([class]) { font-style: italic; }
.top-news-item-body ul,
.top-news-item-body ol {
    margin: 0.5em 0 0.5em 1.5em;
    padding: 0;
}
.top-news-item-body ul li { list-style: disc; }
.top-news-item-body ol li { list-style: decimal; }
.top-news-item-body li { margin-bottom: 0.25em; }
.top-news-item-body a {
    text-decoration: underline;
    transition: opacity 0.2s;
}
.top-news-item-body a:not([style*="color"]) { color: #fc88d3; }
.top-news-item-body a:hover { opacity: 0.85; }
.top-news-item-body img { max-width: 100%; height: auto; border-radius: 4px; margin: 0.35em 0; }
.top-news-item-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em 0;
    font-size: inherit;
}
.top-news-item-body th,
.top-news-item-body td {
    border: 1px solid rgba(255, 0, 180, 0.22);
    padding: 0.4em 0.6em;
    vertical-align: top;
}
.top-news-item-body blockquote {
    margin: 0.6em 0;
    padding: 0.5em 0.85em;
    border-left: 3px solid rgba(255, 0, 180, 0.45);
    color: rgba(252, 210, 235, 0.88);
}

.top-news-item-link-wrap {
    margin-top: 0.25rem;
}
.top-news-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    font-size: 0.82rem;
    color: #fc88d3;
    text-decoration: none;
    border-bottom: 1px solid rgba(252, 136, 211, 0.35);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}
.top-news-ext-link:hover {
    color: #fff;
    border-color: rgba(255, 0, 180, 0.70);
}

/* フロントエンド一覧ページのカテゴリバッジ */
.news-cate-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

/* ============================================================
   キャストスライダー共通（新人情報・ピックアップ）
   ============================================================ */
.top-pickup-section {}

/* スライダーラッパー：矢印は外側に絶対配置 */
.top-cast-slider-wrap {
    position: relative;
    margin: 0 44px;  /* 矢印ボタン分のマージン */
}

/* Swiper コンテナ */
.top-cast-swiper {
    overflow: hidden;
}

/* 各スライドは auto 幅（カード幅で決まる） */
.top-cast-swiper .swiper-slide {
    width: auto;
}

/* ── ピックアップカード ── */
.top-pickup-card {
    display: block;
    text-decoration: none;
    width: 140px;
    transition: opacity 0.2s;
}
.top-pickup-card:hover { opacity: 0.85; }
.top-pickup-img {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: #160d13;
    margin-bottom: 0.5rem;
    border: 1px solid #1e1018;
}
.top-pickup-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.35s ease;
}
.top-pickup-card:hover .top-pickup-img img { transform: scale(1.05); }
.top-pickup-label {
    position: absolute;
    bottom: 6px; left: 6px;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    box-shadow: 0 0 8px rgba(255,0,180,0.5);
}
.top-pickup-name {
    font-size: 0.78rem;
    color: #fce8f4;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}
.top-pickup-age { font-size: 0.75em; color: rgba(252, 195, 228, 0.55); margin-left: 2px; }

/* ── 新人情報カード ── */
.top-newface-card {
    display: block;
    text-decoration: none;
    width: 130px;
    transition: opacity 0.2s;
}
.top-newface-card:hover { opacity: 0.85; }
.top-newface-img {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background: #0e0e12;
    margin-bottom: 0.5rem;
}
.top-newface-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.3s ease;
}
.top-newface-card:hover .top-newface-img img { transform: scale(1.04); }
.top-newface-badge {
    position: absolute;
    top: 6px; left: 6px;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 6px rgba(255,0,180,0.5);
}
.top-newface-name {
    font-size: 0.78rem;
    color: #fce8f4;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}
.top-newface-age { color: rgba(252, 195, 228, 0.55); font-size: 0.75em; }

/* ── 矢印ボタン：スライダー外側に絶対配置 ── */
.top-cast-prev,
.top-cast-next {
    position: absolute;
    top: 40%;           /* 画像の中央付近（3:4画像を想定） */
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    background: rgba(15,15,20,0.75);
    border: 1px solid #30303e;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.top-cast-prev:hover,
.top-cast-next:hover {
    background: rgba(255,0,180,0.25);
    border-color: #ff00b4;
    box-shadow: 0 0 10px rgba(255,0,180,0.3);
}
/* 矢印アイコン（疑似要素） */
.top-cast-prev::after,
.top-cast-next::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fce8f4;
    border-right: 2px solid #fce8f4;
}
.top-cast-prev {
    left: -44px;
}
.top-cast-prev::after {
    transform: rotate(-135deg) translate(1px, -1px);
}
.top-cast-next {
    right: -44px;
}
.top-cast-next::after {
    transform: rotate(45deg) translate(-1px, 1px);
}

/* Swiper デフォルト矢印スタイルを無効化 */
.top-cast-prev.swiper-button-disabled,
.top-cast-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 480px) {
    .top-cast-slider-wrap { margin: 0; }
    .top-cast-prev { left: 6px; }
    .top-cast-next { right: 6px; }
    .top-pickup-card { width: 110px; }
    .top-newface-card { width: 100px; }
}

/* ============================================================
   ランキング Swiper（ランキング単位スライド、1〜3位横一列）
   ============================================================ */

/* Swiper 外枠 */
.top-ranks-swiper {
    position: relative;
    overflow: hidden;
    padding: 0 44px;          /* 矢印ボタン分の余白 */
}

/* スライドタイトル（Aランキング名） */
.top-ranks-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fce8f4;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,0,180,0.3);
}

/* 1〜3位の横一列 */
.top-ranks-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: center;
}

/* 各順位カラム */
.top-ranks-col {
    flex: 1;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* 順位バッジ */
.top-rank-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
    background: #30303e;
    color: #7d7d8e;
}
.top-rank-no--1 { background: #c9a227; color: #fff; }
.top-rank-no--2 { background: #8a8a96; color: #fff; }
.top-rank-no--3 { background: #7a4a28; color: #fff; }

/* キャストリンク（縦積み） */
.top-rank-cast-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    width: 100%;
}
.top-rank-cast-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1e1018;
    transition: border-color 0.2s;
}
.top-rank-cast-link:hover .top-rank-cast-img { border-color: #ff00b4; }
.top-rank-cast-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fce8f4;
    text-align: center;
    line-height: 1.3;
    transition: color 0.18s;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-rank-cast-link:hover .top-rank-cast-name { color: #fc88d3; }

/* ナビゲーション矢印 */
.top-ranks-prev,
.top-ranks-next {
    color: #fce8f4 !important;
}
.top-ranks-prev::after,
.top-ranks-next::after {
    font-size: 1rem !important;
    font-weight: 700;
}
.top-ranks-prev { left: 4px !important; }
.top-ranks-next { right: 4px !important; }

@media (max-width: 480px) {
    .top-ranks-swiper { padding: 0 36px; }
    .top-rank-cast-img { width: 64px; height: 64px; }
    .top-ranks-col { max-width: 100px; }
}

/* ==========================================================================
   スケジュール セクションヘッダー＆タブ
   ========================================================================== */

.schedule-section-header {
    margin-bottom: 1.4rem;
}

.schedule-title-wrap {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 0, 180, 0.20);
    position: relative;
}

.schedule-title-wrap::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 240px;
    height: 2px;
    background: linear-gradient(90deg, #ff00b4 0%, #9000ff 55%, transparent 100%);
}

.schedule-title-en {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 3px rgba(80, 0, 50, 0.30);
}

.schedule-title-main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.schedule-title-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(255,0,180,0.4);
}

.schedule-title-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(80, 0, 50, 0.35);
}

.schedule-title-link {
    margin-left: auto;
    font-size: 0.68rem;
    color: #7d7d8e;
    text-decoration: none;
    border: 1px solid #2e1228;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
}

.schedule-title-link:hover {
    border-color: #ff00b4;
    color: #fc88d3;
    background: rgba(255,0,180,0.07);
}

/* タブナビゲーション */
.schedule-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 0, 180, 0.18);
}

/* デフォルト: ダーク透過ベース＋ピンク枠 → ホットピンク背景と分離 */
.schedule-tab-btn {
    padding: 0.7rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    background: rgba(10, 3, 12, 0.82);
    border: 1px solid rgba(255, 0, 180, 0.40);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    position: relative;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    min-width: 110px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* ホバー: 白背景に反転 */
.schedule-tab-btn:hover:not(.active) {
    background: #fff;
    border-color: rgba(255, 0, 180, 0.50);
    box-shadow: none;
}

/* アクティブ: やや明るいダーク＋ピンクグロー */
.schedule-tab-btn.active {
    background: rgba(18, 5, 20, 0.92);
    border-color: rgba(255, 0, 180, 0.75);
    box-shadow: 0 0 14px rgba(255,0,180,0.30);
}

.schedule-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.25s;
    border-radius: 2px 2px 0 0;
}

.schedule-tab-btn.active::after {
    /* background: linear-gradient(90deg, #ff00b4, #9000ff);
    box-shadow: 0 0 8px rgba(255,0,180,0.6); */
}

.schedule-tab-day {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fce8f4;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.schedule-tab-btn.active .schedule-tab-day {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,0,180,0.50);
}
.schedule-tab-btn.active:hover .schedule-tab-day {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,0,180,0.50);
}

.schedule-tab-btn:hover .schedule-tab-day {
    color: #1a0520;
}

.schedule-tab-date {
    font-size: 0.62rem;
    color: rgba(252, 195, 228, 0.70);
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.schedule-tab-btn.active .schedule-tab-date {
    color: #ff88d8;
}

.schedule-tab-btn:hover:not(.active) .schedule-tab-date {
    color: #c0006a;
}

/* タブコンテンツ */
.schedule-tab-content {
    display: none;
}

.schedule-tab-content.active {
    display: block;
    animation: fade-in-up 0.22s ease-out;
}

/* スケジュールなし */
.schedule-empty {
    color: #484858;
    font-size: 0.82rem;
    padding: 2.5rem 0;
    text-align: center;
    width: 100%;
}

@media (max-width: 640px) {
    .schedule-tab-btn {
        flex: 1;
        padding: 0.6rem 0.5rem;
        min-width: 0;
    }
    .schedule-tab-day  { font-size: 0.8rem; }
    .schedule-tab-date { font-size: 0.58rem; }
    .schedule-title-text { font-size: 0.95rem; }
    .schedule-title-en { font-size: 0.55rem; }
}

/* ==========================================================================
   キャスト検索フォーム (cast-name-search + option-cate-filter)
   ========================================================================== */

/* ---- アコーディオン共通 ---- */
.srch-accordion {
    width: 100%;
}

.srch-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1e0e18;
    border: 1px solid #2e1228;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, border-radius 0.15s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.srch-accordion-toggle:hover {
    border-color: rgba(255,0,180,0.4);
    background: #1d0d18;
}

.srch-accordion.open .srch-accordion-toggle {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: rgba(255,0,180,0.35);
    border-bottom-color: #1e1018;
}

.srch-accordion-label {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fce8f4;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.03em;
}

.srch-accordion-badge {
    font-size: 0.6rem;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    color: #fff;
    padding: 0.06rem 0.45rem;
    border-radius: 10px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    line-height: 1.6;
}

.srch-accordion-arrow {
    font-size: 0.65rem;
    color: #6a6a80;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.srch-accordion.open .srch-accordion-arrow {
    transform: rotate(180deg);
}

.srch-accordion-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #1e0e18;
    border: 1px solid rgba(255,0,180,0.3);
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    transition: max-height 0.28s ease, opacity 0.22s ease;
}

.srch-accordion.open .srch-accordion-body {
    max-height: 500px;
    opacity: 1;
}

.srch-accordion-inner {
    padding: 0.85rem 0.9rem;
}

.cast-search-section {
    margin-bottom: 1.8rem;
    background: rgba(22, 5, 18, 0.85);
    border: 1px solid rgba(255, 0, 180, 0.22);
    border-radius: 10px;
    padding: 1.2rem 1.4rem 1.1rem;
    box-shadow: 0 0 0 1px rgba(255,0,180,0.05);
}

.cast-search-header {
    margin-bottom: 1rem;
}

.cast-search-title-en {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    color: #ff00b4;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.cast-search-title-main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cast-search-title-icon {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255,0,180,0.35);
}

.cast-search-title-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fce8f4;
    letter-spacing: 0.05em;
    margin: 0;
}

/* フォームレイアウト */
.cast-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* ---- cast-name-search ---- */
.cns-wrap { width: 100%; }

.cns-input-row {
    display: flex;
    align-items: center;
    background: #1e0e18;
    border: 1px solid #2e1228;
    border-radius: 6px;
    padding: 0 0.8rem;
    gap: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cns-input-row:focus-within {
    border-color: #ff00b4;
    box-shadow: 0 0 0 2px rgba(255,0,180,0.12);
}

.cns-icon {
    color: #484858;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.cns-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fce8f4;
    font-size: 0.82rem;
    padding: 0.62rem 0;
}

.cns-input::placeholder { color: #38384a; }

.cns-clear {
    background: none;
    border: none;
    color: #484858;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}

.cns-clear:hover { color: #ff00b4; }

/* ---- option-cate-filter ---- */
.ocf-wrap { width: 100%; }

.ocf-label {
    font-size: 0.66rem;
    color: #6a6a80;
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ocf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ocf-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.75rem;
    border: 1px solid #2e1228;
    border-radius: 20px;
    font-size: 0.72rem;
    color: #6a6a80;
    background: #1e0e18;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.18s, color 0.18s, background 0.18s, box-shadow 0.18s;
    line-height: 1.6;
}

.ocf-chip input[type=checkbox] { display: none; }

.ocf-chip:hover {
    border-color: rgba(255,0,180,0.5);
    color: #fce8f4;
}

.ocf-chip.checked {
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    border-color: #ff00b4;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,0,180,0.28);
}

/* アクション */
.cast-search-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.2rem;
}

.cast-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.52rem 1.5rem;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(255,0,180,0.3);
    transition: opacity 0.2s, box-shadow 0.2s;
}

.cast-search-btn:hover {
    opacity: 0.88;
    box-shadow: 0 4px 16px rgba(255,0,180,0.5);
}

.cast-search-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.52rem 1rem;
    border: 1px solid #2e1228;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #6a6a80;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.cast-search-reset:hover {
    border-color: #ff00b4;
    color: #fc88d3;
}

@media (max-width: 640px) {
    .cast-search-section { padding: 1rem 1rem 0.9rem; }
    .cast-search-title-text { font-size: 0.85rem; }
    .ocf-chip { font-size: 0.68rem; padding: 0.2rem 0.6rem; }
    .cast-search-btn { padding: 0.5rem 1.2rem; font-size: 0.75rem; }
}

/* ==========================================================================
   cast-search 統合コンポーネント（アコーディオン外枠）
   ========================================================================== */

.cast-search-outer > .cast-search-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(22, 5, 18, 0.85);
    border: 1px solid rgba(255, 0, 180, 0.22);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    cursor: pointer;
    text-align: left;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s, border-radius 0.15s;
}

.cast-search-outer > .cast-search-toggle:hover {
    border-color: rgba(255,0,180,0.35);
}

.cast-search-outer.open > .cast-search-toggle {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: rgba(255,0,180,0.35);
    border-bottom-color: #1e1018;
}

.cast-search-toggle-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.cast-search-toggle-en {
    font-size: 0.54rem;
    letter-spacing: 0.38em;
    color: #fc88d3;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.cast-search-toggle-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cast-search-toggle-icon {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ff00b4, #9000ff);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255,0,180,0.35);
}

.cast-search-toggle-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fce8f4;
    letter-spacing: 0.04em;
}

/* body パネル上書き */
.cast-search-outer .srch-accordion-body {
    background: #180d15;
    border-color: rgba(255,0,180,0.22);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.cast-search-inner {
    padding: 1rem 1.1rem 0.9rem;
}

@media (max-width: 640px) {
    .cast-search-outer > .cast-search-toggle { padding: 0.7rem 0.9rem; }
    .cast-search-toggle-text { font-size: 0.8rem; }
    .cast-search-inner { padding: 0.8rem 0.9rem 0.7rem; }
}
