/* header */
#header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fff;
}
#header.fixed::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.7);
}
.logo {
  position: absolute;
  top: 45%;
  left: 30px;
  transform: translate(0%, -50%);
  z-index: 3;
  width: 180px;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  font-size: 4rem;
  text-align: left;
}
.logo a {
  color: #33A500;
}
.h_nav {
  position: absolute;
  top: 50%;
  right: 350px;
  transform: translate(0%, -50%);
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 0em;
  justify-content: flex-end;
}
.h_nav li {
  font-size: 1.7rem;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  margin: 0 0 0 30px;
}
a.h_contact {
  position: absolute;
  top: 50%;
  right: 110px;
  transform: translate(0%, -50%);
  display: inline-block;
  color: #fff;
  padding: 7px 40px 7px 25px;
  border-radius: 30px;
  text-decoration: none;
  outline: none;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  background: linear-gradient(-45deg, #33A500 0%, #33A500 50%, #A1E800 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
a.h_contact:hover {
  color: #fff;
  background-position: 99% 50%;
}
a.h_contact img {
  width: 25px;
  display: inline-block;
  margin: 0 8px 3px 0;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
a.h_contact:hover img {
  opacity: 1;
}
a.h_contact::before {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 50%;
  right: 25px;
  transform: translate(0%, -50%);
  cursor: pointer;
  width: 40px;
  height: 22px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 25%;
  height: 3px;
  background-color: #33A500;
  border-radius: 5px;
  width: 100%;
}
.openbtn span:nth-of-type(1) {
  top: 0;
}
.openbtn span:nth-of-type(2) {
  top: 50%;
}
.openbtn span:nth-of-type(3) {
  top: 100%;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {}
.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 45%;
  transform: translateY(6px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  transform: translateY(-6px) rotate(45deg);
}
/*========= ナビゲーションのためのCSS ===============*/
#gnav {
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: -220%;
  right: 0%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.6s;
}
#gnav::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/*アクティブクラスがついたら位置を0に*/
#gnav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#gnav.panelactive #gnav-inner {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 500px;
  border-radius: 0 0 0 50px;
  right: 0;
  background: #ECF7E9;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
.gnav_wrap {
  width: 100%;
  z-index: 3;
  /*
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
*/
}
.gnav_logo {
  text-align: left;
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  width: 350px;
  margin: 1em auto 0.2em;
}
.gnav_logo a {
  color: #33A500 !important;
}
.gnav_nav {
  position: relative;
  width: 350px;
  margin: auto;
}
.gnav_nav li {
  padding: 20px 0;
  position: relative;
  text-align: left;
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  border-bottom: 1px solid #33A500;
}
.gnav_nav li::before {
  position: absolute;
  display: block;
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #33A500;
  top: 50%;
  right: 0%;
  transform: translate(0%, -50%);
  transition: all .4s;
}
.gnav_nav li:hover::before {
  right: -5px;
}
.gnav_nav li a {
  display: block;
}
.gnav_contact {
  width: 350px;
  margin: 3em auto 3em;
}
.gnav_contact li {
  margin: 1.5em auto 0;
}
.gnav_contact li:last-child a {
  color: #fff;
	font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  background: linear-gradient(-45deg, #33A500 0%, #33A500 50%, #A1E800 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
.gnav_contact li:last-child a:hover {
  background-position: 99% 50%;
}
.gnav_contact li:last-child a img {
  margin: 0 7px 5px 0;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
.gnav_contact li:last-child a::before {
  color: #fff;
}
.gnav_contact li a {
  position: relative;
  display: block;
  border-radius: 60px;
  background: #fff;
  color: #33A500;
  text-decoration: none;
  text-align: left;
  outline: none;
  overflow: hidden;
  padding: 20px 0px 20px 30px;
}
.gnav_contact li:first-child a {
  font-family: brandon-grotesque, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  padding: 18px 0 18px 30px;
}
.gnav_contact li a img {
  display: inline-block;
  width: 25px;
  margin: 0 7px 7px 0;
  z-index: 3;
}
.gnav_contact li a::before {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  font-size: 1.6rem;
  color: #33A500;
  transition: all 0.3s ease-out;
}
.gnav_contact li a:hover::before {
  right: 10px;
}
.gnav_pp {
  position: relative;
  width: 350px;
  margin: 0 auto 5em;
	font-family: "Noto Sans", sans-serif;
	font-weight: 400;
  text-align: left;
}
.gnav_pp a {
  text-decoration: underline !important;
}
@media screen and (max-width: 900px) {
  .h_nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .logo {
    top: 45%;
    left: 10px;
    width: 200px;
    font-size: 3rem;
  }
  a.h_contact {
    right: 75px;
    padding: 9px 30px 9px 15px;
    font-size: 1.3rem;
  }
  a.h_contact img {
    width: 18px;
    display: inline-block;
    margin: 0 5px 2px 0;
  }
  a.h_contact::before {
    right: 15px;
    font-size: 1.1rem;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    right: 10px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
	
	#gnav.panelactive #gnav-inner {
  
  width: 100%;
  border-radius: 0 0 0 50px;
}
	
 .gnav_wrap {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
  .gnav_logo {
    font-size: 3rem;
    width: 80%;
    margin: 1em auto 0.2em;
  }
  .gnav_nav {
    width: 80%;
  }
  .gnav_nav li {
    padding: 15px 0;
    font-size: 1.6rem;
  }
  .gnav_contact {
    width: 80%;
    margin: 2em auto 3em;
  }
  .gnav_contact li {
    margin: 1em auto 0;
  }
  .gnav_contact li:last-child a {
    font-size: 1.5rem;
  }
  .gnav_contact li:last-child a:hover {
    background-position: 99% 50%;
  }
  .gnav_contact li:last-child a img {
    margin: 0 7px 0px 0;
  }
  .gnav_contact li a {
    padding: 15px 0px 15px 30px;
  }
  .gnav_contact li:first-child a {
    font-size: 1.8rem;
    padding: 15px 0 15px 30px;
  }
  .gnav_contact li a img {
    width: 25px;
    margin: 0 7px 3px 0;
  }
  .gnav_pp {
    width: 80%;
  }
}
@media (max-height: 970px) {
  /* 高さ970px以下の場合 */
  .gnav_wrap {}
}