@charset "UTF-8";

.global-header {
  background: #e6e6e6;
}
.global-header__inner {
  max-width: 1000px;
  display: flex;
  position: relative;
  justify-content: space-between;
  padding: 20px 0;
  margin: 0 auto;
}
.global-header__sitename {
  width: 100%;
  max-width: 200px;
  height: 40px;
  background: none;
  border: none;
  position: relative;
  z-index: 100;
  padding: 0;
  margin: 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 {
  margin-left: auto;
}
.global-header__nav ul {
  display: flex;
  align-items: center;
  height: 100%;
}
.global-header__nav ul li a {
  display: block;
  text-align: center;
  color: #000;
  margin-right: 20px;
}
.global-header__nav ul li:last-of-type a {
  margin-right: 0;
}
.header-search,
.global-header__nav__sub {
  display: none;
}
@media screen and (max-width: 768px) {
  .global-header {
    width: 100%;
    position: fixed;
    z-index: 100;
  }
  .container {
    padding-top: 100px;
  }
  .global-header__inner {
    padding: 20px;
  }
  .global-header__sitename {
    display: block;
    margin: 10px 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 {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    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);
  }
  .global-header__nav {
    background: none;
  }
  .global-header__nav {
    width: 0;
    height: 100vh;
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    transition: .3s;
    z-index: 20;
    margin-right: calc(50% - 50vw);
  }
  .active .global-header__nav {
    width: 500px;
  }
  .global-header__nav ul {
    display: block;
    color: transparent;
    overflow: hidden;
    padding-top: 130px;
  }
  .global-header__nav ul li a {
    display: block;
    height: auto;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin: 0;
  }
  .global-header__nav ul {
    height: 100vh;
    background: #4d4d4d;
    padding-top: 30px;
    margin-top: 100px;
  }
  .active .global-header__nav {
    width: 90%;
  }
}