/* video start */

.fadeup {
  animation-name: fadeup-anime;
  animation-fill-mode:forwards;
  opacity:0;
  animation-duration: 1.5s;
}

@keyframes fadeup-anime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadein-overlay {
  animation:5s ease-in 1s infinite alternate forwards running expansion;
}

@keyframes fadein-overlay-anime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.newsfeed {
    height: 25px;
    margin: 0px;
    padding: 5px 0px 5px 40px;
    font-size: 11px;
    color: darkslategray;
    font-weight: bold;
    background-color: #efd200;
}

.popup {
  position: absolute;
  right: 0px;
  background: rgb(34, 144, 251);
  color: white;
  border-radius: 6px;
  margin: 10px;
  padding: 6px 20px;
  width: 750px;
  height: 60px;
  font-size: 11px;
  z-index:9;
}

 .popup a {
    position:absolute;
    z-index:10;
  }

  .popup:after {
    position: absolute;
    content: '';
    top: 100%;
    right: 70px;
    border: 10px solid transparent;
    border-top: 10px solid rgb(34, 144, 251);
    width: 0;
    height: 0;
  }

.message-box {
  float: right;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-text {
  display:inline;
  text-align: center;
  vertical-align: middle;
}

.overlay {
  position: absolute;
  min-height: 350px;
  top: 0px;
  bottom: 0px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}


 .overlay h2 {
    background: black none repeat scroll 0 0;
    color: #c1b6aa;
    font-weight: 600;
    margin: 2rem 3rem 0;
    mix-blend-mode: overlay;
    padding: 5px 15px;
    text-align: center;
    font-size: 48px;
    width: 100%;
  }

 .overlay .message-img {
    mix-blend-mode: overlay;
    width: 100%;
  }

 .overlay .message-img.ja {
    height: 15%;
  }

 .overlay .message-img.en {
    height: 5%;
  }

.video-area{
  position: relative;
  min-width: 610px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 0px 90px 0px;
}

.video {
  object-fit: fill;
}

@media screen and (max-width: 1200px) {
  .video {
    width: 350%;
  }
}

@media screen and (min-width: 1200px) {
  .video {
    width: 100%;
  }
}

/* video end */