@charset "utf-8";

/*
  Header
========================================== */
.header__inner {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.header__logo {
  flex-shrink: 0;
  margin-right: 60px;
}
.header__logo img{height: 88px;}
.globalNavi {
  width: 100%;
}

.globalNavi ul {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  margin: 0;
}
.globalNavi li{
  padding-bottom: 4px;
}
.globalNavi li img{
  height: 36px;
}
@media screen and (max-width: 899.9px){
  .header {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: .3s;
    z-index: 1300;
  }

  #g_navi:not(.is-open) .header{
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10%);
  }
  .header__inner,.globalNavi ul{
    flex-direction:column;
    align-items: center;
  }
  .header__logo{margin: 0 0 60px;}
  .globalNavi ul li{margin-bottom:30px;}
}

/*
  Overlay
========================================== */

.navOverlay {
  position: fixed;
  z-index: 1200;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: rgba(0, 0, 0, .9);
  transition: .3s;
}

#g_navi:not(.is-open) .navOverlay{
  opacity: 0;
  pointer-events: none;
}

@media screen and (min-width: 900px){
  .navOverlay {
    display: none;
  }
}
/*
  Drawr Button
========================================== */

.menuButton {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1400;
  background: #000;
  width: 60px;
  height: 60px;
  line-height: 1;
}

@media screen and (min-width: 900px){
  .menuButton {
    display: none;
  }
}

.menuIcon {
  position: relative;
  width: 30px;
  height: 26px;
  margin: auto;
}

.menuIcon__line {
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 4px;
  background-color: #b4ff5b;
  transition: .3s;
}

.menuIcon__line:nth-child(1) {
  top: 0;
}

.menuIcon__line:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}

.menuIcon__line:nth-child(3) {
  bottom: 0;
}

#g_navi.is-open .menuIcon__line:nth-child(1) {
  transform: rotate(45deg);
  top: calc(50% - 2px);
}

#g_navi.is-open .menuIcon__line:nth-child(2) {
  transform: scale(0);
}

#g_navi.is-open .menuIcon__line:nth-child(3) {
  bottom: calc(50% - 2px);
  transform: rotate(-45deg);
}