/* 顶部轮播 */
.index-banner {
    height: 7.46rem;
    width: 100%;
    position: relative;
}

.indexSwiper {
    height: 100%;
    width: 100%;
}

.indexSwiper .swiper-slide {
    width: 100%;
    height: 100%;

}

.indexSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.indexSwiper-p {
    width: 4.86rem;
    height: 0.64rem;
    background: #8B0304;
    border-radius: 0.08rem 0.08rem 0.08rem 0.08rem;
    font-size: 0.32rem;
    font-family: FZDaBiaoSong-B06S-Regular, FZDaBiaoSong-B06S;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
    line-height: 0.64rem;
    position: absolute;
    top: 6.53rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

/* 顶部轮播 end*/
/* img */
.index-imgbg {
    height: 10.8rem;
    width: 100%;
    margin-top: 0.2rem;
    overflow: hidden;
}

.index-imgbg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all .2s;
}
.index-imgbg:hover>img{
    transform: scale(1.02);
}


/* img end*/
/* 我们的品牌 */
.index-brand {
    margin: 0 auto;
    padding-top: 0.7rem;
    padding-bottom: 0.52rem;
}

.brand-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brandtitle-text {
    font-size: 0.44rem;
    font-family: Microsoft YaHei-Bold, Microsoft YaHei;
    font-weight: bold;
    color: #8B0304;
    line-height: 0.73rem;
}

.brandtitle-solid {
    margin-top: 0.1rem;
    width: 0.82rem;
    height: 0.04rem;
    background: #8B0304;
    border-radius: 70%;
}

.brandtitle-p {
    margin-top: 0.1rem;
    font-size: 0.2rem;
    font-family: Microsoft YaHei-Regular, Microsoft YaHei;
    font-weight: 400;
    color: #000000;
    line-height: 0.3rem;
}

.brandtitle-k:nth-child(2) {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-end;
}

.brand-con {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.36rem;
}

.brandcon-left {
    width: 6.8rem;
}

.brandconl-top {

    margin-bottom: 0.32rem;
}

.brandconl-top img {
    margin: 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
}

