:root {
  --color: #a1050d;
  --sub-color: #a1050d;
  --body-bg: #ffffff;
  --footer-bg: #787878;
  --text-color: #333;
  --ccc: #ccc;
  --eee: #eee;
  --white: #fff;
}
body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--body-bg);
  font-family: "微软雅黑", arial, helvetica, sans-serif;
  overflow-x: hidden;
}

body,
html {
  height: 100%;
  position: relative;
}

a {
  color: var(--text-color);
}
button,
span,
input,
div,
div:focus,
button:focus,
span:focus,
input:focus {
  outline: 0 !important;
}
a:hover,
a:focus {
  color: var(--color);
  text-decoration: none;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
  font-weight: 400;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h4,
h5 {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
}

ol,
ul,
li {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.ttu {
  text-transform: uppercase;
}
.my-6 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* logo */
.logo {
  margin-right: 20px;
}
.logo a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo .logo_txt {
  margin-left: 20px;
}
.logo_txt h2 {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 4px;
  margin-top: 25px;
}
.logo_txt p {
  font-size: 16px;
  text-transform: uppercase;
}

/* top */
.logo_text b {
  font-size: 32px;
}
.logo_text span {
  font-size: 18px;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 2px;
}
.w-80 {
  position: relative;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.menu > li {
  position: relative;
  flex: auto;
}
.menu > li > a {
  color: var(--text-color);
  font-size: 16px;
  padding: 10px 15px;
  display: inline-block;
  text-transform: uppercase;
}
.tell span {
  color: var(--color);
}
.tell p {
  font-size: 24px;
  line-height: 1;
}
.menu_drop {
  position: absolute;
  left: 0;
  min-width: 100%;
  white-space: nowrap;
  background-color: var(--body-bg);
  display: none;
  padding: 4px 0;
  border-radius: 4px;
  z-index: 99;
  border: 1px solid var(--ccc);
}

.menu_drop li a {
  color: var(--text-color);
  display: block;
  text-align: center;
  line-height: 2;
  transition: all 0.5s;
}

.menu_drop li:hover a {
  background-color: var(--color);
  color: var(--body-bg);
}

.swiper-pagination span {
  width: 12px;
  height: 12px;
}
.index-banner {
  position: relative;
  overflow: hidden;
}
.index-banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--color);
}
.swiper-button-white::after {
  font-size: 22px;
  color: #fff;
}

/* banner */
.index-banner .swiper-button-next.swiper-button-white,
.index-banner .swiper-button-prev.swiper-button-white {
  background-color: rgba(0, 0, 0, 0.2);
}
.index-banner .swiper-button-prev,
.index-banner .swiper-button-next {
  background-size: 60%;
}

/* 右边 */
.side_kefu {
  display: none;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.side_kefu li {
  position: relative;
  margin-bottom: 5px;
}

.side_kefu li i {
  font-size: 20px;
}

.side_kefu li.toTop {
  cursor: pointer;
}

.side_kefu li.toTop i {
  font-size: 24px;
}

.side_kefu li .side_kefu_con {
  position: absolute;
  background-color: var(--body-bg);
  border: 1px solid var(--ccc);
  border-radius: 5px;
  right: 0;
  top: 0;
  padding: 5px 10px;
  transition: all 0.5s;
  transform: translateX(100%);
  z-index: -1;
}

.side_kefu li:hover .side_kefu_con {
  transform: translateX(-50px);
}

.side_kefu_con:after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--ccc);
  border-color: transparent var(--ccc) var(--ccc) transparent;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  right: -6px;
  top: 10px;
  background-color: var(--body-bg);
}

