@charset "UTF-8";
/* =============================================== */
/* footer                                          */
/* =============================================== */

footer#mastfoot {
	margin: 0 auto;
	padding: 50px 0 25px;
	width: 100%;
	font-size: 1.4rem;
	text-align: center;
	background: url(../../img/common/bg_footer.png) no-repeat 50% 50%;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	border-top: 1px solid #5D5D5D;
	background-color: #000;
  font-weight: 500;
  color: #ffffff;
}
footer#mastfoot img.logo {
	width: 250px;
	margin-bottom: 45px;
}
footer#mastfoot ul.nav_footer,
footer#mastfoot ul.inquiry,
footer#mastfoot ul.add {
	/*-js-display: flex;*/
	display: flex;
	justify-content: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	line-height: 1.0;
	transition: all .25s ease-out;
}
footer#mastfoot ul.nav_footer li,
footer#mastfoot ul.inquiry li,
footer#mastfoot ul.add li {
	display: inline-block\9;/* IE9 */
}
footer#mastfoot ul.nav_footer {
	/*padding-bottom: 15px;*/
	padding: 0 150px 15px;
	
}
footer#mastfoot ul.nav_footer li {
	padding-bottom: 10px;
}
footer#mastfoot ul.nav_footer li a {
	font-size: 1.4rem;
	padding: 0 20px;
	border-right: 1px solid #FFFFFF;
    color: #fff;
}

footer#mastfoot ul.nav_footer li:last-child {
	border-right: none;
}
footer#mastfoot ul.inquiry li a {
	margin: 0 8px 10px;
	width: 180px;
	height: 40px;
	background: #000000;
	border: 1px solid #FFFFFF;
	-js-display: flex;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .25s ease-out;
    color: #fff;
}
footer#mastfoot ul.inquiry li a:hover {
	background: #262626;
	text-decoration: none;
}
@media screen and (max-width: 800px) {
footer#mastfoot ul.inquiry {
	max-width: 400px;
	margin: auto;
}
}

footer#mastfoot address {
	padding-top: 25px;
}
footer#mastfoot ul.add li {
	margin: 10px 0 20px;
	padding-left: 20px;
}
footer#mastfoot ul.add li.tel span:after,
footer#mastfoot ul.add li.fax:after {
	display: inline-block;
	content: '/';
	padding-left: 20px;
}
footer#mastfoot ul.add li:last-child:after {
	content: ' ';
	padding-left: 0;
}

/* ------ #page-top ------ */

#page-top {
	position: fixed;
	bottom: 15px;
	right: 5px;
	z-index: 99;
	}
#page-top a {
	background: #434343;
	color: #ffffff;
	text-align: center;
	padding:  10px 15px;
	opacity:0.4;
	filter:alpha(opacity=40);
	-ms-filter: ??alpha( opacity=40 )??;
	}
#page-top a i {
	font-size: 1.5rem;
	font-weight: normal;
	}
#page-top a:hover {
	text-decoration: none;
	opacity:0.8;
	filter:alpha(opacity=80);
	-ms-filter: ??alpha( opacity=80 )??;
	}

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

footer#mastfoot {
	position: relative;
	margin: 0 auto;
	padding: 25px 3% 12px;
	width: 100%;
	font-size: 0.75rem;
	text-align: center;
	border-top: 1px solid #5D5D5D;
}
footer#mastfoot img.logo {
	position: absolute;
	top: 550px;
	left: 0;
	right: 0;
	width: 125px;
	margin: auto;
}
footer#mastfoot ul.nav_footer{
  padding: 0 ;
}
footer#mastfoot ul.nav_footer li a {
	-js-display: flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1.4rem;
  font-weight: 500;
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px dotted #E00000;
  border-right: 0px solid #FFFFFF;
  position: relative;
}
footer#mastfoot ul.nav_footer li{
  width: 100%;
}
footer#mastfoot ul.nav_footer li a:after {
    content: "";
    background-image: url(../images/arrow_r.png);
    width: 12px;
    height: 12px;
    position: absolute;
    background-size: contain;
    top: 13px;
    right: 8px;
    transform: translateY(-50%);
	/* font-family: FontAwesome;
	content: '\f105';
	font-size: 1.125rem;
	color: #E00000;
	font-weight: normal; */
}
footer#mastfoot ul.inquiry {
	/* margin: 25px 0 75px; */
	display:-webkit-box;
	display:-moz-box;
	display:-webkit-flexbox;
	display:-moz-flexbox;
	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;
}
/*
footer#mastfoot ul.inquiry li:nth-child(odd) {
	width: 49%;
	margin: 0 1% 10px 0;
}
footer#mastfoot ul.inquiry li:nth-child(even) {
	width: 49%;
	margin: 0 0 10px 1%;
}
*/
/* footer#mastfoot ul.inquiry li.recruit {
	width: 100%;
	margin: 0 0 10px 0;
} */
footer#mastfoot ul.inquiry{
margin: 0 auto;
  }
footer#mastfoot ul.inquiry li.estimate {
	width: 49%;
	margin: 0 1% 10px 0;
}
footer#mastfoot ul.inquiry li.contact {
	width: 49%;
	margin: 0 0 10px 1%;
}
footer#mastfoot ul.inquiry li a {
	padding: 15px 0;
	font-size: 1.4rem;
	background: #131313;
	border: 1px solid #FFFFFF;
	-js-display: flex;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .25s ease-out;
  /* width: auto; */

}
footer#mastfoot ul.inquiry li a:hover {
	background: #262626;
	text-decoration: none;
}
footer#mastfoot ul.add {
	/* margin-bottom: 25px; */
	line-height: 2.0;
}
footer#mastfoot ul.add li.tel,
footer#mastfoot ul.add li.fax {
	display: inline-block;
    font-size: 1.4rem;
}
footer#mastfoot ul.add li.tel {
	position: relative;
	padding-right: 20px;
}
footer#mastfoot ul.add li.tel span:after {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-block;
	content: '/';
	width: 20px;
	text-align: center;
}
footer#mastfoot small {
	color: #fff;
}
footer#mastfoot address {
	padding-top: 55px;
    font-size: 1.4rem;
}

/* ------ #page-top ------ */

#page-top {
	position: fixed;
	bottom: 15px;
	right: 0;
	z-index: 99;
	}
#page-top a {
	background: #434343;
	color: #ffffff;
	text-align: center;
	padding:  10px 15px;
	opacity:0.4;
	filter:alpha(opacity=40);
	-ms-filter: ??alpha( opacity=40 )??;
	}
#page-top a i {
	font-size: 1.375rem;
	font-weight: normal;
	}

}footer#mastfoot a:link,
footer#mastfoot a:visited,
footer#mastfoot a:active,
footer#mastfoot a:hover {
	color: #FFFFFF;
    font-size: 1.4rem;
}