/* =========================================================
   GOODS アーカイブ（商品個別カード一覧）
   背景黒・lumier-web デザイン踏襲。goods.html 下部に追加。
   ========================================================= */

.goods_archive {
	margin-top: 64px;
}

/* --- 見出し --- */
.goods_archive__head {
	text-align: center;
	margin-bottom: 28px;
}
.goods_archive__head .en {
	display: block;
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(28px, 5vw, 44px);
	letter-spacing: 2px;
	line-height: 1.1;
	color: #fff;
}
.goods_archive__head .ja {
	display: block;
	font-size: 13px;
	letter-spacing: 2px;
	color: var(--line-primary);
	margin-top: 4px;
}

/* --- カテゴリーフィルター --- */
.goods_filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 auto 40px;
	max-width: 920px;
}
.goods_filter__btn {
	appearance: none;
	border: 1px solid rgba(172, 188, 229, 0.4);
	background: transparent;
	color: var(--color-primary);
	font-size: 13px;
	letter-spacing: 1px;
	padding: 8px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}
.goods_filter__btn:hover {
	border-color: #fff;
	color: #fff;
}
.goods_filter__btn.is-active {
	background: #0e5bd7;
	border-color: #0e5bd7;
	color: #fff;
}

/* --- カテゴリーグループ --- */
.goods_group {
	margin-bottom: 56px;
}
.goods_group.is-hidden {
	display: none;
}
.goods_group__title {
	font-size: 18px;
	letter-spacing: 2px;
	color: #fff;
	border-left: 4px solid #0e5bd7;
	padding-left: 12px;
	margin-bottom: 22px;
}

/* --- グリッド --- */
.goods_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 30px;
}

/* --- カード --- */
.goods_item {
	position: relative;
	background: #0d0d0f;
	border: 1px solid rgba(172, 188, 229, 0.18);
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
}
.goods_item:hover {
	transform: translateY(-4px);
	border-color: rgba(172, 188, 229, 0.55);
}
.goods_item:focus-visible {
	outline: 2px solid #0e5bd7;
	outline-offset: 2px;
}
.goods_item__thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
	overflow: hidden;
}
.goods_item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.goods_item:hover .goods_item__thumb img {
	transform: scale(1.05);
}
.goods_item__multi {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.goods_item__body {
	padding: 12px 14px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
/* サイト全体の p{margin} を打ち消して詰める（doraemon100同様） */
.goods_item__body > p {
	margin: 0;
}
.goods_item__name {
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}
.goods_item__total {
	font-size: 11px;
	color: var(--line-primary);
}
.goods_item__price {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}
.goods_item__price.is-tba {
	font-size: 13px;
	font-weight: 400;
	color: var(--line-primary);
}

/* --- ステータスバッジ --- */
.goods_badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	font-size: 11px;
	letter-spacing: 0.5px;
	padding: 4px 10px 2px;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
}
.goods_badge.is-preorder { background: #b56dff; }
.goods_badge.is-backorder { background: #fc9d47; }
.goods_badge.is-soldout  { background: #555; }
.goods_badge.is-few      { background: #de6ea6; }
.goods_badge.is-new      { background: #08b4e8; }
.goods_badge.is-partial-backorder { background: #39bfbb; }
.goods_badge.is-partial-soldout  { background: #7a8897; }

/* LINE UP 見出し直下の税込注記 */
.goods_archive__taxnote {
	font-size: 12px;
	color: #aaa;
	text-align: center;
	margin: 0 0 20px;
}
@media (max-width: 640px) {
	.goods_archive__taxnote { margin: 0 0 16px; }
}

/* --- ステータス凡例＋注意書き --- */
.goods_status_legend {
	max-width: 1000px;
	margin: 0 auto 48px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
}
.goods_status_legend__items {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}
.goods_status_legend__item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.goods_status_legend .goods_badge {
	position: static;
	top: auto;
	left: auto;
	flex: none;
}
.goods_status_legend__desc {
	font-size: 13px;
	color: #fff;
}
.goods_status_legend__notes {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.goods_status_legend__notes-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--line-primary);
	margin: 0 0 8px;
}
.goods_status_legend__notes p {
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 6px;
}
.goods_status_legend__notes p:last-child {
	margin-bottom: 0;
}

@media (max-width: 600px) {
	.goods_status_legend {
		padding: 18px;
	}
	.goods_status_legend__items {
		gap: 10px 16px;
	}
}

/* =========================================================
   モーダル（共用・複数画像スライダー）
   ========================================================= */
.goods_modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
.goods_modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
/* 開くときのふわっと演出 */
.goods_modal__inner {
	opacity: 0;
	transform: translateY(18px) scale(0.97);
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.goods_modal.is-open .goods_modal__inner {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.goods_modal,
	.goods_modal__inner {
		transition: none;
	}
}
body.goods_modal_open {
	overflow: hidden;
}
.goods_modal__inner {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: 92vh;
	display: flex;
	flex-direction: column;
}
.goods_modal__close {
	position: absolute;
	top: -42px;
	right: 0;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.goods_modal__close:hover { opacity: 0.7; }

.goods_modal__viewport {
	position: relative;
	overflow: hidden;
	background: #000;
	border-radius: 6px;
}
.goods_modal__track {
	display: flex;
	transition: transform 0.5s ease;
}
.goods_modal__slide {
	flex: 0 0 100%;
	aspect-ratio: 4 / 3;
	background: #000;
}
.goods_modal__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.goods_modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.goods_modal__nav:hover { background: rgba(0, 0, 0, 0.8); }
.goods_modal__nav--prev { left: 10px; }
.goods_modal__nav--next { right: 10px; }
.goods_modal__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}
.goods_modal__dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}
.goods_modal__dots span.is-active { background: #fff; }

.goods_modal__info {
	color: var(--color-primary);
	margin-top: 16px;
	text-align: center;
}
.goods_modal__name {
	font-size: 18px;
	color: #fff;
	margin-bottom: 6px;
}
.goods_modal__meta {
	font-size: 13px;
	color: var(--line-primary);
	line-height: 1.6;
}
.goods_modal__price {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-top: 6px;
}
.goods_modal__note {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: #b56dff;
}

/* --- タブレット --- */
@media (max-width: 820px) {
	.goods_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px 20px;
	}
}

/* --- SP --- */
@media (max-width: 600px) {
	.goods_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.goods_item__body { padding: 10px 10px 12px; }
	.goods_item__name { font-size: 13px; }
	.goods_modal__close { top: -38px; }
}
