/**
 * 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;
    }
}
