/* 清除默认样式 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
input, textarea{
    outline: none;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #D6D6D6;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: #D6D6D6;
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #D6D6D6;
}
input::placeholder,
textarea::placeholder {
  color: #D6D6D6;
}
input:focus, textarea:focus {
  border-color: #2874CC !important; /* 获取焦点时边框变绿 */
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2); /* 可选的阴影 */
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
a{
    text-decoration: none;
}
img{
    vertical-align: top;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}


html{
    width: 100%;
}
body{
    width: 100%;
    overflow-x: scroll;
    font-family: PingFang SC, 'Helvetica', sans-serif;;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
    color: #333333;
}

/* 版心宽度 */
.main-container{
    max-width: 1280px;
    min-width: 980px;
    padding: 0 12px;
    margin: 0 auto;
}
/* 共同头部导航 */
.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 9;
    background: #fff;
}
.nav{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-links{
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}
.nav-links a {
    color: #1E1E1E;
}
.nav-links .active{
    color: #2874CC;
    font-weight: 600;
}
.nav-placeholder{
  height: 60px;
}
.top-banner{
    margin-top: 60px;
    height: 196px;
    position: relative;
    /* background: url('../images/top_bg.jpg') no-repeat center center; */
    background-size: cover;
    /* aspect-ratio: 9.8 / 1; */
}
.top-banner .slogan{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    max-width: 1280px;
    margin: 0 auto;
    font-weight: 600;
    font-style: Semibold;
    font-size: 48px;
}
.top-banner img{
    position: absolute;
    /* width: 100%; */
    width: 100%;
    min-width: 980px;
    height: 100%;
    object-fit: cover;
} 


/* banner */
.banner {
    position: relative;
}
.banner img{
  width: 100%;
  min-width: 980px;
  object-fit: cover;
}
.banner .desc{
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    max-width: 1280px;
    margin: 0 auto;
    color: #fff;
}
.banner .desc h3{
    font-weight: 600;
    font-size: 64px;
}
.banner .desc p{
    font-weight: 500;
    font-size: 28px;
    line-height: 64px;
}

/* 底部 */
.footer-banner{
    margin-top: 82px;
    width: 100%;
    min-width: 980px;
}
.footer-top{
    padding-top: 40px;
    padding-bottom: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.5px solid #293A49;
}
.footer-item{
    /* font-weight: 500; */
    font-size: 12px;
    color: #748EA6;
    line-height: 26px;
}
.footer-item h6{
    font-weight: 600;
    font-size: 18px;
    color: #1E1E1E;
    margin-bottom: 24px;
}
.footer-item a{
  display: block;
  color: #748EA6;
}
.footer-item .phone{
    font-weight: 500;
    font-size: 24px;
    color: #1E1E1E;
}

.footer-bottom{
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 12px;
    color: #748EA6;
}


/* 默认都隐藏 */
.only-pc, .only-h5 {
  display: none;
}

/* PC：大于等于768px 显示 only-pc */
@media screen and (min-width: 769px) {
  .only-pc {
    display: block;
  }
}

/* H5：小于768px 显示 only-h5 */
@media screen and (max-width: 768px) {
  .only-h5 {
    display: block;
  }
}


/* 小于等于768px 的设备使用 rem 缩放布局 */
@media screen and (max-width: 768px) {
  .only-pc{
    display: none;
  }
  .only-h5{
    display: block;
  }
  html {
    font-size: calc(100vw / 375 * 10); /* 1rem = 10px 在设计稿中 */
  }
  body{
    overflow-x: hidden;
    padding-bottom: 2rem;
  }
  .ellipsis-h5 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .main-container{
    width: 100%;
    min-width: unset;
    padding: 0 1.2rem;
    background-color: #fff;
  }
  .bg{
    position: fixed;
    width: 100%;
    top: 0;
    /* top: -17rem */
    /* left: 0; */
    /* right: 0; */
    height: 17rem;
    background: linear-gradient(357.35deg, #1990FF -34.9%, #E6FFFB 100.38%);
    z-index: -9;
  }
  .navbar{
    height: 4rem;
    background: unset;
    font-size: 1.6rem;
    font-weight: 600;
    background: #bee9fc;
  }
  .navbar .icon{
    display: inline-block;
    width: 4rem;
    height: 4rem;
    background: url('../images/icon_back.svg') no-repeat center center;
    background-size: 2.4rem 2.4rem;
  }
  .navbar .right-icon{
    display: inline-block;
    width: 4rem;
    height: 4rem;
  }

  .banner{
    margin: 4rem auto 0;
    width: 35.6rem;
    height: 15rem;
    border-radius: 1rem;
    overflow: hidden;
  }
  .banner img{
    min-width: unset;
    height: 100%;
  }
}