* {
  box-sizing: border-box;
}
body {
  background: white;
  width: 100%;
  overflow-x: hidden;
}
.about_us {
  background: white;
  position: relative;
  top: -3px;
  color: #df3254;
  padding: 60px 0;
}
.about_us h1 {
  font-size: 30px;
  font-family: 'SourceHanSansCN-Medium';
  margin-bottom: 25px;
}
.about_us p {
  font-size: 16px;
}
.about_us a.btn {
  color: white;
  font-size: 16px;
  padding: 15px 70px;
  background: rgba(245,81,113,.9);
  margin-top: 16px;
}
.about_us a.btn:hover{
  background: #f55171;
}
.about_us img {
  width: 80%;
  margin-left: 10%;
  margin-top: 30px;
}
.products {
  background: url(../image/pdt_bg.png) no-repeat;
  background-size: 100%;
  max-height: 1140px;
}
.products .pdt_title {
  margin-top: 80px;
}
.products p {
  font-size: 18px;
  margin-top: 10px;
  color: white;
}
.products .pdt_next {
  margin-top: 30px;
}
.products .pdt_box {
  background: url(../image/pdtbox_bg.png) repeat;
  background-size: 100%;
  border-radius: 10px;
  margin-top: 30px;
  max-height: 475px;
  margin-bottom: 30px;

}

.products .pdt_box>.row{
  display: flex;
  align-items: center;
}

.products .pdt_box .pdt_img {
  width: 80%;
  margin-top: 3%;
}

.products .pdt_box .pdtlist > .row > div {
  padding-right: 0;
  margin-bottom: 10px;
}

.products .pdt_box .btn {
  padding: 8px 20px;
  background: #6d6875;
  color: white;
  width: 100%;
}
.products .pdt_box .btn span:first-child {
  float: left;
}
.products .pdt_box .btn span:last-child {
  opacity: 0.5;
  float: right;
}
.products .pdt_box .btn.active,
.products .pdt_box .btn:hover {
  background: #f55171;
}
.products .pdt_box .btn.active span:last-child,
.products .pdt_box .btn:hover span:last-child {
  opacity: 1;
}
.products .bottom{
  margin-top:20px;
}

.contact{
  margin-top: 80px;
}
.contact_box {
  background: #fff5f4;
  padding-bottom: 40px;
  height: 740px;
  overflow-y: hidden;
}
.contact_box form {
  padding: 50px 100px 30px 100px;
}
.contact_box h4 {
  font-size: 36px;
}
.contact_box p {
  font-size: 18px;
  color: #9c9da2;
  margin-bottom: 30px;
}
.contact_box p a {
  color: #f55171;
  text-decoration: none;
}
.contact_box input {
  width: 100%;
  background: white;
  border: none;
  outline: none;
  padding: 5px 10px;
  height: 50px;
  text-indent: 4em;
}
.contact_box .input_box {
  position: relative;
  margin-bottom: 20px;
}
.contact_box .input_box label {
  position: absolute;
  top: 30%;
  left: 20px;
  color: #9c9da2;
  font-weight: normal;
}
.contact_box .input_box .content_label {
  top: 8%;
}
.contact_box .input_box [name=content] {
  width: 100%;
  height: 200px;
  text-indent: 5em;
  padding: 15px 0;
}
.contact_box .submit {
  width: 100%;
  background: #f55171;
  font-size: 18px;
  color: white;
  padding: 16px 12px;
}
.contact_box .row .contact_box {
  background: white;
}
.news_box {
  background: #ffdde2;
  padding: 50px 100px;
  height: 740px;
}
.news_box h4 {
  font-size: 36px;
}
.news_box p {
  font-size: 18px;
  color: #9c9da2;
  margin-bottom: 30px;
}
.news_box .news_content {
  width: 100%;
  height: 476px;
}
.contact .news_content .start_ico{
  margin-top:20px;
}
.contact .news_content .content_div{
  max-height: 156px;
  overflow-y: hidden;
}
.swiper-container#swiper1 {
  width: 90%;
  height: 100%;
  background: white;
  margin-left: 5%;
}
.swiper-container#swiper1 .img_box {
  background: #ffdde2;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}
.swiper-container#swiper1 .img_box p {
  font-size: 17px;
  color: #333;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  max-width: 170px;
  margin:0 auto;
  margin-top:4%;
}

#swiper1 .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  width: 15%;
  margin-right: 30px;
  /* Center slide text vertically */
  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;
}
.swiper-container#swiper2 {
  width: 100%;
  height: 100%;
}
.swiper-container#swiper2 .swiper-pagination-bullet {
  border: 3px solid #555;
  background-color: white;
  width: 12px;
  height: 12px;
}
.swiper-container#swiper2 .swiper-pagination-bullet-active {
  border-color: #fe5665;
}
#swiper2 .swiper-slide {
  text-align: center;
  background: #fff;
  /* Center slide text vertically */
  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;
}
#swiper2 .swiper-slide .content {
  padding: 0 30px;
  height: 100%;
  position: relative;
  overflow: hidden;

    /*text-overflow: -o-ellipsis-lastline;*/
