
#chart .diagram {
  position: relative;
  margin: 0;
}

#chart .diagram ul, #chart .diagram ul li {
  position: absolute;
}

#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: 230px;
  height: 255px;
}

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

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

#chart ul li.chara_a {
  left: 350px;
  top: 336px;
}

#chart ul li.chara_b {
  left: 665px;
  top: 336px;
}

#chart ul li.chara_c {
  left: 36px;
  top: 336px;
}

#chart ul li.chara_d {
  left: 67px;
  top: 17px;
}

#chart ul li.chara_e {
  left: 338px;
  top: 17px;
}

#chart ul li.chara_f {
  left: 28px;
  top: 690px;
}

#chart ul li.chara_g {
  left:260px;
  top: 690px;
}

#chart ul li.chara_h {
  left: 490px;
  top: 690px;
}

#chart ul li.chara_i {
  left: 17px;
  top: 950px;
}

#chart ul li.chara_j {
  left: 192px;
  top: 950px;
}

#chart ul li.chara_k {
  left: 367px;
  top: 950px;
}

#chart ul li.chara_l {
  left: 542px;
  top: 950px;
}

#chart ul li.chara_m {
  left: 747px;
  top: 636px;
}

#chart ul li.chara_n {
  left: 747px;
  top: 858px;
}

#chart ul li.chara_o {
  left: 747px;
  top: 1080px;
}


#chart .diagram {
}
#chart .txtMr{ font-size: 0.8em; line-height: 1.5em;}
#chart .txtMr p { padding-bottom: 5px;}
#chart .txtMr .add { color: #000; padding-top: 0.5em;}


@media all and (min-width: 768px) {
	.low div.wrap .contentsBlock { padding: 20px; position: relative;}
	#chart .diagram { width:920px; height: 1293px; margin: 0 auto; background-image: url(../img/chart/chart.jpg);}
	#chart .txtMr{ position: absolute; top:1240px; left: 30px; width:690px;}
}
@media all and (max-width: 767px) {

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

  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
#chart .txtMr{ font-size: 0.75em; line-height: 1.3em; padding: 10px 0;}
}

@media (max-width: 767px) and (min-width: 620px) {
	.diagram { margin-bottom: 4em!important;}
	#chart .txtMr{ position: absolute; top:80%; left: 5%; width:70%;}
}
@media (max-width: 700px) and (min-width: 620px) {
	#chart .txtMr{ top:79%; }
}

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

#cast_dt .btn-w-close a {
  display: block;
  width: 80px;
  height: 20px;
  background: url(../img/chart/close.png) no-repeat center center;
  margin: 0 auto;
}

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

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

  #cast_dt .btn-w-close {
    position: absolute;
    left: 25px;
    bottom: 20px;
  }
}

@media all and (max-width: 767px) {
  #cast_dt {
    width: 100%;
    margin: 0px -50% 0;
  }
	div.character { position: relative;}
  #cast_dt .btn-w-close a {
    margin: 3.5% auto 5%; width: 100%; height: 40px;
  }

}
