@charset "utf-8";
/* CSS Document */
/*PC用追加*/
#g-nav {
  max-width: 100%;
  margin: 0px auto 0;
	padding:10px 0;
	background-color: white;
	border-bottom: 3px solid #006837;
}
#g-nav ul {
  width: min(1200px, 90%);
  margin: 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#g-nav li{
	padding:10px 5px;
	list-style: none;
    text-align: center; 
  position: relative;
  display: inline-block;
  flex-grow: 1;
/*	margin: 15px auto 15px;*/
}
#g-nav li+ li {
  border-left: 1px solid #D8DFDA;
}
/*#g-nav li:nth-child(7){
  margin-left: -50px;
}mobile menu*/
#g-nav li a{
	color: #3e3a39;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 1.1em;
	line-height: 1.2;
}
#g-nav li a:hover{
	color: #006837;
	transition: transform .3s;
}
/*#g-nav li a::after{
  position: absolute;
  bottom: -8px;
  left: 5%;
  content: '';
  width: 90%;
  height: 2px;
  background: #A5C9A5;
  transform: scale(0, 1);
  transform-origin: center top;
/*→左右*/  
/*	transform-origin: left top;/*左→右
	transition: transform .3s;
}*/
/*#g-nav li a:hover::after{
  transform: scale(1, 1);
}*/

	.mb_menu{
		display: none;
	}
@media screen and (max-width:834px) {
#g-nav {
  max-width: 100%;
  margin: 0 auto 0;
	padding:5px 0;
	background-color: #F1F3F3;
	border-bottom: 2px solid #006837;
	}
#g-nav ul {
  width: min(1000px, 98%);
  margin: 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#g-nav li a{
	color: #3e3a39;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1;
	font-weight: bold;
	font-size: .95em;
}

}

@media screen and (max-width:480px) {
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;/*※A合わせて変更*/
    right: -120%;/*※A表示開始位置*/
    width: 100%;
    height: 100vh; /*ナビの高さ*/
	  margin: 0;
    background: linear-gradient(180deg, rgba(248, 251, 248, .85) 0%, rgba(214, 232, 210, .85) 100%);
    /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;/*※A表示開始位置*/
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
  }
  #g-nav li a {
	  color: inherit;
	  font-size: 1.1em;
	  font-weight: 500;
	  line-height: 2.5;
    list-style: none;
	  text-decoration: none;
	white-space: nowrap;
}
/*#g-nav li a::after{
  background:none;
}ホバー時のライン無*/

.openbtnBox{
	width: 38px;
	height: 34px;
	border: 1px solid rgba(201,201,201,0.60);
	background-color: rgba(241,241,241,0.80);
	position: fixed;
    top: 2px;
    right: 16px;
	z-index: 9999;
}
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 15px;
    right: 5px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: white;
    width: 40%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
		background-color: #006837;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
		background-color: #006837;

  }
}