.p-talent {
  padding: 0 min(5.3vw,50px);
  margin-top: min(22.9vw, 90px);
}

@media only screen and (min-width: 960px) {
  .p-talent {
    padding: 0;
    margin-top: 0;
  }
}

.p-talent .c-blankBtn {
  margin: min(13.71vw, 48px) auto min(12.57vw, 44px) auto;
}

@media only screen and (min-width: 960px) {
  .p-talent .c-blankBtn {
    margin: 78px auto 118px auto;
    height: min(4.15vw, 50px);
  }
}

.p-talent__wrap {
  /*margin-top: min(10.65vw, 184px);*/
}

@media only screen and (min-width: 960px) {
  .p-talent__wrap {
    margin-top: min(10.65vw, 184px);
  }

}

.p-talent__list {
  display: grid;
  justify-content: flex-start;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 24px;
}

@media only screen and (min-width: 960px) {
  .p-talent__list {
    grid-template-columns: repeat(6, auto);
    row-gap: min(5.7vw, 77px);
  }
}

.p-talent__thumb {
  /* width: 44.78vw; */
  height: 63.36vw;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media only screen and (min-width: 960px) {
  .p-talent__thumb {
    width: min(16.67vw, 288px);
    height: min(24.13vw, 417px);
    overflow: hidden;
    margin-bottom: 14px;
  }
}

.p-talent__item {
  position: relative;
  z-index: 1;
  width: 100%;
}

@media only screen and (min-width: 960px) {
  .p-talent__item {
    width: min(16.67vw, 288px);
    margin-bottom: 14px;
  }
}

.p-talent__item:hover {
  opacity: 1 !important;
}

.p-talent__item:hover .p-talent__thumb {
  transform: rotate(3deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.p-talent__item:hover {
  z-index: 2;
}

.p-talent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-talent__name {
  text-align: center;
  font-weight: 700;
  font-size: min(4.57vw, 16px);
}

@media only screen and (min-width: 960px) {
  .p-talent__name {
    font-size: min(1.33vw, 18px);
  }
}

.p-talent__role {
  text-align: center;
  font-weight: 500;
  color: rgba(155, 155, 155, 1);
  font-size: 12px;
}

@media only screen and (min-width: 960px) {
  .p-talent__role {
    font-size: min(1.04vw, 14px);
  }
}

.c-filter {
  position: fixed;
  bottom: 8px;
  right: 8px;
  z-index: 4;
}

@media only screen and (min-width: 960px) {
  .c-filter {
    bottom: 80px;
    right: 80px;
  }
}

.c-filter__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  font-size: 15px;
  font-weight: 700;
}

.c-filter.is-open .c-filter__button {
  opacity: 0;
  pointer-events: none;
}

@media only screen and (min-width: 960px) {
  .c-filter__button {
    width: 113px;
    height: 113px;
  }
}

.c-filter__button img {
  width: 30px;
  height: 30px;
}

@media only screen and (min-width: 960px) {
  .c-filter__button img {
    width: 35px;
    height: 35px;
  }
}

.c-filter__button--text {
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font_family--en);
}

@media only screen and (min-width: 960px) {
  .c-filter__button--text {
    font-size: 17px;
    font-weight: 700;
  }
}

.c-filter__box {
  accent-color: white;
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 320px;
  padding: 24px 24px 10px;
  background-color: rgba(17, 17, 17, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}


@media only screen and (min-width: 960px) {
  .c-filter__box {
    bottom: -28px;
    right: -50px;
    width: 320px;
  }
}

.c-filter.is-open .c-filter__box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c-filter__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.c-filter__title {
  font-weight: bold;
  margin: 16px 0 8px;
  color: rgba(144, 144, 144, 1);
  font-size: 12px;
  font-family: var(--font_family--en);
}

.c-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-filter__list--all {
  margin-bottom: 20px;
}

.c-filter__list--gender,
.c-filter__list--position {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.c-filter__item {
  margin: 0;
  padding: 0;
}

.c-filter__label-text {
  position: relative;
  line-height: 1;
  font-weight: 400;
}

.c-filter__label-text--en {
  font-family: var(--font_family--en);
}

.c-filter__checkbox:checked+.c-filter__label-text {
  padding-bottom: 1px;
  font-weight: 700;
  /*border-bottom: 1px solid #fff;*/
}

.c-filter__item label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.c-filter__checkbox {
  display: none;
  margin: 0 !important;
  width: 15px;
  height: 15px;
  color: #000;
}

.c-filter__checkbox + span:before {
  position: relative;
  top: 2px; 
  display: inline-block;
  content: "";
  margin-top: 2px;
  margin-right: 6px;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: #fff;
}

.c-filter__checkbox + span:after {
  position: absolute;
  top: 7px;
  left: 1px;
  display: inline-block;
  content: "";
  width: 12px;
  height: 10px;
  background: url(../img/common/icon-check.svg) no-repeat;
  background-size: 100%;
  opacity: 0;
}

.c-filter__checkbox:checked + span:after {
  opacity: 1;
}


/* 250130修正箇所 */

/* 118行〜 */
/* 修正 */
.c-filter__button {
  width: 75px;
  height: 75px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

@media only screen and (min-width: 960px) {
  .c-filter__button {
    width: 110px;
    height: 110px;
  }
}

/* 追加 */
.c-filter.is-open .c-filter__button {
  opacity: 0;
  pointer-events: none;
}

/* 63行〜 */
/* 修正 */
.p-talent__item:hover .p-talent__thumb {
  transform: rotate(3deg) scale(1.05);
}



/* 175行〜 */
/* 修正 */
.c-filter__box {
  bottom: 8px;
}

@media only screen and (min-width: 960px) {
  .c-filter__box {
    bottom: -18px;
  }
}