.home-department009 {
  position: relative;
  background-size: cover;
}

.home-department009>img {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.home-department009 .layout h1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-department009 .layout .tab-tit-box {
  margin-top: 0.4rem;
  display: flex;
}

.home-department009 .layout .tab-tit-box .tab-tit {
  margin-right: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background-color: #fac532;
  height: 0.5rem;
  min-width: 1.6rem;
  padding: 0 0.3rem;
}

.home-department009 .layout .tab-tit-box .tab-tit.cur {
  background-color: var(--ruifox-color-primary-1);
}

.home-department009 .layout .tab-tit-box .tab-tit p {
  font-size: 0.24rem;
  color: #fff;
}

.home-department009 .layout .inner-box {
  margin-top: 0.4rem;
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home-department009 .layout .inner-box .dep-box {
  width: 2.8rem;
  position: relative;
  padding: 0.4rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: width .75s;
  min-height: 6rem;
  cursor: pointer;
}

.home-department009 .layout .inner-box .dep-box+.dep-box {
  border-left: 1px solid #fff;
}

.home-department009 .layout .inner-box .dep-box.active {
  width: calc(100% - 5.6rem);
}

.home-department009 .layout .inner-box .dep-box.active .bg .before {
  opacity: 0.9;
}

.home-department009 .layout .inner-box .dep-box.active .tit-box {
  flex-direction: row;
  justify-content: space-between;
  height: auto;
}

.home-department009 .layout .inner-box .dep-box.active .tit-box .icon {
  background-color: transparent;
  width: auto;
  height: auto;
}

.home-department009 .layout .inner-box .dep-box.active .tit-box .icon i {
  font-size: 0.24rem;
}

.home-department009 .layout .inner-box .dep-box.active .tit-box .tit {
  writing-mode: horizontal-tb;
  margin: 0 0 0 0.1rem;
  flex: 1;
}

.home-department009 .layout .inner-box .dep-box.active .dep-list-box {
  height: auto;
  opacity: 1;
  visibility: visible;
}

.home-department009 .layout .inner-box .dep-box.active .dep-list-box ul li a p {
  opacity: 1;
}

.home-department009 .layout .inner-box .dep-box .bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: all 0.3s;
  background-position: left;
}

.home-department009 .layout .inner-box .dep-box .bg .before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f4eb;
  opacity: 0.7;
}

.home-department009 .layout .inner-box .dep-box .tit-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.home-department009 .layout .inner-box .dep-box .tit-box .icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.home-department009 .layout .inner-box .dep-box .tit-box .icon i {
  font-size: 0.4rem;
  color: #fff;
}

.home-department009 .layout .inner-box .dep-box .tit-box .tit {
  color: #fff;
  font-size: 0.24rem;
  writing-mode: vertical-lr;
  margin: 0.4rem 0;
  z-index: 1;
}

.home-department009 .layout .inner-box .dep-box .tit-box>i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box {
  height: 0;
  opacity: 0;
  visibility: hidden;
  /* overflow: hidden; */
  position: relative;
  margin-top: 0.4rem;
  transition: opacity .35s .5s;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.33%;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li {
  width: 24%;
  height: 0.6rem;
  margin-bottom: 0.1rem;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid #e4e4e4;
  padding: 0 0.1rem;
  position: relative;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a:hover {
  border: none !important;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a:hover.hasChild {
  border-bottom-left-radius: 0px!important;
  border-bottom-right-radius: 0px!important;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a:hover .child {
  display: block;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a p {
  line-height: 0.27rem;
  max-height: 0.54rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 0.18rem;
  opacity: 0;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a .arrow {
  margin-left: 0.1rem;
  width: 0;
  height: 0;
  font-size: 0;
  border: 0.05rem solid transparent;
  border-top-color: #fff;
  border-top-width: 0.08rem;
  border-bottom-width: 0;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a .child {
  position: absolute;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  background-color: #fff;
  z-index: 4;
  padding: 0.2rem;
  text-align: center;
  color: var(--ruifox-color-primary-1);
  font-size: 0.16rem;
}

.home-department009 .layout .inner-box .dep-box .dep-list-box ul li a .child:before {
  content: "";
  width: 0.5rem;
  border-top: 4px solid var(--ruifox-color-primary-1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 90%;
}

@media (max-width: 960px) {
  .home-department009 .layout .tab-tit-box .tab-tit p {
    font-size: 18px !important;
  }

  .home-department009 .layout .inner-box {
    flex-wrap: wrap;
    margin-top: 20px !important;
  }

  .home-department009 .layout .inner-box .dep-box {
    display: block;
    height: auto;
    padding: 20px;
    width: 100% !important;
    min-height: 170px;
  }

  .home-department009 .layout .inner-box .dep-box+.dep-box {
    border-left: none;
    border-top: 1px solid #fff;
  }

  .home-department009 .layout .inner-box .dep-box .tit-box {
    flex-direction: row;
  }

  .home-department009 .layout .inner-box .dep-box .tit-box .icon {
    width: 40px;
    height: 40px;
  }

  .home-department009 .layout .inner-box .dep-box .tit-box .icon i {
    font-size: 24px;
  }

  .home-department009 .layout .inner-box .dep-box .tit-box .tit {
    writing-mode: horizontal-tb;
    font-size: 18px !important;
    margin: 0 10px;
  }

  .home-department009 .layout .inner-box .dep-box .dep-list-box {
    margin-top: 20px !important;
  }

  .home-department009 .layout .inner-box .dep-box .dep-list-box ul {
    justify-content: space-between;
    gap: unset;
  }

  .home-department009 .layout .inner-box .dep-box .dep-list-box ul li {
    width: 48%;
  }
}

/*# sourceMappingURL=home-department009.css.map */
