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

.site-main {
	/* margin-top: 10vw; */
	overflow: hidden;
}

/* ----------------コンテンツヘッダー設定---------------- */
.content-header {
	background-color: var(--black);
	width: 100%;
	height: 125px;
	margin-top: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.content-header::before {
	content: '';
	background-image: url(./img/hero1.webp);
	background-size: cover;
	background-position: center;
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.8;
}
.content-header::after {
	content: '';
	display: block;
	background: white;
	width: 100%;
	height: 3vw;
	position: absolute;
	bottom: 0;
	left: 0;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.about .content-header::before {
	background-image: url(./img/hero/pc/hero-07@2560w.webp);
}
.education .content-header::before {
	background-image: url(./img/hero/pc/hero-39@2560w.webp);
}
.ssh .content-header::before {
	background-image: url(./img/hero/pc/hero-29@2560w.webp);
}
.school-life .content-header::before {
	background-image: url(./img/hero/pc/hero-23@2560w.webp);
}
.uniform .content-header::before {
	background-image: url(./img/hero/pc/uniform-23@2560w.webp);
}
.future .content-header::before {
	background-image: url(./img/hero/pc/hero-04@2560w.webp);
}
.student .content-header::before {
	background-image: url(./img/hero/pc/hero-17@2560w.webp);
}
.health-room .content-header::before {
	background-image: url(./img/facility/facility-08@2560w.webp);
}
.graduates .content-header::before {
	background-image: url(./img/hero/pc/hero-07@2560w.webp);
}
.content-header__title {
	font-size: clamp(1.6rem, calc((100vw - 768px) * 0.014 + 1.6rem), 3.2rem);
	text-align: center;
	position: relative;
	color: var(--main-light);
}
.content-header__title::before {
	content: attr(data-en) '';
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: 1.5em;
	line-height: 1;
	display: block;
}
.content-header__title::after {
	content: '';
	display: block;
	margin-inline: auto;
	background: var(--main);
	border-radius: 0;
	width: 100px;
	height: 8px;
	margin-top: 2px;
}
@media screen and (min-width: 768px) {
	.content-header {
		width: 100%;
		height: 280px;
		margin-top: 140px;
	}
}
/* ----------------見出し設定---------------- */

.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-block: 1em 60px;
	margin-block: 0 5em;
	text-align: center;
}
.is-nomargin {
	margin-block: 0;
}
.content-title::before {
	content: attr(data-en) '';
	font-weight: normal;
	font-family: var(--en-font);
	text-transform: capitalize;
	font-size: clamp(8rem, calc((100vw - 390px) * 0.053 + 8rem), 10rem);
	letter-spacing: 0;
	line-height: 1;
	display: block;
	margin-bottom: 6px;
	color: var(--main);
}
.content-title::after {
	content: '';
	display: block;
	background-image: url(./img/common/title-icon.svg);
	background-repeat: no-repeat;
	background-size: contain;
	width: 40px;
	height: 40px;
	position: absolute;
	bottom: 0%;
	left: 50%;
	transform: translateX(-50%);
}
.content-title::after {
	content: '';
	display: block;
	background-image: linear-gradient(to right, var(--main) 50%, rgb(244, 244, 244) 50%);
	background-repeat: repeat;
	background-size: 10% 100%;
	width: 200px;
	height: 40px;
	position: absolute;
	bottom: 0%;
	left: 50%;
	transform: translateX(-50%);
}
.content-title.is-red {
	color: var(--white);
}
.content-title.is-red::after {
	background: var(--accent);
}

.menu-title {
	position: relative;
	font-weight: 500;
	font-size: 1.2rem;
	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);
	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: var(--black);
	text-align: center;
	margin-block-end: 0.3em;
	gap: 4px;
}
.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;
	color: var(--main-light);
}

.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;
}
/* --------------------------------------------------- */
/* メッセージ---------------------------------------- */
/* --------------------------------------------------- */
.anniversary-logo {
	width: 50%;
	margin-inline: auto;
}

