﻿@charset "utf-8";
*{
  margin: 0;
  padding: 0;
}
ul li{
  list-style-type: none;
}

.home_banner{
  margin: 20px auto 0;
  background: #FFF;
  padding: 0 20px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 15px;
  height: 150px;
  box-sizing:border-box;
}
.home_banner *{
  box-sizing:border-box;
}
.home_banner ul{
  width:100%;
  height: 150px;
  display: flex;
  justify-content: space-between;
}
.home_banner ul li{
  width:140px;
  height: 150px;
  cursor: pointer;
  position: relative;
}
/* 新增：li下方透明感应层，防止鼠标脱离hover */
.home_banner ul li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: 9;
}

.home_banner ul li .img_con{
  width:140px;
  height: 150px;
  position: relative;
  padding:25px 0;
  z-index: 10;
}
.home_banner ul li .img_con a{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  display: block;
}

.home_banner ul li .img_con .img_box{
  width:100%;
  height: 70px;
  text-align: center;
  vertical-align: middle;
  position: relative;
}
.home_banner ul li .img_con .img_box img{
  transition: .3s;
  vertical-align: bottom;
  position: absolute;
  bottom:0;
  /* 核心：水平居中 */
  left: 50%;
  transform: translateX(-50%);
  /* 缩放基点：底部中心，放大时上下左右不偏移 */
  transform-origin: center bottom;
}
/* hover 放大只改scale，不再重置translateX */
.home_banner ul li:hover .img_con .img_box img{
  transform: translateX(-50%) scale(1.1);
}


.home_banner ul li .img_con .img_text{
  width:100%;
  text-align: center;
  font-size: 16px;
  color:#666;
  line-height: 28px;
  margin-top: 5px;
}
.home_banner ul li .img_con .img_arrow{
  width:17px;
  height: 16px;
  position: absolute;
  bottom: 8px;
  left:50%;
  margin-left: -9px;
  display: none;
}
.home_banner ul li:nth-of-type(1) .img_con .img_arrow{
  background:url(../images/home_banner_01_arrow.png) no-repeat;
}
.home_banner ul li:nth-of-type(2) .img_con .img_arrow{
  background:url(../images/home_banner_02_arrow.png) no-repeat;
}
.home_banner ul li:hover .img_con .img_arrow{
  display: block;
}

/* 下拉面板动画优化 */
.home_banner ul li .img_list{
  width:340px;
  min-height: 326px;
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 15px;
  position: absolute;
  top: 160px;
  left: -20px;
  z-index: 99;
  /* 分离过渡，滑动快、淡出慢 */
  transition: transform 0.3s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
  padding: 20px 20px 8px 20px;
  pointer-events: none; /* 关键：鼠标完全忽略这个元素，穿透到下方 */
  
}
.home_banner ul li:hover .img_list{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* 展开后恢复鼠标交互 */
}
.home_banner ul li .img_list .img_list_title{
  font-size: 18px;
  color:#000;
  line-height: 30px;
}
.home_banner ul li .img_list .img_list_con{
  width:100%;
  padding-top:12px;
}
.home_banner ul li .img_list .img_list_con .item{
  width:100%;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
  margin-bottom: 12px;
}

.home_banner ul li .img_list .img_list_con .item.two{
  border-radius: 40px;
}
.home_banner ul li .img_list .img_list_con .item a{
  text-decoration: none;
  color:#000;
  line-height: 24px;
  padding: 8px 15px;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.home_banner ul li:nth-of-type(1) .img_list .img_list_con .item{
  background:#e0f2fc;
}
.home_banner ul li:nth-of-type(1) .img_list .img_list_con .item a:hover{
  color:#037bdd;
  font-weight: bold;
}
.home_banner ul li:nth-of-type(2) .img_list .img_list_con .item{
  background:#daf5f2;
}
.home_banner ul li:nth-of-type(2) .img_list .img_list_con .item a:hover{
  color:#02a7ad;
  font-weight: bold;
}