/*相関図*/
.chart #contentsArea .contentsBlock {}

#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: 200px;
  height: 260px;
}
#chart .diagram ul li.sz-m a img {
  width: 170px;
  height: 230px;
}
#chart .diagram ul li.sz-s a img {
  width: 160px;
  height: 220px;
}
#chart .diagram ul li.sz-ss a img {
  width: 155px;
  height: 195px;
}

#chart ul li.chara_01 {
  left:385px;
  top: 330px;
}
#chart ul li.chara_01_2 {
  left:335px;
  top: 330px;
}

#chart ul li.chara_02 {
  left:215px;
  top: 850px;
}
#chart ul li.chara_02_2 {
  left:177px;
  top: 850px;
}

#chart ul li.chara_03 {
  left:215px;
  top: 610px;
}
#chart ul li.chara_03_2 {
  left:177px;
  top: 610px;
}

#chart ul li.chara_04 {
  left:420px;
  top: 610px;
}
#chart ul li.chara_04_2 {
  left:388px;
  top: 610px;
}

#chart ul li.chara_05 {
  left:420px;
  top: 850px;
}
#chart ul li.chara_05_2 {
  left:388px;
  top: 850px;
}


#chart ul li.chara_06 {
  left:400px;
  top: 30px;
}

#chart ul li.chara_07 {
  left:727px;
  top: 340px;
}
#chart ul li.chara_07_2 {
  left:640px;
  top: 340px;
}

#chart ul li.chara_08 {
  left:850px;
  top: 55px;
}

#chart ul li.chara_09 {
  left:645px;
  top: 55px;
}

#chart ul li.chara_10 {
  left:655px;
  top: 600px;
}
#chart ul li.chara_10_2 {
  left:840px;
  top: 340px;
}

#chart ul li.chara_11 {
  left:727px;
  top: 1120px;
}
#chart ul li.chara_11_2 {
  left:625px;
  top: 1120px;
}

#chart ul li.chara_12 {
  left:850px;
  top: 865px;
}
#chart ul li.chara_12_2 {
  left:840px;
  top: 870px;
}

#chart ul li.chara_13 {
  left:645px;
  top: 865px;
}
#chart ul li.chara_13_2 {
  left:625px;
  top: 870px;
}

#chart ul li.chara_14 {
  left:850px;
  top: 610px;
}
#chart ul li.chara_14_2 {
  left:653px;
  top: 590px;
}

#chart ul li.chara_15 {
  left:15px;
  top: 620px;
}
#chart ul li.chara_15_2 {
  left:852px;
  top: 590px;
}

#chart ul li.chara_16 {
  left:15px;
  top: 850px;
}
#chart ul li.chara_16_2 {
  left:852px;
  top: 1132px;
}

#chart ul li.chara_17 {
  left:230px;
  top: 1130px;
}
#chart ul li.chara_17_2 {
  left:218px;
  top: 1130px;
}

#chart ul li.chara_18 {
  left:55px;
  top: 1130px;
}
#chart ul li.chara_18_2 {
  left:36px;
  top: 1130px;
}

#chart ul li.chara_19 {
  left:420px;
  top: 1120px;
}
#chart ul li.chara_19_2 {
  left:398px;
  top: 1120px;
}

#chart ul li.chara_20 {
  left:110px;
  top: 340px;
}
#chart ul li.chara_20_2 {
  left:56px;
  top: 340px;
}

#chart ul li.chara_21 {
  left:205px;
  top: 90px;
}
#chart ul li.chara_21_2 {
  left:205px;
  top: 80px;
}

#chart ul li.chara_22 {
  left:15px;
  top: 90px;
}
#chart ul li.chara_22_2 {
  left:15px;
  top: 80px;
}

.chart .add { color: #5a3a00; font-weight: 500;}

.contentsBlock h2 {
position:relative;
text-align: center;
background-repeat: no-repeat; background-position: center bottom; background-image: url(../img/chart/line.png);
font-weight: 700;
color: #5A3900;
line-height: 1.5em;
}
.contentsBlock h2 span { font-size: 0.8em;}
.contentsBlock .linkBox {text-align: center;}
.contentsBlock .linkBox a {font-weight: 600; background-repeat: no-repeat; background-position: center center; background-size: contain; background-image: url(../img/chart/btn.png?2); color: #fff; display: table;}
.contentsBlock .linkBox a span {vertical-align: middle;display: table-cell;}

@media all and (min-width: 768px) {
	.chart.low #contentsArea .contentsBlock { padding: 30px 20px 20px;}
	.chart.low .contentsBlock .contents { padding: 0; margin: 0; border: none; background:rgba(255,255,255,0);}
	#chart .diagram { width:1040px; height: 1380px; margin: 0 auto;}
	.chart .add {padding: 10px;}
	
	.contentsBlock h2 {width: 395px; font-size: 1.8em; background-size: 395px 13px; padding: 0 0 12px; margin:-0.5em auto 10px;}
	.contentsBlock .linkBox { width: 250px; margin:0 auto 15px;}
	.contentsBlock .linkBox a { width: 250px; height: 44px; font-size: 1.1em;}
	.contentsBlock .linkBox a span { padding-left: 18px;}
}
@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:132.692% 0 0;
    background-size: cover;
  }
  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
	.chart .add {padding: 0.5em; font-size: 60%;}
	
	.contentsBlock h2 {font-size: 1em; background-size: 213px 7px; padding: 0 3px 5px; margin:-0.3em auto 5px; }
	.contentsBlock .linkBox { width: 155px; margin:0 auto 8px;}
	.contentsBlock .linkBox a { width: 155px; height: 27px; font-size: 0.7em;}
	.contentsBlock .linkBox a span { padding-left: 13px;}
}



#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: 160px;
  height: 45px;
  background-image: url(../img/chart/close.png);
  background-repeat: no-repeat; background-position: 0 0; background-size: contain;
  margin: 0 auto;
  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: -45px;
  }

}

@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: 160px; margin-left:-80px; padding:0; display: block;
		position: absolute;
    left:  50%;
    bottom: 3px;}
  #cast_dt .btn-w-close a {
     width: 100%; height: 45px; background-size: 160px 45px; background-position: center center;
  }

}
