/* 手机版*/

html,
body {
    height: 100%;
}

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: relative;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: #fff;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 5px;
}

.m-logo img {
    height: 48px;
}

.m-top {
    border-bottom: 2px solid #f38f3c;
}

.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;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    padding-bottom: 2rem;
    overflow-x: hidden;
    background: #fff;
}

header {
    display: none;
}

@media (min-width: 1200px) {
    .wrapper {
        padding: 0;
    }
    header {
        position: relative;
        display: block;
        background: #fff;
        border-bottom: 3px solid #f38f3c;
    }
    .logo {
        position: absolute;
        z-index: 10;
        left: 50%;
        top: 0.4vw;
        margin-left: -7.5vw;
    }
    .logo img {
        width: 15vw;
    }
    .nav {
        position: relative;
        z-index: 1;
    }
    .nav ul {
        display: flex;
        justify-content: center;
        padding: 1.5vw 0;
    }
    .nav ul li {
        padding: 0 0.6vw;
    }
    .nav ul li:nth-child(4) {
        margin-right: 18vw;
    }
    .nav ul a {
        display: block;
        padding: 0 0.6vw;
        font-size: 16px;
        line-height: 30px;
        color: #000;
        border-radius: 15px;
    }
    .nav ul a:hover {
        color: #fff;
        background: #f38f3c;
    }
}


/* 公共部分 */

.public {
    display: none;
}

.foot-nav {
    position: fixed;
    z-index: 50;
    left: 0;
    bottom: 0;
    width: 100%;
}

.foot-nav ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 2rem;
    padding: 0.3rem;
    background: #f38f3c;
}

.foot-nav ul li {
    width: 2.4rem;
}

.foot-nav ul a {
    display: block;
    text-align: center;
}

.foot-nav ul i {
    display: block;
}

.foot-nav i img {
    width: 0.84rem;
}

.foot-nav a p {
    padding-top: 0.1rem;
    font: 400 0.4rem/0.4rem "微软雅黑";
    color: #fff;
}

@media (min-width: 1200px) {
    .foot-nav {
        display: none;
    }
    /* 底部 */
    .public {
        display: block;
        padding: 4vw 0;
        background: #f38f3c;
    }
    .public-main {
        width: 64vw;
        margin: 0 auto;
    }
    .public-line {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
    .public-logo {
        padding: 0;
    }
    .public-logo img {
        width: 15vw;
    }
    .public-nav {
        padding-bottom: 0.2vw;
    }
    .public-nav ul {
        display: flex;
    }
    .public-nav ul li {
        padding: 0 1vw;
    }
    .public-nav ul li {
        background: url(../images/public_nav_line.png) no-repeat 0 center;
    }
    .public-nav ul li:nth-child(1) {
        background: none;
    }
    .public-nav ul a {
        display: block;
        font-size: 0.9vw;
        line-height: 1vw;
        color: #47592f;
        transition: 0.3s;
    }
    .public-nav ul a:hover {
        color: #fff;
        transform: translate3d(0, -5px, 0);
    }
    .public-line2 {
        position: relative;
        margin-top: 2vw;
    }
    .ewm-ul {
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
    }
    .ewm-li {
        padding-left: 1vw;
    }
    .ewm-li i {
        display: block;
    }
    .ewm-li i img {
        width: 8.4vw;
    }
    .ewm-li p {
        margin-top: 0.2vw;
        font-size: 0.9vw;
        line-height: 1.5vw;
        color: #fff;
        text-align: center;
        background: #47592f;
    }
    .public-tel {
        padding-top: 1.5vw;
        font-weight: bold;
        font-size: 2.4vw;
        line-height: 2.4vw;
        background: url(../images/tel.png) no-repeat 16vw 0/3.8vw;
    }
    .public-info {
        display: flex;
        padding: 1.5vw 0 2vw;
        font-size: 1vw;
        line-height: 1.2vw;
        color: #47592f;
    }
    .public-info p {
        padding-right: 0.5vw;
    }
    footer {
        display: flex;
        flex-wrap: wrap;
        width: 20vw;
        font-size: 14px;
        line-height: 20px;
    }
    footer p {
        padding: 0 0.4vw 0 0;
        color: #47592f;
    }
    footer a {
        padding: 0 0.4vw 0 0;
        color: #47592f;
    }
}