.side_kefu li span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--color);
  color: var(--body-bg);
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}
@media (max-width: 1200px) {
  .my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.my-6 {
  margin-top: 4vw;
  margin-bottom: 4vw;
}

/* abouts */
.abouts_bg {
  background-color: #e5e5e5;
  display: flex;
  justify-content: space-between;
}
.abouts_bg .left {
  width: 55%;
  padding-left: 10vw;
  padding-top: 8vw;
  padding-right: 2vw;
}
.abouts_bg .right {
  width: 45%;
}
.abouts_text {
  margin-top: 2vw;
  text-indent: 2em;
}
.abouts_text p {
  margin-bottom: 1vw;
}
.abouts_text a.more {
  display: inline-block;
  margin-top: 2vw;
  padding: 5px 10px;
  text-align: center;
  background-color: var(--color);
  color: #fff;
  text-transform: uppercase;
  text-indent: 0;
}

.text-title h2 {
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 8px;
}
.text-title p {
  font-size: 30px;
  text-transform: uppercase;
}

/* product */
.home_pro {
  background-color: #bfbfbf;
}
.home_pro ul {
  display: flex;
  justify-content: space-between;
}
.home_pro ul li:nth-child(2) {
  margin: 0 6vw;
}
.home_pro ul li a {
  display: flex;
  position: relative;
}
.home_pro ul li a:before {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: all 0.5s;
  opacity: 0.7;
  z-index: 8;
  content: "";
}
.home_pro ul li {
  padding-top: 4vw;
  transition: all 0.5s;
  min-width: 30%;
  min-height: 200px;
}
.home_pro ul li:hover {
  padding-top: 0;
}
.home_pro ul li:hover a:before {
  background-color: var(--color);
}
.home_pro ul li a .pro_text {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #fff;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 9;
}

/* join */
.join_box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.join_box .left {
  background: url(../images/join_l.jpg) no-repeat center;
  flex: 0 0 50%;
  padding: 10vw 3vw 10vw 8vw;
}
.join_box .left ul {
  display: flex;
  justify-content: space-between;
}
.join_box .left ul li {
  width: 200px;
  height: 200px;
  position: relative;
  z-index: 9;
}
.join_box .left ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100%;
  height: 100%;
}
.join_box .left ul li:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background-color: #000;
  opacity: 0.6;
  transition: all 0.5s;
}

.join_box .left ul li:hover:before {
  background-color: var(--color);
}
.join_box .right {
  flex: 0 0 50%;
  background: url(../images/join_r.jpg) no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.join_box .right h2 {
  font-size: 36px;
  color: #fff;
  border: 4px solid #fff;
  padding: 2vw 4vw;
  text-align: center;
}

/* service */
.service_home {
  background: url(../images/service.jpg) no-repeat center;
  padding: 10vw 0;
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.service_img {
  position: relative;
  z-index: 9;
  padding: 2vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.service_img:before {
  position: absolute;
  display: block;
  content: "";
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.8vw;
  height: 0.8vw;
  background-color: var(--color);
}
.service_home .service_img:after {
  background: #000;
  opacity: 0.6;
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.service_img a {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 3vw;
  color: #fff;
  font-size: 18px;
  background: #262626;
  padding: 5px 25px;
}
.service_img img {
  max-width: 100%;
}

/* footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 2vw;
  margin-top: 4vw;
}
.foot_menu {
  display: flex;
  justify-content: space-between;
}
.foot_menu li.ewm_f {
  flex: 0 0 140px;
  width: 140px;
}
.foot_menu span {
  display: flex;
  flex-direction: column;
}
.foot_menu li a {
  color: #fff;
}
.foot_menu li h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #fff;
}
.foot_bottom {
  border-top: 3px solid #fff;
  padding: 1vw 0;
  margin-top: 3vw;
}
.foot_bottom a {
  color: #fff;
}

@media (max-width: 1366px) {
  .text-title h2 {
    font-size: 30px;
  }
  .text-title p {
    font-size: 18px;
  }
  .pro_text h2 {
    font-size: 18px;
  }
  .join_box .left ul li {
    width: 130px;
    height: 130px;
  }
  .join_box .right h2 {
    font-size: 28px;
  }
}

@media (max-width: 1200px) {
  .logo {
    max-width: 200px;
  }
  .logo img {
    max-width: 100%;
  }
  .abouts_img img {
    max-width: 50%;
  }
  .abouts_bg .left img {
    max-width: 200px;
  }
  .abouts_bg .left {
    padding-top: 2vw;
    padding-bottom: 2vw;
  }
  .hidden-header {
    display: none !important;
  }
  .abouts_bg {
    flex-wrap: wrap;
  }
  .abouts_bg .left,
  .abouts_bg .right {
    flex: 0 0 100%;
    width: 100%;
  }
  .join_box .left {
    width: 50%;
  }
  .join_box .right h2 {
    font-size: 20px;
    margin: 20px;
  }
}

@media (max-width: 768px) {
  .join_box .left,
  .join_box .right {
    width: 100%;
    flex: 0 0 100%;
  }
  .home_pro ul {
    flex-direction: column;
  }
  .home_pro ul li {
    margin: 15px !important;
  }
}
