/* CSS Document */

@import url(navi.css);
@import url(common.css);


/*--トップは別なヘッダ--------------------------------------------------------*/

#header {
	width: 100%;
	height: 557px;
	position: relative;
	margin: 0 auto;
}

#header #title {
	width: 235px;
	height: 480px;
	background: url(../img/top/white.png) no-repeat;
	position: absolute;
	z-index: 100;
	top: 0;
	left: 50%;
	margin: 0 0 0 -500px;
	padding: 30px 0 0 0;
}

#header #title h1 {
	width: 85px;
	height: 367px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
	background: url(../img/top/title.png) no-repeat;
}

#header #title .tel {
	width: 175px;
	height: 55px;
	margin: 0 auto;
}

#header #hokori {
	width: 73px;
	height: 234px;
	position: absolute;
	left: 50%;
	top: 30px;
	margin: 0 0 0 427px;
	z-index: 200;
}

#main {
	width:100%;
	height:557px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}


/*--smp----------------------------------*/
@media screen and (max-width: 640px) {
	
#header {
	width: 100%;
	height: 430px;
}

#header #title {
	width: 100%;
	height: 50px;
	background:none;
	margin: 0;
	left: 0;
	top: 20px;
	padding:0;
}

#header #title h1 {
	width: 100%;
	height: 50px;
	background:url(../img/top/stitle.png) no-repeat center top;
	background-size:contain;
}

#header #title .tel {
	width: 42%;
	height: auto;
	position: absolute;
	left: 2%;
	top: 60px;
	text-align: right;
}
	
	#header #title .tel img {
		width: auto;
		max-width: 100%;
		height: auto;
	}
	


#header #hokori {
	width: 50px;
	height: auto;
	position:static;
	margin: 15px 0 0 12%;
	z-index: 200;
}
	
	#header #hokori img {
		width: 100%;
		height: auto;
	}

#main {
	width:100%;
	height:260px;
	top: 170px;
	left: 0;
}
	
}




/*--メニューあたり------*/

#mmenu,
#mmenuf {
	width: 1000px;
	margin: 0 auto;
	height: 61px;
	padding: 12px 0;
}

#bnr,
#bnrf {
	width: 239px;
	height: 61px;
	float: right;
}

/*--smp----------------------------------*/
@media screen and (max-width: 640px) {

#wrap {
	position: relative;
	width: 100%;
	margin: 0 auto;
}
	
#mmenu {
	width: 45%;
	position: absolute;
	right: 4%;
	top: 90px;
	height: auto;
	padding: 0;
}

#bnr {
	width: auto;
	height:auto;
	float: none;
}
	
	#bnr img {
		width: auto;
		max-width: 100%;
		height: auto;
	}	
	

#mmenuf {
	width: 100%;
	height: auto;
	padding: 0;
}

#bnrf {
	width: auto;
	height:auto;
	float: none;
	text-align: center;
	padding: 0 0 10px 0;
}
	
	#bnrf img {
		width: auto;
		max-width: 100%;
		height: auto;
	}	
}






/* --------------------------------------------------------------- */



#news {
	width:100%;
	height: 18px;
	background-color:#3A8BB9;
	padding:23px 0;
}

	#newsin {
		width:970px;
		margin:0 auto;
	}
	
	#newsl {
		width:115px;
		float:left;
		height: 18px;
	}
	
#newsl h2 {
	width: 115px;
	height: 18px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(../img/top/info.png) no-repeat;
}
	#newsr {
		width:800px;
		float:left;
		padding:0 0 0 0;
		margin: 0 0 0 30px;
	}
	

	#newsr p {  
		margin: 0;
		padding: 0;
		text-align:left;
		color: #ffffff;
		line-height: 18px;
	}

#newsr p a {  
		color: #ffffff;
	}
	
 
/*--smp----------------------------------*/
@media screen and (max-width: 640px) {
	
	
#news {
	width:100%;
	height: auto;
	padding:20px 0;
	clear: both;
}

	#newsin {
		width:90%;
	}
	
	#newsl {
		width:100%;
		float:none;
		height:auto;
	}
	#newsr {
		width:100%;
		float:none;
		padding:10px 0 0 0;
		margin: 0;
	}	
}


/*---------------image area icons------------------------------------------*/

#icon {
	width: 100%;
	height: auto;
	padding: 20px 0;
	text-align: center;
}

#icon img {
	margin: 0 10px;
}

 
/*--smp----------------------------------*/
@media screen and (max-width: 640px) {
	
#icon img {
	margin: 0 10px;
	max-width: 33%;
	height: auto;
}		
}


/*------技術------------------------------------------------------------------*/

#gijutu {
	width: 100%;
	border-top: 1px solid #d6d6d6;
	border-bottom: 1px solid #d6d6d6;
	background:url(../img/top/img1.png) no-repeat left;
	background-size: 50%;
}

#gr {
	width: 45%;
	padding: 50px 0 50px 4.5%;
	margin: 0 0 0 50%;
	background-color: #ffffff;
}

#gr img {display: none;}

#gr h1 {
	width: 413px;
	height: 92px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(../img/top/st1.png) no-repeat;
	margin: 0 0 30px 0;
}

