/* style.css */
@charset "utf-8";

:root {
	--base: #f6f6f6;
	--main: #334d95;
	--main-light: #3957fd;
	--main-dark: #3957fd;
	--sub: #93d0e2;
	--sub-light: #b9ecff;
	--sub-dark: #66b2c9;
	--accent: #c8b78f;
	--yellow: #fbdb37;
	--white: #fff;
	--black: #232323;
	--glay: #5f5f5f;
	--silver: #d5d5d5;
	--border: #d5d5d5;

	--grid-bg: linear-gradient(0deg, transparent 15px, #e3e3e3 16px), linear-gradient(0deg, transparent 4px, var(--base) 4px, var(--base) 6px), linear-gradient(90deg, transparent 15px, #e3e3e3 16px);
	--grid-size: 16px 16px, 6px 6px, 16px 16px;

	--en-font: 'Shippori Mincho B1', serif;
	--jp-font: 'Shippori Mincho B1', serif;
	--awesome: 'Font Awesome 6 Free';
	--icons: 'Material Symbols Outlined';

	--xsmall: 1rem;
	--small: clamp(1.2rem, calc((100vw - 768px) * 0.002 + 1.2rem), 1.4rem);
	--normal: clamp(1.4rem, calc((100vw - 600px) * 0.003 + 1.4rem), 1.6rem);
	--large: clamp(1.6rem, calc((100vw - 768px) * 0.002 + 1.6rem), 1.8rem);
	--xlarge: clamp(1.8rem, calc((100vw - 768px) * 0.005 + 1.8rem), 2.4rem);
	--xxlarge: clamp(2rem, calc((100vw - 768px) * 0.007 + 2rem), 2.8rem);
}

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(--base);
	background-image: var(--grid-bg);
	background-size: var(--grid-size);
}
a {
	color: var(--dark); /* 明示的に宣言 */
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: var(--main);
}
.loader::before {
	content: '';
	display: grid;
	place-items: center;
	/* background-image: url(./img/emblem/emblem-black.svg); */
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50% auto;
	width: 100%;
	height: 100%;
	position: absolute;
}
@media (min-width: 768px) {
	.loader::before {
		background-size: 25% auto;
		width: 100%;
		height: 100%;
	}
}
/* ========================
   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;
}

/* ----------------コンテンツヘッダー設定---------------- */
.page-hero {
	background-color: var(--accent);
	width: 100%;
	height: 125px;
	margin-top: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: clip;
	background-image: url(./img/hero/pc/DSC02512.webp);
	background-size: cover;
	background-position: center;
}
.page-hero::before {
	content: '';
	background: black;
	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%);
}
.about .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.principal .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.publications .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.school-policy .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.banner .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.education .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.curriculum .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.educator-course .page-hero {
	background-image: url(./img/education/DSC09091.jpg);
}
.career-support .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.career-results .page-hero {
	background-image: url(./img/hero/pc/DSC02512.webp);
}
.school-life .page-hero {
	background-image: url(./img/hero/pc/hero-03@2560w.jpg);
}
.uniform .page-hero {
	background-image: url(./img/hero/pc/uniform-01@2560w.jpg);
}
.events .page-hero {
	background-image: url(./img/hero/pc/DSC02876.webp);
}
.uniform .page-hero {
	background-image: url(./img/hero/pc/DSC02473.webp);
}
.facilities .page-hero {
	background-image: url(./img/hero/pc/DSC05645.webp);
}
.clubs .page-hero {
	background-image: url(./img/hero/pc/DSC03213.webp);
}
.future .page-hero {
	--page-hero-image: url(./img/hero/pc/DSC03323.webp);
}
.open-school .page-hero {
	--page-hero-image: url(./img/hero/pc/DSC03323.webp);
}
.admission-cost .page-hero {
	--page-hero-image: url(./img/hero/pc/DSC03323.webp);
}
.school-guide .page-hero {
	--page-hero-image: url(./img/hero/pc/DSC03323.webp);
}
.faq .page-hero {
	--page-hero-image: url(./img/hero/pc/DSC03323.webp);
}
.students-parents .page-hero {
	--page-hero-image: url(./img/hero/pc/DSC03323.webp);
}
.hoken .page-hero {
	background-image: url(./img/hero/pc/DSC00611.jpg);
}
.emergency .page-hero {
	background-image: url(./img/hero/pc/DSC00780.jpg);
}
.safety .page-hero {
	background-image: url(./img/hero/pc/DSC00609.jpg);
}
.alumni .page-hero {
	background-image: url(./img/hero/pc/hero-07@2560w.webp);
}
.access .page-hero {
	background-image: url(./img/hero/pc/DSC03385.webp);
}
.pta .page-hero {
	background-image: url(./img/hero/pc/DSC02385.jpg);
}
.page-hero__title {
	font-size: clamp(1.6rem, calc((100vw - 768px) * 0.014 + 1.6rem), 3.2rem);
	text-align: center;
	position: relative;
	color: var(--accent);
	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(--accent);
	border-radius: 0;
	width: 100px;
	height: 8px;
	margin-top: 2px;
}
@media (min-width: 768px) {
	.page-hero {
		width: 100%;
		height: 380px;
		margin-top: 70px;
	}
}
/* ----------------見出し設定---------------- */

