/* --- メインビジュアル --- */
.c-mv {
  background-image: url(/-/media/tfc/ts3web/file/assets/img/lp/ts/application/mv_a_bg_sp.webp);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 375px auto;
}

.c-mv__inner {
  display: grid;
  overflow: hidden;
}

.c-mv__title-image {
  z-index: 10;
  margin-top: 32px;
  margin-left: 24px;
}

.c-mv__title-img {
  display: block;
  width: 327px;
  height: auto;
  min-width: 0;
  max-width: 100%;
}

.c-mv__illustration-image {
  z-index: 0;
  margin-top: -5px;
}

.c-mv__illustration-img {
  display: block;
  margin-left: auto;
  width: 324px;
  height: auto;
  min-width: 0;
  max-width: 100%;
}

.c-mv__subtitle-image {
  z-index: 5;
  margin-top: -29px;
  margin-left: 24px;
  margin-bottom: 20px;
}

.c-mv__subtitle-img {
  display: block;
  width: 327px;
  height: auto;
  min-width: 0;
  max-width: 100%;
}

.c-mv__point-image {
  display: none;
}

/* --- バウンドインアニメーション（MV用） --- */
.c-mv-bound {
  animation-name: boundIn;
  animation-duration: 800ms;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-delay: 0ms;
}

@keyframes boundIn {
  0% {
    opacity: 0;
    transform: translateY(-300px);
  }
  70% {
    opacity: 0.8;
    transform: translateY(0px);
  }
  90% {
    opacity: 1;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* フェードインアニメーション（MV用） */
.c-mv-fadeIn {
  animation-duration: 500ms;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
  animation-delay: 800ms;
}

.c-mv-fadeIn--bottom {
  animation-name: fadeInBottom;
}

.c-mv-fadeIn--right {
  animation-name: fadeInRight;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ユーザーが動きの削減を好む場合の設定 */
@media (prefers-reduced-motion: reduce) {
  .c-mv-bound,
  .c-mv-fadeIn {
    animation: none;
    opacity: 1;
  }
}

/* ========== レスポンシブ設定 ========== */

@media screen and (min-width: 768px) {
  /* --- メインビジュアル（PC） --- */
  .c-mv {
    background-image: url(/-/media/tfc/ts3web/file/assets/img/lp/ts/application/mv_a_bg_pc.webp);
    background-size: contain;
    background-position: top center;
  }

  .c-mv__inner {
    grid-template-columns: 113fr 310fr 327fr;
    grid-template-rows: 1fr 1fr;
    max-width: 1500px;
    margin: 0 auto;
  }

  .c-mv__title-image {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 38px;
    margin-left: 8px;
  }

  .c-mv__title-img {
    max-width: 615px;
    width: 100%;
  }

  .c-mv__illustration-image {
    grid-column: 3/4;
    grid-row: 1/3;
    margin-top: 0;
  }

  .c-mv__illustration-img {
    width: 100%;
    max-width: 654px;
  }

  .c-mv__subtitle-image {
    grid-column: 2/3;
    grid-row: 2/3;
    margin-top: auto;
    margin-left: 8px;
    margin-bottom: 40px;
  }

  .c-mv__subtitle-img {
    width: 100%;
    max-width: 628px;
  }

  .c-mv__point-image {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1/2;
    grid-row: 1/3;
  }

  .c-mv__point-img {
    width: 61%;
    max-width: 138px;
  }

  .c-mv-fadeIn--pc {
    animation-name: fadeIn;
    animation-duration: 500ms;
    animation-timing-function: ease-out;
    animation-delay: 800ms;
    animation-fill-mode: both;
  }
}

/* ユーザーが動きの削減を好む場合の設定 */
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .c-mv-fadeIn--pc {
    animation: none;
    opacity: 1;
  }
}
