/*相関図*/
.chart #contentsArea .contentsBlock { position: relative; background-color: rgba(255, 255, 255, 1.0); box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.08);}

#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: 270px;
  height: 380px;
}
#chart .diagram ul li.sz-m a img {
  width: 250px;
  height: 305px;
}
#chart .diagram ul li.sz-s a img {
  width: 218px;
  height: 150px;
}
#chart .diagram ul li.sz-t a img {
  width: 530px;
  height: 365px;
}


#chart ul li.chara_01 {
  left:410px;
  top: 90px;
}

#chart ul li.chara_02 {
  left:80px;
  top: 165px;
}

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

#chart ul li.chara_04 {
  left:323px;
  top: 554px;
}

#chart ul li.chara_05 {
  left:540px;
  top: 554px;
}

#chart ul li.chara_06 {
  left:759px;
  top: 554px;
}

#chart ul li.chara_07 {
  left:105px;
  top: 704px;
}

#chart ul li.chara_08 {
  left:323px;
  top: 704px;
}

#chart ul li.chara_09 {
  left:540px;
  top: 704px;
}

#chart ul li.chara_10 {
  left:759px;
  top: 704px;
}

#chart ul li.chara_11 {
  left:355px;
  top: 940px;
}

#chart ul li.chara_12 {
  left:690px;
  top: 940px;
}

#chart ul li.chara_13 {
  left:710px;
  top: 1305px;
}
#chart ul li.chara_14 {
  left:158px;
  top: 1270px;
}

#chart ul li.chara_15 {left:100px; top: 549px;}
#chart ul li.chara_15 a img {
  width: 1px;
  height: 1px;
}

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

@media all and (min-width: 768px) {
	.chart #contentsArea .contentsBlock { width:1080px; margin: 0 auto; padding-bottom: 10px;}
	#chart .diagram { width:1080px; height: 1700px; margin: 0 auto;}
	.chart .add { bottom:10px; right:10px;}

}
@media all and (max-width: 767px) {
	.chart #contentsArea .contentsBlock { width:96%; margin: 0 auto; padding-bottom: 20px;}
	
  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    height: 0;
    padding-top: calc(1700 / 1080 * 100%);
    background-size: cover;
  }
  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
	.chart .add {font-size: 60%; bottom:5px; right:5px;}
}



#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-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.chara_14 {
    height: 520px;
  }

  #cast_dt .btn-w-close {
    position: absolute;
    right: 0px;
    top: -40px;
  }
	#cast_dt .btn-w-close a {
		background-image: url(../img/chart/close.png);
		width: 110px;
		height: 36px;
		 background-size: 90px 36px;
  }

}

@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;
	  
  }

}
