/* ===============================
   standing-hero: 立食プラン ページタイトルヒーロー
   =============================== */

.standing-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	aspect-ratio: 375 / 267;
}

.standing-hero__bg {
	position: absolute;
	inset: 0;
}

.standing-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

/* 左からクリームのグラデーションを重ねてテキストを立たせる */
.standing-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--color-bg) 18%, transparent 78%);
}

.standing-hero__inner {
	position: relative;
	padding-block: var(--space-6);
}

.standing-hero__title {
	color: var(--color-primary);
	font-size: var(--fs-h2);
	font-weight: var(--fw-medium);
	letter-spacing: 0.12em;
	line-height: var(--lh-tight);
}

.standing-hero__lead {
	margin-top: var(--space-4);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: 0.06em;
}

.standing-hero__num {
	color: var(--color-primary);
	font-size: var(--fs-h2-mobile);
	font-weight: var(--fw-medium);
	line-height: 1;
	letter-spacing: 0.02em;
}

/* SPは1行目の句点を出さない（参考画像準拠） */
.standing-hero__period {
	display: none;
}

.standing-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	padding: var(--space-2) var(--space-4);
	background: var(--color-primary);
	color: var(--color-text-inverse);
	font-size: var(--fs-body-sm);
	letter-spacing: 0.1em;
	border-radius: var(--radius-sm);
	transition: background-color var(--duration-fast);
}

.standing-hero__btn::after {
	content: "";
	width: var(--space-2);
	height: var(--space-2);
	border-top: 1px solid var(--color-text-inverse);
	border-right: 1px solid var(--color-text-inverse);
	transform: rotate(45deg);
}

.standing-hero__btn:hover {
	background: var(--color-primary-hover);
}

@media (min-width: 768px) {
	.standing-hero {
		aspect-ratio: 1440 / 690;
	}

	/* 右60%に写真、左はクリームにフェード */
	.standing-hero__bg img {
		object-position: center;
	}

	.standing-hero__bg::after {
		background: linear-gradient(90deg, var(--color-bg) 24%, transparent 42%);
	}

	/* コンテナの max-width + auto margin とガターの二重取りを解消し、
	   テキスト左端をビューポート起点のガター1本分にする */
	.standing-hero__inner {
		max-width: none;
		padding-block: var(--space-8);
	}

	.standing-hero__title {
		font-size: var(--fs-hero);
	}

	.standing-hero__lead {
		margin-top: var(--space-7);
		font-size: var(--fs-h2-mobile);
		line-height: var(--lh-body);
	}

	.standing-hero__num {
		font-size: var(--fs-h2);
	}

	.standing-hero__period {
		display: inline;
	}

	.standing-hero__btn {
		margin-top: var(--space-7);
		padding: var(--space-6) var(--space-11);
		font-size: var(--fs-h2-mobile);
	}
}
