@charset 'utf-8';
/* ======================================================
CSS information

 File Name  : staff.css
 Style Info : 「スタッフ紹介」のCSS
====================================================== */

.staff-list-block > .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

/* 560px～（タブレット）
------------------------------------*/
@media (min-width: 560px) {

  .staff-list-block > .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }

}

/* 960px～（パソコン）
------------------------------------*/
@media (min-width: 960px) {

  .staff-list-block > .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
  }

}

.staff-list-block .img-box > img {
  object-fit: cover;
  width: 100%;
  height: 230px;
  border-radius: 10px;
}

/* 560px～（タブレット）
------------------------------------*/
@media (min-width: 560px) {

  .staff-list-block .img-box > img {
    height: 300px;
  }

}

/* 960px～（パソコン）
------------------------------------*/
@media (min-width: 960px) {

  .staff-list-block .img-box > img {
    height: 370px;
  }

}

.staff-list-block .text-box > .flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-block: -1.8rem 1.5rem;
  text-align: center;
}

.staff-list-block .text-box > .flex > dt {
  letter-spacing: .1rem;
  margin-inline: auto;
  padding: .4rem 1.2rem;
  color: var(--basecolor2);
  font-size: 1.4rem;
  font-weight: 500;
  background: var(--basecolor3);
}

.staff-list-block .text-box > .flex > dd {
  letter-spacing: .2rem;
  font-size: 1.8rem;
  font-weight: 500;
}

.staff-list-block .text-box > p {
  line-height: 1.8;
  font-size: 1.4rem;
}
