/* 2025-11-03 */
.swiper-main {
  width: 100%;
  height: 100vh;
}

.swiper-main .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1); /* 使用ease-in，即先慢后快 */
}

.swiper-down,
.swiper-down:before {
  position: absolute;
  bottom: 8.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 50%;
  background: #e36d18;
  cursor: pointer;
  text-align: center;
}

.swiper-down:before {
  content: '';
  top: calc(100% + 1rem);
  width: 2.2rem;
  height: 2.2rem;
}

.swiper-down img {
  width: 2.4rem;
  animation: swiper-down 2s infinite;
}

@keyframes swiper-down {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 1.4rem);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.cover-img {
  position: absolute;
  top: 8.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 100%;
  height: 100%;
}

.bg-img,
.mask-img {
  padding-top: 8rem;
  background: url('../images/common/about_us.jpg') center no-repeat;
  background-size: cover;
}

.mask-img:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.swiper-main .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: #fff;
}

.title-en-zh {
  text-align: center;
}

.title-en-zh h2 {
  font-size: 3.5rem;
  font-weight: bold;
  opacity: 0.35;
  text-transform: uppercase;
}

.title-en-zh h1 {
  font-family: 'yan';
  position: relative;
  display: inline-block;
  font-size: 3rem;
}

.title-en-zh h1:before {
  content: '';
  position: absolute;
  top: -0.2rem;
  left: 0.3rem;
  width: 2.9rem;
  height: 2.8rem;
  background: url('../images/icon/title_yellow.png') center no-repeat;
}

.index-2 h1:before,
.index-4 h1:before {
  left: 7rem;
  background-image: url('../images/icon/title_red.png');
}

.index-3 h1:before {
  left: 3.3rem;
}

.index-4 h1:before {
  left: 10rem;
}

.index-4 .title-en-zh {
  text-align: left;
}

.company-profile {
  margin-top: 5rem;
  text-align: right;
  width: 920px;
  align-self: flex-end;
  line-height: 2.4;
}

.company-profile-nav {
  margin-top: 2.4rem;
  display: flex;
  justify-content: flex-end;
}

.company-profile-nav a {
  margin-left: 3rem;
  padding-top: 7rem;
  width: 10.9rem;
  height: 10.9rem;
  color: #ac1402;
  text-align: center;
  background: #fff center no-repeat;
  background-size: cover;
  border-radius: 1rem;
  overflow: hidden;
}

.company-profile-nav a:nth-child(1) {
  margin-left: 0;
  background-image: url('../images/icon/index1-ico1.png');
}

.company-profile-nav a:nth-child(1):hover {
  background-image: url('../images/icon/index1-ico1h.png');
  color: #fff;
}

.company-profile-nav a:nth-child(2) {
  background-image: url('../images/icon/index1-ico2.png');
}

.company-profile-nav a:nth-child(2):hover {
  background-image: url('../images/icon/index1-ico2h.png');
  color: #fff;
}

.company-profile-nav a:nth-child(3) {
  background-image: url('../images/icon/index1-ico3.png');
}

.company-profile-nav a:nth-child(3):hover {
  background-image: url('../images/icon/index1-ico3h.png');
  color: #fff;
}

.company-profile-nav a:nth-child(4) {
  background-image: url('../images/icon/index1-ico4.png');
}

.company-profile-nav a:nth-child(4):hover {
  background-image: url('../images/icon/index1-ico4h.png');
  color: #fff;
}

/* 业务布局 */
.business-list {
  margin-top: 7rem;
  justify-content: space-between;
}

.business-list a {
  position: relative;
  width: 10.4%;
  padding-top: 35.8%;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.5s;
}

.business-list a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 1, 0, 0.8);
}

.title-vertical {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  writing-mode: vertical-rl;
  letter-spacing: 0.3rem;
  font-size: 2rem;
  background-position: center 45%;
  background-repeat: no-repeat;
  background-size: 38.46%;
}

.business-content {
  position: absolute;
  left: 0;
  bottom: 3rem;
  width: 100%;
  padding: 0 4rem;
  display: none;
}

.business-content h3 {
  font-size: 2rem;
}

