/* ===========================================================
   Object / Project / FV (TOPページ ヒーロー)
   - 背景：3枚のヒーロー画像 Swiper（フェード）
   - SP：写真の上にキャッチ + アクセスカード + 特徴バッジを全部オーバーレイ
   - PC：FVが固定ヘッダーの下に潜り込み、左半分にコンテンツオーバーレイ
   - お知らせバナーは SP→FV上部 / PC→FV下のナビー帯
   =========================================================== */

.p-fv {
	display: flex;
	flex-direction: column;
	width: 100%;
	position: relative;
}

/* PCのみ：features セクションの波SVGが FV にかぶさるよう z-index で背面に */
@media (min-width: 768px) {
	.p-fv {
		z-index: 1;
	}
}

/* ===========================
   メインヒーロー（背景画像 + 全コンテンツオーバーレイ）
   =========================== */

.p-fv__main {
	position: relative;
	width: 100%;
	aspect-ratio: 375 / 620;
	overflow: hidden;
}

@media (min-width: 768px) {
	.p-fv__main {
		aspect-ratio: 1440 / 660;
		min-height: 560px;
	}
}

/* ---------- Swiper（背景に絶対配置） ---------- */

.p-fv__slider {
	position: absolute !important;
	inset: 0;
	z-index: 1;
}

.p-fv__slider .swiper-slide {
	width: 100%;
	height: 100%;
}

.p-fv__slider .swiper-slide picture,
.p-fv__slider .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Swiperページネーション */
.p-fv__slider .swiper-pagination {
	bottom: 8px !important;
	z-index: 5;
}

.p-fv__slider .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: var(--color-white);
	opacity: 0.7;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-fv__slider .swiper-pagination-bullet-active {
	background-color: var(--color-pink-500);
	opacity: 1;
	transform: scale(1.1);
}

/* ---------- 半透明オーバーレイ（テキスト読みやすさ用・最小限） ---------- */

.p-fv__main::before {
	content: "";
	position: absolute;
	inset: 0;
	/* SP：写真は本来の色を見せたいので、ごく薄いグラデのみ（上 18% → 25%地点で透明） */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 25%);
	z-index: 2;
	pointer-events: none;
}

@media (min-width: 768px) {
	.p-fv__main::before {
		/* PC：左半分にキャッチコピーが乗るため、写真左側にだけ控えめなフェード */
		background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.25) 25%, rgba(255, 255, 255, 0) 45%);
	}
}

/* ---------- キャッチコピー + サブテキスト ---------- */

.p-fv__catch-area {
	position: relative;
	z-index: 3;
	/* SP：オーバーレイされたお知らせバナー（top 16px + 高さ ~100-120px）の下に
	   余裕を持って配置するため top padding を大きめに確保 */
	padding: 160px 20px 0;
	pointer-events: none;
}

@media (min-width: 768px) {
	.p-fv__catch-area {
		position: absolute;
		top: 0;
		bottom: 0;
		max-width: var(--content-max);
		left: 0;
		right: 0;
		margin-inline: auto;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 60px) clamp(220px, 26vw, 280px);
	}
}

.p-fv__catch {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-weight: 700;
	line-height: 1.35;
	font-size: clamp(28px, 7vw, 34px);
	color: var(--color-navy-500);
	letter-spacing: 0.02em;
	/* SP：背景画像の上で文字が埋もれないよう白いハローを4層重ねで強化（PC では下記 media で解除） */
	text-shadow:
		0 0 8px rgba(255, 255, 255, 1),
		0 0 16px rgba(255, 255, 255, 0.9),
		0 0 24px rgba(255, 255, 255, 0.7),
		0 0 32px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
	.p-fv__catch {
		font-size: clamp(26px, 2.4vw, 36px);
		gap: 4px;
		text-shadow: none;
	}
}

.p-fv__catch-line {
	display: inline-block;
}

.p-fv__catch-line--accent {
	color: var(--color-pink-500);
}

