@charset "UTF-8";

/* =========================================================
   front.css — トップページ専用
   ========================================================= */

/* ===== Intro（初回セッションのみ） ===== */
.site-intro {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	margin: 0;
	background: #000;
	opacity: 1;
	visibility: visible;
	transition: opacity 1.6s ease, visibility 1.6s ease;
}

.site-intro[hidden],
html.is-intro-done .site-intro:not(.is-leave) {
	display: none !important;
}

.site-intro.is-leave {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 1.6s ease, visibility 1.6s ease;
}

body.is-intro-active {
	overflow: hidden;
}

.site-intro__logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	color: var(--color-gold);
	text-align: center;
	animation: intro-logo-in 0.7s ease both;
}

.site-intro__logo img {
	display: block;
	width: min(58vw, 280px);
	height: auto;
}

.site-intro__ja {
	font-family: var(--font-serif);
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
}

.site-intro__en {
	font-family: var(--font-sans);
	font-size: clamp(0.68rem, 1.6vw, 0.78rem);
	letter-spacing: 0.22em;
	opacity: 0.85;
}

@keyframes intro-logo-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-intro__logo {
		animation: none;
	}

	.site-intro {
		transition: none;
	}
}

/* ===== Hero ===== */
.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	min-height: min(88vh, 820px);
	color: var(--color-text-light);
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: -2;
}

.hero__slide {
	position: absolute;
	inset: 0;
	display: block;
	margin: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.hero__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(16, 11, 8, 0.82) 0%, rgba(16, 11, 8, 0.45) 48%, rgba(16, 11, 8, 0.25) 100%),
		linear-gradient(0deg, rgba(16, 11, 8, 0.7) 0%, transparent 45%);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	width: min(100% - (var(--space-inline) * 2), var(--content-max));
	margin-inline: auto;
	padding: 5.5rem 0 4.5rem;
}

.hero h1 {
	color: var(--color-gold);
	font-size: clamp(1.85rem, 5.2vw, 3rem);
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__content > p:not(.hero__actions) {
	max-width: 36em;
	margin-top: 1.5rem;
	color: var(--color-text-light);
	font-size: 1.05rem;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2.5rem;
}

.hero__actions .button {
	width: 100%;
}

@media (min-width: 768px) {
	.hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.hero__actions .button {
		width: auto;
	}
}

@media (min-width: 1024px) {
	.hero__content {
		padding: 7.5rem 0 6rem;
	}
}

/* ===== Shop links ===== */
.shop-links {
	padding: var(--space-section) 0;
	max-width: 100%;
	overflow-x: clip;
	background:
		radial-gradient(circle at top, rgba(185, 150, 82, 0.08), transparent 45%),
		var(--color-navy);
}

.shop-links ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
	margin-top: 2.75rem;
}

.shop-links a {
	display: grid;
	grid-template-rows: 1fr auto;
	align-content: stretch;
	justify-items: stretch;
	gap: 0;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--color-border-gold);
	color: var(--color-gold-light);
	background: rgba(7, 24, 43, 0.65);
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.shop-links a:hover {
	border-color: var(--color-gold);
	transform: translateY(-2px);
}

.shop-links__media {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1a120c;
}

.shop-links__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.shop-links a:hover .shop-links__media img {
	transform: scale(1.05);
}

.shop-links span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 0.5rem;
	background: rgba(7, 24, 43, 0.92);
	font-size: 1.02rem;
	letter-spacing: 0.12em;
	text-align: center;
}

@media (min-width: 1024px) {
	.shop-links {
		padding: var(--space-section) 0;
	}

	.shop-links ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.35rem;
	}

	.shop-links span {
		min-height: 3.4rem;
		font-size: 1.05rem;
	}
}

/* ===== Featured products ===== */
.featured-products {
	padding: var(--space-section) 0 calc(var(--space-section) + 0.5rem);
	max-width: 100%;
	overflow-x: clip;
	color: var(--color-text-dark);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 30%),
		var(--color-cream);
}

.featured-products .section-title {
	color: #8a6a2e;
}

