@charset "utf-8";

/*-----------------------------

LIST（一覧）

----------------------------*/

.cast_box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.cast_box li {
  width: calc((100% - 20px) / 3);
  margin-bottom: 2%;
}

@media screen and (min-width: 769px) {
  .cast_box li {
    width: calc((100% - 30px) / 4);
    margin-bottom: auto;
  }
}

/*セラピスト写真*/

.cast_box li .img_box {
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 640;
  overflow: hidden;
  margin-bottom: 4px;
}

.cast_img img {
  width: 100%;
  aspect-ratio: 480 / 640;
  object-fit: cover;
}

/*新人マーク*/

.cast_box .icon_new {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 30%;
}

.cast_box .icon_new .new_icon {
  width: 100%;
}

/*セラピスト名前*/

.cast_box .name_holder {
  height: 1lh;
  display: flex;
  justify-content: center;
  gap: 5px;
  line-height: 1;
  margin-bottom: 0.1lh;
}

.cast_box .name_holder .cast_level {
  min-width: 2rem;
  max-width: 2rem;
  display: flex;
  align-items: center;
}

.cast_box .name_holder .cast_level img {
  width: 100%;
}

.cast_box .name_holder .name {
  font-size: 0.8rem;
  white-space: nowrap;
  line-height: 1.2;
}

.cast_box .name_holder .name span {
  font-size: 0.5rem;
}

.cast_box .data {
  font-size: 0.8rem;
  color: #333;
}

.cast_box .cast_copy {
  font-size: 0.8rem;
}

/*出勤時間*/
.cast_box .time {
  font-size: 0.6rem;
  color: #333;
  line-height: 1.2;
  background: #e0f3fd;
  border: 1px solid #7d95d3;
  border-radius: 25px;
  width: 100%;
  box-sizing: border-box;
  padding: 0.1lh 0 0 0;
  margin: 0.5lh auto 0 auto;
}

@media screen and (min-width: 769px) {
  .cast_box .name_holder {
    height: 1.8lh;
  }

  .cast_box .name_holder .cast_level {
    min-width: 3.5rem;
    max-width: 3.5rem;
  }

  .cast_box .name_holder .name {
    font-size: 1.4rem;
  }

  .cast_box .name_holder .name span {
    font-size: 0.8rem;
  }

  .cast_box .data {
    font-size: 1rem;
  }

  .cast_box .cast_copy {
    font-size: 1rem;
  }

  .cast_box .time {
    font-size: 1rem;
  }
}
