/* ============================================================
   FANZA カードスライダー - DMM風デザイン
   ============================================================ */

.fanza-slider-wrap {
    margin: 24px 0;
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    position: relative;
}

.fanza-slider-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
}

/* ============================================================
   スライダー外枠（ボタン込みのコンテナ）
   ============================================================ */
.fanza-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
}

/* ============================================================
   トラック（横スクロール）
   ============================================================ */
.fanza-slider-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    padding: 4px 2px 8px;
}
.fanza-slider-track::-webkit-scrollbar { display: none; }

/* ============================================================
   カード
   ============================================================ */
.fanza-card {
    flex: 0 0 130px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow .15s;
    position: relative;
}

.fanza-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.fanza-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* サムネイル - 縦長 */
.fanza-card-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    display: block;
}

.fanza-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    transition: opacity .2s;
    display: block;
}
.fanza-card:hover .fanza-card-thumb img {
    opacity: .88;
}

.fanza-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 11px;
    background: #eee;
}

/* SALEバッジ（タイトル前インライン） */
.fanza-badge-sale {
    display: inline-block;
    background: #e8001c;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 2px;
    letter-spacing: .03em;
    margin-bottom: 3px;
    line-height: 1.6;
}

/* カード本文 */
.fanza-card-body {
    padding: 6px 7px 8px;
}

.fanza-card-title {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.45;
    margin: 0 0 5px;
    color: #0066cc;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.fanza-card:hover .fanza-card-title {
    text-decoration: underline;
    color: #004499;
}

/* 出演者名：打ち消し線価格と同色・タイトルと同サイズ */
.fanza-card-actress {
    font-size: 12px !important;
    color: #999 !important;
    margin: 0 0 5px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 価格 */
.fanza-card-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fanza-card-list-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.fanza-card-price {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.fanza-card-price.is-sale {
    color: #e8001c;
}

/* レビュー星 */
.fanza-card-review {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    font-size: 11px;
}

.fanza-stars { letter-spacing: -1px; }
.fanza-stars .star { color: #ccc; font-size: 12px; }
.fanza-stars .star.full,
.fanza-stars .star.half { color: #f4a100; }

.fanza-review-count { color: #999; font-size: 10px; }

/* ============================================================
   前後ボタン（FANZAスタイル：外側に大きく）
   ============================================================ */
.fanza-slider-btn {
    flex-shrink: 0;
    width: 28px;
    height: 100%;
    min-height: 80px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    padding: 0;
    border-radius: 2px;
    z-index: 5;
}
.fanza-slider-btn:hover {
    background: #e0e0e0;
    color: #111;
}
.fanza-slider-btn:disabled,
.fanza-slider-btn[data-disabled="true"] {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.fanza-slider-prev { margin-right: 6px; }
.fanza-slider-next { margin-left: 6px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
    .fanza-card { flex: 0 0 110px; }
    .fanza-card-title { font-size: 11px; -webkit-line-clamp: 2; }
    .fanza-slider-btn { width: 22px; font-size: 13px; }
}

@media (max-width: 480px) {
    .fanza-card { flex: 0 0 95px; }
    .fanza-slider-btn { width: 18px; font-size: 11px; }
}
