.cast-mark {
  width: 15%;
  margin: 0 auto;
}

.cast-group-name {
  width: 100%;
  margin: 0 0 2rem;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 32px;
}

.cast-frame {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.cast-item {
  border: var(--color) solid 2px;
}

.cast-image {
  position: relative;
}

.cast-name {
  padding: 0.3em;
  color: #fff;
  font-size: var(--fs-name);
  font-weight: 600;
  background-color: var(--color);
  line-height: 1.4;
}

.cast-name span {
  display: block;
  font-size: 80%;
  font-weight: 400;
}

.cast-sns {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cast-sns img {
  width: 30px;
  margin: 0 3px;
  filter:
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .cast-mark {
    width: 25%;
  }

  .cast-group-name {
    margin: 0 0 1.5rem;
    font-size: 28px;
  }

  .cast-frame {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cast-item {
    width: 31%;
  }

  .cast-name {
    padding: 0.3em;
    font-size: 3.2vw;
  }

  .cast-name span {
    font-size: 70%;
  }

  .cast-sns {
    padding: 0.2rem 0 0.2rem 0.2rem;
  }

  .cast-sns img {
    width: 22px;
    margin: 0 2px;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {}