/* header */
.header {
	background: #ffffff;
}

.header-body {
	width: 1200px;
	margin: 0 auto;
	line-height: 70px;
	height: 70px;
	display: flex;
	justify-content: space-between;
	font-size: 0.8em;
}

.header .header-logo {
	height: 100%;
	float: left;
}

.header .header-logo img {
	height: 60%;
	vertical-align: middle;
}

.header .header-text {
	float: right;
}

.header .header-divider {
	display: inline-block;
	height: 12px;
	margin: 0 0.3em;
	border-left: 1px solid #333;
}

.header .header-wechat {
	position: relative;
	display: inline-block;
}

.header .header-wechat:hover div {
	display: block;
}

.header .header-wechat div {
	display: none;
	position: absolute;
	background-image: url('../image/wechat.jpg');
	background-size: contain;
	height: 100px;
	width: 100px;
	left: calc(85% - 50px);
	top: calc(100% - 16px);
	border: 2px solid #ccc;
}

.header .header-wechat div::after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	background-color: #ffffff;
	border-left: 2px solid #ccc;
	border-top: 2px solid #ccc;
	position: absolute;
	top: -8px;
	left: calc(50% - 8px);
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: '微软雅黑';
	background-color: #ffd4b5;
	font-size: min(2.6vw, 20px);
}
img {
	margin: 0;
	max-width: 100%;
	/* width: 100%; */
	vertical-align: top;
}
picture {
	width: 100%;
}

.pic {
	width: auto;
	height: auto;
	display: inline-block;
}
.pic + .pic {
	margin-top: 1em;
}

a {
	color: inherit;
	text-decoration: none;
}
.red {
	color: #ff1313;
}
.bold {
	font-weight: bold;
}
.orange {
	color: #fe701c;
}
.delete {
	text-decoration: line-through;
}

.banner {
	width: 100%;
	min-width: 1200px;
}
.banner-img {
	width: 100%;
}
.footer {
	background: rgba(51, 51, 51, 1);
	color: #c1c2c3;
	padding: 1.25em;
	min-width: var(--width);
	box-sizing: border-box;
	text-align: center;
	font-size: 0.75em;
	line-height: 1.5;
}
.footer p {
	margin: 0;
}
.main {
	padding: 0 1em;
	width: 1200px;
	margin: auto;
	margin-top: 2em;
	box-sizing: border-box;
}

.card0 {
	width: 100%;
	text-align: center;
	margin-bottom: 2em;
}

.card1 {
	border-radius: 0.5em;
	background-color: #fff;
	margin-bottom: 2em;
	position: relative;
	padding-top: 3em;
	margin-top: 10%;
}
.card2 {
	border-radius: 0.5em;
	background-color: #fff;
	margin-bottom: 2em;
	position: relative;
	padding-top: 0.5em;
	/* margin-top: 10%; */
}
.card1-title {
	position: relative;
	margin-bottom: -7em;
	text-align: center;
	top: -7em;
}
.card1-title img {
	width: auto;
	max-width: 50%;
}
.card1-subtitle {
	font-weight: bold;
	text-align: center;
	margin: 0.5em 1em;
}
.card1-content {
	padding: 0em 2em 1em 2em;
}
.card1-content__img {
	margin: 1em auto 0;
	width: auto;
	text-align: center;
}
.card1-title-2 {
	display: inline-block;
	background-color: #d2151a;
	color: #fff;
	font-weight: bold;
	line-height: 2;
	padding: 0 1em;
	margin: 1em 0;
	border-radius: 0.3em;
}
.card1-tip {
	line-height: 2;
	font-size: 0.9em;
	font-weight: bold;
	text-align: center;
}
.card1-tip::before {
	display: inline-block;
	background-color: #e33725;
	content: '';
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	vertical-align: 0.15em;
	margin-right: 0.25em;
}

.card2 {
	width: 100%;
	text-align: center;
	margin-bottom: 1em;
}

table span {
	display: inline-block;
}
table {
	--gap: 0.5em;
	text-align: center;
	width: calc(100% + 5em);
	margin: 0 -2.5em;
	border-collapse: collapse;
	font-size: 0.8em;
}
table th {
	background-color: #d2151a;
	color: #fff;
	border: 1px solid #fff;
	font-size: 1.2em;
	line-height: 2;
}
table td {
	padding: 0.6em var(--gap);
	border: 1px solid #dadada;
}
table tr:first-child td {
	border-top: none;
}
.btn {
	color: #fff;
	background-color: #d2151a;
	padding: 0 0.8em;
	line-height: 2;
	display: inline-block;
	margin: 0.5em 0;
	border-radius: 0.3em;
	white-space: nowrap;
}

