@charset "UTF-8";


@media screen and (max-width: 768px) {
  #h-menu {
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: all 0.3s;
  }

  #h-menu.panelactive {
    opacity: 1;
    z-index: 999;
  }

  #h-menu.panelactive #h-menu-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #h-menu.panelactive .header-wrap__nav__list{
    display: block;
  }

  #h-menu .header-wrap__nav__list {
    display: none;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10rem;
  }

  #h-menu .header-wrap__nav__list__item {
    text-align: center;
    margin: 50px 0;
  }

  #h-menu .header-wrap__nav__list__item a {
    color: #000;
  }

  .openbtn {
    visibility: visible;
    display: block;
    width: 25px;
    height: 20px;
    cursor: pointer;
    margin-right: 3%;
    z-index: 9999;
  }

  .openbtn span {
    display: block;
    height: 2.5px;
    border-radius: 2.5px;
    width: 100%;
    margin: 5px 0;
    transition: all 0.4s;
    background-color: #fff;
  }

  .openbtn.active span:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #000;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #000;
  }
}
