@charset "utf-8";

/* ========== cases-swiper ========== */

.cases-swiper {
  position: relative;
  z-index: 1;
}

.cases-swiper .swiper-wrapper {
  height: auto;
}

.cases-swiper .swiper-slide {
  width: 1000px;
  height: auto;
}

.cases-swiper .cp-item {
  display: block;
}

.cases-swiper .cp-poster img {
  display: block;
  width: 100%;
}

.cases-swiper .cp-title {
  text-align: center;
}

.cases-swiper .cp-title p {
  margin-top: 20px;
  color: var(--color-primary);
  font-size: 14px;
}

.cases-swiper .cp-title h3 {
  margin-top: 10px;
  font-size: 20px;
}

@media (max-width: 1366px) {
  .cases-swiper .swiper-slide {
    width: 860px;
  }
}

@media (max-width: 960px) {
  .cases-swiper .swiper-slide {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .cases-swiper-foucs {
    display: none;
  }
  .cases-swiper .cp-title h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .cases-swiper .cp-title h3 {
    font-size: 16px;
  }
}

/* ========== case-list ========== */

.case-list ul {
  margin-left: -40px;
}

.case-list ul li {
  width: 50%;
  padding-left: 40px;
  margin-bottom: 50px;
}

.case-list .cp-poster {
  width: 100%;
  overflow: hidden;
}

.case-list .cp-poster img {
  display: block;
  width: 100%;
}

.case-list .cp-title {
  margin-top: 20px;
}

.case-list .cp-title h3 {
  margin-top: 10px;
  font-size: 24px;
}

.case-list .cp-title p {
  font-size: 14px;
  color: var(--color-primary);
}

@media (max-width: 1366px) {
  .case-list ul {
    margin-left: -30px;
  }

  .case-list ul li {
    padding-left: 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .case-list ul {
    margin-left: 0;
  }

  .case-list ul li {
    width: 100%;
    padding-left: 0;
    margin-bottom: 30px;
  }

  .case-list .cp-title h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .case-list .cp-title h3 {
    font-size: 18px;
  }
}

/* ========== case-customer ========== */

.case-customer {
  background-color: #f5f5f5;
}

.case-customer-list {
  margin-top: 50px;
}

.case-customer .item-customer {
  position: relative;
  z-index: 1;
  border-top: 1px solid #333;
  padding: 50px 0;
}

.case-customer .item-customer::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 0;
  background-color: #3858e9;
  z-index: -1;
  transition: height 0.3s ease;
}

.case-customer .item-customer .cp-title {
  width: 400px;
  padding-right: 50px;
  font-size: 24px;
}

.case-customer .item-customer .cp-desc {
  flex: 1;
}

.case-customer .item-customer:hover::before {
  height: 100%;
}

.case-customer .item-customer:hover .cp-title,
.case-customer .item-customer:hover .cp-desc {
  color: #fff;
}

@media (max-width: 768px) {
  .case-customer .item-customer {
    padding: 30px 0;
  }

  .case-customer .item-customer .cp-container {
    flex-direction: column;
  }

  .case-customer .item-customer .cp-title {
    width: 100%;
    padding-right: 0;
    margin-bottom: 12px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .case-customer .item-customer .cp-title {
    font-size: 18px;
  }
}

/* ========== cases-logo ========== */

@media (max-width: 768px) {
  .cases-logo {
    padding: 50px 0;
  }

  .cases-logo__track img {
    width: 120px;
    height: 60px;
    margin-right: 40px;
  }
}

@media (max-width: 480px) {
  .cases-logo__track img {
    width: 100px;
    height: 50px;
    margin-right: 30px;
  }
}