/* --------------------------------------------------- */
/* 学校案内---------------------------------------- */
/* --------------------------------------------------- */
.motto {
	font-size: 5rem;
	font-family: var(--jp-font);
}
.motto span {
	display: block;
	text-align: center;
}
@media screen and (min-width: 900px) {
	.motto {
		font-size: 8rem;
	}
}
/* 沿革 */
.history__wrapper {
	width: 100%;
	position: relative;
}
.history__border {
	position: absolute;
	inset: 0 auto;
	width: 25%;
	top: 0;
	left: 0;
}
.history__border::before {
	content: '';
	position: absolute;
	width: 1px;
	height: 100%;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--main);
}

.history {
	margin-inline: auto 0;
	width: 75%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: relative;
}
.history + .history {
	margin-top: 20px;
}
.history__year {
	font-family: var(--jp-font);
}
.history__ad {
	font-size: 4em;
	font-family: var(--en-font);
	color: var(--main-light);
	line-height: 1;
}
.history__nen {
	font-size: 13px;
}
.history__jc {
	font-size: 13px;
}
.history__desc {
	list-style: disc;
	padding-left: 1em;
}
.history__img-wrapper {
	display: flex;
	flex-direction: row;
	gap: 8px;
	margin-top: 10px;
}
.history__img {
	flex: 1 1 50%;
}
.history__img img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}
.history__img figcaption {
	font-size: 12px;
	text-align: right;
}

.history__illust {
	position: absolute;
	width: 20%;
	height: auto;
}
.moument1 {
	top: 0;
	left: 0;
}
.moument2 {
	top: 25%;
	left: 0;
}
.moument3 {
	top: 50%;
	left: 0;
}
.moument4 {
	top: 75%;
	left: 0;
}
.moument5 {
	top: 95%;
	left: 0;
}
.flag {
	position: absolute;
	top: 0;
	right: 0;
	width: 30%;
	max-width: 400px;
}
.sagi {
	position: absolute;
	bottom: 0%;
	right: 0;
	width: 50%;
	transform: translate(30%, 0%);
	max-width: 400px;
	pointer-events: none;
}
.passport {
	position: absolute;
	top: 20px;
	left: 0;
	width: 30%;
	max-width: 300px;
	rotate: -30deg;
}
.golfball {
	position: absolute;
	bottom: 20px;
	right: 0;
	width: 30%;
	max-width: 300px;
	rotate: -30deg;
}

@media screen and (min-width: 768px) {
	.history {
		margin-inline: auto 0;
		width: 60%;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.history + .history {
		margin-top: 40px;
	}
	/* .history--mini {
		width: 40%;
		margin-inline: auto;
		position: absolute;
	} */
	.history__ad {
		font-size: 6em;
		font-family: var(--en-font);
	}
	.history__img-wrapper {
		display: flex;
		flex-direction: row;
		gap: 20px;
	}
	.history__img {
		flex: 0 1 50%;
	}
	.history__img img {
		aspect-ratio: 16 / 10;
		object-fit: cover;
		object-position: center;
	}
	.history__illust {
		position: absolute;
		width: 25%;
		height: auto;
	}
	.moument1 {
		top: 0;
		left: 0%;
	}
	.moument2 {
		top: 25%;
		left: 0%;
	}
	.moument3 {
		top: 50%;
		left: 0%;
	}
	.moument4 {
		top: 75%;
		left: 0%;
	}
	.moument5 {
		top: 90%;
		left: 0%;
	}
}

.relative {
	position: relative;
	/* border: 1px solid blue; */
}

.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 screen and (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;
}
.emblem-info {
	margin-top: 16px;
	padding-inline: 1em;
}
@media (min-width: 768px) {
	.song__wrapper {
		display: flex;
		flex-direction: row;
		gap: 40px;
		justify-content: center;
		width: 70%;
		margin-inline: auto;
	}
}

/* ---------------------------------------- */
/* 制服紹介------------------------------ */
/* ---------------------------------------- */
.uniform__wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-inline: auto;
	margin-top: -50px;
}

