@charset "utf-8";

/* content
---------------------------------------- */
#content.detail #main p.lead{
	font-size:18px;
	margin-bottom:7px;
	padding:0;
	color: #E08627;
}
#content.detail #main p.lead2{
	color: #333;
    font-weight: bolder;
    text-align: justify;
    line-height: 155%;
	font-size:16px;
	margin-top:0;
	margin-bottom: 35px;
}

#content.detail #main div.function div.title_wrap{
	background-color: #E08627;
}
#content.detail #main div.function h2{
	background-color: #E08627;
}

#content.detail #main div.function h4{
	color: #E08627;
    font-weight: bolder;
	font-size:16px;
	margin-bottom: 3px;
	padding-top:20px;
}
#content.detail #main div.function h4:first-of-type{
	padding-top:0px;
}
#content.detail #main div.function p{
    text-align: justify;
	font-size:16px;
	line-height: 150%;
	margin-bottom: 10px;
}
#content.detail #main div.function img.full{
	margin-top: 15px;
}

#content.detail #main div.function img.left{
	width: 150px;
	float: left;
	margin-bottom: 50px;
}
#content.detail #main div.function h4{
	float: right;
	width:calc(100% - 0px);
	color: #E08627;
	font-size:18px;
	margin-bottom:10px;
}
#content.detail #main div.function h5{
	font-size:16px;
	font-weight: bolder;
	margin-bottom:10px;
}
#content.detail #main div.ph_left p{
	float: right;
	width:calc(100% - 180px);
}
div.flex-box {
	display: flex;
	justify-content: space-between;
}
#content.detail #main div.flex-box h1 {
	margin-bottom: 0;
}
#content.detail #main p.sup {
	font-size: 17px;
	margin: 10px 0;
	color: #ff0000;
}
p.successor {
	font-size: 17px;
	margin: 15px 0 30px 0;
}
@media screen and (max-width:900px) {
	div.flex-box {
		display: block;
	}
	#content.detail #main p.sup {
		font-size: 14px;
		margin: 10px 0 8px;
	}
	p.successor {
		font-size: 14px;
		margin: 8px 0 20px;
		text-indent: 0.1em;
	}
}
@media screen and (max-width:640px) {
	#content.detail #main p.lead2{
		font-size:14px;
		margin-bottom: 15px;
	}
	#content.detail #main div.function p{
		margin-bottom: 10px;
	}
	#content.detail #main div.function img.full{
		margin-top: 10px;
	}
	
	#content.detail #main div.function img.left{
		width: 80px;
		margin-bottom: 0px;
	}
	
	
	#content.detail #main div.ph_left{
		margin-bottom: 30px;
	}
	#content.detail #main div.ph_left h4{
		float: right;
		width:calc(100% - 95px);
	}
	#content.detail #main div.ph_left p{
		float: right;
		width:calc(100% - 95px);
		font-size:14px;
	}
	#content.detail #main div.ph_left h4:nth-of-type(3){
		clear: both;
		float: none;
		width:100%;
	}
	#content.detail #main div.ph_left p:nth-of-type(3){
		clear: both;
		float: none;
		width:100%;
	}
	#content.detail #main div.ph_left h4:nth-of-type(4){
		clear: both;
		float: none;
		width:100%;
	}
	#content.detail #main div.ph_left p:nth-of-type(4){
		clear: both;
		float: none;
		width:100%;
	}

}
