/* =====================================================================
*
*   link menu
*
* =================================================================== */
.bottom_area {
  background-color: #F1F1F1;
  margin-left: 10px 0px;
}
.pc_device .bottom_area p{
  border-bottom: 1px solid #DDDDDD;
}

.pc_device .bottom_area a.back_arrow_link {
  color: #333333;
  display: block;
  overflow: hidden;
  padding: 12px 32px;
  background-image: url("/resources/a/sp/common/images/icon_arrow_left.png?date=140618");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 14px 14px;
  margin-top: -16px;
}

.mobile_device .bottom_area a.back_arrow_link {
  color: #333333;
  display: block;
  overflow: hidden;
  padding: 5px 25px;
  background-image: url("/resources/a/sp/common/images/icon_arrow_left.png?date=140618");
  background-repeat: no-repeat;
  background-position: 5px center;
  background-size: 14px 14px;
  margin-left: 15px;
}

.pc_device .bottom_area a:hover,
.mobile_device .bottom_area a.hover {
  position: relative;
  background-color: #FFEFE6;
  color: #4D4D4D;
  text-decoration: none;
}

#sidemenu_hr {
  color: transparent;
  border: solid 2px #FF5A00;
  width: 100%;
}

#sidebox_container {
  margin-bottom: 15px;
}

.sidemenu_container .btn {
  font-weight:bold;
  text-decoration:none;
  color:#333333;
  border:1px solid #CCCCCC;
  border-radius:5px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 13px;
}

.pc_device #sidebox_container a:hover,
.mobile_device #sidebox_container a.hover {
  position: relative;
  background-color: #FFEFE6;
  color: #4D4D4D;
  text-decoration: none;
}

.mobile_device .log_img a:active {
  background-color: transparent;
}

.pc_device #iconblank{
  width: 7% !important;
  height: auto;
}

.mobile_device #iconblank{
  width: 7% !important;
  height: auto;
}

.pc_device i.list_btn_link_icon {
  background-image: url("/resources/a/common/images/arrow_binb.png");
  background-repeat:no-repeat;
  background-color: transparent;
  line-height: 14px;
  height: 14px;
  width: 14px;
  content: " ";
  display: inline-block;
  position: absolute;
  right: 20px;
  margin-top: 5px;
}

@media screen and (min-width: 400px) and (max-device-width: 800px){
  .pc_device i.list_btn_link_icon {
    margin-top: 22px !important;
  }

  .pc_device #iconblank {
    width: 6% !important;
  }
}

.mobile_device i.list_btn_link_icon {
  background-image: url("/resources/a/common/images/arrow_binb.png");
  background-repeat:no-repeat;
  background-color: transparent;
  height: 14px;
  width: 14px;
  content: " ";
  display: inline-block;
  position: absolute;
  right: 20px;
  margin-top: 10px;
}

/* =====================================================================
*
*   recommend
*
* =================================================================== */

.mobile_device i.list_btn_link_icon {
  background-image: none !important;
}

#recommend {
  margin-top: -25px;
}

.related_book {
  font-size: 1.4em;
  font-weight: bold;
  color: #FF5A00;
}

.related_book p{
  padding-top: 10px;
}

.section_inner{
  width: 100%;
  margin-top: -15px;
}

.gridcell:nth-child(2n+1) {
  clear: left;
}

.gridcell {
  width: 35%;
  float: left;
  display: block;
  margin: 0px 20px 20px 10px;
  font-size: 14px;
}

.pc_device .gridcell {
  margin: 0px 20px 20px 15px !important;
}

.picture {
  height: 129px;
  position: relative;
}

.book .picture a {
  display: block;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom:0;
}

.picture img {
  border: solid 1px #DDDDDD;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.14);
  height: 129px;
  width: 92px;
}

