@charset "Shift_JIS";

/*==========================================
  MV
=============================================*/
.mv {
  background: url('../image/mufg_mycounter-promotion_lp_3-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: 47.69vw;
  top: 1%;
  right: 16%;
}
.mv__text:nth-of-type(2) {
  width: 44.61vw;
  top: 22.5%;
  left: 20%;
}
.mv__text:nth-of-type(3) {
  width: 45.89vw;
  top: 61%;
  right: 19%;
}
.mv__text:last-of-type {
  width: 53vw;
  top: 82.5%;
  left: 18%;
}

@media (min-width: 768px) {
  .mv {
    background: url('../image/mufg_mycounter-promotion_lp_3-bg-mv-p.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 35.87vw;
    position: relative;
  }
  .mv h1 {
    width: 85.79vw;
    top: 49%;
  }
  .mv__text {
    animation-delay: 1.5s;
  }
  .mv__text:first-of-type {
    width: 22vw;
    top: 5%;
    left: 23%;
  }
  .mv__text:nth-of-type(2) {
    width: 22vw;
    top: 3%;
    left: auto;
    right: 18%;
  }
  .mv__text:nth-of-type(3) {
    width: 20.7vw;
    top: auto;
    bottom: 8.5%;
    right: auto;
    left: 20.5%;
  }
  .mv__text:last-of-type {
    width: 21vw;
    top: auto;
    bottom: 9%;
    left: auto;
    right: 21.3%;
  }
}

/*==========================================
  MVスライダー(追加)
=============================================*/
.campaign-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}


.campaign-slider__track {
  overflow: hidden;
  position: relative;
}

.campaign-slider__list {
  display: flex;
  transition: transform 0.5s ease;
  width: 200%; /* 2枚の画像分 */
}

.campaign-slider__item {
  flex: 0 0 50%; /* 各アイテムが50%の幅 */
  box-sizing: border-box;
}

.campaign-slider__image {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* スライダーのナビゲーション */
.campaign-slider__nav {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  gap: 22px;
}

.campaign-slider__nav-button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.campaign-slider__nav-button.active {
  background: #E60000;
}

@media (min-width: 768px) {
  .campaign-slider__container {
    padding: 0;
  }
  
  .campaign-slider__item {
    padding: 0;
  }
  
  .campaign-slider__nav {
    margin-top: 20px;
  }
}


/*==========================================
  キャンペーンバナー
=============================================*/

.campaign-banner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 90%;
  margin: 0 auto 80px auto;
  overflow: hidden;
  font-family: sans-serif;
}

.campaign-banner__label {
  background: #e60000;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  font-size: 1.5rem;
}
.campaign-banner__image-wrapper {
  padding: 36px 28px 36px 28px;
}

.campaign-banner__image-link {
  display: block;
  text-align: center;
}

.campaign-banner__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .campaign-banner {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    margin: 60px auto 80px auto;
    overflow: hidden;
    font-family: sans-serif;
  }
  .campaign-banner__label {
    font-size: 1.5rem;
  }

  .campaign-banner__label {
    background: #e60000;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 1.5rem;
  }

  .campaign-banner__image-wrapper {
    padding: 28px 60px 28px 60px;
  }

  .campaign-banner__image-link {
    display: block;
    text-align: center;
  }

  .campaign-banner__image {
    width: 100%;
    height: auto;
    display: block;
  }
}