@charset "UTF-8";
/* 会社概要 */

/* ===== FV（写真と雲が1枚の画像。文字だけ重ねる） ===== */
.p-about-fv {
	position: relative;
}

.p-about-fv__photo img {
	width: 100%;
	aspect-ratio: 1441 / 784;
	object-fit: cover;
}

.p-about-fv__photo::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	aspect-ratio: 1440 / 218;
	content: "";
	background: url("../img/common/header-fade.webp") center top / 100% auto no-repeat;
}

.p-about-fv__bubble {
	position: absolute;
	top: calc(430 / 784 * 100%);
	left: calc(370 / 1441 * 100%);
	z-index: 2;
	text-align: center;
	transform: translateX(-50%);
}

.p-about-fv__title {
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .22em;
}

.p-about-fv__sub {
	margin-top: 8px;
	font-size: clamp(13px, 1.2vw, 17px);
	line-height: 1.9;
	letter-spacing: .14em;
}

.p-about-fv__tanuki {
	top: calc(570 / 784 * 100%);
	left: calc(570 / 1441 * 100%);
}

/* ===== 5つの支援領域 ===== */
.p-about-area {
	position: relative;
	padding: 70px 0 180px;
}

.p-about-area .l-container {
	position: relative;
	z-index: 1;
}

.p-about-area__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.p-about-area__list li {
	padding: 6px 14px;
	font-size: 18px;
	letter-spacing: .12em;
	background: #f0e9df;
	border-radius: 999px;
}

/* 各教室ごとの支援プログラム（PDF）：教室ロゴ付きのカードを3列で並べる */
.p-about-program {
	width: min(100%, 980px);
	margin: 56px auto 0;
}

.p-about-program__title {
	margin-bottom: 24px;
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 500;
	text-align: center;
	letter-spacing: .14em;
}

.p-about-program__title span {
	font-size: .8em;
}

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

.p-about-program__card {
	display: flex;
	gap: 16px;
	align-items: center;
	height: 100%;
	padding: 18px 20px;
	color: inherit;
	text-decoration: none;
	background: var(--c-white);
	border: 2px solid #f0e9df;
	border-radius: 24px;
	transition: border-color .3s, transform .3s;
}

.p-about-program__logo {
	flex-shrink: 0;
	width: 72px;
}

.p-about-program__body {
	display: grid;
	gap: 4px;
}

.p-about-program__name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .06em;
}

.p-about-program__service {
	font-family: var(--ff-sans);
	font-size: 12px;
	line-height: 1.5;
	color: var(--c-text-sub);
}

.p-about-program__link {
	display: flex;
	gap: 6px;
	align-items: center;
	margin-top: 4px;
	font-size: 13px;
	color: var(--c-pink-hover);
	letter-spacing: .08em;
}

.p-about-program__card.is-disabled .p-about-program__link {
	color: var(--c-text-sub);
}

@media (hover: hover) {
	a.p-about-program__card:hover {
		border-color: var(--c-pink-light);
		transform: translateY(-3px);
	}
}

.p-about-area__rose {
	top: 130px;
	left: calc(200 / 1440 * 100%);
	width: 39px;
}

.p-about-area__leaf {
	top: 150px;
	right: calc(235 / 1440 * 100%);
	width: 30px;
}

.p-about-area__flower {
	bottom: 75px;
	left: calc(80 / 1440 * 100%);
	z-index: 1;
	width: 58px;
}

.p-about-area__hill-left {
	bottom: 30px;
	left: 0;
	width: calc(362 / 1440 * 100%);
}

.p-about-area__hill-right {
	right: 0;
	bottom: 0;
	z-index: 2;
	width: calc(168 / 1440 * 100%);
}

.p-about-area__tanuki {
	right: calc(80 / 1440 * 100%);
	bottom: 30px;
	z-index: 3;
}

/* ===== 事業所一覧 ===== */
.p-about-offices {
	position: relative;
	margin-top: -60px;
	padding: 100px 0 160px;
	background: url("../img/about/offices-bg.webp") center top / 100% 100% no-repeat;
}

.p-about-offices__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 13px;
}

.p-about-offices__map {
	grid-column: span 2;
	position: relative;
	aspect-ratio: 633 / 254;
}

.p-about-offices__map img,
.p-about-offices__bg {
	position: absolute;
	top: calc(-15.5 / 254 * 100%);
	left: calc(-15.5 / 310 * 100%);
	width: calc(341 / 310 * 100%);
	max-width: none;
	height: calc(284 / 254 * 100%);
}

.p-about-offices__map img {
	left: calc(-15.5 / 633 * 100%);
	width: calc(664 / 633 * 100%);
}

.p-about-offices__card {
	position: relative;
	display: block;
	aspect-ratio: 310 / 254;
	transition: transform .3s var(--ease);
}

.p-about-offices__body {
	position: absolute;
	right: 14px;
	bottom: 12px;
	left: 20px;
	display: grid;
	gap: 6px;
	justify-items: start;
}

