@charset "utf-8";
/* ===== PDP LAYOUT ===== */
.pdp {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 140px 48px 100px;
	align-items: start;
}

/* ===== GALLERY ===== */
.pdp-gallery {
	width: 100%;
	overflow: hidden;
}
.pdp-main-img {
	aspect-ratio: 3 / 4;
	background: var(--bg-alt);
	overflow: hidden;
}
.pdp-main-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s;
}
.pdp-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.pdp-thumb {
	flex: 1;
	aspect-ratio: 3 / 4;
	background: var(--bg-alt);
	overflow: hidden;
	cursor: pointer;
	opacity: 0.4;
	transition: opacity 0.3s;
}
.pdp-thumb.is-active { opacity: 1; }
.pdp-thumb:hover { opacity: 0.8; }
.pdp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===== PDP SWIPER (メイン画像カルーセル) ===== */
.pdp-swiper {
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.pdp-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 矢印ボタン */
.pdp-swiper-prev,
.pdp-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  user-select: none;
}
.pdp-swiper-prev:hover,
.pdp-swiper-next:hover {
  background: rgba(255, 255, 255, 0.95);
}
.pdp-swiper-prev {
  left: 10px;
}
.pdp-swiper-next {
  right: 10px;
}
/* ページネーション（ドット） */
.pdp-swiper-pagination {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}
.pdp-swiper-pagination .swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  opacity: 1;
  transition: background 0.25s, transform 0.25s;
}
.pdp-swiper-pagination .swiper-pagination-bullet-active {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.3);
}

/* SP: 矢印を非表示（スワイプのみ） */
@media (max-width: 768px) {
  .pdp-swiper-prev,
  .pdp-swiper-next {
    display: none;
  }
}

/* ===== INFO ===== */
.pdp-info {
	position: sticky;
	top: 72px;
	width: 100%;
}
.pdp-cat {
	font-family: var(--serif);
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--muted-light);
	text-transform: uppercase;
	margin-bottom: 12px;
}
.pdp-cat a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}
.pdp-cat a:hover { color: var(--text); }
.pdp-name {
	font-family: var(--serif);
	font-weight: 300;
	font-style: normal;
	font-size: 28px;
	letter-spacing: 4px;
	line-height: 1.4;
	color: var(--text);
	margin-bottom: 20px;
}
.pdp-price {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 20px;
	letter-spacing: 1px;
	color: var(--text);
	margin-bottom: 8px;
}
.pdp-price-sub {
	font-size: 11px;
	color: var(--muted-light);
	letter-spacing: 0.5px;
	margin-bottom: 40px;
}

/* ===== SCENT NOTES ===== */
.scent-profile {
	padding: 32px 0;
	border-top: 1px solid var(--border);
}
.scent-profile-title {
	font-family: var(--serif);
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--muted-light);
	text-transform: uppercase;
	margin-bottom: 24px;
}
.scent-notes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
}
.scent-note {
	background: var(--bg);
	padding: 20px 16px;
}
.scent-note-label {
	font-family: var(--serif);
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--muted-light);
	margin-bottom: 10px;
}
.scent-note-name {
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--text);
	margin-bottom: 8px;
}
.scent-note-desc {
	font-size: 11px;
	line-height: 1.8;
	color: var(--muted);
}

/* ===== DESCRIPTION ===== */
.pdp-desc {
	font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
	font-size: 12px;
	font-weight: 300;
	line-height: 1.8;
	letter-spacing: 0.5px;
	color: var(--muted-light);
	margin-top: 8px;
	margin-bottom: 32px;
}

/* ===== VARIANTS ===== */
.pdp-label {
	font-family: var(--serif);
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--muted-light);
	text-transform: uppercase;
	margin-bottom: 12px;
}
.variant-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}
.variant {
	font-family: var(--serif);
	font-size: 11px;
	letter-spacing: 2px;
	color: var(--muted);
	padding: 10px 16px;
	border: 1px solid var(--border);
	cursor: pointer;
	transition: all 0.3s;
	background: none;
}
.variant:hover { border-color: var(--text); color: var(--text); }
.variant.is-active {
	background: var(--text);
	color: var(--bg);
	border-color: var(--text);
}
.variant.is-sold-out {
	color: #ccc;
	border-color: #e5e5e5;
	cursor: pointer;
	position: relative;
	background: none;
}
.variant.is-sold-out::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 4px;
	right: 4px;
	height: 1px;
	background: #ccc;
	transform: rotate(-12deg);
	pointer-events: none;
}
.variant.is-sold-out:hover {
	border-color: #e5e5e5;
	color: #ccc;
}
.variant.is-sold-out.is-active {
	background: none;
	color: #ccc;
	border-color: #e5e5e5;
}

