header {
    position: relative;
    width: 100%;
    height: 12rem;
    background: url('../img/main/main1-bg.jpg') no-repeat 0 -1.3rem;
    background-size: 100% auto;
    overflow: hidden;
}

nav {
    padding: 2rem 1rem;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    display: none;
}
nav a{
    display: block;
    width: 5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    margin: 0 auto;
    text-align: center;
    font-size: .5rem;
    color: #000;
    border-bottom: 1px solid #bebdbd;
}

.nav-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: .3rem;
    right: .3rem;
    width: .5rem;
    height: .36rem;
    padding: .27rem .2rem;
    background: #FBD101;
    border-radius: .45rem;
    overflow: hidden;
    z-index: 2;
    -webkit-animation: fadeInRight .5s .7s ease-in-out both;
    -moz-animation: fadeInRight .5s .7s ease-in-out both;
    -ms-animation: fadeInRight .5s .7s ease-in-out both;
    animation: fadeInRight .5s .7s ease-in-out both;
}

.nav-btn span {
    display: block;
    background: #181818;
    width: 0.5rem;
    height: 4px;
    border-radius: .2rem;
    transition: all .3s ease-in-out;
}
.actived span:nth-of-type(1){
    transform: translateY(.145rem);

}
.actived span:nth-of-type(3){
    transform: translateY(-.145rem);
}
.head-down {
    display: block;
    position: absolute;
    bottom: -0.1rem;
    left: 50%;
    margin-left: -.85rem;
    width: 1.7rem;
    height: 1.7rem;
    background: url('../img/main/next.png');
    background-size: cover;
    -webkit-animation: downAni 0.7s .3s alternate-reverse infinite;
    -moz-animation: downAni 0.7s .3s alternate-reverse infinite;
    -ms-animation: downAni 0.7s .3s alternate-reverse infinite;
    animation: downAni 0.7s .3s alternate-reverse infinite;
}
/* head keyframe */
@keyframes downAni {
    0%{
        transform: translateY(0.1rem) rotateY(30deg);
    }
    100%{
        transform: translateY(-0.2rem) rotateY(0deg);
    }
}

.main1 {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 .4rem 1.2rem;
    overflow: hidden;
    background-color: #fff;
}

.main-title h2 {
    margin-top: .8rem;
    display: block;
    font-weight: 400;
    font-size: .28rem;
    text-align: center;
    color: #555658;
}

.main-title h3 {
    display: block;
    font-size: .65rem;
    text-align: center;
    color: #555658;
}

.main-title i {
    display: block;
    margin: .2rem auto .3rem;
    width: .6rem;
    height: .08rem;
    background-color: #FBD101;
}

.main1-txt p {
    display: block;
    font-size: .27rem;
    line-height: .6rem;
    color: #565859;
}

.main1-txt h4 {
    display: block;
    font-weight: 400;
    margin: .4rem auto;
    font-size: .27rem;
    color: #565859;
}

.main1-img {
    overflow: hidden;
    margin: .7rem auto;
    width: 70%;
    height: 1.2rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.main1-img img {
    display: block;
    font-size: .25rem;
    width: .91rem;
    height: .9rem;
    opacity: 0;
}

.main1-img p {
    text-align: center;
}

.main2 section {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: 3.4rem;
    overflow: hidden;
}

.main2 section:nth-child(2n) {
    background-color: #E7E7E7;
}

.main2 section:nth-child(2n+1) {
    background-color: #373A41;
}

.main2 img {
    display: block;
    height: 2.7rem;
}

.main2-title {
    overflow: hidden;
    width: 45%;
    height: 2.7rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: .4rem .55rem;
}

.main2-title h2 {
    display: block;
    font-weight: 400;
    font-size: .25rem;
    color: #FBD101;
}

.main2-title h3 {
    display: block;
    font-weight: 700;
    font-size: .55rem;
    color: #565859;
    overflow: hidden;
}

.main2 section:nth-child(2n+1) h3 {
    color: #fff;
}

.main2-title span {
    display: block;
    float: left;
}

.main2-title span:nth-child(2n) {
    color: #FBD101;
}

.main2-title i {
    margin: .3rem 0 .4rem;
    display: block;
    width: .6rem;
    height: .07rem;
    background-color: #FBD101;
}

.main2-more {
    margin: 0 auto;
    position: relative;
    width: 2.1rem;
    height: .45rem;
    line-height: .45rem;
    display: block;
    font-size: .26rem;
    color: #e2e1e2;
    text-align: right;
}
/* 
.main2-more span {
    position: absolute;
    top: .13rem;
    right: .3rem;
    display: block;
    width: .17rem;
    height: .17rem;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-top: 1px solid #cacaca;
    border-right: 1px solid #cacaca;
} */

section:nth-child(2n) a {
    color: #565859;
    text-align: left;
}

section:nth-child(2n) a span {
    border-top: 1px solid #565859;
    border-right: 1px solid #565859;
}

.main3 {
    overflow: hidden;
    padding: .2rem;
    background-color: #fff;
}

.main3-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin-bottom: .4rem;
    height: 3.56rem;
    overflow: hidden;
}

