.c_bg {
  background: url(../img/caststaff/bg_img.png) no-repeat;
}

.mark {
  border: 5px solid #fff;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 0;
}

.mark span {
  background: #fff;
  border-radius: 10px;
  display: block;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

#cast .cast_list {
  display: grid;
  place-items: center;
}

#cast .cast_list .cast_img {
  position: relative;
}

#cast .cast_list .cast_img:before {
  background: rgba(104, 82, 102, 0.7);
  content: '';
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: -1;
}

#cast .cast_list .cast_img a:hover img {
  -webkit-transition: .3s;
  transition: .3s;
}

#cast .cast_list .name_wrap {
  position: relative;
}

#cast .cast_list .name_wrap:before {
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: '';
  position: absolute;
  top: 0;
  z-index: -1;
}

#cast .cast_list .name_wrap .name {
  line-height: 1;
}

#cast .and_cast {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

#cast .and_cast .name_wrap {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#cast .chara_chart a {
  display: block;
  position: relative;
}

#cast .chara_chart a:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-transition: .3s;
  transition: .3s;
}

#cast .chara_chart a:hover .mark {
  opacity: .5;
}

#staff {
  background: rgba(104, 82, 102, 0.4);
}

/* MODAL */
#modal_chart .modal__content {
  height: auto !important;
  max-height: none;
}

#modal_chart .modal__content .colose_btn {
  position: absolute;
}

@media only screen and (min-width: 769px) {
  .c_bg {
    background-size: 100% 100%;
  }
  .mark {
    height: 60px;
    width: 60px;
  }
  .mark span:first-child {
    height: 5px;
    width: 40px;
  }
  .mark span:last-child {
    height: 40px;
    width: 5px;
  }
  #cast .cast_list {
    grid-template-columns: 50% 50%;
    row-gap: 80px;
  }
  #cast .cast_list .cast_img:before {
    left: 20px;
    top: 20px;
  }
  #cast .cast_list .cast_img a:hover img {
    -webkit-transform: translate(20px, 20px);
            transform: translate(20px, 20px);
  }
  #cast .cast_list .name_wrap:before {
    height: 50px;
    left: 40px;
    width: 30px;
  }
  #cast .cast_list .name_wrap .name {
    font-size: 26px;
    font-size: 2.6rem;
    padding-left: 100px;
    padding-top: 40px;
  }
  #cast .and_cast {
    font-size: 26px;
    font-size: 2.6rem;
    margin-top: 80px;
  }
  #cast .and_cast .name_wrap {
    -webkit-column-gap: 2em;
       -moz-column-gap: 2em;
            column-gap: 2em;
  }
  #cast .chara_chart {
    margin-top: 100px;
  }
  #staff {
    margin-top: 120px;
    padding: 80px 0;
  }
  #staff .staff_list {
    display: grid;
    grid-template-columns: 50% 50%;
    row-gap: 20px;
  }
  #staff .staff_list .staff_list_item p {
    font-size: 20px;
    font-size: 2.0rem;
  }
  #staff .col1 {
    grid-template-columns: 100% !important;
    margin: 20px 0;
  }
  #modal_chart .modal__content {
    max-width: 1000px;
  }
  #modal_chart .modal__content .colose_btn {
    right: -60px;
    top: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .c_bg {
    background-size: 100% auto;
  }
  .mark {
    height: 10vw;
    width: 10vw;
  }
  .mark span:first-child {
    height: 3px;
    width: 6vw;
  }
  .mark span:last-child {
    height: 6vw;
    width: 3px;
  }
  #cast .cast_list {
    background-size: 100% auto;
    margin: auto;
    row-gap: 15vw;
    width: 80%;
  }
  #cast .cast_list .cast_img:before {
    left: 4vw;
    top: 4vw;
  }
  #cast .cast_list .cast_img a:hover img {
    -webkit-transform: translate(4vw, 4vw);
            transform: translate(4vw, 4vw);
  }
  #cast .cast_list .name_wrap:before {
    height: 10vw;
    left: 8vw;
    width: 6vw;
  }
  #cast .cast_list .name_wrap .name {
    font-size: 18px;
    font-size: 1.8rem;
    padding-left: 20vw;
    padding-top: 7.5vw;
  }
  #cast .and_cast {
    font-size: 18px;
    font-size: 1.8rem;
    margin-top: 15vw;
  }
  #cast .and_cast .name_wrap {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  #cast .and_cast .name_wrap p {
    text-align: center;
    width: 40%;
  }
  #cast .chara_chart {
    margin-top: 13vw;
  }
  #staff {
    margin-top: 18vw;
    padding: 15vw 0;
  }
  #staff .staff_list .staff_list_item {
    margin-bottom: 3vw;
  }
  #modal_chart .modal__content .colose_btn {
    right: 0;
    top: -13vw;
  }
}
