@charset "utf-8";

/*--- NAV ---*/

.gnavi.active .desvg path{
  fill: #fff;
}
nav {
  width: 100%;
  height: 100vh;
  transition: all 0.8s;
  position: fixed;
  top: 0%;
  right: 0;
  z-index: 1999;
  background-color: #000000b0;
  transform: translate(100%);
  animation: fadeout 1s ease 0s normal;
  -webkit-animation: fadeout 1s ease 0s normal;
  opacity: 0;
}

nav.open .header-logo {
  top: 25px;
  left: 3%;
  position: fixed;
}

#button {
  display: block;
  background: none;
  border: none;
  padding: 0;
  width: 45px;
  color: #fff;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: fixed;
  top: 4px;
  z-index: 1001;
  text-align: center;
  outline: none;
  right: 20px;
}

.gnavi #btn span.bar {
  display: block;
  height: 2px;
  background-color: #000;
  margin: 5px 0px;
  transition: all 0.2s;
  transform-origin: 0 0;
  width: 30px;
}

.gnavi.active #btn span.bar {
    background-color: #f3f3f3;
}

#btn .close {
  letter-spacing: 0.08em;
  display: none;
}

#btn .menu {
  display: block;
}

#btn span.bar.bar3 {
  width: 22px;
}

/*  メニューアクティブ時  */
.btn_menu.active span.bar {
  width: 52px;
}

.btn_menu.active .bar1 {
  transform: rotate(45deg);
  position: relative;
  top: -7px;
  left: 2px;
}

.header-sns-wrap-sp {
  position: absolute;
  translate: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  bottom: 17%;
  left: 97%;
  transform: translatex(-97%);
}

.btn_menu.active .bar2 {
  opacity: 0;
}

.btn_menu.active .bar3 {
  transform: rotate(-45deg);
}

#btn.btn_menu.active span.bar.bar3 {
  width: 30px;
}

.btn_menu.active .menu {
  display: none;
}

.btn_menu.active .close {
  display: block;
}

.menu-mobile {
  display: block;
}

.menu-dropdown-icon:before {
  display: block;
}

.btn_menu {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 5%;
  z-index: 2000;
  display: block;
}

.gnavi {
  height: 55px;
  background-color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  position: fixed;
  z-index: 2000;
  width: 100%;
  top: 0;
  transition:.5s;

}
.gnavi.active {
  background: #000;
  color:#fff;
  transition: .5s;
}

.gnavi .icon {
  left:15px;
  position:absolute;
  width:120px;
  top:50%;
  transform: translate(-0%,-50%)

}
.gnavi .icon polygon,.gnavi .icon path {
    fill:#000;
    /*! position: absolute; */
    max-width: 150px;
    /*! top: 0%; */
    /*! left: 30px; */
    /*! transform: translate(0,-50%); */
    transition: .5s;
    z-index: 3000;
}
.gnavi.active .icon polygon,.gnavi.active .icon path {
  fill: #fff;

}

.gnavi__inner {
  max-width: 980px;
  height: 100%;
  margin: 0 auto;
  /*! color: #000; */
}


.gnavi__inner img {
 margin: 0; 
 max-width: 170px;
 width: 35%;
 position: absolute;
 top: 50%;
 transform: translate(-0%,-50%);
 left: 1%;
 z-index: 2000;
}

.gnavi ul {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  top: 50%;
  justify-content: flex-end;
}

.gnavi li {
  position: relative;
}

.gnavi li:last-child::after {
  content: none;
}

.gnavi li a {
  display: flex;
  padding: 12px;
  flex-wrap: wrap;
  position: relative;
}

.gnavi li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.gnavi li a::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.gnavi li {
  display: flex;
  align-items: center;
  word-break: keep-all;
  height: 9vh;
  font-size: 20px;
  font-weight: 800;
  width: 220px;
  flex: 1.1;
}

nav.open {

  animation: fadeIn .8s ease 0s normal;
  -webkit-animation: fadeIn .8s ease 0s 1 normal;
  transform: translate(0);
  opacity: 1;
  color: #fff;
}

.nav-under-banner-wrap {
    width: 100%;
    /*! padding: 20px 0px; */
    position: fixed;
    color: #fff;
}
*.gnavi .nav-banner-content {
  font-size: 12px;
  text-align: center;
      background: #4d4d4d;
      height: auto;
  font-weight: 700;
  width: 100%;
  transition: 0.5s;
  display: block;
  padding: 10px;
  min-height: 40px;
}

*.gnavi.active .nav-banner-content  {
  display: block;
  transition: 0.5s;
  overflow: hidden;
}

.nav-banner-content:hover {
  background: #0164ff;
  transition: .5s;
}

@media (min-width:960px) {
  /*--- nav ---*/
  nav {
    width: 100%;
    height: 0;
    transform: translate(0%);
    top: 35px;
    display: block;
    opacity: 1;
    visibility: visible;
  }

.nav-jp {
    font-size: 65%;
  }

.nav-eng, .sns-title {
    font-size: 130%;
  }

.gnavi li {
    height: 60px;
    font-size: 14px;
    justify-content: flex-end;
  }
  
.gnavi li:hover,.header-logo:hover,.gnavi .icon:hover {
    opacity: 0.5;
    transition: .5s;
  }
  
.gnavi {
    height: 70px;
  }

#btn {
    display: none;
  }

.gnavi ul {
    flex-direction: row;
    width: 60%;
    left: 70%;
  }
  
  .gnavi li a {
    padding: 14px;
  }
}
  @media (min-width:1280px) {
     .gnavi li a {
    padding: 0px;
  } 
  }

/*--- nav ---*/
.gnavi.icon-color {
    fill: #fff;
}
