/* 主页面内容样式 */

.banner {
    height: 1000px;
    position: relative;
    color: #fff;
    background: url(../image/index-background.jpg) no-repeat;
    background-size: cover;
}

.banner h1 {
    font-size: 81px;
    font-weight: 100;
}

.banner-main {
    position: absolute;
    top: 200px;
    left: 220px;
}

.banner-main p {
    width: 60%;
    margin-top: 70px;
    font-size: 20px;
    animation: fadeIn 5s forwards;
}

.banner-main a {
    display: block;
    width: 185px;
    height: 70px;
    border-radius: 50px;
    border: 1px solid #fff;
    margin-top: 100px;
    color: #fff;
    text-align: center;
    line-height: 70px;
    font-size: 32px;
    font-weight: 100;
    animation: fadeInToLook 6s forwards;
    transition: all 0.9s;
}

.banner-main a:hover {
    color: #4b4948;
    background-color: #fff;
}

.strengths {
    opacity: 0;
}

.strengths-header {
    text-align: center;
    margin: 110px 0;
}

.strengths-main ul {
    display: flex;
}

.strengths-main ul li {
    position: relative;
    float: left;
    flex: 25%;
    overflow: hidden;
}

.strengths-main .strengths-hidden {
    position: absolute;
    top: 0;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #201d85;
    margin-right: 10px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .9s;
}

.strengths-main .strengths-hidden h2 {
    margin-left: -50px;
    transition: all .9s;
}

.strengths-main .strengths-hidden p {
    margin-left: 50px;
    transition: all .9s;
}

.strengths-main ul>li:hover .strengths-hidden {
    opacity: 0.9;
}

.strengths-main ul>li:hover .strengths-hidden h2,
.strengths-main ul>li:hover .strengths-hidden p {
    margin-left: 0;
}

.strengths-main ul li img {
    width: 100%;
    height: 100%;
}

.strengths-hidden p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.strengths-foot {
    margin: 100px 0;
}

.strengths-foot a {
    display: block;
    width: 185px;
    height: 70px;
    border-radius: 50px;
    border: 1px solid #000;
    color: #4b4948;
    text-align: center;
    line-height: 70px;
    font-size: 24px;
    margin: 0 auto;
    transition: all 0.9s;
}

.strengths-foot a:hover {
    background-color: #201d85;
    color: #fff;
}

.service {
    opacity: 0;
    background-color: #e7e7e9;
    padding-top: 112px;
    text-align: center;
}

.service ul {
    width: 50%;
    display: flex;
    margin: 0 auto;
    margin-top: 60px;
    flex-wrap: wrap;
}

.service ul li {
    float: left;
    flex: 1;
}

.service ul li img {
    max-height: 100%;
    margin-bottom: 20px;
}

.computed {
    margin-top: 55px;
    z-index: -99;
}

.computed img {
    width: 100%;
}

.case {
    margin-top: -20px;
    opacity: 0;
}

.case-header {
    text-align: center;
}

.case ul {
    display: flex;
    width: 70%;
    margin: 50px auto;
    justify-content: center;
    flex-wrap: wrap;
}

.case ul li {
    float: left;
    border: 1px solid #d7d7d7;
    height: 600px;
    flex: 1;
    margin-right: 30px;
    margin-bottom: 32px;
    box-sizing: border-box;
    transition: all 0.9s;
}

.case ul li:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.case ul li img {
    width: 100%;
    height: 50%;
}

.case ul li h2,
.case ul li p,
.case ul li span {
    margin-left: 33px;
}

