@charset "UTF-8";
/* CSS Document */
@keyframes border_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.headerNavi {
  display: block;
  width: calc(100% - 280px);
  animation: appear 0.3s ease;
}
.headerNavi ul {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 20px 70px 20px 0;
  justify-content: flex-end;
  box-sizing: border-box;
}
.headerNavi li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  padding: 0 15px;
}
.headerNavi li a {
  position: relative;
  text-decoration: none;
}
.headerNavi li a::after {
  content: "";
  opacity: 0;
  display: block;
  margin: 0 auto;
  bottom: -20px;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
}
.headerNavi li a:hover::after {
  opacity: 1;
  transition: all 0.2s linear;
  content: "";
  display: block;
  background: #007235;
  animation: border_anim 0.4s cubic-bezier(0.16, 0.5, 0.43, 1) forwards;
}

.headerNavi li a {
  transition: all 0.2s linear;
}
.headerNavi li a {
  color: #111;
}
.headerNavi li a:hover {
  color: #007235;
}

@media screen and (max-width: 1100px) {
  .headerNavi li {
    font-size: 1.6rem;
    padding: 0 12px;
    transition: all 0.2s linear;
  }
}
@media screen and (max-width: 979px) {
  .headerNavi {
    display: none;
  }
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0; /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: #012f16;
  /*動き*/
  transition: all 0.8s;
}

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

/*ナビゲーションの縦スクロール*/
#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%;
  background: url(../img/id/logo_mark.svg) no-repeat;
  background-size: 30% 30%;
  background-position: 95% 90%;
  font-family: "Noto Sans JP", sans-serif;
  z-index: 3;
}

#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.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: #fff;
  text-decoration: none;
  padding: 15px 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 1.8rem;
}

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

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 24px;
  right: 20px;
  cursor: pointer;
  width: 60px;
  height: 60px;
}

/*×に変化*/
.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: #fff;
}

.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 */