.info-box {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8em;
	line-height: 1.8em;
}
.info-item {
	flex: calc(50% - 1em);
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 3em 1fr;
	align-items: center;
	padding: 0.6em 0.6em;
	border-radius: 20px;
	/*margin: 0.2em;*/
	column-gap: 1em;
}
.info-item:hover {
	box-shadow: 1px 0px 6px 1px #cbcbcb;
}
.info-item-img {
	text-align: center;
	grid-row: span 2;
}
.info-item-title {
	font-weight: bold;
	font-size: 1.1em;
	line-height: 2;
}

.teachers {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7em, 1fr));
	/* margin-top: 1em; */
}
.teacher-button {
	background-color: #e33725;
	color: #fff;
	display: block;
	width: 10em;
	border-radius: 4em;
	text-align: center;
	font-size: 1rem;
	line-height: 2.5;
	margin: 1em auto;
}
.teacher-grid {
	display: grid;
	gap: 1em;
	grid-template-columns: repeat(3, 1fr);
}
.teacher-video {
	margin: 1em auto;
	max-width: 800px;
}

.card3 {
	position: relative;
}
.card3-title {
	font-size: 1.5em;
	color: #ae0e16;
	font-weight: bold;
	text-align: center;
	margin-bottom: 0.3em;
}
.card3-content {
	position: absolute;
	top: 10%;
	left: 12%;
	width: 76%;
}
.card4 {
	position: relative;
	background-color: #fff;
	border-radius: 0.9em;
	text-align: center;
	padding: 1em;
	margin-bottom: 2em;
}
#swiper2 {
	height: 19em;
}
.stu-table {
	font-size: 0.8em;
}
.stu-table-title {
	display: flex;
	justify-content: space-between;
	text-align: center;
	color: #ae0e16;
	font-weight: bold;
	border-left: 1px solid #ae0e16;
	border-top: 1px solid #ae0e16;
}
.stu-table-title div {
	background-color: var(--primary-color);
	color: var(--white);
	line-height: 2;
	border-right: 1px solid #ae0e16;
	border-bottom: 1px solid #ae0e16;
	box-sizing: border-box;
}
.stu-table-title div:nth-child(1),
.stu-table-title div:nth-child(3) {
	width: 15%;
}
.stu-table-title div:nth-child(2),
.stu-table-title div:nth-child(4) {
	width: 40%;
}
.stu-table .swiper {
	border-left: 1px solid #ae0e16;
}
.stu-table .swiper-slide {
	width: 50%;
	text-align: center;
	transition-timing-function: linear;
	display: flex;
	align-items: center;
	justify-content: center;
}
.stu-table .swiper-slide div {
	flex: 0 0 auto;
	box-sizing: border-box;
	border-right: 1px solid #ae0e16;
	border-bottom: 1px solid #ae0e16;
	height: 100%;
	padding: 0 5px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 2;
}
.stu-table .swiper-slide div:nth-child(1) {
	width: 27%;
}
.stu-table .swiper-slide div:nth-child(2) {
	width: 73%;
}

.c1 .card1-content__img {
	margin-bottom: 1em;
}

.auto-warp {
	display: flex;
	flex-wrap: wrap;
	column-gap: 2em;
	justify-content: center;
}
.auto-warp > * {
	flex: 0 1 auto;
}

.grid-1 {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1em;
	justify-content: center;
	/* margin: 1em 0; */
}

.grid-1 div {
	width: 8em;
	margin: 0 auto;
	line-height: 2;
	text-align: center;
	background-color: #e33725;
	color: #fff;
	border-radius: 5em;
}

.le1 {
	text-align: left;
}

.code {
	display: flex;
}
.codeBox {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6em, 1fr));
	gap: 2em;
}
.course .qrcode {
	display: inline-block;
	text-align: center;
}
/* .course .qrcode img {
	width: 4.5rem;
} */

.class-table {
	background-color: var(--white);
	border-radius: 20px;
	padding: 0 1em;
	margin-top: 1em;
}
.class-table-btns {
	display: flex;
	justify-content: center;
}
.class-table-btns > div {
	margin: 0 1em 1em;
	line-height: 2;
	text-align: center;
	font-weight: bold;
	color: var(--white);
	line-height: 2;
	display: inline-block;
	border-radius: 3em;
	padding: 0 1em;
	cursor: pointer;
	width: 20%;
	height: 2em;
	line-height: 2em;
	color: #000;
	border: 2px solid firebrick;
	font-size: 0.9em;
}
.class-table-btns > div.active {
	background-color: firebrick;
	color: white;
	position: relative;
}
.class-table-btns > div.active::before {
	content: '';
	position: absolute;
	width: 1em;
	bottom: -1em;
	left: 50%;
	height: 1em;
	background-color: firebrick;
	transform: rotate(45deg) translate(-50%, -1px);
}
.kbtitle {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 2em;
}

