@charset "utf-8";

/*初中学习各个年级的差异有哪些*/
.cxg1_box{
	width: 100%;
	overflow: hidden;
	padding-bottom: 70px;
}

.line{
	width: 10%;
	height: 3px;
	background-color:#ec3840;
	border: none;
	margin: 10px auto;
}

.cxg1_con{
	overflow: hidden;
}

.cxg1_con li{
	float: left;
	width: 380px;
	height: 471px;
	margin-right: 30px;
}

.cxg1_con li:last-child{
	margin-right: 0;
}

.cxg1_con li .onebox{
	width: 100%;
	height: 471px;
	background: url(../img/index/cxg1_conBg1.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.cxg1_con li .alikebox:before{
	content: "刚刚升学的同学";
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	left: 100px;
	top: 15px;
}

.cxg1_con li .alikebox:after{
	content: "【立即预约】";
	font-size: 26px;
	font-weight: bold;
	color: #ec3840;
	position: absolute;
	left: 120px;
	bottom: 17px;
}

.cxg1_con li .twobox{
	width: 100%;
	height: 471px;
	background: url(../img/index/cxg1_conBg2.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.cxg1_con li .twobox:before{
	content: "承接年级的同学";
}

.cxg1_con li .threebox{
	width: 100%;
	height: 471px;
	background: url(../img/index/cxg1_conBg3.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.cxg1_con li .threebox:before{
	content: "面临升学的同学";
}

.cxg1_con li hgroup{
	text-align: center;
	color: #fff;
	font-size: 22px;
	padding-top: 322px;
}

.cxg1_con li hgroup p{
	font-size: 18px;
}

/*总有一款适合你！*/
.cxg2_box{
	width: 100%;
	height: 664px;
	background: url(../img/index/csg2_boxBg.jpg) no-repeat;
	background-size: 100% 100%;
}

.cxg2_box .comm-title>h1{
	color: #fff;
}

.cxg2_box .comm-title>p{
	color: #fff;
}

.cxg2_con li{
	float: left;
	width: 580px;
}

.cxg2_con li .samebox{
	background: url(../img/index/cxg2_conBg.png);
	height: 306px;
	margin-right: 42px;
	position: relative;
}

.cxg2_con li .samebox:before{
	content: "一对一";
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	left: 10px;
	top: 38px;
}

.cxg2_con li .secondbox:before{
	content: "小班课";
}

.cxg2_con li .secondbox:before{
	content: "小班课";
}

.cxg2_con li .texts{
	text-align: center;
	color: #ff5577;
	text-align: left;
}

.cxg2_con li .texts p{
	font-size: 16px;
	line-height: 26px;
	padding: 0 10px;
}

.cxg2_con li .texts .firsttext{
	margin-left: 160px;
	padding-top: 60px;
}

.cxg2_con li .texts .secondtext{
	margin-left: 145px;
    padding-top: 33px;
}

.cxg2_con li .texts .thirdtext{
	padding-top: 45px;
}


.consult {
    display: block;
    background: #ec3840;
    color: #fff;
    text-align: center;
    width: 645px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
    border-radius: 30px;
    margin: 70px auto;
}

/*课程优势在哪里*/
.cxg4_box{
	overflow: hidden;
	position: relative;
	background: #f7f7f7;
}

.cxg4_bg{
	width: 271px;
	height: 268px;
	background: url(../img/index/cxg3_boxBg.png) no-repeat;
	margin: 0 auto;
}

.cxg4_detail li{
	width: 440px;
	float: left;
}

.cxg4_detail li h2{
	font-size: 26px;
	color: #ec3840;
	font-weight: bold;
}

.cxg4_detail li p{
	font-size: 20px;
	color: #4c4c4c;
	margin-top: 25px;
}

.cxg4_detail li:nth-child(1){
	position: absolute;
	left: 0;
	top: 70px;
}

.cxg4_detail li:nth-child(1)>h2{
	text-align: right;
}

.cxg4_detail li:nth-child(2){
	position: absolute;
	right: 0;
	top: 70px;
}

.cxg4_detail li:nth-child(3){
	position: absolute;
	left: 0;
	top: 230px;
}

.cxg4_detail li:nth-child(3)>h2{
	text-align: right;
}

.cxg4_detail li:nth-child(4){
	position: absolute;
	right: 0;
	top: 230px;
}


/*个性化定制服务 专属学习体验*/

.cxg3_con li{
	float: left;
}

.cxg3_con{
	width: 1204px;
	overflow: hidden;
	margin: 0 auto;
	padding-bottom: 70px;
}

.cxg3_con li .firstblock{
	width: 208px;
	height: 464px;
	background: url(../img/index/cxg3_conBg1.png) no-repeat;
	position: relative;
}

.cxg3_con li .firstblock:before{
	content: "测评";
	color: #FF5577;
	font-size: 26px;
	font-weight: bold;
	position: absolute;
	top: 90px;
    left: 54px;
}

.cxg3_con li .secondBox{
	width: 208px;
	height: 464px;
	background: url(../img/index/cxg3_conBg2.png) no-repeat;
	position: relative;
}

.cxg3_con li .secondBox:before{
	content: "咨询";
	color: #FF5577;
	font-size: 26px;
	font-weight: bold;
	position: absolute;
	top: 90px;
    left: 54px;
}

.cxg3_con li .thridBox{
	width: 208px;
	height: 464px;
	background: url(../img/index/cxg3_conBg3.png) no-repeat;
	position: relative;
}

.cxg3_con li .thridBox:before{
	content: "计划";
	color: #FF5577;
	font-size: 26px;
	font-weight: bold;
	position: absolute;
	top: 90px;
    left: 54px;
}

.cxg3_con li .fourBox{
	width: 208px;
	height: 464px;
	background: url(../img/index/cxg3_conBg4.png) no-repeat;
	position: relative;
}

.cxg3_con li .fourBox:before{
	content: "授课";
	color: #FF5577;
	font-size: 26px;
	font-weight: bold;
	position: absolute;
	top: 90px;
    left: 54px;
}

.cxg3_con li .fiveBox{
	width: 208px;
	height: 464px;
	background: url(../img/index/cxg3_conBg5.png) no-repeat;
	position: relative;
}

.cxg3_con li .fiveBox:before{
	content: "服务";
	color: #FF5577;
	font-size: 26px;
	font-weight: bold;
	position: absolute;
	top: 90px;
    left: 54px;
}

.cxg3_con li .sixBox{
	width: 164px;
	height: 463px;
	background: url(../img/index/cxg3_conBg6.png) no-repeat;
	position: relative;
}

.cxg3_con li .sixBox:before{
	content: "结果";
	color: #FF5577;
	font-size: 26px;
	font-weight: bold;
	position: absolute;
	top: 90px;
    left: 54px;
}

.cxg3_con li p{
	width:130px ;
	color: #fff;
	font-size: 18px;
	padding-top: 170px;
	padding-left: 18px;
	line-height: 40px;
}




/*校区环境*/
.xsc6_box p{
	font-size: 20px;
}

.xsc6_con{
	position: relative;
	padding-bottom: 70px;
}

.xsc6_box hgroup{
	float: left;
}

.xsc6_con_img1{
	width: 386px;
	height: 322px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.xsc6_con_img2{
	width: 386px;
	height: 420px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.xsc6_con_img3{
	width: 386px;
	height: 240px;
	margin-bottom: 20px;
}

.xsc6_con_img4{
	width: 386px;
	height: 346px;
	margin-right: 20px;
	margin-top: -98px;
}

.xsc6_con_img5{
	width: 386px;
	height: 248px;
	margin-right: 20px;
}

.xsc6_con_img6{
	width: 386px;
	height: 427px;
	margin-top: -179px;
}

.text{
	background: -webkit-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.6));  
	background: -moz-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.6));  /*FireFox*/
	background: -o-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.6));    /* Opear */
	background: -ms-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.6));   /*IE10及IE10+*/
}

