@charset "euc-jp";
/* ==============================================================================
container
============================================================================== */
#template #templateWrap #templateFlame #bodyClump .cmn-container {
  max-width: 1490px;
  min-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ==============================================================================
価格自動化
============================================================================== */
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item * {
  box-sizing: border-box;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item {
  margin-bottom: 16px;
  line-height: 1.2;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .item-main {
  text-align: center;
  margin: 0 0 12px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .item-main .item-img {
  display: inline-block;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .item-main .item-img img {
  max-width: 100%;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .item-main .item-img a {
  transition: all 0.3s;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .item-main .item-img a:hover {
  opacity: 0.7;
}

#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .title {
  margin: 0 0 8px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .title a {
  font-size: 16px;
  font-weight: bold;
  color: #006497;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .title .js-api-title,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .title .js-api-originalTitle {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: inherit;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .genre-label > span {
  display: inline-block;
  background: #BF0000;
  margin: 0 0 8px;
  padding: 3px 6px 2px;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.1em;
  min-width: 64px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .genre-label > span.blu-ray {
  background: #23B0EB;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .person,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .author,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .date {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .date {
  color: #828282;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .pre-price,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .pre-price * {
  font-size: 13px;
  color: #828282;
  text-decoration: line-through;
  margin: 0 0 4px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .price,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .fix-price {
  font-size: 16px;
  color: #BF0000;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0 4px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .price *,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .fix-price * {
  color: inherit;
  text-decoration: inherit;
  font-weight: inherit;
  padding-right: 0;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .price .js-api-itemPrice,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .fix-price .pre-price-value {
  font-size: 18px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .price .tax,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .fix-price .tax {
  font-size: 11px;
  font-weight: normal;
  padding: 0 0.2em;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .price .percent,
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .fix-price .percent {
  display: inline-block;
  font-size: 15px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .js-api-ncp {
  margin: 0 0 4px;
  color: #333;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .js-api-ncp span {
  color: inherit;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .js-api-availability {
  font-size: 13px;
  display: inline-block;
  margin: 0 0 4px;
}
#template #templateWrap #templateFlame #bodyClump .rbcomp__campaign__item .item-txt {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  margin: 8px 0 0;
}

/* 1行1商品 */
#template #templateWrap #templateFlame #bodyClump .item-one .rbcomp__campaign__item {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
  margin-bottom: 32px;
}
#template #templateWrap #templateFlame #bodyClump .item-one .rbcomp__campaign__item .item-main {
  width: 320px;
  margin: 0;
}
#template #templateWrap #templateFlame #bodyClump .item-one .rbcomp__campaign__item .item-detail {
  width: calc(100% - 344px);
}

/* 1行2~5商品　共通 */
#template #templateWrap #templateFlame #bodyClump .item-two,
#template #templateWrap #templateFlame #bodyClump .item-three,
#template #templateWrap #templateFlame #bodyClump .item-four,
#template #templateWrap #templateFlame #bodyClump .item-five {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
#template #templateWrap #templateFlame #bodyClump .item-three .rbcomp__campaign__item .item-main .item-img,
#template #templateWrap #templateFlame #bodyClump .item-four .rbcomp__campaign__item .item-main .item-img,
#template #templateWrap #templateFlame #bodyClump .item-five .rbcomp__campaign__item .item-main .item-img {
  max-width: 232px;
}

/* 1行2商品 */
#template #templateWrap #templateFlame #bodyClump .item-two {
  margin-left: -16px;
  margin-right: -16px;
}
#template #templateWrap #templateFlame #bodyClump .item-two .rbcomp__campaign__item {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  align-items: flex-start;
  width: 50%;
  padding: 8px 16px;
}
#template #templateWrap #templateFlame #bodyClump .item-two .rbcomp__campaign__item .item-main {
  width: 232px;
  margin: 0;
}
#template #templateWrap #templateFlame #bodyClump .item-two .rbcomp__campaign__item .item-detail {
  width: calc(100% - 248px);
}

/* 1行3商品 */
#template #templateWrap #templateFlame #bodyClump .item-three .rbcomp__campaign__item {
  width: 33.33%;
  padding: 8px;
}

/* 1行4商品 */
#template #templateWrap #templateFlame #bodyClump .item-four .rbcomp__campaign__item {
  width: 25%;
  padding: 8px;
}

/* 1行5商品 */
#template #templateWrap #templateFlame #bodyClump .item-five .rbcomp__campaign__item {
  width: 20%;
  padding: 8px;
}

/* アイテム背景あり */
#template #templateWrap #templateFlame #bodyClump .type-itemBg {
  margin-bottom: 32px;
}
#template #templateWrap #templateFlame #bodyClump .type-itemBg .rbcomp__campaign__item {
  background-color: #fff;
  padding: 16px;
  border-radius: 16px;
  margin: 8px;
  box-shadow: 0px 4px 8px 0 rgba(136, 136, 136, 0.1);
}
#template #templateWrap #templateFlame #bodyClump .item-one.type-itemBg .rbcomp__campaign__item {
  margin: 8px 0 16px;
}
#template #templateWrap #templateFlame #bodyClump .item-two.type-itemBg {
  margin-left: -8px;
  margin-right: -8px;
}
#template #templateWrap #templateFlame #bodyClump .item-two.type-itemBg .rbcomp__campaign__item {
  width: calc(50% - 16px);
}
#template #templateWrap #templateFlame #bodyClump .item-three.type-itemBg .rbcomp__campaign__item {
  width: calc(33.33% - 16px);
}
#template #templateWrap #templateFlame #bodyClump .item-four.type-itemBg .rbcomp__campaign__item {
  width: calc(25% - 16px);
}
#template #templateWrap #templateFlame #bodyClump .item-five.type-itemBg .rbcomp__campaign__item {
  width: calc(20% - 16px);
}

