main h2 {
  text-align: center;
  font-size: 2.5vw;
  font-weight: 500;
  letter-spacing: 0.1vw;
  background: linear-gradient(to right, #000, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: "Playfair Display", serif;
  margin-top: 5vw;
}

.staff-card {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5vw auto;
}

.staff-card img {
  width: 70%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.staff-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5vw;
}

.staff-name .name-ja {
  font-size: 1.5vw;
  font-weight: 400;
}

.staff-name .name-en {
  font-size: 1.5vw;
  font-weight: 300;
}

.staff-card .position {
  font-size: 1.2vw;
  margin: 1vw 0;
  color: #333;
}

.message {
  text-align: center;
  margin: 3vw 0;
  font-size: 1.2vw;
  font-weight: 300;
}
.staff-info-row {
  width: 90%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
  font-weight: 300;
  font-size: 1vw;
  margin-top: 0.5vw;
}

.staff-info-row .label {
  width: 35%; /* ラベルを固定幅にする */
  flex-shrink: 0; /* 潰されないように */
}

.staff-info-row .value {
  flex: 1;
  white-space: pre-wrap; /* 改行を反映＋折り返し */
  word-break: break-word;
}

@media screen and (orientation: portrait) {
  main h2 {
    font-size: 5vw;
    letter-spacing: 0.2vw;
    margin-top: 10vw;
  }

  .staff-card {
    width: 80%;
    margin: 10vw auto;
  }

  .staff-card img {
    width: 70%;
  }

  .staff-name {
    margin: 2vw auto 0;
  }

  .staff-name .name-ja {
    font-size: 3.5vw;
  }

  .staff-name .name-en {
    font-size: 3vw;
  }

  .staff-card .position {
    font-size: 3vw;
    margin: 2vw 0;
  }

  .message {
    margin: 3vw 0;
    font-size: 2.5vw;
  }
  .staff-info-row {
    font-size: 2.5vw;
    margin-top: 1vw;
  }
}
