
.main-banner {
  width: 100%;
  height: 100vh;
  background: #ccc;
  position: relative;
}

.main-banner .main-banner-contents {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  background-image: url(../images/main-banner-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.main-banner .main-banner-contents .main-banner-text .title {
  color: #ffffff;
  font-size: 48px;
  line-height: 1.3;
  margin: 0 0 44px;
  word-break: keep-all;
}
.main-banner .main-banner-contents .main-banner-text .sub-copy {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
}

.main-banner .next-article {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  animation-name: next-article;
  animation-duration: 2s;
  animation-direction:alternate;
  animation-fill-mode: forwards;
  animation-iteration-count:infinite;
  cursor: pointer;
}

/* 키프레임 이름 = 애니메이션 이름 */
@-webkit-keyframes next-article {
  0% {
    bottom:50px;
  }
  50% {
    bottom:80px;
  }
  100% {
    bottom:50px;
  }
}

.is-content-article.counter {
  padding-top: 140px;
  padding-bottom: 180px;
}
.count-list {
  padding-top: 80px;
  display: flex;
  justify-content: space-between;
}
.count-list li {
  width: 200px;
  text-align: center;
  margin-right: 20px;

}
.count-list li:last-child {
  margin-right: 0;
}

.count-list li .number {
  height: 64px;
  color: #231815;
  font-size: 36px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #666160;
}
.count-list li .number p {
  margin: 0;
  padding: 0;
}
.count-list li .number .count {
  color: #e60012;
  font-weight: bolder;
}
.count-list li .info {
  color: #666160;
  font-size: 18px;
}

.service-article {
  padding-top: 120px;
  padding-bottom: 160px;
  background-color: #f1f1f1;
}

.main-service-list {
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
}

.main-service-list li {
  width: calc(50% - 10px);
  position: relative;
  overflow: hidden;
  margin-right: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
}

.main-service-list li p {
  width: 100%;
  position: absolute;
  top: 50%;
  margin: 0;
  transform: translate(0, -50%);
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  z-index: 2;
}

.main-service-list li img {
  width: 100%;
  object-fit: contain;
}

.main-service-list li:after {
  width: 100%;
  height: 100%;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #231815;
  opacity: 0.7;
  z-index: 1;
  transition: opacity 300ms;
}

.main-service-list li:hover:after {
  opacity: 0.4;
  transition: opacity 300ms;
}

.main-service-list li:nth-child(2n) {
  margin-right: 0;
}

.main-service-list li:nth-child(3),
.main-service-list li:nth-child(4) {
  margin-bottom: 0;
}
.service-article .service-swiper {
  width: 100%;
  padding: 80px 0;
}
.service-article .swiper-container {
  width: 100%;
  position: relative;
}
.service-article .swiper-container .swiper-wrapper {
  width: 100%;
}
.service-article .swiper-container .swiper-wrapper .swiper-slide {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.service-article .swiper-container .swiper-wrapper .swiper-slide:after {
  width: 100%;
  height: 100%;
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #231815;
  opacity: 0.6;
  z-index: 1;
  transition: opacity 300ms;
}

.service-article .swiper-container .swiper-wrapper .swiper-slide  p {
  width: 100%;
  position: absolute;
  top: 50%;
  margin: 0;
  transform: translate(0, -50%);
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  z-index: 2;
}

.service-article .swiper-container .swiper-wrapper .swiper-slide img {
  width: 100%;
}

.service-article .swiper-container .swiper-pagination-bullet {
  background-color: #ffffff;
}
.service-article .swiper-container .swiper-pagination-bullet-active {
  background-color: #ffffff;
}

.main-service-info {
  color: #231815;
  text-align: center;
}

.main-service-info .sub-copy {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.4;
}

.main-service-info .main-copy {
  margin: 0;
  line-height: 1.4;
  font-size: 28px;
  font-weight: bold;
}

.main-service-info .main-copy b {
  display: inline-block;
  padding: 0 4px;
  color: #ffffff;
  background-color: #e60012;
  /*background-color: #231815;*/
}

.is-content-article.customer {
  padding-top: 120px;
  padding-bottom: 180px;
}

.customer-list {
/*   padding-top: 48px; */
  display: flex;
  flex-wrap: wrap;
}

.customer-list li {
  width: calc(20% - 16px);
  flex-basis: calc(20% - 16px);
  margin-right: 20px;
  margin-bottom: 20px;
}

.customer-list li:nth-child(5n) {
  margin-right: 0;
}
.customer-list li img {
  width: 100%;
  object-fit: contain;
}


@media (max-width: 1200px) {
  .main-banner .main-banner-contents .main-banner-text {
    width: 100%;
    padding: 0 20px;
  }
  .main-banner .main-banner-contents .main-banner-text .title {
    font-size: 42px;
    margin: 0 0 40px;
  }

  .is-content-article.counter {
    padding-top: 120px;
    padding-bottom: 160px;
  }
}

@media (max-width: 1080px) {
  .is-content-article.counter {
    padding-bottom: 100px;
  }

  .service-article {
    padding-top: 100px;
    padding-bottom: 120px;
  }

  .count-list {
    flex-wrap: wrap;
  }

  .count-list li {
    width: calc(50% - 10px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 20px;
    margin-bottom: 60px;
  }
  .count-list li:nth-child(2n) {
    margin-right: 0;
  }

  .count-list li .number {
    width: 200px;
  }
  .count-list li .info {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .main-banner .main-banner-contents .main-banner-text .title {
    font-size: 36px;
    margin: 0 0 36px;
  }
  .main-banner .main-banner-contents .main-banner-text .sub-copy {
    font-size: 16px;
  }

  .is-content-article.counter {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .service-article {
    padding-top: 100px;
    padding-bottom: 140px;
  }
  .count-list {
    padding-top: 60px;
  }

  .count-list li .number {
    width: 160px;
    height: 58px;
    font-size: 32px;
  }
  .count-list li .info {
    font-size: 16px;
  }

  .customer-list li {
    width: calc(50% - 10px);
    flex-basis: calc(50% - 10px);
    margin-right: 20px;
  }

  .customer-list li:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 400px) {
  .main-banner .main-banner-contents .main-banner-text .title {
    font-size: 28px;
    margin: 0 0 32px;
  }
  .main-banner .main-banner-contents .main-banner-text .sub-copy {
    font-size: 14px;
  }

  .is-content-article.counter {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .service-article {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .count-list {
    padding-top: 40px;
  }

  .count-list li .number {
    width: 140px;
    height: 54px;
    font-size: 28px;
    letter-spacing: -0.4px;
  }
}
