/*重置样式*/
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: "";
    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: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

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

/*header*/
header{
    width: 100%;
    height: .8rem;
    background: #1d2025;
    display: flex;
    justify-content: left;
    align-items: center;
}
header .logo{
    margin-left: .2rem;
    width: 3.91rem;
    height: .51rem;
    background: url("../img/logo.png") no-repeat;
    background-size: 100% 100%;
}

/*nav*/
nav{
    width: 100%;
    height: .52rem;
    display: flex;
    align-items: center;
}
nav .nav-bar{
    width: 6.24rem;
    height: .3rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav .nav-bar li{
    color: #000;
    font-size: 30px;
}
.act{
    color: #357dcf;
}

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

/*p1*/
.p1{
    width: 100%;
    margin: .3rem 0;
}
.p1-title{
    width: 7.01rem;
    height: 3.69rem;
    background: url("../img/p1-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}
.p1-logo{
    width: 1.07rem;
    height: 2.08rem;
    background: url("../img/p1-logo.png") no-repeat;
    background-size: 100% 100%;
    margin: -1rem auto 0;
}
.p1-content{
    width: 6.63rem;
    height: 3.32rem;
    background: url("../img/p1-content.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto .2rem;
}
.p1-btn{
    width: 1.65rem;
    height: 1.23rem;
    background: url("../img/p1-btn.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}

/*p2*/
.p2{
    width: 100%;
    position: relative;
}
.p2-title{
    width: 6.66rem;
    height: 3.18rem;
    background: url("../img/p2-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}
.p2-content{
    width: 7.1rem;
    height: 1.88rem;
    background: url("../img/p2-content.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 1.2rem;
    left: .2rem;
}
.p2-btn{
    width: 1.65rem;
    height: 1.23rem;
    background: url("../img/p2-btn.png") no-repeat;
    background-size: 100% 100%;
    margin: .3rem auto 0;
}

/*p3*/
.p3{
    width: 100%;
    margin: .39rem 0;
}
.p3-title{
    width: 6.66rem;
    height: 1.51rem;
    background: url("../img/p3-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}
.p3-content{
    width: 7.09rem;
    height: 2.8rem;
    background: url("../img/p3-content.png") no-repeat;
    background-size: 100% 100%;
    margin: .45rem auto .26rem;
}
.p3-btn{
    width: 1.65rem;
    height: 1.23rem;
    background: url("../img/p3-btn.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto 0;
}

/*p4*/
.p4{
    width: 100%;
    position: relative;
}
.p4-title{
    width: 7.02rem;
    height: 17.94rem;
    background: url("../img/p4-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}
.p4-contents{
    position: absolute;
    top: 1rem;
    left: .9rem;
}
.p4-1{
    width: 5.8rem;
    height: 5.06rem;
    background: url("../img/p4-1.png") no-repeat;
    background-size: 100% 100%;
    margin-bottom: .3rem;
}
.p4-2{
    width: 5.8rem;
    height: 6.18rem;
    background: url("../img/p4-2.png") no-repeat;
    background-size: 100% 100%;
    margin-bottom: .3rem;
}
.p4-3{
    width: 5.8rem;
    height: 5.06rem;
    background: url("../img/p4-3.png") no-repeat;
    background-size: 100% 100%;
}
.p4-btn{
    width: 1.65rem;
    height: 1.23rem;
    background: url("../img/p4-btn.png") no-repeat;
    background-size: 100% 100%;
    margin: .23rem auto 0;
}

/*p5*/
.p5{
    width: 100%;
    margin: .44rem 0 .53rem;
}
.p5-title{
    width: 6.66rem;
    height: .89rem;
    background: url("../img/p5-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}
.p5-contents{
    width: 7.2rem;
    margin: 0 auto .35rem;
}
.p5-1{
    width: 7.12rem;
    height: 2.99rem;
    background: url("../img/p5-1.png") no-repeat;
    background-size: 100% 100%;
}
.p5-2{
    width: 7.2rem;
    height: 2.99rem;
    background: url("../img/p5-2.png") no-repeat;
    background-size: 100% 100%;
    margin: .41rem 0;
}
.p5-3{
    width: 7.09rem;
    height: 2.99rem;
    background: url("../img/p5-3.png") no-repeat;
    background-size: 100% 100%;
}
.p5-btn{
    width: 1.65rem;
    height: 1.23rem;
    background: url("../img/p5-btn.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
}

/*p-teachers*/
.p-teachers{
    width: 100%;
    margin: .38rem 0 .35rem;
}
.p-teachers-title{
    width: 6.66rem;
    height: .89rem;
    background: url("../img/p-teachers-title.png") no-repeat;
    background-size: 100% 100%;
    margin: 0 auto .28rem;
}
.p-teachers-content{
    width: 7.1rem;
    height: 2.79rem;
    margin: 0 auto;
    overflow: hidden;
}
.p-teacher-1,.p-teacher-2,.p-teacher-3,.p-teacher-4,.p-teacher-5{
    width: 2.26rem;
    height: 2.79rem;
    /*margin-right: .02rem;*/
    position: relative;
}
.p-teacher-1{
    background: url("../img/p-teachers-1.png") no-repeat;
    background-size: 100% 100%;
}
.p-teacher-2{
    background: url("../img/p-teachers-2.png") no-repeat;
    background-size: 100% 100%;
}
.p-teacher-3{
    background: url("../img/p-teachers-3.png") no-repeat;
    background-size: 100% 100%;
}
.p-teacher-4{
    background: url("../img/p-teachers-4.png") no-repeat;
    background-size: 100% 100%;
}
.p-teacher-5{
    background: url("../img/p-teachers-5.png") no-repeat;
    background-size: 100% 100%;
}

.teacher-mask{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 2.09rem;
    left: 0;
    background: rgba(61,91,113,.5);
    padding: .15rem .16rem .3rem;
    overflow: hidden;
    transition: all .3s;
}
.teacher-mask h3{
    color: #fff;
    font-size: 24px;
    margin-bottom: .07rem;
}
.teacher-mask p{
    color: #fff;
    font-size: 12px;
}
.teacher-mask .line{
    width: 100%;
    height: 1px;
    background: #fff;
    margin: .16rem 0;
}
.swiper-slide.swiper-slide-active .teacher-mask{
    top: 0;
}
.p-teachers-btn{
    width: 1.65rem;
    height: 1.23rem;
    background: url("../img/p-teachers-btn.png") no-repeat;
    background-size: 100% 100%;
    margin: .37rem auto 0;
}

/*p6*/
.p6{
    width: 100%;
    position: relative;
    margin-bottom: .6rem;
}
.p6 img{
    width: 100%;
    text-align: center;
    font-size: 20px;
}
.p6-form{
    width: 4.6rem;
    height: 2.35rem;
    position: absolute;
    left: 50%;
    bottom: .51rem;
    margin-left: -2.3rem;
    z-index: 9;
}
.p6-form input{
    width: 100%;
    height: .65rem;
    border-radius: 5px;
    margin-bottom: .2rem;
    padding: 0 .4rem;
}
.p6-form button{
    width: 100%;
    height: .65rem;
    background: url("../img/p6-btn.png") no-repeat;
    background-size: 100% 100%;
    border: 0;
}


/*响应式字体*/
@media screen and (min-width: 650px){
    .p6-form input{
        font-size: 20px;
    }
    .teacher-mask h3{
        font-size: 20px;
    }
}
@media screen and (max-width: 414px) and (min-width: 376px){
    nav .nav-bar li{
        font-size: 18px;
    }
    .swiper-slide.swiper-slide-active .teacher-mask{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .teacher-mask h3{
        font-size: 16px;
        margin-bottom: .15rem;
    }
    .teacher-mask .sub-title{
        font-size: 14px;
    }
    .teacher-mask .introduce{
        display: none;
    }
    .p6-form input{
        font-size: 14px;
    }
}
@media screen and (max-width: 375px){
    nav .nav-bar li{
        font-size: 14px;
    }
    .swiper-slide.swiper-slide-active .teacher-mask{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .teacher-mask h3{
        font-size: 14px;
        margin-bottom: .15rem;
    }
    .teacher-mask .sub-title{
        font-size: 12px;
    }
    .teacher-mask .introduce{
        display: none;
    }
    .p6-form input{
        font-size: 12px;
    }
}