.content-title {
	position: relative;
	font-weight: 500;
	font-size: clamp(1.5rem, calc((100vw - 768px) * 0.003 + 1.5rem), 1.8rem);
	color: var(--text);
	letter-spacing: 0.07em;
	line-height: 1;
	padding-left: clamp(32px, calc((100vw - 768px) * 0.139 + 32px), 48px);
	padding-block: 1em 1.5em;

	margin-block: 0 5em;
}

.content-title::before {
	content: attr(data-en) '';
	font-weight: normal;
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: clamp(4rem, calc((100vw - 390px) * 0.159 + 4rem), 10rem);
	letter-spacing: 0;
	line-height: 1;
	display: block;
	margin-bottom: 6px;
}
.content-title::after {
	content: '';
	display: block;
	background: var(--main);
	width: clamp(16px, calc((100vw - 768px) * 0.069 + 16px), 24px);
	height: 100%;
	border-radius: 30px 30px 0 0;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.content-title.is-red {
	color: var(--white);
}
.content-title.is-red::after {
	background: var(--accent);
}

.heading-xl {
	position: relative;
	font-weight: 700;
	font-size: clamp(1.5rem, calc((100vw - 420px) * 0.00441 + 1.5rem), 1.8rem);
	color: var(--text);
	/* font-family: var(--jp-font); */
	letter-spacing: 0.07em;
	line-height: 1;
	/* padding-block: 0 1.5em; */

	/* margin-block: 0 5em; */
	text-align: center;
	font-family: var(--jp-font);
}
.heading-xl span {
	background-color: var(--main);
	padding: 4px 8px 5px;
	color: #fff;
}
.heading-xl::before {
	content: attr(data-en) '';
	font-weight: 600;
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: clamp(7rem, calc((100vw - 420px) * 0.04412 + 7rem), 10rem);
	letter-spacing: 0;
	line-height: 1;
	display: block;
	margin-bottom: 24px;
	color: var(--main);
}

.menu-title {
	position: relative;
	font-weight: 500;
	font-size: clamp(1.3rem, calc((100vw - 420px) * 0.00147 + 1.3rem), 1.4rem);
	color: var(--white);
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 0 0 0.5em 16px;
	margin-bottom: 1.5em;
}

.menu-title::before {
	content: attr(data-en) '';
	font-weight: normal;
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: 4rem;
	letter-spacing: 0;
	line-height: 1.5;
	display: block;
	margin-bottom: 6px;
}
.menu-title::after {
	content: '';
	display: block;
	background: var(--main);
	background: var(--accent);
	width: 8px;
	height: 100%;
	border-radius: 30px 30px 0 0;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
}

.heading-lg-en {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(3, auto);
	color: black;
	text-align: center;
	margin-block-end: 0.3em;
}
.heading-lg-en::before {
	content: attr(data-en) '';
	font-weight: normal;
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: clamp(4rem, calc((100vw - 768px) * 0.017 + 4rem), 6rem);
	letter-spacing: 0;
	line-height: 1;
	grid-row: 1 / 2;
}
.heading-lg-en::after {
	content: '=';
	color: var(--accent);
	font-weight: normal;
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: clamp(4rem, calc((100vw - 768px) * 0.017 + 4rem), 6rem);
	letter-spacing: 0;
	line-height: 1;
	grid-row: 2 / 3;
}

.heading-lg {
	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(--accent);
	color: var(--white);
	padding: 0.3em 1em;
	margin-block-end: 0.3em;
}

.heading-col {
	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);
	margin-block-end: 0.3em;
}
.heading-col::before {
	content: '';
	display: block;
	width: 5px;
	height: 100%;
	background: linear-gradient(0deg, var(--main) 50%, var(--accent) 50%);
	position: absolute;
	top: 0;
	left: 0;
}

