@charset "UTF-8";
@media print,
screen and (min-width: 481px) {

	#box3 .inner,
	#box1 .flex {
		display: flex;
		justify-content: space-between;
	}

	#box3 .inner_txt,
	#box1 .flexTxt {
		width: 65%;
		margin-right: 5%;
	}

	#box3 .inner_img,
	#box1 .flexImg {
		width: 30%
	}
}

.flexTxt ul {
	box-sizing: border-box;
	border-left: 4px solid #06c;
	padding-left: 1rem;
	margin: 10px 0;
}

#box3 .inner_txt,
#box1 .flexTxt {
	width: 100%;
	margin-bottom: 15px;
	line-height: 1.7;
}

#box3 .inner_img img,
#box1 .flexImg img {
	width: 100%;
	height: auto;
}

#box1 h2+p {
	width: 430px;
	float: left;
	padding-right: 20px;
}

#box1>img {
	width: 250px;
	height: 170px;
}

#box1 .inner {
	margin-top: 30px;
}

#box1 .inner section:nth-child(n+3) {
	margin-top: 30px;
}

#box1 .inner h4 {
	color: #000066;
	font-size: 1.8rem;
	font-size: 18px;
	font-weight: bold;
	border-bottom: solid 3px #DADAE5;
	position: relative;
}

#box1 .inner h4 .newsign {
	display: inline-block;
	padding: 3px 5px 2px;
	margin-left: 1rem;
	background-color: red;
	color: white;
	font-size: 1rem;
}

#box1 .inner h4:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #000066;
	bottom: -3px;
	width: 26%;
}

#box1 .inner h4+p {
	margin: 10px 0;
	font-weight: bold;
	color: #000066;
}

#box1 .teacher {
	border: 1px solid #BDBDC8;
	box-sizing: border-box;
	margin-top: 30px;
}

#box1 .teacher div {
	padding: 15px 0 20px 30px;
	float: left;
}

#box1 .teacher h5 {
	width: 100px;
	text-align: center;
	color: #FFF;
	background-color: #96b637;
	border-radius: 50px;
	padding: 3px 0 2px;
	margin: -12px 0 0 10px;
	z-index: 100;
}

#box1 .teacher .name {
	font-size: 1.4rem;
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px dotted #b7b7b7;
	margin-bottom: 10px;
	padding-bottom: 6px;
}

#box1 .teacher .text {
	text-align: justify;
}

#box1 .teacher img {
	width: 200px;
	height: auto;
	float: right;
	margin: 15px 25px 20px 0;
}

#box1 .osusume {
	border: 1px solid #BDBDC8;
	box-sizing: border-box;
	margin-top: 30px;
}

#box1 .osusume div {
	padding: 10px 0 10px 25px;
	float: left;
}

#box1 .osusume h5 {
	width: 150px;
	text-align: center;
	color: #FFF;
	background-color: #EB72B8;
	border-radius: 50px;
	padding: 3px 0 2px;
	margin: -12px 0 0 10px;
	z-index: 100;
}

#box1 .osusume .name {
	font-size: 1.4rem;
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px dotted #b7b7b7;
	margin-bottom: 10px;
	padding-bottom: 6px;
}

#box1 .osusume .text {
	text-align: justify;
}

@media print,
screen and (min-width: 481px) {
	#box1 .teacher div {
		width: 410px;
	}
}

@media screen and (max-width: 480px) {
	#box1 h2+p {
		width: 100%;
		float: none;
		padding-right: 0;
	}

	#box1>img {
		width: 100%;
		height: auto;
		margin-top: 15px;
	}

	#box1 .inner h4:after {
		width: 50%;
	}

	#box1 .teacher {
		width: 100%;
	}

	#box1 .teacher div {
		padding: 10px 20px 20px;
		float: none;
		z-index: 0;
	}

	#box1 .teacher img {
		width: 40%;
		height: auto;
		float: right;
		z-index: 1;
		position: relative;
		margin: 10px 20px 10px 20px;
	}

	#box1 .osusume div {
		padding: 10px 20px 20px;
		float: none;
	}
}