/* ponytail: red and white differentiate the Sanling site without replacing shared templates. */
body {
  --themeColor: #c8102e;
  --subColor: #a30d25;
  color: #252525;
  background: #fff;
}

::selection {
  color: #fff;
  background: var(--themeColor);
}

a:focus-visible,
button:focus-visible {
  outline-color: var(--themeColor);
}

.head-top {
  padding: 8px 0;
  color: #fff;
  background: var(--themeColor);
}

.head-top .head-top-main > p,
.head-top .head-top-main .head-top-right ul li a {
  color: #fff;
}

.head {
  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}

.company-wordmark {
  letter-spacing: 0.06em;
}

.head .head-main .head-left .head-xian {
  width: 3px;
  height: 42px;
  background: var(--themeColor);
}

.head .head-main .head-left .head-title-row h2 {
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.head-nav {
  background: #fff;
  border-bottom: 3px solid var(--themeColor);
}

.head-nav .head-nav-main > ul > li > a {
  position: relative;
  color: #222;
  font-weight: 600;
}

.head-nav .head-nav-main > ul > li > a:hover,
.head-nav .head-nav-main > ul > li > a.active {
  color: #fff;
  background: var(--themeColor);
}

.head-nav .head-nav-main > ul > li .erji2 {
  z-index: 20;
  left: 50%;
  width: 190px;
  transform: translateX(-50%);
}

.head-nav .head-nav-main > ul > li .erji2 ul {
  min-width: 190px;
  overflow: hidden;
  background: var(--themeColor);
  border-color: var(--themeColor);
  border-radius: 0;
}

.head-nav .head-nav-main > ul > li .erji2 ul li a,
.head-nav .head-nav-main > ul > li .erji2 ul li a:visited {
  padding: 12px 16px;
  color: #fff;
  line-height: 1.55;
}

.head-nav .head-nav-main > ul > li .erji2 ul li a:hover,
.head-nav .head-nav-main > ul > li .erji2 ul li a:focus-visible {
  color: #fff;
  background: var(--subColor);
}

.banner {
  position: relative;
  overflow: hidden;
  background: var(--themeColor);
}

.banner::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(32vw, 520px);
  height: 8px;
  background: var(--themeColor);
  content: '';
}

.banner img {
  width: 100%;
}

.sanling-hero {
  position: relative;
  height: clamp(520px, 43.75vw, 840px);
  min-height: 520px;
  isolation: isolate;
  color: #fff;
  background: #173554;
}

.sanling-hero::after {
  display: none;
}

.sanling-hero .sanling-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.sanling-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(5 23 43 / 65%) 0%, rgb(5 23 43 / 25%) 43%, transparent 70%),
    linear-gradient(0deg, rgb(3 16 31 / 36%) 0%, transparent 45%);
}

.sanling-hero-copy {
  position: absolute;
  top: 18%;
  left: max(calc((100% - 1200px) / 2), 6vw);
  width: min(640px, 44vw);
}

