/* fanza-media 作品詳細ページ（ダークテーマ・アクセント#FA2198。カードグリッドは子テーマskin.css） */
.fanza-work {
	max-width: 760px;
	margin: 0 auto;
	line-height: 1.8;
	color: #f0f0f0;
}

.fanza-pr-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 8px;
}
.fanza-pr-label span {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 3px;
	padding: 0 6px;
	margin-right: 6px;
	font-weight: 600;
}

.fanza-breadcrumb {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fanza-breadcrumb a { color: rgba(255, 255, 255, 0.5) !important; }
.fanza-breadcrumb .sep { margin: 0 6px; }

.fanza-title {
	font-size: 22px;
	line-height: 1.5;
	margin: 0 0 12px;
	color: #fff;
	font-weight: 700;
}

.fanza-quickmeta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding: 0;
	margin: 0 0 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}

.fanza-mainvisual {
	margin: 0 0 16px;
	text-align: center;
}
/* 親テーマが img を display:block にするため text-align では中央にならない → margin auto で中央寄せ（PCで左寄りだった・2026-09-03） */
.fanza-mainvisual img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
}

.fanza-pricecard {
	background: #242424;
	border: 1px solid #333;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 26px 0 16px; /* 2026-09-06 直前の作品紹介本文と余白ゼロで接して詰まって見えたため上に余白 */
}
.fanza-review {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}
.fanza-review .stars { color: #f2b13d; font-weight: 700; margin: 0 2px 0 4px; }

.fanza-cta {
	text-align: center;
	margin: 26px 0;
}
.fanza-cta a {
	display: block;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	background: linear-gradient(135deg, #FA2198, #ff5aa8);
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	border-radius: 999px;
	padding: 17px 20px;
	box-sizing: border-box;
	box-shadow: 0 4px 18px rgba(250, 33, 152, 0.45);
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.fanza-cta a:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 18px rgba(250, 33, 152, 0.55);
}

.fanza-work h2 {
	font-size: 19px;
	color: #FA2198;
	font-weight: 700;
	margin: 34px 0 14px;
}

/* サンプル画像: 本文幅(760px)より一回り大きく表示しつつ、見切れ不安が出ないよう余白を残す。
   PC=最大920pxで中央寄せ、SP=左右12pxの余白 */
.fanza-samples {
	width: min(100vw - 24px, 920px);
	margin-left: calc(50% - min(50vw - 12px, 460px));
	margin-top: 10px;
}
.fanza-samples-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.fanza-samples-grid figure { margin: 0; text-align: center; }
.fanza-samples-grid img {
	width: 100%;
	max-width: 920px;
	height: auto;
	border-radius: 6px;
	display: inline-block;
}
@media (max-width: 700px) {
	.fanza-samples-grid { gap: 10px; }
}

.fanza-details table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.fanza-details th,
.fanza-details td {
	border-bottom: 1px solid #333;
	padding: 9px 8px;
	text-align: left;
	vertical-align: top;
}
.fanza-details th {
	width: 8em;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 600;
	white-space: nowrap;
}

.fanza-features ul,
.fanza-pricehistory ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
}
.fanza-features li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px dashed #333;
	padding: 8px 4px;
}
.fanza-features .label { color: rgba(255, 255, 255, 0.55); }
.fanza-features .value { font-weight: 600; }
.fanza-pricehistory li { padding: 4px 0; }

.fanza-official p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.7;
}

/* 編集部データノート（2026-09-07・価格情報の下）。本文と同じ文字サイズ、リンクは詳細表と同じ色 */
.fanza-datanote p {
	margin: 0 0 10px;
	font-size: 14.5px;
	line-height: 1.7;
}
.fanza-datanote a {
	color: #ff6eb8 !important;
	text-decoration: none;
}
.fanza-datanote a:hover { text-decoration: underline; }
.fanza-datanote .fanza-datanote-meta {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.45);
}

.fanza-genre-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
/* チップ自体の見た目は子テーマskin.css（サイト共通）側で定義 */

.fanza-quickmeta a,
.fanza-details a {
	color: #ff6eb8 !important;
	text-decoration: none;
}
.fanza-quickmeta a:hover,
.fanza-details a:hover { text-decoration: underline; }

/* 編集部クレジット（記事末尾） */
.fanza-credit {
	margin-top: 26px;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.55);
}
.fanza-credit p { margin: 0; }
.fanza-credit a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: underline;
}
.fanza-credit-date {
	margin-top: 4px !important;
	color: rgba(255, 255, 255, 0.4);
}