.title {
  height: 42px;
  width: 92px;
  margin-top: 10px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

 .title.multiline{
  white-space: normal;
}

.pc_device .gridcell a{
  color: #333333;
}

.mobile_device .title a{
  color: #0048B4;
}

.pc_device .title a:hover {
  text-decoration: underline;
}

.pc_device .smallbtnarea {
  text-align: center;
  width: 72px;
  margin-left: 10px;
}

.mobile_device .smallbtnarea {
  text-align: center;
  width: 80%;
  margin-left: 7px;
}
.smallbtnarea a {
  padding: 2px;
}

.tachiyomi_action, .keep_action.keep_off {
  border: 1px solid #CCCCCC;
  background: #FFFFFF;
  background: -moz-linear-gradient(top, #FFFFFF 0%, #ECECEC 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#ECECEC));
  background: -webkit-linear-gradient(top, #FFFFFF 0%,#ECECEC 100%);
  background: linear-gradient(to bottom, #FFFFFF 0%,#ECECEC 100%);
  color: #4D4D4D;
  border-radius: 3px;
  display: block;
}

p.tachiyomi_action.disabled {
  filter: none;
  background: #FFFFFF;
  color: #CCCCCC;
  margin: 0px;
  padding: 2px;
}
/* =====================================================================
*
*   log & spcial
*
* =================================================================== */
div.log_img{
  float: left;
  margin: 0px 20px;
  width: 40%;
}

div.social_area {
  text-align: right;
  margin-top: 4px;
  margin-right: 25px;
}

.pc_device div.log_img img {
  width: 100%;
  height: auto;
}

.mobile_device div.log_img img {
  width: 100%;
  height: auto;
}

.pc_device div.social_area a {
  padding-left: 3.5%;
  padding-right: 1%;
  text-shadow: 0.1em 0.1em 3px #FFFFFF;
}

.mobile_device div.social_area a {
  padding-left: 1%;
  padding-right: 1.5%;
  text-shadow: 0.1em 0.1em 3px #FFFFFF;
}

.pc_device .sidemenu_container div.social_area img {
  width: 11%;
  height: auto;
}

.sidemenu_container div.social_area span {
  display: none
}

.mobile_device .sidemenu_container div.social_area img {
  width: 14%;
  height: auto;
}

hr {
  color: transparent;
  border: solid 2px #FF5A00;
  margin-bottom: 20px;
}

#line_hr1 {
  display: block;
  margin: 3px 20px;
}

/* =====================================================================
*
*   inter face size
*
* =================================================================== */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1025px) {
  .mobile_device .bottom_area a.back_arrow_link {
    padding: 12px 50px;
    background-size: 28px 28px;
    font-size: 30px;
  }
  .mobile_device .gridcell {
    font-size: 26px;
    margin: 0px 20px 0 20px;
  }

  .mobile_device .picture {
    height: 258px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 258px;
    width: 182px;
  }

  .mobile_device .title {
    height: 90px;
    width: 182px;
    margin-top: 8px;
  }

  .mobile_device .smallbtnarea {
    margin-bottom: 30px !important;
  }
}
@media only screen and (max-width:419px) and (-webkit-min-device-pixel-ratio:1.0){
  .mobile_device .bottom_area a.back_arrow_link {
    padding: 7px 25px;
    background-size: 14px 14px;
    font-size: 18px;
    margin-top: -18px;
  }
  .mobile_device .gridcell {
    font-size: 14px;
  }

  .mobile_device .picture {
    height: 129px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 129px;
    width: 92px;
  }

  .mobile_device .title {
    width: 92px;
  }

  .mobile_device .smallbtnarea {
    width: 73px;
    margin-left: 5px;
  }

  div.social_area {
    margin-top: 10px !important;
    margin-right: 25px !important;
  }

  .mobile_device div.social_area img {
    width: 10% !important;
  }
}
@media only screen and (min-width:456px) and (-webkit-min-device-pixel-ratio:1.3){
  .mobile_device .bottom_area a.back_arrow_link {
    padding: 9px 32px;
    background-size: 18px 18px;
    font-size: 20px;
    margin-top: -20px;
  }
  .mobile_device .related_book p {
    padding: 10px 0 0 0;
  }

  .mobile_device .section_inner {
    margin-top: 0;

  }
  .mobile_device .gridcell {
    font-size: 16px;
    margin: -10px 30px 0px 10px;
  }

  .mobile_device .picture {
    height: 193px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 193px;
    width: 128px;
  }

  .mobile_device .title {
    width: 128px;
  }

  .mobile_device .smallbtnarea {
    width: 90%;
    margin-bottom: 30px;
    margin-left: 15px;
  }

  .mobile_device .smallbtnarea a {
    padding: 8px;
  }

  .mobile_device p.tachiyomi_action.disabled {
    padding: 8px;
  }

  div.social_area {
    margin-top: 6px !important;
    margin-right: 25px !important;
  }

  .mobile_device div.social_area img {
    width: 11% !important;
  }
}
@media only screen and (min-width:608px) and (-webkit-min-device-pixel-ratio:2){
  .mobile_device .bottom_area a.back_arrow_link {
    padding: 15px 50px;
    background-size: 28px 28px;
    font-size: 27px;
    margin-top: -22px;
  }
  .mobile_device #sidemenu_hr {
    margin-bottom: 15px;
  }

  .mobile_device #sidebox_container {
    margin-bottom: 40px;
  }

  .mobile_device #sidebox_container a{
    padding: 12px;
  }

  .mobile_device .related_book p {
    padding: 0;
  }

  .mobile_device .gridcell {
    font-size: 21px;
    margin: 0px 25px 0 30px;
  }

  .mobile_device .picture {
    height: 258px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 258px;
    width: 182px;
  }

  .mobile_device .title {
    height: 65px;
    width: 182px;
  }

  .mobile_device .smallbtnarea {
    width: 90%;
    margin-left: 10px;
    margin-bottom: 30px;
  }

  .mobile_device .smallbtnarea a {
    padding: 7px !important;
  }

  .mobile_device p.tachiyomi_action.disabled {
    padding: 7px !important;
  }
}
@media screen and (min-width:760px) and (-webkit-min-device-pixel-ratio:3) ,screen and (orientation:portrait) and (min-width:1537px) and (-webkit-min-device-pixel-ratio:2),screen and (orientation:landscape) and (min-width:2049px) and (-webkit-min-device-pixel-ratio:2){
  .mobile_device .bottom_area a.back_arrow_link {
    padding: 32px 75px;
    background-size: 42px 42px;
    font-size: 44px;
    margin-top: -44px;
  }
  .mobile_device  #container hr {
    border: solid 3px #FF5A00;
  }

  .mobile_device  #container hr:first-child {
    margin-bottom: 35px;
  }

  .mobile_device #sidebox_container {
    margin-bottom: 60px;
  }

  .mobile_device #sidebox_container a{
    padding: 25px;
  }

  .mobile_device .gridcell {
    font-size: 40px;
    margin: 0 65px 0 55px;
  }

  .mobile_device .picture {
    height: 425px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 425px;
    width: 303px;
  }

  .mobile_device .title {
    height: 110px;
    width: 303px;
    margin-top: 35px;
  }

  .mobile_device .smallbtnarea {
    width: 90%;
    margin-bottom: 50px !important;
    margin-left: 20px;
  }

  .mobile_device .smallbtnarea a {
    padding: 15px;
  }

  .mobile_device p.tachiyomi_action.disabled {
    padding: 10px;
  }

  .mobile_device #line_hr1 {
    margin: 15px 20px;
  }

  div.social_area {
    margin-top: 10px !important;
    margin-right: 40px !important;
  }

  .mobile_device div.social_area img {
    width: 12%  !important;
  }
}
@media screen and (orientation:portrait) and (min-width:1537px) and (-webkit-min-device-pixel-ratio:2) and (-webkit-max-device-pixel-ratio:2),screen and (orientation:landscape) and (min-width:2400px) and (-webkit-min-device-pixel-ratio:2) and (-webkit-max-device-pixel-ratio:2){
  .mobile_device .bottom_area a.back_arrow_link {
    padding: 20px 50px;
    background-size: 28px 28px;
    font-size: 23px;
    margin-top: -23px;
  }
  .mobile_device .gridcell {
    font-size: 21px;
    margin: 0 20px 0px 20px;
  }

  .mobile_device .picture {
    height: 258px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 258px;
    width: 182px;
  }

  .mobile_device #sidebox_container a{
    padding: 30px 0;
  }

  .mobile_device .title {
    height: 80px;
    width: 182px;
  }

  .mobile_device .smallbtnarea {
    margin-bottom: 30px !important;
  }
  .mobile_device .smallbtnarea a {
    padding: 15px !important;
  }

  .mobile_device p.tachiyomi_action.disabled {
    padding: 15px !important;
  }
}
/* ISAI */
@media only screen and (min-width:1440px) and (-webkit-min-device-pixel-ratio:4){

  .mobile_device .bottom_area a.back_arrow_link {
    padding: 40px 100px;
    background-size: 56px 56px;
    font-size: 58px;
    margin-top: -50px;
  }
  .mobile_device #container hr {
    border: solid 4px #FF5A00;
  }

  .mobile_device #sidebox_container {
    margin-bottom: 80px;
  }

  .mobile_device #sidebox_container a{
    padding: 40px 0;
  }

  .mobile_device #sidebox_container span{
    padding-left: 30px;
  }

  .mobile_device #sidemenu_hr {
    margin-bottom: 50px;
  }

  .mobile_device .related_book p {
    padding: 0;
    margin-top: 50px;
  }

  .mobile_device .gridcell {
    font-size: 56px;
    margin: 0 75px 0 65px;
  }

  .mobile_device .picture {
    height: 581px;
    position: relative;
  }

  .mobile_device .picture img {
    height: 581px;
    width: 410px;
  }

  .mobile_device .title {
    height: 145px;
    margin: 20px 0;
    width: 410px;
  }

  .mobile_device .smallbtnarea {
    width: 90%;
    margin-left: 15px;
    margin-bottom: 50px;
  }

  .mobile_device .smallbtnarea a {
    padding: 15px;
  }

  .mobile_device p.tachiyomi_action.disabled {
    padding: 15px;
  }

  .mobile_device #line_hr1 {
    margin: 20px 20px;
  }

  div.social_area {
    margin-top: 15px !important;
    margin-right: 60px !important;
  }

  .mobile_device div.social_area img {
    width: 13% !important;
  }
}
