.banner {
  width: 90%;
  height: 330px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.banner .text {
  font-family: "Noto Sans SC";
  font-size: 36px;
  font-weight: 800;
  line-height: 36px;
  color: #353535;
}
.case {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 200px;
}
.case .nav ul {
  display: flex;
}
.case .nav ul li {
  margin-right: 32px;
}
.case .nav ul li a {
  font-family: "Noto Sans SC";
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  color: #353535;
  position: relative;
}
.case .nav ul li a::after {
  content: '';
  width: 0;
  height: 1px;
  background-color: #353535;
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: 0.5s;
}
.case .nav ul li:first-child a {
  font-family: "Montserrat-Bold";
}
.case .nav ul li.active a::after {
  width: 100%;
}
.case .nav ul li:hover a::after {
  width: 100%;
}
.case .list {
  width: 100%;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 32px;
}
.case .list .item {
  width: 100%;
}
.case .list .item .item-box {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.case .list .item .item-box .img {
  width: 100%;
  aspect-ratio: 385/297;
}
.case .list .item .item-box .img img {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.case .list .item .item-box .img video {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.case .list .item .item-box .box {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(35, 35, 35, 0.6);
  opacity: 0;
  transform: scale(1.2);
  transition: 0.5s;
}
.case .list .item .item-box .box .name {
  font-family: "Noto Sans SC";
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  text-decoration: underline;
  color: #EBEBEB;
  position: absolute;
  top: 28px;
  left: 24px;
}
.case .list .item .item-box .box .button {
  width: 24px;
  height: 25px;
  position: absolute;
  top: 28px;
  right: 20px;
}
.case .list .item .item-box .box .button img {
  width: 100%;
}
.case .list .item .item-box .box .text {
  width: calc(100% - 48px);
  position: absolute;
  bottom: 28px;
  left: 24px;
}
.case .list .item .item-box .box .text .title {
  font-family: "Noto Sans SC";
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
  color: #EBEBEB;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.case .list .item .item-box .box .text .p {
  font-family: "Noto Sans SC";
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: #EBEBEB;
  margin-top: 10px;
  margin-right: 20px;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.case .list .item .item-box a {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.case .list .item .label {
  margin-top: 14px;
  width: 100%;
  display: flex;
  overflow-x: auto;
}
.case .list .item .label .label-item {
  width: auto;
  height: 26px;
  border-radius: 2px;
  background: #2F2F2F;
  margin-right: 8px;
}
.case .list .item .label .label-item a {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0 12px;
  font-family: "Montserrat-Medium";
  font-size: 14px;
  line-height: 26px;
  color: #BFBFBF;
  text-wrap: nowrap;
}
.case .list .item .item-title {
  margin-top: 11px;
  font-family: "Noto Sans SC";
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  color: #3E3E3E;
}
.case .list .item .item-title a {
  color: #3E3E3E;
}
.case .list .item .item-p {
  font-family: "Noto Sans SC";
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: #C2C2C2;
}
.case .list .item:hover .img img {
  transform: scale(1.1);
}
.case .list .item:hover .box {
  transform: scale(1);
  opacity: 1;
}
.case .list .item.active .img img {
  transform: scale(1.1);
}
.case .list .item.active .box {
  transform: scale(1);
  opacity: 1;
}
@media screen and (max-width: 1360px) {
  .case .list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 18px;
  }
}
@media screen and (max-width: 820px) {
  .case .list {
    width: 100%;
    display: block;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 24px;
    row-gap: 18px;
  }
  .case .list .item {
    margin-bottom: 40px;
  }
  .case .nav ul {
    display: flex;
    overflow-x: auto;
    height: 42px;
  }
  .case .nav ul li a {
    text-wrap: nowrap;
  }
  .case .list .item .item-box .box .text {
    position: absolute;
    bottom: 28px;
    left: 5%;
    width: 90%;
  }
  .case .list .item .item-box a {
    display: none;
  }
}