.featured-products .section-title::before,
.featured-products .section-title::after {
	background: linear-gradient(90deg, transparent, #b99652);
}

.featured-products .section-title::after {
	background: linear-gradient(90deg, #b99652, transparent);
}

.featured-products__note,
.latest-posts__note {
	margin-top: 1.1rem;
	text-align: center;
	font-size: 0.86rem;
	opacity: 0.75;
}

.product-slider {
	margin-top: 2.75rem;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.product-slider__stage {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.product-slider__viewport {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.product-slider__track {
	display: flex;
	gap: 1.35rem;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0;
	transition: transform 0.35s ease;
	will-change: transform;
}

.product-slider__track.is-instant {
	transition: none;
}

.product-card {
	flex: 0 0 min(85%, 320px);
	width: min(85vw, 320px);
	max-width: 100%;
	box-sizing: border-box;
}

.product-card article {
	height: 100%;
}

.product-card figure {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #1a120c;
}

.product-card figure a {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.product-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.product-card figure a:hover img {
	transform: scale(1.04);
}

.product-card h3 {
	margin-top: 1.1rem;
	color: var(--color-brown);
	font-size: 1.1rem;
	letter-spacing: 0.04em;
}

.product-card p {
	margin-top: 0.55rem;
	color: #5c4c3e;
	font-size: 0.95rem;
}

.product-card__price {
	margin-top: 0.7rem !important;
	color: var(--color-brown) !important;
	font-weight: 700;
}

.product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	min-height: 44px;
	margin-top: 1rem;
	padding: 0.55em 1.35em;
	border: 1px solid var(--color-gold);
	border-radius: var(--radius);
	color: var(--color-brown-dark);
	background-color: var(--color-gold);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition:
		color 0.35s ease,
		background-color 0.35s ease,
		border-color 0.35s ease;
}

.product-card__btn::after {
	content: "→";
	display: inline-block;
	font-weight: 400;
	transition: transform 0.35s ease;
}

.product-card__btn:hover {
	color: var(--color-gold-light);
	background-color: var(--color-brown);
	border-color: var(--color-brown);
	text-decoration: none;
}

.product-card__btn:hover::after {
	transform: translateX(0.28em);
}

.product-slider__prev,
.product-slider__next {
	position: absolute;
	top: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: min(85vw, 320px);
	max-height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--color-cream);
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	text-decoration: none;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.product-slider__prev {
	left: 0;
}

.product-slider__next {
	left: calc(min(85vw, 320px) - 40px);
	right: auto;
}

.product-slider__prev::before,
.product-slider__next::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 11, 8, 0.35), transparent);
	pointer-events: none;
}

.product-slider__next::before {
	background: linear-gradient(270deg, rgba(16, 11, 8, 0.35), transparent);
}

.product-slider__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.25rem;
	min-width: 0;
}

.product-slider__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	background: rgba(33, 20, 13, 0.25);
}

.product-slider__dots button.is-active {
	background: var(--color-brown);
}

.featured-products__cta,
.stores__cta,
.latest-posts__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem 1rem;
	margin-top: 2.75rem;
	text-align: center;
}

.latest-posts__cta .button {
	flex: 1 1 12rem;
	min-width: 12rem;
	max-width: 16rem;
	box-sizing: border-box;
	justify-content: center;
	text-align: center;
}

@media (min-width: 768px) {
	.product-card {
		flex: 0 0 calc((100% - 1.35rem) / 2);
		width: calc((100% - 1.35rem) / 2);
	}

	.product-slider__prev,
	.product-slider__next {
		display: none;
	}
}

@media (min-width: 1024px) {
	.featured-products {
		padding: var(--space-section) 0 calc(var(--space-section) + 0.75rem);
	}

	.product-slider__track {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.6rem;
		width: 100%;
		transform: none !important;
	}

	.product-card {
		flex: none;
		width: auto;
	}

	.product-slider__dots {
		display: none;
	}
}

/* ===== Commitment ===== */
.commitment {
	padding: var(--space-section) 0 0;
	background: var(--color-brown);
}

.commitment__grid {
	display: grid;
	gap: 2.5rem;
}

.commitment figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.commitment figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.commitment h2 {
	color: var(--color-gold);
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	letter-spacing: 0.1em;
}

.commitment__lead {
	margin-top: 1.25rem;
	color: var(--color-text-light);
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	line-height: 1.65;
}

.commitment article > p:nth-of-type(2) {
	margin-top: 1.35rem;
	color: rgba(234, 228, 216, 0.9);
	font-size: 1.02rem;
}

.commitment article > p:last-child {
	margin-top: 2.25rem;
}

@media (min-width: 1024px) {
	.commitment {
		padding: var(--space-section) 0 0;
	}

	.commitment__grid {
		grid-template-columns: 1fr 1fr;
		gap: 3.5rem;
		align-items: center;
	}
}

