@charset "UTF-8";
/*基本の青*/
/*薄いグレー*/
/*薄いグレー*/
/*スマホメニューの色*/
/*スマホメニューの色*/
.menu-trigger,
nav.spmenu {
  display: none;
}

@media screen and (max-width: 840px) {
  .wrapper {
    overflow-x: hidden;
    position: relative;
  }
  .wrapper.on {
    height: 100vh;
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
  }
  .overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
    position: fixed;
  }
  .wrapp_bace {
    padding: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    min-height: 100vh;
  }
  .wrapp_bace.open {
    height: 0;
  }
  .menu-trigger {
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 100;
    background-color: #fff;
  }
  .menu-trigger span {
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    left: 11px;
    width: 30px;
    height: 2px;
    background-color: #333;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 14px;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 24px;
  }
  .menu-trigger span:nth-of-type(3) {
    top: 34px;
  }
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(8px) rotate(-45deg);
            transform: translateY(8px) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
            transform: translateY(-12px) rotate(45deg);
  }
  nav.spmenu {
    display: block;
    width: 100vw;
    height: 100%;
    padding-top: 100px;
    background-color: #fff;
    color: #333;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    -webkit-transform: translate(100vw);
            transform: translate(100vw);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  nav.spmenu.open {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  nav.spmenu li {
    color: #333;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px #ccc solid;
  }
  nav.spmenu li a {
    display: block;
  }
  nav.spmenu li a:link {
    color: #333;
  }
  nav.spmenu li a:visited {
    color: #333;
  }
}