#gr p {
	margin: 0;
	padding: 0;
}

.gclr {
	width: 100%;
	border-top: 1px solid #d6d6d6;
	clear: both;
	line-height: 1px;
	font-size: 1px;
}

 
/*--smp----------------------------------*/
@media screen and (max-width: 640px) {

#gijutu {
	background: none;
}

#gr {
	width: 100%;
	padding: 0 0 50px 0;
	margin: 0;
	background-color: #ffffff;
}
	
	#gr img {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 0 20px 0;
	}

#gr h1 {
	width: 90%;
	height: 70px;
	background-size: contain;
	margin: 0 auto 20px auto;
}

#gr p {
	margin: 0 5%;
	padding: 0;
}	
}


/*----------大切にしていること-------------------------------------------------------*/

#three {
	width: 980px;
	margin: 0 auto;
	background: url(../img/top/back.png) no-repeat center top;
}

#three img.brush {
	margin: -130px 0 30px 600px;
}

#three h1 {
	width: 372px;
	height: 37px;
	margin: 0 auto 20px auto;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(../img/top/st2.png) no-repeat;
}

#three .box {
	width: 282px;
	float: left;
	margin: 20px;
}

#three .box .num {
	width: 282px;
	height: 116px;
	margin-bottom: 20px;
}

#three .box .num h2 {
	width: 282px;
	height: 116px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

#three .box .num h2#i1 {background: url(../img/top/no01.png) no-repeat;}
#three .box .num h2#i2 {background: url(../img/top/no02.png) no-repeat;}
#three .box .num h2#i3 {background: url(../img/top/no03.png) no-repeat;}

#three .box .pix {
	width: 282px;
	height: 261px;
}

#three .box img {
	-webkit-box-shadow: 0px 0px 5px #cccccc;
	-moz-box-shadow: 0px 0px 5px #cccccc;
	box-shadow: 0px 0px 5px #cccccc;
}

#three .box p {margin: 0; padding: 0;}
#three .box p.nml {
	margin: 0;
	padding: 10px;
}

#three .box p.waku {
	margin: 10px;
	padding: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #d6d6d6;
}


/*--smp----------------------------------*/
@media screen and (max-width: 640px) {
	
#three {
	width: 100%;
	background-size: 90%;
}

#three img.brush {
	margin: -60px 0 30px 30%;
	width: 60%;
	height: auto;
}

#three h1 {
	width: 90%;
	height: 30px;
	margin: 0 auto 20px auto;
	background-size: contain;
	background-position: center top;
}

#three .box {
	width: 90%;
	float: none;
	margin: 10px auto;
	background-color: #ffffff;
	border: 1px solid #d6d6d6;
	padding: 10px;
	box-sizing: border-box;
}

#three .box .num {
	width: 50%;
	height: auto;
	float: left;
	margin-bottom: 0;
	padding: 30px 0 0 0;
}

#three .box .num h2 {
	width: 100%;
	height: 80px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

#three .box .num h2#i1,
#three .box .num h2#i2,
#three .box .num h2#i3 {background-size: contain;}

#three .box .pix {
	width: 50%;
	height: auto;
	float: left;
	margin-bottom: 0;
}

#three .box img {
	width: 100%;
	height: auto;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	box-shadow:none;
}


#three .box p.nml {
	clear: both;
	padding: 10px 20px;
}

#three .box p.waku {
	margin: 0;
	padding: 10px 20px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	border: none;
}		
}




/*------マチニヒトニ------------------------------------------------------------------*/

#mm {
	width: 100%;
	background:url(../img/top/img2.png) no-repeat left #85BBE0;
	background-size: 55%;
}

#mr {
	width: 45%;
	padding: 50px 0 40px 4.5%;
	margin: 0 0 0 50%;
	position: relative;
}

#mr img {display: none;}

#mr h1 {
	width: 333px;
	height: 67px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(../img/top/st3.png) no-repeat;
	margin: 0 0 30px 0;
}

#mr p {
	margin: 0 0 20px 0;
	padding: 0;
	width: 50%;
	color: #ffffff;
}

#mr .boss {
	width: 189px;
	height: 189px;
	position: absolute;
	bottom: 20px;
	right: 5%;
}

#mr .boss img {
	width: 100%;
	height: auto;
	display: block;
}
 
/*--smp----------------------------------*/
@media screen and (max-width: 640px) {

#mm {
	background: none;
}

#mr {
	width: 100%;
	padding: 0 0 30px 0;
	margin: 0;
	background-color: #ffffff;
}
	
	#mr img {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 0 20px 0;
	}

#mr h1 {
	width: 84%;
	height: 60px;
	background:url(../img/top/st3s.png) no-repeat;
	background-size: contain;
	margin: 0 auto 20px auto;
}

#mr p {
	margin: 0 8%;
	padding: 0 0 20px 0;
	color: #000000;
	width: 100%;
}	
	
#mr .boss {
	width: 189px;
	height: 189px;
	position: static;
	bottom: 20px;
	margin: 0 auto;
}

#mr .boss img {
	width: 100%;
	height: auto;
	display: block;
}
 
}
