html, body#chara {
  background: #000 !important;
}
#chart h1#ttl span.hdl {
  letter-spacing: .1em;
}
/*chart*/
#chart #contents {
  padding: 0;
}
#chart #chart_all {
  margin: 0 auto;
  padding: 5% 0;
}
#chart .diagram {
  position: relative;
  margin: 0 auto;
  background: url("../chart/img/chart.jpg") no-repeat 50% 0;
}
#chart .diagram ul, #chart .diagram ul li {
  position: absolute;
}
#chart .diagram ul li a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
#chart .diagram ul li a img {
  display: block;
}
#chart .diagram ul li.sz-xl a img {
  width: 182px;
  height: 249px;
}
#chart .diagram ul li.sz-l a img {
  width: 148.5px;
  height: 203.5px;
}
#chart .diagram ul li.sz-m a img {
  width: 133px;
  height: 182px;
}
#chart .diagram ul li.sz-s a img {
  width: 117px;
  height: 160px;
}
#chart .diagram ul li.sz-ss a img {
  width: 148px;
  height: 51px;
}
#chart ul li.riku {
  left: 354px;
  top: 993px;
}
#chart ul li.ayumi {
  left: 285px;
  top: 613px;
}
#chart ul li.ichika {
  left: 532.5px;
  top: 613px;
}
#chart ul li.ryoko {
  left: 353.5px;
  top: 1110px;
}
#chart ul li.mayu {
  left: 94px;
  top: 931.5px;
}
#chart ul li.takumi {
  left: 565px;
  top: 1154px;
}
#chart ul li.wataru {
  left: 728px;
  top: 79px;
}
#chart ul li.isamu {
  left: 557px;
  top: 146px;
}
#chart ul li.eisuke {
  left: 765px;
  top: 930px;
}
#chart ul li.takashi {
  left: 765px;
  top: 1154px;
}
#chart ul li.shun {
  left: 119px;
  top: 166px;
}
#chart ul li.masachika {
  left: 285px;
  top: 79px;
}
#chart ul li.shota {
  left: 110px;
  top: 399px;
}
#chart ul li.tsubasa {
  left: 302px;
  top: 377px;
}
#chart ul li.edo {
  left: 119px;
  top: 702px;
}
#chart ul li.kou {
  left: 550px;
  top: 377px;
}
#chart ul li.naoto {
  left: 757px;
  top: 679.5px;
}
#chart ul li.natsumi {
  left: 563px;
  top: 993px;
}
@media all and (min-width: 992px) {
  #chart .diagram {
    width: 1000px;
    height: 1329px;
    background-size: contain;
  }
}
@media all and (max-width:991px) {
  #chart .diagram {
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding: 132.88% 0 0;
    background-size: contain;
  }
  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}