.sanling-hero-kicker {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.sanling-hero-kicker::after {
  width: 72px;
  height: 3px;
  background: var(--themeColor);
  content: '';
}

.sanling-hero-copy h2 {
  color: #fff;
  font-size: clamp(42px, 4.1vw, 76px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.06em;
  text-shadow: 0 3px 22px rgb(0 0 0 / 24%);
}


.sanling-hero-credit {
  position: absolute;
  bottom: 10px;
  left: max(calc((100% - 1200px) / 2), 18px);
  z-index: 2;
  color: rgb(255 255 255 / 70%);
  font-size: 10px;
}

.sanling-hero-credit:hover,
.sanling-hero-credit:focus-visible {
  color: #fff;
}

.index-pro {
  margin-top: 0;
  padding: 72px 0 60px;
  background: #f5f5f3;
}

.index-title {
  align-items: flex-start;
  width: 1200px;
  margin: 0 auto;
  border-left: 5px solid var(--themeColor);
  padding-left: 18px;
}

.index-title h2 {
  color: #202020;
  font-size: 32px;
  letter-spacing: 0.04em;
}

.index-pro .inde-pro-main .index-pro-nav ul {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.index-pro .inde-pro-main .index-pro-nav ul span {
  display: none;
}

.index-pro .inde-pro-main .index-pro-nav ul li a {
  padding: 9px 14px;
  color: #555;
  background: #fff;
  border: 1px solid #ddd;
  transition: color 160ms ease, border-color 160ms ease;
}

.index-pro .inde-pro-main .index-pro-nav ul li a:hover,
.index-pro .inde-pro-main .index-pro-nav ul li a:focus-visible {
  color: var(--themeColor);
  border-color: var(--themeColor);
}

.index-pro .inde-pro-main .index-prolist ul {
  gap: 18px;
}

.index-pro .inde-pro-main .index-prolist ul li {
  width: calc(25% - 14px);
  margin: 0 0 18px;
  background: #fff;
  border-bottom: 3px solid transparent;
  box-shadow: 0 8px 24px rgb(0 0 0 / 7%);
  transition: border-color 160ms ease, transform 160ms ease;
}

.index-pro .inde-pro-main .index-prolist ul li:nth-child(4n) {
  margin-right: 0;
}

.index-pro .inde-pro-main .index-prolist ul li:hover {
  border-bottom-color: var(--themeColor);
  transform: translateY(-4px);
}

.index-pro .inde-pro-main .index-prolist ul li p {
  min-height: 44px;
  margin: 0;
  padding: 16px 14px;
  box-sizing: border-box;
  text-align: left;
}

.youshi {
  padding: 72px 0 76px;
  color: #252525;
  background: #fff;
}

.youshi .youshi-h2 {
  margin-top: 0;
  font-size: 36px;
}

.youshi .youshi-p {
  color: #666;
}

.youshi .youshi-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.youshi .youshi-main .youshi-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 290px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-top: 4px solid var(--themeColor);
  box-shadow: 0 8px 24px rgb(200 16 46 / 10%);
}

.youshi .youshi-main .youshi-item .youshi-item-left,
.youshi .youshi-main .youshi-item .youshi-item-right {
  width: auto;
}

.youshi .youshi-main .youshi-item .youshi-item-left {
  padding: 26px 22px;
  border: 0;
}

.youshi .youshi-main .youshi-item .youshi-item-right {
  min-height: 100%;
}

.youshi .youshi-main .youshi-item .youshi-item-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
}

.youshi .youshi-main .youshi-item .youshi-item-left .youshi-item-left-title-row {
  align-items: flex-start;
}

.youshi .youshi-main .youshi-item .youshi-item-left .youshi-item-left-title-row .youshi-ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 0;
  font-size: 16px;
}

.youshi .youshi-main .youshi-item .youshi-title-row h3 {
  color: #252525;
  font-size: 19px;
  line-height: 1.5;
}

.youshi .youshi-main .youshi-item .youshi-item-left ul {
  margin-top: 18px;
  padding: 0 0 0 18px;
}

.youshi .youshi-main .youshi-item .youshi-item-left ul li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.8;
}

.index-case {
  padding: 56px 0;
  background: #fff;
}

.index-about {
  height: auto;
  margin: 0;
  padding: 84px 0;
  background: #f5f5f3;
}

.index-about .index-about-main {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
  min-height: 580px;
  height: auto;
  overflow: hidden;
  background: #fff;
  border-top: 5px solid var(--themeColor);
  box-shadow: 0 16px 40px rgb(0 0 0 / 10%);
}

.index-about .index-about-main .index-about-left,
.index-about .index-about-main .index-about-right {
  position: static;
  width: 100%;
  box-sizing: border-box;
  box-shadow: none;
}

.index-about .index-about-main .index-about-left {
  min-height: 580px;
  overflow: hidden;
}

.index-about .index-about-main .index-about-left img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-about .index-about-main .index-about-right {
  z-index: auto;
  padding: 48px 54px;
  color: #252525;
  background: #fff;
  border: 0;
}

.index-about .index-about-main .index-about-right .index-about-info {
  padding: 0;
}

.index-about .index-about-main .index-about-right .index-about-info .index-about-title {
  margin-bottom: 24px;
}

.index-about .index-about-main .index-about-right .index-about-info .index-about-title h2 {
  color: var(--themeColor);
  font-size: 30px;
  font-weight: 700;
}

.index-about .index-about-main .index-about-right .index-about-info .index-about-title p {
  width: 52px;
  height: 3px;
  margin-top: 12px;
  background: var(--themeColor);
}

.index-about .index-about-main .index-about-right .index-about-info > p {
  margin: 0 0 14px;
  color: #444;
  line-height: 1.85;
  text-align: justify;
}

.index-about .index-about-main .index-about-right .index-about-info a {
  margin-top: 8px;
  color: #fff;
  background: var(--themeColor);
  border: 1px solid var(--themeColor);
  border-radius: 0;
  font-weight: 700;
}

.index-about .index-about-main .index-about-right .index-about-info a:hover,
.index-about .index-about-main .index-about-right .index-about-info a:focus-visible {
  color: var(--themeColor);
  background: #fff;
}

