@charset "UTF-8";

@media screen and (min-width:960px) {
  #sp-nav-new{
    display: none;
  }
}

@media only screen and ( max-width : 959px ) {
  body{
    overflow: auto!important;
  }
  body.nav-open {
    width:auto;
    overflow: hidden!important;
    height:100%;
  }
  #nav-new li{
    list-style: none;
  }
  #nav-new li a {
    display: block;
    color: #fff;
    position: relative;
  }
  #nav-new .menu-item-has-children > a:after,#nav-new .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;
    transition: .2s;
    background:#222;
  }
  #nav-new .menu-item-has-children > a:after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  }
  #nav-new .menu-item-has-children > a.open:before{
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  #nav-new .menu-item-has-children > a.open:after{
    background: transparent;
  }
  #nav-new .menu-item-has-children .sub-menu {
    display: none;
  }
  .nav_cate{
    width:90%;
    background:#5db856;
    color:#fff;
    padding:5px;
    display: block;
    font-weight: bold;
    text-align: center;
    margin:20px auto 10px;
    border-radius: 5px;
  }

  .overlay-new {
    width: 0;
    height: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
    background:#00000080;
  }
  .overlay-new.open {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  #menu_btn {
    top: 0;
    right: 0;
    transition: .3s;
    cursor: pointer;
    position: fixed;
    z-index: 9999;
    width: 60px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#5db856;
  }

  .menu-trigger {
    width: 30px;
    height: 16px;
    position: relative;
  }
  .menu-trigger::before {
    content:'メニュー';
    font-size:65%;
    font-weight: bold;
    color:#fff;
    position:absolute;
    bottom:-20px;
    left:-4px;
    margin:0 auto;
    display: block;
    white-space: nowrap;
    letter-spacing: -0.1rem;
  }
  body.nav-open .menu-trigger::before {
    content:'閉じる';
    font-size:65%;
    font-weight: bold;
    color:#fff;
    position:absolute;
    bottom:-20px;
    left:1px;
    margin:0 auto;
    display: block;
    white-space: nowrap;
    letter-spacing: -0rem;
  }

  body.nav-open #pageTop, body#page_reserve.nav-open #reserve_price_fixed{
    display: none!important;
  }
  .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all .5s;
  }
  .menu-trigger span:nth-of-type(1) {
    top: -10px;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 0px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 2px;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(8px) rotate(-45deg);
  }
  #menu_btn.active .menu-trigger span:nth-of-type(2) {
    opacity: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg);
  }
  #nav-new {
    width: 400px;
    height: 100%;
    overflow: auto;
    padding: 90px 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 12;
    transform: translate(400px);
    transition: all .5s;
    background:#fff;
  }

  @media only screen and ( max-width : 480px ) {
    #nav-new {
      width: 100%;
      transform: translate(100%);
    }
  }
  #nav-new.open {
    transform: translateZ(0);
  }

  #nav-new .nav{
    width:100%;
    height:calc(100% - 80px);
    position:fixed;
    top:68px;
    right:0;
    overflow: scroll;
    padding-top:5px;
    padding-bottom:300px;
    background:#eff7ef;
    overscroll-behavior-y: contain;
    box-sizing: border-box;
  }
  #nav-new li {
    padding: 0 20px;
    margin-bottom:5px;
    box-sizing: border-box;
  }
  #nav-new .nav>li>a {
    position: relative;
    padding: 10px 20px;
    color: #222;
    text-decoration: none!important;
    background:#fff;
    border-radius: 3px;
    box-sizing: border-box;
  }

  #nav-new .nav>li>a:hover, #nav-new .nav>li>a:active{
    background:#fdfbe3;
  }

  #nav-new .nav>li>a.open{
    background:#fdfbe3;
  }
  #nav-new .nav>li>a+ul {
    padding:10px 0;
  }
  #nav-new .nav>li>a+ul>li {
    padding: 0 10px;
  }
  #nav-new .nav>li>a+ul>li>a {
    position: relative;
    padding: 5px 10px 5px 15px;
    color: #222;
    text-decoration: none!important;
    box-sizing: border-box;
    position:relative;
  }
  #nav-new .nav>li>a+ul>li>a::before {
    content: "";
    width: 3px;
    height: 3px;
    border-right: 1px solid #444;
    border-top: 1px solid #444;
    display: inline-block;
    transform: rotate(45deg);
    position:absolute;
    top:13px;
    left:6px;
  }
  .nav-new_head{
    position:relative;
  }
  .nav-new_head>a{
    width:200px;
    display: block;
    position:fixed;
    top:5px;
    left:15px;
  }

  .sub-menu{
    font-size:90%;
  }

  #nav-new .nav>li>a+.sub-menu-c02>li{
    width:49%;
    display: inline-block;
    box-sizing: border-box;
  }
}
