/*相関図*/
.chart #contentsArea .contentsBlock { position: relative;}

#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: 300px;
  height: 345px;
}
#chart .diagram ul li.sz-m a img {
  width: 240px;
  height: 275px;
}
#chart .diagram ul li.sz-s a img {
  width: 210px;
  height: 235px;
}
#chart .diagram ul li.sz-ss a img {
  width: 180px;
  height: 200px;
}

#chart ul li.chara_01 {
  left:380px;
  top: 405px;
}

#chart ul li.chara_02 {
  left:410px;
  top: 760px;
}

#chart ul li.chara_03 {
  left:93px;
  top: 755px;
}

#chart ul li.chara_04 {
  left:430px;
  top: 1095px;
}

#chart ul li.chara_05 {
  left:430px;
  top: 1353px;
}

#chart ul li.chara_06 {
  left:278px;
  top: 1900px;
}

#chart ul li.chara_07 {
  left:740px;
  top: 1353px;
}

#chart ul li.chara_08 {
  left:543px;
  top: 1900px;
}

#chart ul li.chara_09 {
  left:108px;
  top: 1060px;
}

#chart ul li.chara_10 {
  left:740px;
  top: 795px;
}

#chart ul li.chara_11 {
  left:108px;
  top: 480px;
}

#chart ul li.chara_12 {
  left:400px;
  top: 110px;
}

#chart ul li.chara_13 {
  left:720px;
  top: 460px;
}

#chart ul li.chara_14 {
  left:720px;
  top: 100px;
}

#chart ul li.chara_15 {
  left:430px;
  top: 1609px;
}

#chart ul li.chara_16 {
  left:740px;
  top: 1609px;
}

#chart ul li.chara_17 {
  left:120px;
  top: 1609px;
}

#chart ul li.chara_18 {
  left:710px;
  top: 1095px;
}

#chart ul li.chara_19 {
  left:110px;
  top: 1328px;
}


#chart ul li.chara_00 {
  left:80px;
  top: 200px;
}

.chart .add { font-weight: 500; text-align: right;}
.deco.clip span { height:0; padding-top: -webkit-calc(65 / 254 * 100%); padding-top: calc(65 / 254 * 100%); z-index: 100; }

@media all and (min-width: 768px) {
	.chart.low #contentsArea .contentsBlock { padding: 25px 0; margin: 0 auto;}
	#chart .diagram { width:1030px; height: 2220px; margin: 0 auto;}
	.chart .add {padding: 65px 60px; position: absolute; top:10px; right:0;}
	.deco.clip { position: absolute; top:30px; left:50%; margin-left: -127px; width: 254px; }

}
@media all and (max-width: 767px) {
	.chart.low div.wrap .contentsBlock { padding: 0;}
	.chart #contentsArea .contentsBlock { padding: 5px;}
	
  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding-top: calc(2220 / 1030 * 100%);
    background-size: cover;
  }
  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
	.chart .add {padding: 0.5em 0 0; font-size: 60%;}
	.deco.clip { position: absolute; top:7px; left:50%; margin-left: -50px; width: 100px; }
}



#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;
  
  
  background-repeat: no-repeat; background-position: center center; 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: 10px;
    top: -40px;
  }
	#cast_dt .btn-w-close a {
		background-image: url(../img/chart/close_b.png);
		width: 100px;
		height: 40px;
		border-top-left-radius: 20px;
        border-top-right-radius: 20px;
		background-color: hsla(0,0%,100%,.6);
  }

}

@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: 150px; margin-left:-75px; padding:0; display: block;
		position: absolute;
    left:  50%;
    bottom: 20px;}
  #cast_dt .btn-w-close a {
     width: 100%; height: 35px; background-image: url(../img/chart/close.png); background-size: 80px 32px; background-position: center center;
	  border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
	  background-color: #bcad90;
  }

}
