.serviceLinks {
    display: flex;
    align-items: center;
    justify-content: center;
}
.serviceLinks a {
    width: 200px;
    height: 60px;
    background: rgba(146,29,35,0);
    border: 2px solid #921D23;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    font-size: 16px;
    color: #921D23;
    transition: 0.6s;
    line-height: 1;
}
.serviceLinks a:hover,.serviceLinks a.on {
    background: #921D23;
    color: #FFFFFF;
}
.serviceLinks div:not(:nth-last-child(1)) {
    margin-right: 30px;
}
.sec1 {
    padding: 203px 0 99px;
}
.sec1 .wrap {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.sec1 .wrap .serviceLinks {
    margin-bottom: 110px;
}
.sec1 .wrap h1 {
    font-weight: normal;
    font-size: 36px;
    line-height: 1;
    color: #111111;
    margin-bottom: 130px;
    text-align: center;
}
.sec1 .title p {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    line-height: 36px;
}
.sec1 .main {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}
.sec1 .main .item {
    width: 370px;
    padding-bottom: 25px;
    border-bottom: 2px solid #111111;
    margin-bottom: 60px;
}
.sec1 .main .item:not(:nth-child(3n)) {
    margin-right: 45px;
}
.sec1 .main .item h5 {
    font-weight: normal;
    font-size: 20px;
    color: #111111;
    line-height: 1;
    margin: 48px 0 15px;
}
.sec1 .main .item p {
    font-weight: normal;
    font-size: 16px;
    color: #555555;
    line-height: 32px;
    width: 330px;
    margin: 0 auto;
}
.sec1 .main .item .iconfont {
    width: 62px;
    height: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #FFFFFF;
    margin: 0 auto;
    transition: 0.8s;
}
.sec1 .main .item:hover .iconfont {
    transform: rotateY(180deg);
}
.sec1 .main .item .iconfont img {
    width: 100%;
    position: absolute;
    z-index: -1;
}
.sec2 {
    padding: 64px 0 99px;
    text-align: center;
}
.sec2 .logo {
    width: fit-content;
    margin: 0 auto 29px;
}
.sec2 h5 {
    font-weight: normal;
    font-size: 28px;
    color: #111111;
    line-height: 1;
}
.sec2  a {
    width: 150px;
    height: 50px;
    background: #921D23;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sec2  a p {
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    position: relative;
    top: -3px;
}
@media screen and (max-width: 1400px) {
    .sec1 {
        padding: 150px 0 99px;
    }
    .sec1 .wrap h1 {
        font-size: 28px;
        margin-bottom: 50px;
    }
    .serviceLinks a {
        font-size: 14px;
        width: 170px;
        height: 55px;
    }
    .sec1 .main .item h5 {
        font-size: 18px;
    }
    .sec1 .main .item p {
        font-size: 14px;
    }
    .sec1 .wrap {
        width: 90%;
    }
    .sec1 .main .item {
        width: 31%;
    }
    .sec1 .main .item:not(:nth-child(3n)) {
        margin-right: 3.5%;
    }
    .sec1 .main .item p {
        width: 100%;
    }
}
@media screen and (max-width: 1200px) {
    .serviceLinks {
        justify-content: space-between;
    }
    .sec1 {
        padding: 150px 0 0px;
    }
    .serviceLinks a {
        max-width: 100%;
        width: 150px;
        height: 50px;
    }
    .sec2 a {
        width: 130px;
        height: 42px;
    }
    .sec2 a p {
        font-size: 14px;
    }
    .sec1 .wrap h1 {
        font-size: 24px;
    }
    .serviceLinks div {
        max-width: 19%;
        margin-bottom: 20px;
    }
    .serviceLinks div:not(:nth-last-child(1)) {
        margin-right: 0;
    }
    .serviceLinks div:not(:nth-child(3n)) {
        margin-right: 0;
    }
    .sec2 h5 {
        font-size: 24px;
        line-height: 1.6;
    }

}
@media screen and (max-width: 768px) {
    .sec1 {
        padding: 100px 0 0;
    }
    .serviceLinks div:not(:nth-child(3n)) {
        margin-right: 5%;
    }
    .serviceLinks {
        flex-wrap: wrap;
    }
    .serviceLinks {
        justify-content: unset;
    }
    .sec1 .wrap h1 {
        font-size: 20px;
    }
    .sec1 .main .item {
        width: 100%;
    }
    .sec1 .wrap .serviceLinks {
        margin-bottom: 40px;
    }
    .sec1 .main .item {
        margin-right: 0!important;
    }
    .sec1 .main .item h5 {
        margin: 30px 0 15px;
    }
    .sec1 .main .item .iconfont {
        width: 56px;
        height: 63px;
    }
    .serviceLinks div {
        max-width: 30%;
        margin-bottom: 20px;
    }
    .serviceLinks a {
        height: 44px;
    }
    .sec1 .main .item p {
        line-height: 2;
    }
    .sec2 h5 {
        font-size: 20px;
        line-height: 1.6;
    }
    .sec2 {
        padding: 34px 5vw 99px;
    }
    .sec1 .main .item h5 {
        font-size: 16px;
    }
    .sec1 .wrap h1 {
        margin-bottom: 40px;
    }
}