/* ===== QUANTITY ===== */
.qty-row {
	display: flex;
	align-items: center;
	margin-bottom: 32px;
}
.qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--border);
}
.qty button {
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	font-size: 16px;
	color: var(--muted);
	cursor: pointer;
	transition: color 0.3s;
}
.qty button:hover { color: var(--text); }
.qty input {
	width: 40px;
	height: 40px;
	text-align: center;
	background: none;
	border: none;
	font-family: var(--serif);
	font-size: 14px;
	color: var(--text);
}

/* ===== CTA ===== */
.pdp-actions {
	display: grid;
	gap: 10px;
	margin-top: 40px;
	margin-bottom: 40px;
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
}
.pdp-btn-fill {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	background: var(--text);
	color: var(--bg);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 3px;
	text-decoration: none;
	transition: opacity 0.3s;
}
.pdp-btn-fill:hover { opacity: 0.8; }
.pdp-btn-fill.is-sold-out {
	background: #e5e5e5;
	color: #999;
	cursor: not-allowed;
	letter-spacing: 3px;
}
.pdp-btn-fill.is-sold-out:hover {
	opacity: 1;
}
.pdp-btn-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	border: 1px solid var(--text);
	color: var(--text);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 3px;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}
.pdp-btn-outline:hover { background: var(--text); color: var(--bg); }

/* ===== ACCORDION ===== */
.pdp-acc {
	border-top: 1px solid var(--border);
}
.pdp-acc-item {
	border-bottom: 1px solid var(--border);
}
.pdp-acc-q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	cursor: pointer;
	gap: 24px;
}
.pdp-acc-q-text {
	font-family: var(--sans);
	font-weight: 300;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--text);
}
.pdp-acc-icon {
	width: 10px;
	height: 10px;
	position: relative;
	flex-shrink: 0;
}
.pdp-acc-icon::before,
.pdp-acc-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--muted-light);
	transition: transform 0.4s ease;
}
.pdp-acc-icon::before {
	width: 10px; height: 1px;
	transform: translate(-50%, -50%);
}
.pdp-acc-icon::after {
	width: 1px; height: 10px;
	transform: translate(-50%, -50%);
}
.pdp-acc-item.is-open .pdp-acc-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.pdp-acc-a {
	font-size: 12px;
	line-height: 2.2;
	color: var(--muted);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, padding 0.5s ease;
}
.pdp-acc-item.is-open .pdp-acc-a {
	max-height: 2000px;
	padding-bottom: 24px;
}

/* ===== PRODUCT STORY ===== */
.pdp-story {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 48px;
	border-top: 1px solid var(--border);
}
.pdp-scent-link {
	font-family: var(--serif);
	font-size: 13px;
	letter-spacing: 3px;
	color: var(--text);
	text-decoration: none;
	display: inline-block;
	text-align: center;
}
.pdp-scent-link::before {
	content: '#';
	color: var(--muted-light);
	margin-right: 2px;
}

.pdp-story-inner {
	max-width: 720px;
	margin: 0 auto;
}
.pdp-story-heading {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 16px;
	letter-spacing: 4px;
	color: var(--text);
	margin-bottom: 32px;
	text-align: center;
}

