@charset "UTF-8";
body {
  background-color: #F2EDEE;
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100%;
  background-image: url("../images/diwen_bg.png");
}

.section {
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: auto 56%;
  transition: all 0.8s ease-in-out;
}

.section-qy {
  background-image: url("../images/product/qy_banner.png");
}

.section-yy {
  background-image: url("../images/product/yy_banner.png");
}

.section-ym {
  background-image: url("../images/product/ym_banner.png");
}

@media screen and (min-width: 768px) {
    .section:hover{
        background-position: center -3%;
        background-size: auto 57%;
    }
}

@media screen and (max-width: 767px) {
  .section-qy {
    background-size: auto 25%;
  }
  .section-yy {
    background-position: 60% top;
    background-size: auto 50%;
  }
  .section-ym {
    background-size: auto 50%;
  }
}

.txt-box {
  padding: 5.8% 0 4.8%;
  color: #F2EDEE;
  max-width: 600px;
}

.txt-box .title {
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: nansongshuju;
  box-shadow: 0 0 0 1px #F2EDEE inset;
  border-radius: 2px;
  padding: 8px 24px;
}

.txt-box .intro {
  padding-top: 2.5%;
  width: 100%;
  text-align: justify;
}

.txt-box .intro .cell {
  display: flex;
  line-height: 28px;
}

.txt-box .intro .cell .label {
  flex-shrink: 0;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .txt-box {
    background-color: rgba(0, 0, 0, 0.2);
    max-width: 100%;
  }
  .txt-box .title {
    font-size: 24px;
    padding: 8px 14px;
  }
  .txt-box .intro .cell {
    line-height: 24px;
  }
}

/* 关注我们 */
.list {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 6%;
}

.list .item {
  width: 31%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("../images/product/pic_bg.png");
  margin-bottom: 3.5%;
}

.list .item:not(:nth-child(3n)) {
  margin-right: 3.3%;
}

.list .item .pic {
  position: relative;
}

.list .item .pic .mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 1, 1, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.list .item .pic .mask .btn {
  width: 140px;
  height: 40px;
  background: var(--c-primary);
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FEFEFE;
  visibility: hidden;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s;
}

.list .item .pic .mask .btn:hover {
  background: var(--c-primary-hover);
}

.list .item .title {
  font-size: 20px;
  color: #291819;
  padding: 20px 0 15px;
  transition: all 0.3s;
}

.list .item .arrow {
  position: relative;
  width: 38px;
  height: 2px;
  background-color: #E6E1E2;
  transition: all 0.3s;
  margin-bottom: 10px;
}

.list .item .arrow::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 15px;
  height: 2px;
  background-color: #E6E1E2;
  transform: rotate(45deg);
  transform-origin: right bottom;
  transition: all 0.3s;
}

.list .item .dot {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.list .item .dot .s-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background-color: #E6E1E2;
  margin: 0 4px;
}

.list .item:not(:last-child) {
  cursor: pointer;
}

.list .item:not(:last-child):hover .pic .mask {
  background-color: rgba(3, 1, 1, 0.5);
}

.list .item:not(:last-child):hover .pic .mask .btn {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.list .item:not(:last-child):hover .title {
  color: var(--c-primary);
}

.list .item:not(:last-child):hover .arrow {
  background-color: var(--c-primary);
}

.list .item:not(:last-child):hover .arrow::before {
  background-color: var(--c-primary);
}

@media screen and (max-width: 767px) {
  .list {
    justify-content: space-between;
  }
  .list .item {
    width: 49%;
    padding: 5px;
    margin-right: 0 !important;
  }
  .list .item .pic {
    position: relative;
  }
  .list .item .pic .mask {
    display: none;
  }
  .list .item .title {
    font-size: 18px;
    padding: 10px 0 15px;
  }
}
