@charset "UTF-8";
/* CSS Document */
@keyframes border_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0; /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: #fff;
  /*動き*/
  transition: all 0.8s;
  pointer-events: none;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
  pointer-events: auto;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav .gnavInner {
  position: relative;
  width: 100%;
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  z-index: 3;
  background: url(../img/pattern/wood2.png) repeat center center;
}

#g-nav .gnavInner::after {
  position: absolute;
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: url(../img/common/nav_bg.jpg) no-repeat center center;
  z-index: 0;
}

@media screen and (max-width: 979px) {
  #g-nav .gnavInner::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/common/nav_bg_smp.jpg) no-repeat center center;
    transition: all 0.2s linear;
  }
}
/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav.panelactive ul {
  display: block;
}

/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
}

@media screen and (max-width: 979px) {
  #g-nav li {
    list-style: none;
    text-align: center;
  }
}
#g-nav li a {
  color: #222;
  text-decoration: none;
  padding: 15px 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 300;
  font-size: 1.8rem;
  pointer-events: auto;
  font-family: "Geologica", sans-serif;
}

#g-nav li a:hover {
  color: #5a8e08;
  transition: all 0.2s linear;
}

#g-nav li.snsicons {
  display: flex;
}
#g-nav li.snsicons a i {
  font-size: 2.2rem;
}

@media screen and (max-width: 767px) {
  #g-nav li.snsicons {
    display: flex;
    justify-content: center;
  }
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 24px;
  right: 20px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  pointer-events: auto;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background-color: #111;
  width: 50%;
}

.openbtn.active span {
  background-color: #111;
}

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

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

.openbtn span:nth-of-type(3) {
  top: 35px;
}

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

.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: 45%;
}

.panelactive li a {
  animation-duration: 0.2s;
}

@media screen and (max-width: 767px) {
  .openbtn {
    top: 20px;
    right: 18px;
    width: 58px;
    height: 58px;
  }
}/*# sourceMappingURL=navi.css.map */