/* ==================================================
   RBパーツセンター：レンタル商品機能の追加スタイル
   ================================================== */

/* 旧ショップ（EC-CUBE）の本文装飾を再現 */
.rbp-legacy .bold{font-weight:bold}
.rbp-legacy .red{color:#e60012}
.rbp-legacy .blue{color:#0068b7}
.rbp-legacy .black{color:#222}
.rbp-legacy .size12{font-size:12px}
.rbp-legacy .size14{font-size:14px}
.rbp-legacy .size16{font-size:16px}
.rbp-legacy .size18{font-size:18px}
.rbp-legacy .size20{font-size:20px}
.rbp-legacy .size22{font-size:22px}
.rbp-legacy .size24{font-size:24px}
.rbp-legacy .waku{display:block;border:1px solid #ccc;padding:10px 15px;margin:10px 0}
.rbp-legacy img{max-width:100%;height:auto}
.rbp-description p{margin-bottom:.8em}
.rbp-spec-wrap{overflow-x:auto}
.rbp-spec-wrap table{min-width:480px}
.rbp-spec-wrap th{white-space:normal;width:35%;background:#f5f5f5}
.rbp-spec-wrap th[colspan]{width:auto}
#area-2 .p-3 p:last-child{margin-bottom:0}
.p-category-product__slider .slide-item img{max-width:100%;height:auto}
.p-category-product__slider_thumb{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:10px 0 0;list-style:none}
.p-category-product__slider_thumb li{width:64px;height:64px;border:2px solid #ddd;cursor:pointer;background:#fff}
.p-category-product__slider_thumb li img{width:100%;height:100%;object-fit:contain}
.p-category-product__slider_thumb li.slick-current{border-color:#0068b7}
#webHyojiZaiko{font-weight:bold;margin-right:.5em}

/* 見積もりカートの件数 */
.rbp-cart-count{display:inline-block;min-width:1.6em;padding:0 .4em;margin-left:.3em;border-radius:1em;background:#e60012;color:#fff;font-size:12px;line-height:1.6em;text-align:center}
.rbp-cart-count[hidden]{display:none}

/* 一覧 */
.rbp-count{font-size:.75em;font-weight:normal;margin-left:.3em}
.rbp-pagination{margin:20px 0 40px}
.rbp-pagination .page-link{color:#0068b7}
.rbp-pagination .active .page-link{background:#0068b7;border-color:#0068b7;color:#fff}
.ec-categoryRole__listItem.is-current a{font-weight:bold}

/* 見積もりフォーム */
.rbp-form-page h3{margin-top:30px}
.rbp-steps{display:flex;gap:4px;list-style:none;padding:0;margin:0 0 30px}
.rbp-steps li{flex:1;text-align:center;padding:10px 4px;background:#eee;color:#888;font-weight:bold;font-size:14px}
.rbp-steps li.is-current{background:#0068b7;color:#fff}
.rbp-type-tabs{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0 0 20px;border-bottom:3px solid #0068b7}
.rbp-type-tabs li a{display:block;padding:10px 16px;background:#f1f1f1;color:#333;text-decoration:none;font-size:14px}
.rbp-type-tabs li.is-current a{background:#0068b7;color:#fff}
.rbp-input th{width:240px;background:#f7f7f7;vertical-align:middle;font-weight:normal}
.rbp-input th label{font-weight:bold}
.rbp-req,.rbp-opt{display:inline-block;margin-left:8px;padding:1px 6px;font-size:11px;color:#fff;background:#e60012;border-radius:2px;vertical-align:middle}
.rbp-opt{background:#999}
.rbp-radio{margin-right:1.5em;display:inline-block;padding:4px 0}
.rbp-w-date{max-width:220px}
.rbp-error{color:#e60012;font-size:13px;margin:4px 0 0}
.rbp-cart-table td{vertical-align:middle}
.rbp-cart-img{width:80px}
.rbp-cart-img img{width:64px;height:64px;object-fit:contain}
.rbp-cart-empty{padding:16px;background:#f7f7f7}
.rbp-agree{text-align:center;margin:20px 0}
.rbp-form-btns{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:20px 0 50px}
.rbp-form-btns .btn{min-width:240px}
.rbp-confirm th{width:240px;background:#f7f7f7}
.rbp-confirm-items{margin:0;padding-left:1.2em}
.rbp-done{padding:40px 20px;text-align:center;background:#f7f7f7;margin-bottom:50px}
.rbp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media (max-width:767px){
	.rbp-input th,.rbp-input td,.rbp-confirm th,.rbp-confirm td{display:block;width:100%}
	.rbp-input th,.rbp-confirm th{border-bottom:0}
	.rbp-type-tabs li{flex:1 1 100%}
}
@media print{
	.rbp-cart-count,.p-category-product__contactfv,.p-category-product__btnlist{display:none!important}
}

/* 特長・シリーズの本文はデザインラフに合わせて通常の太さ（赤・青の強調だけ残す） */
#area-1 .black.bold,#area-2 .black.bold,.rbp-description .black.bold{font-weight:normal}
#area-1 .size16,#area-2 .size16,#area-1 .size12,#area-2 .size12{font-size:inherit}

/* テーマ全体で h2 が非表示のため、商品カードの商品名は表示する */
.card__title,.card__title__02{display:block}
.card__title{height:auto;min-height:48px;margin:6px 0 10px}
.card__excerpt{overflow:hidden}
/* 商品画像は枠からはみ出さないように */
.thumb_img img{max-width:100%;object-fit:contain}
.c-faq_catbox02__img img{width:100%;height:auto;max-width:120px;object-fit:contain}
