/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: #fff;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 9px;
}

.m-logo img {
    height: 42px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    padding: 15px 0 0 5px;
    text-align: center;
    background: url(../images/nav_btn.png) no-repeat right 0/60px;
}

.m-top .btn span {
    display: block;
    width: 30px;
    height: 4px;
    background: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.m-top .btn::before {
    content: '导航';
    position: absolute;
    left: 36px;
    bottom: 20px;
    width: 24px;
    font-size: 14px;
    line-height: 14px;
    color: #fff;
}

.m-top .btn span:nth-child(2) {
    margin: 5px 0;
}

.cross span:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
    opacity: 0;
}

.cross span:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.m-nav {
    position: absolute;
    z-index: 99;
    right: -150px;
    top: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    padding-top: 86px;
    background: #333;
}

.m-nav li a {
    display: block;
    font: 400 16px/36px "微软雅黑";
    color: #fff;
    text-align: center;
}

.m-menu {
    margin: 0 auto;
}

.m-menu li {
    float: left;
    width: 33.3%;
    padding: 5px;
}

.m-menu li a {
    display: block;
    font: 400 14px/36px "Microsft yahei";
    color: #1a1a1a;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

.wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: #fff;
}

header {
    display: none;
}

.logo {
    display: none;
}

.nav-btn {
    display: none;
}

@media (min-width: 1200px) {
    .logo {
        display: block;
        position: absolute;
        z-index: 45;
        left: 1.2vw;
        top: 2.1vw;
    }
    .logo img {
        width: 15vw;
    }
    header {
        display: block;
    }
    .nav-btn {
        display: block;
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        width: 6.8vw;
        height: 6.8vw;
        padding: 3.8vw 0 0 1vw;
        background: url(../images/nav_btn.png) no-repeat right 0/6.8vw;
        cursor: pointer;
    }
    .nav-btn::before {
        content: '导航';
        position: absolute;
        left: 50px;
        top: 3.7vw;
        font-size: 1.2vw;
        line-height: 24px;
        color: #fff;
    }
    .nav-btn span {
        display: block;
        width: 30px;
        height: 4px;
        background: #fff;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }
    .nav-btn span:nth-child(2) {
        margin: 5px 0;
    }
    .nav-btn.active span:nth-of-type(1) {
        transform: translateY(9px) rotate(-45deg);
    }
    .nav-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .nav-btn.active span:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
    }
    .nav-font {
        font: bold 16px/30px '微软雅黑';
        color: #fff;
        text-align: center;
    }
    header {
        display: block;
        position: fixed;
        z-index: 80;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        overflow: hidden;
        transition: 1s;
    }
    header.active {
        left: 0;
    }
    header.active .nav-li {
        opacity: 1;
        transform: rotateY(0);
    }
    .nav {
        width: 100%;
        height: 100%;
    }
    .nav-ul {
        perspective: 1000px;
        display: flex;
        height: 100%;
    }
    .nav-li {
        width: 11%;
        height: 100%;
        flex-shrink: 0;
        flex-grow: 0;
        overflow: hidden;
        padding-top: 10vw;
        background: url(../images/white.jpg) no-repeat center bottom/100% 100%;
        border-left: 1px solid #f5f5f5;
        opacity: 0;
        transform: rotateY(60deg);
        transition: 0.6s;
    }
    .nav-li:nth-child(2n) {
        transform: rotateY(-60deg);
    }
    .nav-li:nth-child(1) {
        border-left: 0;
        flex-shrink: 1;
        flex-grow: 1;
    }
    .nav-li-name a {
        display: block;
        padding: 6vw 0 0;
        font: 400 1.5vw/1.8vw '微软雅黑';
        text-align: center;
        color: #333;
        background: no-repeat center 0;
        transition: 0.6s;
    }
    .nav-li ul {
        padding: 0.8vw 0;
    }
    .nav-li li a {
        display: block;
        padding: 0.5vw 0;
        font: 400 1vw/1.5vw '微软雅黑';
        color: #000;
        text-align: center;
        transition: 0.6s;
    }
    .nav-li:hover {
        background-size: 100% 0;
    }
    .nav-li:hover .nav-li-name a {
        margin-top: 5vw;
        color: #fff;
    }
    .nav-li:hover li a {
        color: #fff;
    }
    .nav-li li a:hover {
        transform: translate3d(-10px, 0, 0);
    }
}