@charset "UTF-8";
/*----------------------------------------------
スマホメニュー
----------------------------------------------*/
.wrapper {
  position: relative;
}

#btn-gnav {
  display: none;
}

@media screen and (max-width: 999px) {
  #btn-gnav {
    position: fixed;
    top: 20px;
    right: 15px;
    z-index: 5;
    display: block;
    width: 30px;
    height: 19px;
    cursor: pointer;
  }
  #btn-gnav span {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #2f9649;
    -webkit-box-shadow: 0 0 2px #fff;
            box-shadow: 0 0 2px #fff;
    -webkit-transition: ease .4s;
    transition: ease .4s;
  }
  #btn-gnav span:nth-child(1) {
    top: 0;
  }
  #btn-gnav span:nth-child(2) {
    margin: 8px 0;
  }
  #btn-gnav span:nth-child(3) {
    top: 0;
  }
  body.open {
    overflow: hidden;
  }
  body.open #btn-gnav {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  body.open #btn-gnav span {
    background-color: #fff;
    text-decoration: none;
  }
  body.open #btn-gnav span:nth-child(1) {
    top: 5px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  body.open #btn-gnav span:nth-child(2) {
    opacity: 0;
  }
  body.open #btn-gnav span:nth-child(3) {
    top: -13px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  #gnav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 100vh;
    padding: 10px;
    background: rgba(47, 150, 73, 0.8);
    overflow-y: auto;
    -webkit-transition: ease .1s;
    transition: ease .1s;
  }
  #gnav > ul {
    min-height: calc(100vh - 60px);
  }
  #gnav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #gnav li {
    margin-right: 0;
    text-align: center;
    line-height: 2;
  }
  #gnav li + li {
    margin-top: 20px;
  }
  #gnav a {
    color: #fff;
  }
}
/*# sourceMappingURL=sp_nav.css.map */