@charset "UTF-8";
/* @charset "utf-8"; */
/* CSS Document */
/*公共样式*/
:root {
  /* 主色调 */
  --c-primary: #7b0b0f;
  --c-primary-hover: #A21F23;
  --c-button-hover: #A21F23;
  /* 顶部栏高度 */
  --header-height: 68px;
}

@media screen and (max-width: 767px) {
  :root {
    --header-height: 50px;
  }
}

.c-primary {
  color: var(--c-primary);
}

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
ol,
dl,
dt,
dd,
a,
img,
textarea,
input,
span,
button {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  outline: none;
  box-sizing: border-box;
}

img {
  display: block;
  border: none;
  width: 100%;
  height: auto;
}

html,
body {
  width: 100%;
}

/* 正文默认字体 */
@font-face {
  font-family: SOURCEHANSERIFCN-REGULAR;
  src: url(../fonts/SOURCEHANSERIFCN-REGULAR.OTF);
}

/* 中间标题字体 */
@font-face {
  font-family: WENCANGSHUFANG-2;
  src: url(../fonts/WENCANGSHUFANG-2.TTF);
}

/* 小标题字体 */
@font-face {
  font-family: nansongshuju;
  src: url(../fonts/南宋书局体.TTF);
}

body {
  color: #4c2f30;
  font-size: 16px;
  font-family: "SOURCEHANSERIFCN-REGULAR", "PingFangSC-Regular", "PingFangSC-Light", 'Microsoft YaHei', "微软雅黑", "SourceHanSansCN-Normal", "STHeiti", "Helvetica", "Arail" !important;
  overflow-x: hidden;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

h2,
h1,
h3,
h4,
h5,
strong,
b,
i,
em {
  font-weight: normal;
  font-style: normal;
}

input,
textarea {
  font-family: 'font-family';
  border: none;
  outline: none;
  resize: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

a:link,
a:visited {
  color: #333333;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.flexbox {
  display: flex;
}

.flexbox-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.align-items-center {
  display: flex;
  align-items: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.vhidden {
  visibility: hidden;
}

.user-select-none {
  user-select: none;
}

.max-width {
  max-width: 1200px;
  margin: 0 auto;
}

.page {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  position: relative;
}

.wrap {
  position: relative;
  width: 100%;
}

@media screen and (max-width: 1200px) {
  .max-width {
    padding: 0 5px;
  }
}

.min-width {
  min-width: 1200px;
  margin: 0 auto;
}

.w1200 {
  width: 1200px;
  margin: 0 auto;
}

.hide {
  display: none;
}

.pointer {
  cursor: pointer;
}

.bold {
  font-weight: bold;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #c2c2c2;
  background-clip: padding-box;
  min-height: 28px;
}

::-webkit-scrollbar-track-piece {
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0);
}

[class^="ihc-icon"],
[class*="ihc-icon"] {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.line-clamp1 {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.line-clamp2 {
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp3 {
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiper {
  padding-bottom: 20px;
}

.swiper-horizontal > .swiper-pagination-bullets {
  bottom: 0px;
}

.swiper-pagination-bullet-active {
  background-color: #f86e04;
}

/* input type=numer 去箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

@media screen and (min-width: 768px) {
  .hover-img {
    overflow: hidden;
  }
  .hover-img .img {
    transition: all .8s;
  }
  .hover-img:hover .img {
    transform: scale(1.03);
  }
  .pointer {
    cursor: pointer;
  }
}

.header {
  background: var(--c-primary);
  position: sticky;
  top: 0;
  z-index: 1001;
  /* transition: all 0.3s ease-out; */
}

.header .inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header .inner .logo {
  flex-shrink: 0;
  max-width: 120px;
  width: 20%;
}

.header .inner .nav {
  flex: 1;
  justify-content: flex-end;
  display: flex;
  align-items: center;
  height: 100%;
  --nav-w: 130px;
}

.header .inner .nav .item {
  position: relative;
  width: var(--nav-w);
  height: 100%;
}

.header .inner .nav .item + .item {
  margin-left: 7%;
}

.header .inner .nav .item .title {
  color: white;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.header .inner .nav .item .title .English {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.header .inner .nav .item .title .arrow {
  position: relative;
}

.header .inner .nav .item .title .arrow::after {
    content: '';
    position: absolute;
    left: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    border-top: 9px solid white;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.header .inner .nav .item .title .arrow.on::after {
    transform: translateY(-50%) rotate(-180deg);
}
  
.header .inner .nav .item .slider-wrap {
  position: absolute;
  left: 0;
  bottom: 7px;
  height: 2px;
  width: 0%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
  transition: all 0.3s;
  display: flex;
}

.header .inner .nav .item .slider-wrap .slider-inner {
  width: 0%;
  height: 100%;
  background-color: white;
  border-radius: 1px;
  transition: all 0.3s;
}

.header .inner .nav .item.on .slider-wrap {
  width: var(--nav-w);
}

.header .inner .nav .item.on .slider-wrap .slider-inner {
  width: 20%;
}

.header .inner .nav .item .dropdown {
  position: absolute;
  left: 0;
  top: calc(100% - 5px);
  width: var(--nav-w);
  padding: 25px 0;
  background-color: white;
  text-align: center;
  border-radius: 2px;
  z-index: 10;
  display: none;
  box-shadow: 0 1px 5px 0px #cccccc;
}

.header .inner .nav .item .dropdown .cell {
  display: block;
}

.header .inner .nav .item .dropdown .cell + .cell {
  margin-top: 20px;
}

.header .inner .nav .item .dropdown .cell:hover {
  color: var(--c-primary-hover);
}

.header .navbar-toggle {
  position: fixed;
  right: 0;
  top: 0;
  color: #fff;
  width: 50px;
  height: 50px;
  z-index: 10;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.1);
  display: none;
}

.header .navbar-toggle .icon {
  width: 24px;
}

.header .navbar-toggle .menu {
  display: block;
}

.header .navbar-toggle .close {
  display: none;
}

@media screen and (min-width: 768px) {
    .header .inner .nav .item:hover .dropdown {
        display: block !important;
    }

    .header .inner .nav .item:hover .title .arrow::after{
        transform: translateY(-50%) rotate(-180deg);
    }
}

@media screen and (max-width: 767px) {
  .header .inner .nav {
    position: fixed;
    left: -200px;
    top: var(--header-height);
    bottom: 0;
    width: 200px;
    background-color: white;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    transition: all 0.3s;
  }
  .header .inner .nav .item {
    margin-right: 0;
    width: auto;
    height: auto;
    padding: 10px 0;
    margin-left: 0 !important;
  }
  .header .inner .nav .item .title {
    color: var(--c-primary);
  }
  .header .inner .nav .item .title .English {
    color: rgba(123, 11, 15, 0.5);
  }
  .header .inner .nav .item .title .arrow::after {
    border-top: 9px solid var(--c-primary);
  }
  .header .inner .nav .item .slider-wrap {
    background-color: rgba(123, 11, 15, 0.5);
  }
  .header .inner .nav .item .slider-wrap .slider-inner {
    display: none;
  }
  .header .inner .nav .item.on .slider-wrap {
    width: 100%;
  }
  .header .inner .nav .item .dropdown {
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.05);
  }
  .header .navbar-toggle {
    display: flex;
  }
  .header .mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }
  .header.open .inner .nav {
    left: 0px;
  }
  .header.open .inner .mask {
    visibility: visible;
    opacity: 1;
  }
  .header.open .inner .navbar-toggle .menu {
    display: none;
  }
  .header.open .inner .navbar-toggle .close {
    display: block;
  }
}

.common-banner {
  position: relative;
  height: 650px;
  overflow: hidden;
  transition: all .5s linear;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
}

@media screen and (max-width: 1200px) {
  .common-banner {
    height: auto;
  }
}

.footer {
  background-color: #230405;
  box-sizing: border-box;
}

.footer .box .nav {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.footer .box .nav .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
  transition: all 0.3s;
}

.footer .box .nav .item .avatar {
  width: 120px;
  margin-bottom: 10px;
}

.footer .box .nav .item:hover {
  color: white;
}

.footer .box .nav .item:nth-child(3) {
  font-size: 14px;
}

.footer .box .line {
  width: 100%;
  height: 1px;
  background-color: rgba(247, 248, 252, 0.16);
}

.footer .box .copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 20px 0;
}

@media screen and (max-width: 767px) {
  .footer .box .nav {
    position: relative;
    padding-bottom: 180px;
  }
  .footer .box .nav .item:nth-child(3) {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
  }
}

/* 右侧栏 */
.side-box {
  position: fixed;
  right: 80px;
  top: 40%;
  width: 200px;
  background: url("../images/side_bg.png") no-repeat center/100% 100%;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--c-primary);
  padding-bottom: 15px;
}

.side-box .avatar {
  position: relative;
  width: 82%;
  margin: 0 auto;
  transform: translateY(-50%);
  padding: 6%;
  z-index: 0;
}

.side-box .avatar::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate3d(-50%, 0%, 0);
    border-radius: 1000px 1000px 0 0;
    background-color: var(--c-primary);
    width: 100%;
    height: 50%;
    z-index: -3;
    box-shadow: 0 0 0 2px var(--c-primary);
  }
  
  .side-box .avatar::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    border-radius: 100%;
    background-color: white;
    width: 100%;
    height: 100%;
    z-index: -2;
  }

.side-box .avatar .circle-1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  box-shadow: 0 0 1px 2px var(--c-primary);
  z-index: -3;
}

