body {
    background: #f9f9f9
}

a {
    color: #fff;
}

#table {
    background-color: #e5e5e5;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}


/* 瘦身banner */

#table>img {
    width: 100%;
}

#centeralign {
    position: absolute;
    top: -5%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

#centeralign>h1 {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1pt;
    font-size: 80px;
    margin-top: 0;
    margin-bottom: 15px;
    animation: changetop 1s;
    letter-spacing: 12px;
}

@keyframes changetop {
    from {
        margin-top: -500px;
    }
    to {
        margin-top: 0px;
    }
}

#centeralign p {
    text-align: left;
    margin: 0;
    text-transform: lowercase;
    font-size: 28px;
    font-weight: 900;
    width: 50%;
    text-align: center;
    letter-spacing: 6px;
    /* animation: changebottom 1s; */
    text-transform: uppercase;
}

#centeralign button {
    text-transform: uppercase;
    border: none;
    outline: none;
    padding: 20px 16px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    transition: all 1s;
}

#centeralign button:hover {
    background: lightgreen;
    color: #333;
    box-shadow: 3px 3px 3px #666;
}


/* 超人气知名营养师大咖 */

.higher-ups {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 80px;
}

.higher-ups>h2 {
    font-size: 40px;
}

.higher-ups>p {
    margin-top: -30px;
}

