:root {
  --primary-color: #2476B4;
  --text-color: #333;
  --background-color: #fff;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10%;
  row-gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.staff-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: hidden;
  height: auto;
}

.staff-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.staff-image {
  width: 100%;
  height: 14rem;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.4375rem;
}

.staff-info {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.staff-name-en {
  display: block;
  color: #00547D;
font-family: "Open Sans", sans-serif;
font-size: 0.875rem;
font-style: normal;
font-weight: 600;
line-height: 0.875rem; /* 100% */
letter-spacing: 0.0175rem;
margin-bottom: .5rem;
}

.staff-name {
  color: #002C44;
font-size: 2rem;
font-style: normal;
font-weight: 700;
line-height: 2rem; /* 100% */
letter-spacing: 0.08rem;
margin-bottom: .75rem;
}

.staff-title {
  margin-bottom: 1.5rem;
  color: #002C44;
  font-family:  "noto-sans-cjk-jp", sans-serif;
font-size: 0.9375rem;
font-style: normal;
font-weight: 400;
line-height: 1.625rem; /* 173.333% */
letter-spacing: 0.0375rem;
}

.button-wrapper {
  text-align: center;
}

/* .read-more {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
  width: 100%;
  justify-content: center;
} */

.staff-info .button-large  {
  align-self: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.staff-info .button-large a {
  display: inline-block;
  margin: 0 auto;
}



@media (max-width: 1024px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10%;
    row-gap: 5rem;
    padding-right: 3.4rem;
    padding-left: 3.4rem;
  }

  .staff-info .button-large  {
    display: inline-block;
    width: auto;
  }
  
  .staff-info .button-large a {
    width: auto;
  }

  .staff-name {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .staff-grid {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }
  .staff-info {
    align-items: center;
  }

  .staff-name-en {
    font-size: 0.75rem;
font-style: normal;
font-weight: 600;
line-height: 0.875rem; /* 116.667% */
letter-spacing: 0.015rem;
  }

  .staff-info {
    padding: 1rem 0;
  }




}