/* --------------------------------------------
在庫ステータス
----------------------------------------------- */
.js-api-availability {
  display: inline-block;
  font-size: 13px;
}
.js-api-availability.js-api-put-availability-0:before{
  content:'●';
  color: #836A28;
}
.js-api-availability.js-api-put-availability-0:after{
  content:'メーカー取り寄せ';
}

.js-api-availability.js-api-put-availability-1:before{
  content:'●';
  color: #836A28;
}
.js-api-availability.js-api-put-availability-1:after{
  content:'3~7日以内に発送予定';
}

.js-api-availability.js-api-put-availability-2:before{
  content:'●';
  color: #666666;
}
.js-api-availability.js-api-put-availability-2:after{
  content:'ご注文できない商品';
}

.js-api-availability.js-api-put-availability-3:before{
  content:'●';
  color: #F57EF4;
}
.js-api-availability.js-api-put-availability-3:after{
  content:'予約受付中';
}

.js-api-availability.js-api-put-availability-4:before{
  content:'●';
  color: #666666;
}
.js-api-availability.js-api-put-availability-4:after{
  content:'予約受付終了';
}

.js-api-availability.js-api-put-availability-5:before{
  content:'●';
  color: #F57EF4;
}
.js-api-availability.js-api-put-availability-5:after{
  content:'予約受付中';
}

.js-api-availability.js-api-put-availability-6:before{
  content:'●';
  color: #666666;
}
.js-api-availability.js-api-put-availability-6:after{
  content:'予約受付終了';
}

.js-api-availability.js-api-put-availability-7:before{
  content:'●';
  color: #836A28;
}
.js-api-availability.js-api-put-availability-7:after{
  content:'メーカー取り寄せ';
}

.js-api-availability.js-api-put-availability-8:before{
  content:'●';
  color: #836A28;
}
.js-api-availability.js-api-put-availability-8:after{
  content:'メーカー在庫確認';
}

.js-api-availability.js-api-put-availability-9:before{
  content:'●';
  color: #666666;
}
.js-api-availability.js-api-put-availability-9:after{
  content:'ご注文できない商品';
}

.js-api-availability.js-api-put-availability-10:before{
  content:'●';
  color: #7CB528;
}
.js-api-availability.js-api-put-availability-10:after{
  content:'在庫あり';
}

.js-api-availability.js-api-put-availability-11:before{
  content:'●';
  color: #3C3C3C;
}
.js-api-availability.js-api-put-availability-11:after{
  content:'ご注文できない商品';
}

.js-api-availability.js-api-put-availability-12:before{
  content:'●';
  color: #C756C7;
}
.js-api-availability.js-api-put-availability-12:after{
  content:'予約受付中(発売日以降のお届け)';
}

.js-api-availability.js-api-put-availability-15:before{
  content:'●';
  color: #32B1FD;
}
.js-api-availability.js-api-put-availability-15:after{
  content:'1~3週間以内に発送予定)';
}

.js-api-availability.js-api-put-availability-16:before{
  content:'●';
  color: #32B1FD;
}
.js-api-availability.js-api-put-availability-16:after{
  content:'入荷予約（入荷次第発送）';
}

.js-api-availability.js-api-put-availability-17:before{
  content:'●';
  color: #F57EF4;
}
.js-api-availability.js-api-put-availability-17:after{
  content:'予約受付中';
}

/* [SP] ---------------------------- */
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-availability {
  font-size: 12px;
}

/* --------------------------------------------
display
----------------------------------------------- */
/* SP用（PCで非表示） */
#templateFlame .spOnly {
  display: none !important;
}

/* PC用（SPで非表示） */
#rbcomp #rbcomp__inner [data-rbcomp] .pcOnly {
  display: none !important;
}

/* --------------------------------------------
直カゴ
----------------------------------------------- */
.js-api-cart {
  display: -webkit-box;
  display: flex;
  flex-wrap: nowrap;
  -webkit-box-align: end;
  align-items: flex-end;
  margin-top: 1vw !important;
}

