@import url("https://cdn.jsdelivr.net/npm/yakuhanjp@3.0.0/dist/css/yakuhanjp.min.css");
@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&family=Noto+Sans+JP:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap");
.p_staff {
  margin: 0 auto 100px;
}

.p_staff-office:not(:last-child) {
  margin-bottom: 60px;
}
.p_staff-office__title {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 0.15em;
  text-align: center;
  background-color: #d9e5e7;
  padding: 20px;
  margin-bottom: 30px;
}

.p_staff-category:not(:last-child) {
  margin-bottom: 60px;
}
.p_staff-category__title {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 30px;
}

.p_staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 3%;
}
@media screen and (max-width: 768px) {
  .p_staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 3%;
  }
}
.p_staff-grid__item--thumb {
  padding: 12px 12px 0 16px;
  display: block;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 0;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .p_staff-grid__item--thumb {
    padding: 6px 6px 0 6px;
  }
}
.p_staff-grid__item--thumb::before {
  position: absolute;
  height: 140px;
  content: "";
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-width: 0 0 0 1px;
  border-style: solid;
  border-color: #000;
  top: -20px;
  right: 50px;
  z-index: 99;
}
@media screen and (max-width: 640px) {
  .p_staff-grid__item--thumb::before {
    height: 100px;
    top: -12px;
    right: 30px;
  }
}
.p_staff-grid__item--thumb img {
  position: relative;
}
.p_staff-grid__item--name {
  position: absolute;
  bottom: 10px;
  left: 0px;
  z-index: 7;
  width: 30px;
  color: #8aafc2;
  font-size: 2.4rem;
  line-height: 1;
  text-align: right;
  letter-spacing: 0.25em;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
@media screen and (max-width: 640px) {
  .p_staff-grid__item--name {
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0.12em;
    width: 16px;
    bottom: 5px;
  }
}
.p_staff-grid__item--number {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 7;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0;
}
@media screen and (max-width: 640px) {
  .p_staff-grid__item--number {
    font-size: 1.3rem;
    line-height: 1;
    top: 14px;
    right: 18px;
  }
}

/*# sourceMappingURL=staff.css.map */
