/**
 * FANZA Keyword AI VR — フロントエンド用スタイル。
 * 画像は1カラム・幅統一・アスペクト比は元画像のまま維持（切り抜かない）。
 * ボタンの配色は後で決めるため、ここでは形のみ。
 */

.fkv-sample-grid {
    max-width: 800px;
    margin: 1em auto;
}
.fkv-sample-item {
    margin-bottom: 12px;
}
.fkv-sample-item img {
    width: 100%;
    height: auto;
    display: block;
}
.fkv-package img,
img.fkv-package {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.fkv-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px 4px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* 一覧サムネイルの VRch バッジ（色は設定によりインラインで上書きされる） */
.fkv-thumb-wrap {
    position: relative;
    display: block;
}
.fkv-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    z-index: 2;
}
.fkv-badge-sub {
    background: #1a6fc4;
}
.fkv-badge-single {
    background: #d63333;
}

/* 関連作品 [fkv-related]（列数は columns 属性でインライン指定） */
.fkv-related {
    margin: 1.5em 0 2em;
}
.fkv-related-grid {
    display: grid;
    gap: 12px;
}
.fkv-related-item a {
    text-decoration: none;
    display: block;
}
.fkv-related-item img {
    width: 100%;
    height: auto;
    display: block;
}
.fkv-related-title {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 600px) {
    .fkv-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===================================================================
 * TOPページの導線セクション ／ 見放題（VRch）一覧
 * =================================================================== */

.fkv-section {
    margin: 2em 0 2.5em;
}
.fkv-section-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 0.8em;
    padding-left: 10px;
    border-left: 5px solid #1a6fc4;
    line-height: 1.4;
}

/* 作品カードのグリッド（TOPセクションと /vrch/ で共用） */
.fkv-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.fkv-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}
.fkv-card-thumb {
    margin: 0;
}
.fkv-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.fkv-card-title {
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 「すべて見る」導線 */
.fkv-sec-more {
    margin: 1em 0 0;
    text-align: right;
}
.fkv-sec-more a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #1a6fc4;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.fkv-sec-more-count {
    font-weight: normal;
    font-size: 0.9em;
}

/* 女優一覧 */
.fkv-actress-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.fkv-actress-item a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.fkv-actress-count {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

/* 見放題一覧ページ */
.fkv-vrch-intro {
    margin: 1em 0 1.5em;
}
.fkv-vrch-count {
    margin: 0 0 1em;
    font-size: 14px;
    color: #555;
}
.fkv-vrch-pagination {
    margin: 2em 0;
    text-align: center;
}
.fkv-vrch-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}
.fkv-vrch-pagination .page-numbers.current {
    background: #1a6fc4;
    border-color: #1a6fc4;
    color: #fff;
}

@media (max-width: 834px) {
    .fkv-actress-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .fkv-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fkv-actress-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .fkv-section-title {
        font-size: 18px;
    }
}
