@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#slide {
	position: relative;
}
#slide::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -15vw;
	width: 100%;
	height: 30vw;
	background: url("../img/top/bg-title-bottom.png") no-repeat left bottom / 100% auto;
	z-index: -1;
}
#top_ttl img {
	width: 100%;
}
/**/
#top_classroom::before {
	background: url("../img/bg-kumo.png") no-repeat center / 90vw auto;
	top: -550px;
	left: -64vw;
}
#top_classroom .txt {
	font-size: 27px;
	line-height: 1.4;
	margin-top: 40px;
}
#top_classroom .link {
	margin-top: 3em;
}
#top_classroom .link a {
	display: inline-block;
	color: var(--color-primary);
	font-size: 130%;
}
#top_classroom .link a span {
	position: relative;
	display: block;
}
#top_classroom .link a span::after {
	display: block;
	width: 80px;
	height: 42px;
	margin: 8px auto 10px;
	background: url("../img/top/arow.png") no-repeat center center / contain;
	content: "";
}
#top_classroom .link img {
	box-shadow: 3px 3px 7px rgba(199,178,153,0.8);
	margin-bottom: 20px;
}
#top_classroom .list::before {
	top: 0;
	left: auto;
	right: -47vw;
	background: url("../img/bg-kumo.png") no-repeat center top / 90vw auto;
}
#top_classroom .list::after {
	background: url("../img/top/bg-leef.png") no-repeat left bottom / 55% auto;
}
#top_classroom .list .box:not(:last-of-type) {
	margin-bottom: 100px;
}
#top_classroom .list .box .ttl {
	width: 350px;
	height: 193px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url("../img/top/waku.png") no-repeat;
	text-align: center;
	font-size: 42px;
	line-height: 1.2;
	font-weight: 800;
}
#top_classroom .list .box .info {
	width: calc(100% - 400px);
}
#top_classroom .list .box .info dl {
	margin-bottom: 40px;
}
#top_classroom .list .box .info dl dt {
	color: var(--color-primary);
	font-size: 32px;
	font-weight: 500;
	margin-bottom: 20px;
}
#top_classroom .list .box .info dl dd {
	font-size: 27px;
}
#top_classroom .list .box .info .more {
	font-size: 110%;
	text-align: right;
}
#top_classroom .list .box .info .more a {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	padding: 10px 20px;
	line-height: 1;
	border: 1px solid var(--color-primary);
	font-size: 32px;
	color: var(--color-primary);
	box-shadow: 3px 3px 0 var(--color-primary);
	margin-left: 20px;
	background: #fff;
}
/**/
#top_menu::before {
	background: #fffade url("../img/slash.png");
}
#top_menu ul {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(2, 400px);
	gap: 80px 0;
	width: 900px;
	margin: 0 auto;
}
#top_menu ul li {
	text-align: center;
}
#top_menu ul li a {
	font-size: 110%;
}
#top_menu ul li a img {
	margin-top: 10px;
	box-shadow: 3px 3px 7px rgba(199,178,153,0.8);
}
#top_insta::before {
	background: url("../img/top/bg01.png") no-repeat left top;
}
#top_insta h3 {
	font-size: 53px;
	color: #534741;
	margin-bottom: 50px;
}
#top_insta h3 img {
	width: 40px;
}
#top_insta .dummy {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(4, 250px);
	gap: 40px 0;
}
#top_insta .dummy li {
	height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #c9caca;
	text-align: center;
}
/**/
#top_info .img {
	width: 450px;
	text-align: center;
	font-size: 110%;
}
#top_info .img a {
	font-weight: 500;
}
#top_info .list {
	width: 600px;
	font-size: 110%;
}
#top_info .list dl {
	padding: 14px 0;
	border-bottom: 1px dashed #ccc;
}
#top_info .list dl dd a {
	color: #2C75AD;
	text-decoration: underline;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 120px;
	}
	#top_info dd {
		width: calc(100% - 120px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_classroom .txt {
		font-size: 20px;
	}
	#top_classroom .list .box .ttl {
		width: 240px;
		height: 140px;
		background-size: 100% auto;
		font-size: 27px;
	}
	#top_classroom .list .box .info {
		width: calc(100% - 270px);
	}
	#top_classroom .list .box .info dl {
		margin-bottom: 15px;
	}
	#top_classroom .list .box .info dl dt {
		font-size: 25px;
		margin-bottom: 5px;
	}
	#top_classroom .list .box .info dl dd {
		font-size: 19px;
	}
	#top_classroom .list .box .info .more span {
		display: block;
		margin-bottom: 5px;
	}
	#top_classroom .list .box .info .more a{
		font-size: 24px;
		padding: 5px 10px;
	}
	#top_menu ul {
		width: 100%;
		grid-template-columns: repeat(2, 49%);
		gap: 20px 0;
	}
	#top_insta h3 {
		font-size: 30px;
		margin-bottom: 20px;
	}
	#top_insta .dummy {
		grid-template-columns: repeat(4, 24%);
	}
	#top_insta .dummy li {
		height: 22vw;
	}
	#top_info .img {
		width: 280px;
	}
	#top_info .more {
		margin-bottom: 5px;
	}
	#top_info .list {
		width: calc(100% - 300px);
		font-size: 100%;
	}
	#top_info .list dl {
		padding: 10px 0;
	}
	#top_info dt {
		width: 100px;
	}
	#top_info dd {
		width: calc(100% - 100px);
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_classroom .txt {
		font-size: 18px;
		margin-top: 15px;
	}
	#top_classroom .link a {
		font-size: 120%;
	}
	#top_classroom .link a span::after {
		height: 32px;
	}
	#top_classroom .link a img {
		width: 85%;
	}
	#top_classroom .list::before {
		background-position: center center;
	}
	#top_classroom .list::after {
		background: url("../img/top/bg-leef.png") no-repeat left bottom,
			 url("../img/top/bg-leef2.png") no-repeat left top;
		background-size: 85% auto, 100% auto;
	}
	#top_classroom .list .box:not(:last-of-type) {
		margin-bottom: 60px;
	}
	#top_classroom .list .box .ttl {
		width: 230px;
		height: 130px;
		margin: 0 auto;
		font-size: 25px;
	}
	#top_classroom .list .box .info {
		width: 100%;
	}
	#top_classroom .list .box .info dl dt {
		font-size: 22px;
		margin-bottom: 0;
	}
	#top_classroom .list .box .info dl dd {
		font-size: 115%;
	}
	#top_classroom .list .box .info .more a {
		margin-left: 0;
		font-size: 22px;
	}
	#top_insta h3 {
		font-size: 25px;
	}
	#top_insta h3 img {
		width: 30px;
	}
	#top_insta .dummy {
		gap: 10px 0;
		grid-template-columns: repeat(2, 48%);
	}
	#top_insta .dummy li {
		height: 43vw;
	}
	#top_info .img {
		margin: 0 auto 10px;
	}
	#top_info .list {
		width: 100%;
	}
	#top_info dd {
		width: 100%;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#top_classroom .txt {
		font-size: 17px;
	}
	#top_menu ul li a {
		font-size: 13px;
	}
}
