* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

html {
	overflow-x: hidden;
}

h1 {
	color: #2c3e50;
	margin-bottom: 20px;
	text-align: center;
}

body {
	font-family: 'Microsoft YaHei', sans-serif;
	background-color: #f5f5f5;
	color: #333;
	line-height: 1.6;
	padding: 10px;
}


.Dao_Hang-button {

	display: block;
	color: #ecf0f1;
	/* 浅灰色文字 */
	text-decoration: none;
	padding: 15px 20px;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
}


.content {
	max-width: 800px;
	margin: 30px auto;
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.Dao_Hang-button::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background-color: #3498db;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.Dao_Hang-button:hover::after {
	transform: scaleX(1);
}

.Dao_Hang-button:hover {
	background-color: #34495e;
	/* 稍浅的蓝色背景 */
	color: #fff;
}


.Dao_Hang_div {
	background-color: #2c3e50;
	/* 深蓝色背景 */
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.Dao_Hang_ul {
	display: flex;
	list-style-type: none;
}

.Dao_Hang-Li {
	padding: 0;
}


/*二级隐藏栏*/
.Zi_Mulu {
	display: none;
}

.Zi_Mulu:Se {
	float: none;
	margin-left: 10px;
	display: block;
	background: #3498db;
}

.lll {
	width: 5%;
	/* 设置宽度 */
	max-height:100px;
	/* 设置高度 */
	display: block;
	margin-left: auto;
}

.ZhanSshi {
	width: 50%;
	/* 设置宽度 */
	height: auto;
	/* 设置高度 */

}

.YinCang {
	/* 隐藏元素 */
	display: none !important;

	/* 防止选中 */
	user-select: none !important;
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;

}

.S_img {
	width: 100%;
	max-width: 700px;
	aspect-ratio: 7 / 4;
	height: auto;
	overflow: hidden;
	margin: 0 auto;

}

.Simg_m {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.bar {
	width: 50px;
	height: 10px;
	border: 2px solid #fff;
	margin: 6px;
	cursor: pointer;
	transition: 0.4s;
}

.bar:hover {
	background-color: #fff;
}

.SN {
	position: absolute;

	left: 50%;
	transform: translateX(-50%);
	display: flex;
}

input[name="r"] {
	position: absolute;
	visibility: hidden;
	left: 50%;
}

.S_img_B {
	width: 500%;
	height: 100%;
	display: flex;


}

.S_img_B_1 {
	display: flex;
	width: 20%;
	transform: 0.6S;
	left: 50%;
}

.S_img_B_1 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#r1:checked~.s1 {
	margin-left: 0;
}

#r2:checked~.s1 {
	margin-left: -20%;
}

#r3:checked~.s1 {
	margin-left: -40%;
}

#r4:checked~.s1 {
	margin-left: -60%;
}

#r5:checked~.s1 {
	margin-left: -80%;
}


@keyframes autoSlide {

	0%,
	19.9% {
		margin-left: 0;
		/* 对应 #r1:checked ~ .s1 */
	}

	20%,
	39.9% {
		margin-left: -20%;
		/* 对应 #r2:checked ~ .s1 */
	}

	40%,
	59.9% {
		margin-left: -40%;
		/* 对应 #r3:checked ~ .s1 */
	}

	60%,
	79.9% {
		margin-left: -60%;
		/* 对应 #r4:checked ~ .s1 */
	}

	80%,
	100% {
		margin-left: -80%;
		/* 对应 #r5:checked ~ .s1 */
	}
}



.s1 {
	transition: margin-left 0.8s ease-in-out;
	/* 添加过渡动画 */
	display: flex;
	transition: margin-left 0.8s ease;
	animation: autoSlide 15s infinite;
	/* 总时长=张数×每张显示时间 */
}


/* 原代码保持不变，添加动画控制 */
.slides-container {
	position: relative;
	overflow: hidden;
}

.img_Yan_JiaoJuXing {
	border-radius: 15px;
	/* 圆角大小 */
}



.Lfezin {
	width: 10%;
	/* 设置宽度 */
	max-height: 100px;
	/* 设置高度 */
	left: 10px;
	border-radius: 15px;
	/* 圆角大小 */
}

.Xbs_img {
	border-radius: 15px;
	/* 圆角大小 */
	text-align: center;
}

.Xbs_img img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 15px;
	/* 圆角大小 */
}

.Xbs_img div {

	background-color: #ffffff;
	/* 十六进制 */
	width: 300px;
	/* 固定宽度 */
	min-height: 200px;
	/* 最小高度 */
	/* 高度会根据内容自动调整 */

}





.JUzhen {
	max-height: 300px;
	display: flex;
	/* 弹性布局 */
	flex-wrap: wrap;
	/* 允许换行 */
	gap: 5px;
	/* 图片间距 */
	max-width: 1200px;
	/* 容器最大宽度 */
	margin: 30px auto;
	/* 水平居中，并与上、下方图片拉开间距 */
	transform: translateX(-5%);
}

.JUzhen div {

	margin: 0 auto;
	/* 水平居中 */

}

.JUzhen img {
	max-width: 280px;
	width: 25%;
	/* 固定宽度 */
	height: 280px;
	/* 固定高度 */


}

.JUdiv {

	width: 25%;
	max-width: 180px;
	height: auto;
	position: relative;
	display: inline-block;
}

.JUdiv p {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgb(173, 216, 230);
	text-align: center;
	line-height: 1.8;
	font-size: 15px;
	/* 标题放大，叠在图片底部，高度约为图片 1/6 以内 */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	transition: all 0.3s;
	margin: 0;
	width: 100%;
	color: rgb(255, 255, 255);
}

.JUzhen:last-of-type .JUdiv p {
	line-height: 1.5;
	font-size: 13px;
	background-color: rgba(173, 216, 230, 0.75);
	/* 半透明，减少对图片的遮挡 */
}

.JUdiv img {
	width: 100%;
	max-width: 250px;
	height: auto;
	object-fit: contain;
	/* 完整显示，不裁切 */
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(232, 232, 232, 0.648),
			rgba(194, 194, 194, 0.487)),
		url('/imgs/g2202.jpg') no-repeat center center;
	background-size: cover;
	z-index: -1;
}

/* 水平滚动条修复：产品矩阵 translateX(-5%) 会导致右侧超出 viewport */

.div_h1 {



	justify-content: center;
	/* 主轴（水平）居中 */
	border-radius: 15px;
	/* 圆角大小 */
	max-width: 200%;
	/* 最大宽度不超过容器 */
	max-height: auto;
	/* 保持比例 */
}

.div_h1 img {
	border-radius: 15px;
	/* 圆角大小 */
	max-width: 100%;
	/* 最大宽度不超过容器 */
	max-height: 200%;
	/* 保持比例 */
}

.div_h1 div {
	width: 100;
	/* 固定宽度 */
	height: auto;
	/* 高度自适应 */
	background-color: rgb(255, 255, 255);
	border-radius: 10px;
	/* 圆角半径 */
	width: 100%;
	/* 相对父元素宽度 */
	margin: 0;
	padding: 0;
}