.chart div.wrap {
  padding: 0;
}

#chart .diagram {
  position: relative;
  margin: 0 auto;
}

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

/*	main size */
body.main #chart .diagram ul li.sz-l a img {
  width: 156px;
  height: 236px;
}

body.main #chart .diagram ul li.sz-m a img {
  width: 109px;
  height: 165px;
}

body.main #chart .diagram ul li.sz-s a img {
  width: 86px;
  height: 129px;
}

body.main #chart .diagram ul li.spiral a img {
  width: 239px;
  height: 274px;
}

body.main #chart .diagram ul li.dennou a img {
  width: 260px;
  height: 274px;
}

/*	chart02 size */
body.chart02 #chart .diagram ul li.sz-l a img {
  width: 146px;
  height: 222px;
}

body.chart02 #chart .diagram ul li.sz-m a img {
  width: 125px;
  height: 190px;
}

body.chart02 #chart .diagram ul li.sz-s a img {
  width: 98px;
  height: 148px;
}
/*	chart03 size */
body.chart03 #chart .diagram ul li.sz-l a img {
  width: 165px;
  height: 250px;
}

body.chart03 #chart .diagram ul li.sz-m a img {
  width: 140px;
  height: 211px;
}

body.chart03 #chart .diagram ul li.sz-s a img {
  width: 114px;
  height: 171px;
}
body.chart03 #chart .diagram ul li.spiral a img {
  width: 410px;
  height: 577px;
}

body.chart03 #chart .diagram ul li.dennou a img {
  width: 342px;
  height: 533px;
}

/*	chart04 size */
body.chart04 #chart .diagram ul li.sz-l a img {
  width: 155px;
  height: 233px;
}

body.chart04 #chart .diagram ul li.sz-m a img {
  width: 126px;
  height: 189px;
}

body.chart04 #chart .diagram ul li.sz-ms a img {
  width: 113px;
  height: 169px;
}
body.chart04 #chart .diagram ul li.teikoku a img {
  width: 312px;
  height: 281px;
}
body.chart04 #chart .diagram ul li.kinyu a img {
  width: 159px;
  height: 255px;
}

/*	chart05 size */
body.chart05 #chart .diagram ul li.sz-l a img {
  width: 173px;
  height: 259px;
}

body.chart05 #chart .diagram ul li.sz-m a img {
  width: 140px;
  height: 210px;
}

body.chart05 #chart .diagram ul li.sz-ms a img {
  width: 125px;
  height: 188px;
}
body.chart05 #chart .diagram ul li.sz-s a img {
  width: 112px;
  height: 168px;
}


/*	main position */
body.main #chart ul li.spiral {
  left: 22px;
  top: 23px;
}

body.main #chart ul li.dennou {
  left: 296px;
  top: 23px;
}

body.main #chart ul li.hanzawa {
  left: 209px;
  top: 418px;
}

body.main #chart ul li.hana {
  left: 337px;
  top: 738px;
}

body.main #chart ul li.tomari {
  left: 726px;
  top: 606px;
}

body.main #chart ul li.kurosaki {
  left: 314px;
  top: 1019px;
}

body.main #chart ul li.moriyama {
  left: 185px;
  top: 755px;
}

body.main #chart ul li.hamamura {
  left: 56px;
  top: 755px;
}

body.main #chart ul li.morota {
  left: 595px;
  top: 813px;
}

body.main #chart ul li.hiroshige {
  left: 787px;
  top: 134px;
}

body.main #chart ul li.miki {
  left: 706px;
  top: 813px;
}

body.main #chart ul li.goda {
  left: 597px;
  top: 120px;
}

body.main #chart ul li.oka {
  left: 71px;
  top: 447px;
}

body.main #chart ul li.mikasa {
  left: 784px;
  top: 401px;
}

body.main #chart ul li.tomomi {
  left: 122px;
  top: 1019px;
}

body.main #chart ul li.isayama {
  left: 581px;
  top: 606px;
}

body.main #chart ul li.nakanowatari {
  left: 641px;
  top: 401px;
}

body.main #chart ul li.owada {
  left: 494px;
  top: 401px;
}

/*	chart02 position */
body.chart02 #chart ul li.hanzawa {
  left: 205px;
  top: 286px;
}

body.chart02 #chart ul li.tomari {
  left: 630px;
  top: 783px;
}

body.chart02 #chart ul li.kurosaki {
  left: 398px;
  top: 805px;
}

body.chart02 #chart ul li.moriyama {
  left: 213px;
  top: 600px;
}

body.chart02 #chart ul li.hamamura {
  left: 70px;
  top: 600px;
}

body.chart02 #chart ul li.morota {
  left: 657px;
  top: 566px;
}

body.chart02 #chart ul li.miki {
  left: 774px;
  top: 566px;
}

