.cstmreba {
    width: 98%;
    height:auto;
    margin:36px 0;
}
.booklink-box, .kaerebalink-box, .tomarebalink-box {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    box-sizing: border-box;
    padding: 12px 8px;
    margin:1em 0;
    -webkit-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
}
/* サムネイル画像ボックス */
.booklink-image,
.kaerebalink-image,
.tomarebalink-image {
    width:150px;
    float:left;
    margin:0 14px 0 0;
    text-align: center;
}
.booklink-image a,
.kaerebalink-image a,
.tomarebalink-image a {
    width:100%;
    display:block;
}
/* サムネイル画像 */
.booklink-image a img, .kaerebalink-image a img, .tomarebalink-image a img {
    margin:0 ;
    padding: 0;
    text-align:center;
}
.booklink-info, .kaerebalink-info, .tomarebalink-info {
    overflow:hidden;
    line-height:170%;
    color: #333;
}
/* infoボックス内リンク下線非表示 */
.booklink-info a,
.kaerebalink-info a,
.tomarebalink-info a {
    text-decoration: none;	
}
/* 作品・商品・ホテル名 リンク */
.booklink-name>a,
.kaerebalink-name>a,
.tomarebalink-name>a {
    border-bottom: 1px dotted ;
    color:#0044cc;
    font-size:16px;
}
/* 作品・商品・ホテル名ホテル名 リンク ホバー時 */
.booklink-name>a:hover,
.kaerebalink-name>a:hover,
.tomarebalink-name>a:hover {
    color: #722031;
}
/* powered by */
.booklink-powered-date,
.kaerebalink-powered-date,
.tomarebalink-powered-date {
    font-size:10px;
    line-height:150%;
}
.booklink-powered-date a,
.kaerebalink-powered-date a,
.tomarebalink-powered-date a {
    border-bottom: 1px dotted ;
    color: #0044cc;
}
/* 著者・住所 */
.booklink-detail, .kaerebalink-detail, .tomarebalink-address {
    font-size:12px;
}
.kaerebalink-link1 img, .booklink-link2 img, .tomarebalink-link1 img {
    display:none;
}
.booklink-link2>div, 
.kaerebalink-link1>div, 
.tomarebalink-link1>div {
    float: left;
    width: 32.33333%;
    margin: 0.5% 0;
    margin-right: 1%;
}
/***** ボタンデザインここから ******/
.booklink-link2 a, 
.kaerebalink-link1 a,
.tomarebalink-link1 a {
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: .9em;
    line-height: 2em;
    padding:3% 1%;
    margin: 1px 0;
    border-radius: 2px;
    color: #fff !important;
    box-shadow: 0 2px 0 #ccc;
    background: #ccc;
    position: relative;
    transition: 0s;
    font-weight: bold;
}
.booklink-link2 a:hover,
.kaerebalink-link1 a:hover,
.tomarebalink-link1 a:hover {
    top:2px;
    box-shadow: none;
}
/* トマレバ */
.tomarebalink-link1 .shoplinkrakuten a { background: #76ae25; }/* 楽天トラベル */
.tomarebalink-link1 .shoplinkjalan a { background: #ff7a15; }/* じゃらん */
.tomarebalink-link1 .shoplinkjtb a { background: #c81528; }/* JTB */
.tomarebalink-link1 .shoplinkknt a { background: #0b499d; }/* KNT */
.tomarebalink-link1 .shoplinkikyu a { background: #bf9500; }/* 一休 */
.tomarebalink-link1 .shoplinkrurubu a { background: #000066; }/* るるぶ */
.tomarebalink-link1 .shoplinkyahoo a { background: #ff0033; }/* Yahoo!トラベル */
/* カエレバ */
.kaerebalink-link1 .shoplinkyahoo a {background:#ff0033;} /* Yahoo!ショッピング */
.kaerebalink-link1 .shoplinkbellemaison a { background:#84be24 ; }	/* ベルメゾン */
.kaerebalink-link1 .shoplinkcecile a { background:#8d124b; } /* セシール */ 
.kaerebalink-link1 .shoplinkkakakucom a {background:#314995;} /* 価格コム */
/* ヨメレバ */
.booklink-link2 .shoplinkkindle a { background:#007dcd;} /* Kindle */
.booklink-link2 .shoplinkrakukobo a{ background:#d50000; } /* 楽天kobo */
.booklink-link2  .shoplinkbk1 a { background:#0085cd; } /* honto */
.booklink-link2 .shoplinkehon a { background:#2a2c6d; } /* ehon */
.booklink-link2 .shoplinkkino a { background:#003e92; } /* 紀伊國屋書店 */
.booklink-link2 .shoplinktoshokan a { background:#333333; } /* 図書館 */
/* カエレバ・ヨメレバ共通 */
.kaerebalink-link1 .shoplinkamazon a, 
.booklink-link2 .shoplinkamazon a { background:#FF9901; } /* Amazon */
.kaerebalink-link1 .shoplinkrakuten a , 
.booklink-link2 .shoplinkrakuten a { background: #c20004; } /* 楽天 */
.kaerebalink-link1 .shoplinkseven a, 
.booklink-link2 .shoplinkseven a { background:#225496;} /* 7net */
/***** ボタンデザインここまで ******/
.booklink-footer {
    clear:both;
}
/***  解像度480px以下のスタイル ***/
@media screen and (max-width:480px){
    .booklink-image,
    .kaerebalink-image,
    .tomarebalink-image {
        width:100%;
        float:none !important;
    }
    .booklink-link2>div, 
    .kaerebalink-link1>div, 
    .tomarebalink-link1>div {
        width: 49%;
        margin: 0.5%;
    }
    .booklink-info,
    .kaerebalink-info,
    .tomarebalink-info {
        text-align:center;
        padding-bottom: 1px;
    }
}