@charset "Shift_JIS";

/*==========================================
  MV
=============================================*/
.mv {
  background: url('../image/mufg_mycounter-promotion_lp_2-bg-mv-s.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  width: 100%;
  height: 136.15vw;
  position: relative;
  overflow: hidden;
}
.mv h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86.15vw;
  transform: translate(-50%, -50%);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.mv__text {
  position: absolute;
  transition: opacity 0.5s ease;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 1.5s;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.mv__text:first-of-type {
  width: 50.51vw;
  top: 3%;
  right: 20%;
}
.mv__text:nth-of-type(2) {
  width: 49.48vw;
  top: 22.5%;
  left: 20%;
}
.mv__text:nth-of-type(3) {
  width: 45.64vw;
  top: 60.5%;
  right: 24%;
}
.mv__text:last-of-type {
  width: 48.2vw;
  top: 81%;
  left: 15%;
}

@media (min-width: 768px) {
  .mv {
    background: url('../image/mufg_mycounter-promotion_lp_2-bg-mv-p.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 35.87vw;
    position: relative;
  }
  .mv h1 {
    width: 66.03vw;
    top: 49%;
  }
  .mv__text {
    animation-delay: 1.5s;
  }
  .mv__text:first-of-type {
    width: 23vw;
    top: 6%;
    left: 19.5%;
  }
  .mv__text:nth-of-type(2) {
    width: 21vw;
    top: 6%;
    left: auto;
    right: 20%;
  }
  .mv__text:nth-of-type(3) {
    width: 21vw;
    top: auto;
    bottom: 6%;
    right: auto;
    left: 21%;
  }
  .mv__text:last-of-type {
    width: 20vw;
    top: auto;
    bottom: 7%;
    left: auto;
    right: 22%;
  }
}