/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: url(../images/m_nav_bg.png) no-repeat center center/100%;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 5px;
}

.m-logo img {
    height: 36px;
}

.m-shop {
    position: absolute;
    z-index: 2;
    right: 100px;
    top: 8px;
}

.m-shop img {
    width: 24px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 5px;
    right: 10px;
    text-align: center;
}

/* .m-top .btn span {
    display: block;
    width: 30px;
    height: 4px;
    background: #ca0000;
    -webkit-transition: 0.3s;
    transition: 0.3s;
} */

.m-top .btn span:nth-child(2) {
    display: block;
    width: 75px;
    height: 30px;
    background: url(../images/menu.png) no-repeat 0 center/100%;
}

/* 
.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: #940c06;
}

.m-nav li:nth-child(3){
    display:none;
}

.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: 98;
        left: 0;
        top: 0;
        width: 100%;
        height: 115px;
        background: url(../images/nav_bg.png) no-repeat center 0;
        transition: 1.2s;
    }

    .head {
        position: relative;
        width: 1200px;
        height: 100%;
        margin: 0 auto;
        transition: 1.2s;
    }

    .logo {
        position: absolute;
        left: 18px;
        top: 0;
    }

    .nav {
        position: absolute;
        z-index: 15;
        right: 0;
        top: 0;
        transform-origin: right top;
        transition: 0.6s;
    }

    .nav ul {
        display: flex;
    }

    .nav ul li {
        padding: 0 1px;
    }

    .nav li:nth-child(3){
        display:none;
    }

    .nav ul li a {
        display: block;
        width: 98px;
        padding: 20px 0;
        font: 400 14px/30px '微软雅黑';
        text-align: center;
        color: #fff;
        background: url(../images/nav_li_bg.png) no-repeat 0 0/0 100%;
        transition: 0.6s;
    }

    .nav ul li a:hover {
        background-size: 100% 100%;
    }

    .head-btn {
        position: absolute;
        z-index: 99;
        right: 48px;
        top: 24px;
        cursor: pointer;
    }


    .head-btn span {
        display: block;
        width: 40px;
        height: 6px;
        background: #690001;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }

    .head-btn span:nth-child(2) {
        margin: 5px 0;
    }

    .head-btn.open span:nth-of-type(1) {
        transform: translateY(9px) rotate(-45deg);
    }

    .head-btn.open span:nth-of-type(2) {
        opacity: 0;
    }

    .head-btn.open span:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
    }
}