.t-template-02 {
  width: 100%;
  background-color: #fff;
}

.t-template-02__bg {
  width: 100%;
  padding-top: calc(1080 / 1920 * 100%);

  background-image: linear-gradient(to right,
    transparent, transparent calc(25% - 1px), #f5f5f6 calc(25% - 1px), #f5f5f6 25%,
    transparent 25%, transparent calc(50% - 1px), #f5f5f6 calc(50% - 1px), #f5f5f6 50%,
    transparent 50%, transparent calc(75% - 1px), #f5f5f6 calc(75% - 1px), #f5f5f6 75%,
    transparent 75%, transparent 100%);
  }

  .t-template-02__swiper-container {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .t-template-02__swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(276 / 1920 * 100vw) calc(255 / 1920 * 100vw) 0;
  }

  /* active */
  .t-template-02__swiper-slide.swiper-slide-active .t-template-02__swiper-slide__btn-play,
  .t-template-02__swiper-slide.swiper-slide-duplicate-active .t-template-02__swiper-slide__btn-play {
    transition: opacity 0.5s 1s, transform 0.5s 1s;
    opacity: 1;
    transform: initial;
    pointer-events: initial;

  }

  .t-template-02__swiper-slide.swiper-slide-active .t-template-02__swiper-slide__title-wrapper,
  .t-template-02__swiper-slide.swiper-slide-duplicate-active .t-template-02__swiper-slide__title-wrapper {
    transition: opacity 0.5s 1.4s, transform 0.5s 1.4s;
    opacity: 1;
    transform: initial;
    pointer-events: initial;
  }

  .t-template-02__swiper-slide.swiper-slide-active .t-template-02__swiper-slide__img,
  .t-template-02__swiper-slide.swiper-slide-duplicate-active .t-template-02__swiper-slide__img {
    transition: opacity 0.8s 1.9s, transform 0.8s 1.9s;
    opacity: 1;
    transform: initial;
    pointer-events: initial;
  }

  .t-template-02__swiper-slide__img-wrapper,
  .t-template-02__swiper-slide__bg,
  .t-template-02__swiper-slide__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .t-template-02__swiper-slide__img {
    transition: opacity 1s, transform 1s;
    opacity: 0;
    transform: translateX(10px);
  }

  .t-template-02__swiper-slide__img-wrapper img,
  .t-template-02__swiper-slide__img-wrapper source {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .t-template-02__swiper-slide__btn-play {
    display: flex;
    align-items: center;
    cursor: pointer;

    transition: opacity 1s, transform 1s;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
  }

  .t-template-02__swiper-slide__btn-play>* {
    pointer-events: none;
  }

  .t-template-02__swiper-slide__btn-play .text {
    font-family: Montserrat, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    font-size: calc(24 / 1920 * 100vw);
    font-weight: 700;
    color: #191f23;
    margin-left: calc(20 / 1920 * 100vw);
  }

  .t-template-02__swiper-slide__btn-play .icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(70 / 1920 * 100vw);
    height: calc(70 / 1920 * 100vw);
    background-color: #457CD7;
    border-radius: 50%;
  }

  .t-template-02__swiper-slide__btn-play img {
    width: calc(10 / 1920 * 100vw);
    transform: translateX(20%);
  }

  .t-template-02__swiper-slide__title-wrapper {
    display: block;
    margin-top: calc(70 / 1920 * 100vw);
    text-decoration: none;
    color: #000;

    transition: opacity 1s, transform 1s;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
  }

  .t-template-02__swiper-slide__title-wrapper .title-1 {
    font-size: calc(20 / 1920 * 100vw);
    font-weight: 700;
    margin: initial;
    color: #fff;
  }

  .t-template-02__swiper-slide__title-wrapper .title-2 {
    font-family: Montserrat, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    font-size: calc(70 / 1920 * 100vw);
    font-weight: 700;
    line-height: 0.85;
    color: #fff;
    margin: calc(20 / 1920 * 100vw) 0 0;
  }

  .t-template-02__swiper-slide__btn-more {
    display: flex;
    align-items: center;
    margin-top: calc(80 / 1920 * 100vw);
  }

  .t-template-02__swiper-slide__btn-more .text {
    font-size: calc(24 / 1920 * 100vw);
    font-weight: 700;
    margin: initial;
    color: #D85312;
  }

  .t-template-02__swiper-slide__btn-more .icon {
    width: calc(28 / 1920 * 100vw);
    margin-left: calc(40 / 1920 * 100vw);
  }

  .t-template-02__swiper-slide__btn-more .fas {
    font-size: 25px;
    margin-left: 30px;
    font-weight: 700;
    color: #D85312;
  }

  .t-template-02 .t-template-02__swiper-pagination {
    position: absolute;
    bottom: calc(120 / 1920 * 100vw);
    left: calc(255 / 1920 * 100vw);
    width: initial;
  }

  .t-template-02 .t-template-02__swiper-pagination .swiper-pagination-bullet {
    flex-shrink: 0;
    width: 10px;
    height: 10px;

    margin: initial;

    border: 1px solid #fff;
    background-color: initial;
    opacity: 1;
  }

  .t-template-02 .t-template-02__swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet {
    margin-left: calc(38 / 1920 * 100vw);
  }


  .t-template-02 .t-template-02__swiper-pagination .swiper-pagination-bullet-active {
    background-color:#D85312;
    border: none;
    outline: none;
  }

  .t-template-02__swiper-slide__copyright {
    position: absolute;
    right: calc(110 / 1920 * 100vw);
    top: 50%;
    font-size: calc(14 / 1920 * 100vw);
    margin: initial;

    transform: translateY(-50%) translateX(50%) rotate(-90deg);
    z-index: 10;
  }

  .t-template-02__swiper-slide__btn-message {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: calc(110 / 1920 * 100vw);
    bottom: calc(74 / 1920 * 100vw);
    transform: translateX(50%);
    display: none;
    width: calc(55 / 1920 * 100vw);
    height: calc(55 / 1920 * 100vw);
    background-color: #D85312;
    border-radius: 50%;
    z-index: 15;
    cursor: pointer;
  }

  .t-template-02__swiper-slide__btn-message .icon {
    width: calc(23 / 1920 * 100vw);
  }

  .t-template-02__swiper-slide__btn-scroll-down {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: calc(70 / 1920 * 100vw);
    left: calc(90 / 1920 * 100vw);

    transform-origin: 0 100%;
    transform: rotate(-90deg) translateY(100%);
    z-index: 10;
    cursor: pointer;
  }

  .t-template-02__swiper-slide__btn-scroll-down .text {
    font-family: Montserrat, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    font-size: calc(16 / 1920 * 100vw);
    color: #D85312;
    margin: 0 0 0 calc(10 / 1920 * 100vw);
  }

  .t-template-02__swiper-slide__btn-scroll-down::before {
    content: '';
    display: block;
    height: 2px;
    width: 35px;
    background-color: #fff;
  }

  .t-template-02__video-popup {
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;

    background-color: rgba(0, 0, 0, 0.8);
    z-index: 20;

    transition: opacity 0.5s;
    opacity: 0;
    pointer-events: none;
  }

  .t-template-02__video-popup.active {
    opacity: 1;
    pointer-events: initial;
  }

  .t-template-02__video-popup video {
    width: 86%;
  }



  /* tablet */
  @media (max-width: 1100px) {
    .t-template-02__bg {
      padding-top: calc(560 / 768 * 100%);
    }

    .t-template-02__swiper-slide {
      padding: 136px calc(55 / 768 * 100vw) 0;
    }

    .t-template-02__swiper-slide__btn-scroll-down {
      display: none;
    }

    .t-template-02__swiper-slide__copyright {
      display: none;
    }

    .t-template-02__swiper-slide__btn-play .icon {
      width: 40px;
      height: 40px;
    }

    .t-template-02__swiper-slide__btn-play img {
      width: 6px;
    }

    .t-template-02__swiper-slide__btn-play .text {
      font-size: 14px;
      margin-left: 12px;
    }

    .t-template-02__swiper-slide__title-wrapper {
      margin-top: 30px;
    }

    .t-template-02__swiper-slide__title-wrapper .title-1 {
      font-size: 14px;
    }

    .t-template-02__swiper-slide__title-wrapper .title-2 {
      font-size: 40px;
      margin-top: 10px;
    }

    .t-template-02__swiper-slide__btn-more .text {
      font-size: 16px;
    }

    .t-template-02__swiper-slide__btn-more .icon {
      width: 15px;
      margin-left: 26px;
    }

    .t-template-02__swiper-slide__btn-more {
      margin-top: 30px;
    }

    .t-template-02 .t-template-02__swiper-pagination {
      left: calc(55 / 768 * 100vw);
      bottom: 70px;
    }

    .t-template-02 .t-template-02__swiper-pagination .swiper-pagination-bullet {
      width: 7px;
      height: 7px;
    }

    .t-template-02 .t-template-02__swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet {
      margin-left: 25px;
    }

    .t-template-02__swiper-slide__btn-message {
      width: 36px;
      height: 36px;
      right: calc(40 / 768 * 100vw);
      bottom: 30px;
      transform: initial;
    }

    .t-template-02__swiper-slide__btn-message .icon {
      width: 15px;
    }
  }

  /* mobile */
  @media (max-width: 700px) {
    .t-template-02__swiper-slide {
      padding: 250px calc(40 / 320 * 100vw) 0;
    }

    .t-template-02__bg {
      padding-top: 100vh;
    }

    .t-template-02__swiper-slide__btn-play .text {
      display: none;
    }

    .t-template-02__swiper-slide__title-wrapper {
      margin-top: 18px;
      top: 120px;
    }

    .t-template-02__swiper-slide__title-wrapper .title-2 {
      font-size: 30px;
      margin-top: 18px;
    }

    .t-template-02__swiper-slide__btn-more {
      margin-top: 18px;
    }

    .t-template-02 .t-template-02__swiper-pagination {
      left: calc(40 / 320 * 100vw);
      bottom: 34px;
    }

    .t-template-02__swiper-slide__btn-message {
      position: fixed;
      right: calc(25 / 320 * 100vw);
      bottom: 25px;
    }

    .t-template-02__swiper-slide__btn-play {
      top: 120px;
    }
  }