.heading-md {
	font-weight: 500;
	font-size: clamp(1.9rem, calc((100vw - 390px) * 0.013 + 1.9rem), 2.4rem);
	position: relative;
	color: var(--main);
	margin-block-end: 0.3em;
	padding-block-end: 1em;
}
.heading-md::before {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--main) 10%, var(--accent) 10%);
	position: absolute;
	bottom: 0;
	left: 0;
}
.heading-sm {
	font-weight: 500;
	font-size: clamp(1.6rem, calc((100vw - 768px) * 0.003 + 1.6rem), 2rem);
	position: relative;
	border-bottom: 1px solid;
	padding-bottom: 1em;
	margin-block-end: 0.3em;
	color: var(--main);
}

.text-deco__left {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 14vw;
	white-space: nowrap;
	line-height: 1;
	color: var(--accent);
	font-family: var(--en-font);
	rotate: 90deg;
	translate: -10px -50%;
	transform-origin: left top;
	margin: 0;
	z-index: -1;
}
.text-deco__right {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 14vw;
	white-space: nowrap;
	line-height: 1;
	color: var(--accent);
	font-family: var(--en-font);
	rotate: -90deg;
	translate: 10px -50%;
	transform-origin: right top;
	margin: 0;
	z-index: -1;
}
.is-nomargin {
	margin-block: 0;
}

/* --------------------------------------------------- */
/* バナーページ---------------------------------------- */
/* --------------------------------------------------- */

/* --------------------------------------------------- */
/* 学校案内---------------------------------------- */
/* --------------------------------------------------- */
.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-family: var(--jp-font);
	font-weight: 700;
	font-size: 1.2em;
}
.history-line dt span {
	font-size: 0.75em;
}
.history-line dt::before {
	content: '-';
}
.history-line dd {
	font-weight: 400;
}
.history-line dd + dt {
	margin-top: 0.75em;
}
.relative {
	position: relative;
	/* border: 1px solid blue; */
}
.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: row;
	gap: 20px;
}
.song-item {
	min-width: 0;
	flex: 1;
}
.song {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.song__lyrics {
	font-style: italic;
	font-size: 1em;
	text-align: center;
	line-height: 2;
	color: var(--main);
}
.song__verse {
	font-size: 2em;
	font-family: var(--en-font);
	color: var(--main);
	text-align: center;
}
.emblem-info {
	margin-top: 16px;
	padding-inline: 1em;
	text-align: center;
}
@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%);
}

