@charset "UTF-8";
/*基本の青*/
/*薄い青*/
/*薄いグレー*/
/*収納*/
/*発行*/
/*発行用薄い色*/
/*スマホメニューの色*/
/*スマホメニューの色*/
.menu-trigger,
nav {
  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: 101;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
  }

  .overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
    position: fixed;
  }

  main {
    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;
  }

  .menu-trigger {
    display: inline-block;
    width: 60px;
    height: 60px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 104;
    background-color: #fff;
    /*   transform: translateX(0);
      transition: transform .5s;
     */
  }

  /* .menu-trigger.active {
    transform: translateX(-250px);
  }
   */
  .menu-trigger span {
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    left: 5px;
    width: 40px;
    height: 2px;
    background-color: #2745a9;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }

  .menu-trigger span:nth-of-type(1) {
    top: 18px;
  }

  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
            transform: translateY(12px) rotate(-45deg);
  }

  .menu-trigger span:nth-of-type(2) {
    top: 30px;
  }

  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .menu-trigger span:nth-of-type(3) {
    top: 43px;
  }

  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-13px) rotate(45deg);
            transform: translateY(-13px) rotate(45deg);
  }

  nav {
    display: block;
    width: 100vw;
    height: 100vh;
    padding-top: 100px;
    background-color: #cddaf6;
    color: #fff;
    position: fixed;
    top: -100vh;
    left: 0;
    z-index: 102;
    -webkit-transform: translateY(-100vh);
            transform: translateY(-100vh);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }

  nav.open {
    -webkit-transform: translateY(100vh);
            transform: translateY(100vh);
  }

  nav .bacemenu li {
    color: #5e657e;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px #fff solid;
  }

  nav .servicemenu {
    margin-top: 20px;
  }

  nav .servicemenu li {
    color: #5e657e;
    margin-bottom: 10px;
    padding: 0 20px;
  }
  nav .servicemenu li.service_name {
    font-size: 0.9em;
  }
  nav .servicemenu li.service_a a {
    background-color: #00cdff;
    padding: 10px 20px;
    color: #fff;
  }
  nav .servicemenu li.service_b a {
    background-color: #ff3366;
    padding: 10px 20px;
    color: #fff;
  }

  nav li a {
    display: block;
  }

  nav li a:link {
    color: #5e657e;
  }

  nav li a:visited {
    color: #5e657e;
  }
}