.uniform__old {
	flex: 1;
	min-width: 0;
	padding-left: 60%;
	position: relative;
	/* border: 1px solid red; */
}
.uniform__new {
	flex: 1;
	min-width: 0;
	position: relative;
	/* border: 1px solid blue; */
}
.uniform__inner {
	position: relative;
	z-index: 2;
}
.uniform__item {
}
.uniform__item img {
	width: 100%;
	height: auto;
}
.uniform__caption {
	line-height: 1;
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
}
.uniform__caption--new {
	position: absolute;
	top: -15%;
}
.uniform__year-wrapper {
	display: grid;
	grid-template-columns: 4em auto;
}
.uniform__year {
	font-family: var(--en-font);
	font-size: 7em;
	color: var(--main-light);
}
.uniform__ast {
	font-size: 4em;
	position: relative;
	top: 30%;
}
.uniform__text {
	font-size: 16px;
	display: block;
	line-height: 1;
}
@media (min-width: 768px) {
	.uniform__wrapper {
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		gap: 0;
		margin-top: 4vw;
		width: auto;
	}
	.uniform__old {
		flex: 1;
		min-width: 0;
		padding-left: 6vw;
		position: relative;
	}
	.uniform__new {
		flex: 3.2;
		min-width: 0;
		padding-left: 6vw;
		position: relative;
	}
	.uniform__caption {
		position: absolute;
		margin-top: 1em;
		z-index: 1;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
		text-align: center;
	}
	.uniform__year {
		text-align: center;
		font-family: var(--en-font);
		font-size: 5em;
		line-height: 1;
	}
	.uniform__ast {
	}
	.uniform__text {
		font-size: 16px;
	}
}

.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;
}

.simple-swiper .swiper-slide {
	width: 100px; /* ← ここで好きな幅を指定。横長でもOK */
}

.lyrics-wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.lyrics-wrapper p::first-line {
	color: var(--main-light);
}

.basic_data dt {
	border-bottom: 1px solid var(--main);
	padding-bottom: 0.5em;
	margin-bottom: 0.5em;
}
.basic_data dd + dt {
	margin-top: 1em;
}
.basic_data dd {
	font-size: 0.9em;
}

@media (max-width: 768px) {
	.basic_data__symbol {
		display: block;
		width: 50%;
		margin-inline: auto;
		margin-top: 2em;
	}
}

