/* 商品詳細ページ（ネオン×黒背景のシンセウェイブ調）
 * 配色: 黒系背景 / ネオンピンク #ff2e9a / ネオンシアン #2de2e6 / パープル #8a5cff
 * ※ レイアウトの安全策（min-width:0、ギャラリーのaspect-ratio+overflow、画像のmax-width）は維持。
 */
.pxp-single {
	background: #08080f;
	color: #e8e8f2;
	padding: 56px 16px 110px;
	position: relative;
	z-index: 0;
	min-height: 70vh;
	overflow: hidden; /* ぼかし背景のはみ出し＆横スクロール防止 */
}

/* ぼかした背景画像（メイン画像を使用） */
.pxp-single::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--pxp-bg, none) center / cover no-repeat;
	filter: blur(26px) saturate(1.2);
	transform: scale(1.18); /* ぼかしの端を隠す */
	opacity: 0.5;
	z-index: 0;
	pointer-events: none;
}

/* 暗め＋ネオンのオーバーレイ（文字を読みやすく保つ） */
.pxp-single::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient( 1200px 520px at 50% -8%, rgba(138, 92, 255, 0.30), transparent 60% ),
		radial-gradient( 900px 500px at 110% 10%, rgba(45, 226, 230, 0.16), transparent 55% ),
		rgba(8, 8, 15, 0.74);
	z-index: 0;
	pointer-events: none;
}

.pxp-single__inner {
	position: relative;
	z-index: 1; /* 内容は背景より前面に */
	max-width: 1080px;
	margin: 0 auto;
}

/* すべての画像の安全策（intrinsicサイズでの暴走を防ぐ） */
.pxp-single img {
	max-width: 100%;
}

/* パンくず */
.pxp-single .pxp-breadcrumb {
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	color: #7c7c95;
	margin-bottom: 30px;
}

.pxp-single .pxp-breadcrumb a {
	color: #7c7c95;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pxp-single .pxp-breadcrumb a:hover {
	color: #2de2e6;
	text-shadow: 0 0 8px rgba(45, 226, 230, 0.6);
}

.pxp-breadcrumb__sep {
	margin: 0 8px;
}

.pxp-single .pxp-breadcrumb__current {
	color: #e8e8f2;
}

/* メイン2カラム（グリッド項目に min-width:0 を付けて暴走を防止） */
.pxp-single__main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: start;
}

.pxp-single__media,
.pxp-single__info {
	min-width: 0;
}

/* ギャラリー：コンテナ側で正方形固定＋ネオンの縁取りと発光 */
.pxp-single__media .pxp-gallery {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 14px;
	background: #0f0f1b;
	border: 1px solid rgba(45, 226, 230, 0.28);
	box-shadow:
		0 0 28px rgba(138, 92, 255, 0.28),
		0 0 60px rgba(255, 46, 154, 0.12);
}

.pxp-single__media .pxp-gallery .swiper-wrapper,
.pxp-single__media .pxp-gallery .swiper-slide {
	height: 100%;
}

.pxp-single .pxp-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pxp-single__media .pxp-gallery .swiper-button-prev,
.pxp-single__media .pxp-gallery .swiper-button-next {
	color: #ffffff;
	text-shadow: 0 0 10px rgba(45, 226, 230, 0.9);
}

.pxp-single__media .pxp-gallery .swiper-pagination-bullet {
	background: #ffffff;
	opacity: 0.45;
}

.pxp-single__media .pxp-gallery .swiper-pagination-bullet-active {
	background: #2de2e6;
	opacity: 1;
	box-shadow: 0 0 8px rgba(45, 226, 230, 0.9);
}

/* サムネイル一覧（クリックで主画像をフェード切替） */
.pxp-single__media .pxp-gallery-thumbs {
	margin-top: 14px;
	width: 100%;
}