.higher-ups>h2,
.higher-ups>p {
    font-family: 'Microsoft YaHei';
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.higher-ups>div:first-of-type {
    display: flex;
    justify-content: space-between;
}

.higher-ups>div:first-of-type>div {
    align-self: center;
    text-align: center;
    background: #fff;
    width: 22%;
    padding: 60px 10px;
}

.higher-ups>div:first-of-type>div>h3 {
    font-size: 56px;
    margin: 4px;
    color: #048d34;
}

.higher-ups>div:first-of-type>div>span {
    font-size: 26px;
    color: #666;
}


/* 营养师轮播 */

.dietitian {
    width: 100%;
    background: #fff;
    margin-bottom: 40px;
}

.dietitian>.container>div:first-of-type {
    display: flex;
}

.dietitian>.container>div:first-of-type>.leftpic {
    width: 600px;
    padding: 140px 180px 100px 170px;
}

.dietitian>.container>div:first-of-type>.leftpic>img {
    width: 100%;
    animation: changeleftpic 2s;
}

@keyframes changeleftpic {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.content {
    color: #333;
    flex: 1;
    margin: 140px auto 0;
    /* animation: changecontent 2s; */
}

.content h1 {
    font-size: 40px;
    margin: 2px;
}

@keyframes changecontent {
    0% {
        opacity: 0;
        margin-top: 300px
    }
    100% {
        opacity: 1;
        margin-top: 140px;
    }
}

.content>h2,
.content>aside {
    display: inline-block;
    margin-bottom: 10px;
}

.content>aside {
    font-size: 20px;
    padding-left: 12px;
}

.content>p {
    line-height: 18px;
}

.content>p>span {
    font-weight: 700;
}

.die_swiper {
    position: relative;
}

.slide_body {
    width: 1026px;
    margin: 0 auto;
    overflow: hidden;
}

.slide_group {
    display: block;
    width: 100%;
    white-space: nowrap;
}

.slide {
    /* width: 1% !important; */
    cursor: pointer;
    text-align: center;
    display: inline-block;
    width: 180px;
    margin-right: 25px;
    /* padding-left: 5px !important; */
}

.slide>img {
    width: 100%;
    border: 1px solid #048d34;
}

.leftpic {
    position: relative;
}

.leftpic-prev,
.leftpic-next {
    display: none;
}

.die_next,
.die_prev,
.leftpic-prev,
.leftpic-next {
    position: absolute;
    top: 40%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.die_prev,
.leftpic-prev {
    left: 40px;
    border-left: 4px solid;
    border-bottom: 4px solid;
    transform: rotate(45deg);
    border-color: #048d35;
}

.die_next,
.leftpic-next {
    right: 40px;
    border-right: 4px solid;
    border-bottom: 4px solid;
    transform: rotate(-45deg);
    border-color: #048d35;
}


/* 什么是健康瘦身管理 */

.forwhat {
    width: 100%;
    height: 100%;
    background: url(../images/forwhat.jpg) no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

.forwhat>.container>h2 {
    color: #333;
    font-size: 48px;
    padding-top: 142px;
}

.forwhat>.container>span {
    color: #666;
    font-size: 24px;
    padding-top: 28px;
    text-transform: uppercase;
}

.forwhat>.container>p {
    color: #666;
    font-size: 24px;
    padding-top: 56px;
    width: 780px;
    padding-bottom: 168px;
}

.forwhat>.container>p::after {
    content: "";
    display: block;
    width: 200px;
    height: 5px;
    margin-top: 42px;
    background-color: #048d34;
}


/* 美回莱健康瘦身管理服务体系 */

.system {
    text-align: center;
    /* color: #333; */
}

.system_four {
    display: flex;
    justify-content: space-between;
    margin: 109px auto 124px;
    align-items: center;
}

.system_four>.system_answer {
    position: relative;
}

.system_answer>span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 30px;
}

.system>h2 {
    padding-top: 120px;
    font-size: 50px;
    color: #333;
}

.system>span {
    display: block;
    margin-top: -10px;
    margin-bottom: 60px;
    color: #666;
}

.system>p {
    /* font-size: 24px; */
    color: #666;
    line-height: 30px;
}

.arrowhead {
    width: 28px;
    height: 57px;
    background: url('../images/arrowhead.png') no-repeat center center;
    background-size: contain;
}


/* 走进美回莱 — 健康管理规律 */

.gotomeihuilai {
    width: 100%;
    height: 100%;
    background: url(../images/gotomeihuilai.jpg) no-repeat;
    background-size: cover;
    padding-top: 102px;
    padding-left: 114px;
    display: flex;
    background-attachment: fixed;
}

.gotomeihuilai>:first-of-type {
    width: 355px;
}

.gotomeihuilai>:first-of-type>.mhl_about {
    border: 1px solid #97989a;
    width: 280px;
    height: 130px;
    margin-top: 243px;
    position: relative;
}

.gotomeihuilai>:first-of-type>.mhl_about>div {
    background-color: #505356;
    position: absolute;
    top: 30px;
    left: -20px;
}

.gotomeihuilai>:first-of-type>.mhl_about>div>h2 {
    color: #048d34;
    letter-spacing: 4px;
    font-size: 40px;
    line-height: 0px;
}

.gotomeihuilai>:first-of-type>.mhl_about>div>aside {
    color: #fff;
}

.gotomeihuilai>:first-of-type>.mhl_about>aside,
.gotomeihuilai>:first-of-type>p {
    color: #f1f1f1;
}

.gotomeihuilai>:first-of-type>p {
    margin-top: 100px;
    width: 280px;
    padding-bottom: 591px;
}

.gotomeihuilai>:first-of-type>p::after {
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    margin-top: 42px;
    background-color: #048d34;
}

.gotomeihuilai>.goto_content {
    background: rgba(255, 255, 255, .8);
    width: 1120px;
    height: 1250px;
    margin-bottom: 120px;
    padding: 52px 120px 61px 68px;
}

.gotomeihuilai>.goto_content>h2 {
    font-size: 46px;
    font-weight: 300;
}

.gotomeihuilai>.goto_content>aside {
    font-size: 20px;
    color: #999;
}

.goto_content_about {
    display: flex;
    justify-content: space-between;
}

.goto_content_about>div {
    width: 400px
}

.goto_content_about>div>h2 {
    color: #048d34;
    font-size: 30px;
    padding-bottom: 10px;
    padding-top: 30px;
}

.goto_content_about>div>p {
    font-size: 23px;
    color: #333;
}

@media screen and (max-width:768px) {
    #table {
        overflow: hidden;
    }
    #table>img {
        position: relative;
        width: 200vh;
        height: 100vh;
        transform: translateX(-71vh);
        overflow: hidden;
    }
    #centeralign>h1 {
        font-size: 53px;
    }
    #centeralign p {
        font-size: 12px;
        width: 100%;
    }
    .higher-ups>div:first-of-type {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .higher-ups>div:first-of-type>div {
        width: 48%;
        padding: 10px;
        margin-bottom: 5px;
    }
    .higher-ups>div:first-of-type>div>h3 {
        font-size: 36px;
        margin: 4px;
        color: #048d34;
    }
    .higher-ups>h2 {
        font-size: 24px;
    }
    .higher-ups {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .dietitian {
        padding: 10px;
    }
    .dietitian>.container>div:first-of-type {
        flex-direction: column;
    }
    .dietitian>.container>div:first-of-type>.leftpic {
        width: 100%;
        padding: 10px
    }
    .content {
        margin: 10px auto 0;
        animation: none;
    }
    .content>h1 {
        font-size: 20px;
    }
    .slide_body {
        width: 88% !important;
    }
    .slide {
        /* width: 1% !important; */
        width: 100px;
        margin-right: 10px;
        /* padding-left: 5px !important; */
    }
    .leftpic-prev,
    .leftpic-next {
        display: block;
    }
    .die_next,
    .die_prev,
    .leftpic-prev,
    .leftpic-next {
        width: 30px;
        height: 30px;
    }
    .die_prev,
    .leftpic-prev {
        left: 10px;
    }
    .die_next,
    .leftpic-next {
        right: 10px;
    }
    .forwhat {
        padding: 10px;
    }
    .forwhat>.container>p::after {
        width: 100px;
    }
    .forwhat>.container>h2 {
        font-size: 24px;
        padding-top: 18px;
        margin: 0 auto
    }
    .forwhat>.container>span {
        font-size: 12px;
        padding-top: 12px;
    }
    .forwhat {
        background-attachment: unset;
    }
    .forwhat>.container>p {
        font-size: 14px;
        padding-top: 16px;
        width: 70%;
        padding-bottom: 18px;
    }
    .system {
        padding: 10px;
    }
    .system>h2 {
        padding-top: 12px;
        font-size: 24px;
        color: #333;
    }
    .system>span {
        margin-bottom: 10px;
        font-size: 12px;
    }
    .system>p {
        font-size: 16px;
        color: #666;
        line-height: 20px;
    }
    .system_answer>img {
        width: 100%;
    }
    .system_answer>span {
        font-size: 16px;
    }
    .system_four {
        margin: 10px auto;
        align-items: center;
    }
    .gotomeihuilai {
        padding: 10px;
        display: flex;
        background-attachment: fixed;
    }
    .gotomeihuilai>:first-of-type {
        display: none;
    }
    .gotomeihuilai>.goto_content {
        background: rgba(255, 255, 255, .8);
        width: 100%;
        height: 100%;
        margin-bottom: 10px;
        padding: 12px;
    }
    .gotomeihuilai>.goto_content>h2 {
        font-size: 24px;
    }
    .gotomeihuilai>.goto_content>aside {
        font-size: 12px;
    }
    .goto_content_about>div>h2 {
        font-size: 22px;
        padding-bottom: 5px;
        padding-top: 5px;
    }
    .goto_content_about>div {
        width: 100%;
    }
    .goto_content_about {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .content>p {
        line-height: 25px;
    }
    .die_swiper {
        display: none;
    }
}