@charset "utf-8";

/* 轮播图 */
.banner .swiper-slide img {
    width: 100vw;
    height: 100vh;
}

.banner .swiper-scrollbar-drag {
    background-color: #769E45;
}

.banner .swiper-button-next,
.banner .swiper-button-prev {
    color: #fff;
}

/* 营养师协会发布 */
.life {
    width: 16rem;
    margin: .4rem auto .4rem;
    color: #666B61;
    text-align: center;
}

.life h4 {
    font-size: .7rem;
    font-weight: normal;
}

.life h3 {
    font-size: .8rem;
}

.life-tips {
    width: 100%;
    height: 3.6rem;
    margin-top: .3rem;
    border-radius: .3rem;
    background-color: #F5F6F4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.life-tips li {
    flex: 1;
    border-right: .01rem solid #A2A5A5;
}

.life-tips li:last-child {
    border: 0;
}

.life-tips p {
    font-family: 'hongmeng';
    font-size: .4rem;
    color: #A2A5A5;
}

.life-tips p:first-child {
    font-size: .7rem;
    color: #769E45;
}

.life-tips p:first-child strong {
    font-size: .96rem;
}

/* 我们的优势 */
.youshi {
    width: 16rem;
    margin: 0 auto;
}

.youshi h3 {
    font-size: .8rem;
    color: #18584D;
    text-align: center;
    margin: 1rem 0;
}

.youshi-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.youshi-box li {
    width: 18.125%;
    height: 4.5rem;
    border-radius: .2rem;
    background-color: #fff;
}

.youshi-box li.active {
    width: 43.75%;
}

