/* ---- ① Hero ---- */
.home-hero {
	position: relative;
	height: min(700px, calc(100vh - 64px));
	overflow: hidden;
	background: #d1d5db;
}
.home-hero__swiper,
.home-hero__slide {
	width: 100%;
	height: 100%;
}
.home-hero__slide {
	background: #d1d5db;
	position: relative;
	display: flex;
	align-items: flex-end;
}
.home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 250px, rgba(0,0,0,0.65) 700px);
	pointer-events: none;
}
.home-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 120px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.home-hero__title {
	font-family: var(--font-heading);
	font-size: 56px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	margin: 0;
	max-width: 70%;
}

/* ---- ① Hero（案2: CTAボタン） ---- */
.home-hero--cta {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #d1d5db 0%, #9ca3af 55%, #6b7280 100%);
}
.home-hero__content--center {
	align-items: center;
	text-align: center;
	padding: 0 24px;
}
.home-hero__content--center .home-hero__title {
	max-width: 100%;
	color: var(--text-primary);
}
.home-hero-cta__badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 16px;
	background: var(--accent);
	color: var(--btn-text, #fff);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 999px;
}
.home-hero-cta__desc {
	color: #4b5563;
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	max-width: 480px;
}
.home-hero-cta__btns {
	display: flex;
	gap: 16px;
}
.home-hero-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	min-width: 180px;
	padding: 0 32px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.home-hero-cta__btn--primary {
	background: var(--accent);
	color: var(--btn-text, #fff);
}
.home-hero-cta__btn--primary:hover {
	background: var(--accent-hover);
	color: var(--btn-text, #fff);
}
.home-hero-cta__btn--outline {
	background: transparent;
	color: var(--accent);
	border: 1.5px solid var(--accent);
}
.home-hero-cta__btn--outline:hover {
	background: var(--accent);
	color: var(--btn-text, #fff);
}

/* ---- ① Hero（案3: 画像のみ） ---- */
.home-hero--image {
	background: #d1d5db;
}
.home-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 背景画像を設定した場合: 写真の上でも読みやすいよう白系テキストに切り替え */
.home-hero--cta-photo {
	background: #6b7280;
}
.home-hero--cta-photo .home-hero__overlay {
	background: rgba(0, 0, 0, 0.45);
}
.home-hero--cta-photo .home-hero__content--center .home-hero__title {
	color: #fff;
	line-height: 1.5;
}
.home-hero--cta-photo .home-hero-cta__desc {
	color: rgba(255, 255, 255, 0.9);
}
.home-hero--cta-photo .home-hero-cta__btn--outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.8);
	background: rgba(0, 0, 0, 0.25);
}
.home-hero--cta-photo .home-hero-cta__btn--outline:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.home-hero__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 14px;
	color: #fff;
}
.home-hero__cta {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	padding: 16px 32px;
	width: fit-content;
}
/* Swiper pagination bullets → bar style */
.home-hero__indicators {
	position: absolute;
	bottom: 80px !important;
	left: max(24px, calc((100vw - 1200px) / 2 + -6px)) !important;
	z-index: 20;
	display: flex !important;
	gap: 8px;
	width: auto !important;
	text-align: left;
}
.home-hero__indicators .swiper-pagination-bullet {
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: transparent;
	border: 1.5px solid rgba(255,255,255,0.5);
	box-sizing: border-box;
	opacity: 1;
	margin: 0 !important;
	transition: background 0.25s, border-color 0.25s;
}
.home-hero__indicators .swiper-pagination-bullet-active {
	background: #fff;
	border-color: #fff;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
	.home-hero { height: 460px; }
	.home-hero__content {
		padding: 0 20px 52px;
		gap: 14px;
	}
	.home-hero__title {
		font-size: 22px;
		line-height: 1.4;
	}
	.home-hero__meta { font-size: 12px; }
	.home-hero__cta {
		display: flex;
		width: auto;
		justify-content: center;
		font-size: 14px;
		height: 44px;
		padding: 0 20px;
		border-radius: 8px;
	}
	.home-hero__indicators {
		bottom: 16px !important;
		left: 20px !important;
	}

	.home-hero__content--center {
		padding: 0 20px;
	}
	.home-hero-cta__desc {
		font-size: 14px;
	}
	.home-hero-cta__btns {
		flex-direction: column;
		width: 100%;
	}
	.home-hero-cta__btn {
		width: 100%;
		min-width: 0;
	}
	/* カスタマイザー「スマホ表示でボタンを横並びにする」がONの場合 */
	.home-hero-cta__btns--sp-row {
		flex-direction: row;
		width: auto;
	}
	.home-hero-cta__btns--sp-row .home-hero-cta__btn {
		width: auto;
		flex: 1 1 0;
	}
}
