/* style.css */
@charset "utf-8";

/* ========================
   Site Base
======================== */

:root {
	--base: #eaf3ff;
	/* --main: #0573c0; */
	--main: #2d99e7;
	--main-dark: #005a9b;
	--main-light: #a3d6fa;
	--sub: #afe6a5;
	--sub-dark: #81ba77;
	--sub-light: #afe6a5;
	--accent: #f27697;
	--accent: #ff90ae;

	--text: #232323;
	--alert: #c62828;
	--text-muted: #666;
	--border: #d5d5d5;
	--link: #2d99e7;
	--link-hover: #005a9b;

	--white: #fff;
	--black: #232323;
	--glay: #5f5f5f;
	--silver: #d5d5d5;
	--silver-light: #f5f5f5;

	/* 50px方眼 + 細かい横ライン */
	--grid-bg: linear-gradient(0deg, transparent 49px, #ccc 50px), /* 横線 */ linear-gradient(0deg, transparent 4px, var(--white) 4px, var(--white) 6px), /* 細い横ライン */ linear-gradient(90deg, transparent 49px, #ccc 50px); /* 縦線 */

	--grid-size: 50px 50px, 6px 6px, 50px 50px;

	--en-font: 'Fjalla One', sans-serif;
	--jp-font: 'Special Gothic Condensed One', sans-serif;
	--awesome: 'Font Awesome 6 Free';
	--icons: 'Material Symbols Outlined';

	--heading-small: 1.1em;
}

body,
html {
	width: 100%;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans JP', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', sans-serif;
	font-weight: 400;
	font-size: clamp(1.4rem, calc((100vw - 600px) * 0.003 + 1.4rem), 1.6rem);
	color: var(--black);

	font-optical-sizing: auto;
	line-height: 1.7;
	overflow-x: hidden;
	position: relative;
	background-color: var(--white);
	background-image: var(--grid-bg);
	background-size: var(--grid-size);
}
:where(a) {
	color: inherit;
	text-decoration: underline;
}
:where(a):hover {
	text-decoration: none;
}
:where(strong) {
	font-weight: 700;
}

.wrapper {
	margin-top: 70px;
}
@media (min-width: 768px) {
	.wrapper {
		margin-top: 100px;
	}
}

/* ========================
   Common Components
======================== */
.btn {
	color: var(--main);
	background-color: var(--base);
	border: 1px solid var(--main);
}
.btn:hover {
	color: var(--base);
	background-color: var(--main);
}
.btn--primary {
	color: var(--white);
	background: var(--main);
	border: 1px solid var(--main);
}
.btn--primary:hover {
	color: var(--main);
	background: var(--white);
}
.btn--reverse {
	color: var(--white);
	background: var(--sub);
	border: 1px solid var(--sub);
}
.btn--reverse:hover {
	color: var(--sub);
	background: var(--white);
}
.btn--disabled {
	color: #888;
	background: #fff;
	border-color: #ccc;
}

/* ========================
   style costom
======================== */
.gmap {
	border-radius: 80px;
}

/* ----------------コンテンツヘッダー設定---------------- */
.page-hero {
	background-color: var(--main);
	width: 100%;
	height: 125px;
	margin-top: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: clip;
	background-image: url(./img/common/DSC01331.webp);
	background-size: cover;
	background-position: center;
}
.page-hero::before {
	content: '';
	background: var(--main-dark);
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.3;
}
.page-hero::after {
	content: none;
	display: block;
	background: white;
	width: 100%;
	height: 3vw;
	position: absolute;
	bottom: 0;
	left: 0;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.cate-about .page-hero {
	background-image: url(./img/common/DSC09114.webp);
}
.cate-education .page-hero {
	background-image: url(./img/common/DSC09263.jpg);
}
.cate-career .page-hero {
	background-image: url(./img/common/DSC01331.webp);
}
.cate-school-life .page-hero {
	background-image: url(./img/common/nav-school-life.webp);
}
.cate-future-students .page-hero {
	background-image: url(./img/common/DSC01331.webp);
}
.cate-students-parents .page-hero {
	background-image: url(./img/common/DSC01331.webp);
}
.cate-alumni .page-hero {
	background-image: url(./img/page-hero/page-hero-26@2560w.webp);
}
.page-message .page-hero {
	background-image: url(./img/page-hero/page-hero-03@2560w.webp);
}
.page-information .page-hero {
	background-image: url(./img/page-hero/page-hero-22@2560w.webp);
}
.page-school-policy .page-hero {
	background-image: url(./img/page-hero/page-hero-23@2560w.webp);
}
.page-documents .page-hero {
	background-image: url(./img/page-hero/page-hero-05@2560w.webp);
}
.page-education .page-hero {
	background-image: url(./img/page-hero/page-hero-25@2560w.webp);
	background-position: top 40% center;
}
.page-dreamcome .page-hero {
	background-image: url(./img/page-hero/page-hero-01@2560w.webp);
}
.page-career-guidance .page-hero {
	background-image: url(./img/page-hero/page-hero-06@2560w.webp);
}
.page-career-results .page-hero {
	background-image: url(./img/page-hero/page-hero-12@2560w.webp);
}
.page-cosmos .page-hero {
	background-image: url(./img/page-hero/page-hero-13@2560w.webp);
}
.page-cosmos-career-results .page-hero {
	background-image: url(./img/page-hero/page-hero-14@2560w.webp);
}
.page-cosmos-career-results .page-hero {
	background-image: url(./img/page-hero/page-hero-29@2560w.webp);
}
.page-cosmos-initiatives .page-hero {
	background-image: url(./img/page-hero/page-hero-28@2560w.webp);
}
.page-uniform .page-hero {
	background-image: url(./img/page-hero/page-hero-15@2560w.webp);
}
.page-events .page-hero {
	background-image: url(./img/page-hero/page-hero-17@2560w.webp);
	background-position: top 40% center;
}
.page-clubs .page-hero {
	background-image: url(./img/page-hero/page-hero-11@2560w.webp);
	background-position: top 40% center;
}
.page-daily-life .page-hero {
	background-image: url(./img/page-hero/page-hero-24@2560w.webp);
	background-position: top 80% center;
}
.page-open-school .page-hero {
	background-image: url(./img/page-hero/page-hero-03@2560w.webp);
}
.page-admissions .page-hero {
	background-image: url(./img/page-hero/page-hero-04@2560w.webp);
}
.page-alumni .page-hero {
	background-image: url(./img/page-hero/page-hero-26@2560w.webp);
}
.page-students-parents .page-hero {
	background-image: url(./img/page-hero/page-hero-10@2560w.webp);
}
.page-emergency .page-hero {
	background-image: url(./img/page-hero/page-hero-27@2560w.webp);
}
.page-hoken .page-hero {
	background-image: url(./img/page-hero/page-hero-09@2560w.webp);
}
.page-access .page-hero {
	background-image: url(./img/page-hero/page-hero-21@2560w.webp);
}

.page-hero__title {
	font-size: clamp(1.6rem, calc((100vw - 768px) * 0.014 + 1.6rem), 3.2rem);
	text-align: center;
	position: relative;
	color: var(--sub);
	font-family: var(--jp-font);
}
.page-hero__title::before {
	content: attr(data-en) '';
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: 1.5em;
	line-height: 1;
	display: block;
}
.page-hero__title::after {
	content: '';
	display: block;
	margin-inline: auto;
	background: var(--sub);
	border-radius: 0;
	width: 100px;
	height: 8px;
	margin-top: 2px;
}
@media (min-width: 768px) {
	.page-hero {
		width: 100%;
		height: 380px;
		margin-top: 0;
	}
}
/* ----------------見出し設定---------------- */

.heading-main {
	position: relative;
	font-weight: 600;
	font-size: var(--heading-small);
	color: inherit;
	line-height: 1;
	text-align: center;
	display: grid;
	grid-template-columns: auto;
}

.heading-main::before {
	content: attr(data-en) '';
	font-weight: 100;
	font-family: var(--en-font);
	text-transform: uppercase;
	font-size: clamp(7rem, calc((100vw - 420px) * 0.04412 + 7rem), 10rem);
	letter-spacing: 0;
	line-height: 1;
	display: block;
	margin-bottom: 24px;
	color: inherit;
	order: -1;
}
.heading-main::after {
	content: '';
	display: block;
	margin-inline: auto;
	background: var(--main);
	border-radius: 0;
	width: 100px;
	height: 8px;
	margin-top: 32px;
	order: 1;
}
.heading-main--compact {
}
.heading-main--left {
}

.heading-block {
	position: relative;
	font-weight: 500;
	font-size: clamp(2.2rem, calc((100vw - 420px) * 0.0027 + 2.2rem), 2.4rem);
	color: var(--text);
	line-height: 1;
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 1em;
	padding-left: 24px;
	padding-block: 8px;
}
.heading-block::before {
	content: attr(data-en) '';
	font-weight: normal;
	font-family: var(--en-font);
	text-transform: uppercase;
	font-size: clamp(3.8rem, calc((100vw - 420px) * 0.04324 + 3.8rem), 7rem);
	line-height: 1;
	display: block;
}
.heading-block::after {
	content: '';
	display: block;
	background: var(--main);
	width: 8px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.heading-block--fill {
}
.heading-block--fill {
	font-weight: 500;
	font-size: clamp(1.9rem, calc((100vw - 390px) * 0.013 + 1.9rem), 2.4rem);
	position: relative;
	background: var(--main);
	border-bottom: 2px solid var(--sub);
	color: var(--white);
	padding: 0.3em 1em;
}

.heading-content {
	font-weight: 500;
	font-size: clamp(1.9rem, calc((100vw - 390px) * 0.013 + 1.9rem), 2.4rem);
	position: relative;
	color: var(--text);
	padding: 0 1em;
	padding-left: clamp(14px, calc((100vw - 768px) * 0.087 + 14px), 24px);
}
.heading-content::before {
	content: '';
	display: block;
	width: 5px;
	height: 100%;
	background: linear-gradient(180deg, var(--main) 50%, var(--silver) 50%);
	position: absolute;
	top: 0;
	left: 0;
}

.heading-content--line {
	font-weight: 500;
	font-size: clamp(1.9rem, calc((100vw - 390px) * 0.013 + 1.9rem), 2.4rem);
	position: relative;
	color: inherit;
	padding-block-end: 1em;
}
.heading-content--line::before {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--main) 10%, var(--silver) 10%);
	position: absolute;
	bottom: 0;
	left: 0;
}
.heading-small {
	font-size: var(--heading-small);
	font-weight: 600;
	color: var(--text);
}

/* -----英語表記16文字まで----- */
.heading-banzai {
	position: relative;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 0.5em;
}
.heading-banzai span {
	display: flex;
	flex-direction: column;
	font-weight: 500;
	font-size: 1em;
	gap: 0.5em;
}
.heading-banzai span::before {
	display: block;
	content: attr(data-en);
	font-family: var(--en-font);
	text-transform: uppercase;
	line-height: 1;
	font-size: 2.8em;
}
.heading-banzai::before,
.heading-banzai::after {
	content: '';
	display: block;
	width: 3px;
	height: 3.5em;
	background: var(--text);
	position: relative;
	transform-origin: bottom center;
}
.heading-banzai::before {
	transform: rotate(-24deg);
}
.heading-banzai::after {
	transform: rotate(24deg);
}

/* --------------------------------------------------- */
/* 学校案内---------------------------------------- */
/* --------------------------------------------------- */
.motto {
	font-size: 5rem;
	font-family: var(--jp-font);
}
.motto span {
	display: block;
	text-align: center;
}
@media (min-width: 1024px) {
	.motto {
		font-size: 8rem;
	}
}
/* 沿革テーブル */
.history-line {
	display: flex;
	flex-direction: column;
}

.history-line dt {
	color: var(--main);
	font-weight: 600;
	font-size: 1.05em;
}
.history-line dt span {
	font-size: 0.8em;
}
.history-line dt::before {
	content: '-';
}
.history-line dd {
	font-weight: 400;
}
.history-line dd + dt {
	margin-top: 0.3em;
}

.flag {
	position: absolute;
	width: 40%;
	max-width: 400px;
	right: 0;
	top: 0;
	margin-right: calc(50% - 50vw);
	opacity: 0.6;
	z-index: -1;
	transform: translateY(-35%);
}
.emblem {
	display: grid;
	grid-template-columns: 1fr;
	margin-inline: auto;
	gap: 80px;
	width: 72%;
}
.emblem-item {
	display: grid;
	grid-template-rows: 2fr 1fr;
	align-items: center;
	gap: 20px;
}
.emblem-item figcaption {
	font-size: 0.9em;
}
.symbol__img {
	display: block;
	width: 70%;
	margin-inline: auto;
}
@media (min-width: 768px) {
	.emblem {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 120px;
	}
	.symbol {
		padding-inline: 100px;
	}
	.symbol__img {
		display: block;
		width: 100%;
		margin-inline: auto;
	}
}

.song__wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.song__lyrics {
	min-width: 0;
	flex: 1;
	font-style: italic;
	font-size: 1.1em;
	text-align: left;
	line-height: 1.7;
}

@media (min-width: 768px) {
	.song__wrapper {
		display: flex;
		flex-direction: row;
		gap: 40px;
		justify-content: center;
		width: 70%;
		margin-inline: auto;
		align-items: flex-end;
	}
}

/* 校長挨拶------------------------------------------- */
.principal-img {
	width: 50%;
}
@media (min-width: 768px) {
	.principal-img {
		width: 100%;
	}
}

/* スクール・ポリシー---------------------------- */
.policy-list {
	color: var(--main);
	font-size: 1em;
	font-weight: 600;
	text-indent: -1em;
	padding-left: 1em;
}
.policy-list li + li {
	margin-top: 1em;
}

/* アクセス------------------------------ */
.access-person-01 {
	position: absolute;
	bottom: 0;
	left: 100%;
	width: 20%;
	height: auto;
	transform: translate(-50%, 10%);
}

/* カリキュラム------------------------------ */

.time-table {
	width: auto;
}
.time-table td {
	width: calc(100% / 5);
}
.time-table th,
.time-table td {
	text-align: center;
	vertical-align: middle;
	padding: 0.25em;
	border: 1px solid var(--border);
	font-size: 1.1rem;
}
:root {
	--keiretu: var(--main);
	--sentaku: var(--main-light);
}
.text--keiretu {
	color: var(--keiretu);
}
.text--sentaku {
	color: var(--sentaku);
}
.time-table__keiretu,
.bg--keiretu {
	background: var(--keiretu);
	color: #fff;
}
.time-table__sentaku,
.bg--sentaku {
	background: var(--sentaku);
	color: #fff;
}

.sentaku__list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}
.sentaku__list > li {
	flex: 1 1 50%;
	font-size: var(--small);
	padding-left: 1em;
	font-size: 1.3rem;
}
.sentaku__list > li::before {
	content: '■';
	margin-right: 0.25em;
}
@media screen and (min-width: 600px) {
	.sentaku__list > li {
		flex: 0 1 33.333%;
	}
}
@media screen and (min-width: 1025px) {
	.sentaku__list > li {
		flex: 0 1 auto;
	}
}
.sentaku__group dt,
.sentaku__group dd {
	display: inline-block;
	margin: 0;
	font-size: 0.9em;
}
.sentaku__group dt {
	color: var(--main);
}
.sentaku__group dt::before {
	content: 'arrow_right';
	font-family: var(--icons);
	display: inline-block;
	vertical-align: middle;
}
.sentaku__group dd::before {
	content: '/';
}

