@charset "UTF-8";
/*背景の濃い青*/
/*とても薄い青*/
/*薄い青*/
/*スマホメニューの色*/
/*スマホメニューの色*/
.menu-trigger,
nav.spmenunav,
.overlay {
  display: none;
}

@media screen and (max-width: 840px) {
  #wrapper {
    overflow-x: hidden;
    position: relative;
  }
  .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;
  }
  #overmain {
    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;
  }
  #overmain.open {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  .menu-trigger {
    display: inline-block;
    width: 60px;
    height: 60px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
    background-color: #fff;
    border: 1px #99abb5 solid;
  }
  .menu-trigger span {
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    left: 10px;
    width: 40px;
    height: 2px;
    background-color: #99abb5;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .menu-trigger:after {
    content: "MENU";
    position: absolute;
    font-weight: bold;
    bottom: 4px;
    left: 9px;
    color: #99abb5;
    font-size: 0.6em;
    line-height: 1;
    letter-spacing: 5px;
  }
  .menu-trigger.active span {
    background-color: #99abb5;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 12px;
  }
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
            transform: translateY(10px) rotate(-45deg);
  }
  .menu-trigger span:nth-of-type(2) {
    top: 24px;
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger span:nth-of-type(3) {
    top: 35px;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
            transform: translateY(-12px) rotate(45deg);
  }
  nav.spmenunav {
    display: block;
    width: 100vw;
    height: 100%;
    padding-top: 100px;
    background-color: #99abb5;
    color: #fff;
    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.spmenunav.open {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  nav ul {
    width: 50vw;
    margin: 0 auto;
  }
  nav li {
    color: #fff;
    text-align: center;
    padding: 0 0 10px 0;
  }
  nav li a {
    display: block;
  }
  nav li a:link {
    color: #fff;
  }
  nav li a:visited {
    color: #fff;
  }
}