.text_center {
  text-align: center;
}

.staff-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* スマホなどで自動的に折り返し */
  gap: 40px;
}

.staff-card {
  background-color: white;
  padding: 10px 12px 40px;
  border-radius: 14px;
  /* border: 1px solid #848375; */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  width: calc(33.333% - 30px); /* 3つのカードを横並びに配置 */
  transition: transform 0.3s ease;
}

.staff-card .staff-info {
  min-height: 100px;
  padding: 0 20px;
}

.staff-card:hover {
  transform: translateY(-10px); /* カードが浮き上がるように */
}

.staff-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

.staff-name {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.staff-fee,
.staff-experience {
  font-size: 14px;
  text-align: center;
  color: #555;
  margin-top: 5px;
}

.staff-reservation-btn {
  display: inline-block;
  background-color: #a7660f; /* ブルー */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  width: 150px;
  max-width: 100%;
}

.staff-reservation-btn:hover {
  background-color: #2563eb; /* ホバー時に色が少し暗くなる */
}

@media screen and (max-width: 1200px) {
  .staff-img {
    height: 200px;
  }
}
@media screen and (max-width: 1024px) {
  .staff-cards {
    gap: 20px;
  }
  .staff-card {
    width: calc(33.333% - 15px);
    padding: 10px 12px 30px;
  }
  .staff-card .staff-info {
    padding: 0 16px;
  }
  .staff-img {
    height: 200px;
  }
}
@media screen and (max-width: 768px) {
  .staff-card {
    width: calc(50% - 15px);
  }
  .staff-img {
    height: 250px;
  }
}
@media screen and (max-width: 640px) {
  .staff-card {
    width: calc(50% - 15px);
  }
  .staff-img {
    height: 250px;
  }
}
@media screen and (max-width: 425px) {
  .staff-card {
    width: 100%;
  }
  .staff-img {
    height: 250px;
  }
}
