/*
 * 对齐绿威站点的展示方式：
 * 大图标题升起、导航随滚动变实并收起、图片悬停放大。
 * 不改栏目结构和盒模型。
 */

html {
	/* 顶部横幅经常是浅色天空，全透明时白字会消失，先垫一层半透明深色 */
	--jp-nav: .72;
}

.header-main,
.header-main01 {
	background-color: rgba(0, 0, 0, var(--jp-nav));
	transition: top .45s ease, background-color .45s ease;
}

body.jp-nav-solid {
	--jp-nav: .86;
}

/* PC 导航始终固定在顶部，不再下滚收起 */
body.jp-nav-hide .header-main,
body.jp-nav-hide .header-main01 {
	top: 0;
}

/* 首页大标题：进入时自下而上 */
.mack h1,
.mack h2,
.banner_n .box .h1,
.banner_n2 .h1,
.banner_n2 .box .h1,
.nbox .h2 {
	animation: jp-rise 1s cubic-bezier(.22, .61, .36, 1) both, jp-float 5.2s ease-in-out 1s infinite alternate;
}

.mack h2,
.banner_n2 .box .h1 {
	animation-delay: .12s;
}

.jp-mouse {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 2px;
	text-decoration: none;
	transform: translateX(-50%);
	animation: jp-mouse 1s ease-in-out infinite alternate;
}

.jp-mouse i {
	position: relative;
	display: block;
	width: 22px;
	height: 34px;
	border: 2px solid #fff;
	border-radius: 12px;
}

.jp-mouse i::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 7px;
	width: 3px;
	height: 7px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: #fff;
}

.incase .img,
.service_list1 ul > li .img,
.pbox .img,
#case_banner dl dt,
.about_box .about_box_img,
.jp-prod-stage,
.jp-prod-strip {
	overflow: hidden;
}

.incase .img img,
.service_list1 ul > li .img img,
.pbox .img img,
#case_banner dl dt img,
.about_box .about_box_img img,
.jp-prod-stage img,
.jp-prod-strip img {
	transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}

.incase .img:hover img,
.service_list1 ul > li .img:hover img,
.pbox .img:hover img,
#case_banner dl:hover dt img,
.about_box .about_box_img:hover img,
.jp-prod-stage:hover img,
.jp-prod-strip:hover img {
	transform: scale(1.06);
}

.jp-progress {
	display: none;
}

@keyframes jp-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 40px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes jp-mouse {
	from { transform: translateX(-50%) translateY(0); }
	to { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 1199px) {
	body.jp-nav-hide .header-main,
	body.jp-nav-hide .header-main01 {
		top: 0;
	}

	.jp-mouse {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mack h1,
	.mack h2,
	.banner_n .box .h1,
	.banner_n2 .h1,
	.banner_n2 .box .h1,
	.nbox .h2,
	.jp-mouse {
		animation: none;
	}

	.jp-mouse {
		display: none;
	}
}
