@charset "utf-8";
/*==================================================
	【教室紹介・アクセス】ページ固有のスタイル
==================================================*/
#school .box_grid{
	display: grid;
	grid-template-columns: repeat(2,48%);
	justify-content: space-between;
	gap:0;
	background: url("../img/grade.png") repeat-x top left;
	padding: 70px 0;
}
#school .box_grid div {
	background: rgba(94, 0, 231, 0.1) url(../img/top/slash.png);
}
#school .box_grid div h4 {
	text-align: center;
	font-weight: normal;
	font-size: 110%;
	padding: 13px 0;
}
#school .box_grid div p {
	text-align: center;
	font-size: 110%;
	padding: 13px 0;
}
#school .text01 {
	border: 1px solid var(--color-secondary);
	padding: 15px;
}
#school .photo {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(5, 19%);
	gap: 10px 0;
}
#school .photo li img {
	width: 100%;
}
@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 .box_grid{
		padding: 40px 0;
	}
	#school .photo {
		grid-template-columns: repeat(4, 24%);
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#school .box_grid{
		display: block;
		padding: 30px 0 50px;
	}
	#school .box_grid div:nth-child(2n) {
		margin-top: 25px;
	}
	#school .box_grid div h4 {
		font-size: 115%;
	}
	#school .text01 {
		text-align: left;
	}
	#school .photo {
		grid-template-columns: repeat(2, 48%);
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#school .text01 {
		padding: 13px;
	}
}