:root {
  --base-font-size: 16px;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: var(--base-font-size);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin: 0;
  padding: 0;
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  text-decoration: none;
  color: #464646;
}

.lg-container {
  width: 1500px;
  margin: 0 auto;
}

:root {
  --color: #9e090b;
}

.head {
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  z-index: 99;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head_logo {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.head_content {
  display: flex;
  width: 75%;
}

.nav {
  width: 100%;
  height: 110px;
}

.nav>ul {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav>ul li {
  height: 100%;
  position: relative;
}

.nav>ul li:after {
  display: block;
  width: 0;
  height: 3px;
  background: var(--color);
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.2s;
}

.nav>ul li a {
  display: block;
  line-height: 110px;
  transition: all .2s;
}

.nav>ul li ul {
  display: none;
  width: 200px;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -100px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0 0 0/10%);
}

.nav>ul li ul li {
  height: 40px;
  text-align: center;
}

.nav>ul li ul li a {
  display: block;
  line-height: 40px;
}

.nav>ul>li:hover>a {
  color: var(--color)
}

.nav>ul>li:hover:after {
  width: 100%;
}

.nav>ul li:hover ul {
  display: block;
}

.nav>ul li ul li:hover {
  background: #f2f2f2;
}

.nav>ul li ul li:hover a {
  color: var(--color);
}

/*手机菜单*/
.wap-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--color);
  box-sizing: border-box;
  padding: 30px;
  display: none;
}

.wap-nav.act {
  display: block;
}

.wap-nav-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #9e090b;
  background: #fff;
  cursor: pointer;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wap-nav>ul {
  margin-top: 30px;
  background: rgba(255 255 255/10%);
  padding: 10px;
}

.wap-nav>ul>li {
  border-bottom: 1px solid rgba(255 255 255/20%);
}

.wap-nav>ul>li .nt {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wap-nav>ul li a {
  color: #fff;
  padding: 0 10px
}

.wap-nav>ul li span {
  color: #fff;
  padding: 0 10px;
}

.wap-nav>ul li ul {
  display: none;
  background: rgba(255 255 255/10%);
}

.wap-nav>ul li ul li {
  line-height: 40px;
  text-indent: 2em;
}

.wap-search {
  background: rgba(255 255 255/10%);
  padding: 10px;
  position: relative;
}

.wap-search .txtsearch {
  width: 100%;
  height: 40px;
  outline: none;
  border: 0;
  border-radius: 5px;
  padding: 0 10px;
}

.wap-search .btnsearch {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.wap_phone {
  padding: 10px;
  background: rgba(255 255 255/10%);
  color: #fff;
  font-weight: bold;
}

.wap_phone span {
  margin-right: 10px;
}

body.hidden {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.tools {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.head_search {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wap-bar {
  display: none;
  /* 初始状态隐藏 */
}

.phone_nav {
  display: none;
}

.phone_nav {
  position: relative;
  width: 100%;
  height: 100vh;
}

.nav_content {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  background-color: #eb433d;
}

.nav_content a {
  color: #fff !important;
}


.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  /* 使用自动高度 */
  padding: 20px 0;
  /* 添加一些内边距 */
}

.footer_content {
  display: flex;
  width: 70%;
  border-bottom: 1px solid #f5e7e7;
  padding-bottom: 20px;
  /* 添加一些下边距 */
}

.footer_content>.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 居中对齐 */
  padding-left: 0;
  width: 30%;
}

.footer_content_text {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  /* 自动换行 */
}

.footer_content_text_style {
  padding-top: 10px;
  padding-bottom: 10px;
  color: #9e090b;
  font-size: 0.875rem;
  /* 相对字体大小 */
  /* text-align: center;  */
}

.footer_content_line {
  border: 1px solid #f5e7e7;
  height: 40%;
  margin: 0 10px;
  /* 添加左右边距 */
}

.footer_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #9f9f9f;
  font-size: 0.75rem;
  /* 相对字体大小 */
  margin-top: 20px;
  /* 添加上边距 */
}

/* @media (max-width: 768px) {
  :root {
      --base-font-size: 14px;
  }
}

@media (max-width: 480px) {
  :root {
      --base-font-size: 12px;
  }
} */

html {
  font-size: 16px;
}

@media (max-width: 1480px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 988px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 20px;
  }
}

/* 分页样式 */
.Pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.Pager a {
  color: #333;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #ccc;
  margin: 0 5px;
  transition: background-color 0.3s, color 0.3s;
}

.Pager a:hover {
  background-color: #f0f0f0;
}

/* 当前页样式 */
.Pager .act {
  background-color: #b4464c;
  color: white;
  border-color: #b4464c;
}

/* 禁用的上一页/下一页按钮 */
.Pager .lock {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

/* 上一页和下一页按钮 */
.Pager .prev,
.Pager .next {
  font-size: 16px;
  padding: 5px;
}

/* 字体图标 */
.Pager .fa {
  padding: 5px 10px;
}

@media (max-width: 986px) {
  .header{
    padding: 2rem 0;
  }

  .wap-bar {
    display: block;
    margin-right: 3rem;
  }

  .wap-bar>.fa-bars {
    font-size: 50px;
  }

  .wap-nav-close>.fa-close {
    font-size: 40px;
  }

  .nt>.fa-plus {
    font-size: 30px;
  }

  .nt>.fa-minus {
    font-size: 30px;
  }

  .lg-container {
    width: 100%;
  }

  .head_logo {
    /* width: 50%; */
    padding: 10px 0;
  }

  .nav {
    display: none;
  }

  .wap-nav-close {
    margin-right: 20px;
    margin-top: 9px;
    width: 50px;
    height: 50px;
}

  .tools {
    display: none;
  }

  .wap-nav>ul {
    margin-top: 60px;
  }

  .wap-nav>ul li a {
    font-size: 40px;
  }

  .wap-nav>ul>li .nt {
    height: 80px;
  }

  .wap-nav>ul li ul {
    padding: 20px;
  }

  .wap-nav>ul li ul li {
    line-height: 50px;
  }

  .wap-search .txtsearch {
    height: 60px;
  }

  .wap-search .btnsearch {
    top: 21px;
  }

  .wap_phone {
    font-size: 30px;
    padding: 20px;
  }
}

@media (max-width: 1280px) {
  .footer_content{
    flex-direction: column;
    width: 90%;
  }
  
  .footer_content>.logo {
    width: 100%;
}

.footer_content>.logo>img{
  width: 30%;
  margin-bottom: 1rem;
}

  .footer_content_text{
    flex-direction: column;
    width: 100%;
  }

  /* .footer_content_text_style {
    padding-top: 15px;
    font-size: 25px;
  } */
  .footer_content_text_style div{
    font-size: 25px;
  }
  .footer_bottom{
    font-size: 30px;
    padding: 3rem 0;
  }

  .content_tel{
    text-align: center;
  }

}
