@charset "UTF-8";
/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
/*index: メディアクエリー*/
/* スマホファースト：sp・PCファースト：pc*/
/* 切り替えポイントの設定 */
/* 処理 */
/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/

#educational .container{
	padding: 5em 0;
	box-sizing: border-box;
	width: 90%;
	margin: 0 auto;
}
#educational .container .point-flex{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
#educational .container .point-flex .text{
	width: 50%;
}
#educational .container .point-flex .text h2{
	color: #006953;
	font-size: 2rem;
	font-weight: bold;
}
#educational .container .point-flex .text p{
	margin-top: 1rem;
}
#educational .container .point-flex .img{
	width: 45%;
}

@media only screen and (max-width: 750px) {
	#educational .container{
		max-width: 1270px;
		width: 90%;
		padding: 30px 0;
		margin: 0 auto;
		position: relative;
	}
	#educational .container .point-flex .text{
		width: 100%;
	}
	#educational .container .point-flex .text h2{
		font-size: 1.5rem;
	}
	#educational .container .point-flex .img{
		width: 100%;
		margin-top: 30px;
	}
}



#educational .container .motto{
	margin: 200px auto auto;
}
#educational .container .motto h2{
	color: #006953;
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
}
#educational .container .motto .motto-flex{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 50px auto auto;
}
#educational .container .motto .motto-flex .box{
	width: calc(100%/3 - 40px);
	margin: 0 20px 40px;
	padding: 2%;
	box-sizing: border-box;
	position: relative;
	display: flex;
}
#educational .container .motto .motto-flex .box::before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	right: -10px;
	bottom: -10px;
}
#educational .container .motto .motto-flex .box01{
	background: linear-gradient(#008675, #8dc09f);
}
#educational .container .motto .motto-flex .box01::before{
	background: linear-gradient(0deg, #008675, #8dc09f);
}
#educational .container .motto .motto-flex .box02{
	background: linear-gradient(#0097e0, #b2daf0);
}
#educational .container .motto .motto-flex .box02::before{
	background: linear-gradient(0deg, #0097e0, #b2daf0);
}
#educational .container .motto .motto-flex .box03{
	background: linear-gradient(#ef8b1e, #f0ca42);
}
#educational .container .motto .motto-flex .box03::before{
	background: linear-gradient(0deg, #ef8b1e, #f0ca42);
}
#educational .container .motto .motto-flex .box04{
	background: linear-gradient(#ff0000, #f1926d);
}
#educational .container .motto .motto-flex .box04::before{
	background: linear-gradient(0deg, #ff0000, #f1926d);
}
#educational .container .motto .motto-flex .box05{
	background: linear-gradient(#ff7ba4, #d1d821);
}
#educational .container .motto .motto-flex .box05::before{
	background: linear-gradient(0deg, #ff7ba4, #d1d821);
}
#educational .container .motto .motto-flex .box06{
	background: linear-gradient(#0097e0, #009adc);
}
#educational .container .motto .motto-flex .box06::before{
	background: linear-gradient(0deg, #85d0f4, #b2daf0);
}
#educational .container .motto .motto-flex .box a{
	text-decoration: none;
	display: flex;
	flex-direction: column;
}
#educational .container .motto .motto-flex .box .logo{
	width: 60%;
	margin: auto;
}
#educational .container .motto .motto-flex .box .name{
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 1em;
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
#educational .container .motto .motto-flex .box .waku{
	background-color: #fff;
	text-align: center;
	padding: 10px 5px;
	box-sizing: border-box;
	display: block;
	width: 90%;
	margin: 10px auto auto;
	text-decoration: none;
	font-weight: bold;
}
#educational .container .motto .motto-flex .box01 .wakua{
	color: #008a45;
}
#educational .container .motto .motto-flex .box02 .waku{
	color: #3fa1ed;
}
#educational .container .motto .motto-flex .box03 .waku{
	color: #ef8b1e;
}
#educational .container .motto .motto-flex .box04 .waku{
	color: #ff0000;
}
#educational .container .motto .motto-flex .box05 .waku{
	color: #ff7ba4;
}
#educational .container .motto .motto-flex .box06 .waku{
	color: #3fa1ed;
}
#educational .container .motto .motto-flex .box a:hover{
	opacity: 1;
}
#educational .container .motto .motto-flex .box .waku span{
	padding-right: 40px;
	position: relative;
	display: block;
	font-size: .8em;
}
#educational .container .motto .motto-flex .box .waku span::after{
	position: absolute;
	content: "";
	width: 30px;
	height: 20px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	top: 0;
	bottom: 0;
	right: 5px;
	margin: auto;
	transition: all .5s;
}
#educational .container .motto .motto-flex .box a:hover span::after{
	right: 0;
}
#educational .container .motto .motto-flex .box01 a span::after{
	background-image: url(../img/arrow01.png);
}
#educational .container .motto .motto-flex .box02 a span::after{
	background-image: url(../img/arrow02.png);
}
#educational .container .motto .motto-flex .box03 a span::after{
	background-image: url(../img/arrow03.png);
}
#educational .container .motto .motto-flex .box04 a span::after{
	background-image: url(../img/arrow04.png);
}
#educational .container .motto .motto-flex .box05 a span::after{
	background-image: url(../img/arrow05.png);
}
#educational .container .motto .motto-flex .box06 a span::after{
	background-image: url(../img/arrow06.png);
}

@media only screen and (max-width: 750px) {
	#educational .container .motto{
		margin: 80px auto auto;
	}
	#educational .container .motto h2{
		font-size: 1.2rem;
	}
	#educational .container .motto .motto-flex{
		margin: 20px auto auto;
	}
	#educational .container .motto .motto-flex .box{
		width: calc(100% / 2 - 20px);
		margin: 0 10px 25px;
		padding: 2% 2% 5%;
		display: flex;
	}
	#educational .container .motto .motto-flex .box::before{
		right: -5px;
		bottom: -5px;
	}
	#educational .container .motto .motto-flex .box .name{
		font-size: .8em;
	}
	#educational .container .motto .motto-flex .box .waku{
		font-size: .8em;
		padding: 10px 5px;
	}
	#educational .container .motto .motto-flex .box .waku span{
		padding-right: 20px;
	}
	#educational .container .motto .motto-flex .box .waku span::after{
		width: 15px;
		height: 10px;
		right: 2px;
	}
}














