/*内容部分*/
.m-banner img {
    width: 100%;
}
.m-content {
    margin: 6em auto;
    width: 80%;
    text-align: center;
}
.m-entrance {
    width: 46.86rem;
    margin: 5.6rem auto 0;
    text-align: center;
}

.line {
    position: relative;
    width: 17.65rem;
    height: 2px;
    background-color: #dcdcdc;
}
.line-s {
    width: 16rem;
}
.line:after {
    display: block;
    position: absolute;
    top: -4px;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background-color: #dcdcdc;
    content: "";
}
.line-r:after {
    right: -4px;
}
.line-l:after {
    left: -4px;
}
.m-title {
    margin: 0 2.15rem;
    font-size: 2.84rem;
    color: #fff;
}
.m-img {
    margin: 0 2.15rem;
}
.m-list {
    display: inline-block;
    width: 100%;
    height: 8.425rem;
    font-size: 2.428rem;
    line-height: 7.26rem;
    text-align: center;
    vertical-align: top;
    color: #fff;
}
.m-list-entrance {
    width: 32%;
    height: 8.425rem;
    margin: 3rem auto 0;
    background: url(../images/home/bg_pink.png) no-repeat center;
}
.m-list-junior {
    background: url(../images/home/bg_orange1.png) no-repeat center;
}
.m-list-junior1 {
    background: url(../images/home/bg_orange.png) no-repeat center;
}
.m-list-primary {
    background: url(../images/home/bg_blue.png) no-repeat center;
}

.m-list-high {
    background: url(../images/home/bg_green.png) no-repeat center;
}
.m-list-one {
    width: 32%;
    margin: 3rem auto 7rem;
    background: url(../images/home/bg_red.png) no-repeat center;
}
.m-list {
    background-size: 100% auto;
}
.four-junior {
    display: inline-block;
    position: relative;
    width: 32%;
    max-width: 29rem;
    height: 8.425rem;
    margin-top: 5.6rem;
    vertical-align: top;
    overflow: visible;
}
.four-grade {
    margin-top: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.m-four-grade {
    display: none;
}
.subject {
    display: none;
    position: absolute;
    box-sizing: border-box;
    padding: 5% 1.43rem;
    top: 41%;
    z-index: 1;
    left: 3%;
    right: 3%;
    border-radius: 6px;
    background-color: #ffe5b3;
    text-align: left;
}
.subject-list {
    border-radius: 6px;
    width: 32%;
    max-width: 7.42rem;
    font-size: 2rem;
    text-align: center;
    line-height: 3.21rem;
    margin-top: 3.5rem;
    margin-right: 3%;
    color: #ffa802;
    background-color: #fff;
}
.primary-subject {
    left: 4%;
    right: 4%;
}
.primary-subject .subject-list {
    width: 30%;
    max-width: 7.28rem;
}
.subject-list:last-child {
    margin-right: 0;
}
.four-junior:hover .subject {
    display: block;
}
.dh-grade , .mobile-img{
    display: none;
}

@media (max-width: 1280px) {
    .subject-list {
        width: 30%;
        margin-right: 2.5%;
    }
}
@media (max-width: 920px) {
    .subject-list {
        width: 29%!important;
        margin-right: 4%;
        font-size: 1.8rem;
    }
    .m-list-primary , .m-list-high{
        line-height: 7.8rem;
    }
    .m-entrance {
        width: 72%;
    }
    .line {
        width: 36%;
    }
    .line-s {
        width: 32%;
    }
    .four-junior {
        width: 32%;
        text-align: center;
    }
    .four-junior .m-list, .m-list-entrance {
        font-size: 1.8rem;
    }
    .xsc-list {
        margin-top: 20px;
    }
}
@media (max-width: 920px) {
    .line {
        width: 35%;
    }
    .line-s {
        width: 31%;
    }
}
@media (max-width: 768px) {
    .dh-grade, .mobile-img{
        display: inline-block;
    }
    .dh-grade {
        margin-right: 0;
    }
    .four-junior, .pc-img {
        display: none;
    }
    .m-entrance {
        margin: 5rem auto 2.5rem;
    }
    .line {
        width: 39%;
    }
    .line-s {
        width: 37%;
    }
    .m-img {
        width: 12%;
        margin: 0 1.25rem;
    }
    .ms-img {
        width: 15%;
    }
    .m-list-entrance .mobile-img {
        width: 100%;
    }
    .m-list-junior1, .m-list {
        width: 30%;
        font-size: 1.8rem;
    }
    .dh-grade {
        line-height: 7.48rem;
    }
    .m-list-entrance {
        width: 32.8%;
        margin-top: 0!important;
        background: url(../images/home/mbg_pink1.png) no-repeat center;
        background-size: 100% auto;
    }
    .m-list-junior {
        background-image: url(../images/home/mbg_orange1.png);
    }
    .m-list-junior1 {
        background-image: url(../images/home/mbg_orange.png);
    }
    .m-list-primary {
        background-image: url(../images/home/mbg_blue.png);
    }
    .m-list-high {
        background-image: url(../images/home/mbg_green.png);
    }
    .m-list-one {
        background-image: url(../images/home/mbg_red.png);
    }
    .m_primary {
        margin-top: 2.5rem;
    }
}
@media (max-width: 660px) {
    .m-list-junior1, .m-list {
        font-size: 1.5rem;
    }
}
@media (max-width: 578px) {
    .m-list-junior1, .m-list {
        font-size: 1.3rem;
    }
    .line {
        width: 38%;
    }
    .line-s {
        width: 36%;
    }
}
@media (max-width: 450px) {
    .m-list-junior1, .m-list {
        font-size: 1.1rem;
    }
    .m-entrance {
        margin: 2rem auto 2.5rem;
    }
    .m-list {
        height: 4rem;
    }
    .line {
        width: 36%;
    }
    .line-s {
        width: 34%;
    }
   .m-list-one {
        height: 4rem;
        margin: 1rem auto 3rem;
    }
    .m-list-entrance, .dh-grade , .m-list-one {
        line-height: 3.2rem;
    }
}
@media (max-width: 320px) {
    .m-entrance:first-child {
        margin-top: 2rem;
    }
    .m-list-entrance {
        line-height: 3.68rem;
        margin: 0 auto!important;
    }
    .m-list-junior1, .m-list {
        font-size: .9rem;
    }
    .dh-grade , .m-list-one {
        line-height: 3.5rem;
    }
    .line {
        width: 35%;
    }
    .line-s {
        width: 34%;
    }
}
