/* -------------------------------------------------- ヘッダーメニュー */
header nav li{
    max-width: 20%;
    width: 100%;
    padding: 0.2rem 0;
}

#nav li a {
  display: block;
  position: relative;
}
#nav .menu-item-has-children > a:after,#nav .menu-item-has-children > a:before {
  display: block;
  content: "";
  position: absolute;
  top: 0; 
  right: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  width: 10px;
  height: 1px;
  background: #000;
  transition: .2s;
}
#nav .menu-item-has-children > a:after {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}
#nav .menu-item-has-children > a.open:before{
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}
#nav .menu-item-has-children > a.open:after{
  background: transparent;
}
#nav .menu-item-has-children .sub-menu {
    display: none;
    max-width: 100%;
    width: 100%;
}
@media only screen and ( max-width : 960px ) {
    #nav .menu-item-has-children > a:after,#nav .menu-item-has-children > a:before {
      background: #fff;
    }
  .overlay {
    width: 0;
    height: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
    background: rgba(0,0,0,.7);
  }
  .overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  #main {
    transition: all .5s;
    min-height: 100vh;
  }
  #main.open {
    position: fixed;
    width: 100%;
  }
  #menu_btn {
    top: 25px;
    right: 25px;
    transition: .3s;
    cursor: pointer;
    position: fixed;
    z-index: 9999;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-trigger {
    width: 40px;
    height: 24px;
    position: relative;
  }
  .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #9f374d;
    transition: all .5s;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    /*width: 70%;*/
    top: 11px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(1) {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
      background-color: #fff;
      top: 12px
  }
  #menu_btn.active .menu-trigger span:nth-of-type(2) {
    opacity: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(3) {
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
      background-color: #fff;
      top: 12px;
  }
  #nav {
      max-width: 80%;
      width: 100%;
      height: 100%;
      overflow: auto;
      padding: 90px 0;
    /*background: #000;*/
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    transform: translate(100%);
    transition: all .5s;
  }
  #nav.open {
      background-color: #9f374d;
    transform: translateZ(0);
  }
  #nav li {
    padding: 0 20px;
  }
  #nav li a {
    position: relative;
    padding: 20px;
    color: #fff;
  }
  #nav .menu-item-has-children .sub-menu {
    padding: 20px;
  }
  #nav .menu-item-has-children > a:first-of-type {
    position: relative;
    padding-right: 2em;
  }
  #nav .menu-item-has-children .sub-menu li {
    padding: 0;
    margin-bottom: 20px;
  }
  #nav .menu-item-has-children .sub-menu li:last-child {
    margin-bottom: 0;
  }
  #nav .menu-item-has-children .sub-menu li a {
    padding: 0;
  }
    .search{
        display:none;
    }
    
    header nav li{
        max-width: 100%;
        width: 100%;
}
}

@media print, screen and ( min-width : 961px ) {
  #menu_btn,.overlay {
    display: none;
  }
  #nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
      z-index: 9999;
  }
  #nav li {
    position: relative;
  }
  /*#nav li a {
    padding: 20px;
  }
  #nav .menu-item-has-children > a {
    padding-right: 40px;
  }*/
  #nav li ul.sub-menu {
      flex-direction: column;
      position: absolute;
      width: 200px;
      left: 50%;
      top: 100%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: rgba(238,234,231,0.9);
  }
  #nav li ul.sub-menu li {
      max-width: 100%;
      width: 100%;
  }
  #nav li ul.sub-menu li a {
    line-height: 1.6em;
  }
}

header nav ul{
    margin: 0;
}
nav{
    margin-bottom: 0;
}
.header-inner h1{
    margin: 0;
}