
#chart .diagram {
  position: relative;
  margin: 0 auto;
  background-size: 100%;
}

#chart .diagram ul, #chart .diagram ul li {
  position: absolute;
  width: max-content;
  height: max-content;
}

#chart .diagram ul li a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

#chart .diagram ul li a img {
  display: block;
}
#chart .diagram ul li.sz-l a img {
  width: 236px;
  height: 262px;
}

#chart .diagram ul li.sz-m a img {
  width: 189px;
  height: 209px;
}

#chart .diagram ul li.sz-s a img {
  width: 140px;
  height: 160px;
}

#chart ul li.chara_a {
  left: 244px;
  top: 57px;
}

#chart ul li.chara_b {
  left: 508px;
  top: 107px;
}

#chart ul li.chara_c {
  left: 24px;
  top: 107px;
}

#chart ul li.chara_d {
  left:68px;
  top: 354px;
}

#chart ul li.chara_e {
  left: 288px;
  top: 354px;
}

#chart ul li.chara_f {
  left: 508px;
  top: 354px;
}

#chart ul li.chara_g {
  left:68px;
  top: 594px;
}

#chart ul li.chara_h {
  left: 288px;
  top: 598px;
}

#chart ul li.chara_i {
  left: 749px;
  top: 297px;
}

#chart ul li.chara_j {
  left: 749px;
  top: 57px;
}


@media all and (min-width: 768px) {
	.chart.low div.wrap .contentsBlock .contentsBox {padding: 20px 0 40px!important;}
	#chart .diagram { width:944px; height: 840px; margin: 0 auto 40px;}
	.chart div.sns-share section {
    margin: 0 20px 0 auto;
}
}
@media all and (max-width: 767px) {
	.chart.low div.wrap .contentsBlock .contentsBox {padding: 0.5em  0.5em 15px!important;}

  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding:88.983% 0 0; margin-bottom: 1em;
    background-size: cover;
  }

  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}



#cast_dt {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 10000 !important;
    bottom: 0;
    /* left: 0; */
    right: 0;
    margin: auto;
}

#cast_dt .btn-w-close a {
  display: block;
  width: 93px;
  height: 39px;
  background-image: url(../img/chart/close.png);
	background-repeat: no-repeat; background-position: 0 0; background-size: contain;
  margin: 0 auto;
}

#cast_dt .btn-w-close a {
  cursor: pointer;
}

@media all and (min-width: 768px) {
  #cast_dt {
    width: 750px;
    height: 400px;
    margin-left: -375px;
  }
  

  #cast_dt .btn-w-close {
    position: absolute;
    right: 15px;
    bottom: 15px;
  }
}

@media all and (max-width: 767px) {
  #cast_dt {
    width: 100%;
    margin: 10px -50% 10px!important;
  }
	div.character { position: relative;}
  #cast_dt .btn-w-close a {
    margin: 5% auto 3.5%; width: 100%; height: 39px; background-size: 93px 39px; background-position: center center;
  }

}
