/*----------------------------------------------------
  ヨメレバ・カエレバ・トマレバ 動きのあるボタン
----------------------------------------------------*/
.kaerebalink-link1 img, .booklink-link2 img{display:none;}

.booklink-box, .kaerebalink-box, .tomarebalink-box{
   border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 1px 1px 3px 1px #ddd;
  padding: 15px;
  overflow: hidden; /* float解除用 */
  margin-bottom: 20px;
  background-color: #FFFFFF;
}
.booklink-image, .kaerebalink-image, .tomarebalink-image{
     margin-right: 18px;
  float:left;
}
.booklink-image img, .kaerebalink-image img, .tomarebalink-image img{
box-shadow: 0 0 1px 1px #ccc;
}
.booklink-info, .kaerebalink-info, .tomarebalink-info{
  font-size: 14px;
  margin: 0;
  overflow: hidden; /* float解除用 */
}
.booklink-name, .kaerebalink-name, .tomarebalink-name{
     font-size: 17px;
  margin-top: 2px;
}

.booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date{
     font-size:8px;
     margin-top:10px;
     font-family:verdana;
     line-height:120%;
     border-top:1px solid #ccc;
     text-align:right;
     padding:2px;
}
.booklink-detail, .kaerebalink-detail, .tomarebalink-detail{margin-top: 5px;}
.booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date{ font-size: 12px;
  margin-top: 5px;}