　　　　overflow: hidden;
　　　　text-overflow: ellipsis;
　　　　display: -webkit-box;
  /*max-width: 300px;*/

}
#swiper2 .swiper-slide .content h5 {
  font-size: 26px;
  color: #4d4d4e;
  margin: 8% 0 5% 0;
  padding: 0 2%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#swiper2 .swiper-slide .content p {
  font-size: 16px;
  color: #868891;
  line-height: 1.7em;
}
#swiper2 .swiper-slide .content a.btn {
  padding: 10px 30px;
  background: white;
  border: 1px solid #f55171;
  color: #f55372;
  position: absolute;
  margin-top: 20px;
  left: 7%;
  transition:.5s;
}
#swiper2 .swiper-slide .content a.btn:hover{
  background: #f55171;
  color:white;
  border-color:white;
}
#swiper2 .swiper-slide .content img:last-child {
  position: absolute;
  bottom: 20px;
  right: 30px;
}
@media (max-width: 1700px) {
  .contact_box p a{display: block}
}

@media (max-width: 1500px) {
  .swiper-container#swiper1 .img_box p {
    max-width: 150px;
  }
}

@media (max-width: 1400px) {
  #swiper1 .swiper-slide {
    width: 18%;
  }
}
@media (max-width: 1200px) {
  .products .pdt_box .btn {
    padding: 4px 10px;
    width: 100%;
  }
}
@media (max-width: 1024px) {
  #swiper1 .swiper-slide {
    width: 30%;
  }
  .products .pdt_box {
    max-height: 392px;
  }
  .pdt_next {
    display: none;
  }
  #swiper2 .swiper-slide .content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
  }
  .contact>.row{
    margin: 0;
  }
  .contact_box{
    height:675px;
  }
  .contact_box form {
    padding: 20px 30px;
  }
  .news_box {
    padding: 20px 44px;
    height: 675px;
  }
  .contact .news_content .content_div p{
    padding:0;
  }
}
@media (max-width: 768px) {
  #swiper1 .swiper-slide {
    width: 33.33%;
  }
  .products {
    background: url(../image/m_pdt_bg.png) no-repeat;
    max-height: auto;
  }
  .products .pdt_box .pdtlist {
    left: 0%;
    transform: translateY(3%);
  }
  .pdt_box .col-md-6{
    width: 40%;
  }

  .pdt_box .col-md-5{
    width: 55%;
  }
}
@media (max-width: 576px) {
  .about_us img {
    width: 90%;
    margin-left: 5%;
  }
  .about_us {
    padding: 25px 0;
  }
  .about_us h1 {
    font-size: 22px;
  }
  .about_us a.btn {
    font-size: 14px;
    padding: 8px 46px;
  }
  .products .pdt_title {
    margin-top: 54px;
    width: 50%;
  }
  .products p {
    font-size: 16px;
  }
  .products .pdt_box .pdtlist {
    transform: translateY(15%);
  }
  .swiper-container#swiper1 {
    margin-top: 10px;
  }
  .contact {
    margin-top: 20px;
  }
  .contact .row {
    margin: 0;
  }
  .contact_box form {
    padding:10px;
  }
  .contact_box p a::before {
    content: '';
    display: block;
  }
  .contact_box h4 {
    font-size: 28px;
  }
  .contact_box p {
    font-size: 16px;
  }
  .contact_box {
    height: 643px;
  }
  .news_box {
    padding: 10px 20px;
    height: 619px;
  }
  .products .pdt_box .pdtlist > .row > div{
    padding-right: 15px;
  }
  .swiper-container#swiper1 .img_box {
    margin: 0 10px;
  }
  footer .container:nth-child(2) span {
    display: block;
  }

  .products .pdt_box>.row{
    display: block;
  }

  .pdt_box .col-md-6{
    width: 100%;
  }

  .pdt_box .col-md-5{
    width: 100%;
  }

  .products .bottom {
    margin-top: 57%;
  }

  .swiper-container#swiper1 .img_box p{
    font-size: 14px;
  }

  .swiper-container#swiper1 .img_box p{
    max-width: 100px;
  }

  #swiper1 .swiper-slide{
    width: 50%;
  }

  .news_box h4{
    font-size:28px;
  }

  .news_box p{
    font-size:16px;
  }

  .contact .news_content .start_ico,#swiper2 .swiper-slide .content img:last-child {
    width: 20px;
  }

  #swiper2 .swiper-slide .content h5{
    padding: 0;
    font-size:20px;
  }

  .contact .news_content .content_div p{
    font-size:16px;
    padding:0 !important;
  }
  .contact .news_content .content_div {
    max-height: 242px;
  }
}

