/* 手机版*/

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: 12px;
}

.m-logo img {
    height: 36px;
}

.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);
}

.logo {
    display: none;
}

header {
    position: absolute;
    z-index: 99;
    right: -150px;
    top: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    padding-top: 86px;
    background: #333;
}

header li a {
    display: block;
    font: 400 16px/36px "微软雅黑";
    color: #fff;
    text-align: center;
}

.wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: #fff;
}

@media (min-width: 1200px) {
    header {
        display: block;
        position: absolute;
        z-index: 99;
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        height: auto;
        padding: 0 3.5vw;
        background: none;
    }

    .head {
        position: relative;
        z-index: 20;
        padding: 1.2vw 0;
        background: rgba(255, 255, 255, 0.9);
    }

    .logo {
        display: block;
        position: absolute;
        z-index: 50;
        left: 50%;
        top: 1.4vw;
        margin-left: -3.5vw;
    }

    .logo img {
        width: 7vw;
    }

    .nav ul {
        display: flex;
        justify-content: center;
    }

    .nav ul li {
        padding: 0 0.5vw;
    }

    .nav ul li:nth-child(4) {
        margin-right: 12vw;
    }

    .nav ul a {
        display: block;
        padding: 0 1vw;
        font-size: 0.9vw;
        line-height: 1.2vw;
        color: #000;
    }

    .nav ul a span {
        display: block;
        padding: 0.6vw 0;
    }

    .nav ul a:hover {
        color: #ca0000;
        background: url(../images/nav_li_line.png) no-repeat 0 1.1vw/0.5vw;
    }

    .nav ul a:hover span {
        background: url(../images/nav_li_hy.png) no-repeat center bottom;
    }
}