@charset "UTF-8";
main{
	background-image: url(../img/bg_repeat.png);
}
main h2{
	background-image: url(../img/bg_line.png);
}
main h3{
	color: #ec6584;
}
main h3 span{
	display: block;
	margin-top: 10px;
	color: #000;
	font-size: 2rem;
}
main h4{
	margin: 100px 0 60px;
	padding: 15px;
	border: 14px solid transparent;
	-webkit-border-image: url(../img/sub_title_bg.png) 14 repeat;
	-moz-border-image: url(../img/sub_title_bg.png) 14 repeat;
	-o-border-image: url(../img/sub_title_bg.png) 14 repeat;
	border-image: url(../img/sub_title_bg.png) 14 fill repeat;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #ee859d;
	font-weight: bold;
	font-size: 2.2rem;
	text-align: center;
}

#side ul li.current{
	background-color: rgba(236, 101, 132, 0.2);
}

main p.deco{
	position: relative;
	padding: 25px;
	border: 3px solid #ffd1dc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	background-color: #ffd1dc;
	color: #444;
	line-height: 1.4;
}
main p.deco:before{
	content: "";
	display: block;
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	border: 2px solid #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.qa{
	margin: 80px 0 50px;
}
.qa h4{
	margin: 0 0 20px;
	padding: 30px 0 30px 100px;
	min-height: 72px;
	border: 0 none;
	background: url(../img/pop_question.png) no-repeat left center;
	color: #444;
	font-size: 2.2rem;
	text-align: left;
}
.qa span{
	display: inline-block;
	margin-right: 1ex;
	font-weight: bold;
	font-size: 1.7rem;
	color: #ee859d;
}

div.frame{
	-webkit-border-image: url(../img/frame.png) 16 repeat;
	-moz-border-image: url(../img/frame.png) 16 repeat;
	-o-border-image: url(../img/frame.png) 16 repeat;
	border-image: url(../img/frame.png) 16 fill repeat;
}

#comment{
	margin-top: 150px;
	min-height: 330px;
}
#comment h4{
	margin: -18% auto 40px;
	padding: 0;
	border: 0 none;
	background: none;
	text-align: center;
}
#comment p{
	position: relative;
	padding-right: 240px;
}
#comment p:after{
	content: "";
	display: inline-block;
	position: absolute;
	right: 0; top: 0;
	width: 200px;
	height: 200px;
	background: url(../img/teacher_yoshioka_face.png) no-repeat center center;
}



@media screen and (max-width: 1023px) {
	main h3 span{
		margin-top: 5px;
		font-size: 1.6rem;
	}
	main h4{
		margin: 50px 0 30px;
		padding: 10px;
		border-width: 10px;
		font-size: 1.4rem;
	}

	main p.deco{
		padding: 15px;
		border-width: 2px;
	}
	main p.deco:before{
		border-width: 1px;
	}

	.qa{
		margin: 40px 0 20px;
	}
	.qa h4{
		margin-bottom: 10px;
		padding: 10px 0 10px 50px;
		min-height: 36px;
		-webkit-background-size: 36px;
		background-size: 36px;
		font-size: 1.6rem;
	}
	.qa span{
		font-size: 1.4rem;
	}

	div.frame{}

	#comment{
		margin-top: 80px;
		min-height: 180px;
	}
	#comment h4{
		margin: -10% auto 20px;
		max-width: 90%;
	}
	#comment h4 img{
		max-height: none;
	}
	#comment p{
		padding-right: 120px;
	}
	#comment p:after{
		right: 0; top: 0;
		width: 100px;
		height: 100px;
		-webkit-background-size: 100px;
		background-size: 100px;
	}
}