.castList .castList__photo {
  position: relative;
  z-index: 1;
  transition: transform .3s ease-in-out;
}
/* style.css の img 個別スケールを打ち消し、コンテナごと拡大する方式に変更 */
.castList .castList__photo img {
  transform: none;
  transition: none;
}
.castList .castList__photo img:hover {
  transform: none;
}
.castList__photo__link:hover .castList__photo {
  transform: scale(1.1);
}
.castList__overlay {
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  padding: 24px 8px 8px;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}
/* img のディセンダー余白（インライン要素の行送り）を除去 */
.castList .castList__photo .castList__image {
  vertical-align: bottom;
}
.castList__overlay .castList__name,
.castList__overlay .castList__size {
  color: #fff;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}
.castList__name__s {
  color: #fff;
  font-size: 0.8em;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}
.castList .castList__icon li {
  background-color: #888;
  color: #fff;
}
.castList .castList__icon li.active {
  background-color: #ff66ff;
  color: #fff;
}
.castList__photo__link {
  display: block;
  overflow: hidden;
  position: relative;
}
.castList__icon {
  margin-top: 5px;
}
.castList__sns {
  display: flex;
  list-style: none;
  padding: 4px 2px;
  margin: 0;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.castList__sns li {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(0.35);
}
.castList__sns li.active {
  filter: none;
}
.castList__sns li a {
  display: flex;
  line-height: 1;
}
.castList__sns .sns-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
}
.sns-line .sns-icon-wrap { background: #06C755; }
.sns-mail .sns-icon-wrap { background: #444; }
.sns-x .sns-icon-wrap { background: #000; }
.sns-litlink .sns-icon-wrap { background: #6D4AFF; padding: 2px; }
.sns-wakaba .sns-icon-wrap { background: transparent; padding: 0; }
.castList__sns .sns-icon-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.sns-wakaba .sns-icon-wrap img {
  filter: none;
  width: 28px;
  height: 28px;
  transform: rotate(25deg);
  margin-top: 4px;
  margin-left: -7px;
}
@media (max-width: 700px) {
  .castList .castList__icon li {
    flex: 1 1 40%;
    font-size: 11px;
  }
  .castList .castList__name {
    font-size: 1.2em;
    line-height: 0.8;
}
  .castList__size {
    font-size: 11px;
    white-space: nowrap;
  }
  .castList__sns {
    justify-content: space-evenly;
    gap: 0;
    padding: 5px 0;
  }
  .castList__sns .sns-icon-wrap {
    width: 24px;
    height: 24px;
    padding: 3px;
    border-radius: 6px;
  }
  .sns-litlink .sns-icon-wrap {
    padding: 1px;
  }
  .sns-wakaba .sns-icon-wrap img {
    width: 20px;
    height: 20px;
  }
}
