
.mini_banner{
    width: 80%;
    height: 400px;
    margin: 70px auto;
    background: #f4d7dc;
}
.mini_banner_title{
    width: 20%;
    height: 100%;
    float: left;
}
.mini_banner_title p{
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}
.mini_banner_title p:nth-child(1){
    font-size: 17px;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    padding: 5px;
    box-sizing: border-box;
}
.mini_banner_title p a{
    color: #555;
}
.mini_banner_title p a:hover{
    color: #f76486;
    font-weight: bold;
}
.mini_banner_img{
    width: 80%;
    height: 100%;
    float: left;
    background: url(../neck_img/neck_banner.gif) no-repeat center / cover;
}
.main_item_box{
    width: 100%;
    overflow: hidden;
}
.main_item_box2 {
    display: none;
}
.main_item{
    width: calc((100% - (20px * 4)) / 4);
    height: 310px;
    margin-right: 20px;
    margin-bottom: 50px;
    border: 1px solid #f8bbac4f;
    border-radius: 15px;
    box-sizing: border-box;
    overflow: hidden;
    float: left;
    box-shadow: 1px 3px 7px 1px #f8bbac;
    transform: translateY(50px);
    opacity: 0.3;
    transition: all 0.5s;
}
.main_item a{
    width: 100%;
    height: 100%;
    display: block;

}
.main_item_active {
    transform: translateY(0);
    opacity: 1;
}
.main_item:nth-child(2n){
    margin-right: 20px;
}
.main_item:nth-child(3n){
    margin-right: 20px;
}
.main_item:nth-child(4n){
    margin-right: 0;
}
.main_item_sec{
    width: 100%;
    height: 70%;
    background: cadetblue;
}
.main_item_sec img{
    width: 100%;
    height: 100%;
}
.main_item_title{
    width: 100%;
    height: 30%;
    padding: 5px 0px 0px 7px;
    box-sizing: border-box;
}
.main_item_title p{
    font-size: 14px;
    color: #555;
}
.main_item_title span{
    margin-right: 5px;
}
.main_item_title1 span:nth-child(2),
.main_item_title3 span:nth-child(3){
    font-size: 17px;
    font-weight: bold;
    color: red;
}
.main_item_title1 span:nth-child(3),
.main_item_title3 span:nth-child(4){
    font-size: 13px;
    color: #555;
    text-decoration: line-through;
}
.main_item_title1 span:nth-child(4),
.main_item_title2 span:nth-child(3),
.main_item_title3 span:nth-child(5){
    font-size: 14px;
    color: #000;
}
.next{
    width: 100px;
    height: 30px;
    margin: 40px auto;
    text-align: center;
}
.next span{
    margin-right: 5px;
}
.next span a{
    color: #000;
}

@media screen and (max-width: 768px) {
    .mini_banner {
        width: 100%;
        margin: 50px 0px 70px 0px;
    }
    .mini_banner_title{
        width: 30%;
    }
    .mini_banner_img{
        width: 70%;
        background: url(../mo_neck_img/mini_banner3.jpg) no-repeat center / contain;
    }
    .main_item_box{
        padding: 0px 10px;
        box-sizing: border-box;
    }
    .main_item{
        width: calc((100% - (10px * 2)) / 3);
        margin-right: 10px;
        margin-bottom: 50px;
    }
    .main_item:nth-child(2n){
        margin-right: 10px;
    }
    .main_item:nth-child(3n){
        margin-right: 0;
    }
    .main_item_title p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

    }
}
@media screen and (max-width: 480px) {
    .main_item{
        width: calc((100% - (20px * 1)) / 2);
        margin-right: 20px;
        margin-bottom: 50px;
    }
    .mini_banner_title{
        width: 40%;
        margin-top: 50px;
    }
    .mini_banner_img{
        width: 60%;
        background: url(../mo_neck_img/mini_banner2.jpg) no-repeat center / cover;
    }
    .main_item:nth-child(3n){
        margin-right: 20px;
    }
    .main_item:nth-child(2n){
        margin-right: 0;
    }
}