.emphasis ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0;
	list-style: none;
	margin: 0;
	gap: 1em;
	font-size: 0.8em;
}

.emphasis ul li {
	width: calc(25% - 2rem);
	line-height: 3.5;
	text-align: center;
	color: var(--primary-color);
	font-weight: bold;
	background: url(../image/bg-2.png) center no-repeat;
	background-size: 100% 100%;
	cursor: pointer;
	margin: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.emphasis ul li.active {
	background-image: url(../image/bg-1.png);
	color: #ffe7c9;
}

.emphasis-detail {
	border: 3px solid var(--primary-color);
	padding: 1rem;
	display: none;
	line-height: 2;
	margin-top: 1rem;
}
.yh {
	width: 70%;
	padding-bottom: 20px;
}
.c2 td{
	padding: 1em 2em 1em 2em;
	font-size: 1.1em;
}
@media screen and (max-width: 768px) {
	.phone-block {
		display: block;
	}
	.card1-subtitle {
		font-weight: bold;
		text-align: center;
		font-size: 1.4rem;
	}

	.info-item {
		flex: 100%;
	}
	.info-item-img {
		width: 2em;
	}
	.info-item-content {
		grid-column: 1 / -1;
	}

	.codeBox {
		grid-template-columns: repeat(3, minmax(4em, 1fr));
	}
	.emphasis ul li {
		width: calc(50% - 2rem);
	}

	table th {
		background-color: #d2151a;
		color: #fff;
		border: 1px solid #fff;
		font-size: 1.2em;
		line-height: 2;
	}
	table td {
		font-size: 1.1em;
		/* line-height: 2; */
		padding: 0.1em var(--gap);
	}
	.card1 {
		margin-top: 15%;
	}
	.card1-tip {
		line-height: 2;
		font-size: 1em;
		font-weight: bold;
	}
	.grid-2__title::before {
		text-align: center;
		content: '√';
		display: inline-block;
		font-size: 0.7em;
		width: 1.4em;
		height: 1.4em;
		line-height: 1.4;
		border-radius: 50%;
		background-color: #e33725;
		color: #fff;
		vertical-align: 0.1em;
		margin-right: 0.5em;
	}
	.grid-2__title {
		text-align: left;
		margin-bottom: 0.5em;
		font-weight: bold;
		color: #e33725;
		font-size: 1.3em;
	}
	.grid-2__content {
		font-size: 1.3em;
	}

	.main {
		width: 100%;
	}
	.banner {
		min-width: 100%;
	}
	.pc-only {
		display: none !important;
	}
	.stu-table .swiper-slide {
		width: calc(100%);
		margin: 0 auto;
	}
	.stu-table-title div:nth-child(1),
	.stu-table-title div:nth-child(4) {
		width: 27%;
	}
	.stu-table-title div:nth-child(2),
	.stu-table-title div:nth-child(5) {
		width: 73%;
	}
	.stu-table-title div:nth-child(3),
	.stu-table-title div:nth-child(6) {
		width: 50%;
	}
	.teacher-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.card3-content {
		top: 5%;
	}
	#swiper2 {
		height: 63em;
	}
	.grid-1 {
		grid-template-columns: repeat(3, 1fr);
		margin-top: 1.5em;
	}
	.info-box {
		display: flex;
		flex-wrap: wrap;
		font-size: 1.2em;
		line-height: 1.8em;
	}

	.grid-1 div {
		/* width: 10em; */
		margin: 0 auto;
		line-height: 2.5em;
		font-size: 1.2em;
		text-align: center;
		background-color: #e33725;
		color: #fff;
		border-radius: 5em;
		font-weight: bold;
	}
	.kbtitle {
		font-size: 1.6em;
		font-weight: bold;
		line-height: 2em;
	}
	.info-item {
		column-gap: 0em;
	}
	.yh {
		width: 100%;
	}
	.header{
		display: none;
	}
}

.swiper-free-mode > .swiper-wrapper {
	transition-timing-function: linear;
}

#image-preview {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

#previewed-image {
	max-width: 80%;
	max-height: 80%;
}

#image-preview .close {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}
