/*重置样式*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video, input {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Microsoft Yahei";
    vertical-align: baseline;
    box-sizing: border-box;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    /*vertical-align: middle;*/
    outline: none;
    border: 0;
}

ul, li {
    list-style: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clear {
    clear: both;
}

a {
    text-decoration: none;
    color: #000;
}
img{
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

/*重置结束*/

/*大容器*/
.wrapper {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

/*header*/
header {
    width: 100%;
    height: .8rem;
    background: #ffffff;
    display: flex;
    justify-content: left;
    align-items: center;
}

header .logo {
    margin-left: .2rem;
    width: 5.28rem;
    height: .38rem;
    background: url("../img/logo.png") no-repeat;
    background-size: 100% 100%;
}

/*nav*/
nav {
    width: 100%;
    height: .6rem;
    display: flex;
    align-items: center;
    background: #212121;
}

nav .nav-bar {
    /*width: 6.24rem;*/
    /*height: .3rem;*/
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav .nav-bar li {
    width: 1.1rem;
    height: 100%;
    text-align: center;
    flex: 2;
}

nav .nav-bar li a {
    color: #ffffff;
    font-size: 24px;
    line-height: .6rem;
}

nav .nav-bar li a.act {
    background: #f46a5f;
}

/*banner*/
.banner {
    width: 100%;
    margin-top: -1px;
    position: relative;
}

.banner img {
    width: 100%;
    text-align: center;
    font-size: 20px;
}
.banner-btn{
    width: 2.26rem;
    height: .49rem;
    background: url("../img/banner-btn.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 50%;
    bottom: .4rem;
    margin-left: -1.06rem;
}
.banner-tip{
    width: 6.3rem;
    height: 1.8rem;
    background: url("../img/banner-tip.png") no-repeat;
    background-size: 100% 100%;
    margin: .35rem auto;
}

/*相同样式*/
.p1,.p2,.p3,.p4,.p5,.p6{
    width: 100%;
    /*margin: 30px 0;*/
    padding: 25px 0;
    background: #ffffff;
}
.p1-btn,.p2-btn,.p3-btn,.p4-btn,.p5-btn,.p6-btn{
    width: 2.96rem;
    height: .40rem;
    margin: 0 auto;
}
.titles{
    background: url("../img/titles.png") no-repeat;
    background-size: 10.63rem 2.08rem;
}
.btns{
    background: url("../img/btns.png") no-repeat;
    background-size: 4.11rem 3.75rem;
}

/*p1*/
.p1-title{
    width: 5.82rem;
    height: .39rem;
    background-position: -4.71rem -.1rem;
    margin: 0 auto;
}
.p1-contents{
    width: 5.6rem;
    margin: .3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.p1-1{
    width: 2.2rem;
    height: 3.2rem;
    background: url("../img/p1-1.png") no-repeat;
    background-size: 100% 100%;
}
.p1-logo{
    width: 1.34rem;
    height: 1.15rem;
    background: url("../img/p1-logo.png") no-repeat;
    background-size: 100% 100%;
    animation: vs 1s infinite ease-in alternate;
}
.p1-2{
    width: 2.2rem;
    height: 3.2rem;
    background: url("../img/p1-2.png") no-repeat;
    background-size: 100% 100%;
}
.p1-btn{
    background-position: -.1rem -1.45rem;
}

@keyframes vs {
    0%{
        transform: scale(1.3);
    }
    100%{
        transform: scale(1);
    }
}

/*p2*/
.p2-title{
    width: 3.9rem;
    height: .39rem;
    background-position: -.1rem -1.59rem;
    margin: 0 auto;
}
.p2-content{
    width: 100%;
    margin: .5rem 0 .3rem;
}
.p2-content img{
    width: 100%;
}
.p2-btn{
    background-position: -.1rem -2.05rem;
}

/*p3*/
.p3{
    background: url("../img/p3-bg.jpg") no-repeat;
    background-size: 100% 100%;
}
.p3-title{
    width: 4.41rem;
    height: .69rem;
    background-position: -.1rem -.1rem;
    margin: 0 auto;
}
.p3-content{
    width: 5.79rem;
    margin: .3rem auto;
}
.p3-content img{
    width: 100%;
}
.p3-btn{
    background-position: -.1rem -2.65rem;
}

/*p4*/
.p4{
    background: #f1eded;
}
.p4-title{
    width: 4.41rem;
    height: .38rem;
    background: url("../img/p4-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}
.p4-contents{
    width: 6.2rem;
    margin: .3rem auto 0;
    background: #ffffff;
    padding: .08rem;
}
.p4-contents>div{
    width: 100%;
    margin-bottom: .2rem;
}
.p4-contents>div img{
    width: 100%;
}

/*p5*/
.p5{
    padding: 0 0 .3rem;
    position: relative;
}
.p5-bg{
    width: 100%;
    height: 3rem;
    background: url("../img/p5-bg.png") no-repeat;
    background-size: 100% 100%;
}
.p5-content{
    width: 4.85rem;
    height: 2.82rem;
    /*position: absolute;*/
    /*left: 50%;*/
    /*top: 1.84rem;*/
    /*margin-left: -2.43rem;*/
    margin: 0 auto;
    transform: translateY(-1.1rem);
}
.p5-content img{
    width: 100%;
}
.swiper-slide{
    position: absolute;
    top: 0;
    left: 0;
}
.p5 .p5_pagination{
    margin: -.7rem auto 0;
    text-align: center;
}
.p5 .p5_pagination span{
    width: .08rem;
    height: .08rem;
    margin-right: .2rem;
}
.p5 .swiper-pagination-bullet-active{
    width: .3rem !important;
    border-radius: 10px !important;
    background: #f46a5f !important;
}
.p5-tip{
    width: 4.5rem;
    height: .4rem;
    background: url("../img/p5-tip.png") no-repeat;
    background-size: 100% 100%;
    margin: .1rem auto .2rem;
}
.p5-btn{
    background-position: -.1rem -3.25rem;
}

/*p6*/
.p6{
    margin-bottom: 0;
    background: #212121;
}
.p6-title{
    width: 5.12rem;
    height: .4rem;
    background-position: -.1rem -.99rem;
    margin: 0 auto;
}
.p6-contents{
    width: 5.8rem;
    margin: .38rem auto .1rem;
}
.p6-contents>div{
    width: 100%;
    margin-bottom: .1rem;
}
.p6-contents>div img{
    width: 100%;
}
.p6-btn{
    background-position: -.1rem -.85rem;
}

/*p7*/
.p7 {
    width: 100%;
    position: relative;
    margin-bottom: .6rem;
    padding: 0;
    transform: translateY(-1px);
}

.p7 img {
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.p7-form {
    width: 3.92rem;
    height: 1.97rem;
    position: absolute;
    left: 50%;
    bottom: .43rem;
    margin-left: -1.95rem;
    z-index: 9;
}

.p7-form input {
    width: 100%;
    height: .55rem;
    border-radius: 5px;
    margin-bottom: .2rem;
    padding: 0 .4rem;
}

.p7-form button {
    width: 100%;
    height: .55rem;
    background-position: -.1rem -.1rem;
    border: 0;
}

/*响应式字体*/
@media screen and (min-width: 650px) {
    .p7-form input {
        font-size: 20px;
    }
}

@media screen and (max-width: 414px) and (min-width: 375px) {
    nav .nav-bar li a {
        font-size: 16px;
    }
    .p1-title{
        font-size: 24px;
    }
    .p7-form input {
        font-size: 14px;
    }
}

@media screen and (max-width: 374px) {
    nav .nav-bar li a {
        font-size: 13px;
    }
    .p1-title{
        font-size: 20px;
    }
    .p7-form input {
        font-size: 12px;
    }
}