.pxp-single__media .pxp-gallery-thumbs .swiper-slide {
	width: 78px;
	height: 78px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.45;
	border: 2px solid transparent;
	transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pxp-single__media .pxp-gallery-thumbs .swiper-slide:hover {
	opacity: 0.85;
	transform: translateY(-2px);
}

.pxp-single__media .pxp-gallery-thumbs .swiper-slide-thumb-active {
	opacity: 1;
	border-color: #2de2e6;
	box-shadow: 0 0 12px rgba(45, 226, 230, 0.7);
}

.pxp-single__media .pxp-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* タイトル（白＋ピンクの淡い発光＋グラデの下線） */
.pxp-single .pxp-single__title {
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.35;
	color: #ffffff;
	margin: 0 0 18px;
	text-shadow: 0 0 14px rgba(255, 46, 154, 0.45);
}

.pxp-single .pxp-single__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin-top: 16px;
	border-radius: 2px;
	background: linear-gradient(90deg, #ff2e9a, #2de2e6);
	box-shadow: 0 0 12px rgba(255, 46, 154, 0.6);
}

.pxp-single .pxp-single__catch {
	font-size: 1rem;
	line-height: 1.9;
	color: #b9b9cc;
	margin: 0 0 26px;
}

/* スペック表 */
.pxp-spec {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 30px;
}

.pxp-spec th,
.pxp-spec td {
	text-align: left;
	padding: 13px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.92rem;
	vertical-align: top;
}

.pxp-spec th {
	width: 30%;
	color: #2de2e6;
	font-weight: 600;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.pxp-spec td {
	color: #eaeaf2;
}

/* CTA ボタン（ネオングラデ＋発光） */
.pxp-single .pxp-btn {
	display: inline-block;
	padding: 15px 40px;
	background: linear-gradient(90deg, #ff2e9a, #8a5cff);
	color: #ffffff;
	text-decoration: none;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	box-shadow: 0 0 18px rgba(255, 46, 154, 0.5);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pxp-single .pxp-btn:hover {
	box-shadow: 0 0 30px rgba(255, 46, 154, 0.85), 0 0 50px rgba(138, 92, 255, 0.5);
	transform: translateY(-2px);
}

/* 本文 */
.pxp-single__content {
	margin: 60px 0 0;
	line-height: 1.9;
	color: #c9c9d8;
}

.pxp-single__content img {
	height: auto;
}

/* ラインナップ */
.pxp-lineup {
	margin: 64px 0 0;
}

.pxp-single .pxp-lineup__heading {
	font-size: 1.35rem;
	font-weight: 800;
	color: #ffffff;
	text-align: center;
	margin: 0 0 30px;
	letter-spacing: 0.05em;
	text-shadow: 0 0 12px rgba(45, 226, 230, 0.5);
}

.pxp-lineup__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 14px;
}

.pxp-lineup__list li {
	background: rgba(255, 255, 255, 0.03);
	color: #e8e8f2;
	border: 1px solid rgba(45, 226, 230, 0.30);
	border-radius: 10px;
	padding: 15px 16px;
	text-align: center;
	font-size: 0.9rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pxp-lineup__list li:hover {
	border-color: #ff2e9a;
	box-shadow: 0 0 18px rgba(255, 46, 154, 0.35);
	transform: translateY(-2px);
}

/* 戻るリンク */
.pxp-single__back {
	margin: 56px 0 0;
	text-align: center;
}

.pxp-single .pxp-single__back a {
	color: #8a8aa0;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.pxp-single .pxp-single__back a:hover {
	color: #2de2e6;
	text-shadow: 0 0 8px rgba(45, 226, 230, 0.6);
}

/* レスポンシブ：タブレット〜小型PC */
@media (max-width: 768px) {
	.pxp-single {
		padding: 36px 16px 76px;
	}

	.pxp-single__main {
		grid-template-columns: 1fr; /* 画像→情報の縦並び */
		gap: 26px;
	}

	.pxp-single .pxp-single__title {
		font-size: 1.5rem;
	}

	.pxp-spec th {
		width: 34%;
	}
}

/* レスポンシブ：スマートフォン */
@media (max-width: 480px) {
	.pxp-single {
		padding: 26px 14px 60px;
	}

	.pxp-single .pxp-single__title {
		font-size: 1.3rem;
	}

	.pxp-single .pxp-single__catch {
		font-size: 0.95rem;
	}

	.pxp-spec th,
	.pxp-spec td {
		font-size: 0.88rem;
		padding: 11px 6px;
	}

	/* ボタンは横いっぱいで押しやすく */
	.pxp-single .pxp-btn {
		display: block;
		text-align: center;
		padding: 15px 20px;
	}

	/* サムネは少し小さく */
	.pxp-single__media .pxp-gallery-thumbs .swiper-slide {
		width: 62px;
		height: 62px;
	}

	/* ラインナップは3列前後で詰めて表示 */
	.pxp-lineup__list {
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
		gap: 10px;
	}

	.pxp-lineup__list li {
		padding: 12px 10px;
		font-size: 0.85rem;
	}

	.pxp-single .pxp-lineup__heading {
		font-size: 1.2rem;
	}
}
