.cast-outer {
  position: relative;
  width: 100%;
}

.cast-border {
  margin: 0 0 4rem;
  padding: 0 0 4rem;
  border-bottom: #000 solid 1px;
}

.cast-group-detail {
  position: relative;
  width: 100%;
  margin: 0 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cast-group-logo {
  width: 30%;
  text-align: center;
}

.cast-group-logo img {
  width: 90%;
}

.cast-group-text {
  width: 65%;
  font-size: 16px;
  line-height: 1.8;
}

.cast-detail {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cast-item {
  width: 30%;
}

.thumb {
  width: 100%;
  margin: 0 0 1rem;
}

.v-1 {
  border: #b43246 solid 2px;
  box-shadow: 5px 5px 0 #b43246;
}

.v-2 {
  border: #625da1 solid 2px;
  box-shadow: 5px 5px 0 #625da1;
}

.v-3 {
  border: #4dd7e3 solid 2px;
  box-shadow: 5px 5px 0 #4dd7e3;
}

.t-1 {
  border: #ff9100 solid 2px;
  box-shadow: 5px 5px 0 #ff9100;
}

.t-2 {
  border: #296e7b solid 2px;
  box-shadow: 5px 5px 0 #000;
}

.t-3 {
  border: #b393ff solid 2px;
  box-shadow: 5px 5px 0 #b393ff;
}

.name-outer {
  width: 100%;
  margin: 0 0 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.name {
  margin: 0 2rem 0 0;
  font-size: 28px;
  font-weight: 300;
}

.cast-icon {
  width: 8%;
  margin: 0 1.5rem 0 0;
}

.name-en {
  width: 100%;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.cast-text {
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (min-width: 1px) and (max-width: 750px) {
  
  .cast-border {
    margin: 0 0 2rem;
    padding: 0 0 2rem;
  }
  
  .cast-group-detail {
    margin: 0 0 2rem;
  }
  
  .cast-group-logo {
    width: 100%;
    margin: 0 0 1rem;
    text-align: center;
  }
  
  .cast-group-logo img {
    width: 60%;
  }
  
  .cast-group-text {
    width: 100%;
    font-size: 14px;
  }
  
  .cast-detail {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .cast-item {
    width: 100%;
    margin: 0 0 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .thumb {
    width: 45%;
    margin: 0 0 1rem;
  }
  
  .v-1 {
    border: #b43246 solid 1px;
    box-shadow: 3px 3px 0 #b43246;
  }
  
  .v-2 {
    border: #625da1 solid 1px;
    box-shadow: 3px 3px 0 #625da1;
  }
  
  .v-3 {
    border: #4dd7e3 solid 1px;
    box-shadow: 3px 3px 0 #4dd7e3;
  }
  
  .t-1 {
    border: #ff9100 solid 1px;
    box-shadow: 3px 3px 0 #ff9100;
  }
  
  .t-2 {
    border: #296e7b solid 1px;
    box-shadow: 3px 3px 0 #000;
  }
  
  .t-3 {
    border: #b393ff solid 1px;
    box-shadow: 3px 3px 0 #b393ff;
  }
  
  .name-outer {
    width: 50%;
    margin: 0;
    align-items: center;;
  }
  
  .name {
    margin: 0 .8rem .3rem 0;
    font-size: 20px;
    line-height: 1;
  }
  
  .cast-icon {
    width: 12%;
    margin: 0 .6rem 0 0;

  }
  
  .name-en {
    width: 100%;
    margin: 0 0 .6rem 0;
    font-size: 12px;
  }
  
  .cast-text {
    width: 100%;
    font-size: 12px;
    line-height: 1.6;

  }
}

@media screen and (min-width: 751px) and (max-width: 1024px) {
  
  .cast-group-text {
    font-size: 14px;
  }
  
  .v-1 {
    border: #b43246 solid 1px;
    box-shadow: 4px 4px 0 #b43246;
  }
  
  .v-2 {
    border: #625da1 solid 1px;
    box-shadow: 4px 4px 0 #625da1;
  }
  
  .v-3 {
    border: #4dd7e3 solid 1px;
    box-shadow: 4px 4px 0 #4dd7e3;
  }
  
  .t-1 {
    border: #ff9100 solid 1px;
    box-shadow: 4px 4px 0 #ff9100;
  }
  
  .t-2 {
    border: #296e7b solid 2px;
    box-shadow: 4px 4px 0 #000;
  }
  
  .t-3 {
    border: #b393ff solid 1px;
    box-shadow: 4px 4px 0 #b393ff;
  }
  
  .name {
    font-size: 24px;
  }
  
  .cast-icon {
    width: 10%;
    margin: 0 1.2rem 0 0;
  }
  
  .name-en {
    font-size: 12px;
  }
  
  .cast-text {
    font-size: 12px;
  }
}

@media screen and (min-width: 1025px) {
  .guest-item:nth-child(3n) {
    margin: 0 0 3rem 0;
  }

  .guest-item:last-child {
    margin: 0 0 3rem 0;
  }
}