.banner {
  width: 100%;
  background: black;
}
.banner .main {
  width: 960px;
  margin: 0 auto;
}
.banner .main .swiper-slide img {
  width: 100%;
}
.banner .main .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  box-shadow: none;
  margin: 0 7.5px;
  background: #CCCCCC;
  opacity: 1;
}
.banner .main .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet-active {
  background: #999999;
}
main .content {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
main .content .item {
  margin-bottom: 20px;
  box-sizing: border-box;
  width: calc(50% - 5px);
  height: 250px;
  padding: 15px;
  border: 1px solid #b2b2b2;
  background-size: contain;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s;
}
main .content .item:hover {
  text-decoration: none;
  opacity: 0.5;
}
main .content .item:hover h2 {
  text-decoration: underline;
}
main .content .item h2 {
  font-weight: normal;
  margin: 0;
}
main .content .item p {
  text-decoration: none;
}
main .content .item a:hover p {
  text-decoration: none;
}
main .content .item img {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 18px;
}
main .content .item1 {
  background: url(../img/index-active1.jpg) no-repeat right top / 77%;
}
main .content .item2 {
  background: url(../img/index-active2.jpg) no-repeat right top / 77%;
}
main .content .item3 {
  background: url(../img/index-active3.jpg) no-repeat center / cover;
}
main .content .item4 {
  background: url(../img/index-active4.jpg) no-repeat left top / cover;
}
@media screen and (max-width: 640px) {
  main .banner .main {
    width: auto;
  }
  main .content .item h2 {
    font-size: 17px;
  }
  main .content .item p {
    font-size: 12px;
  }
  main .content .item1 {
    background: url(../img/index-active1.jpg) no-repeat right 30px / 90%;
  }
  main .content .item2 {
    background: url(../img/index-active2.jpg) no-repeat right 30px / 90%;
  }
}
@media screen and (max-width: 460px) {
  main .content .item {
    height: 190px;
  }
  main .content .item1 {
    background: url(../img/index-active1.jpg) no-repeat right 30px / 80%;
  }
  main .content .item2 {
    background: url(../img/index-active2.jpg) no-repeat right 30px / 80%;
  }
}
