.competence{
    padding-top: 109px;
    padding-bottom: 100px;
    position: relative;
}
.competence h5{
    text-align: center;
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 17px;
}
.competence p{
    font-size: 16px;
    line-height: 24px;
    color: #6A6A83;
    text-align: center;
}
.competence ul{
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.competence ul img{
    width: 100%;
}
.competence1 ul li{
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    width: 49.643%;
    padding-top: 25.929%;
    margin-bottom: 10px;
}
.competence1 ul li img{
    width: 100%;
     position: absolute;
     top: 50%;
     left:  50%;
     transform: translate(-50%, -50%);
     z-index: 0;
}
.competence1 ul li::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    position: absolute;
    background-image: url(/themes/xianying/public/assets/img/competence/img_6.png);
    background-position: center;
    background-repeat: no-repeat;
}
.competence1 ul li .title{
    position: absolute;
    bottom: 12.5%;
    left: 50%;
    transform: translatex(-50%);
    font-size: 24px;
    color: #fff;
    z-index: 2;
}
.competence2::before{
    content: "";
    display: block;
    position:absolute;
    height: 50%;
    top: 0;
    width: 100%;
    background-color: #F5F7FA;
    z-index: -1;
}
@media screen and (max-width:1440px ) {
    .competence{
        padding-top: 80px;
    padding-bottom: 80px;
    }
        .competence h5{
            font-size: 38px;
    line-height: 48px;
    margin-bottom: 15px;
    }
}
@media screen and (max-width:1366px ) {
        .competence h5{
            font-size: 36px;
    line-height: 46px;
    margin-bottom: 13px;
    }
}
@media screen and (max-width:1200px ) {
        .competence h5{
            font-size: 32px;
    line-height: 42px;
    margin-bottom: 10px;
    }
}
@media screen and (max-width:1024px ) {
    .competence{
        padding-top: 50px;
    padding-bottom: 50px;
    }
    .competence h5{
            font-size: 31px;
    line-height: 44px;
    margin-bottom: 10px;
    }
}
@media screen and (max-width:768px ) {
    .competence{
        padding-top: 30px;
    padding-bottom: 30px;
    }
    .competence h5{
            font-size: 26px;
    line-height: 34px;
    margin-bottom: 10px;
    }
    .competence1 ul li .title{
        font-size:18px;
    }
    .competence1 ul li{
        width: 100%;
        padding-top: 51.929%;
    }
}









