/* =================================
	NIGEHAJI Chart CSS
================================= */
/*	character
============================== */
div.bx-wop {
  text-align: left;
  position: absolute;
  left: 50%;
  z-index: 5200;
}

p.btn-w-close a, div.bx-wop-btn ul li a {
  display: block;
  text-indent: 110%;
  white-space: nowrap;
  overflow: hidden;
  background-image: url(../character/img/btn_wop.svg);
  background-repeat: no-repeat;
}

p.btn-w-close a {
  cursor: default;
}

div.bx-wop-btn {
  position: relative;
}

div.bx-wop-btn ul {
  list-style-type: none;
  position: absolute;
}

div.bx-wop-btn ul li {
  display: block;
  float: left;
}

div.bx-w-chara {
  background-color: #fef0ea;
  border-color: #ebd3c0;
}

div.bx-w-chara p.chr-photo {
  background-repeat: no-repeat;
}

div.bx-w-chara div.chr-scrl-box p {
  text-shadow: 1px 1px 3px #ccc;
  /* word-break:break-all; */
}

@media print {
  div.bx-w-chara p.chr-photo, div.bx-w-chara p.chr-photo img {
    display: none;
  }
}

@media all and (min-width: 768px) {
  div.bx-wop {
    width: 720px;
    margin-left: -360px;
  }

  p.btn-w-close a {
    width: 720px;
    height: 80px;
    background-position: 640px -160px;
  }

  div.bx-wop-btn {
    width: 720px;
    height: 80px;
  }

  div.bx-wop-btn ul {
    left: 560px;
  }

  div.bx-wop-btn ul li.btn-w-prev, div.bx-wop-btn ul li.btn-w-next {
    width: 80px;
  }

  div.bx-wop-btn ul li a {
    width: 76px;
    height: 76px;
  }

  div.bx-wop-btn ul li.btn-w-next a {
    background-position: 0 -80px;
  }

  div.bx-wop-btn ul li.btn-w-prev a {
    background-position: left top;
  }

  div.bx-wop-btn ul li.btn-w-close a {
    background-position: 0 -160px;
  }

  div.bx-w-chara {
    position: relative;
    width: 720px;
    height: 440px;
    /* border-width:10px;
	box-sizing:border-box; */
    background-image: url(../character/img/bg_pc.jpg);
    background-position: left top;
    background-repeat: no-repeat;
    background-color: #ebd3c0;
  }

  div.bx-w-chara p.chr-head {
    position: absolute;
    font-size: 2px;
    text-indent: -9999px;
    width: 385px;
    height: 80px;
    left: 320px;
    top: 40px;
    background-image: url(../character/img/h1.png?0930);
    background-repeat: no-repeat;
  }

  div.bx-w-chara p.chr-head b {
    visibility: hidden;
  }

  div.wop-mikuri p.chr-head {
    background-position: left top;
  }

  div.wop-tsuzaki p.chr-head {
    background-position: 0 -80px;
  }

  div.wop-kazami p.chr-head {
    background-position: 0px -160px;
  }

  div.wop-hino p.chr-head {
    background-position: 0 -240px;
  }

  div.wop-yasue p.chr-head {
    background-position: 0 -320px;
  }

  div.wop-umehara p.chr-head {
    background-position: 0 -400px;
  }

  div.wop-yuzu p.chr-head {
    background-position: 0 -480px;
  }

  div.wop-yamasan p.chr-head {
    background-position: 0 -560px;
  }

  div.wop-tochio p.chr-head {
    background-position: 0 -640px;
  }

  div.wop-sakura p.chr-head {
    background-position: 0 -720px;
  }

  div.wop-numata p.chr-head {
    background-position: 0 -800px;
  }

  div.wop-yuri p.chr-head {
    background-position: 0 -880px;
  }

  div.wop-chigaya p.chr-head {
    background-position: 0 -960px;
  }

  div.wop-sohachi p.chr-head {
    background-position: 0 -1040px;
  }

  div.wop-chika p.chr-head {
    background-position: 0 -1120px;
  }

  div.wop-haibara p.chr-head {
    background-position: 0px -1200px;
  }

  div.wop-ibuki p.chr-head {
    background-position: 0 -1280px;
  }

  div.bx-w-chara p.chr-photo {
    background-position: right bottom;
  }

  div.bx-w-chara p.chr-photo, div.bx-w-chara p.chr-photo img {
    width: 288px;
    height: 388px;
  }

  div.bx-w-chara div.chr-scrl-box {
    position: absolute;
    left: 313px;
    top: 130px;
    width: 370px;
    height: 260px;
    overflow: auto;
  }

  div.bx-w-chara div.chr-scrl-box p {
    font-size: 87.5%;
    background-image: url(../character/img/line30.png);
    padding: 0 15px 0 10px;
    line-height: 30px;
  }
}