.p-about-offices__body .c-tags {
	flex-direction: column;
	align-items: flex-start;
}

.p-about-offices__address {
	font-family: var(--ff-sans);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .04em;
}

.p-about-offices__item:nth-child(3) .p-about-offices__address,
.p-about-offices__item:nth-child(4) .p-about-offices__address {
	color: var(--c-white);
}

@media (hover: hover) {
	.p-about-offices__card:hover {
		transform: translateY(-4px);
	}
}

/* --- 会社概要・代表メッセージ（いびつな丸の上に載せる） --- */
.p-about-company {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-top: 64px;
}

.p-about-company__box {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	aspect-ratio: 664 / 658;
	padding: 8% 11% 9%;
	background: url("../img/about/company-blob.webp") center / 100% 100% no-repeat;
}

.p-about-company__box--message {
	aspect-ratio: 662 / 647;
	padding: 10% 11% 8% 15%;
	background-image: url("../img/about/message-blob.webp");
}

.p-about-company__title {
	margin-bottom: 22px;
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 500;
	text-align: center;
	letter-spacing: .14em;
}

.p-about-company__list {
	display: grid;
	gap: 10px;
}

.p-about-company__row {
	display: grid;
	grid-template-columns: 122px 1fr;
	gap: 24px;
	align-items: start;
}

.p-about-company__row dt {
	padding: 1px 0;
	font-size: 14px;
	text-align: center;
	white-space: nowrap;
	background: var(--c-pink-pale);
	border-radius: 999px;
}

.p-about-company__row dd {
	font-family: var(--ff-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 2;
}

.p-about-company__message {
	display: grid;
	gap: 1.6em;
	font-size: 14px;
	line-height: 1.65;
}

.p-about-company__flower {
	top: 50px;
	left: 30px;
	width: 22px;
}

.p-about-company__leaf {
	right: 20px;
	bottom: 10px;
	width: 23px;
}

.p-about-offices__tanuki {
	bottom: -40px;
	left: calc(80 / 1440 * 100%);
}

/* ===== 保護者の声バナー ===== */
.p-about-voice {
	position: relative;
	padding: 80px 0 0;
}

.p-about-voice__banner {
	position: relative;
	width: min(calc(100% - 40px), 1126px);
	margin-inline: auto;
}

.p-about-voice__bg {
	width: 100%;
}

.p-about-voice__body {
	position: absolute;
	top: 22%;
	left: 48.8%;
	display: grid;
	gap: 14px;
	justify-items: start;
	color: var(--c-white);
	text-shadow: 0 1px 6px rgb(75 58 45 / .25);
}

.p-about-voice__title {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .14em;
}

.p-about-voice__title img {
	width: 32px;
}

.p-about-voice__text {
	padding-left: 44px;
	font-size: 14px;
	line-height: 1.6;
}

.p-about-voice__body .c-btn {
	margin: 18px 0 0 32px;
	text-shadow: none;
}

.p-about-voice__sun {
	top: 70px;
	right: calc(120 / 1440 * 100%);
	width: 122px;
}

.p-about-voice__cloud {
	top: 180px;
	left: calc(125 / 1440 * 100%);
	width: 70px;
}

.p-about-voice__flower {
	top: 480px;
	left: calc(170 / 1440 * 100%);
	width: 19px;
}

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

	.p-about-company__box {
		width: min(100%, 664px);
	}
}

