@charset "utf-8";
/* CSS Document */
/* =======================================

	teacher.css

========================================== */
.teacher_menu{
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

.teacher_menu li{
	margin: 0 10px;
	width: 200px;}

.teacher_menu li a{
	position: relative;
	display: block;
	padding:20px 20px;
	background-color: #fff;
	border: 1px solid #81b300;
	color: #222;
	font-weight: bold;
	font-size: 110%;
	text-decoration: none;
	text-align: center;
}
.teacher_menu li a::after{
	position:absolute;
	content: "";
	left: 50%;
	bottom: -5px;
	margin-left: -6px;
	width: 0;
	height: 0;
	box-sizing: border-box;
	border: 8px solid transparent;
	border-top: 10px solid #81b300;
	transition: all .2s;
	}


.teacher_menu li:nth-child(2) a{border: 1px solid #f365a7;}
.teacher_menu li:nth-child(3) a{border: 1px solid #18ccff;}

.teacher_menu li:nth-child(2) a::after{border-top: solid 10px #f365a7;}
.teacher_menu li:nth-child(3) a::after{border-top: solid 10px #18ccff;}

.teacher_menu li a:hover{color: #81b300;}
.teacher_menu li:nth-child(2) a:hover{color:#f365a7;}
.teacher_menu li:nth-child(3) a:hover{color:#18ccff;}

.teacher_menu li a:hover::after{bottom: -13px;}

.teacher_ttl{
	margin: 0 0 20px 0 ;
	padding: 10px 15px;
	color: #222;
	font-size: 110%;
	border-left: solid 8px #c1da80;
}

.teacher_ttl.language{border-left: solid 8px #f365a7;}
.teacher_ttl.math{border-left: solid 8px #18ccff;}


.teacher_list{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 40px;
	margin: 50px 0;
}

.teacher_list .item{
	background-color: #fff;
	border: 1px solid #eee;
}

.teacher_list .item .message{
	padding: 1em;
	background-color: #019fe8;
	color: #fff;
	font-weight: bold;
	font-size: 110%;
}
.teacher_list .item .textBlock{
	padding: 1.5em;
}
.teacher_list .item .name{
	margin-bottom: 20px;
	font-size: 110%;
}


@media screen and (max-width: 1200px) {
	.teacher_list{
		gap: 30px;
	}
}

@media screen and (max-width: 768px) {


}

@media screen and (max-width: 599px) {
	.teacher_list{
		grid-template-columns: repeat(1,1fr);
		gap: 20px;
		margin: 30px 0;
	}
}