/* -- Fragrance Notes -- */
.pdp-notes {
	margin-bottom: 80px;
	padding: 40px 0;
}
.pdp-notes-track {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.pdp-note {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.pdp-note-label {
	font-family: var(--serif);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 3px;
	color: var(--text);
	text-transform: uppercase;
}
.pdp-note-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid var(--text);
	background: transparent;
	flex-shrink: 0;
}
.pdp-note-name {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 1px;
	color: var(--muted-light);
	text-align: center;
	white-space: nowrap;
}
.pdp-note-line {
	flex: 1;
	height: 1px;
	background: var(--border);
	min-width: 40px;
	max-width: 120px;
	margin-top: 28px;
}

/* -- Story Blocks -- */
.pdp-story-block {
	margin-bottom: 48px;
}
.pdp-story-text {
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 300;
	line-height: 2.2;
	letter-spacing: 0.5px;
	color: var(--muted);
}
.pdp-story-ingredients {
	font-size: 11px;
	line-height: 2;
	color: var(--muted-light);
}

/* -- How to Use -- */
.pdp-howto-grid {
	display: flex;
	justify-content: center;
	gap: 32px;
}
.pdp-howto-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	flex: 1;
	max-width: 120px;
}
.pdp-howto-img {
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pdp-howto-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.pdp-howto-label {
	font-family: var(--serif);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	color: var(--muted-light);
	text-align: center;
	text-transform: uppercase;
}

/* -- How to Use Details -- */
.pdp-howto-details {
	margin-top: 48px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.pdp-howto-detail-title {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	color: var(--muted-light);
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.pdp-howto-detail-title::before {
	content: '';
	width: 24px;
	height: 1px;
	background: var(--border);
	flex-shrink: 0;
}
.pdp-howto-detail-text {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	line-height: 2;
	letter-spacing: 0.5px;
	color: var(--muted);
}

/* ===== SP: PRODUCT STORY ===== */
@media (max-width: 768px) {
	.pdp-story {
		padding: 48px 20px;
	}
	.pdp-note-name {
		font-size: 10px;
		white-space: normal;
	}
	.pdp-note-line {
		min-width: 24px;
	}
	.pdp-howto-grid {
		gap: 16px;
	}
	.pdp-howto-img {
		width: 56px;
		height: 56px;
	}
	.pdp-howto-label {
		font-size: 9px;
	}
}

/* ===== RECOMMENDED PAIRING ===== */
.pdp-pairing {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 48px;
}
.pdp-pairing-inner {
	max-width: 100%;
}
.pdp-pairing-heading {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 22px;
	letter-spacing: 4px;
	color: var(--text);
	text-align: center;
	margin-bottom: 12px;
}
.pdp-pairing-sub {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	letter-spacing: 1px;
	color: var(--muted-light);
	text-align: center;
	margin-bottom: 48px;
}
.pdp-pairing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.pdp-pairing-card {
}
.pdp-pairing-card-names {
	display: flex;
	gap: 12px;
	margin-bottom: 10px;
}
.pdp-pairing-card-names a {
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: 1px;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px solid var(--border);
	padding-bottom: 2px;
	transition: color 0.3s, border-color 0.3s;
}
.pdp-pairing-card-names a:hover {
	color: var(--text);
	border-color: var(--text);
}
.pdp-pairing-x {
	font-size: 12px;
	color: var(--muted-light);
}
.pdp-pairing-card-text {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 300;
	line-height: 2;
	letter-spacing: 0.3px;
	color: var(--muted);
	margin-bottom: 12px;
}
.pdp-pairing-more {
	text-align: center;
	margin-top: 48px;
}
.pdp-pairing-more a {
	font-family: var(--serif);
	font-size: 12px;
	letter-spacing: 3px;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px solid var(--border);
	padding-bottom: 4px;
	transition: color 0.3s, border-color 0.3s;
}
.pdp-pairing-more a:hover {
	color: var(--text);
	border-color: var(--text);
}

@media (max-width: 768px) {
	.pdp-pairing {
		padding: 48px 20px;
	}
	.pdp-pairing-heading {
		font-size: 18px;
	}
	.pdp-pairing-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* ===== RELATED ITEMS ===== */
.other-scents {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 48px 120px;
}
.other-scents-title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: 16px;
	letter-spacing: 4px;
	color: var(--text);
	text-align: center;
	margin-bottom: 64px;
}
.other-scents-wrap {
	position: relative;
}
.other-scents-arrow {
	position: absolute;
	top: calc(50% - 60px);
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background: rgba(255,255,255,0.9);
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	transition: opacity 0.2s;
}
.other-scents-arrow:hover {
	opacity: 0.7;
}
.other-scents-prev {
	left: -18px;
}
.other-scents-next {
	right: -18px;
}
@media (max-width: 768px) {
	.other-scents-prev { left: 8px; }
	.other-scents-next { right: 8px; }
}
.other-scents-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.other-scents-grid::-webkit-scrollbar {
	display: none;
}
.other-scents-grid .pd-card {
	flex: 0 0 calc(25% - 12px);
	min-width: 200px;
	scroll-snap-align: start;
}
.other-scents-grid .pd-card-img-wrap {
	position: relative;
	aspect-ratio: 3 / 4;
	width: 100%;
}
.other-scents-grid .pd-card-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.other-scents-more {
	text-align: right;
	padding-top: 24px;
}
.other-scents-more a {
	font-size: 11px;
	letter-spacing: 3px;
	color: var(--muted);
	transition: color 0.3s;
}
.other-scents-more a:hover { color: var(--text); }

/* ===== RELATED ITEMS CARD OVERRIDE ===== */
.other-scents .pd-card-info { padding: 20px 20px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.other-scents .pd-card-name {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--text);
	margin-bottom: 4px;
	word-break: keep-all;
}
.other-scents .pd-card-price {
	font-size: 12px;
	color: var(--muted);
	letter-spacing: 0.5px;
}

/* ===== SP ===== */
@media (max-width: 768px) {
	.pdp {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 100px 0 64px;
		overflow: hidden;
	}
	.pdp-gallery { padding: 0; max-width: 100vw; }
	.pdp-info { position: static; padding: 0 20px; }
	.pdp-name { font-size: 22px; letter-spacing: 3px; }
	.scent-notes { grid-template-columns: 1fr; }
	.other-scents { padding: 0; }
	.other-scents-grid { gap: 0; }
	.other-scents-grid .pd-card { flex: 0 0 50%; min-width: 0; }
	.other-scents-title { font-size: 16px; letter-spacing: 4px; }
	.related { padding: 0; }
	.related .products-grid { gap: 0; padding: 0; }
}

/* 香調名が長い香り（THE OIL PARFUM など）は折り返して表示 */
.pdp-notes-track.is-long .pdp-note {
	flex: 0 1 220px;
	min-width: 0;
}
.pdp-notes-track.is-long .pdp-note-name {
	white-space: normal;
}
