/* ━━━ キービジュアル（ヒーローセクション） ━━━ */
.hero-section {
	position: relative;
	width: 100%;
	min-height: clamp(380px, 62vh, 680px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: stretch;
	overflow: hidden;
}

/* 画像なし → グラデーションフォールバック */
.hero-section--gradient {
	background: linear-gradient( 135deg, #0055FF 0%, #7C3AED 60%, #DB2777 100% );
}

/* 画像あり → 上部を薄く、下部を濃くするオーバーレイ */
.hero-section--image .hero-section__overlay {
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,.18) 0%,
		rgba(0,0,0,.52) 100%
	);
}

/* グラデーション時のオーバーレイ（薄め） */
.hero-section--gradient .hero-section__overlay {
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,.08) 0%,
		rgba(0,0,0,.28) 100%
	);
}

.hero-section__overlay {
	flex: 1;
	display: flex;
	align-items: center;
}

.hero-section__inner {
	width: 100%;
	padding-block: clamp(3rem, 6vw, 5rem);
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.hero-section__content {
	flex: 1 1 0;
	min-width: 0;
	max-width: 720px;
	animation: hero-fade-in .7s ease both;
}

/* ━━━ 装飾画像（右カラム） ━━━ */
.hero-section__deco {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: hero-fade-in .9s ease both;
}
.hero-section__deco-img {
	display: block;
	width: clamp(160px, 28vw, 340px);
	height: auto;
	/* 透過PNGを暗背景で視認可能にする白グロー */
	filter:
		drop-shadow( 0 0 12px rgba(255,255,255,.85) )
		drop-shadow( 0 0 30px rgba(255,255,255,.4) )
		drop-shadow( 0 4px 24px rgba(0,0,0,.35) );
}

@media ( max-width: 640px ) {
	.hero-section__inner { flex-wrap: wrap; }
	.hero-section__content { flex: 1 1 100%; max-width: 100%; }
	.hero-section__deco { flex: 0 0 100%; justify-content: flex-start; }
	.hero-section__deco-img { width: clamp(120px, 55vw, 220px); }
}

@keyframes hero-fade-in {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ━━━ タイトル ━━━ */
.hero-section__title {
	font-family: var(--font);
	font-size: clamp(1.9rem, 5vw, 3.5rem);
	font-weight: 900;
	color: #fff;
	line-height: 1.25;
	letter-spacing: -.01em;
	margin-bottom: 1rem;
	text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

/* タイトル画像 */
.hero-section__title--img {
	text-shadow: none;
	line-height: 1;
}
.hero-section__title-img {
	display: block;
	max-width: min( 480px, 80vw );
	height: auto;
	filter: drop-shadow( 0 2px 16px rgba(0,0,0,.3) );
}

/* ━━━ サブコピー ━━━ */
.hero-section__sub {
	font-size: clamp(.95rem, 2vw, 1.2rem);
	color: rgba(255,255,255,.88);
	line-height: 1.75;
	margin-bottom: 2rem;
	text-shadow: 0 1px 8px rgba(0,0,0,.2);
	max-width: 580px;
}

/* ━━━ CTAボタン ━━━ */
.hero-section__btns {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
}

.hero-btn {
	padding: .8rem 2rem;
	font-size: 1rem;
	font-weight: 800;
	border-radius: var(--r-pill);
	border: 2.5px solid transparent;
	transition: var(--trans);
	line-height: 1;
}

.hero-btn--primary {
	background: #fff;
	color: var(--c-blue);
	border-color: #fff;
}
.hero-btn--primary:hover {
	background: var(--c-blue);
	color: #fff;
	border-color: var(--c-blue);
	transform: translateY(-3px);
	box-shadow: 0 10px 32px rgba(0,0,0,.22);
}

.hero-btn--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.7);
}
.hero-btn--outline:hover {
	background: rgba(255,255,255,.18);
	border-color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 32px rgba(0,0,0,.18);
}

/* ━━━ レスポンシブ ━━━ */
@media (max-width: 600px) {
	.hero-section { min-height: clamp(280px, 52vh, 440px); }
	.hero-section__btns { flex-direction: column; align-items: flex-start; }
	.hero-btn { width: 100%; text-align: center; justify-content: center; }
}