.p-fv__lead {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--color-black);
	font-weight: 500;
	max-width: 260px;
	/* SP：背景画像の上で文字が埋もれないよう白いハローを4層重ねで強化（PC では下記 media で解除） */
	text-shadow:
		0 0 8px rgba(255, 255, 255, 1),
		0 0 16px rgba(255, 255, 255, 0.9),
		0 0 24px rgba(255, 255, 255, 0.7),
		0 0 32px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
	.p-fv__lead {
		margin-top: 16px;
		font-size: 15px;
		max-width: 460px;
		text-shadow: none;
	}
}

/* ===========================
   アクセスカード + 特徴バッジ（写真の下部にオーバーレイ）
   =========================== */

.p-fv__sub {
	position: relative;
	z-index: 3;
	margin: 28px 16px 0;
	pointer-events: auto;
}

@media (min-width: 768px) {
	.p-fv__sub {
		position: absolute;
		bottom: clamp(40px, 5vw, 64px);
		left: 0;
		right: 0;
		max-width: var(--content-max);
		margin-inline: auto;
		margin-top: 0;
		padding-inline: clamp(20px, 4vw, 60px);
	}
}

.p-fv__sub-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

@media (min-width: 768px) {
	.p-fv__sub-inner {
		max-width: 500px;
		gap: 12px;
	}
}

/* ---------- アクセスカード（特徴バッジと同じ角丸の四角形・同じ幅） ---------- */

.p-fv__access {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 16px;
	background-color: var(--color-white);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
}

.p-fv__access-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.p-fv__access-icon img {
	width: 100%;
	height: 100%;
}

.p-fv__access-text {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	letter-spacing: 0.02em;
}

/* 強調（徒歩1分など）：ピンク・大きめ・太字 */
.p-fv__access-emphasis {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-pink-500);
	line-height: 1.2;
}

/* 強調（阿佐ヶ谷駅）：ネイビー版 */
.p-fv__access-emphasis--navy {
	color: var(--color-navy-500);
}

/* 通常（から）：黒・通常サイズ */
.p-fv__access-normal {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-black);
	line-height: 1.2;
}

@media (min-width: 768px) {
	.p-fv__access {
		padding: 14px 20px;
	}
	.p-fv__access-icon { width: 20px; height: 20px; }
	.p-fv__access-emphasis { font-size: 22px; }
	.p-fv__access-normal { font-size: 16px; }
}

/* ---------- 特徴バッジ（3つ横並び） ---------- */

.p-fv__features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.p-fv__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 12px 6px;
	background-color: var(--color-white);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	text-align: center;
}

.p-fv__feature-icon {
	display: inline-flex;
	width: 28px;
	height: 28px;
}

.p-fv__feature-icon img {
	width: 100%;
	height: 100%;
}

.p-fv__feature-text {
	display: flex;
	flex-direction: column;
	gap: 0;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

/* 上段（小・ピンク） */
.p-fv__feature-sub {
	font-size: 11px;
	font-weight: 500;
	color: var(--color-pink-500);
}

/* 下段（大・ネイビー = 太字部分） */
.p-fv__feature-main {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-navy-500);
}

@media (min-width: 768px) {
	.p-fv__features {
		gap: 12px;
	}

	.p-fv__feature {
		padding: 18px 10px;
		gap: 8px;
	}

	.p-fv__feature-icon { width: 32px; height: 32px; }
	.p-fv__feature-sub { font-size: 18px; }
	.p-fv__feature-main { font-size: 20px; }
}

/* ===========================
   FV内のお知らせ配置
   - SP：FV画像の上にオーバーレイ（position: absolute）
   - PC：FV下のナビー帯として通常フロー
   =========================== */

.p-fv__notice {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	z-index: 4;
}

@media (min-width: 768px) {
	.p-fv__notice {
		position: static;
		top: auto;
		left: auto;
		right: auto;
	}
}
