/*重置样式*/
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;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

blockquote, q {
    quotes: none;
}

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

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;
}

/*重置结束*/

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

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

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

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

/*nav*/
nav {
    width: 100%;
    height: .5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: #212121;
}

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

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

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

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

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

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

/*banner-tip*/
.banner-tip {
    width: 5.62rem;
    margin: .2rem auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.banner-tip > div {
    width: 1.87rem;
    margin-right: .4rem;
}

.banner-tip > div:last-child {
    margin-right: 0;
}

.banner-tip > div img {
    width: 100%;
}

/*相同样式*/
.p1, .p2, .p3, .p4, .p5, .p6 {
    width: 100%;
    padding: 25px 0;
    background: #ffffff;
}

.p1-btn, .p2-btn, .p3-btn, .p4-btn, .p5-btn, .p6-btn {
    width: 2rem;
    height: .44rem;
    margin: 0 auto;
}

.titles {
    background: url("../img/titles.png") no-repeat;
    background-size: 6.05rem 5.88rem;
}

.btns {
    background: url("../img/btns.png") no-repeat;
    background-size: 6.34rem 3.95rem;
}

/*p1*/
.p1-title {
    width: 5.78rem;
    height: .79rem;
    background-position: -.1rem -1.08rem;
    margin: 0 auto;
}

.p1-contents {
    width: 6rem;
    margin: .4rem auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.p1-contents > div {
    width: 1.29rem;
    height: 1.99rem;
    margin-right: .27rem;
    position: relative;
}

.p1-contents > div:last-child {
    margin-right: 0;
}

.p1-1 {
    background: url("../img/p1-1.png") no-repeat;
    background-size: 100% 100%;
}

.p1-2 {
    background: url("../img/p1-2.png") no-repeat;
    background-size: 100% 100%;
}

.p1-3 {
    background: url("../img/p1-3.png") no-repeat;
    background-size: 100% 100%;
}

.p1-4 {
    background: url("../img/p1-4.png") no-repeat;
    background-size: 100% 100%;
}

.p1-arrow {
    width: .1rem;
    height: .07rem;
    background: url("../img/p1-arrow.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 50%;
    bottom: .49rem;
    margin-left: -.05rem;
    -webkit-animation: p1Arrow 1s linear infinite alternate;
            animation: p1Arrow 1s linear infinite alternate;
}

.p1-btn {
    background-position: -.1rem -1.49rem;
}

@-webkit-keyframes p1Arrow {
    0% {
        -webkit-transform: translateY(-.04rem);
                transform: translateY(-.04rem);
    }
    100% {
        -webkit-transform: translateY(.04rem);
                transform: translateY(.04rem);
    }
}

@keyframes p1Arrow {
    0% {
        -webkit-transform: translateY(-.04rem);
                transform: translateY(-.04rem);
    }
    100% {
        -webkit-transform: translateY(.04rem);
                transform: translateY(.04rem);
    }
}

/*p2*/
.p2 {
    background: url("../img/p2-bg.jpg") no-repeat;
    background-size: 100% 100%;
}

.p2-title {
    width: 5.5rem;
    height: .78rem;
    background-position: -.1rem -3.04rem;
    margin: 0 auto;
}

.p2-content {
    background: url("../img/p2-contents.png") no-repeat;
    background-size: 4.05rem 3.38rem;
}

.p2-contents {
    width: 6.2rem;
    margin: .4rem auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.p2-contents > div {
    width: 1.15rem;
    height: 1.49rem;
    margin-right: .11rem;
}

.p2-contents > div:last-child {
    margin-right: 0;
}

.p2-1 {
    background-position: -.1rem -.1rem;
}

.p2-2 {
    background-position: -1.45rem -.1rem;
}

.p2-3 {
    background-position: -2.8rem -.1rem;
}

.p2-4 {
    background-position: -.1rem -1.79rem;
}

.p2-5 {
    background-position: -1.45rem -1.79rem;
}

.p2-btn {
    background-position: -.1rem -2.13rem;
}

/*p3*/
.p3-title {
    width: 4.14rem;
    height: .78rem;
    background-position: -.1rem -5rem;
    margin: 0 auto;
}

.p3-contents {
    width: 6rem;
    margin: .27rem auto .4rem;
}

.p3-content {
    background: url("../img/p3-contents.png") no-repeat;
    background-size: 6.2rem 4.8rem;
}

.p3-contents > div {
    width: 100%;
    height: 1rem;
    margin-bottom: .1rem;
}

.p3-contents > div:last-child {
    margin-bottom: 0;
}

.p3-1 {
    background-position: -.1rem -1.3rem;
}

.p3-2 {
    background-position: -.1rem -2.5rem;
}

.p3-3 {
    background-position: -.1rem -3.7rem;
}

.p3-4 {
    background-position: -.1rem -.1rem;
}

.p3-btn {
    background-position: -.1rem -2.77rem;
}

/*p4*/
.p4 {
    background: url("../img/p4-bg.jpg") no-repeat;
    background-size: 100% 100%;
}

.p4-title {
    width: 5.85rem;
    height: .78rem;
    background-position: -.1rem -.1rem;
    margin: 0 auto;
}

.p4-contents {
    width: 6.2rem;
    margin: .4rem auto;
    position: relative;
}

.p4-content {
    width: 100%;
}

.p4-content img {
    width: 100%;
}

.p4-light {
    width: 1.09rem;
    height: 1.78rem;
    background: url("../img/p4-light.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    left: 50%;
    top: .25rem;
    margin-left: -.545rem;
    -webkit-animation: light 1s linear infinite alternate;
            animation: light 1s linear infinite alternate;
}

.p4-btn {
    background-position: -.1rem -3.41rem;
}

@-webkit-keyframes light {
    0%{
        -webkit-transform: scale(.9);
                transform: scale(.9);
    }
    100%{
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}

@keyframes light {
    0%{
        -webkit-transform: scale(.9);
                transform: scale(.9);
    }
    100%{
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}

/*p5*/
.p5-title {
    width: 5.07rem;
    height: .78rem;
    background-position: -.1rem -4.02rem;
    margin: 0 auto;
}

.p5-teachers {
    width: 100%;
    margin: .52rem auto .6rem;
}

.p5-container {
    width: 100%;
    height: 4.3rem;
}

.p5-container .swiper-slide {
    position: relative;
    width: 30%;
    height: 100%;
}

.p5-container .swiper-slide img {
    width: 100%;
    height: 100%;
}

.p5-container .swiper-slide .mask {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transition: all .6s;
    transition: all .6s;
    z-index: 9;
}

.p5-container .swiper-slide .mask img {
    width: 100%;
}

.p5-container .swiper-slide.swiper-slide-active .mask {
    -webkit-transform: scale(1);
            transform: scale(1);
}

.teachers_pagination {
    margin: .2rem auto;
    text-align: center;
}

.teachers_pagination span {
    width: .5rem;
    height: .1rem;
    margin-right: .2rem;
    border-radius: 10%;
}

.swiper-pagination-bullet-active {
    background: #53bccc !important;
}

.p5-btn {
    background-position: -4.21rem -.1rem;
}

/*p6*/
.p6 {
    padding-top: 0;
}

.p6-title {
    width: 5.85rem;
    height: .77rem;
    background-position: -.1rem -2.07rem;
    margin: 0 auto;
}

.p6-contents {
    width: 6.21rem;
    margin: .4rem auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.p6-contents > div {
    width: 1.48rem;
    margin-right: .1rem;
}

.p6-contents > div:last-child {
    margin-right: 0;
}

.p6-contents > div img {
    width: 100%;
}

.p6-btn {
    background-position: -.1rem -.85rem;
}

/*p7*/
.p7 {
    width: 100%;
    position: relative;
    margin-bottom: .6rem;
}

.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: 1px solid #53bccc;
    border-radius: 5px;
    margin-bottom: .2rem;
    background: rgba(0, 0, 0, .1);
    color: #ffffff;
    padding: 0 .4rem;
}

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

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

@media screen and (max-width: 414px) and (min-width: 376px) {
    nav .nav-bar li a {
        font-size: 18px;
    }

    .p7-form input {
        font-size: 14px;
    }
}

@media screen and (max-width: 375px) {
    nav .nav-bar li a {
        font-size: 12px;
    }

    .p7-form input {
        font-size: 12px;
    }
}