/* サムネイル背景あり */
#template #templateWrap #templateFlame #bodyClump .type-thumbnailBg .rbcomp__campaign__item .item-main {
  background-color: #fff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0px 4px 8px 0 rgba(136, 136, 136, 0.1);
}

/* ==============================================================================
books search API
============================================================================== */
#template #templateWrap #templateFlame #bodyClump .rankingContents,
#template #templateWrap #templateFlame #bodyClump .rankingContents * {
  box-sizing: border-box;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents {
  margin-bottom: 32px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents ol {
  list-style: none outside none;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li {
  margin-bottom: 16px;
  list-style: none outside none;
  line-height: 1.2;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .image {
  width: 100%;
  margin: 0 0 12px;
  text-align: center;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .image a {
  display: inline-block;
  transition: all 0.3s;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .image a:hover {
  opacity: 0.7;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .image img {
  max-width: 100%;
}

#template #templateWrap #templateFlame #bodyClump .rankingContents li .note {
  position: relative;
  text-align: left;
  color: #333;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note a {
  display: block;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: bold;
  color: #006497;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note > span {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.before {
  display: block;
  color: #828282;
  font-size: 13px;
  text-decoration: line-through;
  margin: 0 0 4px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.author-Publisher {
  display: block;
  margin: 10px 0;
  font-size: 12px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.after {
  display: inline-block;
  color: #bf0000;
  font-size: 16px;
  font-weight: bold;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.after b {
  font-size: 18px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.after > span {
  display: inline-block;
  color: inherit;
  font-size: 11px;
  font-weight: normal;
  padding: 0 0.2em;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.discountRate {
  display: inline-block;
  color: #bf0000;
  font-size: 15px;
  font-weight: bold;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li .note span.date {
  font-size: 13px;
  color: #828282;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li span.iconSG,
#template #templateWrap #templateFlame #bodyClump .rankingContents li span.iconAL,
#template #templateWrap #templateFlame #bodyClump .rankingContents li span.iconDVD,
#template #templateWrap #templateFlame #bodyClump .rankingContents li span.iconBD {
  display: inline-block;
  background: #a88203;
  color: #fff;
  margin: 0 0 8px;
  padding: 3px 6px 2px;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.1em;
  min-width: 64px;
  
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li span.iconDVD {
  background: #bf0000;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents li span.iconBD {
  background: #23b0eb;
}

#template #templateWrap #templateFlame #bodyClump .js-api-data span.price-after,
#template #templateWrap #templateFlame #bodyClump .js-api-data span.price-before,
#template #templateWrap #templateFlame #bodyClump .js-api-data span.price-discountRate {
  font-size: 13px;
}

#template #templateWrap #templateFlame #bodyClump .rankingContents ol li .apiRankIc {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 10px;
  background: url(https://books.rakuten.co.jp/event/common/img/ic-apirank.png) bottom left no-repeat;
  -webkit-background-size: 24px 24px;
  background-size: 24px 24px;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding: 7px 0 0 0;
  box-sizing: border-box;
}

/* 1行1商品 */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemOne li {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  align-items: flex-start;
  margin-bottom: 32px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemOne li .image {
  width: 320px;
  margin-bottom: 0;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemOne li .note {
  width: calc(100% - 344px);
}

/* 1行2~5商品　共通 */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemTwo ol,
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemThree ol,
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemFour ol,
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemFive ol {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemThree li .image a,
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemFour li .image a,
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemFive li .image a {
  max-width: 232px;
}

/* 1行2商品 */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemTwo ol {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemTwo li {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  align-items: flex-start;
  width: 50%;
  padding: 8px 16px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemTwo li .image {
  width: 232px;
  margin-bottom: 0;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemTwo li .note {
  width: calc(100% - 248px);
}

/* 1行3商品 */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemThree li {
  width: 33.33%;
  padding: 8px;
}

/* 1行4商品 */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemFour li {
  width: 25%;
  padding: 8px;
}

/* 1行5商品 */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemFive li {
  width: 20%;
  padding: 8px;
}

/* アイテム背景あり */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg li {
  background-color: #fff;
  padding: 16px;
  border-radius: 16px;
  margin: 8px;
  box-shadow: 0px 4px 8px 0 rgba(136, 136, 136, 0.1);
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg.type-itemOne li {
  margin: 8px 0 16px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg.type-itemTwo ol {
  margin-left: -8px;
  margin-right: -8px;
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg.type-itemTwo li {
  width: calc(50% - 16px);
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg.type-itemThree li {
  width: calc(33.33% - 16px);
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg.type-itemFour li {
  width: calc(25% - 16px);
}
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-itemBg.type-itemFive li {
  width: calc(20% - 16px);
}

/* サムネイル背景あり */
#template #templateWrap #templateFlame #bodyClump .rankingContents.type-thumbnailBg li .image {
  background-color: #fff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0px 4px 8px 0 rgba(136, 136, 136, 0.1);
}