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

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-text-fill-color: #2a2d33;
  transition: background-color 5000s ease-out 0.5s;
}
/* @font-face {
  font-family: ;
  src: url();
} */

html {
  scroll-behavior: smooth;
}

a {
  display: flex;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
button,
select {
  border: 0;
  resize: none;
  outline: 0;
  background: transparent;
}

button {
  cursor: pointer;
}

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

/* .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

@font-face {
  font-family: "Impact";
  src: url("../font/impact.ttf");
}

/*多行溢出*/
.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.line4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 4;
}

.line5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 5;
}

body .swiper-wrapper{
  height: auto;
}

/* hover-图片放大1.1 */
.scale-box {
  overflow: hidden;
}

.scale-box .scale-img {
  width: 100%;
  height: 100%;
  transition: all 0.3s linear;
  cursor: pointer;
  object-fit: cover;
}

.scale-box:hover .scale-img {
  transform: scale(1.1);
}

/* 常用盒子阴影 */
.shadow_box {
  box-shadow: 0 0.02rem 0.12rem 0 rgba(0, 0, 0, 0.1);
}

/* 水波纹效果 */
.btn-ripple {
  vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
  animation: ani_ripple 0.75s;
  z-index: 1;
  content: "";
  position: absolute;
  display: block;
  transition: all 0.6s;
  width: 100%;
  height: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  padding-top: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@keyframes ani_ripple {
  0% {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%) scale(0);
  }

  to {
    background: transparent;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}
.main {
  width: 16rem;
  margin: 0 auto;
}
/* 分液器 */
.font16 {
  font-size: 0.16rem;
}
.pagesfr a {
  float: left;
  width: 0.53rem;
  height: 0.53rem;
  display: block;
  /*  border-radius: 50%; */
  color: #999;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
  margin: 0px 0.13rem;
  font-size: 0.2rem;
  border-radius: 50%;
}

.pagesfr a img {
  width: 0.13rem;
}

.pagesfr span {
  float: left;
  margin: 0px 0.07rem;
  color: #9a9a9a;
  line-height: 0.45rem;
}

.pagesfr {
  display: flex;
  justify-content: center;
  padding-bottom: 1.13rem;
  z-index: 999;
  position: relative;
}

.pagesfr a.on {
  color: #fff;
  background: #d7001d;
}

.pagesfr a:not([class="a1"]):not([class="a2"]):hover {
  background: #d7001d;
  color: #fff;
}

/* 头部代码 */
.header-wrap {
  width: 100%;
  height: 1rem;
  left: 0;
  top: 0;
  position: fixed;
  z-index: 9999;
}
.header-wrap.white{
  background: #fff;
}

.header-wrap.white .header-item:not(.active)>a{
  color: #333;
}
.header-wrap.white .header-item:hover>a{
  color: #fff;
}

.header-wrap.white{
  box-shadow: 0rem 0.03rem 0.1rem 0.01rem rgba(0, 0, 0, 0.1);
}
.header-c {
  width: 18rem;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: space-between;
}

.logo {
  width: 2.83rem;
}
.logo > img {
  width: 100%;
  display: block;
}
.header-list {
  display: flex;
  height: 100%;
  gap: 0.42rem;
}

.header-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.06rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.18rem;
  transition: all 0.6s;
}

.header-item>a{
  color: #fff;
}

.header-item.active,
.header-item:hover {
  background-color: #d7001d;
}

.header-item:hover .level2 {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.1s; 
}
.level2 {
  position: absolute;
  width: 100%;
  height: 1.38rem;
  background-color: #fff;
  left: 0;
  top: 1rem;
  border-top: 1px solid #d2d2d2;
  padding-left: 8.7rem;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  transition: opacity 0.2s, visibility 0.2s;
  opacity: 0;
  visibility: hidden;
}

.level2-item {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}
.level2-line {
  width: 0.12rem;
  height: 0.03rem;
  background: #d7001d;
}

.level2-item > span {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.18rem;
  color: #000000;
}
.level2-item.active > span,
.level2-item:hover > span{
  color: #D7001D;
}

/* 底部代码 */
.footerWrap {
  width: 100%;
  background-image: url(../images/footerbg.png);
  background-size: cover;
  background-position: 0% 50%;
  background-repeat: no-repeat;
}

.footer-top {
  width: 100%;
  padding-top: 0.59rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 1.8rem;
  display: block;
}
.footer-text1 {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 0.3rem;
  color: #ffffff;
  margin-left: 0.37rem;
  padding-left: 0.39rem;
  border-left: 1px solid #ffffff;
}

.footer-middle {
  margin-top: 0.54rem;
  padding: 0.37rem 0 0.48rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
}

.footer-phone {
  display: flex;
  gap: 0.21rem;
  align-items: center;
}