/* カリキュラム------------------------------ */
.scroll_aria {
	position: relative;
	overflow-x: auto;
	overflow-y: hidden;
	/* white-space: nowrap; */
}
.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;
	}
}
.scroll_aria::-webkit-scrollbar {
	height: 5px;
}
.scroll_aria::-webkit-scrollbar-track {
	background: #ccc;
}
.scroll_aria::-webkit-scrollbar-thumb {
	background: var(--accent);
}
.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 #e5e5e5;
}
.curriculum-table th {
	background: #334d95;
	border: 1px solid #d0d0d0;
	color: #fff;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
}
.curriculum-table thead th:nth-child(even) {
	background: #405caa;
}
.curriculum-table thead th:first-child {
	background: transparent;
}
.curriculum-table td {
	border: 1px solid #d0d0d0;
	text-align: center;
	vertical-align: middle;
	padding: 1em 1em;
	line-height: 1.5;
	background: #fff;
}
.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: #6887dd;
	color: white;
}
.curriculum-table .curriculum-table__second-cell {
	background: #4c69b9;
	color: white;
}
.curriculum-table .curriculum-table__third-cell {
	background: #334d95;
	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;
	}
}
.scroll_aria figcaption {
	font-size: 0.8em;
}

.curriculum-flow {
	width: 90%;
	margin-inline: auto;
}
.curriculum-flow .card__ttl {
	font-size: 1.2em;
}
.curriculum-flow .card__desc {
	line-height: 2;
	margin-top: 1em;
}
.curriculum-flow-img {
	width: 80%;
	margin-inline: auto;
	margin-bottom: 20px;
}

.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;
}

.glhs-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 12px;
}
.glhs-list > li {
	text-align: center;
}
.glhs-list > li span {
	font-size: 0.8em;
	display: block;
	color: var(--main);
}
@media (min-width: 768px) {
	.glhs-list {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* 円グラフ */
.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: '—';
}

/* ---------------------------------------- */
/* 制服紹介------------------------------ */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* 教室・施設------------------------------ */
/* ---------------------------------------- */
.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;
	}
}

.swiper-pagination {
	text-align: center;
	margin-top: 10px;
	position: static; /* ← 重ならないように */
}
.swiper-pagination-bullet {
	width: 4px;
	height: 4px;
}
.swiper-pagination-bullet-active {
	background: var(--accent);
}
.event__photo .swiper-button-next,
.event__photo .swiper-button-prev {
	color: var(--white);
	font-size: 2rem !important;
	opacity: 0.5;
}

/* 年間スケジュールピックアップ--------------------------------- */
.event__item {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 80px;
}
.event__photo {
	width: 100%;
}
.event__title {
	font-size: 40px;
	position: relative;
	padding-left: 8px;
	margin-bottom: 50px;
	font-family: var(--jp-font);
	z-index: 0;
}
.event__title::before {
	content: attr(data-en);
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: 0.5em;
	line-height: 1;
	display: block;
}
.event__title::after {
	content: attr(data-month);
	font-family: var(--en-font);
	line-height: 1;
	font-size: 120px;
	font-size: 220px;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-0.25em, -60%);
	color: var(--main);
	opacity: 0.5;
	z-index: -1;
}
.event__theme {
	font-size: 1.4em;
}
.event__theme span {
	font-size: 1.4rem;
}
.event__desc {
	line-height: 2;
	margin-top: 1.5em;
}
.event__desc p {
	margin-bottom: 1em;
}
.event__desc ul {
	border-top: 1px solid var(--silver);
	padding-top: 1em;
}
@media (min-width: 768px) {
	.event__item {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 40px;
		margin-top: 120px;
	}

	.event__body {
		width: 50%;
	}
	.event__photo {
		width: 50%;
	}
}

