@charset "UTF-8";
/* 教室ページ（共通テンプレート page-classroom.php） */

/* ===== FV（水色の雲。はやし保育園はベージュ） ===== */
.p-room-fv {
	position: relative;
	z-index: 3; /* 雲の吹き出しを、下の「教室の日常」（z-index 2）より手前に出す */
	padding-bottom: 60px;
}

.p-room-fv__bubble {
	background-image: url("../img/common/fv-cloud-blue.webp");
	gap: 4px;
}

.p-room-fv--beige .p-room-fv__bubble {
	background-image: url("../img/common/fv-cloud-beige.webp");
}

.p-room-fv__title {
	font-size: clamp(26px, 2.5vw, 36px);
}

.p-room-fv__tag {
	padding: 0 12px;
	font-family: var(--ff-sans);
	font-size: 11px;
	font-weight: 500;
	background: #cfe3ec;
	border-radius: 999px;
}

.p-room-fv--beige .p-room-fv__tag {
	background: #eadfcf;
}

.p-room-fv__catch {
	margin-top: 4px;
}

.p-room-fv__logo {
	position: absolute;
	top: calc(705 / 1440 * 100vw);
	left: 50%;
	z-index: 3;
	width: clamp(120px, 11.1vw, 160px);
	padding: 0;
	border-radius: 50%; /* 影はロゴ画像に入っているので、CSSの影・白い下地は付けない */
	transform: translateX(-50%);
}

.p-room-fv__logo img {
	width: 100%;
	border-radius: 50%;
}

/* ===== 教室の日常・サービス ===== */
/*
 * 背景：クリームの紙（下辺が波形・波の下は透明）。透明な部分にクリームの地が透けて波が見えなくなるため、
 * 下に白を敷く（次の「1日の活動の流れ」の白につながる）。画像より上はクリームで埋める。
 * z-index：左下の桃色の雲を、次のセクションに重ねて全部見せるため。
 */
.p-room-daily {
	position: relative;
	z-index: 2;
	padding: 60px 0 150px;
	background:
		url("../img/classroom/bg-daily.webp") center bottom / 100% auto no-repeat,
		linear-gradient(var(--c-bg), var(--c-bg)) center top / 100% calc(100% - 4vw) no-repeat,
		var(--c-white);
}

.p-room-daily .l-container {
	position: relative;
	z-index: 1;
}

.p-room-daily__photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 17px;
	align-items: start;
}

.p-room-daily__photos li:nth-child(2) {
	margin-top: 30px;
}

.p-room-daily__photos li:nth-child(3) {
	margin-top: 60px;
}

.p-room-daily__photos img {
	width: 100%;
	aspect-ratio: 415 / 260;
	object-fit: cover;
	border-radius: 8px;
}

.p-room-service {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 485px));
	gap: 28px;
	justify-content: center;
	margin-top: 50px;
}

.p-room-service__age {
	display: inline-block;
	padding: 3px 12px;
	font-family: var(--ff-sans);
	font-size: 14px;
	background: #f0e9df;
	border-radius: 999px;
}

.p-room-service__title {
	margin-top: 18px;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .12em;
}

.p-room-service__catch {
	margin-top: 14px;
	font-size: 14px;
}

.p-room-service__text {
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.7;
}

.p-room-service__insta {
	display: grid;
	gap: 14px;
	align-content: start;
	justify-items: start;
}

.p-room-service__insta-title {
	padding-top: 40px;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .12em;
}

.p-room-daily__sun {
	top: 30px;
	left: calc(40 / 1440 * 100%);
	width: 198px;
}

.p-room-daily__flower-blue {
	top: 200px;
	left: calc(45 / 1440 * 100%);
	width: 34px;
}

.p-room-daily__hill {
	top: 140px;
	right: calc(90 / 1440 * 100%);
	width: 300px;
}

.p-room-daily__flower-pink {
	top: 540px;
	left: calc(155 / 1440 * 100%);
	width: 30px;
}

.p-room-daily__flower-orange {
	top: 580px;
	left: calc(30 / 1440 * 100%);
	width: 26px;
}

.p-room-daily__clover {
	top: 620px;
	right: calc(100 / 1440 * 100%);
	width: 40px;
}

.p-room-daily__branch {
	top: 680px;
	left: 0;
	width: 60px;
}

