/* 公共样式 */
.idx .title {
  position: relative;
  margin: 0 0 20px;
  line-height: 1;
}

.idx .title .ts1 {
  font-size: 40px;
  color: #E5E3E3;
}

.idx .title .ts2 {
  position: absolute;
  bottom: 0;
  color: #333;
}

@media (min-width: 1200px) {
  .idx .title {
    margin-bottom: 61px;
  }

  .idx .title .ts1 {
    font-size: 56px;
  }
}


/* idx-banner */
.idx-banner video, .idx-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1920 / 750;
}


/* idx-product */
.idx-product {
  padding: 30px 0;
}

.idx-product .title .ts2 {
  left: 50%;
  transform: translate(-50%, 30%);
}

.idx-product .row>div:not(:last-child) {
  margin-bottom: 25px;
}

.idx-product .row>div img {
  width: 100%;
  box-shadow: 6px 6px 12px 1px rgba(0, 0, 0, 0.16);
}

.idx-product .row>div:first-child img {
  aspect-ratio: 778 / 435;
}

.idx-product .row>div:nth-child(2) img {
  aspect-ratio: 542 / 435;
}

.idx-product .row>div:nth-child(n+3) img {
  aspect-ratio: 423 / 362;
}

.idx-product .tit {
  margin: 10px 0;
  text-align: left;
}

.idx-product .btn {
  width: 162px;
  color: #fff;
  padding: 4px 15px;
  border-radius: 5px;
  background: var(--style-color);
}

@media (min-width: 768px) {
  .idx-product .row>div:nth-child(n+3) {
    margin-bottom: 0;
  }

  .idx-product .row>div:nth-child(-n+2) img {
    width: 100%;
    height: 100%;
    min-height: 217px;
    object-fit: cover;
  }
}

@media (min-width: 992px) {
  .idx-product .row>div:nth-child(-n+2) img {
    min-height: 297px;
  }
}

@media (min-width: 1200px) {
  .idx-product {
    padding: 58px 0 70px;
  }

  .idx-product .tit {
    margin: 20px 0;
  }

  .idx-product .row>div:nth-child(-n+2) img {
    min-height: 358px;
  }
}

@media (min-width: 1440px) {
  .idx-product .row {
    margin: 0 -25px;
  }

  .idx-product .row>div {
    padding: 0 25px;
  }

  .idx-product .row>div:nth-child(-n+2) img {
    min-height: 435px;
  }
}


/* idx-about */
.idx-about {
  padding: 30px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.idx-about .container {
  display: flex;
  justify-content: flex-end;
}

.idx-about .info-group {
  max-width: 526px;
  padding: 20px 15px;
  text-align: center;
  background: rgba(255, 255, 255, .7);
}

.idx-about .title .ts2 {
  left: 50%;
  transform: translate(-50%, 30%);
}

.idx-about .info {
  line-height: 1.8;
  text-align: left;
  max-height: 172px;
}

.idx-about .btn {
  color: #fff;
  margin-top: 24px;
  padding: 4px 15px;
  background: var(--style-color);
}

@media (min-width: 768px) {
  .idx-about {
    padding: 50px 0;
  }

  .idx-about .info-group {
    padding: 35px 30px 30px;
  }

  .idx-about .info {
    max-height: 202px;
  }
}

@media (min-width: 1200px) {
  .idx-about {
    padding: 80px 0;
  }

  .idx-about .info-group {
    padding: 59px 49px 55px;
  }

  .idx-about .title {
    margin-bottom: 41px;
  }

  .idx-about .info {
    max-height: 260px;
  }
}


/* idx-case */
.idx-case {
  padding: 30px 15px 0;
}

.idx-case .lt {
  margin-bottom: 20px;
}

.idx-case .title {
  text-align: left;
}

.idx-case .title .ts2 {
  left: 0;
  transform: translateY(30%);
}

.idx-case .info {
  line-height: 1.8;
  max-height: 87px;
  margin-bottom: 20px;
}

.idx-case .btn {
  width: 174px;
  color: #fff;
  padding: 7px 15px;
  border-radius: 5px;
  background: var(--style-color);
}

.idx-case .btn>i {
  margin-left: 6px;
}

.idx-case .img {
  text-align: center;
  display: inline-block;
}

.idx-case .img-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 0;
  text-align: right;
}

.idx-case .img-title a {
  color: inherit;
}

.idx-case .swiper-btn-wrap {
  position: absolute;
  left: 30px;
  bottom: 20px;
  line-height: 1;
  z-index: 20;
  display: none;
}

.idx-case .prev-btn,
.idx-case .next-btn {
  font-size: 40px;
}

.idx-case .prev-btn i,
.idx-case .next-btn i {
  font-size: inherit;
}


@media(min-width: 992px) {
  .idx-case {
    padding-top: 40px;
  }

  .idx-case .lt {
    padding-top: 20px;
    margin-bottom: 0;
    padding-left: calc((100vw - 5px - 960px + 30px) / 2 + 15px);
  }
}

@media(min-width:1200px) {
  .idx-case {
    padding-top: 60px;
  }

  .idx-case .lt {
    flex: 0 0 37%;
    max-width: 37%;
    padding-left: calc((100vw - 5px - 1140px + 30px) / 2 + 15px);
  }

  .idx-case .rt {
    flex: 0 0 63%;
    max-width: 63%;
  }

  .idx-case .title {
    margin-bottom: 67px;
  }

  .idx-case .img-title {
    font-size: 20px;
  }

  .idx-case .info {
    margin-bottom: 57px;
  }

  .idx-case .btn {
    padding: 7px 22px;
  }

  .idx-case .img {
    text-align: right;
  }

  .idx-case .img-title {
    font-size: 20px;
    margin-top: 20px;
    margin-right: 0;
    margin-left: auto;
    max-width: 400px;
  }

  .idx-case .swiper-btn-wrap {
    display: flex;
    left: 70px;
  }

  .idx-case .prev-btn, .idx-case .next-btn {
    font-size: 50px;
  }

  .idx-case .prev-btn {
    margin-right: 60px;
  }
}

