/* =========================================================
   FANZA Affiliate Theme - Main Styles
   黒 × ピンクのダークテーマ / モバイルファースト
   ========================================================= */

/* ---------------------------------------------------------
   1. Design Tokens
   --------------------------------------------------------- */
:root {
	--bg: #0c0b10;
	--bg-soft: #131218;
	--card: #17161e;
	--elev: #1e1d27;
	--line: #2a2836;
	--line-soft: #221f2c;

	--text: #f2f1f6;
	--muted: #a09eae;
	--faint: #6f6d7d;

	--pink: #ff4f8b;
	--pink-strong: #ff2d78;
	--pink-soft: rgba(255, 79, 139, 0.14);
	--grad: linear-gradient(135deg, #ff4f8b 0%, #ff2d78 55%, #e91e63 100%);

	--gold: #ffc233;

	--shadow-card: 0 6px 24px rgba(0, 0, 0, 0.35);
	--glow: 0 8px 26px rgba(255, 45, 120, 0.32);

	--radius: 14px;
	--radius-s: 10px;

	--font-body: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
		"Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;

	--header-h: 60px;
}

/* ---------------------------------------------------------
   2. Base
   --------------------------------------------------------- */
body {
	background: radial-gradient(1100px 520px at 85% -8%,
			rgba(255, 45, 120, 0.09),
			transparent 60%),
		var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
	transition: color 0.18s ease;
}

a:hover {
	color: var(--pink);
}

::selection {
	background: var(--pink-strong);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--pink);
	outline-offset: 2px;
	border-radius: 4px;
}

.container {
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 768px) {
	.container {
		padding-inline: 24px;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1100;
	padding: 10px 16px;
	background: var(--pink-strong);
	color: #fff;
	border-radius: 8px;
	font-weight: 700;
}

.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* 細めのダークスクロールバー(WebKit) */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: var(--bg);
}

::-webkit-scrollbar-thumb {
	background: #322f40;
	border-radius: 6px;
	border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
	background: #453f58;
}

/* ---------------------------------------------------------
   3. Header
   --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(12, 11, 16, 0.88);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-soft);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--header-h);
	position: relative;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}

.site-logo:hover {
	color: inherit;
	opacity: 0.85;
}

.logo-mark {
	display: inline-grid;
	place-items: center;
	padding: 2px 7px;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--grad);
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(255, 45, 120, 0.4);
}

/* --- モバイル: ハンバーガー --- */
.nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	margin-left: auto;
	background: none;
	border: 1px solid var(--line);
	border-radius: 10px;
	cursor: pointer;
}

.nav-toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.global-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: -16px;
	right: -16px;
	background: rgba(15, 14, 20, 0.98);
	border-bottom: 1px solid var(--line);
	padding: 12px 16px 20px;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
}

.global-nav.is-open {
	display: block;
}

.nav-list {
	display: flex;
	flex-direction: column;
}

.nav-item>a,
.dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 12px 8px;
	font-weight: 700;
	font-size: 0.95rem;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--line-soft);
	cursor: pointer;
	text-align: left;
}

.caret {
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

.nav-dropdown.is-open .caret {
	transform: rotate(-135deg);
}

.dropdown-menu {
	display: none;
	padding: 6px 0 6px 12px;
	max-height: 45vh;
	overflow-y: auto;
}

.nav-dropdown.is-open>.dropdown-menu {
	display: block;
}

.dropdown-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--muted);
	font-size: 0.9rem;
}

.dropdown-menu a:hover {
	background: var(--pink-soft);
	color: var(--pink);
}

.genre-count {
	margin-left: auto;
	font-size: 0.72rem;
	color: var(--faint);
	background: var(--bg-soft);
	border: 1px solid var(--line-soft);
	border-radius: 999px;
	padding: 1px 8px;
}

.dropdown-all a {
	color: var(--pink);
	font-weight: 700;
}

.nav-search {
	margin-top: 14px;
}

/* --- デスクトップ --- */
@media (min-width: 900px) {
	.nav-toggle {
		display: none;
	}

	.global-nav {
		display: flex;
		align-items: center;
		gap: 8px;
		position: static;
		background: none;
		border: 0;
		padding: 0;
		margin-left: auto;
		max-height: none;
		overflow: visible;
	}

	.nav-list {
		flex-direction: row;
		align-items: center;
		gap: 2px;
	}

	.nav-item {
		position: relative;
	}

	.nav-item>a,
	.dropdown-toggle {
		width: auto;
		padding: 8px 14px;
		border-bottom: 0;
		border-radius: 999px;
		font-size: 0.9rem;
		transition: background 0.18s ease, color 0.18s ease;
	}

	.nav-item>a:hover,
	.dropdown-toggle:hover {
		background: var(--pink-soft);
		color: var(--pink);
	}

	.caret {
		width: 7px;
		height: 7px;
		margin-left: 2px;
		margin-top: -3px;
	}

	.dropdown-menu {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		min-width: 250px;
		max-height: 62vh;
		overflow-y: auto;
		padding: 8px;
		background: var(--elev);
		border: 1px solid var(--line);
		border-radius: 12px;
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
	}

	.nav-search {
		margin-top: 0;
		margin-left: 8px;
	}
}