.p-room-daily__cloud {
	bottom: -70px;
	left: -110px;
	width: 250px;
}

.p-room-daily__patch {
	bottom: 50px;
	left: calc(590 / 1440 * 100%);
	width: 100px;
}

.p-room-daily__ground {
	right: 0;
	bottom: 18px;
	width: 180px;
}

.p-room-daily__tree {
	right: calc(83 / 1440 * 100%);
	bottom: 58px;
	z-index: 1; /* 丘より手前 */
	width: 75px;
}

/* ===== 1日の活動の流れ ===== */
.p-room-schedule {
	position: relative;
	padding: 60px 0 120px;
	background: var(--c-white);
}

.p-room-schedule .l-container {
	position: relative;
	z-index: 1;
}

/*
 * カンプ（1枚 470px）の文字位置に合わせる。padding の % は箱の幅が基準なので、幅が変わっても位置の比率は同じ。
 * 平日：左 130px（27.7%）／休日：左 75px（16%）、見出しの上 45px（9.6%）、行の間隔 40px。
 */
.p-room-schedule__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 470px));
	gap: 70px;
	justify-content: center;
}

.p-room-schedule__blob {
	aspect-ratio: 500 / 420;
	padding: 9.6% 6% 6% 27.7%;
	background: url("../img/classroom/schedule-weekday.webp") center / 100% 100% no-repeat;
}

.p-room-schedule__blob--holiday {
	padding-left: 16%;
	background-image: url("../img/classroom/schedule-holiday.webp");
}

.p-room-schedule__title {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 18px;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: .2em;
}

.p-room-schedule__title img {
	width: auto;
	height: 36px;
}

.p-room-schedule__blob--holiday .p-room-schedule__title {
	padding-left: 55px;
}

.p-room-schedule__rows {
	display: grid;
	gap: 18px;
	font-size: 15px;
	line-height: 1.45;
	letter-spacing: .14em;
}

.p-room-schedule__row {
	display: grid;
	grid-template-columns: 112px 1fr;
}

.p-room-schedule__blob--holiday .p-room-schedule__row {
	grid-template-columns: 102px 1fr;
}

/* 行が7行以上の教室は、雲の形からはみ出さないよう行の間隔を詰める */
.p-room-schedule__rows:has(> :nth-child(7)) {
	gap: 8px;
}

.p-room-schedule__row dt {
	font-family: var(--ff-sans);
	font-weight: 400;
}

.p-room-insta {
	display: grid;
	gap: 12px;
	justify-items: center;
	margin-top: 20px;
}

.p-room-insta__lead {
	font-size: 17px;
	color: #6f6e91;
	letter-spacing: .14em;
}

.p-room-schedule__flower-violet {
	top: 60px;
	right: calc(180 / 1440 * 100%);
	width: 38px;
}

.p-room-schedule__flower-orange {
	top: 130px;
	left: calc(130 / 1440 * 100%);
	width: 34px;
}

.p-room-schedule__hyacinth {
	top: 300px;
	left: calc(90 / 1440 * 100%);
	width: 50px;
}

.p-room-schedule__flower-blue {
	top: 160px;
	right: calc(120 / 1440 * 100%);
	width: 30px;
}

.p-room-schedule__branch {
	top: 230px;
	right: calc(40 / 1440 * 100%);
	width: 70px;
}

.p-room-schedule__nanohana {
	top: 420px;
	right: calc(150 / 1440 * 100%);
	width: 40px;
}

.p-room-schedule__tanuki {
	bottom: 30px;
	left: calc(55 / 1440 * 100%);
}

/* ===== 教室の写真・基本情報 ===== */
.p-room-info {
	position: relative;
	margin-top: -50px;
	padding: 110px 0 170px;
	background: url("../img/classroom/bg-room.webp") center / 100% 100% no-repeat;
}

.p-room-info--white {
	margin-top: 0;
	background: var(--c-white);
}

.p-room-info .l-container {
	--container: 1128px;
	position: relative;
	z-index: 1;
}

.p-room-info__photos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
}

