@media screen and (min-width: 375px) {
	html {
		/* iPhone6的375px尺寸作为16px基准，414px正好18px大小, 600 20px */
		/* font-size: calc(100% + 2 * (100vw - 375px) / 39); */
		font-size: calc(16px + 2 * (100vw - 375px) / 39);
	}
}

@media screen and (min-width: 414px) {
	html {
		/* 414px-1000px每100像素宽字体增加1px(18px-22px) */
		/* font-size: calc(112.5% + 4 * (100vw - 414px) / 586); */
		font-size: calc(18px + 4 * (100vw - 414px) / 586);
	}
}

@media screen and (min-width: 600px) {
	html {
		/* 600px-1000px每100像素宽字体增加1px(20px-24px) */
		/* font-size: calc(125% + 4 * (100vw - 600px) / 400); */
		font-size: calc(20px + 4 * (100vw - 600px) / 400);
	}
}

@media screen and (min-width: 1000px) {
	html {
		/* 1000px往后是每100像素0.5px增加 */
		/* font-size: calc(137.5% + 6 * (100vw - 1000px) / 1000); */
		font-size: calc(22px + 6 * (100vw - 1000px) / 1000);
	}
}

/*================================= 导航栏 ====================================*/
header {
	width: 100%;
	background-color: var(--secondary-1);
}

/*================================= 导航栏右上菜单图标 ====================================*/
.navbar-toggler:focus {
	border: none;
	outline: none;
}

.navbar-dark .navbar-toggler {
	color: transparent !important;
	border-color: transparent !important;
	border: none !important;
}

.header-menu-icon {
	height: 20px;
	margin-right: 0;
	padding: 0;
	position: relative;
	width: 20px;
}

.header-menu-icon > span {
	background: transparent;
	display: block;
	height: 2px;
	margin-top: 4px;
	position: relative;
	width: 100%;
}

.header-menu-icon > span:before {
	left: 0;
}

.header-menu-icon > span:after {
	right: 0;
}

.header-menu-icon > span:last-of-type {
	margin-top: 8px;
}

.header-menu-icon > span:before,
.header-menu-icon > span:after {
	background-color: #fff;
	content: '';
	display: block;
	height: 2px;
	position: absolute;
	top: 0;
	transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
	width: 10px;
}

.header-menu-icon:after {
	background-color: transparent;
	border-radius: 50%;
	bottom: 0;
	content: '';
	height: 2px;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
	transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);
	width: 2px;
}

.header-menu-icon.active span:first-of-type:before,
.header-menu-icon.s-header__item:hover span:first-of-type:before {
	transform: translate(1px, 1px) rotate(45deg);
}

.header-menu-icon.active span:first-of-type:after,
.header-menu-icon.s-header__item:hover span:first-of-type:after {
	transform: translate(-1px, 1px) rotate(-45deg);
}

.header-menu-icon.active span:last-of-type:before,
.header-menu-icon.s-header__item:hover span:last-of-type:before {
	transform: translate(1px, -1px) rotate(-45deg);
}

.header-menu-icon.active span:last-of-type:after,
.header-menu-icon.s-header__item:hover span:last-of-type:after {
	transform: translate(-1px, -1px) rotate(45deg);
}

.header-menu-icon.active:after {
	background-color: #fff;
	transform: translateY(-4px);
}

.header-menu-icon:after {
	background-color: transparent;
	transform: translateY(-4px);
}

.navbar-toggler {
	padding-right: 0;
}

/*================================= 页面主图 ====================================*/
.page-main-img {
	width: 100%;
}

.page-main-container {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: 100%;
}

.page-main-container-btn-gp {
	position: absolute;
	display: flex;
	justify-content: center;
	bottom: 3.75rem;
	width: calc(80% - 24px);
	left: 50%;
	transform: translateX(-50%);
}

.page-main-container-btn-gp a {
	font-display: block;
	width: 100%;
	height: 100%;
}

.top-container {
	height: 100%;
}

.header-subtitle {
	bottom: 6rem;
	left: 50%;
	transform: translateX(-50%);
}

.header-title {
	bottom: 10.625rem;
}

/*================================= 字体 ====================================*/
.paragraph {
	font-size: 0.9rem;
	font-weight: 500;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

h4,
.h4 {
	font-size: 1.25rem;
}

/*================================= 首页Help you ====================================*/
.main-help-you {
	color: white;
	font-size: 1.125rem;
	line-height: 25px;
	width: 100%;
	margin-top: 2.1875rem;
	padding: 0 80px;
	font-weight: 400;
	margin-bottom: 20px;
}

/*================================= 产品页 ====================================*/
main.products .item-title {
	color: var(--custom-primary);
	font-weight: 500;
	font-size: 0.75rem;
}

.container-part1-item-1:nth-child(1) .item-title {
	height: 2.625rem;
}

main.products .container-part1-item {
	height: 15rem;
}

main.products .item-content {
	font-size: 0.75rem;
	padding-left: 0;
}

main.products .item-content > li {
	list-style: none;
	position: relative;
	padding-left: 12px;
}

main.products .item-content > li::before {
	content: '·';
	font-weight: 00;
	font-size: 1.75rem;
	height: 0.75rem;
	line-height: 0.75rem;
	display: inline-block;
	position: absolute;
	top: 0.1rem;
	left: 0;
}

/*================================= service ====================================*/

main.service .service-container-part1 {
	margin-top: 0.875rem;
}

main.service .service-item {
	width: 100%;
	height: 6.25rem;
	background-color: #fef0cc;
	border-radius: 5px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: column;
}

main.service .service-item .item-title {
	color: var(--custom-primary);
	font-weight: 700;
}

main.service .service-item .item-content {
	font-size: 0.75rem;
}
