.t-template-08 {
  /* background-color: #14120f; */
  padding: calc(108 / 1920 * 100vw) calc(255 / 1920 * 100vw) calc(136 / 1920 * 100vw);
  background-image: url(/src/part01/img/t-08/index_case_bg.jpg)
}

.t-template-08__title {
  font-size: calc(36 / 1920 * 100vw);
  font-weight: 700;
  margin: initial;
  color: #000;
}

.t-template-08__swiper-container {
  margin-top: calc(68 / 1920 * 100vw);
}

.t-template-08__swiper-slide .img-wrapper {
  width: 100%;
}

.t-template-08__swiper-slide .img-wrapper__inner {
  padding-top: calc(504 / 450 * 100%);
}

.t-template-08__swiper-slide .img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-template-08__swiper-slide .inner {
  display: block;
  text-decoration: none;
  color: #fff;

  border-radius: 5px;
  overflow: hidden;
}

.t-template-08__swiper-slide .content-container {
  display: flex;
  flex-direction: column;

  background-color: #000;
  padding: calc(86 / 1920 * 100vw) calc(60 / 1920 * 100vw) calc(110 / 1920 * 100vw);
}

.t-template-08__swiper-slide .content-type-wrapper {
  display: flex;
  align-items: center;
}

.t-template-08__swiper-slide .content-type-wrapper .icon {
  display: flex;
  justify-content: center;
  align-items: center;

  width: calc(54 / 1920 * 100vw);
  flex-shrink: 0;
  height: calc(54 / 1920 * 100vw);

  background-color: #D85312;
  border-radius: 50%;
}

.t-template-08__swiper-slide .content-type-wrapper .icon img {
  width: calc(19 / 1920 * 100vw);
}

.t-template-08__swiper-slide .content-type-title-wrapper {
  flex-grow: 1;
  margin: auto auto auto calc(16 / 1920 * 100vw);
}

.t-template-08__swiper-slide .content-type-title {
  font-size: calc(18 / 1920 * 100vw);
}

.t-template-08__swiper-slide .content-type-date {
  font-size: calc(14 / 1920 * 100vw);
}

.t-template-08__swiper-slide .content-title {
  font-size: calc(30 / 1920 * 100vw);
  margin: calc(26 / 1920 * 100vw) 0 0;
}

.t-template-08__swiper-slide .btn-more {
  display: flex;
  align-items: center;
  margin: auto 0 0;
}

.t-template-08__swiper-slide .btn-more .text {
  font-size: calc(20 / 1920 * 100vw);
  font-weight: 700;
  line-height: 1;
  margin: initial;
}

.t-template-08__swiper-slide .btn-more img {
  width: calc(9 / 1920 * 100vw);
  margin-left: calc(30 / 1920 * 100vw);
}


@media (min-width: 1101px) {
  .t-template-08__swiper-slide .content-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
  }

  @media (hover: hover) {
    .t-template-08__swiper-slide .inner:hover .content-container {
      pointer-events: initial;
      opacity: 1;
    }
  }
}

@media (min-width: 701px) {
  .t-template-08__swiper-wrapper {
    width: auto;
    height: auto;
    margin: 0 calc(-15 / 1920 * 100vw);
  }

  .t-template-08__swiper-slide {
    width: 33.3333333%;
    padding: 0 calc(15 / 1920 * 100vw);
  }
}

/* tablet */
@media (max-width: 1100px) {
  .t-template-08 {
    padding: 48px calc(55 / 768 * 100vw);
  }

  .t-template-08__title {
    font-size: 20px;
  }

  .t-template-08__swiper-container {
    margin-top: 34px;
  }

  .t-template-08__swiper-wrapper {
    margin: 0 -6px;
  }

  .t-template-08__swiper-slide {
    height: auto;
    padding: 0 6px;
  }

  .t-template-08__swiper-slide .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .t-template-08__swiper-slide .content-container {
    padding: 20px 28px 66px;
    min-height: 180px;
    flex-grow: 1;
  }

  .t-template-08__swiper-slide .content-type-wrapper .icon {
    width: 25px;
    height: 25px;
  }

  .t-template-08__swiper-slide .content-type-wrapper .icon img {
    width: 9px;
  }

  .t-template-08__swiper-slide .content-type-title-wrapper {
    margin-left: 8px;
  }

  .t-template-08__swiper-slide .content-type-title {
    font-size: 12px;
  }

  .t-template-08__swiper-slide .content-type-date {
    font-size: 12px;
  }

  .t-template-08__swiper-slide .content-title {
    font-size: 14px;
    margin-top: 20px;
  }

  .t-template-08__swiper-slide .btn-more {
    position: absolute;
    bottom: 24px;
    left: 28px;
  }

  .t-template-08__swiper-slide .btn-more .text {
    font-size: 12px;
  }

  .t-template-08__swiper-slide .btn-more img {
    width: 6px;
    margin-left: 8px;
  }
}

/* mobile */
@media (max-width: 700px) {
  .t-template-08 {
    padding: 48px calc(40 / 320 * 100vw) 40px;
  }

  .t-template-08__swiper-slide .btn-more .text {
    font-size: 14px;
  }

  .t-template-08__swiper-container {
    margin-top: 30px;
  }

  .t-template-08__swiper-wrapper {
    height: auto;
    margin: initial;
  }

  .t-template-08__swiper-slide {
    padding: initial;
  }

  .t-template-08__swiper-slide .content-container {
    padding: 30px 24px 84px;
    min-height: 206px;
  }

  .t-template-08__swiper-slide .btn-more {
    bottom: 30px;
    left: 24px;
  }

  .t-template-08__swiper-pagination {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 32px;
  }

  .t-template-08__swiper-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    border: 1px solid #457cd7;
  }

  .t-template-08__swiper-pagination .swiper-pagination-bullet-active {
    background-color: #457cd7;
    border-color: #457cd7;
  }

  .t-template-08__swiper-pagination .swiper-pagination-bullet+.swiper-pagination-bullet {
    margin-left: 25px;
  }
}