.case ul li p {
    width: 80%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.case ul li h2 {
    margin-bottom: 27px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.case ul li span {
    display: block;
    margin-top: 33px;
}

.case ul li a {
    display: block;
    width: 87px;
    height: 34px;
    box-sizing: border-box;
    border-radius: 50px;
    border: 1px solid #000;
    line-height: 34px;
    margin: 25px 0 25px 33px;
    text-align: center;
    color: #4b4948;
    transition: all 0.9s;
}

.case ul li a:hover {
    background-color: #201d85;
    color: #fff;
}

.introduce {
    opacity: 0;
    /* color: #fff; */
    background: url(../image/introduce-image.jpg) no-repeat fixed;
    background-size: 100% 100%;
    padding: 80px 0;
}

.introduce-hd {
    text-align: center;
}

.introduce-hd h3 {
    color: #fff;
}

.introduce-text {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    font-size: 16px;
}

.introduce ul {
    width: 60%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
}

.introduce ul li {
    flex: 1;
}

.introduce ul li h4 {
    color: #fff;
}

.swiper-container {
    position: relative;
    width: 300px;
    height: 450px;
    margin-bottom: 30px;
    margin-top: 20px;
    border: 1px solid #d7d7d7;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    width: 100%;
    height: 85%;
}

.swiper-slide a {
    display: block;
    width: 87px;
    height: 34px;
    box-sizing: border-box;
    border-radius: 50px;
    border: 1px solid #000;
    line-height: 34px;
    margin: 25px 0 25px 33px;
    text-align: center;
    color: #000;
}

.swiper-slide h2 {
    font-size: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.swiper-slide p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.swiper-slide p,
.swiper-slide span {
    font-size: 12px;
}

.swiper-slide h2,
.swiper-slide p,
.swiper-slide span,
.swiper-slide a {
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.swiper-slide a:hover {
    background-color: #201d85;
    color: #fff;
}


/* 主页面内容样式 */


/* ------------------------ */


/* 中等屏幕样式 */

@media screen and (max-width:1200px) {
    .banner {
        height: 700px;
    }
    .banner-main {
        top: 150px;
        left: 150px;
    }
    .banner-main h1 {
        font-size: 60px;
    }
    .banner-main p {
        font-size: 18px;
    }
    .banner-main a {
        margin-top: 80px;
        font-size: 26px;
    }
    .introduce-text {
        padding: 0 20px;
    }
}


/* 中等屏幕样式 */


/* ------------------------ */


/* 小等屏幕样式 */

@media screen and (max-width:991px) {
    .banner {
        height: 661px;
        background-size: 100% 100%;
    }
    .banner h1 {
        font-size: 48px;
    }
    .banner-main {
        top: 142px;
        left: 124px;
    }
    .banner-main p {
        width: 80%;
    }
    .banner-main a {
        margin-top: 80px;
    }
    .service ul li {
        flex: 33.33333%;
    }
    .case ul {
        width: 80%;
    }
    .strengths-main ul {
        flex-wrap: wrap;
        padding: 0 30px;
    }
    .strengths-main ul li {
        flex: 50%;
    }
    .introduce {
        padding: 50px 0;
    }
    .introduce-text {
        margin-top: 30px;
        padding: 0 20px;
    }
    .introduce ul {
        margin-top: 30px;
    }
    .case-header h2 {
        font-size: 36px;
    }
}


/* 小等屏幕样式 */


/* ------------------------ */


/* 超小等屏幕样式 */

@media screen and (max-width:767px) {
    .banner {
        height: 512px;
    }
    .banner-main h1 {
        font-size: 30px;
    }
    .banner-main {
        top: 80px;
        left: 40px;
    }
    .banner-main p {
        margin-top: 40px;
        font-size: 14px;
    }
    .banner-main a {
        width: 130px;
        height: 55px;
        line-height: 55px;
        font-size: 18px;
        margin-top: 50px;
    }
    .strengths-header {
        margin: 70px 0;
    }
    .strengths-header h2 {
        font-size: 36px;
    }
    .strengths-foot {
        margin: 100px;
    }
    .strengths-main ul {
        flex-wrap: wrap;
        padding: 0 10px;
    }
    .strengths-main ul li {
        flex: 50%;
    }
    .strengths-hidden h2 {
        font-size: 20px;
    }
    .strengths-hidden p {
        font-size: 12px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    .strengths-foot {
        margin: 80px 0;
    }
    .strengths-foot a {
        width: 130px;
        height: 60px;
        line-height: 60px;
        font-size: 16px;
    }
    .service ul {
        width: 80%;
    }
    .service ul li {
        flex: 33.3333%;
        margin-bottom: 20px;
    }
    .service ul li img {
        max-width: 100%;
        height: 64px;
        margin-bottom: 10px;
    }
    .service ul li h4 {
        font-size: 14px;
    }
    .case ul {
        padding: 0 30px;
    }
    .case .case ul li {
        flex: 51%;
        margin-right: 0;
    }
    .introduce {
        padding: 10px 0;
        background-attachment: scroll;
    }
    .introduce ul {
        margin-top: 0px;
    }
    .introduce ul li {
        flex: 50%;
    }
    .introduce ul li h1 {
        font-size: 24px;
    }
    .introduce ul li h4 {
        font-size: 14px;
    }
    .introduce-text {
        font-size: 12px;
        margin-top: 20px;
        padding: 0 20px;
    }
    .introduce-hd h3 {
        font-size: 18px;
    }
}


/* 超小等屏幕样式 */


/* ------------------------ */


/* 动画关键帧 */

@keyframes fadeIn {
    0% {
        transform: translate(-500px, 0);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes fadeInTo {
    0% {
        transform: translate(800px, 0);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes fadeInToLook {
    0% {
        transform: translate(400px, 0);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes fadeScrollTop {
    0% {
        transform: translate(0, 100px);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}