/* ===== Commitment marquee ===== */
.commitment-marquee {
	margin-top: 3rem;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.commitment-marquee__viewport {
	overflow: hidden;
	width: 100%;
	height: 150px;
}

.commitment-marquee__track {
	display: flex;
	align-items: stretch;
	gap: 0;
	width: max-content;
	height: 150px;
	animation: commitment-marquee 42s linear infinite;
}

.commitment-marquee__item {
	flex: 0 0 auto;
	margin: 0;
	width: 240px;
	height: 150px;
	overflow: hidden;
}

.commitment-marquee__item img {
	display: block;
	width: 100%;
	height: 150px;
	aspect-ratio: auto;
	object-fit: cover;
}

@media (min-width: 768px) {
	.commitment-marquee {
		margin-top: 3.5rem;
	}

	.commitment-marquee__track {
		gap: 0;
		animation-duration: 52s;
	}

	.commitment-marquee__item {
		width: 260px;
	}
}

@media (min-width: 1024px) {
	.commitment-marquee {
		margin-top: 4.5rem;
	}

	.commitment-marquee__track {
		gap: 0;
		animation-duration: 60s;
	}

	.commitment-marquee__item {
		width: 280px;
	}
}

@keyframes commitment-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.commitment-marquee__track {
		animation: none;
	}
}

/* ===== Stores ===== */
.stores {
	padding: var(--space-section) 0 calc(var(--space-section) + 0.5rem);
	background:
		radial-gradient(circle at bottom, rgba(185, 150, 82, 0.08), transparent 40%),
		var(--color-navy);
}

.stores > .l-inner > ul {
	display: grid;
	gap: 1.75rem;
	margin-top: 2.75rem;
	align-items: stretch;
}

.stores > .l-inner > ul > li {
	display: flex;
	height: 100%;
}

.stores article {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	height: 100%;
	padding: 1.35rem;
	border: 1px solid var(--color-border-gold);
	background: rgba(7, 24, 43, 0.55);
	box-sizing: border-box;
}

.stores figure {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	flex-shrink: 0;
}

.stores img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stores h3 {
	color: var(--color-gold);
	font-size: 1.25rem;
	letter-spacing: 0.08em;
}

.stores article > div {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.stores address {
	margin-top: 0.9rem;
	font-style: normal;
	color: var(--color-text-light);
	font-size: 0.98rem;
}

.stores address p + p {
	margin-top: 0.35rem;
}

.stores article > div > p:last-child {
	margin-top: auto;
	padding-top: 1.25rem;
}

.stores article > div > p:last-child a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: var(--color-gold-light);
}

.stores article > div > p:last-child a::after {
	content: "→";
}

@media (min-width: 1024px) {
	.stores {
		padding: var(--space-section) 0 calc(var(--space-section) + 0.5rem);
	}

	.stores > .l-inner > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}
}

/* ===== Latest posts ===== */
.latest-posts {
	padding: var(--space-section) 0 calc(var(--space-section) + 0.75rem);
	background: var(--color-brown);
}

.latest-posts > .l-inner > ul {
	margin-top: 2.75rem;
	border-top: 1px solid var(--color-border-gold);
}

.latest-posts li {
	border-bottom: 1px solid var(--color-border-gold);
}

.latest-posts li a {
	display: grid;
	gap: 0.5rem 1.25rem;
	padding: 1.45rem 0;
	color: var(--color-text-light);
}

.latest-posts time {
	color: var(--color-gold-light);
	font-size: 0.92rem;
}

.latest-posts .cat {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 1.7rem;
	padding: 0 0.65rem;
	border: 1px solid var(--color-border-gold);
	color: var(--color-gold-light);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
}

.latest-posts .title {
	font-size: 1.05rem;
}

.latest-posts li a:hover .title {
	color: var(--color-gold);
}

@media (min-width: 768px) {
	.latest-posts li a {
		grid-template-columns: 7rem 6.5rem 1fr;
		align-items: center;
	}
}

/* ===== Motion ===== */
@media (prefers-reduced-motion: no-preference) {
	.hero__content {
		animation: hero-rise 0.9s ease both;
	}

	.shop-links a,
	.product-card,
	.stores article,
	.latest-posts li {
		animation: fade-up 0.7s ease both;
	}

	.shop-links li:nth-child(2) a { animation-delay: 0.05s; }
	.shop-links li:nth-child(3) a { animation-delay: 0.1s; }
	.shop-links li:nth-child(4) a { animation-delay: 0.15s; }
}

@keyframes hero-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
