/* ==========================================================================
  animation
   ========================================================================== */
.slide-down,
.slide-up {
  position: relative;
  opacity: 0;
}
.slide-down {
  top: -40px;
  left: 0;
  animation: slide-down ease 0.1s forwards 0.4s;
}
.slide-up {
  top: 40px;
  left: 0;
  animation: slide-up ease 0.3s forwards 0.6s;
}
@keyframes slide-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-40px);
    opacity: 1;
  }
}
@keyframes slide-down {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(40px);
    opacity: 1;
  }
}

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}
.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

ul.tit.tit_top {
  position: absolute;
  top: 22%;
  left: 16%;
  transform: translate(-50%, -50%) skew(-25%);
  display: flex;
  margin: 0;
  padding: 0;
}
ul.tit.tit_bottom {
  position: absolute;
  top: 38%;
  left: 45%;
  transform: translate(-50%, -50%) skew(-40%);
  display: flex;
  margin: 0;
  padding: 0;
}
ul.tit li {
  font-family: "MBC1961M";
  position: relative;
  color: #117cf5;
  width: 60px;
  height: 80px;
  font-size: 5.6rem;

  text-align: center;
  line-height: 80px;
  box-sizing: border-box;
  overflow: hidden;
}
ul.tit li:before {
  content: attr(data-title);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #117cf5;
  animation: animate 3s linear infinite;
}
@keyframes animate {
  0% {
    top: -100%;
  }
  20% {
    top: 0%;
    background: transparent;
    color: #fff;
  }
  40% {
    top: 0%;
    background: #b3d3f8;
    color: #fff;
    border-color: #fff;
  }
  60% {
    top: -10%;
    background: transparent;
    color: #7effe7;
  }
  80% {
    top: -20%;
    background: transparent;
    color: #fff;
  }
  100% {
    top: 100%;
  }
}
ul.tit li:nth-child(1):before {
  animation-delay: 0s;
}
ul.tit li:nth-child(2):before {
  animation-delay: 0.1s;
}
ul.tit li:nth-child(3):before {
  animation-delay: 0.2s;
}
ul.tit li:nth-child(4):before {
  animation-delay: 0.3s;
}
ul.tit li:nth-child(5):before {
  animation-delay: 0.4s;
}
ul.tit li:nth-child(6):before {
  animation-delay: 0.5s;
}
ul.tit li:nth-child(7):before {
  animation-delay: 0.6s;
}
ul.tit li:nth-child(8):before {
  animation-delay: 0.7s;
}
ul.tit li:nth-child(9):before {
  animation-delay: 0.8s;
}
ul.tit li:nth-child(10):before {
  animation-delay: 0.9s;
}
ul.tit li:nth-child(11):before {
  animation-delay: 0.8s;
}
ul.tit li:nth-child(12):before {
  animation-delay: 0.7s;
}
ul.tit li:nth-child(13):before {
  animation-delay: 0.6s;
}
ul.tit li:nth-child(14):before {
  animation-delay: 0.5s;
}
ul.tit li:nth-child(15):before {
  animation-delay: 0.4s;
}
ul.tit li:nth-child(16):before {
  animation-delay: 0.3s;
}
