@charset "utf-8";

/* -----------------------------------------------------
共通
----------------------------------------------------- */
.staff .staff_img .img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.staff .staff_img .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -----------------------------------------------------
一覧
----------------------------------------------------- */
.post_list_wrapper.staff .introduction {
  margin-bottom: 32px;
}
.post_list_wrapper.staff .post_list {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, 22%);
  grid-gap: 46px 4%;
}
.post_list_wrapper.staff .post_list.swiper {
  display: block;
}
.post_list_wrapper.staff .swiper .swiper-wrapper {
  width: fit-content;
  margin: 0 auto;
}
body.post_type_slug_staff .post_list_wrapper.staff .post_list {
  justify-content: normal;
}
.post_list_wrapper.staff a {
  flex-flow: column;
  gap: 14px;
}

.post_list_wrapper.staff .content {
  display: flex;
  flex-flow: column;
  gap: 5px;
}

.post_list_wrapper.staff .private_label {
  font-size: 1.4rem;
  margin-bottom: 0.2em;
}

.post_list_wrapper.staff .katagaki {
  font-size: 1.4rem;
  line-height: 1.5;
}
.post_list_wrapper.staff .name {
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.4;
}
.google_font_noto_sans_sans .post_list_wrapper.staff .name,
.google_font_noto_sans_serif .post_list_wrapper.staff .name {
  font-weight: 500;
}
.post_list_wrapper.staff .kana {
  font-size: 1.4rem;
  color: var(--gray_color);
  line-height: 1.5;
}
.post_list_wrapper.staff .img img,
.post_list_wrapper.staff .img svg {
  transition: transform 0.4s;
  transform: scale(1);
  will-change: transform;
}
.post_list_wrapper.staff a:hover .img img,
.post_list_wrapper.staff a:hover .img svg {
  transform: scale(1.04);
}

@media (max-width: 1000px) {
  .post_list_wrapper.staff .post_list {
    grid-template-columns: repeat(auto-fit, 30%);
    grid-gap: 40px 5%;
  }
}

@media (max-width: 767px) {
  .post_list_wrapper.staff .post_list {
    grid-template-columns: repeat(auto-fit, 46%);
    grid-gap: 40px 8%;
  }
}

@media (max-width: 640px) {
  .post_list_wrapper.staff .post_list {
    grid-template-columns: repeat(auto-fit, 48%);
    grid-gap: 30px 4%;
  }
}

/* -----------------------------------------------------
詳細
----------------------------------------------------- */
.post_detail_wrapper.staff .wrap_profile_main {
  display: flex;
}
.post_detail_wrapper.staff .wrap_profile_main.has_image {
  justify-content: space-between;
  flex-direction: row-reverse;
}
.post_detail_wrapper.staff .wrap_profile_main.no_image {
  justify-content: center;
}
.post_detail_wrapper.staff .profile_main {
  display: flex;
  flex-flow: column;
  gap: 50px;
}
.post_detail_wrapper.staff .has_image .profile_main,
.post_detail_wrapper.staff .wrap_profile_main .staff_img {
  width: 46%;
}
.post_detail_wrapper.staff .no_image .profile_main {
  width: 88%;
}
.post_detail_wrapper.staff .profile_main header {
  display: flex;
  flex-flow: column;
}
.post_detail_wrapper.staff .has_image .profile_main header {
  padding-right: 8%;
}
.post_detail_wrapper.staff .private_label {
  margin-bottom: 0.45em;
}
.post_detail_wrapper.staff .profile_main header .katagaki {
  font-size: 1.6rem;
}
.post_detail_wrapper.staff .profile_main header .name {
  font-size: 4rem;
  font-weight: normal;
  margin-bottom: 0;
}
.post_detail_wrapper.staff .profile_main header .kana {
  font-size: 1.6rem;
  color: var(--gray_color);
}

.post_detail_wrapper.staff .profile .wrap_loop_contents {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.post_detail_wrapper.staff .profile .wrap_loop_contents .loop_content {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray_color_light);
  display: flex;
  flex-flow: column;
  gap: 4px;
}
.post_detail_wrapper.staff .profile_main .loop_content.only_naiyo + .loop_content.only_naiyo {
  margin-top: 0;
}

.post_detail_wrapper.staff .profile .wrap_loop_contents .loop_content .midashi {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.post_detail_wrapper.staff .message {
  border: 1px solid var(--black_color);
  padding: 4% 5.5%;
  border-radius: 6px;
  margin-top: 64px;
}

@media (max-width: 767px) {
  .post_detail_wrapper.staff .wrap_profile_main {
    flex-flow: column;
    flex-direction: column-reverse;
  }
  .post_detail_wrapper.staff .profile_main {
    gap: 16px;
  }
  .post_detail_wrapper.staff .has_image .profile_main,
  .post_detail_wrapper.staff .no_image .profile_main,
  .post_detail_wrapper.staff .wrap_profile_main .staff_img {
    width: 100%;
  }
  .post_detail_wrapper.staff .profile_main header {
    line-height: 1.5;
  }
  .post_detail_wrapper.staff .profile_main header .katagaki {
    font-size: 1.5rem;
  }
  .post_detail_wrapper.staff .profile_main header .name {
    font-size: 3.6rem;
  }
  .post_detail_wrapper.staff .profile_main header .kana {
    font-size: 1.5rem;
  }
  .post_detail_wrapper.staff .message {
    border: none;
    padding: 0;
    border-radius: 0;
    margin-top: 40px;
  }
  .post_detail_wrapper.staff .profile .wrap_loop_contents .loop_content {
    gap: normal;
  }
  .post_detail_wrapper.staff .profile .wrap_loop_contents .loop_content .midashi {
    font-size: 1.7rem;
  }
}
