/* =========================================================
   v21: 各固定ページ用のリッチデザイン
   ========================================================= */

/* ---------- 共通: シネマティックヒーロー ---------- */
.pr-hero {
	position: relative;
	min-height: 78vh;
	display: grid;
	align-items: end;
	padding: 160px 0 80px;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.pr-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}

.pr-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.6) saturate(.85);
	transform: scale(1.04);
	animation: pr-hero-zoom 12s ease-in-out forwards;
}

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

.pr-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.65) 100%),
		linear-gradient(135deg, rgba(112,0,0,.45), rgba(180,0,0,.2) 50%, transparent);
	pointer-events: none;
}

.pr-hero__inner {
	width: min(1200px, calc(100% - 88px));
	margin: 0 auto;
	display: grid;
	gap: 32px;
}

.pr-hero__num {
	display: inline-block;
	font-family: var(--hp-roman, "Times New Roman");
	font-size: clamp(80px, 9vw, 130px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.02em;
	color: rgba(255, 255, 255, .12);
	text-shadow: 0 0 24px rgba(0, 0, 0, .3);
}

.pr-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	font-family: var(--hp-roman, "Times New Roman");
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .3em;
	color: rgba(228, 196, 140, .94);
}

.pr-hero__kicker::before {
	content: "";
	width: 32px;
	height: 1px;
	background: var(--hp-red-line, #d80008);
	box-shadow: 0 0 6px rgba(216, 0, 8, .7);
}

.pr-hero__title {
	margin: 0;
	font-family: var(--hp-serif, "Noto Serif JP");
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: .04em;
	color: #fff;
	text-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.pr-hero__title em {
	color: var(--hp-red-line, #d80008);
	font-style: normal;
}

.pr-hero__lead {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, .88);
	font-size: 15px;
	line-height: 2.1;
	letter-spacing: .04em;
}

.pr-hero__corners {
	position: absolute;
	inset: 24px;
	pointer-events: none;
	z-index: 1;
}

.pr-hero__corners span {
	position: absolute;
	width: 30px;
	height: 30px;
}

.pr-hero__corners span:nth-child(1) { top: 0; left: 0; border-top: 1px solid rgba(228, 196, 140, .6); border-left: 1px solid rgba(228, 196, 140, .6); }
.pr-hero__corners span:nth-child(2) { top: 0; right: 0; border-top: 1px solid rgba(228, 196, 140, .6); border-right: 1px solid rgba(228, 196, 140, .6); }
.pr-hero__corners span:nth-child(3) { bottom: 0; left: 0; border-bottom: 1px solid rgba(228, 196, 140, .6); border-left: 1px solid rgba(228, 196, 140, .6); }
.pr-hero__corners span:nth-child(4) { bottom: 0; right: 0; border-bottom: 1px solid rgba(228, 196, 140, .6); border-right: 1px solid rgba(228, 196, 140, .6); }

/* ---------- セクション基底 ---------- */
.pr-section {
	position: relative;
	padding: clamp(90px, 9vw, 130px) 0;
	overflow: hidden;
}

.pr-section--paper  { background: var(--hp-paper, #f5f2ed); color: #1f1714; }
.pr-section--dark   { background: #16110e; color: #fff; }
.pr-section--cream  { background: #faf7f2; color: #1f1714; }
.pr-section--red    { background: linear-gradient(135deg, #8a0000, #c30007); color: #fff; }

.pr-container {
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
}

.pr-container--narrow {
	width: min(880px, calc(100% - 64px));
}

/* セクションキッカー + タイトル */
.pr-section__head {
	margin: 0 0 56px;
	text-align: center;
}

.pr-section__head--left {
	text-align: left;
}

.pr-section__kicker {
	display: inline-block;
	margin: 0 0 18px;
	color: var(--hp-red-line, #d80008);
	font-family: var(--hp-roman, "Times New Roman");
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .28em;
	position: relative;
	padding-left: 38px;
}

.pr-section__kicker::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 26px;
	height: 1px;
	background: var(--hp-red-line, #d80008);
	box-shadow: 0 0 4px rgba(216, 0, 8, .45);
}

.pr-section--dark .pr-section__kicker {
	color: rgba(228, 196, 140, .9);
}

.pr-section--red .pr-section__kicker {
	color: #fff;
}

.pr-section__title {
	margin: 0 0 22px;
	font-family: var(--hp-serif, "Noto Serif JP");
	font-size: clamp(26px, 3vw, 42px);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: .06em;
}

.pr-section__lead {
	max-width: 640px;
	margin: 0 auto;
	color: rgba(31, 23, 20, .72);
	font-size: 14.5px;
	line-height: 2.1;
	letter-spacing: .04em;
}

.pr-section--dark .pr-section__lead {
	color: rgba(255, 255, 255, .76);
}

.pr-section--red .pr-section__lead {
	color: rgba(255, 255, 255, .9);
}

/* ---------- スプリットレイアウト（半分テキスト・半分画像） ---------- */
.pr-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}

.pr-split--reverse {
	direction: rtl;
}

.pr-split--reverse > * {
	direction: ltr;
}

.pr-split__media {
	position: relative;
	overflow: hidden;
	box-shadow: 0 26px 56px rgba(52, 37, 25, .16);
	aspect-ratio: 4/3;
}

.pr-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s ease;
}

.pr-split:hover .pr-split__media img {
	transform: scale(1.04);
}

.pr-split .pr-split__media .pr-split__media-num,
.pr-split__media-num {
	position: absolute !important;
	top: 22px !important;
	left: 24px !important;
	right: auto !important;
	bottom: auto !important;
	font-family: var(--hp-roman, "Times New Roman");
	font-size: clamp(54px, 6vw, 76px);
	font-weight: 400;
	color: rgba(255, 255, 255, .98);
	line-height: 1;
	text-shadow:
		0 4px 20px rgba(0, 0, 0, .55),
		0 0 28px rgba(216, 0, 8, .6);
	pointer-events: none;
	z-index: 5;
	letter-spacing: -.02em;
}

.pr-split--reverse .pr-split__media .pr-split__media-num,
.pr-split--reverse .pr-split__media-num {
	left: auto !important;
	right: 24px !important;
}

.pr-split__body h3 {
	margin: 0 0 22px;
	font-family: var(--hp-serif, "Noto Serif JP");
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .08em;
}

.pr-split__body .pr-tag {
	display: inline-block;
	margin: 0 0 18px;
	padding-left: 36px;
	position: relative;
	color: var(--hp-red-line, #d80008);
	font-family: var(--hp-roman, "Times New Roman");
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .26em;
}

.pr-split__body .pr-tag::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 1px;
	background: var(--hp-red-line, #d80008);
}

.pr-split__body p {
	margin: 0 0 12px;
	color: rgba(31, 23, 20, .76);
	font-size: 14.5px;
	line-height: 2.1;
	letter-spacing: .04em;
}

.pr-section--dark .pr-split__body p {
	color: rgba(255, 255, 255, .8);
}

@media (max-width: 800px) {
	.pr-split { grid-template-columns: 1fr; gap: 28px; }
	.pr-split--reverse { direction: ltr; }
}

/* ---------- ステップフロー（左にライン、右に内容） ---------- */
.pr-steps {
	position: relative;
	margin: 0;
	padding-left: 64px;
	border-left: 1px solid rgba(122, 90, 55, .22);
}

.pr-section--dark .pr-steps {
	border-left-color: rgba(228, 196, 140, .3);
}

.pr-step {
	position: relative;
	padding: 0 0 56px;
}

.pr-step:last-child { padding-bottom: 0; }

.pr-step::before {
	content: counter(step, decimal-leading-zero);
	counter-increment: step;
	position: absolute;
	left: -82px;
	top: -8px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	background: var(--hp-red-line, #d80008);
	color: #fff;
	font-family: var(--hp-roman, "Times New Roman");
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .04em;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(216, 0, 8, .4);
}

.pr-steps { counter-reset: step; }

.pr-step h3 {
	margin: 0 0 12px;
	font-family: var(--hp-serif, "Noto Serif JP");
	font-size: 20px;
	font-weight: 600;
	letter-spacing: .06em;
}

.pr-step p {
	margin: 0;
	color: rgba(31, 23, 20, .76);
	font-size: 14px;
	line-height: 2;
}

.pr-section--dark .pr-step p {
	color: rgba(255, 255, 255, .76);
}

/* ---------- ベントー / グリッド ---------- */
.pr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.pr-card {
	position: relative;
	padding: 36px 28px;
	background: #fff;
	border: 1px solid rgba(122, 90, 55, .2);
	box-shadow: 0 14px 36px rgba(52, 37, 25, .08);
	overflow: hidden;
	transition: transform .35s ease, box-shadow .35s ease;
}

.pr-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 50px rgba(52, 37, 25, .14);
}

.pr-section--dark .pr-card {
	background: rgba(255, 255, 255, .04);
	border-color: rgba(228, 196, 140, .22);
}

.pr-card__num {
	display: inline-block;
	margin: 0 0 14px;
	color: var(--hp-red-line, #d80008);
	font-family: var(--hp-roman, "Times New Roman");
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .22em;
}

.pr-card h3 {
	margin: 0 0 16px;
	font-family: var(--hp-serif, "Noto Serif JP");
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: .06em;
}

.pr-section--dark .pr-card h3 { color: #fff; }

.pr-card p {
	margin: 0;
	color: rgba(31, 23, 20, .72);
	font-size: 13.5px;
	line-height: 1.95;
	letter-spacing: .03em;
}

.pr-section--dark .pr-card p { color: rgba(255, 255, 255, .76); }

.pr-card::after {
	content: "";
	position: absolute;
	left: 28px;
	bottom: 22px;
	width: 0;
	height: 1px;
	background: var(--hp-red-line, #d80008);
	transition: width .4s ease;
}

.pr-card:hover::after { width: 36px; }

/* ---------- 統計バー ---------- */
.pr-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0;
	margin: 40px 0;
	border-top: 1px solid rgba(122, 90, 55, .22);
	border-bottom: 1px solid rgba(122, 90, 55, .22);
}

.pr-section--dark .pr-stats {
	border-color: rgba(228, 196, 140, .3);
}

.pr-stat {
	padding: 28px 24px;
	text-align: center;
	border-right: 1px solid rgba(122, 90, 55, .22);
}

.pr-section--dark .pr-stat {
	border-right-color: rgba(228, 196, 140, .25);
}

.pr-stat:last-child { border-right: 0; }

.pr-stat__num {
	display: block;
	color: var(--hp-red-line, #d80008);
	font-family: var(--hp-roman, "Times New Roman");
	font-size: 44px;
	font-weight: 400;
	line-height: 1;
	margin-bottom: 8px;
}

.pr-stat__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
}

.pr-stat__desc {
	display: block;
	margin-top: 6px;
	color: rgba(31, 23, 20, .6);
	font-size: 11px;
	letter-spacing: .06em;
}

.pr-section--dark .pr-stat__desc { color: rgba(255, 255, 255, .58); }

/* ---------- 引用 / メッセージ ---------- */
.pr-quote {
	position: relative;
	padding: 0;
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.pr-quote::before,
.pr-quote::after {
	content: "";
	display: block;
	width: 1px;
	height: 38px;
	background: var(--hp-red-line, #d80008);
	margin: 0 auto;
	box-shadow: 0 0 4px rgba(216, 0, 8, .45);
}

.pr-quote::before { margin-bottom: 36px; }
.pr-quote::after  { margin-top: 36px; }

.pr-quote p {
	margin: 0;
	font-family: var(--hp-serif, "Noto Serif JP");
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 500;
	line-height: 2.2;
	letter-spacing: .14em;
}

/* ---------- スクロール演出 ---------- */
.pr-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 1s cubic-bezier(.22, 1, .25, 1),
		transform 1s cubic-bezier(.22, 1, .25, 1);
	transition-delay: calc(var(--hp-stagger, var(--pr-stagger, 0)) * .08s);
}

.pr-reveal.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

/* スクロール時の背景パララックス用 */
.pr-parallax {
	will-change: transform;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 700px) {
	.pr-hero {
		min-height: 60vh;
		padding: 130px 0 60px;
	}

	.pr-hero__inner {
		width: calc(100% - 32px);
	}

	.pr-section {
		padding: 60px 0;
	}

	.pr-section__head {
		margin-bottom: 36px;
	}

	.pr-container,
	.pr-container--narrow {
		width: calc(100% - 32px);
	}

	.pr-steps {
		padding-left: 48px;
	}

	.pr-step::before {
		left: -66px;
		width: 44px;
		height: 44px;
		font-size: 14px;
	}

	.pr-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.pr-stat {
		border-right: 1px solid rgba(122, 90, 55, .22);
		border-bottom: 1px solid rgba(122, 90, 55, .22);
	}

	.pr-stat:nth-child(2n) { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.pr-hero__bg img,
	.pr-reveal,
	.pr-split:hover .pr-split__media img {
		animation: none !important;
		transition: none !important;
	}

	.pr-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* 固定左レール(96px)回避（age-story.css の同名コメント参照） */
@media (min-width: 901px) {
	.pr-container {
		width: min(1180px, calc(100% - 240px));
	}

	.pr-hero__inner {
		width: min(1200px, calc(100% - 240px));
	}
}

/* ---------- 入園案内: 市役所への申込（つくば市幼児保育課の案内・2026-09-09） ---------- */
.pr-step__office {
	margin-top: 14px;
	padding: 14px 18px;
	border: 1px solid rgba(160, 122, 58, .35);
	border-left: 3px solid var(--hp-red, #b40000);
	background: rgba(255, 255, 255, .55);
	max-width: 520px;
}
.pr-step__office p { margin: 0; }
.pr-step__office-name { font-family: var(--hp-serif, serif); font-size: 14px; letter-spacing: .04em; color: #1f1714; }
.pr-step__office-tel { margin-top: 4px !important; font-family: var(--hp-roman, serif); font-size: 22px; line-height: 1.3; }
.pr-step__office-tel a { color: var(--hp-red, #b40000); text-decoration: none; }
.pr-step__office-tel span { font-family: inherit; font-size: 12px; color: rgba(31, 23, 20, .6); margin-left: 6px; }
.pr-step__office-addr { margin-top: 2px !important; font-size: 12.5px; color: rgba(31, 23, 20, .7); letter-spacing: .03em; }
.pr-step__office-link { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--hp-red, #b40000); text-decoration: none; border-bottom: 1px solid rgba(180, 0, 0, .4); }
@media (max-width: 700px) {
	.pr-step__office { padding: 12px 14px; }
	.pr-step__office-tel { font-size: 20px; }
}
