.modal {
  width: 100%;
  height: 100%;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  display: flex;
  flex-direction: column;
}
.modal__inner {
  width: 300px;
  margin: auto;
  text-align: center;
}
.is-hidden {
  display: none;
}
.container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
}
.main-txt {
  margin: auto;
  font-size: 13rem;
  color: white;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  letter-spacing: 1.5rem;
  z-index: 10;
}
.credit {
  position: fixed;
  text-align: center;
  left: 50%;
  bottom: 3rem;
  font-size: 0.7rem;
  transform: translateX(-50%);
  color: white;
}
.kosugi {
  font-family: "Kosugi", sans-serif;
}
.kosugi-maru {
  font-family: "Kosugi Maru", sans-serif;
}
.mplus {
  font-family: "M PLUS 1p", sans-serif;
}
.mplus-round {
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.notosans {
  font-family: "Noto Sans JP", sans-serif;
}
.notosans-bold {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}
.notosans-thin {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
}
.notoserif {
  font-family: "Noto Serif JP", serif;
}
.sawarabi-gothic {
  font-family: "Sawarabi Gothic", sans-serif;
}
.sawarabi-mincho {
  font-family: "Sawarabi Mincho", sans-serif;
}
.arial {
  font-family: "arial unicode ms";
}
.serif {
  font-family: serif;
}
.bold {
  font-weight: bold;
}
.hiragino {
  font-family: "ヒラギノ角ゴ Pro W6", "HiraKakuPro-W6 ";
}
.hiragino-bold {
  font-family: " ヒラギノ角ゴ Std W8", "Hiragino Kaku Gothic Std";
}
.hiragino-mincho {
  font-family: "ヒラギノ明朝 Pro W3 ", " Hiragino Mincho Pro";
}
.hiragino-mincho-alpha {
  font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6";
}
.yumincho {
  font-family: "游明朝体", "YuMincho";
}

.glitch__color {
  opacity: 0.8;
  z-index: 100;
  mix-blend-mode: color-dodge;
}
.glitch__color--red {
  animation: glitch 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  color: red;
}

.glitch__color--blue {
  animation: glitch 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite reverse;
  color: blue;
}

.glitch__color--green {
  animation: glitch 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 100ms infinite;
  color: #00ff0b;
}

@keyframes glitch {
  0% {
    transform: translate(-50%, -50%);
  }
  20% {
    transform: translate(-52%, -49%);
  }
  40% {
    transform: translate(-51%, -51%);
  }
  60% {
    transform: translate(-48%, -49%);
  }
  80% {
    transform: translate(-51%, -49%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg, 0deg);
  }
  48% {
    transform: skew(0deg, 0deg);
    filter: blur(0);
  }
  50% {
    transform: skew(-20deg, 0deg);
    filter: blur(4px);
  }
  52% {
    transform: skew(20deg, 0deg);
  }
  54% {
    transform: skew(0deg, 0deg);
    filter: blur(0);
  }
  100% {
    transform: skew(0deg, 0deg);
  }
}

.bg {
  background: url(./bg.jpg) 140% 140% / cover;
  width: 140%;
  height: 140%;
  padding: 0;
  margin: 0;
  position: fixed;
  top: -5%;
  left: -5%;
  animation: bg-glitch 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 100ms infinite;
}

.bg__color {
  width: 140%;
  height: 140%;
  position: fixed;
  top: -5%;
  left: -5%;
  z-index: 1;
}

.bg__color__red {
  /* background: red; */
  mix-blend-mode: color-dodge;
  opacity: 1;
  background: url(./bg.jpg) 130% 130% / cover;
  animation: bg-glitch 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 100ms infinite;
}

.bg__color__blue {
  /* background: blue; */
  mix-blend-mode: difference;
  opacity: 0.8;
  background: url(./bg.jpg) 130% 130% / cover;
  animation: bg-glitch 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite
    reverse;
}
.bg__color__green {
  background: green;
  mix-blend-mode: color-dodge;
  opacity: 0.5;
}

@keyframes bg-glitch {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-2%, -2%);
  }
  40% {
    transform: translate(-2%, -1%);
  }
  60% {
    transform: translate(2%, 1%);
  }
  80% {
    transform: translate(-1%, 1%);
  }
  100% {
    transform: translate(0, 0);
  }
}
