@media screen and (max-width: 768px) {
	html {
		font-size: 2.6vw;
	}
	.pc-only {
		display: none !important;
	}
}
@media screen and (min-width: 769px) {
	html {
		font-size: 16px;
	}
	.phone-only {
		display: none !important;
	}
}

:root {
	--width: 1200px;
	--top-height: 4.375rem;
	--background-color: #fff;
	--linear-background: linear-gradient(to top, #D2151A, #D2151A);
	--primary-color: #D2151A;
	--white: #fff;
	--table-border: #ddd;
	--border-color: #f7daa0;
}
/* common */
html,
body {
	margin: 0;
	padding: 0;
	font-family: '微软雅黑';
	min-width: var(--width);
}
img {
	margin: 0;
	max-width: 100%;
	vertical-align: top;
	font-size: 0;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	cursor: pointer;
}
ul,
li {
	list-style: none;
	margin: 0;
	padding: 0;
}
p {
	margin: 0;
}
table {
	/* border-collapse: collapse; */
	text-align: center;
}

/* header */
.header {
	width: 100%;
	height: var(--top-height);
	background: #ffffff;
	line-height: var(--top-height);
}
.header > div {
	width: var(--width);
	height: var(--top-height);
	margin: 0 auto;
}
.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: 0.75rem;
	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 {
	z-index: 1;
	display: none;
	position: absolute;
	background-image: url('../images/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);
}

/* footer */
.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 {
	background-color: var(--background-color);
	overflow: hidden;
	padding-bottom: 1em;
	min-width: var(--width);
}
.container {
	width: var(--width);
	margin: 0 auto;
}

/* fix-left */
.pc-fixed {
	position: fixed;
	display: none;
	left: 0;
	top: 50%;
	text-align: center;
	z-index: 100;
}
.pc-fixed img {
	height: 100%;
}
.pc-fixed-close {
	position: absolute;
	bottom: -30px;
	left: calc(50% - 10px);
	width: 20px;
	height: 20px;
	background-image: url('../images/close.svg');
	cursor: pointer;
	opacity: 0.3;
}

/* footer */
.phone-footer {
	display: flex;
	bottom: 0;
	left: 0;
	width: 100%;
	position: fixed;
	z-index: 10000;
	background-color: #fff;
	line-height: 6rem;
	box-sizing: border-box;
}
.phone-footer a {
	display: inline-block;
	box-sizing: border-box;
	font-size: 1.8rem;
	text-align: center;
	flex: 0 0 50%;
}
.phone-footer a:first-child {
	background-color: #313131;
	color: #fff;
}
.phone-footer a:last-child {
	background-color: var(--primary-color);
	color: #fff;
}

/* video */
.video {
	max-width: 600px;
	margin: 0 auto;
	width: 100%;
}

/* table */
table {
	width: 100%;
	border: none;
}
.phone-block {
	display: inline;
}
.pc-block {
	display: block;
}
/* swiper 全局配置 */
.swiper {
	width: calc(100% - 50px);
	margin: 0 auto;
}
.swiper-slide {
	text-align: center;
}
:root {
	--swiper-theme-color: #fff;
	--swiper-navigation-size: 1.5rem;
}
.swiper-button-next,
.swiper-button-prev {
	position: absolute;
	top: calc(50% - 15px);
	margin-top: calc(-1 * (var(--swiper-navigation-size) / 2));
	z-index: 10;
	cursor: pointer;
	color: var(--swiper-navigation-color, var(--swiper-theme-color));
	background-color: rgba(0, 0, 0, 0.2);
	width: calc(var(--swiper-navigation-size) * 1.7);
	height: calc(var(--swiper-navigation-size) * 1.7);
	border-radius: 50%;
}
.swiper-button-prev {
	left: calc(var(--swiper-navigation-size) * -1);
	right: auto;
}
.swiper-button-next {
	right: calc(var(--swiper-navigation-size) * -1);
	left: auto;
}

@media screen and (max-width: 768px) {
	:root {
		--width: 100%;
	}
	/* 移动端增加点边距 */
	.header > div {
		padding: 0 2rem;
		box-sizing: border-box;
	}
	.container {
		padding: 0 1rem;
	}
	.video {
		max-width: 100%;
	}
	.layout {
		width: 100%;
	}
	.pc-block {
		display: inline;
	}
	.phone-block {
		display: block;
	}
	body {
		padding-bottom: 6rem;
	}
	.swiper {
		width: 100%;
	}
	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}
}