/*swiper*/
.swiper {
    /*margin-top: 60px;*/
    width: 100%;
    height: 580px;
}
.swiper{
    --swiper-theme-color: #2f54eb;
    --swiper-pagination-color: red;/* 两种都可以 */
}
.swiper-slide {
    /*margin-top: 6px;*/
    text-align: center;
    /* font-size: 18px;*/
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner {
    width: 100%;
    height: 100%;
    border-color: #666;
    background-color: #2f54eb;
    text-align: center;
}
.banner-text {
    float: left;
    font-size: 16px;
    height: 450px;
    width: 500px;
    text-align: center;
    color: #FFFFFF;
    line-height: 60px;
}
.banner-text p {
    line-height: 1.8;
    text-align: justify;
    margin: 10px;
}
.banner-h1 {
    font-size: 0;
    margin-top: 50px;
}
.banner-img {
    height: 100%;
    width: 100%;
    background: url("../images/index/banner-n.png");
    background-size: 100% 100%;
}
.banner-img1 {
    height: 100%;
    width: 100%;
    background: url("../images/index/banner-w.png");
    background-size: 100% 100%;
}
/* swiper end */

/*内容*/
.content {
    width: 100%;
}
.content>h3 {
    text-align: center;
    font-size: 30px;
    color: #000000;
    line-height: 1;
    padding-top: 40px;
    font-weight: 400;
}
.content .content-desc {
    text-align: center;
    margin: 20px;
}
.content-list-box {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
    display: flex;
    justify-content:center;
    text-align: center;
}
.content-list-box .service-item {
    text-align: left;
    width: 20%;
    margin: 0 19px;
    background: #FFFFFF;
    box-shadow: 0 0 20px 0 #eee;
    color: #454C5C;
    transition: all .3s;
    transform: translateY(0);
    padding: 20px;
}
.content-list-box-1 {
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 80px;
    display: flex;
    justify-content:center;
    text-align: center;
}
.content-list-box-1 .service-item-1 {
    text-align: center;
    line-height: 1.5;
    width: 30%;
    background: #FFFFFF;
    color: #454C5C;
}
.service-icon-1 {
    width: 285px;
    height: 280px;
    vertical-align: middle;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
}
.service-icon-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .6s;
}
.service-icon-1 img:hover {
    transition: all .6s;
    transform: scale(1.1);
}
.content-list-box .service-item:hover{
    box-shadow: 0 0 10px 0 #ccc;
}
.service-icon {
    width: 200px;
    height: 200px;
    vertical-align: middle;
    margin: 0 auto;
    display: block;
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content-list-box .service-item h3 {
    color: #353535;
    font-size: 16px;
    text-align: center;
    margin: 10px 0 10px 0;
}
.content-list-box .service-item p {
    font-size: 13px;
    color: #9a9a9a;
    line-height: 20px;
    text-align: center;
}
.home-service div:nth-child(1){animation: fadeInUp 0.5s}
.home-service div:nth-child(2){animation: fadeInUp 1s}
.home-service div:nth-child(3){animation: fadeInUp 1.5s}
.home-service div:nth-child(4){animation: fadeInUp 2.0s}

.home-service-out div:nth-child(3){animation: fadeOutDown 0.5s}
.home-service-out div:nth-child(2){animation: fadeOutDown 1s}
.home-service-out div:nth-child(1){animation: fadeOutDown 1.5s}
.home-service-out div:nth-child(1){animation: fadeOutDown 2.0s}

.index-banner1 {
    width: 100%;
    height: 150px;
}
.index-banner1 img {
    width: 100%;
    height: 100%;
}

/* contact */
.contact-us {
    width: 100%;
    height: 600px;
    background: url("../images/index/address-bg.png");
    background-size: 100% 100%;
    display: flex;
    align-items: center;
}
.contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.contact-title {
    font-size: 24px;
    font-weight: bold;
}
.contact-map {
    height: 450px;
    width: 650px;
}
.contact-map img {
    height: 100%;
    width: 100%;
}
.contact-text {
    line-height: 3;
    color: #FFFFFF;
    font-size: 16px;
}
/* contact end */

/* 施工现场 */
.case-list-box {
    max-width: 1200px;
    margin: 0 auto;
    /*padding-bottom: 80px;*/
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}
.case-item {
    float: left;
    width: 25%;
    height: 400px;
    padding-left: 15px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 70px;
}
.case-item p {
    color: #2c6ceb;
    font-weight: bold;
}
.case-item .case-item-img {
    box-shadow: 0 3px 6px #d2cece;
    display: block;
    background: #e9e9e9;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    transform: translateY(0);
    transition: box-shadow 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 100%;
    height: 400px;
    border-radius: 5px 5px 0 0;

}
.case-item .case-item-img img {
    display: block;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    min-height: 100%;
    transition: all ease-in-out 5s;
    z-index: -9;
}
.case-item .case-item-img:hover {
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.case-item .case-item-img:hover p {
    bottom: 0;
}
.case-item p {
    font-size: 12px;
    background: #fff;
    padding: 10px;
}
.case-item-title{
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background: #000;
    color: #ffffff;
    height: 40px;
    line-height: 40px;
    opacity: 0.5;
    font-weight: bold;
}
/* end */

.about {
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    line-height: 2;
    color: #333333;
    text-align: justify;
    width: 50%;
    margin-right: 20px;
}

@media screen and (max-width: 768px) {
    /*swiper*/
    .swiper {
        height: 170px;
    }
    .banner {
        height: 100%;
        margin-top: 0;
    }
    .text span {
        display: inline-block;
        white-space: pre-wrap;
        font-size: 30px;
    }
    .banner-h1 {
        font-size: 30px;
    }
    /*swiper end*/

    /*content*/
    .content-list-box {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .content-list-box-1 {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .content-list-box .service-item {
        width: 90%;
        margin: 0 auto 15px;
    }
    .content-list-box-1 .service-item-1 {
        width: 90%;
        margin: 0 auto 15px;
    }
    .service-item-1 h3 {
        margin-bottom: 10px;
    }
    .service-item-1 p {
        margin-bottom: 20px;
    }
    /* content end */

    /* contact-us */
    .contact-us {
        height: 300px;
    }
    .contact-text {
        text-align: center;
    }
    .contact-map {
        display: none;
    }
    /*contact-us end*/
    /*case*/
    .case-item {
        float: initial;
        padding: 15px;
    }
    .case-list-box .case-item {
        width: 100%;
    }
    /*case end*/
    /*about*/
    .about {
        width: 100%;
        margin: 10px;
    }
    /*about end*/
}
