* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html,
body {
  overflow-x: hidden;
}

body {
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
  background-color: #f5faff;
}

body {
  overflow-y: hidden !important;
    overflow-x: hidden !important;
  font-size: 16px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

li {
  list-style: none;
}

button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
}


.pc_top_cent {
  width: 1480px;
}

.pc_top_logo {
  width: 621px;
  height: 72px;
  float: left;
}


.pc_dh {
  float: left;
  font-family: Microsoft YaHei;
  overflow: visible;
}

.menu {
  list-style: none;
  width: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.menu>li {
  position: relative;
  float: left;
  width: 8%;
  text-align: center;
}

.menu>li>a {
  display: block;
  padding: 10px 8px;
  color: #fff;
  text-decoration: none;
  transition: opacity .3s;
  font-size: 18px;
  white-space: nowrap;
  font-weight: bold;
}

.menu>li>a:hover {
  color: #fff;
  opacity: 0.8;
}

.menu>li:hover>a {
  color: #fff;
  opacity: 0.8;
}

.submenu {
  position: absolute;
  top: 106%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: auto;
  min-width: 180px;
  background: rgb(254, 254, 255);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 999;
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu li {
  display: block;
}

.submenu li a {
  display: block;
  text-align: center;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
}

.submenu li a:hover {
  background: #17489C;
  color: #fff;
}

.pc_banner {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  z-index: 1;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  width: 60px;
  height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-control.prev {
  left: 350px;
}

.carousel-control.next {
  right: 350px;
}

.carousel-control img {
  width: 40px;
  height: 40px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: #FFFFFF;
  opacity: 0.5;
  margin: 0 4px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 30px;
  height: 30px;
  background: url('../imges/yc1.png') no-repeat center center;
  background-size: 100% 100%;
  border-radius: 0;
  opacity: 1;
}

.pc_xb {
  width: 1200px;
  height: 40px;
  position: absolute;
  display: flex;
  justify-content: flex-end;
  bottom: 351px;
  left: 50%;
  transform: translateX(-50%);
}

.pc_number {
  display: flex;
  position: absolute;
  right: 138px;
}

.pc_number div {
  color: rgb(255, 255, 255);
  font-size: 20px;
  height: 34px;
  width: 47px;
  text-align: center;
  border-bottom: 1px solid;
}

.pc_number div:hover {
  border-bottom: 5px solid;
}



@media (max-width: 768px) {
  .pc-body {
    display: block;
  }

.ph_foot{
  display: block;
  background-color: #C00000;
  height: 150px;
}
.ph_foot p {
  color: #fff;
   padding-top: 36px;
        font-size: 14px;
   text-align: center;
   margin-top: 30px;
}


  .head_ph {
    display: block;
    width: 100%;

    padding: 10px 15px;
  }

  .containers {
    display: flex;
   /* justify-content: space-between;
    align-items: center;*/
  }

  .ph_logo {
    width: 70%;
  }

  .img_s {
    width: 100%;
    height: auto;
  }

  .menuph {
    width: 8%;
    text-align: right;
  }

  .menubtn img {
    width: 30px;
    height: auto;
  }
}