main {
  width: 100%;
  min-height: 100vh;
}
body {
  position: relative;
}
.menu-container {
    position: fixed !important;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 11;
}
/* 下拉显示 */
.xl-container {
  padding: 70px 60px 0px;
  justify-content: space-between;
  font-size: 14px;
  display: none;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  z-index: 100;
}
.xl-left {
  flex: 0 0 auto;
}
.xl-left p,
.xl-left a {
  margin: 20px 0px;
  font-size: 12px;
  cursor: pointer;
}
.xl-center {
  flex: 1 1 auto;
  margin: 20px 90px 0px;
}
.xl-center a img {
  width: 100%;
  cursor: pointer;
  object-fit: contain;
}
.xl-right {
  flex: 0 0 auto;
}
.xl-right > a {
  margin: 20px 0px;
  font-size: 12px;
}
.xl-right div {
  width: 100%;
  margin: 18px 0px;
  height: 18px;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xl-right div > a {
  width: 20px;
  cursor: pointer;
  height: 20px;
}
.xl-right div > a:nth-child(1) {
  background: url("../images/user_2.png") no-repeat center;
  background-size: contain;
}
.xl-right div > a:nth-child(2) {
  background: url("../images/collect.png") no-repeat center;
  background-size: contain;
  margin: 0px 10px;
}
.xl-right div > a:nth-child(3) {
  background: url("../images/sousuo.png") no-repeat center;
  background-size: contain;
}

/* 首页banner轮播图 */
.swiper-container {
  width: 100%;
  height: 100vh;
  color: #000;
}
.swiper-wrapper {
  height: 100%;
}
.swiper-slide {
  position: relative;
  height: 100%;
}
.swiper-slide a {
  width: 100%;
  height: 100%;
}
.swiper-pagination {
  bottom: 1rem !important;
}
.swiper-container .swiper-slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
}
.bottom {
  margin-top: 50px;
  display: flex;
  align-items: center;
}
.bottom a {
  width: 100px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  background: #000;
  color: #fff;
  text-align: center;
}
.bottom a:first-of-type {
  margin-right: 50px;
}

/* 首页公司简介 */
.b-main {
  padding: 50px 0px;
}
.b-main .Introduction-title {
  width: 300px;
  margin: 10px auto 70px;
}
.b-main .Introduction-title img {
  object-fit: contain;
  width: 100%;
}
.b-main .b-main-content {
  max-width: 1200px;
  margin: 0px auto;
  display: flex;
  max-height: 250px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.b-main .b-main-content p {
  width: 100%;
  max-width: 500px;
}
.b-main a {
  width: 120px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #000;
  color: #fff;
  font-size: 14px;
  margin: 40px auto 0px;
}

/* 首页产品轮播图 */
.carousel-container {
  background: #f2f2f2;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}
.swiper-container1 {
  width: 100%;
  height: fit-content;
  position: relative;
  overflow: hidden;
}
.swiper-container1 .swiper-slide {
  position: relative;
}
.swiper-container1 .swiper-slide a {
  width: 100%;
  text-align: center;
}
.swiper-container1 .swiper-slide a img {
  max-height: 600px;
  width: 100%;
}
.carousel-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3.5rem;
}
.carousel-content p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
  white-space: nowrap;
  color: #585858;
}
.carousel-content a {
  font-size: 25px;
  white-space: nowrap;
}

/* 空间美学推荐 */
.d-main {
  padding: 30px 0px;
}
.d-main > div:first-child {
  font-size: 14px;
  text-align: center;
  margin: 10px 0px;
  color: #414141;
}
.d-main .aesthetics-title {
  font-size: 32px;
  text-align: center;
  margin: 30px 0px;
}
.d-main .d-main-content {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0px 30px;
  column-gap: 30px;
}
.d-main .more-aesthetics {
  margin: 50px auto;
  background: #000;
  color: #fff;
  width: 130px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
}

@media screen and (max-width: 1250px) {
  .carousel-content {
    bottom: 2.5rem;
  }
}

@media screen and (max-width: 1100px) {
  .b-main .b-main-content {
    max-width: 100%;
    display: block;
    max-height: fit-content;
    margin: 0px 50px;
    overflow: hidden;
  }
  .b-main .b-main-content p {
    width: 100%;
    max-width: 100%;
  }
  .carousel-content {
    bottom: 1.5rem;
  }
  .carousel-content a {
    font-size: 22px;
  }
  .carousel-content p {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 750px) {
  .content {
    bottom: 10rem;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 1rem;
  }

  .b-main .b-main-content {
    max-width: 100%;
    display: block;
    max-height: fit-content;
    margin: 0px auto;
    overflow: hidden;
    width: 90%;
  }
  .b-main .Introduction-title {
    margin: 10px auto 35px;
    width: 60%;
  }
  /* 首页产品轮播图 */
  .carousel-container {
    height: 270px;
  }
  .carousel-container .swiper-container1 {
    height: 100%;
  }
  .swiper-container1 .swiper-slide {
    padding: 20px 30px;
  }
  .swiper-slide a {
    height: 100%;
  }
  .swiper-container1 .swiper-slide a img {
    object-fit: cover;
    height: 100%;
  }

  .carousel-content {
    bottom: 1rem;
  }
  .carousel-content p {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .carousel-content a {
    font-size: 18px;
  }

  /* 空间美学推荐 */
  .d-main {
    padding: 25px 0px;
  }
  .d-main > div:first-child {
    margin: 0px;
  }
  .d-main .aesthetics-title {
    font-size: 20px;
    margin: 7px 0px;
  }
  .d-main .d-main-content {
    padding-top: 8px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0px 15px;
    gap: 25px 10px;
  }
  .d-main .more-aesthetics {
    margin: 50px auto 20px;
  }
}
