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

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

#chart .diagram ul li a, #chart .diagram2 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, #chart .diagram2 ul li a img {
  display: block;
}
#chart .diagram ul li.sz-l a img, #chart .diagram2 ul li.sz-l a img {
  width: 221px;
  height: 291px;
}
#chart .diagram ul li.sz-m a img, #chart .diagram2 ul li.sz-m a img {
  width: 188px;
  height: 243px;
}
#chart .diagram ul li.sz-s a img, #chart .diagram2 ul li.sz-s a img {
  width: 152px;
  height: 190px;
}

#chart ul li.chara_01 {
  left:241px;
  top: 106px;
}

#chart ul li.chara_02 {
  left: 491px;
  top: 156px;
}

#chart ul li.chara_03 {
  left: 22px;
  top: 453px;
}

#chart ul li.chara_04 {
  left:22px;
  top: 156px;
}

#chart ul li.chara_05 {
  left: 269px;
  top: 453px;
}

#chart ul li.chara_06 {
  left: 503px;
  top: 453px; 
}

#chart ul li.chara_07 {
  left: 247px;
  top: 789px; 
}

#chart ul li.chara_08 {
  left: 49px;
  top: 789px; 
}

#chart ul li.chara_09 {
  left: 684px;
  top: 758px; 
}

#chart ul li.chara_10 {
  left: 727px;
  top: 486px; 
}

#chart ul li.chara_11 {
  left: 452px;
  top: 758px; 
}

#chart ul li.chara_12 {
  left: 711px;
  top: 156px;
}


#chart ul li.chara2_01 {
  left:241px;
  top: 106px;
}

#chart ul li.chara2_02 {
  left: 491px;
  top: 156px;
}

#chart ul li.chara2_03 {
  left: 32px;
  top: 453px;
}

#chart ul li.chara2_04 {
  left:22px;
  top: 156px;
}

#chart ul li.chara2_05 {
  left: 269px;
  top: 453px;
}

#chart ul li.chara2_06 {
  left: 490px;
  top: 453px; 
}

#chart ul li.chara2_07 {
  left: 247px;
  top: 1090px; 
}

#chart ul li.chara2_08 {
  left: 49px;
  top: 1090px; 
}

#chart ul li.chara2_09 {
  left: 580px;
  top: 1068px; 
}

#chart ul li.chara2_10 {
  left: 722px;
  top: 768px; 
}

#chart ul li.chara2_11 {
  left: 710px;
  top: 453px; 
}

#chart ul li.chara2_12 {
  left: 711px;
  top: 156px;
}

#chart ul li.chara2_13 {
  left: 452px;
  top: 758px; 
}

#chart ul li.chara2_14 {
  left: 125px;
  top: 758px; 
}

@media all and (min-width: 768px) {
	.chart.low div.wrap .contentsBlock { }
	.chart.low div.wrap .contentsBlock .contents { padding: 15px 35px 35px;}
	#chart .diagram { width:910px; height: 1040px; margin: 0 auto;}
	#chart .diagram2 { width:910px; height: 1340px; 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:114.285% 0 0;
    background-size: cover;
  }
	#chart .diagram2 {padding:147.2527% 0 0;}

  #chart .diagram ul, #chart .diagram2 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: 110px;
  height: 25px;
  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: -35px;
  }
}

@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%;;
  }

}