.text p{
	text-align: center;
	font-size: 72px;
	color: #fff;
	font-weight: bold;
}

.mouse_moving{
	position: relative;
}

.text{
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	opacity: 0;
}

.mouse_moving:hover .xsc6_con_img2{
	-webkit-animationtransition: all .5s ease-in-out;
	-moz-animationtransition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.mouse_moving:hover .text{
	opacity: 1;
	-webkit-animationtransition: all .5s ease-in-out;
	-moz-animationtransition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.mouse_moving:hover .text p{
	margin-top: 150px
}

/*首页小球滚动效果*/
/* 创建动画，声明一个动画的关键帧 */

	@keyframes myani{
		
		 0%{
		 	margin-left: -300px;
		 	opacity: 0;
		 }
		 
		 100%{
		 	margin-left: 0px;
		 	opacity: 1;
		 }		
	}
	
	p[id*='css']{
		/* 调用创建的动画 */
		animation-name:myani;
		/* 设置动画时间 */
		animation-duration:3s;
		/* 缓动,由快到慢 */
		animation-timing-function:cubic-bezier(0.22, 0.61, 0.61, 1.32);
	}
	p[id=css2]{animation-delay:.5s;}  /*延迟*/
	p[id=css3]{animation-delay:1s;}
	p[id=css4]{animation-delay:1.5s;}
	
