@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
  overflow: hidden;
  position: relative;
  height: auto;
}

.bgimg {
  width: 100%;
}

.upimg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}

.pic:hover .upimg {
  transform: scale(1.05);
}

/* 没有放大效果 */
.upimg2 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* 居中对齐 */
.upimg3 {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transition: all 0.5s;
}

.pic:hover .upimg3 {
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* 缩小放大 */
.upimg4 {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 100%;
  max-height: 100%;
  -webkit-transform: translate(-50%, -50%) scale(0.93);
  transform: translate(-50%, -50%) scale(0.93);
  transition: all 0.5s;
}

.pic:hover .upimg4 {
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

/* 背景模式 */
.upimg5 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.pic:hover .upimg5 {
  transform: scale(1.05);
}

.container img {
  max-width: 100%;
}








/* ==========================================================================
   part01
========================================================================== */
.part01 {
  padding: 0.5rem 0;
}

.home_title {
  color: rgba(0, 0, 0, 1);
  font-size: 0.46rem;
  line-height: 2;
  font-weight: 700;
}

.home_txt {
  color: rgba(51, 51, 51, 1);
  font-size: var(--font20);
  font-weight: 400;
}

.homePro_list {
  gap: 0.5rem 0.24rem;
  margin-top: 0.5rem;
}

.homePro_list li {
  width: calc(25% - 0.18rem);
}

.homePro_box {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(196, 196, 196, 1);
  transition: all 0.35s;
}

.homePro_box:hover {
  border-color: rgba(0, 113, 188, 1);
}

.homePro_title {
  margin-top: 0.25rem;
  color: rgba(51, 51, 51, 1);
  font-size: var(--font24);
  height: calc(var(--font24) * 3);
  font-weight: 400;
  position: relative;
  padding-right: 0.4rem;
  overflow: hidden;
}

.homePro_title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0.35rem;
  height: 0.35rem;
  background: url(../images/icon01.svg) no-repeat center;
  background-size: 0.35rem auto;
}

.homePro_box:hover .homePro_title {
  color: rgba(0, 113, 188, 1);
}

@media only screen and (max-width: 500px) {
  .homePro_list li {
    width: calc(50% - 0.12rem);
  }

  .homePro_title::before {
    top: 3px;
  }
}

/* ==========================================================================
   part02
========================================================================== */
.part02 {
  position: relative;
  padding: 0.5rem 0;
}

.part02::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7.19rem;
  height: 2.08rem;
  background: url(../images/part02.png) no-repeat;
  background-size: 7.19rem auto;
  z-index: -1;
}

.home_subtitle {
  color: rgba(0, 113, 188, 1);
  font-size: var(--font36);
  font-weight: 700;
  margin: 0.1rem 0 0.4rem;
}

.part02 .home_heading {
  margin-bottom: 0.4rem;
}

.ruiLong_link {
  padding: 0 0.5rem 0 0.3rem;
  height: 0.5rem;
  border-radius: 100px;
  background: linear-gradient(92.86deg, rgba(18, 49, 108, 1) 0.216%, rgba(33, 67, 131, 1) 99.76%);
  align-items: center;
  position: relative;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  transition: all 0.6s;
}

.ruiLong_link:hover {
  padding: 0 0.3rem 0 0.5rem;
}

.ruiLong_more {
  color: rgb(255, 255, 255);
  font-size: 0.18rem;
  font-weight: 400;
  transition: all 0.7s;
}

.ruiLong_icon {
  position: absolute;
  right: -0.25rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgb(255, 255, 255);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  width: 0.5rem;
  height: 0.5rem;
  transition: all 0.7s;
}

.ruiLong_icon .fa-arrow-right {
  font-size: var(--font20);
  transform: rotate(-33deg);
  color: rgba(33, 67, 131, 1);
}

.ruiLong_link:hover .ruiLong_icon {
  right: calc(100% - 0.25rem);
}

.homeAbout_swiper {
  margin-top: 0.5rem;
}

.homeAbout_swiper .swiper-pagination .swiper-pagination-bullet {
  background: rgba(18, 128, 185, 0.4);
  width: 0.15rem;
  height: 0.15rem;
  opacity: 1;
  margin: 0 0.1rem;
}

.homeAbout_swiper .swiper-pagination .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 500px) {
  .homeAbout_swiper .swiper-pagination {
    bottom: 0;
  }
}








/* ==========================================================================
   part03
========================================================================== */
.part03 {
  position: relative;
  padding: 0.5rem 0;
}

.part03::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7.19rem;
  height: 2.08rem;
  background: url(../images/part02.png) no-repeat;
  background-size: 7.19rem auto;
  z-index: -1;
}