/* 年間スケジュール表--------------------------------- */
.schedule {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.schedule__item {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 40px;
}
.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-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.club-list .card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.club-list .card__image,
.club-list .card__body {
	flex: 0 1 auto;
}
.club-list .card__image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.club-list .card__ttl {
	color: var(--main);
}
.club-list .card__ttl::before {
	color: var(--black);
}
.club-list h4 {
	color: var(--main);
	font-size: 0.9em;
	font-weight: 600;
	margin-top: 0.5em;
	border-bottom: 1px dashed var(--silver);
}
.club-list p {
	font-size: 1.3rem;
}
.club-list .card__ref-list {
	font-size: 1.3rem;
}
@media (min-width: 768px) {
	.club-list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.club-list .card {
		display: flex;
		/* flex-direction: row-reverse; */
	}
	.club-list.test .card {
		display: flex;
		flex-direction: row-reverse;
	}
	.club-list.test img {
		aspect-ratio: 3 / 3;
		object-fit: cover;
	}
}

/* よくある質問----------------------------------- */
.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(--accent);
}
.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(--accent);
	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(--accent);
	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(--accent);
}
.parent-box__item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background-image: url('./img/okawa_kocho2.jpg');
	background-size: auto 105%;
	background-position: center;
	opacity: 0.8;
	transition: all 0.3s;
}
.--emergency::before {
	background-image: url('./img/snap/DSC00780.jpg');
}
.--safety-confirmation::before {
	background-image: url('./img/snap/DSC00609.jpg');
}
.--health-room::before {
	background-image: url('./img/snap/DSC00614.jpg');
}
.--pta::before {
	background-image: url('./img/snap/DSC02385.jpg');
}

@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;
	}
}

/* スクールライフ-制服紹介 */
.uniform-info__wrapper {
	display: flex;
	gap: 16px;
	width: 80%;
	margin-inline: auto;
}
.uniform-info {
}
.uniform-info {
}
.uniform-main__img {
	text-align: center;
}
.uniform-main__img img {
	width: clamp(280px, calc((100vw - 768px) * 3.614 + 280px), 400px);
	height: auto;
}
.uniform-main__ttl {
	text-align: center;
	margin-bottom: 20px;
	font-family: var(--jp-font);
	font-weight: 700;
	font-size: 2rem;
}

.uniform-main__ttl::before {
	content: attr(data-en) '';
	display: block;
	font-family: var(--en-font);
	font-weight: normal;
	text-transform: capitalize;
	line-height: 1;
	font-size: clamp(6rem, calc((100vw - 420px) * 0.05882 + 6rem), 10rem);
	color: var(--accent);
	margin-bottom: 8px;
}
.uniform-main__ttl.--winter span {
	background-color: var(--accent);
	color: #fff;
	padding: 0.1em 0.2em;
}
.uniform-main__ttl.--summer::before {
	color: var(--sub);
}
.uniform-main__ttl.--summer span {
	background-color: var(--sub);
	color: #fff;
	padding: 0.1em 0.2em;
}
.uniform-main__caption {
	padding-inline: 8%;
	margin-top: 30px;
}

.uniform-detail .swiper-slide {
	display: block;
	object-fit: cover;
	position: relative;
}
.uniform-detail .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 10 / 9;
}

.uniform-detail .swiper-slide::before {
	content: attr(data-num);
	position: absolute;
	top: 0;
	left: 0;
	line-height: 1;
	text-transform: uppercase;
	background-color: var(--main);
	color: white;
	width: 26px;
	height: 26px;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.uniform-detail figcaption {
	margin-top: 8px;
	font-size: 14px;
}

@media (min-width: 769px) {
	.uniform-detail .swiper-wrapper {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		width: 100%;
		margin-inline: auto;
	}

	.uniform-detail .swiper-slide {
		width: auto !important;
	}
}

/* 生徒の声 */
.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;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.voice__icon img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: cover;
	aspect-ratio: 1;
	border-radius: 50%;
}
.voice__icon figcaption {
	font-size: 1.3rem;
	font-weight: 500;
	text-align: center;
	color: var(--main);
}
.voice__profile {
	font-size: 1.1em;
	font-weight: 700;
	position: relative;
	transform-origin: left center;
	padding-block: 10px;
}

.voice h5 {
	font-size: 1.5em;
	font-weight: 600;
}
.voice__body {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}
.voice__body p {
	font-weight: 400;
	line-height: 2;
	font-size: 0.95em;
	margin-top: 2em;
}

/* 口コミ */
.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(--accent);
	width: 12px;
	height: 12px;
}

