@import url('/common/css/eduzine/rensai.css');

#head{margin-bottom: 10px;}
.article_bg{background: url('/common/img/eduzine/bg/body_index.jpg') repeat-x;}
body.article_bg{background-position: left 90px;}
.contentstitle_h1{
	background: url('/common/img/eduzine/titlebar/h1_pe4class.png?v=2') no-repeat center;
	margin-bottom: 0;
	height: 90px;
	border-bottom: 0;
}
.contentsleadtext{
	color: #4160b5;
	text-align: center;
	padding-top: 0;
	font-weight: bold;
}
.article_detail .maintext {
	overflow: visible;
	margin-top: -20px;
}
.article_detail .maintext > div.lead {
	color: #104b95;
	font-size: 20px;
	font-weight: bold;
	line-height: 160%;
	background-color: #fff;
	top: 18px;
	left: 30px;
	position: relative;
	padding: 0 0.5em;
	display: inline-block;
}
.article_detail .maintext > div.lead:before {
	content: '';
}
.article_detail .maintext > div.lead + .strong {
	margin: 0 0 1.5em;
	padding-top: 1em;
	border: 3px double #104b95;
}
.article_detail .maintext > div.lead + .strong p {
	margin-top: 0.5em !important;
	margin-bottom: 0.5em !important;
	line-height: 160%;
}
.article_detail .maintext h3 {
	background: #80b5ff;
	color: #fff;
	font-size: 20px;
	text-shadow: 1px 1px 3px #333;
	padding: 0.5em 0.5em 0.4em 0.5em;
	margin-top: 2em;
	line-height: 150%;
	border-radius: 5px;
}
.article_detail .maintext h3 span {display: inline-block;}
.article_detail .maintext h3 span.h3_point:after {content: 'F';}

/* pc */
.article_detail .maintext .remark {
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 0 1em 1em 1em;
	line-height: 180%;
	border: 1px dotted #ccc;
}

.article_detail .maintext > .talkblock {
	position: relative;
	margin-right: 80px;	/* connected */
	padding: 1em 1em 0.8em 1em;
/*	text-indent: 1em;	*/
	border-radius: 10px;
	min-height: 60px;
}
.article_detail .maintext > .talkblock:after {
	content: '';
	position: absolute;
	top: 20px;
	right: -20px;	/* connected */
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 5px solid transparent;
}
.article_detail .maintext > .talkblock:before {
	position: absolute;
	top: 0;
	right: -80px;	/* connected */
	width: 60px;
	height: 100px;
	text-align: center;
	text-indent: 0;
	line-height: 170px;
	font-size: 70%;
	color: #713800;
}
.article_detail .maintext > .talkblock .article_text {margin-top: 0; font-size: 90%; line-height: 160%;}
.article_detail .maintext > .ym_a_2 {background-color: #e6f2ff;}
.article_detail .maintext > .ym_a_2:after {border-left: 20px solid #e6f2ff;}
.article_detail .maintext > .ym_a_2:before {content: '搶'; background: transparent url('/db/eduzine/pe4class/face01.png') no-repeat top center; line-height: 180px;}

.article_detail .maintext .proverb {
	position: relative;
	color: #fff;
	text-shadow: 1px 1px 3px #333;
	font-weight: bold;
	background-color: #80b5ff;
	border-radius: 10px;
	box-shadow: 1px 1px 2px #ccc;
	line-height: 150%;
	padding: 1em 120px 1em 1em;
	margin-top: 50px;
	margin-bottom: 50px;
}
.article_detail .maintext .proverb > * {
	line-height: 140%;
	vertical-align: top;
}
.article_detail .maintext .proverb > h3 {
	background-color: #fff;
	color: #ff8b80;
	display: inline-block;
	border-radius: 5px;
	margin-top: 0;
	margin-right: 0.5em;
	margin-bottom: 0.5em;
	padding: 0.1em 0.3em 0 0.3em;
	text-shadow: none;
	font-size: 18px;
}
.article_detail .maintext .proverb > h3:before {
	content: '';
}
.article_detail .maintext .proverb > h3 + p {
	display: inline-block;
	margin-top: 0;
	padding: 0;
	font-size: 23px;
}
.article_detail .maintext .proverb:after {
	display: inline-block;
	position: absolute;
	bottom: -30px;
	right: -15px;
	content: url('/db/eduzine/pe4class/face02.png');
}

.author_profile{ background-color: #e6f2ff; padding-top: 15px;}
.text-center {text-align: center;}



/* sp */
body #container .article_bg {padding-top: 0 !important;}
body #container .article_bg .contentstitle_h1 {
/*	background: url('/common/img/eduzine/titlebar/h1_pe4class_mobile.png'), linear-gradient(to right,  #0190dc 0%,#0190dc 50%,#d3edfa 51%,#d3edfa 100%);
	background: url('/common/img/eduzine/titlebar/h1_pe4class_mobile.png'), -webkit-gradient(linear, left top, right top, color-stop(0%,#0190dc), color-stop(50%,#0190dc), color-stop(51%,#d3edfa), color-stop(100%,#d3edfa));	*/
	background-image: url('/common/img/eduzine/titlebar/h1_pe4class_mobile.png?v=2');
	background-color: #80b5ff;
	background-repeat: no-repeat, no-repeat;
	background-position: center center, center center;
	background-size: contain !important;
	min-width: 345px;
	height: 65px;
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
	border-bottom: none;
/*	border-left: 2px solid #e65224 !important;
	border-right: 2px solid #e65224 !important;
	border-top: 2px solid #e65224 !important;
*/
}
body .article_bg .contentsleadtext{color: #4160b5;height: auto;margin:0 10px 10px 10px;text-indent: 0;line-height: 1.25;}

body .article_bg .article_detail .maintext > div.lead {
	left: 10px;
	white-space: nowrap;
}


/* add */
.maintext .img-wrap {font-size: 0; padding-top: 10px; padding-bottom: 10px;}
.maintext .img-wrap.border {border: 1px solid #ccc;}
.maintext .img-wrap * {font-size: 16px;}
body .article_bg .article_detail .maintext * {font-size: 14px;}
.maintext .img-wrap .img-title {font-weight: bold; margin-bottom: 0.5em;}
.maintext .img-wrap .img-inline-block {display: inline-block; vertical-align: top;}
@media screen and (max-width: 600px) {
	body .article_bg .article_detail .maintext .img-wrap .img-inline-block + .img-inline-block {border-top: 1px dotted #333; margin-top: 5px; padding-top: 5px;}
}
.maintext .img-wrap .img-inline-block img {display: block; margin: 5px;}
.maintext .img-wrap .img-caption {font-size: 14px;}
body .article_bg .article_detail .maintext .img-wrap .img-caption {font-size: 12px;}

