@charset "utf-8";

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

#header .nav_conts {

}

.page #header .nav_conts {

}

#header .nav_conts_inner {
	width: 100%;
	display: block;
	margin: 0 auto;
}

#header ul.nav_parent {
	position: relative;
	overflow: hidden;
	padding: 0;
	z-index: 1;
	margin: 0;
}

#header ul.nav_parent li {
	width: 20%;
	float: left;
	text-align: center;
	font-family: "Arial";
	font-size: 1.6rem;
	list-style: none;
	line-height: 1.5;
}

#header ul.nav_parent li a {
	color: #333;
	padding: 28px 0;
	display: block;
	cursor: pointer;
}

#header ul.nav_parent li a:hover,
#header ul.nav_parent li.current a {
	/* color: #af9b6f; */
	/* font-weight: bold; */
}

#header ul.nav_parent li:last-child {
	line-height: 1.3;
	font-size: 1.5rem;
	letter-spacing: .2em;

	/*トップページ公開だけの場合rightを設定。それ以外は下記を削除*/
	/* float: right; */
}

#header ul.nav_parent li:last-child a {
	color: #fff;
	background-color: #333;
	padding: 19px 0 18px;
}

#header ul.nav_parent .current a {
	background-color: #f3ebda;
}

#header ul.nav_parent li a:hover {
	background-color: #f3ebda;
}

#header ul.nav_parent .current:last-child a {
	background-color: #af9b6f;
}

#header ul.nav_parent li:last-child a:hover {
	background-color: #af9b6f;
}

#header .fa-envelope-o {
	font-size: 2.4rem;
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {
	#header ul.nav_parent {
		background-color: #fff;
		border-radius: 0;
		box-shadow: none;
		/* margin: 0 0 20px; */
		padding: 30px 0;
	}

	#header ul.nav_parent li {
		width: 100%;
		float: none;
		text-align: left;
		border-right: none;
		padding: 0 15px;
	}

	#header ul.nav_parent li:first-child {
		width: 100%;
		float: none;
		font-size: 2.0rem;
		/* border-top: 1px solid #eee; */
		border-left: none;
	}

	#header ul.nav_parent li a {
		color: #333;
		/* padding: 2.5vh 0; */
		padding: 20px 0;
		font-size: 20px;
		text-align: center;
	}

	#header ul.nav_parent li:last-child {
		/* line-height: 1.5; */
		/* font-size: 1.6rem; */
	}

	#header ul.nav_parent li:last-child a {
		color: #fff;
		background-color: #333;
	}

	#header .fa-envelope-o {
		font-size: 1.5rem;
	}

	#header .nav_conts {
		z-index: 99;
		position: fixed;
		top: 0;
		left: 150%;
		width:100%;
		transition: all 0.5s;
		z-index: 9999999;
		background: #fff;
	}

	#header .panelactive {/* メニューボタンが押されたら左に出す設定 */
		left: 0%;
		transition: all 0.5s;
	}


	/*==================================
	グローバルメニューのボタンの設定
	==================================*/

	#black_out {
		/* ボタンを押したら暗くなる為の目印 */
		position: relative;
	}

	.openbtn1{
		position: relative;/*ボタン内側の基点となるためrelativeを指定*/
		position: fixed;
		top: 0;
		right: 0;
		z-index: 9999999;
		background: #333;
		cursor: pointer;
		width: 50px;
		height: 50px;
		z-index: 99999999;
	}

	/*ボタン内側*/
	.openbtn1 span{
		display: inline-block;
		transition: all .4s;/*アニメーションの設定*/
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		width: 45%;
	}

	.openbtn1 span:nth-of-type(1) {
		top:15px;
	}

	.openbtn1 span:nth-of-type(2) {
		top:23px;
	}

	.openbtn1 span:nth-of-type(3) {
		top:31px;
	}

	/*activeクラスが付与されると線が回転して×に*/
	.openbtn1.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}

	/*真ん中の線は透過*/
	.openbtn1.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn1.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}
}


@media screen and (max-width: 767px) {
	#header ul.nav_parent {
		background-color: #fff;
		border-radius: 0;
		box-shadow: none;
		/* margin: 0 0 20px; */
		padding: 30px 0;
	}

	#header ul.nav_parent li {
		width: 100%;
		float: none;
		text-align: left;
		border-right: none;
		padding: 0 15px;
	}

	#header ul.nav_parent li:first-child {
		width: 100%;
		float: none;
		font-size: 2.0rem;
		/* border-top: 1px solid #eee; */
		border-left: none;
	}

	#header ul.nav_parent li a {
		color: #333;
		/* padding: 2.5vh 0; */
		padding: 20px 0;
		font-size: 20px;
		text-align: center;
	}

	#header ul.nav_parent li:last-child {
		/* line-height: 1.5; */
		/* font-size: 1.6rem; */
	}

	#header ul.nav_parent li:last-child a {
		color: #fff;
		background-color: #333;
	}

	#header .fa-envelope-o {
		font-size: 1.5rem;
	}

	#header .nav_conts {
		z-index: 99;
		position: fixed;
		top: 0;
		left: 150%;
		width:100%;
		transition: all 0.5s;
		z-index: 9999999;
		background: #fff;
	}

	#header .panelactive {/* メニューボタンが押されたら左に出す設定 */
		left: 0%;
		transition: all 0.5s;
	}

}

	/*==================================
	グローバルメニューのボタンの設定
	==================================*/

	#black_out {
		/* ボタンを押したら暗くなる為の目印 */
		position: relative;
	}

	.openbtn1{
		position: relative;/*ボタン内側の基点となるためrelativeを指定*/
		position: fixed;
		top: 0;
		right: 0;
		z-index: 9999999;
		background: #333;
		cursor: pointer;
		width: 50px;
		height: 50px;
		z-index: 99999999;
	}

	/*ボタン内側*/
	.openbtn1 span{
		display: inline-block;
		transition: all .4s;/*アニメーションの設定*/
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		width: 45%;
	}

	.openbtn1 span:nth-of-type(1) {
		top:15px;
	}

	.openbtn1 span:nth-of-type(2) {
		top:23px;
	}

	.openbtn1 span:nth-of-type(3) {
		top:31px;
	}

	/*activeクラスが付与されると線が回転して×に*/
	.openbtn1.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}

	/*真ん中の線は透過*/
	.openbtn1.active span:nth-of-type(2) {
		opacity: 0;
	}

	.openbtn1.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}
}


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


.nav__btn {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 60px;
	height: 60px;
	border-radius: 50%;/*角丸*/
	background-color: #333;
	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: 99999;
	opacity: 0;
	transition: opacity .5s;
	overflow: hidden;
}

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

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

 .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;
}

.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;
	right: 0;
	z-index: 200;
	transform: translate(100%);
	transition: all .5s;
}

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


@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.nav__btn {
		width: 60px;
		height: 60px;
    top: 5px;
		right: 5px;
		padding: 17px 14px 15px;
	}
	.nav__btn__wrap {
		display: block;
		width: auto;
		height: 28px;
		vertical-align: middle;
		cursor: pointer;
		position: relative;
	}
	nav.nav__conts {
		width: 80%;
		padding-top: 70px;
	}

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

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

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

@media screen and (max-width: 320px) {

}