/* --- 検索フォーム --- */
.search-form {
	display: flex;
	align-items: center;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 2px 4px 2px 14px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-form:focus-within {
	border-color: var(--pink);
	box-shadow: 0 0 0 3px rgba(255, 79, 139, 0.18);
}

.search-field {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	padding: 8px 4px;
	font-size: 0.88rem;
	color: var(--text);
}

.search-field::placeholder {
	color: var(--faint);
}

.search-field:focus {
	outline: none;
}

.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.search-submit {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	background: var(--grad);
	color: #fff;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.search-submit:hover {
	transform: scale(1.06);
	box-shadow: var(--glow);
}

@media (min-width: 900px) {
	.nav-search .search-form {
		width: 220px;
	}
}

/* ---------------------------------------------------------
   4. Hero(トップページ)
   --------------------------------------------------------- */
.hero {
	padding: 36px 0 10px;
}

.hero-title {
	font-size: clamp(1.45rem, 4vw, 2.1rem);
	font-weight: 900;
	letter-spacing: 0.01em;
	line-height: 1.35;
}

.hero-lead {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.92rem;
}

/* ---------------------------------------------------------
   5. Sections
   --------------------------------------------------------- */
.product-section {
	padding: 26px 16px 6px;
}

@media (min-width: 768px) {
	.product-section {
		padding-top: 34px;
	}
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.12rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.section-title::before {
	content: "";
	flex-shrink: 0;
	width: 5px;
	height: 1.15em;
	border-radius: 3px;
	background: var(--grad);
	box-shadow: 0 0 12px rgba(255, 45, 120, 0.5);
}

.gallery-count {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--faint);
}

.more-link {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--pink);
}

.more-link:hover {
	color: var(--pink-strong);
}

.more-arrow {
	transition: transform 0.18s ease;
}

.more-link:hover .more-arrow {
	transform: translateX(3px);
}

