/* 手机版*/

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: 6px;
}

.m-logo img {
    height: 48px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 19px;
    right: 10px;
    text-align: center;
}

.m-top .btn span {
    display: block;
    width: 30px;
    height: 4px;
    background: #000;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.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;
}

@media (min-width: 1200px) {
    header {
        display: block;
        position: absolute;
        z-index: 99;
        left: 0;
        top: 0;
        width: 100%;
        background: #fff;
    }

    .head {
        display: flex;
        justify-content: center;
        position: relative;
    }

    .logo {
        position: absolute;
        z-index: 10;
        left: 50%;
        top: 50%;
        margin-top: -1.8vw;
        margin-left: -6.4vw;
    }

    .logo img {
        width: 12.8vw;
    }

    .nav {
        position: relative;
        z-index: 1;
    }

    .nav ul {
        display: flex;
    }

    .nav ul li {
        padding: 0 1.2vw;
    }

    .nav ul li:nth-child(5) {
        margin-left: 18vw;
    }

    .nav ul a {
        display: block;
        padding: 0.1vw 0;
        font-size: 0.8vw;
        color: #000;
        background: url(../images/nav_li_line.png) no-repeat center bottom/0 0.25vw;
        transition: 0.3s;
    }

    .nav ul a span {
        display: block;
        padding: 1.8vw 0;
        background: url(../images/nav_icon.png) no-repeat center -1.8vw/1.4vw;
        transition: 0.3s;
    }

    .nav ul a:hover {
        color: #ca0000;
        background-size: 100% 0.25vw;
    }

    .nav ul a:hover span {
        background-position: center 0;
        transform: translate3d(0, 1vw, 0);
    }
}