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

@media screen and (max-width: 420px) {
  .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;
  }
  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;
  }
  main.open {
    -webkit-transform: translateX(-250px);
            transform: translateX(-250px);
  }
  main h1 {
    text-align: center;
    font-weight: 500;
  }
  .menu-trigger {
    display: inline-block;
    width: 50px;
    height: 60px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    background-color: #000;
    /*   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: 4px;
    background-color: #fff;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .menu-trigger:after {
    content: "MENU";
    position: absolute;
    bottom: 2px;
    left: 8px;
    color: #fff;
    font-size: 0.8em;
    line-height: 1;
  }
  .menu-trigger.active span {
    background-color: #fff;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 8px;
  }
  .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: 20px;
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger span:nth-of-type(3) {
    top: 33px;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-13px) rotate(45deg);
            transform: translateY(-13px) rotate(45deg);
  }
  nav {
    display: block;
    width: 250px;
    height: 100%;
    padding-top: 100px;
    background-color: #000;
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    -webkit-transform: translate(250px);
            transform: translate(250px);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  nav.open {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  nav li {
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px #fff solid;
  }
  nav li a {
    display: block;
  }
  nav li a:link {
    color: #fff;
  }
  nav li a:visited {
    color: #fff;
  }
  .linkbox {
    text-align: center;
    margin-top: 10px;
  }
  .linkbox a {
    background-color: #fff;
    color: #002b69;
    display: block;
    border-radius: 20px;
    padding: 10px;
    font-size: 1em;
    line-height: 1.2;
    width: 90%;
    margin: 0 auto;
  }
  .linkbox a:before {
    content: "\f138";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding: 0;
    margin-right: 10px;
    color: #002b69;
  }
}