@charset "UTF-8";

@media screen and (max-width: 768px) {
  .global-header {
    width: 100%;
    background: #e6e6e6;
    position: fixed;
    z-index: 100;
  }
  .global-header__inner {
    max-width: 1000px;
    display: flex;
    position: relative;
    justify-content: space-between;
    padding: 20px;
    margin: 0 auto;
  }
  .global-header__sitename {
    width: 100%;
    max-width: 200px;
    height: 40px;
    display: block;
    background: none;
    border: none;
    position: relative;
    z-index: 100;
    padding: 0;
    margin: 10px 0;
  }
  .global-header__sitename a {
    height: 100%;
    display: block;
    background: var(--logo);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-indent:100%;
    overflow:hidden;
  }
  .global-header__nav {
    width: 0;
    height: calc(100% - 100px);
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 20;
    transition: .3s;
    margin-top: 100px;
  }
  .active .global-header__nav {
    width: 90%;
  }
  .global-header__nav ul {
    height: 100%;
    background: #4d4d4d;
    overflow: hidden;
    padding-top: 30px;
  }
  .global-header__nav ul li a {
    display: block;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    padding: 10px 0;
    margin: 0;
  }
  .global-header__nav ul li:last-of-type a {
    margin-right: 0;
  }
  .global-header__btn {
    width: 60px;
    height: 60px;
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    transition: .3s;
    z-index: 30;
    margin-right: 0;
  }
  .global-header__btn span,
  .global-header__btn span::before,
  .global-header__btn span::after {
    width: 30px;
    height: 5px;
    content: '';
    display: block;
    background: #4d4d4d;
    position: absolute;
  }
  .global-header__btn span::before {
    bottom: 10px;
  }
  .global-header__btn span::after {
    top: 10px;
  }
  .active .global-header__btn {
    right: 20px;
    background: #fff;
    border-radius: 0;
  }
  .active .global-header__btn span {
    background: transparent;
  }
  .active .global-header__btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  .active .global-header__btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .header-search,
  .global-header__nav__sub {
    display: none;
  }
  .container {
    padding-top: 100px;
  }
}