/* list page */
.staff .list-type-grid__item {
  width: calc((100% - 6rem) / 4);
}

@media screen and (max-width: 768px) {
  .staff .list-type-grid__item {
    width: calc((100% - 2rem) / 2);
  }
}

/* single page */
.staff-detail .sns {
  margin: 2rem auto 0;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #aaa;
}

.staff-detail .sns__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.staff-detail .sns__item a img {
  filter: brightness(0.2);
}

.staff-detail .sns__item a:hover {
  opacity: 0.5;
}

.staff-detail__inner {
  width: 90rem;
}

.staff-detail__info {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3rem 9rem;
}

.staff-detail__info__left {
  width: 42.5rem;
  max-width: 50%;
}

.staff-detail__info__left>img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.staff-detail__info__left .spotlight-group {
  display: grid;
  row-gap: 11px;
  column-gap: 11px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 11px;
  height: auto;
}

.staff-detail__info__left .spotlight-group li {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #aaa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.staff-detail__info__left .spotlight-group li a {
  width: 100%;
  height: 100%;
  display: block;
}

.staff-detail__info__left .spotlight-group li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-detail__info__right {
  flex: 1;
}

.staff-detail__info__right dl {
  margin: 2rem 0;
}

.staff-detail__info__right dl:first-child {
  margin-top: 0;
}

.staff-detail__info__right dl:first-child dt {
  font-size: 1.6rem;
  color: #000;
}

.staff-detail__info__right dl:last-child {
  margin-bottom: 0;
}

.staff-detail__info__right dl dt {
  font-size: 1.8rem;
  color: #666;
}

.staff-detail__info__right dl dd {
  font-size: 1.6rem;
}

.staff-detail__info__right dl dd.staff-detail__info__name {
  font-size: 3.8rem;
  line-height: 1.3;
}

.staff-detail__desc {
  margin-top: 8rem;
}

.staff-detail__desc h3 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .staff-detail__info {
    flex-direction: column;
  }

  .staff-detail__info__left {
    width: 100%;
    max-width: 100%;
  }

  .staff-detail__info__right dl dt {
    font-size: 1.6rem;
  }

  .staff-detail__info__right dl:first-child dt {
    font-size: 1.3rem;
  }

  .staff-detail__info__right dl dd.staff-detail__info__name {
    font-size: 3.4rem;
  }

  .staff-detail__info__right dl dd {
    font-size: 1.4rem;
  }

  .staff-detail__desc h3 {
    font-size: 1.6rem;
  }
}