.youshi-box-img1 {
    background-image: url(../img/advbig1.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.youshi-box-img2 {
    background-image: url(../img/advsm2.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.youshi-box-img3 {
    background-image: url(../img/advsm3.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.youshi-box-img4 {
    background-image: url(../img/advsm4.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.youshi-box li.active .youshi-box-img-close {
    display: none;
}

.youshi-box-img-close p {
    text-align: center;
    font-size: .2rem;
    color: #A2A5A5;
    line-height: 1.5;
}

.youshi-box-img-close p:first-child {
    margin: .3rem 0 .2rem;
}

.youshi-box-img-close p span {
    font-size: .4rem;
    color: #769E45;
    font-weight: bold;
}

.youshi-box-img-close p:last-child {
    padding: 0 10.345%;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.youshi-box-img-open {
    display: none;
}

.youshi-box li.active .youshi-box-img-open {
    display: block;
}

.youshi-box-img-open h5 {
    width: 46.428%;
    height: .96rem;
    font-size: .4rem;
    color: #fff;
    padding-left: 6.857%;
    margin-top: .4rem;
    margin-bottom: .2rem;
    background: linear-gradient(90.00deg, rgb(116, 153, 70), rgba(116, 153, 70, 0) 100%);
}

.youshi-box-img-open h5 span {
    font-size: .2rem;
    display: block;
}

.youshi-box-img-open p {
    width: 71.428%;
    margin-left: 6.857%;
    font-size: .2rem;
    color: #A2A5A5;
    line-height: 2;
}

/* 团队 */
.team {
    width: 16rem;
    margin: 0 auto;
}

.team h3 {
    font-size: .8rem;
    color: #18584D;
    text-align: center;
    margin: 1rem 0 .4rem;
}

.team h5 {
    width: 70%;
    font-size: .3rem;
    font-weight: normal;
    color: #A2A5A5;
    text-align: center;
    margin: 0 auto;
}

@keyframes rowup {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
    }
}

.team-img {
    width: 100%;
    margin-top: .4rem;
    position: relative;
    height: 90vh;
    overflow: hidden;
    scroll-behavior: smooth;
}

.team-img .bg-color,
.team-img .bg-color2 {
    position: absolute;
    z-index: 8;
    width: 100%;
    height: 2rem;
    background-image: linear-gradient(180deg, rgba(233, 231, 227, 1.00), transparent);
}

.team-img .bg-color2 {
    bottom: 0;
    background-image: linear-gradient(0deg, rgba(233, 231, 227, 1.00), transparent);
}

.team-img img {
    margin: 0 auto;
    display: block;
    width: 100%;
}

.team-img .rowup {
    animation: 30s rowup linear infinite normal;
    position: relative;
}

.team-title {
    width: 100%;
    height: 4.3rem;
    margin: .8rem auto 0;
    border: .02rem solid #769E45;
    border-radius: .2rem;
    position: relative;
}

.team-title h4 {
    position: absolute;
    left: 0;
    right: 0;
    top: -0.4rem;
    font-size: .5rem;
    width: 50%;
    color: #18584D;
    margin: 0 auto;
    text-align: center;
    background-color: #E9E7E3;
}

.team-title .team-title-ico {
    display: flex;
    margin-top: 1rem;
    justify-content: space-around;
    padding: 0 2%;
}

.team-title .team-title-ico li {
    width: 30%;
    height: 2.4rem;
    border-radius: .1rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-title .team-title-ico li img {
    max-width: 80%;
}
/* 荣誉 */
.honor {
    width: 16rem;
    margin: 1rem auto 0;
    position: relative;
}

.honor h3 {
    font-size: .8rem;
    color: #18584D;
    text-align: center;
}

.honor h5 {
    font-size: .32rem;
    font-weight: normal;
    color: #A2A5A5;
    text-align: center;
}

.honor-bg {
    width: 100%;
    height: 8.1rem;
    position: absolute;
    bottom: 0;
    left: 0;
}

.honor-bg .honor-bg-color {
    width: 100%;
    height: 8.1rem;
    position: relative;
}

.honor-bg .honor-bg-color::before {
    content: "";
    width: 1rem;
    height: 8.1rem;
    background-image: linear-gradient(-90deg, rgba(233, 231, 227, 1.00), transparent);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.honor-bg .honor-bg-color::after {
    content: "";
    width: 1rem;
    height: 8.1rem;
    background-image: linear-gradient(90deg, rgba(233, 231, 227, 1.00), transparent);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.honor-show {
    margin-top: .7rem;
}

.honor-show::after {
    content: "";
    width: 97%;
    height: .03rem;
    background-color: #d9d9d9;
    position: absolute;
    top: .91rem;
    left: 1%;
    z-index: 0;
}

.honor-show ul {
    display: flex;
    padding: 0 .8rem;
    gap: 0.5rem;
}

.honor-show li {
    position: relative;
    width: 3.9rem;
}

.honor-show li .honor-txt {
    width: 3.9rem;
    height: 8.1rem;
    border-radius: .3rem;
    padding: .28rem;
    margin-top: .5rem;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
}

.honor-show li .honor-txt p {
    font-size: .24rem;
    color: #A2A5A5;
    line-height: 1.5;
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
}
.honor-show li .honor-txt>p:nth-child(2) {
    height: 2.2rem;
}
.honor-show li .honor-txt p strong {
    font-size: .32rem;
    color: #090405;
}

.honor-show li .honor-txt img {
    width: 3rem;
}

.honor-show li i {
    display: block;
    width: .1rem;
    height: .1rem;
    border-radius: 50%;
    background-color: #fff;
    border: .04rem solid #769E45;
    margin: .3rem 0;
}

.honor-show .honor-time {
    font-family: 'hongmeng';
    font-size: .4rem;
    color: #090405;
}

.honor-show .honor-time span {
    font-size: .3rem;
    color: #A2A5A5;
}

.honor .swiper-button-prev {
    background: url('../img/left.svg') no-repeat;
    left: 0;
}

.honor .swiper-button-next {
    background: url('../img/right.svg') no-repeat;
    right: 0;
}

.honor .swiper-button-next,
.honor .swiper-button-prev {
    top: .74rem;
    width: .8rem;
    height: .8rem;
    background-size: cover;
}

.honor .swiper-button-next:after,
.honor .swiper-button-prev:after {
    content: '';
}

/* 品牌动态 */
.pinpai {
    width: 100%;
    margin: 1rem auto 0;
    overflow: hidden;
}

.pinpai .pinpai-show {
    width: 120%;
    margin: 0 auto;
    margin-left: -10%;
    margin-top: .5rem;
}

.pinpai ul li {
    width: 40%;
    height: auto;
    background-color: #fff;
    border-radius: .3rem;
    padding-bottom: .3rem;
}

.pinpai h3 {
    font-size: .8rem;
    color: #18584D;
    text-align: center;
}

.pinpai>h5 {
    font-size: .32rem;
    font-weight: normal;
    color: #A2A5A5;
    text-align: center;
}

.pinpai .pinpai-show-img {
    position: relative;
    height: auto;
}

.pinpai .pinpai-show-img img {
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    width: 100%;
    height: 6.3rem;
    object-fit: cover;
}

.pinpai .pinpai-show-time {
    width: 1.2rem;
    height: 1rem;
    position: absolute;
    bottom: 6%;
    right: 5%;
    z-index: 9;
    font-family: 'hongmeng';
    background-color: #fff;
    border-radius: .1rem;
}

.pinpai .pinpai-show-time p {
    height: 50%;
    text-align: center;
    font-size: .32rem;
    color: #769E45;
    border-radius: 0 0 .1rem .1rem;
}

.pinpai .pinpai-show-time p:last-child {
    color: #fff;
    background-color: #769E45;
}

.pinpai li h5 {
    font-size: .28rem;
    text-align: center;
    color: #090405;
    padding: .2rem;
}

.pinpai li>p {
    font-size: .24rem;
    text-align: justify;
    color: #A2A5A5;
    line-height: 1.5;
    padding: 0 .3rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.pinpai .swiper-button-next,
.pinpai .swiper-button-prev {
    color: #A2A5A5;
}

@media screen and (max-width: 768px) {
    
    /* 轮播图 */
    .banner .swiper-slide img {
        height: auto;
    }
    .life {
        width: 100%;
    }
    .life h4 {
        font-size: .4rem;
    }
    .life h3 {
        font-size: .4rem;
    }
    .life-tips {
        width: 96%;
        height: 2.4rem;
        margin: .3rem auto 0;
    }
    .life-tips p:first-child strong {
        font-size: .6rem;
    }
    .life-tips p:first-child {
        font-size: .4rem;
    }
    .life-tips p {
        font-size: .32rem;
    }
    .youshi {
        width: 100%;
    }
    .youshi h3 {
        font-size: .4rem;
        margin: .5rem 0;
    }
    .youshi-box {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .youshi-box li {
        width: 48%;
        margin-bottom: .1rem;
    }
    .youshi-box-img1 {
        background-image: url(../img/advsm1.jpeg)
    }
    .youshi-box-img-close p span{
        font-size: .34rem;
    }
    .youshi-box-img-close p:last-child {
        font-size: .3rem;
    }
    .team {
        width: 100%;
    }
    .team h3 {
        font-size: .4rem;
    }
    .team h5 {
        width: 80%;
    }
    .team-img {
        height: 60vh;
    }
    .team-title {
        width: 96%;
        height: 8rem;
    }
    .team-title h4 {
        font-size: .4rem;
        width: 70%;
        top: -.3rem;
    }
    .team-title .team-title-ico {
        flex-wrap: wrap;
    }
    .team-title .team-title-ico li {
        width: 90%;
        height: 2rem;
        margin-bottom: .2rem;
    }
    .honor {
        width: 100%;
    }
    .honor h3 {
        font-size: .4rem;
    }
    .honor h5 {
        font-size: .3rem;
    }
    .honor-show ul {
        margin-left: -.6rem;
    }
    .honor-show::after {
        top: .75rem;
    }
    .honor-show .honor-time {
        font-size: .3rem;
    }
    .honor-show .honor-time span {
        font-size: .2rem;
    }
    .honor-show li .honor-txt {
        width: 4.1rem;
    }
    .honor-show li .honor-txt p {
        font-size: .26rem;
    }
    .honor-show li .honor-txt p:nth-child(2) {
        height: 2.3rem;
    }
    .pinpai h3 {
        font-size: .4rem;
    }
    .pinpai>h5 {
        font-size: .3rem;
    }
    .pinpai li h5 {
        font-size: .28rem;
    }
    .pinpai .pinpai-show {
        width: 200%;
        margin-left: -50%;
    }
    .pinpai li>p {
        font-size: .26rem;
    }
    
}