.curriculum_scroll {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}
@media (min-width: 520px) {
	.curriculum_scroll {
		display: none;
	}
}

.curriculum-table {
	font-size: 0.8em;
	margin-right: 3px;
	margin-bottom: 3px;
	table-layout: fixed;
	box-sizing: border-box;
	white-space: nowrap;
}
.curriculum-table tr {
	border-bottom: 21x solid var(--border);
}
.curriculum-table th {
	background: var(--main);
	border: 1px solid var(--border);
	color: var(--base);
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
}
.curriculum-table thead th:nth-child(even) {
	background: var(--main-light);
}
.curriculum-table thead th:first-child {
	background: transparent;
}
.curriculum-table td {
	border: 1px solid var(--border);
	text-align: center;
	vertical-align: middle;
	padding: 1em 1em;
	line-height: 1.5;
	background: var(--base);
}
.curriculum-table thead th {
	padding: 1em 0.5em;
}
.curriculum-table tbody td {
	padding: 2em 0.5em;
	color: #333;
}
.curriculum-table .curriculum-table__first-cell {
	background: var(--main-light);
	color: white;
}
.curriculum-table .curriculum-table__second-cell {
	background: var(--main);
	color: white;
}
.curriculum-table .curriculum-table__third-cell {
	background: var(--main-dark);
	color: white;
}
.curriculum-table .curriculum-table__hissu {
	background: #c5e7ff;
	color: #333;
}
.curriculum-table .curriculum-table__bunkei {
	background: #ff8888;
	color: #333;
}
.curriculum-table .curriculum-table__rikei {
	background: #ffff89;
	color: #333;
}
.curriculum-table .curriculum-table__kyoushi {
	background: #8cc4ff;
	color: #333;
}
.curriculum-table .curriculum-table__kango {
	background: #ffcbd3;
	color: #333;
}
.curriculum-table_cap {
	padding: 10px 16px;
	margin-top: 6px;
	background: #fff;
}
.curriculum-table_cap h3 {
	font-size: 1em;
	font-weight: 500;
	padding: 6px 0 2px;
	margin-bottom: 3px;
	border-bottom: 1px solid silver;
}
.curriculum-table_cap h3::before {
	content: '●';
	color: #5ddbbc;
	margin-right: 0.3em;
}
.curriculum-table_cap p {
	font-size: 0.8em;
	line-height: 1.5;
}
@media (min-width: 520px) {
	.curriculum-table {
		width: 100%;
		white-space: normal;
	}
	.curriculum-table thead th {
		padding: 0.5em 0;
	}
	.curriculum-table tbody th,
	.curriculum-table tbody td {
		padding: 1.5em 0;
	}
}