body.chart02 #chart ul li.onishi {
  left: 97px;
  top: 806px;
}

body.chart02 #chart ul li.nozaki {
  left: 644px;
  top: 342px;
}

body.chart02 #chart ul li.karita {
  left: 774px;
  top: 783px;
}

body.chart02 #chart ul li.harada {
  left: 213px;
  top: 806px;
}

body.chart02 #chart ul li.oka {
  left: 61px;
  top: 286px;
}

body.chart02 #chart ul li.mikasa {
  left: 764px;
  top: 101px;
}

body.chart02 #chart ul li.isayama {
  left: 467px;
  top: 341px;
}

body.chart02 #chart ul li.nakanowatari {
  left: 593px;
  top: 101px;
}

body.chart02 #chart ul li.owada {
  left: 428px;
  top: 101px;
}

/*	chart03 position */
body.chart03 #chart ul li.spiral {
  left: 50px;
  top: 51px;
}

body.chart03 #chart ul li.dennou {
  left: 544px;
  top: 51px;
}

body.chart03 #chart ul li.hanzawa {
  left: 484px;
  top: 726px;
}

body.chart03 #chart ul li.hiroshige {
  left: 86px;
  top: 785px;
}

body.chart03 #chart ul li.goda {
  left: 262px;
  top: 767px;
}

body.chart03 #chart ul li.isayama {
  left: 723px;
  top: 767px;
}

/*	chart04 position */
body.chart04 #chart ul li.hanzawa {
  left: 366px;
  top: 388px;
}

body.chart04 #chart ul li.hana {
  left: 372px;
  top: 698px;
}

body.chart04 #chart ul li.tomari {
  left: 43px;
  top: 332px;
}

body.chart04 #chart ul li.kurosaki {
  left: 238px;
  top: 967px;
}

body.chart04 #chart ul li.moriyama {
  left: 55px;
  top: 967px;
}

body.chart04 #chart ul li.tomomi {
  left: 421px;
  top: 967px;
}

body.chart04 #chart ul li.nakanowatari {
  left: 306px;
  top: 120px;
}

body.chart04 #chart ul li.owada {
  left: 145px;
  top: 120px;
}

body.chart04 #chart ul li.kimoto {
  left: 187px;
  top: 332px;
}

body.chart04 #chart ul li.sonezaki {
  left: 49px;
  top: 585px;
}

body.chart04 #chart ul li.tajima {
  left: 187px;
  top: 585px;
}

body.chart04 #chart ul li.shirai {
  left: 616px;
  top: 110px;
}

body.chart04 #chart ul li.minobe {
  left: 759px;
  top: 110px;
}

body.chart04 #chart ul li.kasamatsu {
  left: 616px;
  top: 316px;
}

body.chart04 #chart ul li.matoba {
  left: 766px;
  top: 326px;
}

body.chart04 #chart ul li.nohara {
  left: 579px;
  top: 608px;
}

body.chart04 #chart ul li.tanikawa {
  left: 764px;
  top: 605px;
}

body.chart04 #chart ul li.yamahisa {
  left: 759px;
  top: 963px;
}

body.chart04 #chart ul li.kamiya {
  left: 616px;
  top: 963px;
}

body.chart04 #chart ul li.teikoku {
  left: 594px;
  top: 891px;
}
body.chart04 #chart ul li.kinyu {
  left: 222px;
  top: 918px;
}

/*	chart05 position */
body.chart05 #chart ul li.hanzawa {
  left: 375px;
  top: 388px;
}


body.chart05 #chart ul li.tomari {
  left: 208px;
  top: 423px;
}

body.chart05 #chart ul li.tomomi {
  left: 399px;
  top: 744px;
}

body.chart05 #chart ul li.nakanowatari {
  left: 308px;
  top: 149px;
}

body.chart05 #chart ul li.owada {
  left: 110px;
  top: 149px;
}

body.chart05 #chart ul li.kimoto {
  left: 504px;
  top: 149px;
}

body.chart05 #chart ul li.sonezaki {
  left: 68px;
  top: 690px;
}

body.chart05 #chart ul li.tajima {
  left: 218px;
  top: 691px;
}

body.chart05 #chart ul li.karita {
  left: 69px;
  top: 463px;
}

body.chart05 #chart ul li.makino {
  left: 701px;
  top: 171px;
}

body.chart05 #chart ul li.tomioka {
  left: 575px;
  top: 423px;
}

body.chart05 #chart ul li.fukuyama {
  left: 742px;
  top: 423px;
}

body.chart05 #chart ul li.haitani {
  left: 579px;
  top: 690px;
}