.index-news {
  margin-top: 0;
  padding: 76px 0;
  background: #f5f5f3;
}

.index-news .index-news-main .index-news-left,
.index-news .index-news-main .index-news-right ul li {
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

.index-news .index-news-main .index-news-right ul li a {
  border: 0;
  border-left: 4px solid var(--themeColor);
}

.links {
  background: #fff;
}

.sanling-footer {
  padding-top: 0;
  color: #252525;
  background: #fff;
  border-top: 6px solid var(--themeColor);
}

.sanling-footer .footer-main {
  padding: 56px 0 0;
}

.sanling-footer .footer-contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  min-height: 260px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 16px 40px rgb(200 16 46 / 9%);
}

.sanling-footer .footer-contact-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
  color: #fff;
  background: var(--themeColor);
}

.sanling-footer .footer-eyebrow {
  margin-bottom: 18px;
  font: 700 13px/1 Arial, sans-serif;
  letter-spacing: 0.24em;
  opacity: 0.78;
}

.sanling-footer .footer-contact-heading h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.2;
}

.sanling-footer .footer-contact-heading > p:last-child {
  margin-top: 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.sanling-footer .footer-contact-details {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  padding: 38px 44px;
}

.sanling-footer .footer-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 36px;
}

.sanling-footer .footer-contact-card + .footer-contact-card {
  border-left: 1px solid #e5e5e5;
}

