 /*背景*/
.header {
    position: relative;
}
@media (max-width: 784px) {
	.header {
	    margin-top: 20%;
	}
		
}
.lunbo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* 或者根据实际需要调整高度 */
	z-index: 1; /* 使轮播图在导航栏的下方 */
}
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100; /* 确保导航栏在轮播图之上 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

/* 滚动后背景颜色变为白色 */
.navbar.scrolled {
    background-color: #fff; /* 背景色为白色 */
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}

.slideshow-container {
    /* 设置轮播图容器的样式 */
}

/* 默认样式 */
.top_ul_link {
    text-decoration: none;
    color: black; /* 默认文字颜色 */
}
.pic-list4{
	padding-bottom: 6.25rem;
}



/*企业微信*/
.WX-commander{
	text-align: center; /* 将 .first 下的所有文本居中对齐 */
	line-height: 2;
}
.WX-word{
	padding-top: 3.5rem;


}
.WX-word p {
    display: block; /* 将段落元素设置为块级元素 */
    margin: 0 auto; /* 自动水平居中 */
	color: #666;
}
.WX-img{
	display: flex;
	flex-direction: column; /* 竖向布局 */
	align-items: center; /* 子元素在横向上居中对齐 */
	text-align: center; /* 文字居中对齐 */
	margin-top: 1.875rem;
}
.WX-img img{
	width: 65px;
	height: 65px;
	display: block;
	margin-bottom: 10px; /* 图片和文字之间的间距 */
}
.WX-img a {
    display: flex;
    flex-direction: column; /* 竖向布局 */
    align-items: center; /* 子元素在横向上居中对齐 */
    text-align: center; /* 文字居中对齐 */  
	text-decoration: none;
	color: #666666;
}
/* 鼠标移入时文字颜色变为红色 */
.WX-img a:hover  p  {
    color: #b51b21 ;
}
.WX-img a img {
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
    transform-origin: top; /* 设置变换的原点在顶部 */
}
.WX-img a img:hover {
    transform: scale(2.2); /* 放大 10% */
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}
.red-yaoxian{
	width: 100%;
	height:35px ;
	margin-top: 50px;
	background-color: #b51b21;
}
@media (max-width: 768px) {
    .WX-commander {
		transform: scale(0.9);
    }
   .WX-word {
       flex-direction: row; /* 横向布局 */
       justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 5%;
   }
  
   .WX-img img {
       width: 50px; /* 根据需求调整缩放后的宽度 */
       height: auto; /* 保持图片的纵横比 */
   }
}





/*二维码放置处*/
.QRcode {
    padding-top: 4.125rem;
    padding-bottom: 4.125rem;
    display: flex;
    justify-content: center; /* 整体居中 */
}
.QRcode a{
	text-decoration: none;
	color: #666666;
}
.QR-whole {
    display: flex;
    flex-direction: row; /* 横向布局 */
    align-items: center; /* 子元素在纵向上居中对齐 */
}

.QR-whole a {
    display: flex;
    flex-direction: column; /* 竖向布局 */
    align-items: center; /* 子元素在横向上居中对齐 */
    text-align: center; /* 文字居中对齐 */
    margin: 0 70px; /* 左右间距为 70px，每对相邻的子元素间距为 140px */
	
}

.QR-whole img {
    width: 60px;
    height: 62px;
    display: block;
    margin-bottom: 12px; /* 图片和文字之间的间距 */
}
/* 鼠标移入时文字颜色变为红色 */
.QR-whole > div:hover p {
    color: #b51b21 ;
}
.QR-whole a img:hover {
    transform: scale(2.5); /* 放大 10% */
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}
@media (max-width: 1050px) {
	
    .QR-whole {
        flex-direction: row; /* 横向布局 */
        justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 10%;
    }

    .QR-whole a {
        flex: 1 1 calc(50% - 20px); 
        margin: 10px; 
    }

    .QR-whole img {
        width: 60px; /* 根据需求调整缩放后的宽度 */
        height: auto; /* 保持图片的纵横比 */
    }
}
@media (max-width: 784px) {
    .QR-whole {
        flex-direction: row; /* 横向布局 */
        justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 5%;
    }

    .QR-whole a {
        flex: 1 1 calc(50% - 20px); 
        margin: 10px; 
    }

    .QR-whole img {
        width: 50px; /* 根据需求调整缩放后的宽度 */
        height: auto; /* 保持图片的纵横比 */
    }
}

