.layout-header .navbar .tools {
  height: 30px;
}

.xkfx {
  position: relative;
  height: 700px;
  background: url('./xkfx-bg.png') no-repeat bottom center;
  margin-bottom: -100px;
}
.xkfx .title {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 16px;
  margin-left: 8px;
  font-size: 22px;
  font-weight: bold;
  color: #042462;
  line-height: 1.2;
}

.xkfx .category {
  width: 350px;
}
.xkfx .category .category-name {
  position: absolute;
  left: 50%;
  width: 150px;
  height: 150px;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 24px;
  line-height: 1.1;
  color: #fff;
  font-weight: bold;
}

/* .xkfx .category .category-name:hover + .category-list {
  display: block;
} */

.xkfx .category .category-list {
  display: none;
  position: absolute;
  left: 50%;
  margin-bottom: 75px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  border-width: 2px;
  border-style: solid;
  box-sizing: border-box;
}
.xkfx .category .category-list .category-list-arrow {
  width: 11px;
  height: 32px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.xkfx .category .category-list div {
  width: 155px;
  height: 32px;
  border-radius: 4px;
  line-height: 32px;
  padding: 0 16px;
  color: #fff;
}
.xkfx .category .category-list div:hover {
  opacity: 0.8;
  cursor: pointer;
}

.xkfx .category .category-list div + div {
  margin-top: 8px;
}

/* 1 */
.xkfx .category.category1 .category-name {
  transform: translateX(-175px);
  bottom: 440px;
  background: #16859d;
}
.xkfx .category.category1 .category-list {
  border-color: #16859d;
  bottom: 440px;
  transform: translateX(-375px) translateY(50%);
}
.xkfx .category .category-list .category-list-arrow {
  background: url('./xkfx-arrow1.png') no-repeat;
  right: -11px;
}

.xkfx .category.category1 .category-list div {
  background: #16859d;
}

/* 2 */
.xkfx .category.category2 .category-name {
  transform: translateX(105px);
  bottom: 380px;
  background: #3da08f;
}
.xkfx .category.category2 .category-list {
  border-color: #3da08f;
  bottom: 380px;
  transform: translateX(275px) translateY(50%);
}
.xkfx .category.category2 .category-list .category-list-arrow {
  background: url('./xkfx-arrow2.png') no-repeat;
  left: -11px;
}

.xkfx .category.category2 .category-list div {
  background: #3da08f;
}

/* 3 */
.xkfx .category.category3 .category-name {
  transform: translateX(-290px);
  bottom: 180px;
  background: #3f72a5;
}
.xkfx .category.category3 .category-list {
  border-color: #3f72a5;
  bottom: 180px;
  transform: translateX(-490px) translateY(50%);
}
.xkfx .category.category3 .category-list .category-list-arrow {
  background: url('./xkfx-arrow3.png') no-repeat;
  right: -11px;
}

.xkfx .category.category3 .category-list div {
  background: #3f72a5;
}

/* 4 */
.xkfx .category.category4 .category-name {
  transform: translateX(135px);
  bottom: 80px;
  background: #4e64a0;
}
.xkfx .category.category4 .category-list {
  border-color: #4e64a0;
  bottom: 80px;
  transform: translateX(310px) translateY(50%);
}
.xkfx .category.category4 .category-list .category-list-arrow {
  background: url('./xkfx-arrow4.png') no-repeat;
  left: -11px;
}

.xkfx .category.category4 .category-list div {
  background: #4e64a0;
}

@media screen and (max-width: 1280px){
  .xkfx {
    margin-bottom: -20px;
  }
}

@media screen and (max-width: 1024px) {
  .xkfx {
    height: auto;
    min-height: 700px;
    padding: 70px 0 80px;
  }
  .xkfx .title {
    display: none;
  }

  .xkfx .category .category-name {
    margin-top: 260px;
  }

  .xkfx .category .category-list {
    top: auto;
    margin-bottom: 560px;
  }

  .xkfx .category.category1 .category-list,
  .xkfx .category.category2 .category-list,
  .xkfx .category.category3 .category-list,
  .xkfx .category.category4 .category-list {
    position: relative;
    left: auto;
    top: 20px;
    transform: translateX(0) translateY(0);
    width: calc(100vw - 30px);
    /* margin-top: 20px; */
  }

  .xkfx .category.category1 .category-list .category-list-arrow,
  .xkfx .category.category3 .category-list .category-list-arrow {
    left: 50%;
    right: auto;
    bottom: -21px;
    top: auto;
    transform: translateX(-50%) translateY(0) rotate(90deg);
  }

  .xkfx .category.category2 .category-list .category-list-arrow,
  .xkfx .category.category4 .category-list .category-list-arrow {
    left: 50%;
    right: auto;
    bottom: -21px;
    top: auto;
    transform: translateX(-50%) translateY(0) rotate(-90deg);
  }

  .xkfx .category .category-list div {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .xkfx {
    min-height: 480px;
    background-size: 375px auto;
    padding: 70px 0 120px;
  }
  .xkfx .category .category-name {
    width: 100px;
    height: 100px;
    font-size: 14px;
  }

  .xkfx .category .category-list {
    top: auto;
    margin-bottom: 300px;
  }

  .xkfx .category.category1 .category-name {
    transform: translateX(-120px);
    margin-bottom: -170px;
  }
  .xkfx .category.category2 .category-name {
    transform: translateX(65px);
    margin-bottom: -160px;
  }
  .xkfx .category.category3 .category-name {
    transform: translateX(-180px);
    margin-bottom: -60px;
  }
  .xkfx .category.category4 .category-name {
    transform: translateX(75px);
    margin-bottom: -40px;
  }
}
