/*相関図*/
.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: 260px;
  height: 330px;
}
#chart .diagram ul li.sz-m a img {
  width: 210px;
  height: 275px;
}
#chart .diagram ul li.sz-s a img {
  width: 200px;
  height: 250px;
}
#chart .diagram ul li.sz-ss a img {
  width: 180px;
  height: 230px;
}

#chart ul li.chara_01 {
  left:245px;
  top: 340px;
}

#chart ul li.chara_02 {
  left:515px;
  top: 340px;
}

#chart ul li.chara_03 {
  left:805px;
  top: 355px;
}

#chart ul li.chara_04 {
  left:5px;
  top: 355px;
}

#chart ul li.chara_05 {
  left:330px;
  top: 710px;
}

#chart ul li.chara_06 {
  left:35px;
  top: 65px;
}

#chart ul li.chara_07 {
  left:280px;
  top: 85px;
}

#chart ul li.chara_08 {
  left:555px;
  top: 710px;
}

#chart ul li.chara_09 {
  left:780px;
  top: 710px;
}

#chart ul li.chara_10 {
  left:75px;
  top: 700px;
}

#chart ul li.chara_11 {
  left:555px;
  top: 65px;
}

#chart ul li.chara_12 {
  left:780px;
  top: 65px;
}

#chart ul li.chara_13 {
  left:615px;
  top: 1110px;
}

#chart ul li.chara_14 {
  left:420px;
  top: 1110px;
}

#chart ul li.chara_15 {
  left:230px;
  top: 1110px;
}

.chart .add { font-weight: 500; text-align: right;}

@media all and (min-width: 768px) {
	.chart.low #contentsArea .contentsBlock { padding: 30px 0; margin: 0 auto;}
	#chart .diagram { width:1020px; height: 1030px; margin: 0 auto;}
	.chart .add {padding: 0 30px;}

}
@media all and (max-width: 767px) {
	.chart.low div.wrap .contentsBlock { padding: 0;}
	.chart #contentsArea .contentsBlock { padding: 10px;}
	
  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding-top: calc(1030 / 1020 * 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%;}
}



#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-color: #FBEEA0;
	border: solid 2px #7B562C;
   background-image: url(../img/chart/close.png);
  background-repeat: no-repeat; background-position: center center;
  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: -50px;
  }
	#cast_dt .btn-w-close a {
		background-image: url(../img/chart/close.png);
		width: 110px;
		height: 36px;
		 background-size: 90px 36px;
		border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
  }

}

@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: 34px; background-size: 85px 34px;
	  border-radius: 17px;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
	  
  }

}