.homeNews_flex {
  justify-content: space-between;
  margin-top: 0.2rem;
}

.homeNews_left {
  width: 45%;
}

.homeNews_right {
  width: calc(55% - 0.7rem);
}

.homeNews_box .pic {
  margin-bottom: 0.1rem;
}

.homeNews_date {
  width: 1rem;
  height: 1rem;
  background: rgba(18, 128, 185, 1);
  flex-direction: column;
}

.homeNews_box .homeNews_date {
  position: absolute;
  left: 0;
  top: 0;
}

.homeNews_day {
  color: rgba(255, 255, 255, 1);
  font-size: var(--font36);
  line-height: 1;
  font-weight: 700;
}

.homeNews_month {
  color: rgba(255, 255, 255, 1);
  font-size: var(--font16);
  font-weight: 400;
}

.homeNews_title {
  color: rgba(0, 0, 0, 1);
  font-size: var(--font20);
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.homeNews_intro {
  color: rgba(93, 93, 93, 1);
  font-size: var(--font14);
  line-height: 2;
  font-weight: 400;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.homeNews_box .homeNews_intro {
  line-clamp: 1;
  -webkit-line-clamp: 1;
  width: calc(100% - 1.4rem);
}

.homeNews_box:hover .homeNews_title {
  color: var(--primary);
}

.homeNews_swiper .swiper-pagination {
  text-align: right;
}

.homeNews_swiper .swiper-pagination .swiper-pagination-bullet {
  background: none;
  width: 0.25rem;
  height: 0.25rem;
  opacity: 1;
  border-radius: 50%;
  border: 1px solid transparent;
  position: relative;
}

.homeNews_swiper .swiper-pagination .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.1rem;
  height: 0.1rem;
  border-radius: 50%;
  background: rgba(216, 216, 216, 1);
}

.homeNews_swiper .swiper-pagination .swiper-pagination-bullet-active::before {
  background: rgba(18, 128, 185, 1);
}

.homeNews_swiper .swiper-pagination .swiper-pagination-bullet-active {
  border-color: rgba(18, 128, 185, 1);
}

.homeNews_item {
  justify-content: space-between;
}

.homeNews_left2 {
  width: 1rem;
}

.homeNews_right2 {
  width: calc(100% - 1.45rem);
}

.homeNews_list {
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.homeNews_list li {
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed rgba(191, 191, 191, 1);
}

.homeNews_item:hover .homeNews_title {
  color: var(--primary);
}

@media only screen and (max-width: 920px) {
  .homeNews_list li:last-child {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  .homeNews_left {
    width: 100%;
  }

  .homeNews_right {
    width: 100%;
    margin-top: 20px;
  }

  .homeNews_left2 {
    width: 60px;
  }

  .homeNews_date {
    width: 60px;
    height: 60px;
  }
}








/* ==========================================================================
   footer
   ========================================================================== */
footer {
  background: url(../images/footer.png) no-repeat;
  background-size: cover;
}

footer a:hover {
  text-decoration: underline;
}

.foot_list {
  column-gap: 0.8rem;
}

.foot_main {
  padding: 1.2rem 0 0.6rem;
  border-top: 0.06rem solid rgba(198, 28, 31, 1);
  border-bottom: 1px solid rgba(89, 89, 89, 0.19);
}

.foot_logo {
  width: 2.52rem;
}

.foot_contact {
  margin-top: 0.1rem;
  color: rgba(51, 51, 51, 1);
  font-size: var(--font18);
  font-weight: 400;
  line-height: 230%;
}

.foot_contact p {
  display: flex;
  align-items: center;
}

.foot_contact img {
  margin-right: 0.1rem;
}

.foot_ewm {
  width: 1.1rem;
}

.ewm_name {
  color: rgba(51, 51, 51, 1);
  font-size: var(--font14);
  font-weight: 400;
  text-align: center;
  margin-top: 5px;
}

.foot_nav {
  justify-content: space-between;
}

.foot_nav a {
  color: inherit;
}

.foot_h3 {
  color: rgba(51, 51, 51, 1);
  font-size: var(--font18);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.foot_ul li {
  color: rgba(51, 51, 51, 1);
  font-size: var(--font16);
  font-weight: 400;
  line-height: 250%;
}

.foot_item:nth-child(3) {
  flex: 1;
}

.copy_right {
  padding: 0.25rem 0;
  color: rgba(51, 51, 51, 1);
  font-size: var(--font18);
  font-weight: 400;
  text-align: center;
}

@media only screen and (max-width: 1280px) {
  .foot_contact img {
    width: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .foot_main {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  .space {
    display: block;
  }
}