@media all and (max-width: 767px) {
  p.btn-w-close a, div.bx-wop-btn ul li a {
    background-size: 75px 200px;
  }

  p.btn-w-close a {
    height: 40px;
  }

  div.bx-wop-btn {
    margin: 0 auto;
    width: 154px;
    height: 50px;
  }

  div.bx-wop-btn ul li:first-child {
    margin-right: 6px;
  }

  div.bx-wop-btn ul li {
    background-color: #e04866;
  }

  div.bx-wop-btn ul li a {
    width: 74px;
    height: 38px;
  }

  div.bx-wop-btn ul li.btn-w-next a {
    background-position: 0 -160px;
  }

  div.bx-wop-btn ul li.btn-w-prev a {
    background-position: 0 -120px;
  }

  div.bx-w-chara {
    border-color: #ebd3c0;
    border-style: solid;
    margin-bottom: 6px;
  }

  div.bx-w-chara p.chr-head {
    color: #7b1700;
    text-shadow: 1px 1px 3px #fff;
    border-left: 5px solid #7b1700;
    line-height: 1.5;
    padding: 16px 0 10px 10px;
    background-color: #f0e0cc;
  }

  div.bx-w-chara p.chr-head span.tenten {
    font-family: sans-serif;
  }

  div.bx-w-chara p.chr-photo {
    background-position: left top;
    background-size: cover;
    background-clip: content-box;
    border: 2px solid #ebd3c0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  div.bx-w-chara p.chr-photo, div.bx-w-chara p.chr-photo img {
    width: 216px;
    height: 264px;
  }

  div.bx-w-chara div.chr-scrl-box p {
    font-size: 83%;
    background-image: url(../character/img/line27.png);
    line-height: 27px;
    padding: 0 5px;
  }
}

@media all and (min-width: 480px) and (max-width: 767px) {
  div.bx-wop {
    width: 460px;
    margin-left: -230px;
  }

  p.btn-w-close a {
    width: 460px;
    background-position: 420px -80px;
  }

  div.bx-w-chara {
    border-width: 5px;
  }

  div.bx-w-chara:after {
    content: "";
    clear: both;
    display: block;
  }

  div.bx-w-chara p.chr-head {
    font-size: 100%;
    margin: 15px 15px 10px;
  }

  div.bx-w-chara p.chr-photo {
    float: left;
    margin: 0 15px 15px 15px;
  }

  div.bx-w-chara div.chr-scrl-box {
    padding: 0 15px 15px;
  }
}

@media all and (max-width: 479px) {
  div.bx-wop {
    width: 300px;
    margin-left: -150px;
  }

  p.btn-w-close a {
    width: 300px;
    background-position: 260px -80px;
  }

  div.bx-w-chara p.chr-head {
    font-size: 87.5%;
    margin: 10px;
  }

  div.bx-w-chara p.chr-photo {
    margin: 0 auto;
  }

  div.bx-w-chara {
    border-width: 3px;
  }

  div.bx-w-chara div.chr-scrl-box {
    padding: 10px;
  }
}

/*	reset
============================== */
@media all and (min-width: 768px) {
  .cmn main div.brd>div.inner {
    padding: 0 15px 30px;
  }

  .cmn main div.brd,
  .cmn main div.brd>div.inner {
    background-image: none;
  }
}

@media all and (max-width: 767px) {
  .cmn main div.brd {
    background-image: none;
  }
}