/* 教志コース */
.heading-education {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: repeat(3, auto);
	grid-template-areas:
		'course ttl'
		'point ttl'
		'num ttl';
	align-items: end;
	font-size: 12rem;
	padding-bottom: 16px;
	border-bottom: 4px solid var(--accent);
}
.heading-education__course {
	grid-area: course;
	line-height: 1;
	font-size: 0.16em;
	font-family: var(--jp-font);
	font-weight: 700;
	text-align: center;
	color: var(--main);
}
.heading-education__point {
	grid-area: point;
	line-height: 1;
	font-size: 0.24em;
	font-family: var(--en-font);
	font-weight: 700;
	text-align: center;
	color: var(--main);
	text-transform: uppercase;
}
.heading-education__num {
	grid-area: num;
	line-height: 1;
	font-size: 1em;
	font-family: var(--en-font);
	font-weight: 500;
	text-align: center;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--main);
	text-stroke: 1.5px var(--main);
	position: relative;
}
.heading-education__num::before {
	content: '.';
	position: absolute;
	left: 100%;
}

.heading-education__ttl {
	grid-area: ttl;
	font-size: 4rem;
	font-weight: 600;
	color: var(--main);

	padding-left: 1em;
}

/* ------------------------------ */
/* 中学生のみなさんへ */
/* ------------------------------ */

.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(--accent);
	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);
	}
}

.heading-support {
	font-size: 2em;
}
.heading-support::before {
	content: attr(data-en) '.';
	font-size: 3em;
	font-family: var(--en-font);
	color: transparent;
	-webkit-text-stroke: 1px var(--main);
	text-stroke: 1px var(--main);
}
.career-supoort .card__ttl {
	color: var(--main);
	border-bottom: 1px solid var(--main);
}
.career-supoort {
	counter-reset: supportnum 2;
}
.career-supoort .card {
	counter-increment: supportnum;
}
.career-supoort .card .card__ttl::before {
	content: counter(supportnum, decimal-leading-zero) '.';
	font-size: 2em;
	font-family: var(--en-font);
	color: var(--main);
}

.category-wrapper {
	display: flex;
	flex-direction: column;
}
.category-title {
	background-color: var(--main);
	color: #fff;
	font-family: var(--en-font);
	width: 100%;
	padding: 20px 0 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.category-title span:first-child {
	display: block;
	line-height: 1.5;
	font-size: 1.5em;
	color: var(--accent);
	text-transform: capitalize;
}
.category-title span:last-child {
	display: block;
	line-height: 1;
}
.category-nav-wrapper {
	flex-basis: 50%;
}
.category-nav__list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2%;
	border: 1px solid var(--main);
	background: #fff;
	padding-bottom: 20px;
}
.category-nav__list li {
	flex: 0 1;
	flex-basis: auto;
	margin: 0.5em 0;
	position: relative;
	font-size: 0.9em;
	margin: 0 1em;
	padding: 1em;
	border-bottom: 1px solid var(--main);
}
.category-nav__list li a {
	display: block;
	color: #595959;
}
.category-nav__list li:before {
	font-family: 'Font Awesome 5 Free';
	content: '\f054';
	font-weight: 900;
	margin-right: 0.5em;
	font-size: 0.5em;
	vertical-align: middle;
	position: absolute;
	right: 0;
	transform: translateY(-50%);
	top: 50%;
}
@media (min-width: 768px) {
	.category-wrapper {
		display: flex;
		flex-direction: row;
	}
	.category-title {
		background-color: var(--main);
		color: #fff;
		font-family: var(--en-font);
		width: 100%;
		padding: 20px 0 30px;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-basis: 20%;
	}
	.category-nav-wrapper {
		flex-basis: 80%;
	}
	.category-nav {
	}
	.category-nav__list {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		gap: 0;
		padding: 20px 0 20px;
		border: 1px solid var(--main);
		background: #fff;
	}
	.category-nav__list > li {
		border-bottom: none;
		padding: 2em 1em;
	}
}
