#chart .diagram, #chart .person {
  position: relative;
  margin: 0 auto;
  background-size: 100%;
}
#chart .noteBlock { background-image: url(../img/chart/bg_noteblock.png);}

#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: 250px;
  height: 270px;
}
#chart .diagram ul li.sz-m a img {
  width: 238px;
  height: 255px;
}
#chart .diagram ul li.sz-s a img {
  width: 200px;
  height: 224px;
}
#chart .diagram ul li.sz-ss a img {
  width: 150px;
  height: 180px;
}

#chart ul li.chara_01 {
  left:191px;
  top: 441px;
}

#chart ul li.chara_02 {
  left:67px;
  top: 751px;
}

#chart ul li.chara_03 {
  left:335px;
  top: 751px;
}

#chart ul li.chara_04 {
  left:67px;
  top: 1041px;
}

#chart ul li.chara_05 {
  left:335px;
  top: 1041px;
}

#chart ul li.chara_06 {
  left:160px;
  top: 1334px;
}

#chart ul li.chara_07 {
  left:455px;
  top: 1486px;
}

#chart ul li.chara_08 {
  left:695px;
  top: 1486px;
}

#chart ul li.chara_09 {
  left:695px;
  top: 1163px;
}

#chart ul li.chara_10 {
  left:522px;
  top: 106px;
}

#chart ul li.chara_11 {
  left:747px;
  top: 106px;
}

#chart ul li.chara_12 {
  left:38px;
  top: 106px;
}

#chart ul li.chara_13 {
  left:747px;
  top: 390px;
}

#chart ul li.chara_14 {
  left:287px;
  top: 106px;
}

#chart ul li.chara_15 {
  left:714px;
  top: 884px;
}

#chart ul li.chara_16 {
  left:797px;
  top: 657px;
}

#chart ul li.chara_17 {
  left:632px;
  top: 657px;
}

#chart ul li.chara_18 {
  left:522px;
  top: 390px;
}

#chart .noteBlock ul { text-align: center;}
#chart .noteBlock ul li { display: inline-block;}
#chart .noteBlock ul li a{ background-size: contain; background-repeat: no-repeat; background-position: 0 0; display: block; text-indent: -9999px;}
#chart .noteBlock ul li.note_01 a{ background-image: url(../img/chart/btn_note1.png);}
#chart .noteBlock ul li.note_02 a{ background-image: url(../img/chart/btn_note2.png);}
#chart .noteBlock ul li.note_03 a{ background-image: url(../img/chart/btn_note3.png);}
#chart .noteBlock ul li.note_04 a{ background-image: url(../img/chart/btn_note4.png);}
#chart .noteBlock ul li.note_05 a{ background-image: url(../img/chart/btn_note5.png);}
#chart .noteBlock ul li.note_06 a{ background-image: url(../img/chart/btn_note6.png);}


@media all and (min-width: 768px) {
	.chart.low div.wrap .contentsBlock { padding: 0;}
	.chart.low div.wrap .contentsBlock .contents { padding: 0; margin: 0; border: none; background:rgba(255,255,255,0);}
	#chart .diagram { width:1000px; height: 1830px; margin: 0 auto;}
	#chart .person {width:1000px; height: 2424px;}
	#chart .noteBlock { padding: 65px 0 10px; background-size: cover;}
	#chart .noteBlock ul li { margin: 0 15px 25px;}
	#chart .noteBlock ul li a { width: 275px; height: 55px;}
	
}
@media all and (max-width: 767px) {
	.chart.low div.wrap .contentsBlock { padding: 0;}
	.chart.low div.wrap .contentsBlock .contents {padding: 0; margin: 0; width: 100%; border: none; background:rgba(255,255,255,0);}
	
  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding:183.0% 0 0;
    background-size: cover;
  }
#chart .person {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding:242.4% 0 0;
    background-size: cover;
  }

  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
	#chart .noteBlock { padding-top: 6.5%; background-size: cover;}
	#chart .noteBlock ul li { width: 42%; margin: 0;}
	#chart .noteBlock ul li:nth-child(even){margin-left: 2%;}
	#chart .noteBlock ul li a { width: 100%; height: 0; padding-top: 20%;}
}



#cast_dt, #note_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, #note_dt .btn-w-close a {
  display: block;
  width: 80px;
  height: 30px;
  background-image: url(../img/chart/close.png?1);
  background-repeat: no-repeat; background-position: 0 0; background-size: contain;
  margin: 0 auto;
  cursor: pointer;
}
#note_dt .btn-w-close a {background-image: url(../img/chart/close_note.png);}

@media all and (min-width: 768px) {
  #cast_dt {
    width: 730px;
    height: 470px;
    margin-left: -365px;
  }
	#note_dt {
		width:100%; height:90vh; left: 0;
	}

  #cast_dt .btn-w-close {
    position: absolute;
    right: 0px;
    top: -40px;
  }
	#note_dt .btn-w-close {
    position: absolute;
    left: 50%;
    bottom: 3%;
	margin-left: -40px;
  }
}

@media all and (max-width: 767px) {
  #cast_dt, #note_dt {
    width: 100%;
    margin: 0px -50% 0px!important;
  }
	div.character { position: relative;}
	#cast_dt .btn-w-close, #note_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: 30px; background-size: 80px 30px; background-position: center center;
  }
	#note_dt .btn-w-close a {
     width: 100%; height: 25px; background-size: auto 25px; background-position: center center;
  }

}