/*	chart
============================== */
div.chart {
  position: relative;
  background-image: url(../img/chart.jpg?1027);
  background-repeat: no-repeat;
  background-position: left top;
}

div.chart2 {
  background-image: url(../img/chart2.jpg?1207);
  background-size: 100%;
  height: 901px !important;
}

div.chart ul {
  position: absolute;
  list-style-type: none;
}

div.chart ul li {
  position: absolute;
}

div.chart ul li#mikuri {
  left: 164px;
  top: 89px;
}

div.chart ul li#tsuzaki {
  left: 392px;
  top: 89px;
}

div.chart ul li#kazami {
  left: 362px;
  top: 338px;
}

div.chart ul li#hino {
  left: 440px;
  top: 524px;
}

div.chart ul li#yasue {
  left: 4px;
  top: 145px;
}

div.chart ul li#umehara {
  left: 203px;
  top: 524px;
}

div.chart ul li#yuzu {
  left: 93px;
  top: 524px;
}

div.chart ul li#yamasan {
  left: 440px;
  top: 719px;
}

div.chart ul li#tochio {
  left: 0;
  top: 309px;
}

div.chart ul li#sakura {
  left: 100px;
  top: 309px;
}

div.chart ul li#numata {
  left: 506px;
  top: 338px;
}

div.chart ul li#yuri {
  left: 214px;
  top: 338px;
}

div.chart ul li a {
  display: block;
  /*	background-color:#fc0;
	opacity:0.5;
*/
  text-decoration: none;
}

div.chart ul li a img {
  display: block;
}

div.chart ul li.sz-l a img {
  width: 142px;
  height: 182px;
}

div.chart ul li.sz-m a img {
  width: 112px;
  height: 148px;
}

div.chart ul li.sz-s a img {
  width: 92px;
  height: 126px;
}

div.chart2 ul li#mikuri {
  left: 146px;
  top: 170px;
}

div.chart2 ul li#tsuzaki {
  left: 358px;
  top: 170px;
}

div.chart2 ul li#kazami {
  left: 334px;
  top: 404px;
}

div.chart2 ul li#hino {
  left: 468px;
  top: 589px;
}

div.chart2 ul li#yasue {
  left: 38px;
  top: 405px;
}

div.chart2 ul li#umehara {
  left: 172px;
  top: 595px;
}

div.chart2 ul li#yamasan {
  left: 480px;
  top: 764px;
}

div.chart2 ul li#tochio {
  left: 15px;
  top: 15px;
}

div.chart2 ul li#sakura {
  left: 148px;
  top: 15px;
}

div.chart2 ul li#numata {
  left: 334px;
  top: 589px;
}

div.chart2 ul li#yuri {
  left: 160px;
  top: 404px;
}

div.chart2 ul li#chigaya {
  left: 15px;
  top: 170px;
}

div.chart2 ul li#sohachi {
  left: 373px;
  top: 15px;
}

div.chart2 ul li#chika {
  left: 506px;
  top: 15px;
}

div.chart2 ul li#haibara {
  left: 488px;
  top: 412px;
}

div.chart2 ul li#ibuki {
  left: 38px;
  top: 595px;
}

div.chart2 ul li.sz-l a img {
  width: 149px;
  height: 187px;
}

div.chart2 ul li.sz-m a img {
  width: 120px;
  height: 151px;
}

div.chart2 ul li.sz-s a img {
  width: 97px;
  height: 122px;
}

/*
p.clicktodetail {
	font-size:75%;
	text-align:center;
	line-height:1.25;
}
*/
@media print {
  div.chart ul li#mikuri a img {
    background-color: #fff;
  }
}

@media all and (min-width: 768px) {
  div.chart {
    width: 618px;
    height: 845px;
  }

  div.chart ul li a:hover {
    background-color: #e4007b;
    opacity: 0.3;
  }
}

@media all and (max-width: 767px) {
  div.chart {
    overflow: hidden;
    background-size: 100%;
    height: 0;
    padding-top: 136.73139%;
  }

  div.chart ul {
    left: 0;
    top: 0;
    width: 100%!important;
    height: 100%!important;
  }

  div.chart2 {
    padding-top: 146.504065040650407% !important;
    height: 0!important;
  }
}
