@charset "UTF-8";

/* -------------------------------------
　STAFF TOP
------------------------------------- */
.staff-list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
}
.staff-list ul li a {
  display: inline-block;
  padding: 15px 20px 15px 20px;
  width: 100%;
  color: var(--font-color);
  text-decoration: none;
  background-color: var(--bg);
}
.staff-list ul li a figure img {
  display: block;
  width: 100%;
  aspect-ratio: 197 / 226;
  object-fit: cover;
}
.staff-list ul li a .text {
  padding-top: 15px;
}
.staff-list ul li a .text .name {
  margin-bottom: 5px;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
}
.staff-list ul li a .text .position {
  font-size: 1.2rem;
  line-height: 1.3;
}
@media screen and (max-width: 767px) {
  .staff-list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .staff-list ul li a {
    padding: 10px 10px;
    height: 100%;
  }
  .staff-list ul li a .text {
    padding-top: 12px;
  }
  .staff-list ul li a .text .name {
    margin-bottom: 2px;
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .staff-list ul li a .text .position {
    font-size: 1.3rem;
    line-height: 1.4;
  }
}

/* -------------------------------------
　STAFF 詳細
------------------------------------- */
.staff-detail-box {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.staff-detail-box figure {
  width: 100%;
  max-width: 197px;
}
.staff-detail-box figure img {
  display: block;
  width: 100%;
  aspect-ratio: 197 / 226;
  object-fit: cover;
}
.staff-detail-box .staff-desc {
  flex: 1;
}
@media screen and (max-width: 767px) {
  .staff-detail-box {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px 0;
  }
  .staff-detail-box figure {
    margin: 0 auto;
    width: 100%;
    max-width: 130px;
  }
}

/* タイトル */
.staff-detail-box .staff-desc .post-name {
  padding-bottom: 30px;
}
.staff-detail-box .staff-desc .post-name p {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.staff-detail-box .staff-desc .post-name h3 {
  margin-bottom: 8px;
  padding-bottom: 18px;
  font-size: 2.6rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  position: relative;
}
.staff-detail-box .staff-desc .post-name h3::after {
  content: '';
  display: block;
  border-bottom: 3px solid var(--main-color);
  width: 30px;
  position: absolute;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  .staff-detail-box .staff-desc .post-name {
    padding-bottom: 15px;
    text-align: center;
  }
  .staff-detail-box .staff-desc .post-name p {
    margin-bottom: 5px;
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
  }
  .staff-detail-box .staff-desc .post-name h3 {
    margin-bottom: 8px;
    padding-bottom: 12px;
    font-size: 1.8rem;
  }
  .staff-detail-box .staff-desc .post-name h3::after {
    width: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* コメント */
.staff-comment {
  margin-bottom: 30px;
}
.staff-comment:last-child {
  margin-bottom: 0;
}
.staff-comment p {
  margin-bottom: 0.8em;
}
.staff-comment p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .staff-comment {
    margin-bottom: 20px;
  }
}

/* 表 */
.staff-detail-box .staff-desc table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px dashed var(--border);
}
.staff-detail-box .staff-desc table tr {
  border-bottom: 1px dashed var(--border);
}
.staff-detail-box .staff-desc table th {
  padding: 15px 0;
  width: 8em;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}
.staff-detail-box .staff-desc table td {
  padding: 15px 0;
}
.staff-detail-box .staff-desc table td p {
  margin-bottom: 1em;
}
.staff-detail-box .staff-desc table td p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .staff-detail-box .staff-desc table {
    border-top: none;
  }
  .staff-detail-box .staff-desc table tr {
    border-bottom: none;
  }
  .staff-detail-box .staff-desc table th {
    display: block;
    margin-bottom: 10px;
    padding: 5px 10px 3px 10px;
    width: 100%;
    background-color: var(--bg);
  }
  .staff-detail-box .staff-desc table td {
    display: block;
    width: 100%;
    padding: 0 10px 20px 10px;
  }
}
