#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: 166px;
  height: 216px;
}
#chart .diagram ul li.sz-lm a img {
  width: 144px;
  height: 190px;
}
#chart .diagram ul li.sz-m a img {
  width: 132px;
  height: 172px;
}
#chart .diagram ul li.sz-s a img {
  width: 108px;
  height: 145px;
}
#chart .diagram ul li.sz-ss a img {
  width: 90px;
  height: 115px;
}

#chart ul li.chara_01 {
  left:407px;
  top: 298px;
}

#chart ul li.chara_02 {
  left: 628px;
  top: 298px;
}

#chart ul li.chara_03 {
  left: 498px;
  top: 75px;
}

#chart ul li.chara_04 {
  left:659px;
  top: 75px;
}

#chart ul li.chara_05 {
  left: 829px;
  top: 20px;
}

#chart ul li.chara_06 {
  left: 829px;
  top: 398px; 
}

#chart ul li.chara_07 {
  left: 829px;
  top: 146px;
}

#chart ul li.chara_08 {
  left: 829px;
  top: 272px;
}

#chart ul li.chara_09 {
  left: 196px;
  top: 298px;
}

#chart ul li.chara_10 {
  left: 41px;
  top: 115px;
}

#chart ul li.chara_11 {
  left: 279px;
  top: 144px;
}

#chart ul li.chara_12 {
  left: 169px;
  top: 144px;
}

#chart ul li.chara_13 {
  left: 309px;
  top: 584px;
}

#chart ul li.chara_14 {
  left: 153px;
  top: 629px;
}

#chart ul li.chara_15 {
  left: 20px;
  top: 655px;
}

#chart ul li.chara_16 {
  left: 331px;
  top: 861px;
}

#chart ul li.chara_17 {
  left: 226px;
  top: 935px;
}

#chart ul li.chara_18 {
  left: 121px;
  top: 935px;
}

#chart ul li.chara_19 {
  left: 365px;
  top: 1369px;
}

#chart ul li.chara_20 {
  left: 255px;
  top: 1369px;
}

#chart ul li.chara_21 {
  left: 145px;
  top: 1369px;
}

#chart ul li.chara_22 {
  left: 134px;
  top: 1111px;
}

#chart ul li.chara_23 {
  left: 344px;
  top: 1111px;
}

#chart ul li.chara_24 {
  left: 560px;
  top: 600px;
}

#chart ul li.chara_25 {
  left: 683px;
  top: 600px;
}

#chart ul li.chara_26 {
  left: 806px;
  top: 600px;
}

#chart ul li.chara_27 {
  left: 560px;
  top: 799px;
}

#chart ul li.chara_28 {
  left: 683px;
  top: 799px;
}

#chart ul li.chara_29 {
  left: 806px;
  top: 799px;
}

#chart ul li.chara_30 {
  left: 560px;
  top: 1040px;
}

#chart ul li.chara_31 {
  left: 683px;
  top: 1040px;
}

#chart ul li.chara_32 {
  left: 806px;
  top: 1040px;
}

#chart ul li.chara_33 {
  left: 560px;
  top: 1205px;
}

#chart ul li.chara_34 {
  left: 683px;
  top: 1205px;
}

#chart ul li.chara_35 {
  left: 806px;
  top: 1205px;
}

#chart ul li.chara_36 {
  left: 560px;
  top: 1590px;	
}

#chart ul li.chara_37 {
  left: 15px;
  top: 343px;
}

#chart ul li.chara_38 {
  left: 560px;
  top: 1415px;
}

#chart ul li.chara_39 {
  left: 683px;
  top: 1415px;
}

#chart ul li.chara_40 {
  left: 806px;
  top: 1415px;
}

@media all and (min-width: 768px) {
	.chart.low div.wrap .contentsBlock { }
	.chart.low div.wrap .contentsBlock .contents { padding: 20px 20px;}
	#chart .diagram { width:944px; height: 1726px; margin: 0 auto;}
	
}
@media all and (max-width: 767px) {
	.chart.low div.wrap .contentsBlock {}
	.chart.low div.wrap .contentsBlock .contents {padding: 2%;}
	
  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding:182.838% 0 0;
    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: 103px;
  height: 33px;
  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: 730px;
    height: 470px;
    margin-left: -365px;
  }

  #cast_dt .btn-w-close {
    position: absolute;
    right: 0px;
    top: -33px;
  }
}

@media all and (max-width: 767px) {
  #cast_dt {
    width: 100%;
    margin: 0px -50% 0px!important;
  }
	div.character { position: relative;}
	#cast_dt .btn-w-close {width: 100px; margin-left:-51px; padding:0; display: block;
		position: absolute;
    left:  50%;
    bottom: 15px;}
  #cast_dt .btn-w-close a {
     width: 100%; height: 33px; background-size: 103px 33px; background-position: center center;
  }

}