.booklink-link2, .kaerebalink-link1, .tomarebalink-link1{  font-size: 16px;}
.kaerebalink-link1 a { /* カエレバ */
    width: 46%; /* 横に並べたい項目が二つなら46% */
}
.booklink-link2 a { /* ヨメレバ */
    width: 46%; /* 横に並べたい項目が二つなら46% */
}
.tomarebalink-link1 a { /* トマレバ */
    width: 46%; /* 横に並べたい項目が二つなら46% */
}
.kaerebalink-link1 a, .booklink-link2 a, .tomarebalink-link1 a {
    -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;
    font-size:12px;
}
.booklink-link2 a:active .kaerebalink-link1 a:active, .tomarebalink-link1 a:active {
    position: relative;
    top: 1px;
}
/* amazon */
.shoplinkamazon a {
    color: #FF9901 ; /* 文字の色 */
    border: solid 1px #FF9901 ; /* ボーダー色 */
}
.shoplinkamazon a:hover {
    background-color: #ff9901; /* カーソルを重ねた時の背景色 */
}
/* 楽天 */
.shoplinkrakuten a {
    color: #c20004 ; /* 文字の色 */
    border: solid 1px #c20004 ; /* ボーダー色 */
}
.shoplinkrakuten a:hover {
    background-color: #c20004; /* カーソルを重ねた時の背景色 */
}
/* kindle */
.shoplinkkindle a {
    color: #007dcd; /* 文字の色 */
    border: solid 1px #007dcd ; /* ボーダー色 */
}
.shoplinkkindle a:hover {
    background-color: #007dcd; /* カーソルを重ねた時の背景色 */
}
/* 価格 */
.shoplinkkakakucom a {
    color: #314995; /* 文字の色 */
    border: solid 1px #314995 ; /* ボーダー色 */
}
.shoplinkkakakucom a:hover {
    background-color: #314995; /* カーソルを重ねた時の背景色 */
}
/* kobo */
.shoplinkrakukobo a {
    color: #990000; /* 文字の色 */
    border: solid 1px #990000 ; /* ボーダー色 */
}
.shoplinkrakukobo a:hover {
    background-color: #990000; /* カーソルを重ねた時の背景色 */
}
/* yahoo */
.shoplinkyahoo a {
    color: #7b0099; /* 文字の色 */
    border: solid 1px #7b0099 ; /* ボーダー色 */
}
.shoplinkyahoo a:hover {
    background-color: #7b0099; /* カーソルを重ねた時の背景色 */
}
.shoplinkyahoo img {
    display: none;
}
.shoplinkyahoo a {
    font-size: 10px;
}
/* 7net */
.shoplinkseven a {
    color: #82c36f ; /* 文字の色 */
    border: solid 1px #82c36f ; /* ボーダー色 */
}
.shoplinkseven a:hover {
    background-color: #82c36f; /* カーソルを重ねた時の背景色 */
}
/* jtb */
.shoplinkjtb a {
    color: #990000 ; /* 文字の色 */
    border: solid 1px #990000 ; /* ボーダー色 */
}
.shoplinkjtb a:hover {
    background-color: #990000; /* カーソルを重ねた時の背景色 */
}
/* jalan */
.shoplinkjalan a {
    color: #FF9901 ; /* 文字の色 */
    border: solid 1px #FF9901 ; /* ボーダー色 */
}
.shoplinkjalan a:hover {
    background-color: #FF9901; /* カーソルを重ねた時の背景色 */
}
.booklink-link2 a:hover,
.kaerebalink-link1 a:hover,
.tomarebalink-link1 a:hover{opacity: 0.6;}
.booklink-link2 a:active,
.kaerebalink-link1 a:active,
.tomarebalink-link1 a:active{
    position:relative;
    top:1px;
}
.shoplinkamazon a, .shoplinkrakuten a, .shoplinkkindle a, .shoplinkkakakucom a, .shoplinkrakukobo a, .shoplinkyahoo a, .shoplinkseven a, .shoplinkjtb a, .shoplinkjalan a {
    position: relative;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition: background-color 0.3s, color 0.3s;
    transition: background-color 0.3s, color 0.3s;
}
.shoplinkamazon a:hover, .shoplinkrakuten a:hover, .shoplinkkindle a:hover, .shoplinkkakakucom a:hover, .shoplinkrakukobo a:hover, .shoplinkyahoo a:hover, .shoplinkseven a:hover, .shoplinkjtb a:hover, .shoplinkjalan a:hover {
    -webkit-transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
    transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
    color: #fff; /* カーソルを重ねた時の文字色 */
    -webkit-animation: anim-1 0.3s forwards;
    animation: anim-1 0.3s forwards;
}
.shoplinkamazon a:focus, .shoplinkrakuten a:focus, .shoplinkkindle a:focus, .shoplinkkakakucom a:focus, .shoplinkrakukobo a:focus, .shoplinkyahoo a:focus, .shoplinkseven a:focus, .shoplinkjtb a:focus, .shoplinkjalan a:focus {
    outline: none;
}
.shoplinkamazon a::before, .shoplinkrakuten a::before, .shoplinkkindle a::before, .shoplinkkakakucom a::before, .shoplinkrakukobo a::before, .shoplinkyahoo a::before, .shoplinkseven a::before, .shoplinkjtb a::before, .shoplinkjalan a::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    bottom: -10px;
    right: -10px;
    background: inherit;
    z-index: -1;
    opacity: 0.4;
    -webkit-transform: scale3d(0.8, 0.5, 1);
    transform: scale3d(0.8, 0.5, 1);
}
.shoplinkamazon a:hover::before, .shoplinkrakuten a:hover::before, .shoplinkkindle a:hover::before, .shoplinkkakakucom a:hover::before, .shoplinkrakukobo a:hover::before, .shoplinkyahoo a:hover::before, .shoplinkseven a:hover::before, .shoplinkjtb a:hover::before, .shoplinkjalan a:hover::before {
    -webkit-animation: anim-2 0.3s 0.3s forwards;
    animation: anim-2 0.3s 0.3s forwards;
}
@-webkit-keyframes anim-1 {
    60% {
        -webkit-transform: scale3d(0.8, 0.8, 1);
        transform: scale3d(0.8, 0.8, 1);
    }
    85% {
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes anim-1 {
    60% {
        -webkit-transform: scale3d(0.8, 0.8, 1);
        transform: scale3d(0.8, 0.8, 1);
    }
    85% {
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@-webkit-keyframes anim-2 {
    to {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes anim-2 {
    to {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
.booklink-footer {
    display: none;
}
@media screen and (max-width: 1024px) {
.kaerebalink-link1 a, .booklink-link2 a, .tomarebalink-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: 680px) {
.booklink-box, .kaerebalink-box, .tomarebalink-box{padding:15px;}
.booklink-image, .kaerebalink-image, .tomarebalink-image {
    width: 100%;
    min-width: initial;
    display: block;
    float: none;
}
.booklink-name > a, .kaerebalink-name > a, .tomarebalink-name > a{
    font-size: 15px;
    font-weight: bold;
}
.booklink-name, .kaerebalink-name, .tomarebalink-name{margin-bottom:12px;}
.booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date{margin-top:5px;}
}
