﻿/*button---------------------------------------------------------*/

.tarr_roty1{
	overflow:hidden;
}
.tarr_roty1 a{
	position: relative;
	width: 100%;
	max-width: 450px;
	display: block;
	height: 70px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom:10px;
}
.tarr_roty1 a .btn_roty{
	position: absolute;
	left: 50%;
	bottom: 10px;
	width: 300px;
	height: 131px;
	margin-left: -150px;
	z-index: 1;
	
	animation-name: btn_roty;
	animation-duration: 3s;
	animation-timing-function: ease-in;
	animation-iteration-count: infinite;
	animation-direction: normal;
	
	-webkit-animation-name: btn_roty;
	-webkit-animation-duration: 3s;
	-webkit-animation-timing-function: ease-in;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: normal;
	
	-moz-animation-name: btn_roty;
	-moz-animation-duration: 3s;
	-moz-animation-timing-function: ease-in;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: normal;
}
@keyframes btn_roty {
	0% {transform: rotateY(0deg);}
	14% {transform: rotateY(-180deg);}
	28% {transform: rotateY(60deg);}
	35% {transform: rotateY(-30deg);}
	38.5% {transform: rotateY(0deg);}
	42% {transform: rotateY(0deg);}
	100% {transform: rotateY(0deg);}
}
@-webkit-keyframes btn_roty {
	0% {-webkit-transform: rotateY(0deg);}
	14% {-webkit-transform: rotateY(-180deg);}
	28% {-webkit-transform: rotateY(60deg);}
	35% {-webkit-transform: rotateY(-30deg);}
	38.5% {-webkit-transform: rotateY(0deg);}
	42% {-webkit-transform: rotateY(0deg);}
	100% {-webkit-transform: rotateY(0deg);}
}
@-moz-keyframes btn_roty {
	0% {-moz-transform: rotateY(0deg);}
	14% {-moz-transform: rotateY(-180deg);}
	28% {-moz-transform: rotateY(60deg);}
	35% {-moz-transform: rotateY(-30deg);}
	38.5% {-moz-transform: rotateY(0deg);}
	42% {-moz-transform: rotateY(0deg);}
	100% {-moz-transform: rotateY(0deg);}
}

.tarr_roty1 .arr_t{
	position: relative;
	width: 300px;
	margin: 0px auto;
	height: 40px;
}
.tarr_roty1 .arr_t img{
	position: absolute;
	z-index: 2;
	width:50px;
	height:50px;
	top: 0px;
	
	animation-name: arr_t;
	animation-duration: 0.6s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-direction:alternate;
	
	-webkit-animation-name: arr_t;
	-webkit-animation-duration: 0.6s;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction:alternate;
	
	-moz-animation-name: arr_t;
	-moz-animation-duration: 0.6s;
	-moz-animation-timing-function: ease-in-out;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction:alternate;
}
.tarr_roty1 .arr_t img:nth-child(1){
	left:0px;
}
.tarr_roty1 .arr_t img:nth-child(2){
	left:50%;
	width:200px;
	height:50px;
	margin-left:-100px;
}
.tarr_roty1 .arr_t img:nth-child(3){
	right:0px;
}
@keyframes arr_t {0% {top: 0px;}100% {top: 20px;}}
@-webkit-keyframes arr_t {0% {top: 0px;}100% {top: 20px;}}
@-moz-keyframes arr_t {0% {top: 0px;}100% {top: 20px;}}



/* == ボタン（赤） == */
.button-red:before {
    font-family: 'Glyphicons Halflings';
    content: '\e080';
    color: #fff;
    margin: 0 20px 0 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}

.button-red:hover:before {
    color: #da4f49;
    text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0;

}

