@charset "utf-8";
/*==================================================
	【サブ】ページ固有のスタイル
==================================================*/
#school::before {
	background: url("../img/school/bg.png") no-repeat top 380px right;
}
#school .list {
	justify-content: center;
	position: relative;
	z-index: 2;
}
#school .list .box {
	width: 350px;
	border: 1px solid #f1eadf;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 50px;
}
#school .list .box:nth-of-type(2), #school .list .box:nth-of-type(5) {
	margin: 0 25px 50px;
}
#school .list .box:nth-of-type(8), #school .list .box:nth-of-type(11) {
	margin-right: 25px;
}
#school .list .box h4 {
	background: url("../img/school/bg-caption.png") no-repeat center / cover;
	font-size: 24px;
	font-weight: normal;
	padding: 25px 0;
}
#school .list .box .in {
	padding: 35px;
}
#school .list .box .in .img {
	margin-bottom: 25px;
	text-align: center;
}
#school .list .box .in .img img {
	border-radius: 20px;
}
#school .list .box .in .txt {
	font-size: 110%;
	font-family: var(--font-mei);
}
#school .list .break {
	flex-basis: 100%;
	height: 0;
	margin-top: -25px;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#school::before {
		background-size: 30% auto;
	}
	#school .list {
	}
	#school .list .box {
		width: 32%;
		margin-bottom: 20px;
	}
	#school .list .box:nth-of-type(2), #school .list .box:nth-of-type(5) {
		margin: 0 2% 20px;
	}
	#school .list .box:nth-of-type(8), #school .list .box:nth-of-type(11) {
		margin-right: 2%;
	}
	#school .list .box h4 {
		padding: 15px 0;
		font-size: 16px;
	}
	#school .list .box .in {
		padding: 15px 10px;
	}
	#school .list .box .in .img {
		margin-bottom: 10px;
	}
	#school .list .box .in .txt {
		font-size: 100%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#school .list .box {
		width: 100%;
		margin: 0 0 15px;
	}
	#school .list .box:nth-of-type(2), #school .list .box:nth-of-type(5),
	#school .list .box:nth-of-type(8), #school .list .box:nth-of-type(11) {
		margin: 0 0 15px;
	}
	#school .list .box h4 {
		padding: 10px 0;
	}
	#school .list .break {
		display: none;
	}
	#school .list .box .in {
		padding: 10px;
	}
}