.layout{
  position: relative;
  width: 100%;
}
.life-cate{
  position: fixed;
  top: 50%;
  left: 5%;
  transform: translate(-100%,-50%);
  transition: all 1s ease;
  opacity: 0;
  z-index: -5;
}
.life-cate.navFix{
  opacity: 1;
  transform: translate(-50%,-50%);
  z-index: 999;
}
.life-cate .cate-li{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,56,139,.1);
  color: var(--color);
  padding: 10px;
  text-align: center;
  transition: all .5s ease;
  margin-bottom: 20px;
  cursor: pointer;
}
.life-cate .cate-li:hover{
  background: var(--color);
  color: #fff;
}
.life-cate .cate-li.active{
  background: var(--color);
  color: #fff;
}
.txt-box{
  width: 100%;
  background:#f5f5f5;
  border-radius: 10px;
  overflow: hidden;
}
.txt-box .life-en {
  color: #231815;
  line-height: 1.1;
  text-align: center;
}

.txt-box .life-bt {
  color: #231815;
  line-height: 1.1;
  text-align: center;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 5px;
}

.txt-box .life-bt span {
  display: block;
  width: 18px;
  height: 18px;
  background: url(../img/icon.svg) no-repeat center;
  margin-left: 15px;
  margin-right: 15px;
}
.txt-box .life-ms{
  color: #231815;
  line-height: 1.8;
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.life-img{
  text-align: center;
  position: relative;
}
.life-img .img-box{
  width: 47%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.life-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .5s ease;
}
.life-img img:hover{
  transform: scale(1.05);
}
.life-intro{
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color: #222;
  line-height: 1.8;
}
.section:last-child .life-intro{
  border-bottom: none;
}
.life-intro .life-sub{
  color: #231815;
  padding-left:20px;
  position: relative;
}
.life-intro .life-sub:before{
  content: "";
  position: absolute;
  top: 50%;
  left:0;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--color);
}
.life-intro .life-xq img{
  max-width:100%;
  border-radius: 10px;
  overflow:hidden;
  margin-bottom: 10px;
}
@media only screen and (max-width: 1024px){
  .life-cate .cate-li{
    width: 50px;
    height: 50px;
  }
  .life-cate .cate-li span{
    font-size: 12px;
  }
}
@media only screen and (max-width: 768px){
  .life-cate{
    display: none;
  }
  .txt-box .life-ms{
    text-align: left;
  }
  .life-img .img-box{
    width: 100%;
  }
  .life-intro .life-xq img{
    width: auto!important;
    height: auto!important;
    max-width: 100%;
  }
}