.feature {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.feature__body {
	padding: 50px 0;
}
.heading-feature {
	display: block;
	width: fit-content;
	margin-inline: auto;
	position: relative;
}
.heading-feature span {
	font-size: 2em;
	color: var(--main);
	font-weight: 700;
}
.heading-feature::before {
	content: attr(data-en);
	display: block;
	font-family: var(--en-font);
	text-transform: capitalize;
	color: var(--main-light);
	line-height: 1;
	text-align: center;
	font-size: 2em;
}
.feature__desc {
	margin-top: 2em;
}

.feature__image {
	width: 100%;
	min-width: 0;
	aspect-ratio: 3 / 2;
	/* overflow: hidden; */
}
.feature__image .swiper-slide {
	aspect-ratio: 3 / 2;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.feature__image img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.feature__image .swiper-pagination {
	margin-top: 0;
}
@media (min-width: 768px) {
	.feature {
		flex-direction: row;
		gap: 20px;
	}
	.feature:nth-child(even) {
		flex-direction: row-reverse;
	}
	.feature__body {
		padding: 50px 30px;
		flex: 1;
	}

	.feature__image {
		flex: 1;
		transform: rotate(2deg);
	}
	.feature:nth-child(even) .feature__image {
		transform: rotate(-2deg);
	}
}

.message__wrapper {
	position: relative;
}
.message__body {
}
.heading-lines {
	text-align: center;
	font-weight: 600;
	font-size: 1.5em;
	color: var(--main-light);
}
.img-motto {
	max-width: 600px;
	margin-inline: auto;
	margin-top: 40px;
	position: relative;
	left: 20px;
}
.letter-text {
	padding-inline: 1em;
}

@media (min-width: 768px) {
	.message__body {
		width: 70%;
	}
	.heading-lines {
		text-align: left;
		font-weight: 600;
		font-size: 1.5em;
	}
	.img-motto {
		max-width: none;
		width: 60%;
		margin-inline: auto;
		margin-top: 40px;
		left: auto;
		bottom: 0;
		right: 0;
		position: absolute;
		transform: translate(50%, 0%);
	}
}

.last-message {
	background-color: rgba(255, 255, 255, 1);
	padding-block: 6em;
	margin-inline: auto;
	max-width: 800px;
}
.last-massage__pict {
	width: 80%;
	max-width: 400px;
	margin-inline: auto;
	margin-top: 80px;
}

.memory-list .card__image {
	position: relative;
	text-align: center;
}
.memory-list .card img,
.memory-list .card .card__ttl {
	transition: 0.3s;
}
.memory-list .card:hover img {
	transform: scale(1.05);
}
.memory-list .card:hover .card__ttl {
	text-shadow: 0 0 3px #ffffff;
}
.message-modal .card__image {
	position: relative;
	left: 20px;
}

.memory-list .card__image img,
.message-modal .card__image img {
	object-fit: contain;
	aspect-ratio: auto;
	width: 100%;
	height: auto;
}
@media (max-width: 768px) {
	.message-modal .card {
		text-align: center;
	}
	.message-modal .card__image img {
		width: 70%;
	}
}

.memory-list .card__ttl,
.message-modal .card__ttl {
	text-align: center;
}

.message-modal {
	background: url(./img/common/skin-bg.webp);
	background-size: cover;
	background-position: center;
	color: var(--white);
	display: none;
}
.glightbox-container .message-modal {
	display: flex !important; /* or flex / block 好きなやつ */
	align-items: center;
	gap: 40px;
}
@media (min-width: 768px) {
	.glightbox-container .message-modal {
		gap: 80px;
	}
}

/* スクロールする要素 */
.message-modal {
	overflow: auto;
	scrollbar-gutter: stable; /* 可能ならレイアウトのガタつき防止（対応ブラウザのみ） */
}

/* Firefox 用 */
.message-modal {
	scrollbar-width: thin; /* thin | auto | none */
	scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* Chrome / Edge / Safari 用（WebKit系） */
.message-modal::-webkit-scrollbar {
	width: 8px; /* 縦スクロールバーの太さ */
}
.message-modal::-webkit-scrollbar-track {
	background: transparent; /* トラックは目立たせない */
}
.message-modal::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.22); /* つまみ */
	border-radius: 999px;
	border: 2px solid transparent; /* 透明ボーダーで“細く見せる” */
	background-clip: content-box; /* ボーダー分を削ってさらに控えめに */
}
.message-modal::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.35); /* ホバー時だけ少し濃く */
}

