@charset "Shift_JIS";

/*==========================================
  MV
=============================================*/
.mv {
  background: url('../image/mufg_mycounter-promotion_lp_4-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: 83.58vw;
  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: 43vw;
  top: 0.5%;
  right: 15%;
}
.mv__text:nth-of-type(2) {
  width: 43.33vw;
  top: 23.5%;
  left: 20%;
}
.mv__text:nth-of-type(3) {
  width: 42.3vw;
  top: 62%;
  right: 21%;
}
.mv__text:last-of-type {
  width: 43.33vw;
  top: 81.5%;
  left: 20%;
}

@media (min-width: 768px) {
  .mv {
    background: url('../image/mufg_mycounter-promotion_lp_4-bg-mv-p.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 35.87vw;
    position: relative;
  }
  .mv h1 {
    width: 67.86vw;
    top: 48%;
  }
  .mv__text {
    animation-delay: 1.5s;
  }
  .mv__text:first-of-type {
    width: 17vw;
    left: 11.6%;
    top: 3%;
  }
  .mv__text:nth-of-type(2) {
    width: 22vw;
    top: 4.5%;
    left: auto;
    right: 18.5%;
  }
  .mv__text:nth-of-type(3) {
    width: 19vw;
    top: auto;
    bottom: 10%;
    right: auto;
    left: 20.5%;
  }
  .mv__text:last-of-type {
    width: 21vw;
    top: auto;
    bottom: 7%;
    left: auto;
    right: 10%;
  }
}