.main3-item img {
    display: block;
    width: 49%;
    opacity: 0;
}
.main3-item-txt {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: .4rem .2rem;
    width: 51%;
    background-color: #fafafa;
    z-index: 2;
}
.main3-item-txt h2 {
    display: block;
    font-size: .35rem;
    color: #e5e5e5;
}
.main3-item-txt h3 {
    display: block;
    margin: .1rem 0;
    font-size: .26rem;
    color: #565859;
}
.main3-item-txt p {
    display: block;
    text-indent: -.08rem;
    font-size: .2rem;
    color: #b7b7b7;
}
.main3-item-txt span {
    position: absolute;
    top: 1.3rem;
    left: 0;
    width: .2rem;
    height: .2rem;
    -webkit-transform: rotate(45deg) translateX(-.15rem);
    -ms-transform: rotate(45deg) translateX(-.15rem);
    transform: rotate(45deg) translateX(-.15rem);
    background-color: #fafafa;
}

.main3-item:nth-child(2n+1) span {
    -webkit-transform: rotate(45deg) translate(2.5rem, -2.5rem);
    -ms-transform: rotate(45deg) translate(2.5rem, -2.5rem);
    transform: rotate(45deg) translate(2.5rem, -2.5rem);
}

.main3-item:nth-child(2n+1) {
    text-align: right;
}

.main4 {
    width: 100%;
    height: 4.9rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url('../img/main/main4-bg.jpg') no-repeat;
    background-size: 100% auto;
}
.main4-btn{
    display: block;
    width: 4.2rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    color: #000;
    font-size: .4rem;
    background-color: #FBD101;
    font-weight: 700;
    opacity: 0;
}

/* animate */

.main3-item:nth-of-type(2) img.actived{
    -webkit-animation: fadeInRight .5s .2s ease-in-out both;
    -moz-animation: fadeInRight .5s .2s ease-in-out both;
    -ms-animation: fadeInRight .5s .2s ease-in-out both;
    animation: fadeInRight .5s .2s ease-in-out both
}
.main3-item:nth-of-type(3) img.actived{
    -webkit-animation: fadeInLeft .5s .2s ease-in-out both;
    -moz-animation: fadeInLeft .5s .2s ease-in-out both;
    -ms-animation: fadeInLeft .5s .2s ease-in-out both;
    animation: fadeInLeft .5s .2s ease-in-out both
}
.main3-item:nth-of-type(4) img.actived{
    -webkit-animation: fadeInRight .5s .2s ease-in-out both;
    -moz-animation: fadeInRight .5s .2s ease-in-out both;
    -ms-animation: fadeInRight .5s .2s ease-in-out both;
    animation: fadeInRight.5s .2s ease-in-out both
}
.main4-btn.actived{
    -webkit-animation: fadeInDown .5s 0s ease-in-out both;
    -moz-animation: fadeInDown .5s 0s ease-in-out both;
    -ms-animation: fadeInDown .5s 0s ease-in-out both;
    animation: fadeInDown .5s 0s ease-in-out both
}
.main1-img img.actived{
    -webkit-animation: fadeInDown .5s 0s ease-in-out both;
    -moz-animation: fadeInDown .5s 0s ease-in-out both;
    -ms-animation: fadeInDown .5s 0s ease-in-out both;
    animation: fadeInDown .5s 0s ease-in-out both
}