.brandconl-warp {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.brandconlw-k {
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 0.7rem;
    margin-bottom: 0.48rem;
    display: block;
}

.brandconlw-k:nth-child(3n) {
    margin-right: 0;
}

.brandcon-right {
    width: 6.8rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.brandconr-k {
    position: relative;
    width: 3.24rem;
    height: 3.24rem;
    margin-bottom: 0.16rem;
    margin-right: 0.16rem;
    border: 0.08rem solid #8B0304;
    overflow: hidden;
    cursor: pointer;
}
.brandconr-k img{
    transition: all .2s;
}
.brandconr-k:hover img{
    transform: scale(1.03);
}

.brandconr-k:nth-child(2n) {
    margin-right: 0;
}

.brandconr-k img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brandconrk-box {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.24);
    font-size: 0.31rem;
    font-family: Microsoft YaHei-Regular, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 0.71rem;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

/* 我们的品牌 end*/

/* 推荐配方 */
.index-formula {
    margin: 0 auto;
    padding-top: 0.7rem;
    padding-bottom: 0.8rem;
}

.formula-title {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formula-text {
    font-size: 0.44rem;
    font-family: Microsoft YaHei-Bold, Microsoft YaHei;
    font-weight: bold;
    color: #8B0304;
    line-height: 0.73rem;
}

.formula-solid {
    margin-top: 0.1rem;
    width: 0.82rem;
    height: 0.04rem;
    background: #8B0304;
    border-radius: 70%;
}

.formula-p {
    margin-top: 0.1rem;
    font-size: 0.2rem;
    font-family: Microsoft YaHei-Regular, Microsoft YaHei;
    font-weight: 400;
    color: #000000;
    line-height: 0.3rem;
}

.formula-con {
    margin-top: 0.61rem;
    display: flex;
    align-items: center;
}

.formulac-k {
    cursor: pointer;
    width: 3.32rem;
    height: 3.64rem;
    box-shadow: 0rem 0.03rem 0.12rem 0.01rem rgba(0, 0, 0, 0.08);
    border-radius: 0.08rem 0.08rem 0.08rem 0.08rem;
    position: relative;
    margin-right: 0.24rem;
}

.formulac-k:nth-child(4n) {
    margin-right: 0;
}

.formulac-k img {
    width: 100%;
    height: 2.8rem;
    object-fit: cover;
}

.formulack-text {
    width: 100%;
    height: 0.84rem;
    text-align: center;
    font-size: 0.2rem;
    font-family: Microsoft YaHei-Regular, Microsoft YaHei;
    font-weight: 400;
    color: #8B0304;
    padding: 0.28rem 0 0.3rem;
}

.formulac-k:hover .formulack-img img {
    height: 100%;
    transition: all .5s ease;
}

.formulac-k:hover .formulack-img {
    height: 100%;
}

.formulac-k:hover .formulack-text {
    display: none;
}

.formulack-zzc {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(139, 3, 4, 0.4);
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.formulack-zzcxs {
    opacity: 0;
    transition: all .3s;
    /* display: none; */
}

.formulackz-solid {
    width: 0.57rem;
    height: 0.02rem;
    background: #FFFFFF;
    border-radius: 0.02rem 0.02rem 0.02rem 0.02rem;
}

.formulackz-text {
    font-size: 0.2rem;
    font-family: Microsoft YaHei-Bold, Microsoft YaHei;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 0.73rem;
    padding: 0.12rem 0;
}

.formulac-k:hover .formulack-zzcxs {
    opacity: 1;
}

.formula-more {
    cursor: pointer;
    margin: 0 auto;
    margin-top: 0.6rem;
    transform: skewX(-15deg);
    width: 1.68rem;
    height: 0.48rem;
    border: 0.02rem solid #8B0304;
    transition: all .3s;
}

.formula-morep {
    transform: skewX(15deg);
    font-size: 0.2rem;
    font-family: Microsoft YaHei-Regular, Microsoft YaHei;
    font-weight: 400;
    color: #8B0304;
    text-align: center;
    line-height: 0.48rem;
    display: block;

}
.formula-more:hover{
    background: #8B0304;
}
.formula-more:hover .formula-morep{
    color: #FFFFFF;
}
/* 推荐配方 end*/
/* 从田园到餐桌 */
.canteen_center{
    width: 19.2rem;
    height: 10rem;
    background: url(../img/index/a_bg.jpg) no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
}
.canteen_title{
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}
.canteen_text,.canteen_p{
    color: #fff;
}
.canteen_solid{
    background: #fff;
}
.canteen_content1{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .3s;
}
.canteen_items{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all .3s;
}
.canteen_items_im{
    width: 0.52rem;
    height: 0.52rem;
    display: block;
    margin-bottom: 0.3rem;
    position: relative;
}
.canteen_items_im img{
    width: 100%;
    height: 100%;
}
.canteen_imgs2{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.canteen_items_name{
    color: #fff;
    /*color: #8B0304;*/
    font-size: 0.28rem;
    font-weight: bold;
}
.canteen_content1:hover{
    /*background:  RGBA(173,16,46,.4);*/
    background: rgba(0,0,0,.2);
}
.canteen_content1:hover .canteen_items{
    margin-bottom: 1.2rem;
}
.canteen_content1:hover .canteen_items_name{
    color: #fff;
}
.canteen_content1:hover .canteen_imgs2{
    display: block;
}
.canteen_content1:hover .canteen_imgs1{
    display: none;
}
.canteen_content1:hover .canteen_items_txt{
    display: block;
}
.canteen_items_txt{
    color: #fff;
    font-size: 0.16rem;
    line-height: 2;
    text-align:justify;
    margin-top: 0.15rem;
    /* transition: all .3s; */
    display: none;
}



@media only screen and (max-width: 1024px) {
    .index-banner{
        margin-top: 50px;
        height: auto;
    }
    .index-imgbg{
        height: auto;
    }
    .index-brand{
        padding: 15px 15px;
        width: 100%;
    }
    .brand-title{
        width: 100%;
    }
    .brandtitle-text{
        font-size: 16px;
        line-height: 32px;
    }
    .brandtitle-p{
        font-size: 14px;
        line-height: 28px;
    }
    .brand-con{
        margin-top: 15px;
    }
    .brandconl-top{
        margin-bottom: 15px;
    }
    .brandconl-top img{
        /*margin: 0;*/
        width: 1.2rem;
        height: 1.2rem;
    }
    .brandconl-warp{
        justify-content: space-around;
    }
    .brandconlw-k{
        width: 1rem;
        height: 1rem;
        margin: 0 15px 15px 0;
    }
     .brandconlw-k:nth-child(3n){
         margin: 0 15px 15px 0;
    }
    .brandcon-right{
        justify-content: space-around;
    }
    .brandconr-k{
        margin: 0 0 15px 0;
        width: 1.62rem;
        height: 1.62rem;
    }
    .brandconrk-box{
        font-size: 12px;
        line-height: 1;
        text-align: center;
    }
    .canteen_center{
        width: 100%;
        height: 4rem;
    }
    .formula-text{
        font-size: 18px;
        line-height: 36px;
    }
    .formula-p{
        font-size: 14px;
    }
    .canteen_content1{
        display: none;
    }
    .index-formula{
        width: 100%;
        padding: 15px;
    }
    .formula-con{
        margin-top: 15px;
    }
    .formula-more{
        margin-top: 15px;
    }
}
