﻿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;
    border-top: 4px solid #046438;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 5px;
}

.m-logo img {
    height: 50px;
}

.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;
}


.sldie{
    display: none;
}
header {
    display: none;
}
.head{
    display: none;
}
.menu-btn{
    display: none;
}

@media (min-width: 1200px) {
    .sldie {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        z-index: 50;
        left: 0;
        top: 0;
        width: 100px;
        height: 100%;
        padding: 50px 0;
        background: rgba(255, 255, 255, 0.9);
    }

    .slide-font {
        font: 400 24px/24px '微软雅黑';
        writing-mode: vertical-lr;
    }

    .scroll {
        padding: 0 0 20px;
        font: 400 12px/1 '微软雅黑';
        color: #000;
        writing-mode: vertical-lr;
        background: url(../image/arrow.png) no-repeat center bottom;
    }

    .menu-btn {
        display: block;
        position: absolute;
        z-index: 99;
        right: 0;
        top: 50px;
        width: 80px;
        height: 80px;
        padding: 18px 0 0;
        background: #046438;
    }

    .menu-btn span {
        display: block;
        width: 30px;
        height: 4px;
        margin: 0 auto;
        background: #fff;
        transition: 0.3s;
    }

    .menu-btn span:nth-child(2) {
        margin: 5px auto;
    }

    .menu-btn.active span:nth-of-type(1) {
        transform: translateY(9px) rotate(-45deg);
    }

    .menu-btn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
    }

    .menu-btn p {
        padding: 10px 0 0;
        font: 400 16px/20px '微软雅黑';
        color: #fff;
        text-align: center;
    }

    header {
        display: block;
    }

    .head {
        display: block;
        position: fixed;
        z-index: 80;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        transition: 1s;
    }

    .nav-li {
        opacity: 0;
        transform: rotateY(60deg);
    }

    .nav-li:nth-child(2n) {
        transform: rotateY(-60deg);
    }

    .head.active {
        left: 0;
        background: url(../image/head_bg.jpg) no-repeat center 0/cover;
    }

    .head.active .nav-li {
        opacity: 1;
        transform: rotateY(0);
    }

    .nav {
        width: 100%;
        height: 100%;
    }

    .nav-ul {
        perspective: 1000px;
        display: flex;
        height: 100%;
    }

    .nav-li {
        width: 14.2%;
        height: 100%;
        padding-top: 180px;
        background: url(../image/white.jpg) no-repeat center bottom/100% 100%;
        border-left: 1px solid #f5f5f5;
        transition: 0.6s;
    }

    .nav-li:nth-child(1) {
        flex-grow: 1;
        border: 0;
    }

    .nav-li-name a {
        display: block;
        padding: 120px 0 0;
        font: 400 30px/36px '微软雅黑';
        text-align: center;
        color: #333;
        background: no-repeat center 0;
        transition: 0.6s;
    }

    .nav-li ul {
        padding: 15px 0;
    }

    .nav-li li a {
        display: block;
        padding: 10px 0;
        font: 400 18px/30px '微软雅黑';
        color: #000;
        text-align: center;
        transition: 0.6s;
    }

    .nav-li:hover {
        background-size: 100% 0;
    }

    .nav-li:hover .nav-li-name a {
        margin-top: 100px;
        color: #fff;
        background: url(404.png) no-repeat center 0;
    }

    .nav-li:hover li a {
        color: #fff;
    }

    .nav-li li a:hover {
        transform: translate3d(-10px, 0, 0);
    }



}