/* 新カリキュラム */
.new-streams {
}
.new-streams > section {
	background-color: var(--silver);
	border-radius: 24px;
	padding: 32px 24px;
	background: var(--bg-color);
}

.new-streams__heading {
	background-color: var(--white);
	font-size: 1.9rem;
	padding: 5px 16px;
	width: fit-content;
	margin-inline: auto;
	font-weight: 500;
	display: block;
}
.new-streams__sub-heading {
	width: 100%;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}
.new-streams__sub-heading > span {
	/* background-color: #c9eac3;
	background-color: #c3dfea;
	background-color: #f7f0cd; */

	font-size: 1.4rem;
	width: auto;
	font-weight: 500;
	display: inline-block;
	white-space: nowrap;
}
.new-streams__sub-heading::before,
.new-streams__sub-heading::after {
	content: '';
	display: block;
	flex: 1;
	height: 1px;
	background: var(--black);
}

.manzokudo {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 8px;
	background: var(--main);
	border-radius: 500px;
	aspect-ratio: 1;
	width: min(15%, 180px);
	height: auto;
	position: absolute;
	top: 0;
	right: 0;
	color: white;
	transform: rotate(10deg);
	margin: 0;
}
.manzokudo__ttl {
	font-size: 12px;
	line-height: 1;
}
.manzokudo__number {
}
.manzokudo__num {
	font-size: 60px;
	color: var(--white);
	line-height: 1;
}
.manzokudo__per {
	font-size: 30px;
}

