/* FV（#top） */
.hero {
	min-height: 100vh;
	min-height: calc(var(--vh, 1vh) * 100);
	background: radial-gradient(ellipse at 30% 20%, #29385a 0%, var(--indigo-deep) 60%); /* フォールバック（画像未設定時） */
	background-size: cover;
	background-position: center;
	color: var(--text-on-dark);
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(circle at 80% 75%, rgba(198, 166, 100, 0.14), transparent 45%);
	pointer-events: none;
}
.hero-inner {
	position: relative;
	z-index: 2;
	padding-top: 80px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	grid-template-areas:
		"eyebrow visual"
		"h1 visual"
		"sub visual"
		"cta visual";
	gap: 60px;
	align-items: center;
}
.hero-inner > .eyebrow {
	grid-area: eyebrow;
}
.hero-inner > h1 {
	grid-area: h1;
}
.hero-inner > .sub {
	grid-area: sub;
}
.hero-inner > .cta {
	grid-area: cta;
}
.hero-visual {
	grid-area: visual;
}
.hero h1 {
	font-size: 44px;
	line-height: 1.7;
	color: #fff;
}
.hero .sub {
	font-size: 14px;
	color: var(--text-sub-dark);
	margin-top: 28px;
	letter-spacing: 0.05em;
}
.hero .cta {
	display: inline-block;
	margin-top: 44px;
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--indigo-deep);
	background: var(--gold);
	padding: 16px 44px;
	transition: background 0.25s;
}
.hero .cta:hover {
	background: var(--gold-soft);
}
.hero-visual .ph {
	height: 520px;
}

/* PCのみ：商品画像をhero全体の背景として表示する（SPは従来どおりhero-visual内の画像のまま、
   背景としては表示しない）。--hero-keyvisual はPHP側でインラインstyleに常時渡っているが、
   参照するこの背景指定自体をこのメディアクエリ内に閉じ込めることでSPには影響させない */
@media (min-width: 768px) {
	.hero.has-keyvisual {
		background-image: var(--hero-keyvisual);
	}
	.hero.has-keyvisual .hero-visual {
		display: none;
	}
	.hero.has-keyvisual::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(
			100deg,
			rgba(16, 25, 43, 0.94) 0%,
			rgba(16, 25, 43, 0.82) 30%,
			rgba(16, 25, 43, 0.45) 60%,
			rgba(16, 25, 43, 0.18) 100%
		);
		pointer-events: none;
	}
}

@media (max-width: 767px) {
	.hero {
		min-height: 92vh;
		min-height: calc(var(--vh, 1vh) * 92);
		display: block;
	}
	.hero-inner {
		display: block;
		padding-top: 70px;
	}
	.hero h1 {
		font-size: 28px;
	}
	.hero .sub {
		font-size: 12.5px;
		margin-top: 20px;
	}
	.hero-visual .ph {
		height: 220px;
		margin-top: 36px;
	}
	.hero .cta {
		margin-top: 32px;
		font-size: 12px;
		letter-spacing: 0.15em;
		padding: 14px 34px;
	}
}