@media(min-width:1440px) {
  .idx-case {
    padding-top: 107px;
  }

  .idx-case .lt {
    padding-top: 105px;
    padding-right: 35px;
    padding-left: calc((100vw - 5px - 1400px + 30px) / 2 + 15px);
  }

  .idx-case .title {
    margin-bottom: 109px;
  }

  .idx-case .info {
    margin-bottom: 112px;
  }

  .idx-case .img-title {
    font-size: 26px;
    margin-top: 34px;
  }
}


/* idx-dealership */
.idx-dealership {
  padding-top: 30px;
}

.idx-dealership .title .ts2 {
  left: 50%;
  transform: translate(-50%, 30%);
}

.idx-dealership .item,
.idx-dealership .pic {
  position: relative;
}

.idx-dealership .item-group {
  padding: 0 15px;
}

.idx-dealership .item {
  max-width: 640px;
  margin: 0 auto;
}

.idx-dealership .pic::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, .6);
}

.idx-dealership .info-group {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.idx-dealership .tit {
  color: #fff;
  margin: 0;
}

.idx-dealership .info {
  color: #fff;
  line-height: 1.8;
  max-height: 87px;
  margin: 10px 0;
  display: none;
}

.idx-dealership .btn {
  width: 174px;
  color: #fff;
  padding: 7px 15px;
  border-radius: 5px;
  background: var(--style-color);
  display: none;
}

.idx-dealership .item:hover .info,
.idx-dealership .item:hover .btn {
  display: block;
}

@media(min-width: 768px) {
  .idx-dealership .item-group {
    display: flex;
    padding: 0;
  }

  .idx-dealership .item {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .idx-dealership .info-group {
    padding-left: 30px;
    padding-right: 30px;
  }

  .idx-dealership .info {
    max-height: 58px;
  }
}

@media(min-width:1200px) {
  .idx-dealership {
    padding-top: 63px;
  }

  .idx-dealership .info-group {
    padding-left: 50px;
    padding-right: 50px;
  }

  .idx-dealership .info {
    margin: 30px 0;
    max-height: 116px;
  }
}

@media(min-width:1440px) {
  .idx-dealership .info-group {
    padding-left: 84px;
    padding-right: 84px;
  }

  .idx-dealership .info {
    margin: 55px 0 57px;
  }
}


/* idx-blog */
.idx-blog {
  padding: 30px 0;
}

.idx-blog .title .ts2 {
  left: 50%;
  transform: translate(-50%, 30%);
}

.idx-blog .swiper-slide {
  height: unset;
}

.idx-blog .block {
  display: block;
  height: 100%;
}

.idx-blog .pic img {
  width: 100%;
}

.idx-blog .info-group {
  padding: 25px 15px;
  position: relative;
}

.idx-blog .new-date {
  position: absolute;
  top: 0;
  left: 15px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  transform: translateY(-50%);
}

.idx-blog .new-title {
  color: #fff;
  margin: 0 0 7px;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.idx-blog .new-info {
  color: #fff;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .idx-blog {
    padding: 58px 0 80px;
  }

  .idx-blog .info-group {
    padding: 42px 23px 34px;
  }

  .idx-blog .new-title {
    height: 78px;
    margin-bottom: 14px;
  }

  .idx-blog .new-date {
    font-size: 40px;
    left: 23px;
  }
}


/* idx-contact */
.idx-contact {
  padding: 30px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.idx-contact .container {
  position: relative;
  z-index: 1;
}

.idx-contact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(97, 97, 97, .7);
}

.idx-contact .title .ts1 {
  color: #9CA2A2;
}

.idx-contact .title .ts2 {
  color: #fff;
  left: 50%;
  transform: translate(-50%, 30%);
}

.idx-contact .info {
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.idx-contact .form-control {
  border: none;
  box-shadow: none;
  color: #fff;
  font-size: 18px;
  background: rgba(255, 255, 255, .5);
}

.idx-contact .btn {
  width: 159px;
  color: #fff;
  margin-top: 3px;
  padding: 6px 15px;
  border-radius: 5px;
  background: var(--style-color);
}

@media (min-width: 1200px) {
  .idx-contact {
    padding: 39px 0 46px;
  }

  .idx-contact .title {
    margin-bottom: 42px;
  }

  .idx-contact .info {
    margin-bottom: 43px;
  }

  .idx-contact input.form-control {
    height: 61px;
  }

  .idx-contact .form-control {
    font-size: 20px;
    padding-left: 20px;
  }

  .idx-contact textarea.form-control {
    max-height: 202px;
  }

  .idx-contact .form-group {
    margin-bottom: 46px;
  }
}

@media (min-width: 1440px) {

  .idx-contact .info,
  .idx-contact .form-control,
  .idx-contact .btn {
    font-size: 22px;
  }
}

/* placeholder颜色修改 */
.idx-contact input::-webkit-input-placeholder,
.idx-contact textarea::-webkit-input-placeholder {
  color: #fff;
}

.idx-contact :-moz-placeholder,
.idx-contact textarea:-moz-placeholder {
  color: #fff;
}

.idx-contact ::-moz-placeholder,
.idx-contact textarea::-moz-placeholder {
  color: #fff;
}

.idx-contact input:-ms-input-placeholder,
.idx-contact textarea:-ms-input-placeholder {
  color: #fff;
}

.idx-contact input::-ms-input-placeholder,
.idx-contact textarea::-ms-input-placeholder {
  color: #fff;
}