.consultant-box {
  position: relative;
  width: 84.3333333333vw;
  max-width: 1000px;
  margin: 0 auto;
  /* overflow: hidden; */
}

.consultant-text-start {
  text-align: start !important;
}

.consultant-list__link {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  list-style: none;
}

.consultant-list__link--index {
  display: flex;
  align-items: center;
  color: #7e8083;
  font-size: 13px;
  gap: 10px;
}

.consultant-list__link--index span {
  display: block;
  width: 50px;
  height: 1px;
  background-color: #bebebe;
}

.consultant-list__link--project {
  position: relative;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.consultant-active span::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  right: 0;
  background-color: #52b7b6;
}

/* CONTENT */
.consultant-content {
  /* background-color: #F5F5F5; */
  /* margin-top: 80px; */
  /* padding-bottom: 80px; */
}

.consultant-content__ttl {
  position: absolute;
  color: #52b7b6;
  top: -33px;
  left: 0;
}

.consultant-content__text {
  padding: 40px 0 60px 0;
}

.consultant-content__wrap {
  position: relative;
  display: flex;
  width: 100%;
  height: 300px;
  gap: 50px;
}

.consultant-content .consultant-content__wrap::before {
  content: "";
  display: block;
  width: 130%;
  height: 104%;
  background: #fff;
  position: absolute;
  right: -49%;
  bottom: -10%;
  z-index: 0;
}

.consultant-content__wrap figure {
  flex: 1;
  z-index: 1;
  width: 32.9428989751vw;
  height: 333px;
  /* max-width: 450px; */
  margin: 0 50px 0 0;
}

.consultant-content__wrap figure img {
  border-radius: 10px;
}

.consultant-content__wrap div {
  flex: 1;
  z-index: 1;
}

.consultant-content__wrap .name {
  display: flex;
  gap: 10px;
  margin: 40px 0 0 0;
  font-size: var(--fs-20);
  line-height: 1;
}

.consultant-content__wrap .name span {
  display: block;
  margin: 10px 0 0;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: var(--fs-13);
  color: #bebebe;
}

.consultant-content__wrap .category {
  display: inline;
  color: #52b7b6;
  padding: 0 0 20px 0;
  font-size: var(--fs-14);
}

.consultant-content__wrap .comment {
  padding-top: 10px;
  margin: 20px 0 0 0;
}

.staff .president div p.name {
  margin-bottom: 0px;
}

.consultant-content__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 100px 0 0 0;
}

.consultant-content__item--wrap {
  cursor: pointer;
}

/* .consultant-content__item--wrap {
  position: relative;
  width: 150px;
  min-height: 140px;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.consultant-content__item--wrap::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  transform: skewX(-16deg);
  position: absolute;
  right: -64%;
  top: 0;
  z-index: 0;
  transition: background 0.3s;
}

.consultant-content__item--wrap:hover::after,
.consultant-content__item--wrap-active::after {
  background: #52B7B6;
} */

/* .consultant-content__item {
  display: flex;
  align-items: flex-end;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  border-radius: 5px;
  margin-top: 15px;
  height: 100%;
} */

/* .consultant-content__item .name {
  width: 100%;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: var(--fs-12);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  text-align: left;
  transform-origin: left top;
  transform: rotate(90deg);
  position: absolute;
  top: 0;
  left: calc(100% - 10px);
  z-index: 1;
} */

.consultant-content__item div {
  position: relative;
  overflow: hidden;
  inset: 0;
  z-index: 10;
  border-bottom-right-radius: 5px;
}

.consultant-content__item figure {
  position: relative;
  z-index: 10;
}

.consultant .reverse {
  flex-direction: row;
}

.consultant_list_mb {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
}

.consultant .consult:before {
  display: none;
}

@media (max-width: 1000px) {
  .consultant-content__wrap {
    height: auto;
  }
  .consultant .consult:before {
    display: block;
  }
  .consultant .ttl-02 span {
    font-size: 43px !important;
    text-align: center !important;
  }

  .consultant_thumb .slick-slide {
    margin: 0 7px;
  }

  .consultant_thumb .slick-track {
    gap: 20px;
  }

  .consultant .consultant-list__link {
    flex-direction: column;
    align-items: flex-start;
  }

  .consultant .reverse {
    flex-direction: column-reverse;
  }

  .consultant .comment {
    /* height: 300px; */
  }

  .staff .consult--slide .flex-box .comment {
    padding-top: 20px;
  }

  .consultant-content {
    margin-top: 50px;
    padding-bottom: 20px;
  }

  .consultant-content > .consultant-box {
    /* display: none; */
  }

  .consultant-content__wrap {
    width: 84.3333333333vw;
    margin: 0 auto;
  }

  .consultant-content__wrap figure {
    width: 84.3333333333vw;
    margin: 0 auto;
  }

  .consultant-content__wrap::before {
    width: 150vw;
    right: -50px;
    top: 100px;
  }

  .consultant-content__list {
    padding: 0;
  }

  .consultant_thumb .thumb {
    position: relative;
  }
  /* .consultant-content__item--wrap {
    width: 160px;
  } */

  .consultant .flex-box {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  .consultant .consult {
    padding-top: 0px;
  }
}

@media (max-width: 1000px) and (min-width: 760px) {
  .consultant-box {
    margin-top: 30px;
  }
}
.border-bottom {
  border-bottom: 5px;
  border-color: gray;
  background-size: auto !important;
}

.home-footer {
  position: relative;
}

.home-footer__btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #e5a723;
  padding: 10px 40px;
  color: #fff;
  text-align: center;
}
.home-footer__btn a {
  color: #fff;
}
.home-footer__btn--arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1700px) {
  .thumb {
    width: 1000px;
    margin-top: 80px;
  }
  .staff .consult:before {
    height: 0%;
  }
}

@media (max-width: 760px) {
  .thumb {
    width: 1000px;
    margin-top: 50px;
  }
  .staff .consult:before {
    height: 36%;
  }
}
