/*
Theme Name:nexttry-test
Author:更新システム
Description:更新システム専用テーマ
*/

nav#gnav {
	display: none;
}



  #nav-trigger {
    position: fixed;
    top: 45px;
    right: 40px;
    z-index: 100;
    -webkit-transform: translate3d(0px, -100px, 0px);
            transform: translate3d(0px, -100px, 0px);
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
  }

  #nav-trigger.is-show {
    -webkit-transform: translate3d(0px, 0px, 0px);
            transform: translate3d(0px, 0px, 0px);
  }

  #nav-trigger.is-open a .txt::after {
    content: 'CLOSE';
  }

  #nav-trigger.is-open a .ico {
    width: 20px;
  }

  #nav-trigger.is-open a .ico span:nth-child(1) {
    width: 20px !important;
    -webkit-transform: translate3d(0px, 5px, 0px) rotate(45deg) !important;
            transform: translate3d(0px, 5px, 0px) rotate(45deg) !important;
  }

  #nav-trigger.is-open a .ico span:nth-child(2) {
    width: 20px !important;
    -webkit-transform: translate3d(0px, -2.5px, 0px) rotate(-45deg) !important;
            transform: translate3d(0px, -2.5px, 0px) rotate(-45deg) !important;
  }

  html[data-sp="false"] #nav-trigger.is-open a:hover .ico span:nth-child(1), html[data-sp="false"] #nav-trigger.is-open a:hover .ico span:nth-child(2) {
    -webkit-transition: width .3s ease;
    transition: width .3s ease;
    width: 25px !important;
  }

  #nav-trigger a {
    display: inline-block;
    font-size: 0;
  }

  html[data-sp="false"] #nav-trigger a:hover .ico {
    width: 20px;
  }

  html[data-sp="false"] #nav-trigger a:hover .ico span:nth-child(1) {
    width: 20px;
  }

  html[data-sp="false"] #nav-trigger a:hover .ico span:nth-child(2) {
    width: 10px;
  }

  #nav-trigger a .txt {
    padding-right: 14px;
    display: inline-block;
    vertical-align: top;
  }

  #nav-trigger a .txt::after {
    content: 'MENU';
    display: inline-block;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1em;
    letter-spacing: 0.1em;
    color: #000;
    text-shadow: 0px 1px 0px #fff;
  }

  @media screen and (max-width: 768px) {
    #nav-trigger a .txt::after {
      font-size: 7px;
      font-size: 0.7rem;
      line-height: 1em;
      text-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
    }
  }

  #nav-trigger a .ico {
    width: 40px;
    height: 1em;
    display: inline-block;
    vertical-align: top;
    position: relative;
    -webkit-transition: width .3s ease;
    transition: width .3s ease;
  }

  #nav-trigger a .ico span {
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0px;
    background: #000;
    -webkit-transition: width .3s ease, -webkit-transform .3s ease;
    transition: width .3s ease, -webkit-transform .3s ease;
    transition: width .3s ease, transform .3s ease;
    transition: width .3s ease, transform .3s ease, -webkit-transform .3s ease;
  }

  #nav-trigger a .ico span:nth-child(1) {
    width: 40px;
    top: 2px;
  }

  #nav-trigger a .ico span:nth-child(2) {
    width: 30px;
    top: 9px;
  }

  @media screen and (max-width: 980px) {
    #nav-trigger {
      top: 35px;
      right: 40px;
      -webkit-transform: translate3d(0px, 0px, 0px);
              transform: translate3d(0px, 0px, 0px);
    }
    #nav-trigger.is-open a .ico {
      width: 15px;
    }
    #nav-trigger.is-open a .ico span:nth-child(1) {
      width: 15px !important;
      -webkit-transform: translate3d(0px, 2.5px, 0px) rotate(45deg) !important;
              transform: translate3d(0px, 2.5px, 0px) rotate(45deg) !important;
    }
    #nav-trigger.is-open a .ico span:nth-child(2) {
      width: 15px !important;
      -webkit-transform: translate3d(0px, -5px, 0px) rotate(-45deg) !important;
              transform: translate3d(0px, -5px, 0px) rotate(-45deg) !important;
    }
    #nav-trigger a .txt {
      padding-right: 10px;
    }
    #nav-trigger a .ico {
      width: 35px;
    }
    #nav-trigger a .ico span:nth-child(1) {
      width: 35px;
    }
    #nav-trigger a .ico span:nth-child(2) {
      width: 25px;
      top: 9px;
    }
  }

  @media screen and (max-width: 768px) {
    #nav-trigger {
      top: 21px;
      right: 6.6666%;
    }
    #nav-trigger a .txt::after {
      font-size: 28px;
      font-size: 2.8rem;
      line-height: 1em;
    }
  }

  @media screen and (max-width: 768px) and (max-width: 768px) {
    #nav-trigger a .txt::after {
      font-size: 14px;
      font-size: 1.4rem;
      line-height: 1em;
      text-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
    }
  }

  #nav-mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
  }

  #nav-mask.is-show {
    opacity: 1;
  }

  #nav-mask span {
    width: 100%;
    height: 50%;
    position: fixed;
    background: #fff;
  }

  #nav-mask span#mask-top {
    top: 0px;
  }

  #nav-mask span#mask-bot {
    bottom: 0px;
  }

section.sec-service .image-wrap a {
	top: -17px;
}

#sec-mainvisual-visual {
	display: none;
}