/* ===== SP ===== */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	/*
	 * SPカンプ（fv-about-spイメージ）：上にラベンダーの雲（ヘッダーのロゴごと包む）、
	 * その下にPC用の写真を女の子の顔が中央に来るよう拡大して敷く。
	 * 値は 375px 基準の vw を --u の倍数で書く。--u はふだん 1vw で、画面の高さが足りない端末では
	 * FV全体（162.7u）が最初の画面の高さに収まるよう縮める（横の余白が出ないよう 0.8vw を下限にする）。
	 */
	.p-about-fv {
		--u: max(min(1vw, 100vh / 162.7), .8vw);
		height: calc(162.7 * var(--u)); /* 610px @375（写真下の波まで） */
		overflow: hidden;
	}

	@supports (height: 100svh) {
		.p-about-fv {
			--u: max(min(1vw, 100svh / 162.7), .8vw); /* アドレスバーが出ている状態の高さに合わせる */
		}
	}

	/* 雲（820×730、まわりに透明の余白あり）を、雲の部分がカンプの 幅372px・高さ306px（@375）に収まるよう置く */
	.p-about-fv::before {
		position: absolute;
		top: calc(-1.9 * var(--u));
		left: calc(50% - 56.3 * var(--u)); /* 画面の中央に合わせる */
		z-index: 1;
		width: calc(109.2 * var(--u));
		height: calc(87.7 * var(--u));
		content: "";
		background: url("../img/about/fv-cloud-sp.webp") center / 100% 100% no-repeat;
	}

	.p-about-fv__photo img {
		position: absolute;
		bottom: 0;
		left: calc(50% - 148.9 * var(--u)); /* 写真の青い花が左端に少しのぞく位置（中央基準） */
		width: calc(214.1 * var(--u)); /* PC画像 1441px を 0.557倍 */
		max-width: none;
		height: auto;
		aspect-ratio: 1441 / 784;
	}

	.p-about-fv__photo::before {
		display: none;
	}

	.p-about-fv__bubble {
		top: calc(35.5 * var(--u)); /* 133px @375 */
		left: 50%;
		width: max-content;
	}

	.p-about-fv__title {
		font-size: min(calc(6.7 * var(--u)), 30px); /* 25px @375 */
	}

	.p-about-fv__sub {
		margin-top: calc(4.3 * var(--u));
		font-size: max(min(calc(3.4 * var(--u)), 15px), 11px);
		line-height: 1.75;
	}

	.p-about-fv__tanuki {
		top: auto;
		bottom: calc(10.7 * var(--u)); /* 40px @375 */
		left: 4.8vw;
		transform-origin: left bottom;
		--tanuki-scale: .68;
		--say-size: 13px;
	}

	/* 「てんし？」はカンプどおり右上がりに傾ける（ぽんっと弾む transform とは別に rotate で指定） */
	.p-about-fv__tanuki .c-tanuki__say {
		rotate: -24deg;
		translate: 18% -60%; /* たぬきの頭にかからないよう、少し上へ離す */
	}

	.p-about-area {
		padding: 50px 0 170px;
	}

	.p-about-area__list {
		gap: 8px;
	}

	.p-about-area__list li {
		font-size: 14px;
	}

	.p-about-program {
		margin-top: 40px;
	}

	.p-about-program__title {
		margin-bottom: 18px;
		font-size: 16px;
	}

	.p-about-program__list {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.p-about-program__card {
		gap: 14px;
		padding: 12px 18px;
		border-radius: 20px;
	}

	.p-about-program__logo {
		width: 60px;
	}

	.p-about-program__name {
		font-size: 15px;
	}

	.p-about-area__rose,
	.p-about-area__leaf {
		display: none;
	}

	.p-about-area__hill-left {
		width: 60%;
	}

	.p-about-area__hill-right {
		width: 34%;
	}

	.p-about-area__tanuki {
		right: 2%;
		bottom: 10px;
		--tanuki-scale: .62;
	}

	.p-about-offices {
		padding: 70px 0 150px;
		background-size: 300% 100%;
	}

	.p-about-offices__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.p-about-offices__map {
		order: 99;
	}

	.p-about-offices__body {
		right: 8px;
		bottom: 8px;
		left: 10px;
		gap: 3px;
	}

	.p-about-offices__body .c-tags {
		gap: 3px;
	}

	.p-about-offices__body .c-tags__item {
		padding: 0 5px;
		font-size: 10px;
	}

	.p-about-offices__address {
		font-size: 10px;
	}

	.p-about-company {
		gap: 20px;
		margin-top: 40px;
	}

	.p-about-company__box,
	.p-about-company__box--message {
		aspect-ratio: auto;
		padding: 56px 26px 60px;
		text-align: center; /* SPは文言をすべて中央に寄せる */
	}

	.p-about-company__box--message {
		min-height: 150vw; /* SPは縦長の枠にして、メッセージをゆったり見せる */
		padding: 90px 40px 100px;
	}

	.p-about-company__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.p-about-company__row dt {
		justify-self: center;
		padding: 0 14px;
		font-size: 12px;
	}

	.p-about-company__row dd {
		font-size: 14px;
		line-height: 1.7;
	}

	.p-about-company__message {
		gap: 1.8em;
		font-size: 13px;
		line-height: 2;
	}

	.p-about-offices__tanuki {
		bottom: 10px;
		left: 2%;
		--tanuki-scale: .62;
	}

	.p-about-voice {
		padding: 50px 0 0;
	}

	.p-about-voice__banner {
		width: 100%; /* SPは横いっぱい */
		overflow: hidden;
		background: #f7f1d8;
	}

	.p-about-voice__bg {
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: 20% center;
	}

	.p-about-voice__body {
		position: static;
		justify-items: center;
		padding: 24px 20px 32px;
		color: var(--c-text);
		text-shadow: none;
	}

	.p-about-voice__title {
		font-size: 19px;
		line-height: 1.5;
	}

	.p-about-voice__text {
		padding: 0;
		font-size: 13px;
		line-height: 1.8;
	}

	.p-about-voice__text br {
		display: none;
	}

	.p-about-voice__body .c-btn {
		margin: 6px 0 0;
	}

	.p-about-voice__sun {
		top: 10px;
		right: 0;
		width: 70px;
	}

	.p-about-voice__cloud,
	.p-about-voice__flower {
		display: none;
	}
}