.business-content p {
  width: 84%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.business-content .more {
  position: absolute;
  right: 4rem;
  bottom: 0;
  font-size: 1.6rem;
}

.img-border {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #bf0e0e;
  z-index: 10;
}

.img-border span {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: 2.1rem;
  height: 2.1rem;
  background: url('../images/icon/border.svg') center no-repeat;
  background-size: cover;
}

.img-border span:nth-child(2) {
  top: 0.6rem;
  left: auto;
  right: 0.6rem;
  transform: rotate(90deg);
}

.img-border span:nth-child(3) {
  top: auto;
  bottom: 0.6rem;
  transform: rotate(-90deg);
}

.img-border span:nth-child(4) {
  top: auto;
  left: auto;
  right: 0.6rem;
  bottom: 0.6rem;
  transform: rotate(180deg);
}

.business-list a.active {
  width: 60%;
}

.business-list a.active:before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8));
}

.business-list a.active .title-vertical {
  display: none;
}

.business-list a.active .business-content,
.business-list a.active .img-border {
  display: block;
}

.w100p {
  max-width: 100%;
}

.brand-list {
  margin-top: 3rem;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.brand-list li {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s;
  width: 5.2rem;
  margin: 0 2.3rem;
  padding-top: 6rem;
}

.brand-list li.active {
  color: #faa604;
}

.swiper-brand {
  margin-top: 10rem;
  width: 100%;
}

.swiper-brand .swiper-button-prev,
.swiper-brand .swiper-button-next {
  background: url('../images/icon/prev.svg') center no-repeat;
}

.swiper-brand .swiper-button-next {
  transform: rotate(180deg);
}

.swiper-brand .swiper-button-prev:after,
.swiper-brand .swiper-button-next:after {
  content: '';
}

.brand-content-box {
  justify-content: center;
  margin: 0 auto;
  max-width: 1500px;
  line-height: 2;
  color: #fff;
}

.brand-content-box h4 {
  font-size: 2.4rem;
}

.brand-content-box .brand-info {
  position: relative;
  display: block;
  margin-top: 2.4rem;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.brand-content-box .brand-info:after {
  content: '... 查看更多';
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0 0 0 0.4rem;
  background: #a60807;
}

.brand-contact {
  margin-top: 3rem;
  justify-content: flex-end;
  line-height: 1.2;
}

.brand-contact b {
  font-size: 4rem;
}

.brand-contact .relative {
  margin-left: 3rem;
}

.brand-contact .relative:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -1.5rem;
  width: 1px;
  height: 80%;
  background: #fff;
}

.brand-contact img {
  width: 8rem;
  margin-right: 4rem;
  transform: none !important;
}

.brand-contact .relative span {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  color: #bf0e0e;
  font-size: 1.4rem;
  padding: 0 0.4rem;
  display: flex;
  justify-content: center;
  writing-mode: vertical-rl;
  background: #faa504;
  border-radius: 0.5rem;
}

.brand-contact .relative span:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 100%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.5rem 0.87rem 0.5rem 0;
  border-color: transparent #faa504 transparent transparent;
}

.brand-img {
  position: relative;
  flex: none;
  width: 50%;
  padding-top: 30%;
  margin-left: 6%;
  overflow: hidden;
}

.brand-img img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.swiper-footer {
  width: 100%;
  height: 100%;
  background: #f9f9f9;
}

.swiper-footer .swiper-slide {
  height: auto;
}

.swiper-main .news-index {
  flex-direction: row;
  align-items: center;
  height: 100vh;
  padding-top: 8rem;
}

.news-index-list {
  display: flex;
  justify-content: space-between;
  margin-left: 5%;
}

.news-index-list a {
  position: relative;
  top: 0;
  display: block;
  width: calc((100% - 7.2rem) / 3);
  transition: all 0.5s;
}

.news-index-list a:hover {
  position: relative;
  top: -5rem;
}

.news-index-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 62.28%;
  overflow: hidden;
}

.news-index-img img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 100%;
  height: 100%;
}

.news-index-list a:hover .news-index-img img {
  transform: translateX(-50%);
}