/* --- ランダムピックアップのシャッフルボタン --- */
.random-refresh {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 7px 16px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.random-refresh:hover {
	color: var(--pink);
	border-color: var(--pink);
}

.random-refresh:disabled {
	cursor: default;
	opacity: 0.65;
}

.refresh-icon {
	transition: transform 0.5s ease;
}

.random-refresh.is-loading .refresh-icon {
	animation: fat-spin 0.7s linear infinite;
}

@keyframes fat-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.product-grid.is-refreshing {
	opacity: 0.45;
	transition: opacity 0.15s ease;
}

/* ---------------------------------------------------------
   6. Product Grid & Card(2列グリッド)
   --------------------------------------------------------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding-bottom: 8px;
}

@media (min-width: 768px) {
	.product-grid {
		gap: 18px;
	}
}

.product-card,
.post-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.post-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 79, 139, 0.55);
	box-shadow: var(--shadow-card), 0 4px 20px rgba(255, 45, 120, 0.15);
}

.card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
}

.card-link:hover {
	color: inherit;
}

.card-thumb {
	position: relative;
	aspect-ratio: 3 / 4;
	background: #0a090d;
}

.card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.no-image {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 120px;
	color: var(--faint);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	background: repeating-linear-gradient(45deg,
			#111017,
			#111017 12px,
			#14131b 12px,
			#14131b 24px);
}

.card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px 14px;
	flex: 1;
}

.card-title {
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.78rem;
}

.card-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.card-price {
	margin-top: auto;
	font-size: 1rem;
	font-weight: 800;
	color: var(--pink);
	letter-spacing: 0.02em;
}

.post-card-excerpt {
	font-size: 0.82rem;
	color: var(--muted);
}

/* デスクトップは横型カード(サムネ左・情報右) */
@media (min-width: 768px) {
	.product-card .card-link {
		flex-direction: row;
	}

	.product-card .card-thumb {
		flex: none;
		width: 168px;
		aspect-ratio: 3 / 4;
	}

	.product-card .card-body {
		padding: 14px 16px;
	}

	.card-title {
		font-size: 0.95rem;
		-webkit-line-clamp: 3;
	}
}

/* --- バッジ類 --- */
.card-badges {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	border-radius: 6px;
	line-height: 1.6;
}

.badge-new {
	background: #fff;
	color: #0c0b10;
}

.badge-off {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 2px 8px rgba(255, 45, 120, 0.4);
}

/* --- ランキング順位バッジ --- */
.rank-badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	display: inline-flex;
	align-items: baseline;
	gap: 1px;
	min-width: 44px;
	padding: 6px 10px;
	justify-content: center;
	font-size: 1.05rem;
	font-weight: 900;
	font-style: italic;
	color: #fff;
	background: rgba(20, 19, 27, 0.92);
	border-bottom-right-radius: 12px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.rank-unit {
	font-size: 0.62rem;
	font-weight: 700;
	font-style: normal;
	color: var(--muted);
}

.rank-badge.is-top1 {
	background: linear-gradient(135deg, #ffd54a, #e6a800);
	color: #221a00;
}

.rank-badge.is-top2 {
	background: linear-gradient(135deg, #e8eaf0, #9ea6b8);
	color: #1c1f26;
}

.rank-badge.is-top3 {
	background: linear-gradient(135deg, #e0955e, #a95a26);
	color: #2b1608;
}

.rank-badge.is-top1 .rank-unit,
.rank-badge.is-top2 .rank-unit,
.rank-badge.is-top3 .rank-unit {
	color: inherit;
	opacity: 0.75;
}

/* --- チップ(タグ) --- */
.chip {
	display: inline-block;
	padding: 2px 10px;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--muted);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	line-height: 1.7;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.chip-link:hover {
	color: var(--pink);
	border-color: var(--pink);
	background: var(--pink-soft);
}

/* --- 星評価 --- */
.stars {
	position: relative;
	display: inline-block;
	font-size: 0.82em;
	line-height: 1;
	letter-spacing: 1px;
	vertical-align: -1px;
}

.stars-base {
	color: #3b3847;
}

.stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--gold);
}

.stars-score {
	margin-left: 4px;
	font-weight: 800;
	color: var(--gold);
	font-size: 0.92em;
}

.stars-count {
	margin-left: 2px;
	color: var(--faint);
	font-size: 0.85em;
}

/* ---------------------------------------------------------
   7. Archive Header / Sort / Empty
   --------------------------------------------------------- */
.archive-header {
	padding: 30px 0 18px;
}

.archive-eyebrow {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: var(--pink);
	text-transform: uppercase;
}

.archive-title {
	margin-top: 2px;
	font-size: clamp(1.35rem, 3.5vw, 1.8rem);
	font-weight: 900;
	line-height: 1.4;
}

.archive-description {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.9rem;
}

.archive-count,
.archive-note {
	margin-top: 6px;
	font-size: 0.84rem;
	color: var(--faint);
}

.sort-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.sort-link {
	padding: 6px 16px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--muted);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: all 0.15s ease;
}

.sort-link:hover {
	color: var(--pink);
	border-color: var(--pink);
}

.sort-link.is-active {
	color: #fff;
	background: var(--grad);
	border-color: transparent;
	box-shadow: 0 3px 12px rgba(255, 45, 120, 0.3);
}

.empty-state {
	padding: 60px 20px;
	text-align: center;
	background: var(--card);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	margin: 24px 0 40px;
}

.empty-title {
	font-size: 1.05rem;
	font-weight: 800;
}

.empty-text {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.88rem;
}

.empty-state .search-form {
	max-width: 360px;
	margin: 18px auto 0;
}

/* ---------------------------------------------------------
   8. Single Product
   --------------------------------------------------------- */
.product-single {
	padding-top: 26px;
	padding-bottom: 40px;
}

/* SP: 縦積み(サムネ→タグ→タイトル→メタ→サンプル)。
   PC: 左=情報カラム(追従) / 右=サンプル縦一列。 */
.product-layout {
	display: grid;
	gap: 26px;
}

.product-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.product-info {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

@media (min-width: 900px) {
	.product-info {
		min-height: calc(100vh - var(--header-h) - 26px)
	}
}

@media (min-width: 900px) {
	.product-layout.has-gallery {
		grid-template-columns: 420px minmax(0, 1fr);
		gap: 40px;
		align-items: start;
	}

	/* サンプルが無い作品は情報カラムのみを中央寄せ */
	.product-layout:not(.has-gallery) {
		max-width: 720px;
		margin-inline: auto;
	}

	/* サンプルを眺めている間も価格・CTAが見えるように左カラムを追従させる。
	   カラムが画面より高い場合はカラム内スクロールにする。 */
	.product-layout.has-gallery .product-side {
		position: sticky;
		top: calc(var(--header-h) + 26px);
		/* max-height: calc(100vh - var(--header-h) - 32px); */
		overflow-y: auto;
		padding-right: 6px;
	}
}

.product-package {
	background: #0a090d;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
	max-width: 420px;
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 900px) {
	.product-package {
		max-width: none;
	}
}

.product-package img {
	width: 100%;
	height: auto;
	display: block;
}

.product-package .no-image {
	aspect-ratio: 3 / 4;
}

.product-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.product-title {
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 900;
	line-height: 1.45;
}

.product-rating {
	font-size: 1rem;
}

/* --- 価格 & CTA --- */
/* SP: サンプル画像下のスロットに表示 / PC: 情報カラム内のスロットに表示 */
.price-box-slot--pc {
	display: none;
}

.price-box-slot--sp {
	display: block;
	margin-top: 28px;
}

@media (min-width: 900px) {
	.price-box-slot--pc {
		display: block;
	}

	.price-box-slot--sp {
		display: none;
	}
}

.price-box {
	padding: 18px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.price-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.price-now {
	font-size: 1.7rem;
	font-weight: 900;
	color: var(--pink);
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.price-list {
	font-size: 0.82rem;
	color: var(--faint);
}

.btn-buy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #fff;
	background: var(--grad);
	border-radius: 999px;
	box-shadow: var(--glow);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-buy:hover {
	color: #fff;
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: 0 12px 32px rgba(255, 45, 120, 0.45);
}

.btn-buy:active {
	transform: translateY(0);
}

.btn-buy svg {
	transition: transform 0.18s ease;
}

.btn-buy:hover svg {
	transform: translateX(3px);
}

.cta-note {
	margin-top: 8px;
	text-align: center;
	font-size: 0.74rem;
	color: var(--faint);
}

/* --- メタ情報 --- */
.product-meta {
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
}

.meta-row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	padding: 11px 16px;
	font-size: 0.88rem;
}

.meta-row:nth-child(odd) {
	background: var(--bg-soft);
}

.meta-row dt {
	color: var(--faint);
	font-weight: 600;
}

.meta-row dd a {
	color: var(--pink);
}

.meta-row dd a:hover {
	text-decoration: underline;
}

.meta-sep {
	color: var(--faint);
}

/* --- 作品紹介 --- */
.product-description {
	margin-top: 8px;
}

.entry-content {
	margin-top: 12px;
	color: #d9d7e2;
	font-size: 0.94rem;
	line-height: 2;
}

.entry-content p {
	margin-bottom: 1em;
}

.entry-content a {
	color: var(--pink);
	text-decoration: underline;
}

/* --- サンプル画像(縦一列) --- */
.product-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	/* margin-top: 14px; */
}

.gallery-item {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	background: #0a090d;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-s);
	overflow: hidden;
	cursor: zoom-in;
	transition: border-color 0.18s ease;
}

.gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity 0.25s ease;
}

.gallery-item:hover {
	border-color: var(--pink);
}

.gallery-item:hover img {
	opacity: 0.88;
}

/* ---------------------------------------------------------
   9. Lightbox(main.js が生成)
   --------------------------------------------------------- */
.lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 7, 12, 0.93);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	animation: lb-fade 0.18s ease;
}