@media all and (min-width: 768px) {
  #chart .diagram {
    width: 936px;
    background-repeat: no-repeat;
  }

  body.main #chart .diagram {
    height: 1228px;
  }
  body.chart02 #chart .diagram {
    height: 1034px;
  }
  body.chart03 #chart .diagram {
    height: 1043px;
    background-size: 100%;
  }
  body.chart04 #chart .diagram {
    height: 1201px;
  }
  body.chart05 #chart .diagram {
    height: 1024px;
  }
  #cast_dt .txt {
    /* margin-bottom: 50px !important; */
  }
}

@media all and (max-width: 767px) {

  /*chart*/
  #chart .diagram {
    margin: 0px auto;
    overflow: hidden;
    width: 100%;
    height: 0;
    background-size: cover;
  }

  body.main #chart .diagram {
    padding: 131.224489795918367% 0 0;
  }
  body.chart02 #chart .diagram {
    padding: 110.47008547008547% 0 0;
  }

  body.chart03 #chart .diagram {
    padding: 111.550802139037433% 0 0;
  }

  body.chart04 #chart .diagram {
    padding: 128.449197860962567% 0 0;
  }

  body.chart05 #chart .diagram {
    padding: 109.518716577540107% 0 0;
  }

  #chart .diagram ul {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}

/*popup*/
#cast_dt {
  text-align: left;
  /*border:4px solid #fff;*/
  background-color: #fff;
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 0 center;
  background-size: auto, cover;
  margin: 1em;
}

#cast_dt #mainbox {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

#cast_dt h1 {
  width: 100%;
  margin: .2em auto .5em;
  padding: .6em 0 0;
  background: none;
}

#cast_dt h1 {
  position: relative;
  z-index: 2;
}

#cast_dt h1:before {
  background-color: rgba(255, 255, 255, 0.5);
  content: '';
  position: absolute;
  top: 12%;
  left: 12%;
  width: 88%;
  height: 76%;
  z-index: -1;
}

#cast_dt h1 span.castname {
  width: 90%;
  height: 78px;
  margin: 0 auto;
  display: block;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 0 0;
}

#cast_dt .prof {
  width: 100%;
}

#cast_dt .prof h2 {
  background-color: rgba(103, 184, 201, 0.8);
  color: #fff;
  font-weight: bold;
  line-height: 130%;
  font-size: 110%;
  display: inline-block;
  padding: .2em .5em;
}

#cast_dt .prof p {
  padding: .5em;
}

#cast_dt .photo {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 2px 15px 28px rgba(3, 47, 63, 0.1);
  background-color: rgba(255, 255, 255, 0.25);
}

#cast_dt {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 5800 !important;
  bottom: 0;
  /* left: 0; */
  right: 0;
  margin: auto;
}

.btn-w-close a {
  display: block;
  width: 81px;
  height: 34px;
  background: url(../img/chart/close.png) no-repeat;
  margin: 0 0 0 auto;
  background-size: contain;
}

.btn-w-close a {
  cursor: pointer;
}

@media all and (min-width: 768px) {
  #cast_dt {
    width: 750px;
    height: max-content;
    margin-left: -350px;
    border: 13px solid #f9e401;
    box-sizing: border-box;
  }

  #cast_dt #mainbox {
    margin: 0 auto;
  }

  #cast_dt .prof {
    display: inline-block;
    width: 50%;
    position: relative;
    margin: 0 auto;
    width: calc(98% - 330px);
  }

  #cast_dt .prof:before {
    background-color: rgba(255, 255, 255, 0.5);
    content: '';
    position: absolute;
    top: 8%;
    left: 12%;
    width: 88%;
    height: 100%;
    z-index: -1;
  }

  #cast_dt .photo {
    width: 280px;
    height: 360px;
    padding: 0;
    margin: 0 20px 0 35px;
  }

  #cast_dt .prof p {
    font-size: 92%;
    line-height: 160%;
  }

  .btn-w-close {
    position: absolute;
    right: 4%;
    bottom: 3%;
  }

  #cast_dt span.ovtxt {
    display: inline-block;
    height: 230px;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .ovtxt::-webkit-scrollbar {
    width: 4px;
    background: none;
  }

  .ovtxt::-webkit-scrollbar-thumb {
    background: #111;
  }
}

