@charset "Shift_JIS";

/*==========================================
  MV
=============================================*/
.mv {
  background: url('../image/mufg_mycounter-promotion_lp_5-bg-mv-s.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  width: 100%;
  height: 137.69vw;
  position: relative;
  overflow: hidden;
}
.mv h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 87.17vw;
  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: 39.48vw;
  top: 2%;
  right: 23%;
}
.mv__text:nth-of-type(2) {
  width: 48vw;
  top: 23%;
  left: 20%;
}
.mv__text:nth-of-type(3) {
  width: 46.28vw;
  top: 61.5%;
  right: 22%;
}
.mv__text:last-of-type {
  width: 40.76vw;
  top: 82.5%;
  left: 23%;
}

@media (min-width: 768px) {
  .mv {
    background: url('../image/mufg_mycounter-promotion_lp_5-bg-mv-p.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 35.87vw;
    position: relative;
  }
  .mv h1 {
    width: 82vw;
    top: 48%;
  }
  .mv__text {
    animation-delay: 1.5s;
  }
  .mv__text:first-of-type {
    width: 20vw;
    top: 4%;
    left: 21.5%;
  }
  .mv__text:nth-of-type(2) {
    width: 28vw;
    top: 5%;
    left: auto;
    right: 12.5%;
  }
  .mv__text:nth-of-type(3) {
    width: 25vw;
    top: auto;
    bottom: 7%;
    right: auto;
    left: 15%;
  }
  .mv__text:last-of-type {
    width: 19vw;
    top: auto;
    bottom: 7%;
    left: auto;
    right: 20.5%;
  }
}