@media all and (max-width: 767px) {
  #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_red {
  background-image: url("../chart/img/bg_red.jpg");
  border: 1px solid #4a080a;
}
.bg_black {
  background-image: url("../chart/img/bg_black.jpg");
  border: 1px solid #252525;
}
.bg_white {
  background-image: url("../chart/img/bg_white.jpg");
  border: 1px solid #6b6868;
}
.bg_beige {
  background-image: url("../chart/img/bg_beige.jpg");
  border: 1px solid #8c5f5a;
}
.bg_riku {
  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: 170px;
  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#riku span.castname {
  background-image: url(../chart/img/riku.png);
}
#cast_dt h1#ayumi span.castname {
  background-image: url(../chart/img/ayumi.png);
}
#cast_dt h1#ichika span.castname {
  background-image: url(../chart/img/ichika.png);
}
#cast_dt h1#ryoko span.castname {
  background-image: url(../chart/img/ryoko.png);
}
#cast_dt h1#mayu span.castname {
  background-image: url(../chart/img/mayu.png);
}
#cast_dt h1#takumi span.castname {
  background-image: url(../chart/img/takumi.png);
}
#cast_dt h1#wataru span.castname {
  background-image: url(../chart/img/wataru.png);
}
#cast_dt h1#isamu span.castname {
  background-image: url(../chart/img/isamu.png);
}
#cast_dt h1#eisuke span.castname {
  background-image: url(../chart/img/eisuke.png);
}
#cast_dt h1#takashi span.castname {
  background-image: url(../chart/img/takashi.png);
}
#cast_dt h1#shun span.castname {
  background-image: url(../chart/img/shun.png);
}
#cast_dt h1#masachika span.castname {
  background-image: url(../chart/img/masachika.png);
}
#cast_dt h1#shota span.castname {
  background-image: url(../chart/img/shota.png);
}
#cast_dt h1#tsubasa span.castname {
  background-image: url(../chart/img/tsubasa.png);
}
#cast_dt h1#edo span.castname {
  background-image: url(../chart/img/edo.png);
}
#cast_dt h1#kou span.castname {
  background-image: url(../chart/img/kou.png);
}
#cast_dt h1#naoto span.castname {
  background-image: url(../chart/img/naoto.png);
}
#cast_dt h1#natsumi span.castname {
  background-image: url(../chart/img/natsumi.png);
}
#cast_dt .prof {
  width: 100%;
}
#cast_dt .prof p {
  color: #fff;
  font-weight: 400
}
#cast_dt.bg_white .prof p, #cast_dt.bg_beige .prof p {
  color: #0d0d0d;
  font-weight: 400
}
.bg_red .photo {
  background-image:
    url(../chart/img/bg_sp.png), linear-gradient(rgba(74, 8, 10, 0.5), #4a080a);
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
}
.bg_black .photo {
  background-image:
    url(../chart/img/bg_sp.png), linear-gradient(rgba(13, 13, 13, 0.5), #0d0d0d);
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
}
.bg_white .photo {
  background-image:
    url(../chart/img/bg_sp.png), linear-gradient(rgba(107, 104, 104, 0.5), #6b6868);
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
}
.bg_beige .photo {
  background-image:
    url(../chart/img/bg_sp.png), linear-gradient(rgba(140, 95, 90, 0.5), #8c5f5a);
  background-position: right 100% top, 0 0;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
}
#cast_dt .photo::before {
  content: '';
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  top: 6px;
  left: 6px;
  position: absolute;
  z-index: 11;
}
#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_red .photo span {
  outline: 1px solid #4a080a;
  outline-offset: -6px;
  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);
}
.bg_black .photo span {
  outline: 1px solid #252525;
  outline-offset: -6px;
  box-shadow: 4px 4px 16px rgba(225, 225, 225, 0.15);
}
.bg_white .photo span {
  outline: 1px solid #6b6868;
  outline-offset: -6px;
  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);
}
.bg_beige .photo span {
  outline: 1px solid #8c5f5a;
  outline-offset: -6px;
  box-shadow: 4px 4px 16px rgba(13, 13, 13, 0.15);
}
#cast_dt .photo span.ph_riku {
  background-image: url(../chart/img/ph_riku.png);
}
#cast_dt .photo span.ph_ayumi {
  background-image: url(../chart/img/ph_ayumi.png);
}
#cast_dt .photo span.ph_ichika {
  background-image: url(../chart/img/ph_ichika.png);
}
#cast_dt .photo span.ph_ryoko {
  background-image: url(../chart/img/ph_ryoko.png);
}
#cast_dt .photo span.ph_mayu {
  background-image: url(../chart/img/ph_mayu.png);
}
#cast_dt .photo span.ph_takumi {
  background-image: url(../chart/img/ph_takumi.png);
}
#cast_dt .photo span.ph_wataru {
  background-image: url(../chart/img/ph_wataru.png);
}
#cast_dt .photo span.ph_isamu {
  background-image: url(../chart/img/ph_isamu.png);
}
#cast_dt .photo span.ph_eisuke {
  background-image: url(../chart/img/ph_eisuke.png);
}
#cast_dt .photo span.ph_takashi {
  background-image: url(../chart/img/ph_takashi.png);
}
#cast_dt .photo span.ph_shun {
  background-image: url(../chart/img/ph_shun.png);
}
#cast_dt .photo span.ph_masachika {
  background-image: url(../chart/img/ph_masachika.png);
}
#cast_dt .photo span.ph_shota {
  background-image: url(../chart/img/ph_shota.png);
}
#cast_dt .photo span.ph_tsubasa {
  background-image: url(../chart/img/ph_tsubasa.png);
}
#cast_dt .photo span.ph_kou {
  background-image: url(../chart/img/ph_kou.png);
}
#cast_dt .photo span.ph_edo {
  background-image: url(../chart/img/ph_edo.png);
}
#cast_dt .photo span.ph_naoto {
  background-image: url(../chart/img/ph_naoto.png);
}
#cast_dt .photo span.ph_natsumi {
  background-image: url(../chart/img/ph_natsumi.png);
}
#cast_dt {
  position: absolute;
  left: 50%;
  z-index: 10001 !important;
}
#cast_dt .btn-w-close a {
  display: block;
  width: 105px;
  height: 40px;
  background: url("../chart/img/close1.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/close2.png") no-repeat center center;
  background-size: contain;
  margin: 0 auto;
}
#cast_dt .btn-w-close_b a {
  cursor: pointer;
}
.details {
  color: #6D1300;
  margin: 2% 0 0 6%;
  font-weight: 700
}
@media all and (min-width: 768px) {
  #cast_dt {
    width: 800px;
    height: 500px;
    margin-left: -400px;
  }
  #cast_dt.bg_riku {
    width: 500px;
    height: 500px;
    margin-left: -250px;
  }
  #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 .riku {
    width: 100%;
    margin: 0 0 0 auto;
    z-index: 0;
  }
  #cast_dt .prof p {
    word-break: break-all;
    font-size: 95%;
    line-height: 170%;
    padding: 0 2.5em 1.5em 0;
    width: 90%;
    margin-left: auto;
  }
  #cast_dt .riku p {
    word-break: break-all;
    font-size: 95%;
    line-height: 170%;
    padding: 0 2.5em 1.5em 0;
    width: 92%;
    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;
    /*
    -webkit-mask-image: linear-gradient(to right, #000 78%, transparent 100%);
    mask-image: linear-gradient(to right, #000 78%, transparent 100%);
*/
  }
  #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;
  }
  #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%;
  }
}
@media all and (max-width: 767px) {
  /*
  #cast_dt {
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: right 130% top, 0 0;
    background-size: 75%, cover;
    background-repeat: no-repeat, no-repeat;
  }
*/
  .bg_red {
    background-image: url("../chart/img/bg_red_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .bg_black {
    background-image: url("../chart/img/bg_black_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .bg_white {
    background-image: url("../chart/img/bg_white_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .bg_beige {
    background-image: url("../chart/img/bg_beige_sp.jpg");
    width: 100%;
    margin: 0 0 0 -50% !important;
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
  }
  #cast_dt #mainbox {
    margin: 0 auto;
    padding: 2.5% 2.5% 0;
  }
  #cast_dt h1 {
    width: 120%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    top: 50%;
    right: 22%;
  }
  #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: 20%;
    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% 8% 5% auto;
  }
  .details {
    margin: 3% 0 1% 6%;
  }
}
@media all and (min-width: 768px) {
  .nobr {
    display: none;
  }
}
.alt {
  position: absolute;
  top: -5000px;
  left: -9999px;
}
#chart #con-body {
  height: unset !important;
  position: relative !important;
}
/*
#chart #con-body > * {
  background-color: rgba(255, 255, 255, 0.8) !important
}*/
