@charset "UTF-8";

/*****************************************
		 case list
******************************************/
.caseList{
	margin:0;   
	display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
.caseList li{
	float:left;
	width:254px;
	display:inline-block;
	margin:18px 18px 0 0;
}
.caseList li h3{
	padding:5px 5px 5px 15px;
	margin-top:5px;
	margin-bottom:10px;
}
.caseList li img{
	width:100%;
}
.caseList li img:hover{
	border:3px solid #39F;
}

@media only screen and (max-width:900px){
	.caseList li:nth-child(2n){
		margin-right:0px;
	}
	.caseList li{
		width:47%;
		margin:2% 2% 0 0;
	}
	.caseList li h3{
		width:96%;
	}
	.caseList li img{
		width:100%;
	}
}
@media only screen and (max-width:620px){
	.caseList li img{
		width:88%;
	}
	.caseList li h3{
		width:87%;
		padding:5px 2px 5px 15px;
	}
}
@media only screen and (max-width:320px){
	.caseList li img{
		width:88%;
	}
}

/*****************************************
		 case pege_Box
******************************************/
.pege_Box{
	padding:0;
	clear:both;
	overflow:hidden;
}
.pege_Box img{
	margin-bottom:10px;
}





/*****************************************
		 case
******************************************/
.caseBox{
	overflow:hidden;
}
.caseBox h3{
	margin-bottom:10px;
	clear:both;
}
.caseBox h4{
	font-weight:bold;
	padding-left:10px;
	margin-bottom:10px;
	clear:both;
}
.casebox{
	width:100%;
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.case_text{
	margin-bottom:15px;
	width:100%;
}


/* 施工概要 css */

.case_about1{
	display:block;
	width:100%;
}
.case_about2{
	display:block;
	width:41%;
}
.case_about1 dl,
.case_about2 dl{
	clear:both;
	border-bottom:1px solid #ccc;
	padding-bottom:6px;
	margin-bottom:6px;
}
.case_about1 dt,
.case_about2 dt{
	float:left;
	margin-right:10px;
	width:100px;
	display:block;
	
}
.case_about1 dd,
.case_about2 dd{
	margin-left:110px;
}
.case_about1 dl span,
.case_about2 dl span{
	font-size:10px;
}

@media only screen and (max-width:900px){
	.case_about1,
	.case_about2{
		float:left;
		width:100%;
		margin-bottom:15px;
	}
}


/* 画像ギャラリーcss */
.case_gallery_bfr{width:41%;}
.case_gallery_aft{width:55%;}

.case_gallery{
	margin-bottom: 20px;
}
.case_gallery{	background:url(img/befoer.jpg) no-repeat left top;}

.imgMain{
	padding: 4px;
	outline: 1px solid #aaa;
	outline-offset: -1px;
  	float: left;
	margin-bottom: 8px;
}
.imgMain img{
	width:100%;
}
@media only screen and (max-width:900px){
	.imgMain{
		width:96%;
	}
	.imgMain img{
		width:100%;
	}
	.case_gallery{
		width:100%;
	}
}
.gallery{
width:100%;
	float: left;
	padding:0;
	margin:0;
}
.gallery li{
	position:relative;
	width: 98px;
	height:98px;
	margin:0 12px 12px 0;
	padding:0;
	float:left;
}
.gallery li img{
	position:absolute;
	width:200px;
	clip: rect(10px 150px 90px 50px);
	margin:-10px 0 0 -50px;
	padding:0;
}
.gallery li p{
	font-size:11px;
	padding: 0;
	margin: -5px 0 0px 0;
	padding:0;
}
.gallery img{
	border: 1px solid #D1D1D1;
	opacity: 1;
}
@media only screen and (max-width:900px){
	.gallery{
		width:100%;
	}
	.gallery li:nth-child(4n){
		margin-right:12px;
	}
}
@media only screen and (max-width:420px){
	.gallery li:nth-child(4n){
		margin-right:0;
	}
}
@media only screen and (max-width:400px){
	.gallery li:nth-child(4n){
		margin-right:12px;
	}
}