@charset "UTF-8";
/*スマホメニューの色*/
/*スマホメニューの色*/
nav {
  display: none;
}

.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: 10px;
  left: 10px;
  z-index: 100;
  background-color: #000;
}
.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: #fff;
  -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 {
  display: block;
  width: 40vw;
  height: 100%;
  padding-top: 200px;
  background-color: #000;
  color: #333;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  -webkit-transform: translate(-100vw);
          transform: translate(-100vw);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
nav.open {
  -webkit-transform: translateZ(0vw);
          transform: translateZ(0vw);
}
nav ul {
  width: 90%;
  margin: 0 auto;
}
nav ul li {
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}
nav ul li a {
  display: block;
}
nav ul li a img {
  height: 50px;
}

@media screen and (max-width: 840px) {
  .menu-trigger {
    top: 5px;
  }
  nav {
    width: 60vw;
  }
}
@media screen and (max-width: 430px) {
  .menu-trigger {
    top: 0px;
  }
  nav {
    padding-top: 100px;
  }
}