@media all and (max-width: 767px) {
  #cast_dt {
    width: 100%;
    height: max-content;
    margin: 10px -50%;
  }

  #cast_dt #mainbox {
    margin: 2px auto;
    padding: 0 0 .5em;
  }

  .btn-w-close a {
    margin: 0 auto;
    background-color: #000;
  }

  #cast_dt h1 {
    width: 100%;
    margin: .2em auto 2%;
    padding: 3% 0 1.8% 0;
  }

  #cast_dt h1:before {
    height: 70%;
  }

  #cast_dt h1 span.castname {
    width: 90%;
    height: 0;
    padding: 13% 0 0;
    background-size: contain;
  }

  #cast_dt .prof h2 {
    font-size: 4vw;
    margin: -1em 0 0;
  }

  #cast_dt .photo {
    width: 60%;
    height: 0;
    padding: 75% 0 0;
    margin: 0 auto 5%;
    position: relative;
  }

  #cast_dt .photo img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  #cast_dt .photo, #cast_dt .prof {
    float: none;
  }

  #cast_dt .prof {
    width: 90%;
    margin: 1em auto 0;
    padding: 0 5% 2%;
    background-color: rgba(255, 255, 255, 0.5);
  }

  #cast_dt .prof p {
    font-size: 100%;
    font-size: 3.4vw;
    line-height: 165%;
    padding: .4em 0 .8em;
  }

  #cast_dt .txt {
    font-size: 4vw;
  }
}

#cast_dt .txt {
  line-height: 1.8;
  height: max-content;
  margin-bottom: 0;
}

#cast_dt .txt {
  line-height: 1.8;
  height: max-content;
  margin-bottom: 0;
}

/*	tab
============================== */
ul#chart_tab li {
  width: 298px;
  height: 97px;
  float: left;
}
ul.chart_tab2 li {
  width: 452.31px!important;
  height: 97px!important;
  float: left;
}

ul#chart_tab li a {
  display: block;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-indent: 110%;
  cursor: pointer;
}

body.chart div.chart_tab_outer {
  background-image: url(../img/chart/tab01.png?1);
}

body.chart02 div.chart_tab_outer {
  background-image: url(../img/chart/tab02.png?1);
}

body.chart03 div.chart_tab_outer {
  background-image: url(../img/chart/tab03.png?1);
}

body.chart04 div.chart_tab_outer {
  background-image: url(../img/chart/tab04.png?1);
}

body.chart05 div.chart_tab_outer {
  background-image: url(../img/chart/tab05.png?1);
}

@media all and (min-width: 768px) {
  div.chart_tab_outer {
    width: 936px;
    height: 96px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
  }

  ul#chart_tab li:not(:last-child) {
    margin-right: 21px;
  }
  ul.chart_tab2 li:not(:last-child) {
    margin-right: 31px!important;
  }

}

@media all and (max-width: 767px) {
  div.chart_tab_outer {
    isplay: block;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    height: 0;
    padding-top: 10.256410256410256%;
  }

  div.chart_tab_outer ul#chart_tab {
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  ul#chart_tab li {
    width: 32%;
    isplay: block;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    height: 0;
    padding-top: 10.25641024%;
  }
  ul.chart_tab2 li {
    width: 48%!important;
    isplay: block;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    height: 0;
    padding-top: 10.25641024%;
  }


  ul#chart_tab li a {
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  ul#chart_tab li:not(:last-child) {
    margin-right: 2%;
  }
  ul.chart_tab2 li:not(:last-child) {
    margin-right: 4%!important;
  }

}

/*	st_tab
============================== */
@media all and (max-width: 767px) {
  .ch_switch {
    isplay: block;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    height: 0;
    padding-top: 13.26530612244898%;
    margin: 1em 0 0;
  }
  .ch_switch span {
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .ch_switch a {
    width: 23.775510204081633%;
    bottom: 13.076923076923077%;
    right: 0;
    isplay: block;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    height: 0;
    padding-top: 5.714285714285714%;
  }
  .chart04 .ch_switch a {
    width: 30.102040816326531%;
    padding-top: 5.714285714285714%;
  }
  .ch_switch span a b {
    display: block;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}



.chart div.wrap {
  box-sizing: border-box;
  background-color: #fff;
}
.chart_menu {
  background-color: #fff;
  box-sizing: border-box;
}
.ch_switch {
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.chart .ch_switch,
.chart02 .ch_switch,
.chart03 .ch_switch {
  background-image: url(../img/chart/st_tab01.png);
}
.chart04 .ch_switch,.chart05 .ch_switch {
  background-image: url(../img/chart/st_tab02.png);
}

.ch_switch a {
  position: absolute;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 110%;
}
@media all and (min-width: 768px) {
  .chart div.wrap {
    padding: 0 0 22px;
    width: 980px;
  }
  .chart_menu {
    padding: 22px 0 0;
    width: 980px;
    margin: 0 auto;
  }
  .ch_switch {
    width: 980px;
    height: 130px;
    margin: 30px auto 0;
  }
  .ch_switch a {
    width: 233px;
    height: 56px;
    right: 0;
    bottom: 17px;
  }
}
@media all and (max-width: 767px) {
  .chart div.wrap {
    padding: 0 2% 2%;
  }
  .chart_menu {
    padding: 2% 2% 0;
    width: auto;
    margin: 0 auto;
  }
}
