/* 单个产品内容 */

.main-content-item {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}


/* 单个产品左边内容 */

.main-left {
  flex: 0 0 50%;
  max-width: 40%;
}

.main-left-content {
  width: 100%;
  padding-top: 30%;
  margin-bottom: 2rem;
}


/* 大标题  */

.big-title {
  display: block;
  flex: 0 0 80%;
  max-width: 80%;
  font-size: 3.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  margin: auto;
}


/* 子标题 */

.sub-title {
  flex: 0 0 70%;
  max-width: 80%;
  margin: 2.6rem auto;
  text-align: center;
  font-size: 1.2rem;
}


/* 按钮 */

.main-left-content a {
  display: block;
  flex: 0 0 70%;
  max-width: 70%;
  margin: auto;
  height: 3.4rem;
  line-height: 1.7;
  font-size: 1.4rem;
  font-weight: 700;
}


/* 单个产品右边内容 */

.main-right {
  flex: 0 0 60%;
  max-width: 60%;
  height: 100vh;
}


/* 背景图固定 */

.b-f {
  background-repeat: no-repeat;
  background-size: 74%;
  background-position: 130% 50%;
  background-attachment: fixed;
  z-index: -1;
  transition: all 1.2s ease-in;
}


/* 背景随页面滚动 */

.b-s {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center 48%;
  background-attachment: scroll;
  transition: all 1.2s ease-in;
}

.item1 {
  background-image: url(/imgs/index/CL810.jpg);
}

.item2 {
  background-image: url(/imgs/index/FF932.jpg);
}

.item3 {
  background-image: url(/imgs/index/C1.jpg);
}

.item4 {
  background-image: url(/imgs/index/CL876.jpg);
}

.footer-index-pass{
  height: 64px;
}

/* 平板横屏 */

@media (max-width: 1024px) {
  .header {
    position: fixed;
  }
  .main-content-item {
    height: auto;
  }
  .main-left {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    margin-bottom: 2rem;
  }
  .main-left-content {
    padding-top: 2rem;
  }
  .big-title {
    flex: 0 0 100%;
    max-width: 100%;
    font-size: 2.6rem;
  }
  .sub-title {
    flex: 0 0 100%;
    max-width: 90%;
    font-size: 1.4rem;
    margin: 2rem auto;
    text-align: center;
  }
  .main-left-content a {
    height: 4rem;
    line-height: 1.4;
    font-size: 1.8rem;
    font-weight: 700;
  }
  .main-right {
    flex: 0 0 100%;
    max-width: 100%;
    height: 70vh;
    order: -1;
  }
  .b-f {
    background-repeat: no-repeat;
    background-size: 134%;
    background-position: center 94%;
    background-attachment: fixed;
    z-index: -1;
    /* transition: all 1.2s ease-in; */
  }
  .b-s {
    background-repeat: no-repeat;
    background-size: 134%;
    background-position: center 94%;
    background-attachment: fixed;
    z-index: -1;
  }

  .footer-index-pass{
    height: 104.px;
  }
}

/* 平板 */
@media (max-width: 768px) {
 .main-left-content {
   margin-bottom: 0.5rem;
 }
 .sub-title{
   margin: 1rem auto;
 }
 .main-left-content a{
   height: 3rem;
   line-height: 1.2;
 }
 .main-right {
   height: 56vh;
 }
 .b-f{
   background-position: center 106%;
 }
 .b-s{
   background-size: 110%;
   background-position: center 260%;
 }
 .footer-index-pass {
   height: 206.4px;
 }
}

/* 移动端 */

@media (max-width: 576px) {
  .header {
    position: fixed;
  }
  .main-content-item {
    height: auto;
  }
  .main-left {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    margin-bottom: 1vh;
  }
  .main-left-content {
    padding-top: 1rem;
    margin-bottom: 1vh;
  }
  .big-title {
    flex: 0 0 100%;
    max-width: 80%;
    font-size: 1.4rem;
  }
  .sub-title {
    flex: 0 0 100%;
    max-width: 90%;
    font-size: 0.8rem;
    margin: 0.4rem auto;
    text-align: center;
  }
  .main-left-content a {
    height: 2rem;
    line-height: 1;
    font-size: 1rem;
    font-weight: 700;
  }
  .main-right {
    flex: 0 0 100%;
    max-width: 100%;
    height: 70vh;
    order: -1;
  }
  .b-f {
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center -30%;
    /* background-attachment: fixed; */
    background-attachment: scroll;
    z-index: -1;
    /* transition: all 1.2s ease-in; */
  }
  .b-s {
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center -30%;
    /* background-attachment: fixed; */
    background-attachment: scroll;
    z-index: -1;
  }

  .footer-index-pass{
    height: 160px;
  }
}