.side-box .avatar .circle-2 {
  position: absolute;
  left: 5%;
  top: 5%;
  width: 90%;
  height: 90%;
  border-radius: 100%;
  box-shadow: 0 0 1px 2px var(--c-primary);
  z-index: -3;
}
.side-box .avatar .avatar-img{
    border-radius: 100%;
    overflow: hidden;
}

.side-box .avatar .avatar-txt {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px var(--c-primary) inset;
  border-radius: 2px;
  white-space: nowrap;
  background-color: white;
  padding: 0 5px;
}

.side-box .btn {
  width: 95%;
  max-width: 140px;
  height: 36px;
  background: #7B0B0F;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-top: -30%;
  margin-bottom: 10%;
}

.side-box .btn:hover {
  background-color: var(--c-primary-hover);
}

.side-box .code{
    width: 90%;
    max-width: 160px;
}

.side-box .txt {
  margin-top: 2%;
  color: var(--c-primary);
}

.side-box .phone {
  margin-top: 5%;
  width: 90%;
  max-width: 166px;
  height: 28px;
  box-shadow: 0 0 0 1px var(--c-primary) inset;
  border-radius: 2px;
  color: var(--c-primary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1700px) {
  .side-box {
    right: 10px;
  }
}
@media screen and (max-width: 1550px) {
    .side-box {
        width: 120px;
      }
}

@media screen and (max-width: 767px) {
  .side-box {
    right: 0px;
    top: 150px;
    width: 60px;
    height: auto;
    padding-bottom: 15px;
  }
  .side-box .avatar::before {
    width: calc(100% - 1px);
    top: 1px;
    box-shadow: 0 0 0 1px var(--c-primary);
  }
  .side-box .avatar-txt {
    display: none;
  }
  .side-box .btn {
    width: 90%;
    height: auto;
    border-radius: 5px;
    font-size: 12px;
  }
  .side-box .mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: all 0.3s;
  }
  .side-box.show__code .mask {
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.5);
  }

  .side-box .code {
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-80%);
    margin: 0 auto;
    width: fit-content;
    max-width: 200px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s;
  }

  .side-box.show__code .code {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%);
  }
  .side-box .pc-txt {
    display: none;
  }
  .side-box .phone {
    display: none;
  }
  .side-box .txt {
    background-color: var(--c-primary);
    color: white;
    border-radius: 4px;
    width: 90%;
    text-align: center;
    margin-top: 10px;
  }
}
