html, body#chara {
  /*  background: #000 !important;*/
}
#chart h1#ttl span.hdl {
  letter-spacing: .1em;
}
#chart #contents {
  padding: 0;
}
#chart #chart_all {
  margin: 0 auto;
  padding: 5%;
}
#chart .diagram {
  position: relative;
  height: 0;
  padding-top: -webkit-calc(3000 / 2000 * 100%);
  padding-top: calc(3000 / 2000 * 100%);
  background-image: url(../chart/img/chart1.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}
#chart .diagram ul {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
#chart .diagram ul li {
  position: absolute;
}
#chart .diagram ul li a, #chart .diagram ul li a img {
  display: block;
  position: absolute;
  cursor: zoom-in;
}
div.diagram ul li.sz-l a, div.diagram ul li.sz-l a img {
  width: 432px;
  height: 610px;
}
div.diagram ul li.sz-m a, div.diagram ul li.sz-m a img {
  width: 330px;
  height: 478px;
}
div.diagram ul li.sz-s a, div.diagram ul li.sz-s a img {
  width: 245px;
  height: 360px;
}
div.diagram ul li.minato {
  left: 691px;
  top: 284px;
}
div.diagram ul li.umiya {
  left: 1473px;
  top: 284px;
}
div.diagram ul li.nagisa {
  left: 192px;
  top: 416px;
}
div.diagram ul li.munemitsu {
  left: 1525px;
  top: 1000px;
}
div.diagram ul li.funao {
  left: 1108px;
  top: 1600px;
}
div.diagram ul li.kurumi {
  left: 1528px;
  top: 1600px;
}
div.diagram ul li.aoto {
  left: 1108px;
  top: 2208px;
}
div.diagram ul li.cesar {
  left: 1528px;
  top: 2208px;
}
div.diagram ul li.izumi {
  left: 512px;
  top: 1308px;
}
div.diagram ul li.ranko {
  left: 93px;
  top: 1308px;
}
div.diagram ul li.aika {
  left: 512px;
  top: 2208px;
}
#chart ul li.masaru {
  left: 93px;
  top: 2208px;
}
@media all and (max-width: 991px) {
  #chart #contents {
    background-size: 50%;
  }
}
/*	popup
============================== */
#cast_dt {
  text-align: left;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover;
  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);
}
.bg_yellow {
  background-image: url("../chart/img/bg/bg_yellow.jpg");
  border: 1px solid #d8be7a;
  background-position: center;
}
.bg_green {
  background-image: url("../chart/img/bg/bg_green.jpg");
  border: 1px solid #6faf9b;
  background-position: center;
}
.bg_purple {
  background-image: url("../chart/img/bg/bg_purple.jpg");
  border: 1px solid #a89dd1;
  background-position: center;
}
.bg_blue {
  background-image: url("../chart/img/bg/bg_blue.jpg");
  border: 1px solid #55a9c6;
  background-position: center;
}
.bg_minato {
  outline: 1px solid #6b6868;
  outline-offset: -8px;
}
#cast_dt #mainbox {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
#cast_dt h1 {
  padding: 0;
  position: relative;
  z-index: 11;
  width: 50%;
  margin: 0 .8em 0 auto;
}
#cast_dt h1 span.castname {
  width: 100%;
  height: 180px;
  display: block;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  background-color: rgba(255, 255, 255, 0);
}
#cast_dt h1#minato span.castname {
  background-image: url(../chart/img/name/minato.png);
}
#cast_dt h1#umiya span.castname {
  background-image: url(../chart/img/name/umiya.png);
}
#cast_dt h1#nagisa span.castname {
  background-image: url(../chart/img/name/nagisa.png);
}
#cast_dt h1#munemitsu span.castname {
  background-image: url(../chart/img/name/munemitsu.png);
}
#cast_dt h1#funao span.castname {
  background-image: url(../chart/img/name/funao.png);
}
#cast_dt h1#kurumi span.castname {
  background-image: url(../chart/img/name/kurumi.png);
}
#cast_dt h1#aoto span.castname {
  background-image: url(../chart/img/name/aoto.png);
}
#cast_dt h1#cesar span.castname {
  background-image: url(../chart/img/name/cesar.png);
}
#cast_dt h1#izumi span.castname {
  background-image: url(../chart/img/name/izumi.png);
}
#cast_dt h1#ranko span.castname {
  background-image: url(../chart/img/name/ranko.png);
}
#cast_dt h1#aika span.castname {
  background-image: url(../chart/img/name/aika.png);
}
#cast_dt h1#masaru span.castname {
  background-image: url(../chart/img/name/masaru.png);
}
#cast_dt .prof {
  width: 100%;
}
#cast_dt .prof p {
  color: #3A3A3A;
  font-weight: 400
}
.bg_yellow .photo {
  background-color: #FDF6E8;
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
  border-radius: 24px;
}
.bg_purple .photo {
  background-color: #FDF6E8;
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
  border-radius: 24px;
}
.bg_green .photo {
  background-color: #FDF6E8;
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
  border-radius: 24px;
}
.bg_blue .photo {
  background-color: #FDF6E8;
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
  border-radius: 24px;
}
#cast_dt .photo::before {
  content: '';
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  top: 6px;
  left: 6px;
  position: absolute;
  z-index: -1;
}
#cast_dt .photo::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  background: #FDF6E8;
  border-radius: 29px;
  z-index: -2;
}
#cast_dt .photo span {
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.bg_yellow .photo span {
  outline: 1px solid #E05648;
  /*  outline-offset: -6px;*/
  /*  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);*/
  border-radius: 24px;
}
.bg_purple .photo span {
  outline: 1px solid #E05648;
  /*  outline-offset: -6px;*/
  /*  box-shadow: 4px 4px 16px rgba(225, 225, 225, 0.15);*/
  border-radius: 24px;
}
.bg_green .photo span {
  outline: 1px solid #E05648;
  /*  outline-offset: -6px;*/
  /*  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);*/
  border-radius: 24px;
}
.bg_blue .photo span {
  outline: 1px solid #E05648;
  /*  outline-offset: -6px;*/
  /*  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);*/
  border-radius: 24px;
}
#cast_dt .photo span.ph_minato {
  background-image: url(../chart/img/photo/ph_minato.png);
}
#cast_dt .photo span.ph_umiya {
  background-image: url(../chart/img/photo/ph_umiya.png);
}
#cast_dt .photo span.ph_nagisa {
  background-image: url(../chart/img/photo/ph_nagisa.png);
}
#cast_dt .photo span.ph_munemitsu {
  background-image: url(../chart/img/photo/ph_munemitsu.png);
}
#cast_dt .photo span.ph_funao {
  background-image: url(../chart/img/photo/ph_funao.png);
}
#cast_dt .photo span.ph_kurumi {
  background-image: url(../chart/img/photo/ph_kurumi.png);
}
#cast_dt .photo span.ph_aoto {
  background-image: url(../chart/img/photo/ph_aoto.png);
}
#cast_dt .photo span.ph_cesar {
  background-image: url(../chart/img/photo/ph_cesar.png);
}
#cast_dt .photo span.ph_izumi {
  background-image: url(../chart/img/photo/ph_izumi.png);
}
#cast_dt .photo span.ph_ranko {
  background-image: url(../chart/img/photo/ph_ranko.png);
}
#cast_dt .photo span.ph_masaru {
  background-image: url(../chart/img/photo/ph_masaru.png);
}
#cast_dt .photo span.ph_aika {
  background-image: url(../chart/img/photo/ph_aika.png);
}
#cast_dt {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateY(0%);
  z-index: 10001 !important;
  border-radius: 24px;
}
#cast_dt .btn-w-close a {
  display: block;
  width: 105px;
  height: 40px;
  background: url("../chart/img/close.png") no-repeat center center;
  background-size: contain;
  margin: 0 auto;
}
#cast_dt .btn-w-close a {
  cursor: pointer;
}
#cast_dt .btn-w-close_b a {
  display: block;
  width: 105px;
  height: 40px;
  background: url("../chart/img/close.png") no-repeat center center;
  background-size: contain;
  margin: 0 auto;
}
#cast_dt .btn-w-close_b a {
  cursor: pointer;
}
@media all and (min-width: 992px) {
  #cast_dt {
    width: 800px;
    height: 500px;
    margin-left: -400px;
    top: 50% !important;
    transform: translateY(-50%);
  }
  #cast_dt #mainbox {
    margin: 0 auto;
    padding: 1.5em 0 0 0;
  }
  #cast_dt .prof {
    width: 56%;
    margin: 1.25em 0 0 auto;
    z-index: 0;
  }
  #cast_dt .prof p {
    word-break: break-all;
    font-size: 89%;
    line-height: 170%;
    padding: 0 2.5em 1.5em 0;
    width: 90%;
    margin-left: auto;
  }
  #cast_dt p.ovtxt {
    padding: 0 1.6em .5em 0;
    height: 285px;
    overflow-x: hidden;
    overflow-y: scroll;
    border-right: none;
  }
  .ovtxt::-webkit-scrollbar {
    width: 2px;
    background: none;
  }
  .ovtxt::-webkit-scrollbar-track {
    background: none;
  }
  .ovtxt::-webkit-scrollbar-corner {
    display: none;
  }
  .ovtxt::-webkit-scrollbar-thumb {
    background-color: rgba(126, 0, 255, .7);
    border-radius: 20px;
  }
  #cast_dt .photo {
    width: 320px;
    height: 437px;
    position: absolute;
    left: 0;
    bottom: 0;
    /*    z-index: 1;*/
    margin: 32px;
    border-radius: 24px;
  }
  #cast_dt .btn-w-close {
    position: absolute;
    right: 2%;
    bottom: 4%;
    color: #fff;
    text-shadow: 1px 1px 20px rgba(255, 255, 255, 0.3);
    font-family: "Playfair Display", serif;
  }
  #cast_dt.letter .btn-w-close {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 2.5%;
    margin: auto;
  }
  #cast_dt .btn-w-close_b {
    position: absolute;
    right: 2%;
    bottom: 4%;
    color: #fff;
    text-shadow: 1px 1px 20px rgba(255, 255, 255, 0.3);
    font-family: "Playfair Display", serif;
  }
  .bg_minato .btn-w-close_b {
    right: 5% !important;
  }
  #cast_dt.letter .btn-w-close_b {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 2.5%;
    margin: auto;
  }
  #cast_dt a.backlist {
    position: absolute;
    right: 2%;
    bottom: 5%;
  }
  .details {
    color: #E05648;
    margin: 2% 0 0 0;
    font-weight: 700
  }
}
@media all and (max-width: 991px) {
  .bg_yellow {
    background-image: url("../chart/img/bg/bg_yellow_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .bg_purple {
    background-image: url("../chart/img/bg/bg_purple_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .bg_green {
    background-image: url("../chart/img/bg/bg_green_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .bg_blue {
    background-image: url("../chart/img/bg/bg_blue_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  #cast_dt #mainbox {
    margin: 0 auto;
    padding: 2.5% 2.5% 0;
  }
  #cast_dt h1 {
    width: 150%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    top: 50%;
    right: 50%;
  }
  #cast_dt h1 span.castname {
    width: 100%;
    height: 0;
    padding: 30% 0 0 0;
    background-size: contain;
    margin: 2% auto;
  }
  #cast_dt h1#wataru span.castname {
    width: 100%;
    height: 0;
    padding: 30% 0 0 0;
    background-size: contain;
    margin: 4% auto;
  }
  #cast_dt .photo {
    width: 90%;
    margin: 5% auto 0;
    position: relative;
  }
  #cast_dt .photo::before {
    content: '';
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    top: 6px;
    left: 6px;
  }
  #cast_dt .photo span {
    position: relative;
    height: 0;
    padding: 126.315789474% 0 0;
  }
  #cast_dt .photo span img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  #cast_dt .prof {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 2.5%;
  }
  #cast_dt .prof p {
    font-size: 100%;
    font-size: 4vw;
    line-height: 160%;
    padding: 0;
    width: 90%;
    margin: 0 auto;
  }
  #cast_dt .btn-w-close a {
    width: 30%;
    height: 0;
    padding: 9% 0 0;
    margin: 5% 5% 5% auto;
  }
  #cast_dt .btn-w-close_b a {
    width: 20%;
    height: 0;
    padding: 9% 0 0;
    margin: 5% 5% 5% auto;
  }
  .details {
    color: #E05648;
    margin: 3% 0 0;
    font-weight: 700
  }
}
@media all and (min-width: 992px) {
  .nobr {
    display: none;
  }
}
/*	bknm
============================== */
#chart #bknm {
  width: 100%;
  margin: .5em auto 0;
  position: relative;
  padding: 1em 0 5%;
}
#chart #bknm h3 {
  font-size: 160%;
  position: relative;
  padding: .8% 0 .8% 3.5%;
  margin: 0 0;
  color: #fff;
  font-style: normal;
  background: #4A080A;
  font-family: "Playfair Display", serif;
  letter-spacing: .05em;
}
#chart #bknm ul {
  margin: 1% auto 0;
  display: flex;
  flex-flow: row wrap;
  width: 92.5%;
}
#chart #bknm li {
  margin: 1% .5% 1% 2%;
  position: relative;
  height: auto;
  width: -webkit-calc(100% / 4 - 3%);
  width: calc(100% / 4 - 3%);
  border: 1px solid #fff;
}
#chart #bknm li a {
  display: block;
  height: 0;
  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.25);
  width: 100%;
  padding: 1em 1em 2em 1em;
  box-sizing: border-box;
  transition: all .3s;
  border: 1px solid #4A080A;
  color: #4A080A;
  background: rgba(210, 190, 188, .15);
  font-weight: 600;
  letter-spacing: .2em
}
#chart #bknm li a:hover {
  opacity: 0.70;
}
#chart #bknm li img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#chart #bknm li span.enum {
  font-size: 150%;
  font-weight: 700;
  padding: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  color: #fff;
  letter-spacing: -.05em;
  line-height: 100%;
}
#chart #bknm li span.nmb {
  font-size: 140%;
  letter-spacing: .05em;
}
@media all and (max-width: 991px) {
  #chart #contents {
    padding: 0 0 5%;
  }
  #chart #chart_all {
    margin: 0 auto;
    padding: 5% 3%;
  }
  #chart .epi_no {
    padding: 5px 32px;
    font-size: 160%;
  }
  #chart h2 {
    font-size: 7.3vw;
  }
  #chart #bknm {
    margin: 2% auto 0;
    padding: 2.5% 0 0;
    background-size: 50%;
  }
  #chart #bknm ul {
    margin: 2% auto 0;
    width: 94%;
  }
  #chart #bknm li {
    margin: 1.5% 2% 3% 2.5%;
    height: auto;
    width: -webkit-calc(100% / 2 - 5%);
    width: calc(100% / 2 - 5%);
  }
  #chart #bknm li a {
    height: 0;
  }
  #chart #bknm li span.enum {
    font-size: 5vw;
  }
}
