@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_tfukam.png') no-repeat center;
	margin-bottom: 2px;
	height: 90px;
	border-bottom: 0;
}
.contentsleadtext{
	color: #291200;
	text-align: center;
	padding-top: 0;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: -0.6px;
	margin: 0px 0px 20px;
}

/* pc */
.article_detail .head .articlenumber,
.article_detail .head .articlesubtitle {display: inline-block; font-size: 18px; font-weight: bold; color: #2c0f00;}
.article_detail .head .articlenumber {margin-right: 0.5em;}
.article_detail .maintext .lead_q {
	position: relative;
	margin-left: 90px;
	min-height: 80px;
	padding: 1em 1.5em;
	background-color: #ADE8F5;
	border-radius: 5px;
	margin-bottom: 10px;
}
.article_detail .maintext .lead_q li {
	font-weight: bold;
}
.article_detail .maintext .lead_q p.article_text {
	margin-top: 0;
}
.article_detail .maintext .lead_q:before {
	content: url('/db/eduzine/tfukam/faceicon-1.png');
	position: absolute;
	left: -90px;
	top: 50%;
	transform: translateY(-50%);
}
.article_detail .maintext .lead_q:after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -20px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 20px solid #ADE8F5;
}

.article_detail .maintext .article_q {
	position: relative;
	margin-top: 1em;
	margin-right: 20px;
	padding: 1em;
	background-color: #e6f4fd;
	border-radius: 15px;
}
.article_detail .maintext .article_q:after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -20px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 20px solid #e6f4fd;
}

.article_detail .maintext .article_q p.article_text {
	margin-top: 0;
}
.article_detail .maintext .article_q h3 {
	margin-top: 0;
	color: #ffffff;
	font-size: 18px;
}
.article_detail .maintext .article_q h4 + p.article_text {
	margin-top: 0.5em;
}
.article_detail .maintext .article_summary {
	background-color: #1B8DC3;
	line-height: 1.75;
	padding: 15px;
	margin: 0px 15px 25px;
	border-radius: 10px;
}
.article_detail .maintext .article_summary h3 {
	color: #fff;
	display: inline-block;
	transform: rotate(-10deg);
	font-weight: bold;
	font-size: 21px;
	color: #fff;
	background-color: #F55A21;
	line-height: 100%;
	margin: 0px 0px 0px -21px;
	padding: 0.25em 0.5em 0.1em 0.5em;
	overflow: visible;
}
.article_detail .maintext .article_summary h3:after {
	content: '';
	display: inline-block;
	position: relative;
	vertical-align: middle;
	width: 40px;
	height: 40px;
	top: -2px;
	background-image: url(/db/eduzine/tfukam/icon_light.png);
	background-size: contain;
	margin-left: 10px;
}
.article_detail .maintext .article_summary .summary_txt {
	margin-top: 15px;
	padding: 0.5em 1em;
	color: #fff;
	font-weight: bold;
}

.article_detail .maintext h3.answer{
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	font-size: 24px;
	line-height: 100%;
	color: #000000;
	background: url('/db/eduzine/tfukam/h3_arrow.png') no-repeat left top;
	background-size: auto;
	padding-left: 52px;
	height: 45px;
	border-bottom: solid 10px #4FEAFF;
}

.yellow_box{
	border: 1px solid #ecbf2c;
	background-color:#fffde0;
	color:#381a00;
	margin: 1em;
    padding: 0.5em 1em;
}
.yellow_box p{
	margin-bottom: 1em;
}

.author_profile{background-color: #e6f4fd; padding-top: 15px;}

.caption {font-size: 11px; margin-top: 5px;}
.img-float-right-300 {width: 300px; float: right; margin-left: 10px; margin-bottom: 10px;}
.img-float-left-300  {width: 300px; float: left; margin-right: 10px; margin-bottom: 10px;}
.img-float-right-300 img,
.img-float-left-300 img {display: block; margin: 0; width: 100%;}
.img-float-right-300 .caption,
.img-float-left-300 .caption {font-size: 11px; margin-top: 5px;}


/*	mobile	*/
body #container .article_bg {padding-top: 0 !important;}
body #container .article_bg .contentstitle_h1 {
	background: url('/common/img/eduzine/titlebar/h1_tfukam_mobile.png') no-repeat center !important;
	background-color: #fff !important;
	height: 65px;
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	background-size: contain !important;
	border-bottom: none;
}
body #container .article_bg .contentsleadtext{color: #000000;height: auto;margin:10px;text-indent: 0;line-height: 1.25;}
body #container .article_bg .maintext {margin-top: 10px;}
body #container .article_bg .maintext h3.answer{width: auto;padding-bottom: 5px;}
body #container .article_bg .maintext .image_left,
body #container .article_bg .maintext .image_right {max-width: 50%;}

body #container .article_bg .maintext .caption {font-size: 11px; margin-top: 5px;}
body #container .article_bg .maintext .img-float-right-300 {width: 100%; max-width: 500px; float: none; margin-left: auto; margin-right: auto; margin-bottom: 15px;}
body #container .article_bg .maintext .img-float-left-300  {width: 100%; max-width: 500px; float: none; margin-left: auto; margin-right: auto; margin-bottom: 15px;}
body #container .article_bg .maintext .img-float-right-300 img,
body #container .article_bg .maintext .img-float-left-300 img {display: block; margin: 0 auto; width: auto; max-width: 100%;}
body #container .article_bg .maintext .img-float-right-300 .caption,
body #container .article_bg .maintext .img-float-left-300 .caption {font-size: 11px; margin-top: 5px;}
body #container .article_bg .maintext h3.answer{font-size:21px; line-height: 1.3; height: 42px;}
body #container .article_bg .maintext .article_summary .summary_txt {padding:0.5em 0.5em;}
body #container .article_bg .maintext .article_summary h3 {font-size:18px;}
body #container .article_bg .maintext .lead_q:before {	left: -80px;}