.cartBlock__left {
  width: 50px;
  text-align: right;
}
.cartBlock__left .units {
  text-align: center;
  position: relative;
}
.cartBlock__left .units__select {
  position: relative;
}
.cartBlock__left .units__select select {
  width: 100%;
  min-height: 18px;
  appearance: none;
  -webkit-appearance:none;
  -moz-appearance: none;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin: 0;
  background: none transparent;
  vertical-align: middle;
  box-sizing: content-box;
  padding: 10px 22px 10px 8px;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cartBlock__left .units__select:after {
  content: '';
  position: absolute;
  top: 15px;
  right: 10px;
  width: 5px;
  height: 5px;
  border-right: 2px solid #767676;
  border-bottom: 2px solid #767676;
  transform: rotate(45deg);
}

.cartBlock__right {
  width: calc(100% - 50px);
  height: 40px;
  padding-left: 6px !important;
}
.eventPageCartButton {
  display: block;
  width: 100%;
  min-width: 104px;
  height: 100%;
  background: #ff9600;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  overflow: visible;
  padding: 8px 8px 8px 24px;
  -webkit-appearance: button;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  position: relative;
  line-height: 1.5;
  white-space: nowrap;
}
.eventPageCartButton::before {
  position: absolute;
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  top: 0;
  bottom: 0;
  left: 6%;
  margin: auto;
  background: url(https://image.books.rakuten.co.jp/books/img/common/icon_cart.svg) 0 0 no-repeat;
  background-size: 16px auto;
}
.eventPageCartButton::after {
  content: 'かごに入れる';
}
.eventPageCartButton.loading {
  background: #ff9600 url(https://image.books.rakuten.co.jp/books/img/common/loader_white.svg) 50% 50% no-repeat;
  background-size: 24px auto;
}
.eventPageCartButton.loading::before {
  all: unset;
}
.eventPageCartButton.loading::after {
  all: unset;
}
.eventPageCartButton.added {
  color: #9c9c9c;
  background: #ebebeb;
}
.eventPageCartButton.added::before {
  width: 14px;
  height: 14px;
  background: url(https://image.books.rakuten.co.jp/books/img/common/icon_check_gray.svg) 0 0 no-repeat;
}
.eventPageCartButton.added::after {
  content: '追加しました';
}
.eventPageCartButton.gotocart {
  background: #bf0000;
  color: #fff;
  cursor: pointer;
}
.eventPageCartButton.gotocart::after {
  content: 'かごをみる';
}

/* 個数非表示 */
.number-0 .js-api-cart .cartBlock__left{
  display:none;
}
.number-0 .js-api-cart .cartBlock__right {
  padding-left: 0px !important;
}

/* [PC] ---------------------------- */
#templateFlame .js-api-cart {
  margin-top: 0 !important;
}

#templateFlame .cartBlock__left {
  width: auto;
}
#templateFlame .cartBlock__left .units {
  display: -webkit-box;
  display: flex;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  align-items: center;
}
#templateFlame .cartBlock__left .units__txt {
  margin: 0 3px 0 0;
  width: 1em;
  font-size: 12px;
  color: #696969;
}
#templateFlame .cartBlock__left .units__select select {
  min-height: auto;
  padding: 0 24px 0 8px;
  width: 48px;
  height: 40px;
  box-sizing: border-box;
}

#templateFlame .cartBlock__right {
  width: auto;
}
#templateFlame .eventPageCartButton {  
  max-width: 120px;
}
#templateFlame .eventPageCartButton::before {
  left: 8px;
}

/* [SP] ---------------------------- */
#rbcomp #rbcomp__inner [data-rbcomp] .cartBlock__left .units__txt {
  display: none;
}

#rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__left .units__select select,
#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .cartBlock__left .units__select select {
  font-size: 15px;
  padding: 10px 20px 10px 6px;
  text-align: center;
}
#rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__right .eventPageCartButton,
#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .cartBlock__right .eventPageCartButton {
  font-size: 11px;
  min-width: 90px;
  padding: 8px 6px 8px 22px;
}

#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .js-api-cart {
  flex-wrap: wrap;
  -webkit-box-align: start;
  align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
}
#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .cartBlock__right {
  padding-left: 0 !important;
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 374px) {  
  #rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__left {
    width: 40px;
  }
  #rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__left .units__select select {
    font-size: 14px;
    padding: 11px 18px 11px 4px;
    text-align: center;
  }
  #rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__left .units__select:after {
    right: 7px;
  }
  #rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__right {
    width: calc(100% - 40px);
  }
  #rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__right .eventPageCartButton,
  #rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .cartBlock__right .eventPageCartButton {
    font-size: 10px;
    min-width: 72px;
    padding: 8px 6px;
  }
  #rbcomp #rbcomp__inner [data-rbcomp] .item-two-sp .cartBlock__right .eventPageCartButton::before,
  #rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .cartBlock__right .eventPageCartButton::before {
    display: none;
  }
}

/* 個数非表示 */
#rbcomp #rbcomp__inner [data-rbcomp] .number-0 .js-api-cart .cartBlock__right {
  width: 100%;
}

/* --------------------------------------------
特典情報・配送情報
----------------------------------------------- */
/* [PC] ---------------------------- */
#template #templateWrap #templateFlame .js-api-originalDlv,
#template #templateWrap #templateFlame .js-api-benefits {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-size: 11px;
}
#template #templateWrap #templateFlame .js-api-originalDlv > span,
#template #templateWrap #templateFlame .js-api-benefits > span {
  display: -webkit-box;
  display: flex;
  flex-wrap: nowrap;
  -webkit-box-align: stretch;
  align-items: stretch;
  background: #FFE8E8;
  padding: 4px;
  border-radius: 4px;
}
#template #templateWrap #templateFlame .js-api-originalDlv span,
#template #templateWrap #templateFlame .js-api-benefits span {
  color: inherit;
}
#template #templateWrap #templateFlame .js-api-originalDlv > span {
  background: #DCF3FF;
}

#template #templateWrap #templateFlame .limitdLabel {
  display: -webkit-box;
  display: flex;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  align-items: center;
  margin: 0 6px 0 0;
  padding: 4px 6px 3px 18px;
  position: relative;
  background: #fff;
  color: #BF0000;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.2;
  word-break: keep-all;
  border-radius: 2px;
}
#template #templateWrap #templateFlame .limitdLabel::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  left: 5px;
  width: 10px;
  height: 10px;
  background: #bf0000;
  mask: url("https://image.books.rakuten.co.jp/books/img/common/img/sp/gift.svg") no-repeat left center / contain;
  -webkit-mask: url("https://image.books.rakuten.co.jp/books/img/common/img/sp/gift.svg") no-repeat left center / contain;
}
#template #templateWrap #templateFlame .limitdLabel wbr {
  display: none;;
}

#template #templateWrap #templateFlame .limitdLabel.limitedbox {
  color: #0085C7;
}
#template #templateWrap #templateFlame .limitdLabel.limitedbox::before {
  background: #0085C7;
  mask: url("https://image.books.rakuten.co.jp/books/img/common/icon_box.svg") no-repeat center center / contain;
  -webkit-mask: url("https://image.books.rakuten.co.jp/books/img/common/icon_box.svg") no-repeat center center / contain;
}
#template #templateWrap #templateFlame .limitdLabelText {
  color: #333;
  font-size: 11px;
  align-self: center;
}

#template #templateWrap #templateFlame .item-five .js-api-originalDlv > span,
#template #templateWrap #templateFlame .item-five .js-api-benefits > span {
  flex-wrap: wrap;
}
#template #templateWrap #templateFlame .item-five .limitdLabel {
  width: 100%;
  margin: 0 0 4px;
}

