/* ========================================
   Hero — メインビジュアル
   ======================================== */

.hero {
	position: relative;
	min-height: calc(100vh - var(--header-height));
	min-height: calc(100dvh - var(--header-height));
	display: flex;
	align-items: center;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__carousel {
	position: relative;
	width: 100%;
	height: 100%;
}

.hero__slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	overflow: hidden;
	transition: opacity 1.2s ease;
}

.hero__slide--active {
	opacity: 1;
	z-index: 1;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
}

.hero__slide--active .hero__image {
	animation: hero-zoom 5s ease-out forwards;
}

@keyframes hero-zoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.08);
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		to right,
		rgba(250, 248, 245, 0.88) 35%,
		rgba(250, 248, 245, 0.25) 100%
	);
	pointer-events: none;
}

.hero__dots {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 10px;
}

.hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid var(--color-accent-dark);
	border-radius: 50%;
	background-color: transparent;
	cursor: pointer;
	transition: background-color var(--transition), transform var(--transition);
}

.hero__dot--active {
	background-color: var(--color-accent-dark);
	transform: scale(1.15);
}

.hero__dot:hover {
	background-color: var(--color-accent);
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: var(--space-xl) var(--space-md);
	width: 100%;
}

.hero__label {
	margin-bottom: var(--space-sm);
}

.hero__title {
	font-family: var(--font-serif);
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-bg-dark);
	margin-bottom: var(--space-md);
	letter-spacing: 0.06em;
}

.hero__lead {
	font-size: 14px;
	line-height: 2;
	color: var(--color-text-light);
	margin-bottom: var(--space-lg);
}

.hero__cta {
	display: inline-block;
	padding: 16px 40px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--color-white);
	background-color: var(--color-accent);
	border: 1px solid var(--color-accent);
}

.hero__cta:hover {
	background-color: transparent;
	color: var(--color-accent);
}

@media (max-width: 768px) {
	.hero {
		min-height: 70vh;
	}

	.hero__overlay {
		background: linear-gradient(
			to bottom,
			rgba(250, 248, 245, 0.25) 0%,
			rgba(250, 248, 245, 0.92) 65%
		);
	}

	.hero__inner {
		padding: var(--space-lg) var(--space-sm);
	}

	.hero__dots {
		bottom: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide {
		transition: none;
	}

	.hero__slide--active .hero__image {
		animation: none;
	}
}
