@charset "UTF-8";

@media screen and (max-width: 768px) {
  .global-header {
    background: #e6e6e6;
  }
  .global-header__inner {
    max-width: 1000px;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
  }
  .active.global-header__inner {
    width: 100%;
    position: fixed;
    z-index: 20;
    top: 0;
    padding: 0;
  }
  .global-header__sitename {
    width: 100%;
    max-width: 200px;
    height: 40px;
    display: block;
    background: none;
    border: none;
    position: initial;
    transform: none;
    padding: 0;
    margin: 10px auto;
  }
  .global-header__sitename a {
    height: 100%;
    display: block;
    background: var(--logo);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-indent:100%;
    white-space:nowrap;
    overflow:hidden;
  }
  .active .global-header__sitename {
    display: none;
  }
  .global-header__nav {
    width: 100%;
    background: #4d4d4d;
  }
  .active .global-header__nav {
    display: block;
    padding: 20px;
  }
  .global-header__nav ul {
    display: none;
    height: 0;
    background: #4d4d4d;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
  }
  .active .global-header__nav ul {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .global-header__nav ul li {
    width: calc((100% - 30px) / 3);
    display: flex;
    color: #4d4d4d;
    background: #fff;
    margin-bottom: 20px;
  }
  .global-header__nav ul li:nth-of-type(3) {
    margin-right: 0;
  }
  .global-header__nav ul li:nth-of-type(3n-1) {
    margin: 0 15px 20px;
  }
  .global-header__nav ul li:nth-of-type(n+4) {
    margin-bottom: 0;
  }
  .global-header__nav ul li a {
    width: 100%;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    padding: 5px;
    margin: 0;
  }
  .global-header__nav ul li a,
  .global-header__nav ul li:last-of-type a {
    border: none;
  }
  .header-search,
  .header-search form,
  .global-header__nav__sub {
    display: none;
  }
  .active .header-search form {
    display: block;
  }
  .global-header {
    width: 100%;
    position: fixed;
    z-index: 100;
  }
  .global-header__inner {
    height: auto;
    display: block;
    padding: 20px;
  }
  .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);
  }
  .header-search {
    height: 0;
    background: #4d4d4d;
    padding: 110px 20px 20px;
  }
  .header-search__input {
    width: 100%;
    background: #fff;
    height: 60px;
    padding-left: 10px;
  }
  .header-search__btn {
    width: 60px;
    height: 60px;
    position: absolute;
    right: 40px;
    background: url(../img/common/icn_search_02.png) no-repeat right / 30px;
  }
  .active .header-search {
    height: auto;
    display: block;
  }
  .container {
    padding-top: 100px;
  }
}