@import url("./basic.css");
@import url("./element.css");
@import url("./footer.css");
@import url("./header.css");
@import url("./swiper.min.css");

main {
  margin-top: 0.8rem;
  background: #fff;
}
.banner {
  height: 1.42rem;
}

.banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.subtab {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding: 0.56rem 1rem 0.48rem;
}
.subtab .item {
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  flex: 1;
}
.subtab .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.subtab .item.on {
  background: #d8d8d8;
  box-shadow: 5px 5px 28px 0px #000000;
}
.subtab .item:hover {
  background: #d8d8d8;
  box-shadow: 5px 5px 28px 0px #000000;
}
.subtab .item .shadowbox {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 0.56rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0px 0px 20px 20px;
  text-align: center;
  font-family: '思源黑体';
  font-weight: 500;
  font-size: 0.24rem;
  color: #ffffff;
  line-height: 0.56rem;
  font-style: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
}
.effect {
  background: #f8f8f8;
  padding-top: 1px;
}
.effect h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
  margin-top: 0.55rem;
}
.effect ul {
  margin-top: 0.9rem;
  padding: 0 0.98rem 0.46rem;
  box-sizing: border-box;
  overflow: hidden;
}
.effect ul li {
  height: 0.8rem;
  display: flex;
  margin-bottom: 0.6rem;
}
.effect ul li span {
  font-family: AppleSystemUIFont;
  font-size: 0.7rem;
  color: #9b9b9b;
  margin-right: 0.54rem;
}
.effect ul li p {
  font-weight: 400;
  font-size: 0.22rem;
  color: #000000;
  line-height: 0.4rem;
}
.func {
  margin-top: 0.57rem;
  padding-bottom: 0.6rem;
}
.func h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
  margin-bottom: 0.5rem;
}
.func img {
  width: 90%;
  display: block;
  margin: 0 auto;
}
.intro h1 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
}
.intro h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
}
.intro p {
  font-weight: 400;
  font-size: 0.3rem;
  color: #000000;
  line-height: 0.55rem;
  text-align: justify;
  padding: 0 0.98rem;
  box-sizing: border-box;
  margin-top: 0.31rem;
}
.maintree ul {
  margin-top: 0.5rem;
  padding: 0 0.98rem;
  box-sizing: border-box;
}
.maintree ul li {
  float: left;
  width: 5.32rem;
  margin-right: 0.64rem;
  border-radius: 0.24rem;
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.27);
}
.maintree ul li:nth-child(3n) {
  margin-right: 0;
}
.maintree ul li h4 {
  height: 0.78rem;
  background: #232323;
  border-radius: 0.24rem 0.24rem 0px 0px;
  text-align: center;
  line-height: 0.78rem;
  font-weight: 600;
  font-size: 0.3rem;
  color: #fad293;
}
.maintree ul li p {
  height: 3.34rem;
  border-radius: 0px 0px 0.24rem 0.24rem;
  padding: 0.5rem 0.54rem 0;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 0.3rem;
  color: #717171;
  line-height: 0.54rem;
  text-align: justify;
}
.maintree.other {
  padding-bottom: 0.2rem;
}
.maintree.other h4 {
  background: #ffd99c;
  color: #000000;
}
.maintree.other p {
  height: 4.26rem;
}
.maintree.other li {
  margin-bottom: 0.7rem;
}
.plant_one {
  margin-top: 0.47rem;
}
.plant_one .maintree {
  margin-top: 1.14rem;
  padding-bottom: 3.45rem;
}
.plant_one .maintree h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
}
.plant_two {
  margin-top: 0.47rem;
}
.plant_two .analysis {
  background: #232323;
  padding: 0.49rem 0 0.88rem;
  box-sizing: border-box;
  margin-top: 0.69rem;
}
.plant_two .analysis h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
  color: #fad293;
}
.plant_two .analysis p {
  font-weight: 400;
  font-size: 0.3rem;
  color: #fad293;
  line-height: 0.55rem;
  text-align: justify;
  padding: 0 0.98rem;
  margin-top: 0.5rem;
}
.plant_two .maintree {
  margin-top: 0.69rem;
}
.plant_two .maintree h3 {
  font-weight: 600;
  font-size: 0.3rem;
  color: #000000;
  text-align: center;
}

@media screen and (min-width: 300px) and (max-width: 750px) {
  .subtab {
    gap: 0.2rem;
    padding: 0.2rem;
  }
  .subtab .item {
    border-radius: 0.05rem;
  }
  .subtab .item .shadowbox {
    border-radius: 0;
  }

  .intro p {
    padding: 0.2rem;
  }

  .maintree ul {
    padding: 0.2rem;
  }

  .maintree ul li {
    float: unset;
    width: 90%;
    margin: 0 auto 0.5rem;
  }
  .maintree ul li:nth-child(3n) {
    margin: 0 auto 0.5rem;
  }
  .plant_one .maintree {
    padding-bottom: 1rem;
  }

  .plant_two .analysis p {
    padding: 0 0.5rem;
  }

  .effect ul {
    margin-top: 0.2rem;
    padding: 0.5rem 0.2rem;
  }
  .effect ul li {
    height: auto;
  }
}