/* 進路指導方針 */
.guidans-grid {
	gap: 40px 8px;
}
.guidans-grid .card__ttl {
	background: var(--main);
	padding: 0.25em 0.75em;
	color: var(--white);
	font-weight: 400;
}
/* 円グラフ */
.chart__data {
	width: 100%;
	position: relative;
}
.chart-center {
	position: absolute;
	top: 47%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--en-font);
	color: var(--main);
	text-align: center;
	line-height: 1;
}
.chart-center__ttl {
	display: block;
	margin-bottom: 6px;
}
.chart-center .big {
	font-size: 48px;
}
.chart-center .small {
	font-size: 22px;
}
.chart {
	width: 100%;
	height: auto; /* 高さは自動調整 */
	aspect-ratio: 1; /* 幅と高さの比率を指定 */
}
.chart__desc {
	font-size: clamp(1.7rem, calc((100vw - 768px) * 0.003 + 1.7rem), 2.1rem);
	line-height: 2.3;
}

/* 進路実績一覧 */
.shinro-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.shinro-list li {
	display: inline-block;
	font-weight: 400;
	padding: 0.4em;
	border-bottom: 1px solid var(--silver);
}
.shinro-list li::before {
	content: '・';
	margin-right: 0.3em;
}
@media (min-width: 768px) {
	.shinro-list {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}
.shinro-list > li span:nth-child(1)::before {
}
.shinro-list > li span:nth-child(2) {
	/* margin-left: 0.5em; */
	opacity: 0.8; /* トーン抑えて視覚的階層をつけても◎ */
	font-size: 0.95em; /* 少しだけ小さくして“注釈感”出すのもあり */
}
/* 進路実績一覧数字左バージョン */
.results-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0.5em 30px;
}

/* 各大学1行の構造 */
.results-list dl {
	display: grid;
	grid-template-columns: 1fr auto;
	border-bottom: 1px solid var(--silver);
}