/*图片列表切换*/
.pic-list4{
	background-color: #eee;
}

 .slider4 {
	 margin-top: 31%;
	 padding-top: 100px;
	position: relative;
	width: 97.5%;
	overflow: hidden;
	margin-left: 2.5%;
}

.slider-container4 {
	position: relative;
	width: 97.5%;
	overflow: hidden;
}

.slider-wrapper4 {
	display: flex;
	transition: transform 0.5s ease;
	align-items: flex-end; /* 确保所有 slide2 底部对齐 */
	margin-left: 0; /* 使第一张图片靠左 */
}

.slider-wrapper4 .slide5 {
	display: flex; /* 添加 flex 布局 */
	align-items: flex-end; /* 确保内容底部对齐 */
	position: relative;
	margin: 0 15px; /* 每张图片左右间隔为15px */
}

.slider-wrapper4 .slide5:first-child {
	margin-left: 0; /* 第一张图片左边距为0 */
}

.slider-wrapper4 img {
	width: 580px;
	height: auto;
	transition: transform 0.5s ease;
	cursor: pointer;
	display: block; /* 确保图片没有额外的底部间隙 */
}

.slider-wrapper4 .mask4 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	transition: opacity 0.5s ease;
	z-index: 1; /* 确保遮罩在图片上层 */
}

.slider-wrapper4 img {
  transition: transform 0.3s ease; /* 过渡效果 */
}

.slider-wrapper4 img.selected {
	width: 580px;
	animation-name: scaleDraw1; /* 关键帧名称 */
	animation-timing-function: linear; /* 动画的速度曲线 */
	animation-iteration-count: 1; /* 动画播放的次数 */
	animation-duration: 1s; /* 动画所花费的时间 */
}

@keyframes scaleDraw1 {
  0% {
    transform: scale(0.98); /* 开始为原始大小 */
  }
  100% {
    transform: scale(1); /* 结束为放大后的大小 */
  }
}

.slider-wrapper4 img.inactive + .mask4 {
	opacity: 1;
}

.slider-wrapper4 img.selected + .mask4 {
	opacity: 0;
}
.sld-word4 {
    display: flex; /* 使用 flexbox 布局 */
    flex-direction: column; /* 垂直方向排列子元素 */
    justify-content: center; /* 垂直居中对齐 */
    align-items: center; /* 水平居中对齐 */
    color: white; /* 文字颜色为白色 */
    text-align: center; /* 文本水平对齐方式 */
    position: absolute;
    bottom: 0%; /* 置于底部 */
    left: 0;
    width: 100%; /* 背景宽度占满图片 */
    height: 15%; /* 高度为图片的 15% */
    background: rgba(0, 0, 0, 0); /* 黑色半透明背景 */
    box-sizing: border-box; /* 包含边框和内边距 */
    font-size: 13pt;
    z-index: 4; /* 确保文字在遮罩上层 */
}
.sld-word4 p:first-of-type {
    font-size: 18pt; /* 或者其他较大的字体大小 */
	margin-top: 10px;
}
.sld-word4 p {
	
    padding: 0px 0; /* 添加一些内边距以分隔行 */
}

.selected .sld-word4 {
    display: block; /* 被选中时显示 */
}
button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 10;
}

.prev-4 {
	left: 20%;
}

.next-4 {
	right: 20%;
}

.prev-4 img, .next-4 img {
	width: 30px; /* 根据需要调整图片宽度 */
	height: auto;
}


@media (max-width: 1450px) {
	.slider-wrapper4 img {
		width: 400px;
		
	}
	
	.slider-wrapper4 img.selected {
		width: 400px;
		
	}
	.slider4 {
		 margin-top: 28%;
		 padding-top: 100px;
		position: relative;
		width: 97.5%;
		overflow: hidden;
		margin-left: 2.5%;
	}
	

}
/*文字*/
.first{
	text-align: center; /* 将 .first 下的所有文本居中对齐 */
	line-height: 2;
}
.word-whole{
	padding-top: 6.25rem;
	padding-bottom: 3.125rem;

}
.word-whole p {
    display: block; /* 将段落元素设置为块级元素 */
    margin: 0 auto; /* 自动水平居中 */
	color: #666;
}


@media (max-width: 768px) {
    .word-whole {
		transform: scale(0.9);
    }
   .slider4 {
   	 margin-top: 0;
   	 
   }
}