@charset "UTF-8";
/* CSS Document */
nav {
  position: fixed;
  z-index: 999;
  top: -1000%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.6s;
  font-size: 4vw;
}
nav.panelactive {
  top: 0;
  align-items: center;
  height: 100vh;
  display: flex;
}
nav.panelactive nav-list {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
nav ul {
  width: 100%;
  margin: auto;
}
nav ul li {
  list-style: none;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
}
nav ul li a {
  padding: 2em;
  display: block;
}
nav ul li.here {
  padding: 2em;
}
nav ul li.here a {
  padding: 0;
}
.openbtn {
  position: absolute;
  z-index: 1000;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.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: 30%;
}
header {
  width: 100%;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}
header h1 {
  font-size: 0;
  display: inline-block;
}
@media screen and (min-width: 801px) {
  header .wrapper {
    text-align: left;
  }
  header nav {
    top: 50%;
    right: 0;
    margin-top: -.5em;
  }
  #top header nav {
    top: 1em;
    right: 1em;
    margin-top: 0;
  }
  .openbtn {
    display: none;
  }
  nav {
    position: absolute;
    top: 1em;
    right: 1em;
    height: auto;
    width: auto;
    left: auto;
    background: transparent;
    font-size: 1.6rem;
  }
  nav ul {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
  nav ul li {
    border-right: 1px solid #333333;
    padding: 0 1em;
  }
  nav ul li a, nav ul li span {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    padding: 0;
  }
  nav ul li.here {
    padding: 0 1em;
  }
  nav ul li.here span:after {
    display: block;
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #ff8b26;
  }
  nav ul li a:after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #ff8b26;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
  }
  nav ul li a:hover:after {
    transform: scale(1, 1);
    transform-origin: left top;
  }
  nav ul li:last-child {
    border-right: none;
  }
}
@media screen and (min-width: 801px) and (max-width: 1024px) {
  nav {
    font-size: 1.6vw;
  }
}