@charset "UTF-8";

  height: 100%;
  overflow-x: hidden;
  position: relative;
}
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
   height: 100dvh;
  opacity: 1;
}
.menu-trigger {
  display: inline-block;
  width: 36px;
  height: 28px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 19px;
  right: 30px;
  z-index: 100;
 }
.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;/*バーガーの線色*/
  transition: all .5s;
}
.menu-trigger.active span {
  background-color: #fff;/*バーガーの線色*/
}
/*SP時ナビが見えなくなる対処*/
@media screen and (min-width:0) and (max-width:768px) {
    .menu-trigger span {
        background-color:#bbb !important;
    }
    .menu-trigger.active span {
        background-color:#fff !important;
    }
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(12px) rotate(-45deg);
}
.menu-trigger span:nth-of-type(2) {
  top: 12px;
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-12px) rotate(45deg);
}

nav#SpNav {
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transform: translate(100%);
  transition: all .5s;
}
nav#SpNav.open {
  transform: translateZ(0);
}
.background1 {
      background:rgba(170,45,93,0.97);
}
.background2 {
      background:rgba(165,145,47,0.97);
}
.background3 {
      background:rgba(49,71,163,0.97);
}
.background4 {
      background:rgba(47,165,114,0.97);
}

nav#SpNav ul li {
  color: #fff;
  text-align: center;
  padding: 10px 0;
}