.news-index-info {
  margin-top: 4rem;
  width: 85%;
  font-size: 1.8rem;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-index-info + .news-index-info {
  margin-top: 2rem;
}

p.news-index-info {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.footer-one {
  background: #bf0e0e;
  padding: 4rem 0;
  font-size: 1.4rem;
  line-height: 2.2;
}

.footer-address {
  flex: none;
  margin-right: 2rem;
}

.footer-ewm {
  text-align: center;
  line-height: 3;
}

.footer-ewm div + div {
  margin-left: 2rem;
}

.footer-ewm img {
  width: 10.8rem;
}

@media (min-width: 2880px) and (max-width: 3840px) {
  .brand-content-box {
    max-width: 2000px;
  }
}

@media (max-width: 1600px) {
  .swiper-down {
    transform: translateX(-50%) scale(0.86);
  }

  .company-profile {
    margin-top: 3rem;
  }

  .business-list {
    margin-top: 4rem;
  }

  .brand-list {
    margin-top: 2rem;
  }

  .swiper-brand {
    margin-top: 4rem;
  }

  .brand-content-box {
    padding: 0 7rem;
  }

  .brand-content-box .brand-info {
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 1200px) {
  .ani {
    visibility: visible !important;
  }

  .swiper-main .swiper-slide:first-child {
    padding: 0;
  }

  .swiper-main .swiper-slide {
    padding: 5rem 0 7rem;
    height: auto;
  }

  .cover-img {
    position: relative;
    margin-bottom: 8.4rem;
    top: 8.4rem;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
  }

  .swiper-down,
  .button-red,
  .footer-links {
    display: none;
  }

  .index-1 {
    background-position: right center;
  }

  .company-profile {
    text-align: center;
    align-self: center;
    width: 100%;
    line-height: 2;
  }

  .company-profile-nav {
    justify-content: center;
  }

  .brand-contact b {
    font-size: 3rem;
  }

  .index-4 {
    padding: 0 !important;
  }

  .swiper-main .news-index {
    padding: 5rem 1.5rem 7rem;
    height: auto;
    flex-direction: column;
  }

  .index-4 .title-en-zh,
  .index-4 .title-en-zh + .color-gray {
    text-align: center;
  }

  .news-index-list {
    margin: 4rem 0 0;
  }
}

/* 移动设备 屏幕宽度小于768px */
@media (max-width: 768px) {
  .swiper-main .swiper-slide {
    padding: 3rem 0;
    height: auto;
  }

  .company-profile {
    margin-top: 2rem;
  }

  .business-list,
  .news-index-list {
    margin-top: 3rem;
  }

  .title-vertical {
    background: none !important;
  }

  .brand-content-box {
    flex-direction: column;
  }

  .brand-content-box h4 {
    text-align: center;
  }

  .brand-contact {
    justify-content: center;
  }

  .brand-img {
    width: 100%;
    padding-top: 60%;
    margin: 3rem 0 1rem;
  }

  .news-index-list a:last-child {
    display: none;
  }

  .news-index-list a {
    width: calc((100% - 1.5rem) / 2);
  }

  .footer-address {
    display: none;
  }

  .footer-one {
    padding: 2rem 0 1rem;
  }
}

/* 移动设备 屏幕宽度小于480px */
@media (max-width: 480px) {
  .company-profile-nav {
    justify-content: space-between;
  }

  .company-profile-nav a {
    margin: 0;
    width: calc((100% - 4.5rem) / 4);
    height: 0;
    font-size: 1.4rem;
    padding-bottom: 7%;
  }

  .business-content h3,
  .business-content p {
    display: none;
  }

  .business-content .more {
    right: 50%;
    transform: translateX(50%);
    bottom: -1.5rem;
  }

  .swiper-main .news-index {
    padding: 3rem 1.5rem 4rem;
  }

  .brand-list li {
    margin: 0 1rem;
    width: calc(64% / 6);
  }

  .swiper-brand {
    margin-top: 3rem;
  }

  .brand-content-box {
    padding: 0 4rem;
  }

  .brand-content-box .brand-info {
    margin-top: 1.5rem;
  }

  .swiper-brand .swiper-button-prev {
    left: 0;
    transform: scale(0.8);
  }

  .swiper-brand .swiper-button-next {
    right: 0;
    transform: scale(0.8) rotate(180deg);
  }

  .brand-contact b {
    font-size: 2.4rem;
  }

  .news-index-list a {
    display: none;
  }

  .news-index-list a:first-child {
    display: block;
    width: 100%;
  }
}