.sanling-footer .footer-contact-label {
  margin-bottom: 18px;
  color: var(--themeColor);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sanling-footer .footer-address-card p {
  display: flex;
  gap: 14px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

.sanling-footer .footer-address-card i,
.sanling-footer .footer-phone-list i {
  flex: 0 0 auto;
  color: var(--themeColor);
}

.sanling-footer .footer-address-card i {
  margin-top: 7px;
}

.sanling-footer .footer-phone-list {
  display: grid;
  gap: 10px;
}

.sanling-footer .footer-phone-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: #333;
  border: 1px solid #ddd;
  font: 700 18px/1 Arial, sans-serif;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.sanling-footer .footer-phone-list a:hover,
.sanling-footer .footer-phone-list a:focus-visible {
  color: #fff;
  background: var(--themeColor);
  border-color: var(--themeColor);
}

.sanling-footer .footer-phone-list a:hover i,
.sanling-footer .footer-phone-list a:focus-visible i {
  color: #fff;
}

.sanling-footer .footer-main .footer-nav-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 0;
  padding: 30px 0;
}

.sanling-footer .footer-brand {
  color: var(--themeColor);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.sanling-footer .footer-main .footer-nav-row .footer-nav {
  width: auto;
}

.sanling-footer .footer-main .footer-nav-row .footer-nav ul {
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.sanling-footer .footer-main .footer-nav-row .footer-nav ul li a {
  color: #555;
  font-size: 14px;
}

.sanling-footer .footer-main .footer-nav-row .footer-nav ul li a:hover,
.sanling-footer .footer-main .footer-nav-row .footer-nav ul li a:focus-visible {
  color: var(--themeColor);
}

.sanling-footer .footer-copying {
  margin-top: 0;
  padding: 20px 0;
  background: #f5f5f3;
  border-top: 1px solid #e5e5e5;
}

.sanling-footer .footer-copying .footer-copying-main {
  justify-content: space-between;
}

.sanling-footer .footer-copying .footer-copying-main p,
.sanling-footer .footer-copying .footer-copying-main a {
  color: #777;
  font-size: 13px;
}

.sanling-footer .footer-copying .footer-copying-main a:hover,
.sanling-footer .footer-copying .footer-copying-main a:focus-visible {
  color: var(--themeColor);
}

.ht-container .ht-left .ht-left-nav .ht-left-nav-title h2,
.ht-container .ht-left .ht-left-lianxi h2 {
  background: var(--themeColor);
  border-left: 5px solid var(--themeColor);
}

.ht-container .ht-left .ht-left-nav ul {
  border-color: #d9d9d9;
}

@media (max-width: 1199px) {
  .index-title {
    width: auto;
    margin-right: 24px;
    margin-left: 24px;
  }

  .youshi .youshi-main {
    grid-template-columns: 1fr;
  }

  .sanling-footer .footer-contact-heading,
  .sanling-footer .footer-contact-details {
    padding: 36px 30px;
  }

  .sanling-footer .footer-contact-card {
    padding: 12px 22px;
  }
}

@media (max-width: 767px) {
  .head {
    border-bottom: 3px solid var(--themeColor);
  }

  .head-nav {
    border-bottom: 0;
  }

  .company-wordmark {
    font-size: 19px;
    letter-spacing: 0;
  }

  .banner::after {
    height: 4px;
  }

  .sanling-hero {
    height: 620px;
    min-height: 0;
  }

  .sanling-hero .sanling-hero-image {
    object-position: 58% center;
  }

  .sanling-hero-shade {
    background:
      linear-gradient(180deg, rgb(5 23 43 / 68%) 0%, rgb(5 23 43 / 16%) 58%, transparent 75%),
      linear-gradient(0deg, rgb(3 16 31 / 30%) 0%, transparent 42%);
  }

  .sanling-hero-copy {
    top: 54px;
    left: var(--mobile-gutter);
    width: calc(100% - var(--mobile-gutter) * 2);
  }

  .sanling-hero-kicker {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .sanling-hero-copy h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.22;
  }

  .sanling-hero-credit {
    bottom: 8px;
    left: 10px;
    max-width: 160px;
    font-size: 8px;
  }

  .index-pro,
  .youshi,
  .index-about,
  .index-news {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .index-title {
    width: auto;
    margin-right: var(--mobile-gutter);
    margin-left: var(--mobile-gutter);
    padding: 4px 0 4px 12px;
    text-align: left;
  }

  .index-title h2 {
    font-size: 24px;
  }

  .index-pro .inde-pro-main .index-prolist ul {
    gap: 12px;
  }

  .index-pro .inde-pro-main .index-pro-nav ul {
    flex-wrap: nowrap;
  }

  .index-pro .inde-pro-main .index-prolist ul li {
    width: auto;
  }

  .youshi .youshi-h2 {
    padding: 0 var(--mobile-gutter);
    font-size: 27px;
    line-height: 1.45;
  }

  .youshi .youshi-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .youshi .youshi-main .youshi-item {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .youshi .youshi-main .youshi-item .youshi-item-left {
    order: 1;
    padding: 24px 20px;
  }

  .youshi .youshi-main .youshi-item .youshi-item-right {
    order: 2;
    height: 190px;
  }

  .index-about {
    height: auto;
    margin: 0;
  }

  .index-about .index-about-main {
    display: block;
    min-height: 0;
    margin-right: var(--mobile-gutter);
    margin-left: var(--mobile-gutter);
  }

  .index-about .index-about-main .index-about-left,
  .index-about .index-about-main .index-about-right {
    width: 100%;
  }

  .index-about .index-about-main .index-about-left {
    height: 220px;
    min-height: 0;
  }

  .index-about .index-about-main .index-about-right {
    padding: 30px 24px;
  }

  .index-about .index-about-main .index-about-right .index-about-info .index-about-title {
    margin-bottom: 20px;
  }

  .index-about .index-about-main .index-about-right .index-about-info > p {
    margin-bottom: 16px;
    line-height: 1.75;
    text-align: left;
  }

  .index-news .index-news-main {
    margin-top: 28px;
  }

  .sanling-footer .footer-main {
    padding-top: 28px;
  }

  .sanling-footer .footer-contact {
    display: block;
    min-height: 0;
  }

  .sanling-footer .footer-contact-heading {
    padding: 30px 24px;
  }

  .sanling-footer .footer-contact-heading h2 {
    font-size: 28px;
  }

  .sanling-footer .footer-eyebrow {
    margin-bottom: 12px;
  }

  .sanling-footer .footer-contact-details {
    display: block;
    padding: 10px 24px 24px;
  }

  .sanling-footer .footer-contact-card {
    padding: 22px 0;
  }

  .sanling-footer .footer-contact-card + .footer-contact-card {
    border-top: 1px solid #e5e5e5;
    border-left: 0;
  }

  .sanling-footer .footer-main .footer-nav-row {
    display: block;
    padding: 26px 0;
  }

  .sanling-footer .footer-brand {
    display: block;
    margin-bottom: 18px;
    white-space: normal;
  }

  .sanling-footer .footer-main .footer-nav-row .footer-nav ul {
    justify-content: flex-start;
    gap: 10px 20px;
  }

  .sanling-footer .footer-copying {
    padding: 0;
  }

  .sanling-footer .footer-copying .footer-copying-main {
    padding: 18px 0;
    text-align: left;
  }

  .sanling-footer .footer-copying .footer-copying-main p,
  .sanling-footer .footer-copying .footer-copying-main a {
    margin: 0;
    text-align: left;
  }
}