@keyframes lb-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.lb-image {
	max-width: min(92vw, 1100px);
	max-height: 84vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);
}

.lb-close,
.lb-prev,
.lb-next {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: #fff;
	background: rgba(30, 29, 39, 0.8);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 1.15rem;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
	background: var(--pink-strong);
	border-color: var(--pink-strong);
}

.lb-close {
	top: 14px;
	right: 14px;
}

.lb-prev {
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.lb-next {
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.lb-counter {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: rgba(20, 19, 27, 0.8);
	padding: 4px 14px;
	border-radius: 999px;
}

body.lb-open {
	overflow: hidden;
}

/* ---------------------------------------------------------
   10. Pagination
   --------------------------------------------------------- */
.pagination {
	margin: 28px 0 44px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 8px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--muted);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 10px;
	transition: all 0.15s ease;
}

.pagination a.page-numbers:hover {
	color: var(--pink);
	border-color: var(--pink);
}

.pagination .page-numbers.current {
	color: #fff;
	background: var(--grad);
	border-color: transparent;
	box-shadow: 0 3px 12px rgba(255, 45, 120, 0.3);
}

.pagination .page-numbers.dots {
	background: none;
	border: 0;
}

/* ---------------------------------------------------------
   11. Footer
   --------------------------------------------------------- */
.site-footer {
	margin-top: 48px;
	background: #0a090e;
	border-top: 1px solid var(--line-soft);
}

.footer-inner {
	padding-top: 36px;
	padding-bottom: 36px;
	text-align: center;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: 1rem;
}

.footer-note {
	margin-top: 14px;
	color: var(--faint);
	font-size: 0.78rem;
	line-height: 1.9;
}

.footer-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin-top: 16px;
}

.footer-nav a {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--muted);
}

.footer-nav a:hover {
	color: var(--pink);
}

.copyright {
	margin-top: 18px;
	font-size: 0.74rem;
	color: var(--faint);
}

/* ---------------------------------------------------------
   12. Motion preference
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}