/* [SP] ---------------------------- */
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-originalDlv,
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-benefits {
  display: block;
  width: 100%;
  font-size: 11px;
}
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-originalDlv > span,
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-benefits > span {
  display: block;
  background: #FFE8E8;
  margin-bottom: 6px;
  padding: 4px;
  border-radius: 4px;
}
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-originalDlv span,
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-benefits span {
  color: inherit;
}
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-originalDlv > span {
  background: #DCF3FF;
}

#rbcomp #rbcomp__inner [data-rbcomp] .limitdLabel {
  align-items: center;
  margin: 0 0 4px 0;
  padding: 4px 6px 3px 18px;
  position: relative;
  background: #fff;
  color: #BF0000;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.2;
  border-radius: 2px;
}
#rbcomp #rbcomp__inner [data-rbcomp] .limitdLabel::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  left: 5px;
  width: 10px;
  height: 10px;
  background: #bf0000;
  mask: url("https://image.books.rakuten.co.jp/books/img/common/img/sp/gift.svg") no-repeat left center / contain;
  -webkit-mask: url("https://image.books.rakuten.co.jp/books/img/common/img/sp/gift.svg") no-repeat left center / contain;
}
#rbcomp #rbcomp__inner [data-rbcomp] .limitdLabel > span {
  display: inline-block;
}

#rbcomp #rbcomp__inner [data-rbcomp] .limitdLabel.limitedbox {
  color: #0085C7;
}
#rbcomp #rbcomp__inner [data-rbcomp] .limitdLabel.limitedbox::before {
  background: #0085C7;
  mask: url("https://image.books.rakuten.co.jp/books/img/common/icon_box.svg") no-repeat left center / contain;
  -webkit-mask: url("https://image.books.rakuten.co.jp/books/img/common/icon_box.svg") no-repeat left center / contain;
}
#rbcomp #rbcomp__inner [data-rbcomp] .limitdLabelText {
  color: #333;
  font-size: 11px;
  align-self: center;
  padding: 0 1px;
}

#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .limitdLabel {
  display: flex;
  justify-content: center;
  padding: 4px 6px 3px 6px;
}
#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .limitdLabel::before {
  position: static;
  flex: 0 0 10px;
  max-width: 10px;
  padding-right: 2%;
}
#rbcomp #rbcomp__inner [data-rbcomp] .item-three-sp .limitdLabelText {
  display: block;
  text-align: center;
  padding: 0;
}

/* --------------------------------------------
レビュー
----------------------------------------------- */
/* [PC] ---------------------------- */
#template #templateWrap #templateFlame .js-api-review {
  color: #333;
}
#template #templateWrap #templateFlame .js-api-review > em {
  font-weight: bold;
}
#template #templateWrap #templateFlame .js-api-review > em + span {
  font-size: 11px;
}

/* [SP] ---------------------------- */
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-review {
  color: #333;
}
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-review > em {
  font-weight: bold;
}
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-review > em + span {
  font-size: 11px;
}

/* --------------------------------------------
商品紹介
----------------------------------------------- */
/* [PC] ---------------------------- */
#template #templateWrap #templateFlame .js-api-nonSearchableDescription {
  display: block;
  color: #666;
  margin: 8px 0;
  padding: 8px 12px;
  background: #f7f7f7;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 4px;
}
  #template #templateWrap #templateFlame .js-api-nonSearchableDescription span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  color: #333;
}

/* [SP] ---------------------------- */
#rbcomp #rbcomp__inner [data-rbcomp] .js-api-nonSearchableDescription {
  display: block;
  color: #666;
  margin: 8px 0;
  padding: 6px;
  background: #f7f7f7;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 4px;
}
  #rbcomp #rbcomp__inner [data-rbcomp] .js-api-nonSearchableDescription span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  color: #333;
}