/* PCのみ */
@media (min-width: 768px) {
	/* message-modal を含む inline スライドだけ狙う */
	.glightbox-container .gslide-inline:has(.message-modal) {
		width: 100vw !important;
		max-width: 100vw !important;
		height: 100vh !important;
		max-height: 100vh !important;
	}

	/* 外枠〜メディア領域まで「縦100vh」を伝播させる（ここが重要） */
	.glightbox-container .gslide-inline:has(.message-modal) .ginner-container,
	.glightbox-container .gslide-inline:has(.message-modal) .gslide-inner-content,
	.glightbox-container .gslide-inline:has(.message-modal) .gslide-media,
	.glightbox-container .gslide-inline:has(.message-modal) .gslide-inline,
	.glightbox-container .gslide-inline:has(.message-modal) .gslide-inline-content {
		width: 100vw !important;
		max-width: 100vw !important;
		height: 100vh !important;
		max-height: 100vh !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* 伸びた領域に中身を「引き伸ばしてはめる」 */
	.glightbox-container .gslide-inline:has(.message-modal) .gslide-media {
		align-items: stretch !important; /* 中央寄せを解除して縦に伸ばす */
	}

	/* あなたの article も全高に */
	.glightbox-container .gslide-inline:has(.message-modal) .message-modal {
		width: 100% !important;
		height: 100% !important;
		max-height: 100% !important;
	}

	/* 長文は右カラムだけスクロール */
	.glightbox-container .gslide-inline:has(.message-modal) .message-modal .richtext {
		height: auto;
		max-height: 600px;
		overflow-y: auto !important;
		padding-right: 10px;
	}
	.message-modal {
		background: url(./img/common/skin-bg.webp);
		background-size: cover;
		background-position: center;
		color: var(--white);
		max-width: none !important;
	}
	.glightbox-container .message-modal {
		display: flex !important; /* or flex / block 好きなやつ */
		padding: 80px;
		align-items: center;
	}
	.glightbox-container .card {
		height: auto;
	}
}

.js-parallax-box {
	position: absolute; /* 必要なら */
	/* overflow: hidden; は今回は不要なら入れなくてOK */
}

.js-parallax-child {
	will-change: transform;
}
.chr1 {
	width: 12%;
	bottom: 10%;
	left: 0;
	z-index: 999;
	pointer-events: none;
}
.chr2 {
	width: 10%;
	top: 8%;
	right: 0;
	z-index: 999;
	pointer-events: none;
}
.chr3 {
	width: 100%;
	bottom: 15%;
	right: 0;
	z-index: 998;
	pointer-events: none;
}
.chr4 {
	width: 20%;
	top: 5%;
	right: 0;
	z-index: 999;
	pointer-events: none;
}

.heading-etc-club {
	font-size: 1.1em;
	font-weight: 600;
	text-align: center;
	display: flex;
	align-items: center;
	gap: 20px;
	white-space: nowrap;
	color: var(--main-light);
}
.heading-etc-club:before,
.heading-etc-club:after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: var(--silver);
}
.etc-club-list {
	text-align: center;
}

.heading-last-message {
	font-size: 3.5em;
	color: #444;
}
.heading-last-message span {
	font-family: var(--en-font);
	color: var(--main);
	display: block;
}

.trophy-swiper {
	width: auto;
	margin-inline: calc(50% - 50vw);
	margin-top: 40px;
}

.js-loop-swiper {
	/* overflow: hidden; */
}

.js-loop-swiper .swiper-wrapper {
	transition-timing-function: linear;
	display: flex;
	align-items: flex-end;
}

.js-loop-swiper .swiper-slide {
	width: calc((100% - 36px) / 8);
}

.js-loop-swiper .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
}
.trophy-swiper .swiper-slide img {
	filter: saturate(0);
	transform-origin: bottom center;
	transition: 0.3s;
}
.trophy-swiper .swiper-slide img:hover {
	filter: saturate(1);
	scale: 1.2;
}

@media screen and (min-width: 769px) {
	.js-loop-swiper .swiper-slide {
		width: calc((100% - 156px) / 28);
	}
}

/* 壁紙ダウンロード */
.download-bg {
	position: relative;
}

.name {
	margin-top: 0.5em;
	width: clamp(150px, calc((100vw - 768px) * 1.506 + 150px), 200px);
}

.school-visual {
	position: relative;
	width: 100%;
	height: 55vw;
	max-height: 520px;
	margin: 0 auto;
	overflow: clip;
}
.school-visual::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--main);
	opacity: 0.6;
}

.school-visual__video {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	display: block;
	width: 100%;
	height: auto;
}