/* 作品ページのバナー枠: 上部はメタ情報とビジュアルの間、中間はCTA直後、末尾は Final CTA と間隔を詰める */
.fanza-banner--work_top { margin: 0 0 16px; }
.fanza-banner--work_mid { margin: 4px 0 8px; }
.fanza-banner--work_bottom { margin: 6px 0 0; }

/* 追従バー CTA版（作品ページ PC/SP・wp fanza banner sticky on）。Primary CTAが画面外に出たら表示、Final CTAが見えたら隠す。2026-09-06 PCも同じ挙動に */
.fanza-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9000;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(18, 18, 18, 0.96);
	border-top: 1px solid #333;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transform: translateY(110%);
	transition: transform 0.2s ease;
}
.fanza-sticky-cta.is-visible { transform: none; }
.fanza-sticky-cta a {
	display: block;
	text-align: center;
	background: linear-gradient(135deg, #FA2198, #ff5aa8);
	color: #fff !important;
	border-radius: 999px;
	padding: 13px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 18px rgba(250, 33, 152, 0.45);
}
body.fanza-sticky-mode-cta { padding-bottom: 72px; }
@media (min-width: 700px) {
	.fanza-sticky-cta { padding: 12px 24px; }
	.fanza-sticky-cta a { max-width: 560px; margin: 0 auto; font-size: 17px; }
	body.fanza-sticky-mode-cta { padding-bottom: 80px; }
}

/* 追従バー バナー版（全端末・sticky枠のDMMバナー）。閉じるボタン付き。
   高さ: SP=640×100を幅いっぱいに縮小(≈61px)+余白、PC=640×100原寸+余白 */
.fanza-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9000;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	background: rgba(18, 18, 18, 0.96);
	border-top: 1px solid #333;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	text-align: center;
	line-height: 0;
}
.fanza-sticky-bar-inner { display: block; margin: 0 auto; max-width: 100%; }
.fanza-sticky-bar ins.widget-banner { display: block; text-decoration: none; }
.fanza-sticky-bar img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 6px;
}
/* 閉じるボタン: SPは小さく薄くバー右上の角に重ねる（目立たせない・ユーザー要望 2026-09-02）。PCは右端に通常サイズ */
.fanza-sticky-close {
	position: absolute;
	right: 6px;
	top: -9px;
	width: 20px;
	height: 20px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	line-height: 18px;
	padding: 0;
	cursor: pointer;
	opacity: 0.65;
}
body.fanza-sticky-mode-banner { padding-bottom: 84px; }
@media (min-width: 700px) {
	.fanza-sticky-bar { padding: 8px 48px 8px 12px; }
	.fanza-sticky-close {
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
		width: 26px;
		height: 26px;
		border-color: rgba(255, 255, 255, 0.35);
		color: #fff;
		font-size: 16px;
		line-height: 24px;
		opacity: 1;
	}
	body.fanza-sticky-mode-banner { padding-bottom: 120px; }
}

/* 2026-09-05 施策4: 関連作品をSecondary CTA直後へ移動。SPは横スクロール（1画面に2.3枚） */
@media (max-width: 699px) {
	.fanza-related--strip .post-list {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		gap: 10px;
		padding: 4px 0 10px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.fanza-related--strip .post-list::-webkit-scrollbar { display: none; }
	.fanza-related--strip .post-list > a {
		flex: 0 0 44%;
		width: auto;
		min-width: 0;
		scroll-snap-align: start;
	}
}

/* ===== 案C ブラック×アンバー（2026-09-14 ユーザー決定）: 作品ページの配色上書き。変数は子テーマ skin.css の :root ===== */
.fanza-cta a,.fanza-sticky-cta a{background:linear-gradient(135deg,#f5b301,#ff8a00);color:#111!important;box-shadow:0 4px 18px rgba(245,179,1,.30)}
.fanza-cta a:hover{box-shadow:0 5px 20px rgba(245,179,1,.40)}
.fanza-work h2{color:var(--mg-pink)}
.fanza-sticky-cta,.fanza-sticky-bar{background:rgba(10,10,10,.96);border-top-color:#2a2a2a}
.fanza-details a,.fanza-quickmeta a,.fanza-datanote a,.fanza-credit a{color:var(--mg-pink)!important}
