@charset "utf-8";

/*--------------------------------------------------------------
	ナビゲーションのスタイル
--------------------------------------------------------------*/

#header .nav_conts,
#footer .nav_conts {
	border-top: 5px solid #eee;
	border-bottom: 5px solid #eee;
	margin: 0;
}

.page-id-2 #header .nav_conts {
	margin: 0 0 55px;
}

#footer .nav_conts {
	margin: 0 0 35px;
}

#header .nav_conts_inner,
#footer .nav_conts_inner {
	width: 1040px;
	display: block;
	margin: 0 auto;
}

#header ul.nav_parent,
#footer ul.nav_parent {
	position: relative;
	width: 1040px;
	padding: 0;
	z-index: 1;
	margin: 0 auto;
	height: 65px;
}

#header ul.nav_parent li,
#footer ul.nav_parent li {
	width: 20%;
	float: left;
	text-align: center;
	font-size: 1.8rem;
	list-style: none;
	line-height: 1.5;
	position: relative;
	height: 65px;
}

#header ul.nav_parent li a span.menu_ttl,
#footer ul.nav_parent li a span.menu_ttl {
	display: block;
	font-weight: bold;
}

#header ul.nav_parent li a span.menu_ttl_txt,
#footer ul.nav_parent li a span.menu_ttl_txt {
	display: block;
	color: #999;
	font-size: 1.2rem;
}

#header ul.nav_parent li a,
#footer ul.nav_parent li a {
	color: #51342f;
	padding: 20px 0 22px;
	display: block;
}

#header .display_pc ul.nav_parent li.current a,
#footer ul.nav_parent li.current a,
#header .display_pc ul.nav_parent li a:hover,
#footer ul.nav_parent li a:hover {
	position: absolute;
	bottom: -5px;
	left: 0;
	border-bottom: 5px solid #e60012;
	display: block;
	z-index: 10;
	width: 100%;
	background-image: url('../img/nav-triangle.png');
	background-repeat: no-repeat;
	background-position: center bottom;
	padding: 22px 0 18px;
}

.fa-home,
.fa-hand-paper-o,
.fa-building-o,
.fa-book,
.fa-pencil,
.fa-map-marker {
	color: #e60012;
}

.tel_num_btn {
  padding: 0 30px;
  margin: 0 0 20px;
}




@media (max-width: 1040px) and (min-width: 768px){
	#header .nav_conts_inner,
	#footer .nav_conts_inner {
		width: 100%;
	}
	#header ul.nav_parent,
	#footer ul.nav_parent {
		width: 100%;
	}
}


@media (max-width: 767px) {
	#header ul.nav_parent {
		background-color: #fff;
		border-radius: 0;
		box-shadow: none;
		margin: 0 0 30px;
		padding: 30px 30px 0;
		width: 100%;
    height: auto;
	}
	#header ul.nav_parent li {
		width: 100%;
		float: none;
		border-right: none;
		border-bottom: 1px dashed #e60012;
		padding: 0 15px;
	}
	#header ul.nav_parent li:first-child {
		border-top: 1px dashed #e60012;
	}
	#header ul.nav_parent li a {
		padding: 17px 0 16px;
	}
	#header .display_sp ul.nav_parent li.current,
	#header .display_sp ul.nav_parent li:hover {
		position: inherit;
		bottom: 0;
		left: 0;
		border-bottom: 5px solid #e60012;
		display: block;
		z-index: 10;
		width: 100%;
		background-image: url('../img/nav-triangle.png');
		background-repeat: no-repeat;
		background-position: center bottom;
		/* padding: 22px 0 18px; */
	}
	#header ul.nav_parent li.current a {
		padding: 17px 0 16px;
		width: 100%;
	}
	#header ul.nav_parent li.current-menu-item {
		background-color: #f3f3f3;
	}
	.mobile_nav_tel {
		padding: 0 30px;
	}
}


/*--------------------------------------------------------------
	ボタンスタイル
--------------------------------------------------------------*/


.nav__btn {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 60px;
	height: 60px;
	border-radius: 50%;/*角丸*/
	background-color: #e60012;
	z-index: 300;
	padding: 15px 17px;
}


/* .nav__btn {
	position: fixed;
	top: 0;
	right: 0;
	width: 65px;
	height: 60px;
	background-color: #333;
	z-index: 300;
	padding: 15px 17px;
} */

.nav__btn.active-bg {
	background-color: rgba(255, 255, 255, 0);
}

.overlay {
	content: "";
	display: block;
	width: 0;
	height: 0;
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 150;
	opacity: 0;
	transition: opacity .5s;
	overflow: hidden;
}

.overlay.open {
	width: 100%;
	height: 100%;
	opacity: 1;
}

.nav__btn__wrap {
	display: inline-block;
	width: 32px;
	height: 28px;
	vertical-align: middle;
	cursor: pointer;
	position: relative;
	padding: 0 2px;
}

 .nav__btn__wrap span {
	display: inline-block;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #fff;
	transition: all .5s;
	border-radius: 10px;
}

.nav__btn__wrap.active span {
	background-color: #333;
}

.nav__btn__wrap span:nth-of-type(1) {
	top: 0;
}

.nav__btn__wrap.active span:nth-of-type(1) {
	transform: translateY(11px) rotate(-45deg);
}

.nav__btn__wrap span:nth-of-type(2) {
	top: 11px;
}

.nav__btn__wrap.active span:nth-of-type(2) {
	opacity: 0;
}

.nav__btn__wrap span:nth-of-type(3) {
	bottom: 2px;
}

.nav__btn__wrap.active span:nth-of-type(3) {
	transform: translateY(-11px) rotate(45deg);
}

nav.nav__conts {
	width: 35%;
	height: 100%;
	padding-top: 80px;
	/* background-color: rgb(255, 255, 255, 1); */
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;/*右から出したい時はrightにする*/
	z-index: 200;
	transform: translate(-100%);/*右から出したい時は100%にする*/
	transition: all .5s;
}

nav.nav__conts.open {
	transform: translateZ(0);
}


@media (max-width: 1000px) and (min-width: 768px){

}

@media screen and (max-width: 767px) {
	.nav__btn {
		width: 60px;
		height: 60px;
    bottom: 15px;
		left: 15px;
		padding: 17px 14px 15px;
	}
	.nav__btn__wrap {
		display: block;
		width: auto;
		height: 28px;
		vertical-align: middle;
		cursor: pointer;
		position: relative;
	}
	nav.nav__conts {
		width: 50%;
		padding-top: 20px;
	}
}

@media screen and (max-width: 414px) {
  nav.nav__conts {
		width: 80%;
		padding-top: 50px;
	}
}
