@charset "UTF-8";
/*============================================================
	BURGER MENU
============================================================*/

/*========= ナビゲーション =========*/
#gMenu {
    position:fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;/*ナビの高さ*/
    background-color:#f4f4f4;
    transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#gMenu.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#gMenu.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
@media all and (max-width: 896px) {
	#gMenu {
		padding-top: 54px;
		padding-bottom: 0;
		width: 100%;
		margin:0;
	}
	#gMenu .comNaviBox > div {
		width: auto;
	}
	#gMenu .fBtn {
		margin: 0;
		width: auto;
}
	#gMenu .inner01 {
		padding-top: 0;
		padding-bottom: 30px;
	}
	#gMenu .inner .logo {
		margin: 0 auto;
		width: 150px;
	}
	#gMenu address {
		padding: 16px 15px;
		font-size: 1rem;
		line-height: 1.6;
	}
}
/*========= ボタン =========*/
.openbtn1{
    position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    top:0;
    left: 0;
    cursor: pointer;
    width: 100px;
    height:100px;
	background: #fff;
	margin-right: 0;
}
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 27px;
    height: 2px;
    border-radius: 2px;
    background-color: #1264BE;
    width: 45%;
  }
.openbtn1 span:nth-of-type(1) {
  top:40px; 
}
.openbtn1 span:nth-of-type(2) {
  top:48px;
}
.openbtn1 span:nth-of-type(3) {
  top:56px;
}
.openbtn1.active {
	background-color: #f4f4f4;
}
.openbtn1.active span:nth-of-type(1) {
    top: 43px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}
.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3){
    top: 55px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

@media all and (max-width: 896px) {
	.openbtn1{
		width: 54px;
		height:54px;
	}
/*×に変化*/  
	.openbtn1 span{
		left: 15px;
		height: 2px;
		width: 45%;
	}
	.openbtn1 span:nth-of-type(1) {
		top:17px; 
	}

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

	.openbtn1 span:nth-of-type(3) {
		top:33px;
	}
	.openbtn1.active span:nth-of-type(1) {
		top: 20px;
		left: 17px;
	}

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

	.openbtn1.active span:nth-of-type(3){
 		top: 32px;
		left: 17px;
	}
}