.footer-phone > img {
  width: 0.53rem;
  height: 0.53rem;
  display: block;
}
.footer-phone > a {
  display: block;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 0.3rem;
  color: #ffffff;
}

.footer-address {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.18rem;
  color: #ffffff;
  margin-top: 0.2rem;
}

.footer-code {
  display: flex;
  gap: 0.17rem;
  align-items: flex-end;
  margin-top: 0.38rem;
}

.footer-code > img {
  width: 1.22rem;
  height: 1.22rem;
  object-fit: contain;
  display: block;
}

.footer-code > p {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #ffffff;
  line-height: 0.19rem;
}

.footer-list {
  display: flex;
  gap: 1.07rem;
  padding-right: 0.3rem;
}

.footer-text2 {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 0.18rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.footer-text3 {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #ffc5cd;
  line-height: 0.3rem;
}

.footer-text3:hover {
  color: #fff;
}

.footer-bottom {
  padding: 0.23rem 0;
}
.footer-bottom a {
  display: block;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.16rem;
  color: #ffffff;
  text-align: center;
}

/* 内页banner样式 */


.bannerWrap {
  width: 100%;
  height: 4rem;
  margin-top: 1rem;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.bannerWrap > p {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 50px;
  color: #ffffff;
  position: relative;
  z-index: 10;
}

.bannerWrap > video{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}

.video-box {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  position: fixed;
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display: none;
}

.video-main {
  width: 10.47rem;
  background-color: #fff;
  padding: 0.19rem 0.17rem 0.41rem;
  border-radius: 0.2rem 0.2rem 0.2rem 0.2rem;
  border: 0.01rem solid #707070;
}
.video-main video {
  width: 100%;
  height: 5.69rem;
  display: block;
  background-color: #000;
}
.video-title {
  width: 100%;
  text-align: center;
  margin-top: 0.35rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.24rem;
  color: #000000;
}
.video-close {
  width: 0.55rem;
  display: block;
  cursor: pointer;
  margin-top: 0.23rem;
}

.index-part5 {
  position: relative;
  width: 100%;
}

.index-part5 > img {
  width: 100%;
  display: block;
}

.index-part5 .content {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.index-part5 .left {
  margin-left: 1.6rem;
  margin-top: 1.29rem;
  position: relative;
  z-index: 20;
  width: 5rem;
}

.index-part5 .text1 {
  margin-top: 0.39rem;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.18rem;
  color: #000000;
}

.swiper-honor2 {
  position: absolute;
  left: 8.71rem;
  bottom: 6.53rem;
  overflow: hidden;
  width: 8.88rem;
  display: none;
}

.swiper-honor2 img {
  width: 2.31rem;
  object-fit: contain;
}
.swiper-honor3 img {
  width: 2.31rem;
  object-fit: contain;
  object-position: 50% 100%;
}
.swiper-honor3 {
  position: absolute;
  left: 1.6rem;
  bottom: 1.8rem;
  overflow: hidden;
  width: 9.05rem;
  display: none;
}

.index-part5 .nav {
  display: flex;
  width: 2.2rem;
  margin-top: 1.33rem;
  align-items: center;
 
}

.row-container:first-child{
    position: absolute;
    display: flex;
    left: 8.71rem;
    bottom: 6.53rem;
    overflow: hidden;
    width: 8.88rem;
     align-items: flex-end;
    gap: 0.97rem;
}

.row-container:last-child{
   position: absolute;
   display: flex;
  left: 1.6rem;
  bottom: 1.8rem;
  overflow: hidden;
  width: 9.05rem;
  align-items: flex-end;
    gap: 0.97rem;
}

.row-container>.image-container{
    width: 2.31rem;
    position: relative;
}

.row-container>.image-container::after{
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(../images/home/border.png);
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.row-container>.image-container.shu::after{
    background-image: url(../images/home/border.png);
}
.row-container>.image-container.heng::after{
    background-image: url(../images/home/heng.png);
}
.row-container>.image-container.heng{
    height: 1.5rem;
}

.row-container>.image-container>img{
    width: 100%;
    object-fit: contain;
}

.swiper-new {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
}

.swiper-new .swiper-wrapper,
.swiper-new .swiper-slide
{
    height: 100%;
}

.index-part5 .nav > div {
  width: 0.9rem;
  cursor: pointer;
}

.index-prev:hover img:first-child,
.index-next:hover img:first-child,
.index-prev img:last-child,
.index-next img:last-child {
  display: none;
}
.index-prev img:first-child,
.index-next img:first-child,
.index-prev:hover img:last-child,
.index-next:hover img:last-child {
  display: block;
}

.index-prev .rotate {
  transform: rotate(-180deg);
}

.index-next .rotate2 {
  transform: rotate(180deg);
}

.index-pag,
.index-pag span {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.3rem;
  color: #000000;
}
.index-pag .swiper-pagination-current {
  color: #d7001d;
}
