/*サイドバーランキング表示*/
.number {
position:relative;
}

dl.number:before {
counter-increment:ranking;
content:counter(ranking);
position:absolute;
top:0;
left:0;
padding:2px 6px;
background:#fbc02d;
font-size:13px;
font-weight:bold;
color:#fff;
}

h4 {
counter-reset:ranking;
}

dl.clearfix.number{
margin-bottom:10px;
padding-bottom:10px;
}

#side .st-author-description{
text-align:justify;
}

dl.number::before{
border-radius:15px;
padding:2px 5px
}

/*--------------------------------------
  ヨメレバ・カエレバ（レスポンシブ）
--------------------------------------*/
.booklink-box, .kaerebalink-box{
 background-color:#fdf9dc;/*背景色*/
  padding:20px 20px 10px !important; 
  margin-bottom:40px;
  border:2px dashed #f5d720; /*ステッチ風ボーダー色*/
  border-radius:5px;
  box-shadow:0 0 0 4px #fdf9dc, 2px 1px 6px 4px rgba(10, 10, 0, 0.5); /*ボーダーの周りの影（背景色と同じコード）*/
}
.booklink-image, .kaerebalink-image{
    margin:0 15px 0 0;
    float:left;
    width: 160px;
    text-align: center;
}
.booklink-image img, .kaerebalink-image img{
    margin:0 auto;
    text-align:center;
}
.booklink-info, .kaerebalink-info{
    margin:0;
    line-height:120%;
    overflow: hidden;
}
.booklink-name, .kaerebalink-name{
    margin-bottom:24px;
    line-height:1.5em;
}
.booklink-powered-date, .kaerebalink-powered-date{
     font-size:8px;
     margin-top:10px;
     font-family:verdana;
     line-height:120%;
}
.booklink-detail, .kaerebalink-detail{font-size: 12px;}
.booklink-powered-date, .kaerebalink-detail{margin-bottom:15px;}
.booklink-link2, .kaerebalink-link1{margin-top:10px;}
.booklink-link2 a,
.kaerebalink-link1 a{
    width:30%;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    display:inline-block;
    margin:5px 2px 0 0;
    padding:10px 1px;
    text-align:center;
    float:left;
    text-decoration:none;
    font-weight:800;
    text-shadow:1px 1px 1px #dcdcdc;
    font-size:12px;
    color: #fff !important;
}
.booklink-link2 a:hover,
.kaerebalink-link1 a:hover{opacity: 0.6;}
.booklink-link2 a:active
.kaerebalink-link1 a:active{
    position:relative;
    top:1px;
}
/*ボタンを変えるときはここから*/
.shoplinkamazon a{
  width:31%;
  font-size:16px;
  font-weight:bold;
  text-decoration:none;
  display:inline-block;
  text-align:center;
  padding:10px 0;
  margin-bottom:5px;
  color:#fff; /*ボタンテキスト色*/
  background-color:#f5d720; /*ボタン背景色*/
  box-shadow: 0 3px 0 #f4d402; /*ボタンの影（背景色よりも暗い色)*/
  border-radius:5px;
 }
.shoplinkrakuten a{
width:31%;
  font-size:16px;
  font-weight:bold;
  text-decoration:none;
  display:inline-block;
  text-align:center;
  padding:10px 0;
  margin-bottom:5px;
  color:#fff; /*ボタンテキスト色*/
  background:#f5d720; /*ボタン背景色*/
  box-shadow: 0 3px 0 #f4d402; /*ボタンの影（背景色よりも暗い色)*/
  border-radius:5px;
 }
.shoplinkkindle a{
  width:31%;
  font-size:16px;
  font-weight:bold;
  text-decoration:none;
  display:inline-block;
  text-align:center;
  padding:10px 0;
  margin-bottom:5px;
  color:#fff; /*ボタンテキスト色*/
  background:#f5d720; /*ボタン背景色*/
  box-shadow: 0 3px 0 #f4d402; /*ボタンの影（背景色よりも暗い色)*/
  border-radius:5px; }
.shoplinkyahoo a{
  width:31%;
  font-size:14px;
  font-weight:bold;
  text-decoration:none;
  display:inline-block;
  text-align:center;
  padding:10px 0;
  margin-bottom:5px;
  color:#fff; /*ボタンテキスト色*/
  background:#f5d720; /*ボタン背景色*/
  box-shadow: 0 3px 0 #f4d402; /*ボタンの影（背景色よりも暗い色)*/
  border-radius:5px; }
/*ここまでを変更*/
.shoplinkyahoo img{display:none;}
.shoplinkyahoo a{font-size:10px;}
.booklink-footer{display: none;}

@media screen and (max-width: 680px) {
.booklink-box, .kaerebalink-box{padding:15px;}
.booklink-image, .kaerebalink-image{
    width: 100px !important;
    min-width: initial;
}
.booklink-name > a, .kaerebalink-name > a{
    font-size: 15px;
    font-weight: bold;
}
.booklink-name, .kaerebalink-name{margin-bottom:12px;}
.booklink-powered-date, .kaerebalink-powered-date{margin-top:5px;}
.booklink-link2 a,
.kaerebalink-link1 a{
    width:calc(100% - 4px);
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    margin: 2px 0px;
    padding:10px 0px;
}
}
@media screen and (max-width: 500px){
     .adsbygoogle {
         overflow: visible;
     }
}
.grecaptcha-badge { visibility: hidden; }
