* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


/* title */

#ys-title {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

#ys-title h3 {
    font-size: 40px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #333333;
    margin-bottom: 10px;
}

#ys-title span {
    display: block;
    width: 70px;
    height: 2px;
    background-color: #94070A;
    margin: 0 auto;
}

@media screen and (max-width:981px) {
    #ys-title h3 {
        font-size: 30px;
    }
}


/* content */

#ys-content {
    margin: 0 auto;
}

.ys-text:nth-child(2n-1) {
    width: 100%;
    padding: 40px;
    background: url('/template/default/skin/images/yun.png') #FCF6F4 no-repeat;
    background-position: bottom left;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-shadow: 0 1px 5px 2px #e2e1e1;
    margin-bottom: 50px;
}

.ys-text:nth-child(2n) {
    width: 100%;
    padding: 40px;
    background: url('/template/default/skin/images/yun.png') #FCF6F4 no-repeat;
    background-position: bottom right;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-shadow: 0 1px 5px 2px #e2e1e1;
    margin-bottom: 50px;
}

.ys-img {
    width: 30%;
    overflow: hidden;
}

.ys-img img {
    width: 100%;
    transition: all .5s;
    display: block;
}

.ys-img:hover img {
    transform: scale(1.08);
    -webkit-transform: scale(1.08);
    -moz-transform: scale(1.08);
    -ms-transform: scale(1.08);
    -o-transform: scale(1.08);
}

.ys-center {
    width: 68%;
}

.ys-text h4 {
    font-size: 24px;
    font-family: SourceHanSansCN;
    font-weight: bold;
    color: #333333;
    margin-bottom: 30px;
}

.ys-text span {
    display: block;
    width: 64px;
    height: 3px;
    background: #94070A;
    margin: 10px 0;
}

.ys-text p {
    font-size: 18px;
    font-family: SourceHanSansCN;
 font-weight: 400;
    color: #333333;
}

@media screen and (max-width:981px) {
    .ys-text {
        flex-wrap: wrap;
    }
    .ys-text div {
        width: 100%;
    }
    .ys-img {
        margin: 0 auto;
    }
    .ys-text img {
        margin: 20px 0;
    }
}