@charset "utf-8";
/* CSS Document */

#pagetitle h2 {
	width: 1200px;
	height: 280px;
	max-width: 100%;
	margin: 0 auto;
	background: #EEEEEE;
	top: 205px;
}

#pagetitle h2 p {
	width: 50%;
	padding-top: 50px;
	text-align: center;
	float: left;
}

#pagetitle h2 div {
	width: 50%;
	height: 280px;
	float: right;
}

#pagetitle h2 div {
	background: url( "images/main_project_title_p.jpg") no-repeat center;
	background-size: cover;
}	
#main_project {
width: 100%;
max-width: 1200px;
margin: 110px auto;
}
	
h3 {
border-bottom: solid 2px #DDDDDD; /*[1]線の太さと地の色を指定*/
position: relative;
font-size: 140%;
padding-bottom: 10px;
margin-bottom: 50px; 
}
h3:after {
position: absolute;
content: " ";
display: block;
border-bottom: solid 2px #333333; /*[2]アクセントの色を指定（太さは上記[1]に揃える）*/
bottom: -2px; /*[3]太さの分だけ線の位置を調整*/
width: 10%; /*[4]アクセントカラーの幅を指定*/
}

h4 {
	border-left: #59BF68 5px solid;
	padding-left: 15px;
	font-size: 110%;
	margin-bottom: 30px;
}

.img {
	width: auto;
	margin: 50px auto;
	text-align: center;
}

.img img{
	margin: 0 auto;
}

section {
	margin-bottom: 80px;
}

#main_project ul.main_project_box {
	margin: 20px 0;
}

#main_project ul.main_project_box li {
	width: 48.333%;
	margin-right: 3.3334%;
	margin-bottom: 3.3334%;
	float: left;
}

#main_project ul.main_project_box li:nth-child(2n) {
	margin-right: 0;
}

#main_project ul.main_project_box li img {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}



section p.main_project_t{
width: 47%;	
float: left;
	line-height: 200%;
}
#main_project ul.main_project_box2 {
	width: 48.333%;
float: right;
}

#main_project ul.main_project_box2 li img {
width: 100%;
height: auto;
}

/* PC01: 1080 px ～ 1200 px*/
@media screen and (max-width:1200px)
{

#main_project {
width: 90%;
max-width: 1200px;
margin: 80px auto;
}
	
}

/* PC02: 959 px ～ 1080 px*/
@media screen and (max-width:1080px)
{


}

/* タブレットレイアウト : 768 px ～ 959 px*/
@media screen and (max-width:959px)
{

#main_project {
width: 90%;
max-width: 1200px;
margin: 80px auto;
}

}
	
/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{	
#pagetitle {
	padding-top: 220px;
}
	
#pagetitle h2 {
	height: 200px;
	top: 120px;
	position: absolute;
}

#pagetitle h2 p {
	width: 170px;
	padding-top: 20px;
	float: none;
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	z-index: 888;
}
	
#pagetitle h2 p img {
	width: 100%;
	height: auto;
}

#pagetitle h2 div {
	width: 100%;
	height: 200px;
	float: none;
	position: relative;
}
h3 {
font-size: 120%;
}
	
#main_project ul.main_project_box li {
	width: 100%;
	margin-right: 0;
	margin-bottom: 20px;
	float: none;
}
	
section p.main_project_t{
width: 100%;	
float: none;
	margin-bottom: 20px;
}
#main_project ul.main_project_box2 {
	width: 100%;	
float: none;
}
	
}	