.p-room-info__photos--3 {
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.p-room-info__photos--1 {
	grid-template-columns: minmax(0, 545px);
	justify-content: center;
}

.p-room-info__photos img {
	width: 100%;
	aspect-ratio: 545 / 420;
	object-fit: cover;
	border-radius: 6px;
}

.p-room-info__access {
	display: grid;
	grid-template-columns: 533px 1fr;
	gap: 50px;
	align-items: start;
	margin-top: 46px;
}

.p-room-info__map iframe {
	width: 100%;
	height: 300px;
	background: var(--c-beige-dark);
	border: 0;
	border-radius: 6px;
}

.p-room-info__title {
	margin-bottom: 8px;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: .06em;
}

.p-room-info__list {
	display: grid;
	gap: 8px;
}

.p-room-info__row {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 16px;
	align-items: center;
}

.p-room-info__row dt {
	font-size: 14px;
	line-height: 30px;
	text-align: center;
	background: var(--c-pink-pale);
	border-radius: 999px;
}

.p-room-info__row dd {
	font-family: var(--ff-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.p-room-info__note {
	margin-top: 20px;
	font-size: 14px;
}

.p-room-info__cloud {
	top: 120px;
	left: calc(40 / 1440 * 100%);
	width: 85px;
}

.p-room-info__flower {
	top: 560px;
	right: calc(45 / 1440 * 100%);
	width: 50px;
}

.p-room-info__patch {
	bottom: 70px;
	left: calc(50 / 1440 * 100%);
	width: 155px;
}

.p-room-info__hill {
	right: 0;
	bottom: 90px;
	width: 301px;
}

.p-room-info__tanuki {
	right: calc(80 / 1440 * 100%);
	bottom: 100px;
}

/* ===== スタッフより・ほかの教室 ===== */
.p-room-staff {
	position: relative;
	padding: 60px 0 0;
}

.p-room-staff__inner {
	display: grid;
	grid-template-columns: 622px 1fr;
	gap: 30px;
	align-items: start;
}

.p-room-staff__message {
	display: flex;
	flex-direction: column;
	justify-content: center;
	aspect-ratio: 622 / 478;
	padding: 60px 120px 40px 125px;
	background: url("../img/classroom/staff-cloud.webp") center / 100% 100% no-repeat;
}

.p-room-staff__title {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: .14em;
}

.p-room-staff__title img {
	width: 29px;
}

.p-room-staff__text {
	font-size: 20px;
	line-height: 2;
	letter-spacing: .14em;
}

.p-room-others {
	padding-top: 20px;
}

.p-room-others__list {
	display: grid;
	grid-template-columns: repeat(4, 120px);
	gap: 16px 9px;
	justify-content: center;
}

.p-room-others__link {
	display: block;
	border-radius: 50%; /* 影はロゴ画像に入っているので付けない */
	transition: transform .3s var(--ease);
}

.p-room-others__link img {
	width: 100%;
	border-radius: 50%;
}

.p-room-others__link[aria-current="page"] {
	outline: 4px solid var(--c-pink);
	outline-offset: 2px;
}

@media (hover: hover) {
	.p-room-others__link:hover {
		transform: translateY(-4px) rotate(-6deg);
	}
}

.p-room-staff__branch {
	top: 110px;
	left: calc(20 / 1440 * 100%);
	width: 69px;
}

.p-room-staff__flower {
	bottom: -20px;
	left: calc(160 / 1440 * 100%);
	width: 40px;
}

.p-room-staff__flower-pink {
	top: 100px;
	right: calc(60 / 1440 * 100%);
	width: 39px;
}

/* ===== Tablet ===== */
@media (max-width: 1199px) {
	.p-room-info__access,
	.p-room-staff__inner {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.p-room-info__map {
		width: 100%;
	}

	.p-room-staff__message {
		width: min(100%, 622px);
	}
}

/* ===== SP ===== */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-room-fv {
		--fv-pad: 70px; /* 教室ロゴの分（common.css の FV の高さ調整で使う） */
		padding-bottom: var(--fv-pad);
	}

	.p-room-fv__logo {
		top: auto;
		bottom: 0;
		width: 110px;
	}

	.p-room-fv__title {
		font-size: min(calc(6.9 * var(--u)), 30px);
		letter-spacing: .12em;
	}

	.p-room-daily {
		padding: 40px 0 110px;
		background-size: 260% auto, 100% calc(100% - 14vw), auto;
	}

	.p-room-daily__photos {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.p-room-daily__photos li:nth-child(n) {
		margin-top: 0;
	}

	.p-room-daily__photos li:nth-child(3) {
		grid-column: 1 / -1;
		width: 70%;
		margin: 0 auto;
	}

	.p-room-service {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-top: 36px;
	}

	.p-room-service__title {
		margin-top: 10px;
		font-size: 18px;
	}

	.p-room-service__text {
		font-size: 13px;
		line-height: 1.85;
	}

	.p-room-service__text br {
		display: none;
	}

	.p-room-service__insta {
		justify-items: center;
	}

	.p-room-service__insta-title {
		padding-top: 0;
	}

	.p-room-daily__sun {
		top: -10px;
		left: -20px;
		width: 110px;
	}

	.p-room-daily__hill {
		top: 40px;
		right: -40px;
		width: 160px;
	}

	.p-room-daily__ground,
	.p-room-daily__tree {
		transform-origin: right bottom; /* 縮めても右下の位置を保つ */
	}

	.p-room-daily__ground {
		bottom: 8px;
	}

	.p-room-daily__tree {
		right: 40px;
		bottom: 34px;
	}

	.p-room-daily__flower-blue,
	.p-room-daily__flower-pink,
	.p-room-daily__flower-orange,
	.p-room-daily__clover,
	.p-room-daily__branch,
	.p-room-daily__cloud {
		display: none;
	}

	.p-room-schedule {
		padding: 40px 0 170px;
	}

	.p-room-schedule__list {
		grid-template-columns: 1fr;
		gap: 10px;
		justify-items: center;
	}

	.p-room-schedule__blob,
	.p-room-schedule__blob--holiday {
		width: min(100%, 400px);
		padding: 13% 8% 8% 18%;
	}

	.p-room-schedule__blob--holiday .p-room-schedule__title {
		padding-left: 0;
	}

	.p-room-schedule__title {
		font-size: 17px;
	}

	.p-room-schedule__title img {
		height: 28px;
	}

	.p-room-schedule__rows {
		gap: 6px;
		font-size: 13px;
		letter-spacing: .06em;
	}

	.p-room-schedule__row,
	.p-room-schedule__blob--holiday .p-room-schedule__row {
		grid-template-columns: 70px 1fr;
	}

	.p-room-insta__lead {
		font-size: 14px;
	}

	.p-room-schedule__tanuki {
		bottom: 20px;
		left: 3%;
		--tanuki-scale: .62;
	}

	.p-room-schedule__flower-violet,
	.p-room-schedule__flower-orange,
	.p-room-schedule__hyacinth,
	.p-room-schedule__flower-blue,
	.p-room-schedule__branch,
	.p-room-schedule__nanohana {
		display: none;
	}

	.p-room-info {
		padding: 80px 0 150px;
		background-size: 260% 100%;
	}

	.p-room-info__photos,
	.p-room-info__photos--3 {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.p-room-info__access {
		gap: 28px;
		margin-top: 30px;
	}

	.p-room-info__map iframe {
		height: 240px;
	}

	.p-room-info__title {
		font-size: 22px;
	}

	.p-room-info__row {
		grid-template-columns: 74px 1fr;
		gap: 10px;
		align-items: start;
	}

	.p-room-info__row dt {
		font-size: 12px;
		line-height: 26px;
	}

	.p-room-info__row dd {
		font-size: 13px;
		line-height: 1.7;
	}

	.p-room-info__note {
		font-size: 12px;
	}

	.p-room-info__cloud,
	.p-room-info__flower,
	.p-room-info__patch {
		display: none;
	}

	.p-room-info__hill {
		bottom: 40px;
		width: 160px;
	}

	.p-room-info__tanuki {
		right: 4%;
		bottom: 20px;
		--tanuki-scale: .62;
	}

	.p-room-staff {
		padding-top: 30px;
	}

	.p-room-staff__message {
		padding: 14% 17% 10%;
	}

	.p-room-staff__title {
		font-size: 19px;
	}

	.p-room-staff__title img {
		width: 22px;
	}

	.p-room-staff__text {
		font-size: min(3.7vw, 16px);
		line-height: 1.8;
		letter-spacing: .06em;
	}

	.p-room-others__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 10px;
	}

	.p-room-staff__branch,
	.p-room-staff__flower-pink {
		display: none;
	}
}