.results-list dt,
.results-list dd {
	margin: 0;
	font-weight: 400;
	padding-block-end: 0.3em;
}

.results-list dd {
	text-align: right;
	white-space: nowrap;
}

.results-list dd:empty::before {
	content: '—';
}

/* ---------------------------------------- */
/* 制服紹介------------------------------ */
/* ---------------------------------------- */
.uniform-main {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	gap: 40px;
}
.uniform-summer,
.uniform-winter {
	position: relative;
}
.uniform-summer img,
.uniform-winter img {
	position: relative;
	z-index: 1;
	height: auto;
	width: 80%;
	display: block;
}
.uniform-summer img {
	margin-left: auto;
}
.uniform-winter img {
	margin-right: auto;
}
.uniform-flow-text--winter,
.uniform-flow-text--summer {
	position: absolute;
	font-size: 200px;
	width: max-content;
	text-transform: uppercase;
	font-family: var(--en-font);
	line-height: 1;
	padding: 20px;
}
.uniform-flow-text--winter {
	color: var(--main);
	background-color: var(--sub);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.uniform-flow-text--summer {
	color: var(--sub);
	background-color: var(--main);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
	.uniform-main {
		flex-direction: row;
		gap: 5%;
	}
	.uniform-summer img,
	.uniform-winter img {
		position: relative;
		z-index: 1;
		display: block;
		width: 90%;
		height: auto;
		max-height: 1000px;
	}
	.uniform-summer img {
		margin-left: 0;
		margin-right: auto;
	}
	.uniform-winter img {
		margin-right: 0;
		margin-left: auto;
	}
	.uniform-flow-text--winter {
		color: var(--main);
		background-color: var(--sub);
		top: 10%;
		right: auto;
		bottom: auto;
		left: 0;
		transform: none;
	}
	.uniform-flow-text--summer {
		color: var(--sub);
		background-color: var(--main);
		top: auto;
		right: 0;
		bottom: 30%;
		left: auto;
		transform: none;
	}
}

.uniform-detail__wrapper {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.uniform-detail--1,
.uniform-detail--2 {
	width: 100%;
	min-width: 0;
}
.uniform-detail__wrapper {
}
.uniform-detail__item {
}
.uniform-detail__item img {
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 900px;
}
.uniform-options {
	display: block;
}
@media (min-width: 768px) {
	.uniform-detail__wrapper {
		display: block;
		position: relative;
	}
	.uniform-detail--1,
	.uniform-detail--2 {
		width: 55%;
		min-width: 0;
		margin-inline: 0;
	}
	.uniform-detail--2 {
		position: absolute;
		top: 0;
		right: 0;
		transform: translateY(25%);
	}
}
.uniform-options-vest {
	width: 70%;
	margin-inline: auto;
}
.uniform-options-etc {
	display: block;
	position: relative;
	padding-bottom: 40%;
}
.uniform-options-summer-skirt {
	position: absolute;
	margin-top: 40%;
	width: 160px;
}
.uniform-options-summer-sweat {
	width: 140px;
	margin-left: auto;
}
@media (min-width: 768px) {
	.uniform-options {
		display: flex;
		gap: 40px;
		width: 94%;
		margin-inline: auto;
	}
	.uniform-options-vest {
		width: 70%;
		margin-inline: auto;
		/* background-color: pink; */
		width: auto;
		order: 2;
		display: contents;
	}
	.uniform-options-etc {
		display: block;
		position: relative;
		padding-bottom: 40%;
		/* background-color: red; */
		display: flex;
		padding-bottom: 0;
		order: 1;
		display: contents;
	}
	.uniform-options-summer-skirt {
		position: absolute;
		margin-top: 40%;
		width: 160px;
		/* background-color: green; */
		position: relative;
		margin-top: 0;
		width: auto;
		order: -1;
	}
	.uniform-options-summer-sweat {
		width: 140px;
		margin-left: auto;
		/* background-color: blue; */
		width: auto;
		order: -1;
	}
}
.page-uniform figcaption {
	text-align: center;
	font-weight: 600;
	margin-top: 2em;
}
.uniform-caption::before {
	content: attr(data-en);
	font-family: var(--en-font);
	text-transform: uppercase;
	display: block;
}
.uniform-deco-bg--1 {
	position: absolute;
	bottom: 5%;
	right: 0;
	background-color: var(--accent);
	width: 65%;
	height: 500px;
	border-radius: 500px 0 0 0;
	z-index: -1;
}
.uniform-deco-bg--2 {
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: var(--main);
	width: 65%;
	height: 500px;
	border-radius: 0 500px 0 0;
	z-index: -1;
}
@media (min-width: 768px) {
	.uniform-deco-bg--1,
	.uniform-deco-bg--2 {
		display: none;
	}
}

/* ---------------------------------------- */
/* 教室・施設------------------------------ */
/* ---------------------------------------- */
.facility {
}
.facility__item {
	position: relative;
}
.facility__item + .facility__item {
	margin-top: 80px;
}
.facility__img {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.facility__img img {
	aspect-ratio: 16/9;
	object-fit: cover;
}
.facility__caption {
	background-color: transparent;
	position: relative;
	margin-top: 24px;
	padding-left: min(7.9%, 40px);
	padding-right: min(7.9%, 40px);
}
.facility__ttl {
	margin-bottom: 16px;
	text-align: center;
	font-size: var(--xlarge);
	font-weight: 500;
}
.facility__ttl::before {
	content: attr(data-en);
	display: block;
	font-family: var(--en-font);
	color: var(--main);
	text-transform: capitalize;
	line-height: 1;
}
.facility__txt {
	line-height: 2;
	text-align: justify;
}
.facilities-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
}
@media (min-width: 768px) {
	.facility {
	}
	.facility__item {
		position: relative;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	.facility__item + .facility__item {
		margin-top: 120px;
	}
	.facility__img {
		margin-left: auto;
		margin-right: auto;
	}
	.facility__img img {
	}
	.facility__caption {
		display: flex;
		align-items: center;
		width: min(90%, 990px);
		margin-left: auto;
		margin-right: auto;
		margin-top: 48px;
		padding: 0;
	}
	.facility__ttl {
		font-size: var(--xlarge);
		margin-bottom: 0;
		flex: 1;
	}
	.facility__ttl::before {
		content: attr(data-en);
		display: block;
		font-family: var(--en-font);
		text-transform: capitalize;
		line-height: 1;
	}
	.facility__txt {
		flex: 2;
	}
}

/* 三大行事--------------------------------- */
.event-card {
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.event-card__body {
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.event-card__image {
	position: relative;
	flex: 1;
	width: 100%;
	min-width: 0;
}
.event-card__image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 80px 8px 8px 8px;
}

@media (min-width: 768px) {
	.event-card {
		display: flex;
		flex-direction: row;
		gap: 56px;
	}
	.event-card:nth-child(2) {
		display: flex;
		flex-direction: row-reverse;
		gap: 56px;
	}
	.event-card__body {
		flex: 1;
	}
	.event-card__image {
		flex: 1;
	}
}

.event {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.event__item {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 40px;
}
.event__month-name {
	text-transform: capitalize;
	position: relative;
	flex: 4;
	font-family: var(--en-font);
	text-align: center;
	line-height: 1;
}
.event__month-name::before {
	content: attr(data-title);
	display: block;
	font-size: 4em;
	margin-bottom: 16px;
}
.event__month-name::after {
	content: '';
	display: block;
	width: 20%;
	height: 2px;
	background-color: var(--main);
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0%, -50%);
}
.event__list {
	flex: 6;
	font-size: 0.9em;
	line-height: 2;
}
@media (min-width: 768px) {
	.event {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		gap: 60px 20px;
	}
}

/* 学校説明会スケジュール表--------------------------------- */
.schedule {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.schedule__item {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 40px;
}
.schedule__item a {
	display: block;
	position: relative;
}
.schedule__item a::after {
	content: 'arrow_drop_down';
	font-family: var(--icons);
	position: absolute;
	display: block;
	line-height: 1;
	font-size: 0.6em;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	transition: 0.3s ease-in;
}
.schedule__item a:hover::after {
	transform: translate(-50%, 5px);
}
.schedule__month-name {
	text-transform: capitalize;
	position: relative;
	flex: 4;
	font-family: var(--en-font);
	text-align: center;
	line-height: 1;
}
.schedule__month-name::before {
	content: attr(data-title);
	display: block;
	font-size: 4em;
	margin-bottom: 16px;
}
.schedule__month-name::after {
	content: '';
	display: block;
	width: 20%;
	height: 2px;
	background-color: var(--main);
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0%, -50%);
}
.schedule__list {
	flex: 6;
	font-size: 0.9em;
	line-height: 2;
}
@media (min-width: 768px) {
	.schedule {
		display: grid;
		grid-template-columns: repeat(2, minmax(auto, 500px));
		grid-template-rows: repeat(6, 1fr);
		grid-auto-flow: column;
		justify-content: center;
		gap: 20px;
	}
}
/* ---------------------------------------- */
/* クラブ紹介------------------------------ */
/* ---------------------------------------- */
.club-card__wrapper {
	gap: 60px 8px;
	counter-reset: club;
}
@media (min-width: 768px) {
	.club-card__wrapper {
		gap: 50px 20px;
	}
}
.club-card {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
	position: relative;
	/* container-type: inline-size; */
	counter-increment: club;
}
.club-card::before {
	content: counter(club, decimal-leading-zero);
	color: var(--white);
	font-family: var(--en-font);
	font-size: min(7.5vw, 40px);
	line-height: 100%;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	padding: 0.75em 0.5em 0.9em 0.4em;
	background-color: var(--main);
	border-radius: 0 0 40px 0;
}
.club-card__image {
	width: 100%;
	height: auto;
}
.club-card__image img {
	display: block;
	aspect-ratio: 4 / 4;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.club-card__ttl,
.club-card__desc,
.club-card__info {
	padding-inline: 4px;
}
.club-card__ttl {
	text-align: center;
	font-weight: 600;
	font-size: clamp(1.6rem, calc((100vw - 420px) * 0.0027 + 1.6rem), 1.8rem);
}
.club-card__ttl::after {
	content: attr(data-en);
	text-transform: uppercase;
	font-family: var(--en-font);
	display: block;
	line-height: 2;
	color: var(--main);
	font-size: 1.2rem;
}
.club-card__wrapper--cul .club-card::before {
	background-color: var(--sub);
}
.club-card__wrapper--cul .club-card__ttl::after {
	color: var(--sub);
}
.club-card__desc {
	display: block;
	font-size: 0.9em;
}
.club-card__info {
	text-align: center;
	margin-top: auto;
}
.club-card__info dt,
.club-card__info dd {
	line-height: 1.8;
}
.club-card__info dt {
	border-bottom: 1px solid var(--border);
	font-size: 0.85em;
}
.club-card__info dd + dt {
	margin-top: 16px;
}

/* 一日スケジュール表--------------------------------- */
.daily-life__wrapper {
	background: transparent;
}
.daily-life {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.daily-life + .daily-life {
	margin-top: clamp(100px, calc((100vw - 420px) * 0.05405 + 100px), 140px);
}
.daily-life__image {
	flex: 1;
	position: relative;
	min-width: 0;
	width: 100%;
}
.daily-life__image figcaption {
	font-size: var(--small);
	text-align: right;
}
.daily-life--wide-left,
.daily-life--wide-right {
	background: var(--white);
}
.daily-life--wide-left .daily-life__image,
.daily-life--wide-right .daily-life__image {
	height: 100%;
}
.daily-life--wide-left .daily-life__image img,
.daily-life--wide-right .daily-life__image img {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.daily-life--wide-left .daily-life__image img {
	border-radius: 0 200px 0 0;
}
.daily-life--wide-right .daily-life__image img {
	border-radius: 200px 0 0 0;
}
.daily-life__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 34px;
}
.daily-life__ttl {
	display: grid;
	grid-template-columns: 1fr;
	border-left: 8px solid var(--sub);
	padding-inline: 1em;
}
.daily-life__ttl > span {
	display: block;
	color: var(--main);
}
.daily-life__ttl > span:first-child {
	order: 2;
}
.daily-life__ttl > span:last-child {
	font-family: var(--en-font);
	line-height: 1;
	font-size: clamp(3.8rem, calc((100vw - 420px) * 0.02973 + 3.8rem), 6rem);
	order: 1;
}
.daily-life__desc {
}
.daily-life__desc > p + p {
	margin-top: 1em;
}
.daily-life__extra {
	display: flex;
	gap: 16px;
}
.daily-life__extra-item {
	flex: 1;
}
.daily-life__extra figcaption {
	font-size: var(--small);
	text-align: center;
}
.daily-life .swiper-pagination {
	position: absolute;
	bottom: 40px;
}
@media (min-width: 768px) {
	.daily-life {
		display: flex;
		flex-direction: row-reverse;
		gap: 54px;
		align-items: center;
	}
	.daily-life--reverse {
		flex-direction: row;
	}
	.daily-life--wide-left {
		margin-inline: calc(50% - 50vw + 8px);
		padding-right: min(8.3vw, 100px);
		gap: 80px;
	}
	.daily-life--wide-right {
		margin-inline: calc(50% - 50vw + 8px);
		padding-left: min(8.3vw, 100px);
		gap: 80px;
	}
	.daily-life--wide-left .daily-life__image,
	.daily-life--wide-right .daily-life__image {
		flex: 1;
	}
	.daily-life__body {
		flex: 1;
	}
}
/* 簡易右クリック阻止------------------------------- */
.daily-life__image .swiper-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: transparent;
	z-index: 1;
}

/* よくある質問----------------------------------- */
.qa-list {
}
.qa-item {
	position: relative;
	padding-left: 60px;
}
.qa-item + .qa-item {
	margin-block-start: 40px;
}
.qa-item::before {
	content: 'Q.';
	position: absolute;
	top: 16px;
	left: 0;
	font-family: var(--en-font);
	font-size: clamp(7.5rem, calc((100vw - 390px) * 0.066 + 7.5rem), 10rem);
	line-height: 1;
	color: var(--main);
	color: var(--sub);
}
.qa-item__q {
	border-left: 1px solid var(--main);
	padding: 20px;
	font-size: clamp(1.4rem, calc((100vw - 390px) * 0.016 + 1.4rem), 2rem);
	color: var(--main);
}
.qa-item__a {
	border-left: 1px solid var(--sub);
	padding: 0 16px 20px;
	font-size: clamp(1.3rem, calc((100vw - 390px) * 0.008 + 1.3rem), 1.6rem);
}
@media (min-width: 768px) {
	.qa-list {
	}
	.qa-item {
		padding-left: 100px;
	}
	.qa-item::before {
		top: 20px;
	}
	.qa-item__q {
		padding: 30px 40px 20px;
		border-left-width: 2px;
	}
	.qa-item__a {
		padding: 20px 40px 30px;
		border-left-width: 2px;
	}
}

/* コストテーブル */
.cost-table {
	width: 100%;
	table-layout: fixed;
	background-color: #fff;
}
.cost-table th,
.cost-table td {
	vertical-align: middle;
	font-weight: normal;
	padding: 1em 1.5em;
}
.cost-table thead th {
	text-align: center;
	background-color: var(--main);
	color: #fff;
}
.cost-table tbody tr {
	border-bottom: 1px solid #999;
}
.cost-table tbody th {
	text-align: center;
}
.cost-table tbody td {
	text-align: center;
}
.cost-table tbody td:last-child {
	text-align: left;
}
.cost-table tfoot th,
.cost-table tfoot td {
	text-align: center;
	font-weight: 600;
}

/* -------------------------------------- */
/* ------------在校生と保護者------------ */
/* -------------------------------------- */

/* 在校生と保護者・項目一覧 */
.parent-box {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.parent-box__item {
	flex: 0 1 100%;
	position: relative;
	background-color: var(--sub);
	height: 200px;
}
.parent-box__item a {
	width: 100%;
	height: 100%;
	color: var(--main);
	text-decoration: none;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-left: 44%;
	padding-right: 4%;
	font-size: var(--small);
	font-weight: 600;
}
.parent-box__item a:hover {
	color: var(--sub);
}
.parent-box__item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background-image: var(--bg-img);
	background-size: auto 105%;
	background-position: center;
	opacity: 0.8;
	transition: all 0.3s;
}

@media (min-width: 768px) {
	.parent-box {
		gap: 40px;
	}
	.parent-box__item {
		flex: 0 1 calc((100% - 40px * 1) / 2);
		height: 300px;
		transition: 0.3s;
	}
	.parent-box__item:hover {
		background-color: var(--main);
	}
	.parent-box__item:hover::before {
		background-size: auto 110%;
		opacity: 1;
	}
}

/* 生徒の声 */
.voice-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 90px 60px;
}
.voice {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px dashed silver;
}
.voice__icon {
	display: flex;
	align-items: center;
	gap: 20px;
}
.voice__icon img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: cover;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid var(--glay);
}
.voice__profile {
	font-size: 1.1em;
	font-weight: 700;
	position: relative;
	transform: rotate(-5deg);
	transform-origin: left center;
	padding-block: 10px;
}
.voice__profile::before,
.voice__profile::after {
	content: '';
	position: absolute;
	transform-origin: left center;
	width: 40px;
	height: 1px;
	background-color: black;
}
.voice__profile::before {
	top: 0;
	left: 0;
	transform: rotate(-20deg);
}
.voice__profile::after {
	bottom: 0;
	left: 0;
	transform: rotate(20deg);
}
.voice__body h5 {
	font-weight: 600;
}
/* 口コミ */
.reviews__wrapper {
	display: flex;
	gap: 40px;
	max-width: 900px;
	margin-inline: auto;
}
.reviews__icon {
	width: 80px;
	text-align: center;
}
.reviews__icon img {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
}
.reviews__icon span {
	font-weight: 600;
	font-size: 12px;
}
.reviews {
	background-color: #eee;
	color: var(--main);
	padding: 20px 2%;
	border-radius: 0 20px 20px;
	font-weight: 400;
	position: relative;
}
.reviews::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: var(--sub);
	width: 12px;
	height: 12px;
}

/* ------------------------------ */
/* 中学生のみなさんへ */
/* ------------------------------ */

/* 日程一覧------------------------------ */
.briefing-list {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
}
.briefing-list > li {
	flex: 0 1 100%;
	text-align: center;
	background-color: var(--main);
	color: #fff;
	padding: 30px 20px;
	border-radius: 10px;
}
.briefing-list__ttl {
	font-weight: 600;
}
.briefing-list__year {
	font-size: 1.25em;
	font-family: var(--en-font);
}
.briefing-list__date {
	font-size: 5em;
	font-family: var(--en-font);
	line-height: 1;
}
.briefing-list__date > span {
	font-size: 0.55em;
	margin-left: 8px;
}
.briefing-list__time {
	font-weight: 600;
	font-family: var(--en-font);
}
.briefing-list__btn {
	margin-top: 20px;
	flex-direction: row;
}
.briefing-list__btn .btn {
	min-width: auto;
}
@media screen and (min-width: 768px) {
	.briefing-list {
		display: flex;
		flex-flow: row wrap;
		gap: 20px 40px;
	}
	.briefing-list > li {
		flex: 0 1 calc((100% - 40px * 2) / 3);
		text-align: center;
	}
	.briefing-list__year {
		font-size: 1.25em;
		font-family: var(--en-font);
	}
	.briefing-list__date {
		font-size: 4em;
		font-family: var(--en-font);
	}
	.briefing-list__date > span {
		font-size: 0.55em;
		margin-left: 8px;
	}
	.briefing-list__time {
		font-weight: 600;
		font-family: var(--en-font);
	}
	.briefing-list__btn {
		text-align: center;
	}
}

.openschool__list {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
	margin-inline: auto;
}

.openschool__item {
	flex: 0 1 calc((100% - 10px * 1) / 2);
	aspect-ratio: 1;
	background-color: var(--main);
	position: relative;
	font-size: min(13vw, 64px);
	font-family: var(--en-font);
	font-style: italic;
	font-weight: 400;
	line-height: 1.6;
	color: #fff;
}
.openschool__item > a {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
}

.openschool__item.--fin::after {
	content: '終了しました';
	font-size: 1.6rem;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.openschool__item::before {
	content: attr(title);
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--sub);
	color: #fff;
	padding: 0.3em 1em;
	font-size: min(0.24em, 1.3rem);
	font-style: normal;
}

.openschool__year {
	display: block;
	width: fit-content;
	border-bottom: 1px solid #fff;
	position: absolute;
	top: 13%;
	right: 1em;
	font-size: 0.4em;
}

.openschool__month,
.openschool__slash,
.openschool__day {
	position: absolute;
}

.openschool__month {
	bottom: 40%;
	right: 60%;
}

.openschool__slash {
	top: 45%;
	left: 28%;
}

.openschool__day {
	top: 47%;
	left: 50%;
}

.openschool__week {
	position: absolute;
	top: 31%;
	right: 1em;
	font-size: 0.4em;
}

.openschool__caption {
	margin-top: 1em;
	font-size: var(--small);
}
@media screen and (min-width: 768px) {
	.openschool__item {
		flex: 0 1 calc((100% - 10px * 3) / 4);
		font-size: min(6vw, 84px);
	}
}