.button-red, .button-red a, .button-red a:visited, .button-red:active {
    text-align: center;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: block;
    border: 1px solid #da4f49;
    background: #da4f49;
    background: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#bd362f));
    background: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
    background: -moz-linear-gradient(top, #ee5f5b, #bd362f);
    background: -ms-linear-gradient(top, #ee5f5b, #bd362f);
    background: -o-linear-gradient(top, #ee5f5b, #bd362f);
    padding: 15px 22px;
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    border-radius: 13px;
    -webkit-box-shadow: rgba(180, 180, 180, 0.4) 0 1px 0;
    -moz-box-shadow: rgba(180, 180, 180, 0.4) 0 1px 0;
    box-shadow: rgba(180, 180, 180, 0.4) 0 1px 0;
    text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
    color: #fff!important;
    font-size: 24px;
    text-decoration: none;
    vertical-align: middle;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    overflow: hidden;
    max-width:450px;
}

.button-red:hover {
    border-color: #bd362f;
    background: #bd362f;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffe9e9), to(white));
    background: -webkit-linear-gradient(top, #ffe9e9, white);
    background: -moz-linear-gradient(top, #ffe9e9, white);
    background: -ms-linear-gradient(top, #ffe9e9, white);
    background: -o-linear-gradient(top, #ffe9e9, white);
    text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0;
    color: #da4f49!important;
}


/*--ヨメレバ・カエレバ-----------------------------------------------------*/
 
.booklink-box, .kaerebalink-box{
  margin: 16px auto;
  padding: 5%;
  width: 85%;
  overflow: hidden;
  border: solid 1px #ccc;
  font-size: 90%;
}
 
.booklink-image, .kaerebalink-image {
  margin: 0 0 16px 0;
}
 
.booklink-image img, .kaerebalink-image img {
  margin: 0 auto;
  display: block;
  text-align: center;
}
 
.booklink-info, .kaerebalink-info {
  overflow: hidden;
  line-height: 120%;
  text-align: center;
}
 
.booklink-name, .kaerebalink-name {
  margin-bottom: 16px;
  font-size: 100%;
  line-height: 120%;
}
 
.booklink-powered-date, .kaerebalink-powered-date {
  margin-top: 16px;
  font-family: verdana;
  font-size: 8pt;
  line-height: 120%;
}
 
.booklink-detail, .kaerebalink-detail {
  margin-bottom: 16px;
}
 
.booklink-link2, .kaerebalink-link1 {
  margin-top: 16px;
}
 
.shoplinkamazon a, .shoplinkrakuten a, .shoplinkseven a {
  margin: 16px auto 0 auto;
  padding: 4px;
  display: block;
  width: 90%;
  border-top: solid 1px #dadada;
  border-right: solid 1px #c7c8c8;
  border-bottom: solid 1px #949494;
  border-left: solid 1px #c7c8c8;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #bcbcbc;
  background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .98), rgba(255, 255, 255, .3) 95%, rgba(255, 255, 255, .98) 100%);
  background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .98), rgba(255, 255, 255, .3) 95%, rgba(255, 255, 255, .98) 100%);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 -0.5px 0 rgba(1, 1, 1, .6);
}
 
.shoplinkamazon a:hover, .shoplinkrakuten a:hover, .shoplinkseven a:hover {
  border-top: solid 1px #b4b4b4;
  border-right: solid 1px #a0a2a2;
  border-bottom: solid 1px #6e6e6e;
  border-left: solid 1px #a0a2a2;
  box-shadow: 0 1px 1px rgba(148,148,148,1);
}
  
.shoplinkamazon a:active, .shoplinkrakuten a:active, .shoplinkseven a:active {
  position: relative;
  top: 1px;
  border-top: solid 1px #666;
  border-right: solid 1px #999;
  border-bottom: solid 1px #ccc;
  border-left: solid 1px #999;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.3);
  background-color: #bcbcbc;
  background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3) 95%, rgba(255, 255, 255, .3) 100%);
  background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3) 95%, rgba(255, 255, 255, .0) 100%);
}
 
.shoplinkamazon a {
  color: #fc9711;
}
 
.shoplinkrakuten a {
  color: #bd0000;
}
 
.shoplinkseven a {
  color: #23518f;
}
 
.booklink-footer{
  clear:left;
}
@media screen and (min-width : 500px){
  .booklink-box, .kaerebalink-box{
      padding: 32px;
  }
  .booklink-image, .kaerebalink-image {
    margin: 0 32px 0 0;
    float: left;
  }
  .booklink-info, .kaerebalink-info {
    margin: 0;
    text-align: left;
  }
  .booklink-link2, .kaerebalink-link1 {
    margin-top: 32px;
  }
  .shoplinkamazon a, .shoplinkrakuten a, .shoplinkseven a {
    margin: 16px 8px 0 0;
  }
}