/*	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: 0 -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;
  }
}
