dialog {
  border: 0;
  padding: 0;
}

dialog {
  top: 50%;
  left: 50%;
  width: 792px;
  height: 492px;
  background-color: #fff;
  border-radius: 10px;
  opacity: 1;
  overflow: visible;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease-in-out;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

dialog + .backdrop {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}
dialog:not([open]) {
  opacity: 0;
  visibility: hidden;
  display: block;
}

dialog > .content {
  margin-top: -2px;
  margin-left: -2px;
  position: fixed;
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  z-index: 19;
  padding: 4px;
}

.content > .dialogBox {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.dialogBox > .dialogBanner {
  width: 100%;
  height: 108px;
  background: linear-gradient(90deg, #fafafa 0%, rgba(216, 216, 216, 0) 100%);
  display: flex;
  flex-flow: column wrap;
  align-content: space-between;
}

.dialogBanner > span {
  margin-left: 20px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 30px;
  color: #333333;
}

.dialogBanner > span:first-child {
  margin-top: 20px;
  font-weight: bold;
  font-size: 24px;
  color: #1a1a1a;
}

.dialogBanner > .closeBtn {
  width: 48px;
  height: 48px;
}

.dialogBox > .dialogInfo {
  margin-left: 20px;
  margin-top: 40px;
  width: 100%;
  display: flex;
  color: #333333;
  flex-wrap: wrap;
  font-size: 16px;
  line-height: 30px;
  align-items: center;
}

.dialogInfo > span:first-child {
  display: block;
  width: 100%;
  font-weight: 500;
  color: #1a1a1a;
}

.dialogInfo > .dialogPicBox {
  margin-top: 20px;
  width: 180px;
  height: 180px;
  box-sizing: border-box;
  border: 1px solid #000000;
  border-radius: 6px;
  overflow: hidden;
}
.dialogPicBox > img {
  width: 180px;
  height: 180px;
}

.dialogPicBox ~ span {
  margin-left: 20px;
  margin-top: 20px;
}

.dialogPicBox ~ span:last-child {
  margin-left: 10px;
}

/* .InfoBody {
  background-image: url(../../res/images/PageAboutUs/bacImage.png);
} */

.InfoBody > .InfoPage {
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.InfoPage > span {
  margin-bottom: 60px;
  text-align: center;
  width: 100%;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.InfoPage:first-child > span {
  margin-top: 60px;
}

.InfoPage > .spans {
  font-size: 16px;
  width: 100%;
  line-height: 30px;
  color: #ffffff;
  text-indent: 2em;
}

.InfoPage > .spans > span {
  display: block;
}

.InfoPage > .swiper {
  width: 100%;
  position: relative;
  --swiper-navigation-color: #cccccc;
  --swiper-navigation-size: 48px;
}

.InfoPage > .swiper::before {
  top: 88px;
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: rgba(255, 196, 79, 0.2);
}

.swiper > .swiper-buttonBox {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  justify-content: space-between;
  align-items: center;
  display: flex;
  transition: all 0.5s ease;
}

#prevButton,
#nextButton {
  background-image: url(../../res/images/solution/left.svg);
  background-size: cover;
  aspect-ratio: 1/1;
  height: 48px;
}
#nextButton {
  background-image: url(../../res/images/solution/right.svg);
}

#prevButton.show {
  background-image: url(../../res/images/solution/left-in.svg);
}
#nextButton.show {
  background-image: url(../../res/images/solution/right-in.svg);
}

.swiper-slide {
  display: flex;
  width: 100%;
  flex-direction: column;
  min-width: 240px;
  max-width: 240px;
  justify-content: space-around;
}

.swiper-slide:hover > span {
  color: #f4bf1e;
}

.swiper-slide:hover > .InfoBox > span:first-child {
  color: #f4bf1e;
}

.swiper-slide > span {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 52px;
  height: 52px;
  color: #666666;
  flex: 1;
  transition: all 0.5s ease-in-out;
}

.swiper-slide > .LinePointBox {
  margin-top: 30px;
  margin-bottom: 30px;
  flex: 1;
  height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.LinePointBox > .LinePointBack {
  width: 12px;
  height: 12px;
  border-radius: 12px;
  background: rgba(255, 196, 79, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.LinePointBack > .LinePointInset {
  height: 4px;
  width: 4px;
  border-radius: 4px;
  background-color: #ffc44f;
  opacity: 1;
}

.swiper-slide > .InfoBox {
  box-sizing: border-box;
  padding: 20px;
  border-radius: 10px;
  min-height: 300px;
  background: linear-gradient(180deg, #2d2d2d 52%, rgba(45, 45, 45, 0) 100%);
}

.InfoBox > span {
  margin-top: 20px;
  display: block;
  font-size: 16px;
  line-height: 30px;
  text-align: justify; /* 浏览器可能不支持 */
  letter-spacing: 0em;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
}

.InfoBox > span:first-child {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.InfoPage > .CadePage3 {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}

.CadePage3 > .CadePageBox {
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  aspect-ratio: 392/198;
  max-width: 392px;
  border-radius: 10px;
  background: #2d2d2d;
}

.CadePageBox > .BigeTitle {
  display: flex;
  align-items: center;
  height: 48px;
}
.BigeTitle > .PicBox {
  aspect-ratio: 1/1;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.BigeTitle > span {
  margin-left: 20px;
  font-size: 24px;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 0em;
  color: #ffffff;
}

.CadePageBox > .spans {
  margin-top: 30px;
  font-size: 16px;
  line-height: 30px;
  color: #ffffff;
}

.CadePageBox > .spans > .PicBox {
  margin-left: 15px;
  display: inline-block;
  height: 12.31px;
  width: 18px;
  background-position: center center;
  background-repeat: no-repeat;
}

.InfoPage > .MapPage {
  aspect-ratio: 1240/500;
  width: 100%;
  max-height: 500px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2c2c2c 0%, rgba(37, 37, 37, 0) 100%);
  display: flex;
  justify-content: end;
  align-items: center;
}

.MapPage > .DetailMapPage {
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  width: 324px;
  border-radius: 10px;
  background: #2d2d2d;
}
.DetailMapPage > span {
  display: block;
  font-size: 16px;
  line-height: 40px;
  color: #cccccc;
  margin-top: 30px;
}

.DetailMapPage > span:first-child {
  font-size: 20px;
  font-weight: bold;
  line-height: 34px;
  color: #fff;
}

.DetailMapPage > span:nth-child(3) {
  margin-top: 10px;
  color: #fff;
}

/*#region 详情按钮*/
.DetailMapPage > .ButtonBox {
  margin-top: 144px;
  overflow: hidden;
  line-height: 37px;
  position: relative;
  text-align: center;
  color: #fff;
  width: 180px;
  border-radius: 100px;
  box-sizing: border-box;
  height: 40px;
  z-index: 1;
  transition: all 1s ease-in-out;
}

.ButtonBox > .ButtonBorder {
  width: 100%;
  height: 100%;
  border-radius: 100px;
  box-sizing: border-box;
  z-index: 10;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ButtonBox:after,
.ButtonBox:before {
  content: "";
  position: absolute;
  top: -2px;
  left: calc(-100% - 60px);
  height: calc(100% + 30px);
  width: calc(100% + 30px);
  color: #fff;
  border-radius: 2px;
  transform: skew(-25deg);
}

.ButtonBox:after {
  background: #404040;
  transition: left 0.8s cubic-bezier(0.86, 0, 0.07, 1) 0.2s;
  z-index: 0;
  opacity: 1;
}

.ButtonBox:before {
  background: #f4bf1e;
  z-index: 5;
  transition: left 1s cubic-bezier(0.86, 0, 0.07, 1);
}
.ButtonBox:hover {
  color: #fff;
}
.ButtonBox:hover:after {
  left: calc(0% - 10px);
  transition: left 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.ButtonBox:hover:before {
  left: calc(0% - 10px);
  transition: left 1s cubic-bezier(0.86, 0, 0.07, 1);
}

.ButtonBox > .ButtonBorder > span {
  position: relative;
  z-index: 6;
  font-weight: 500;
}

/*#endregion */

@media screen and (max-width: 1240px) {
  dialog {
    width: 592px;
  }
  .InfoBody {
    background-image: unset;
  }
  .InfoBody > .InfoPage {
    margin-bottom: 30px;
  }

  .InfoPage > span {
    margin-bottom: 30px;
    font-size: 24px;
  }
  .InfoPage:first-child > span {
    margin-top: 30px;
  }

  .InfoPage > .spans {
    box-sizing: border-box;
    padding: 30px;
    border-radius: 10px;
    background: #2d2d2d;
  }

  .InfoPage > .swiper {
    margin-left: -5px;
  }

  .InfoPage > .swiper > .swiper-buttonBox {
    height: 0;
    opacity: 0;
  }

  .InfoPage > .swiper::before {
    top: 75px;
    position: absolute;
    z-index: 2;
    content: "";
    width: 100%;
    height: 1px;
    background: rgba(255, 196, 79, 0.2);
  }

  .swiper-slide {
    min-width: 170px;
    max-width: 170px;
  }
  .swiper .swiper-slide:first-child > span {
    border-radius: 10px 0 0 0;
  }
  .swiper .swiper-slide:first-child > .LinePointBox {
    border-radius: 0 0 0 10px;
  }

  .swiper .swiper-slide:last-child > span {
    border-radius: 0 10px 0 0;
  }
  .swiper .swiper-slide:last-child > .LinePointBox {
    border-radius: 0 0 10px 0;
  }

  .swiper-slide > .LinePointBox {
    margin-top: unset;
    margin-bottom: 10px;
    background-color: #2d2d2d;
    padding-top: 10px;
    padding-bottom: 20px;
    box-sizing: border-box;
    height: 42px;
  }

  .swiper-slide > span {
    padding-top: 20px;
    box-sizing: border-box;
    background-color: #2d2d2d;
    line-height: 40px;
    height: 60px;
  }

  .swiper-slide > .InfoBox {
    margin-left: 5px;
    margin-right: 5px;
    min-height: 450px;
    background: #2d2d2d;
  }

  .InfoBox > span:first-child {
    font-size: 20px;
  }

  .InfoPage > .CadePage3 {
    flex-direction: column;
  }

  .CadePage3 > .CadePageBox {
    margin-top: 10px;
    aspect-ratio: unset;
    width: 100%;
    max-height: 168px;
    max-width: unset;
  }

  .CadePage3 > .CadePageBox:first-child {
    margin-top: 0;
  }

  .InfoPage > .MapPage {
    aspect-ratio: 750/526;
    max-height: 526px;
    background-size: contain;
    justify-content: center;
    align-items: end;
  }

  .MapPage > .DetailMapPage {
    max-height: 224px;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 10px;
    background: #2d2d2d;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
  }
  .DetailMapPage > span {
    max-width: 264px;
    display: block;
    font-size: 16px;
    line-height: 30px;
    color: #cccccc;
    margin-top: 30px;
  }

  .DetailMapPage > span:first-child {
    font-size: 20px;
    margin-top: 0;
    font-weight: bold;
    line-height: 34px;
    color: #fff;
  }

  .DetailMapPage > span:nth-child(3) {
    margin-top: 10px;
    color: #fff;
  }

  .DetailMapPage > .ButtonBox {
    margin-top: unset;
  }
}
