@charset "utf-8";

/* リボン */
.ribon {
	position: relative;
	display: inline-block;
	overflow: hidden;
  }
  
.ribon .caption {
display: inline;
}

.ribon > p {
	position: relative; z-index: 4;
}

/* リボン一覧表示用共通部分 */
.ribon_list span,
.ribon_img_list span {
	position: absolute;
	display: inline-block;
	width: 120px;
	background: #ffff00;
	color: black;
	text-align: center;
	transform: rotate(-45deg);
	z-index: 4;
	font-weight: bold;
}
/* リボン一覧表示用 */
.ribon_list span {
	top: 15px;
	left: -30px;
	height: 30px;
	line-height: 30px;
	font-size: 11px;
}
/* リボン画像一覧表示用 */
.ribon_img_list span {
	top: 15px;
	left: -35px;
	height: 20px;
	line-height: 20px;
	font-size: 9px;
}


/* セール価格一覧表示用 */

.sale_first_parent {
	position: relative;
}

.sale_second_parent {
	position: absolute;
	top: 0;
	right: 0;
	border: 2px solid #ed1c24;
}

.sale_third_parent {
	position: relative;
	padding-top: 10px;
	text-align: center;
}

.sale_date {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	font-size: 12px;
	color: #ed1c24;
	background-color: #fff;
	padding-top: 4px;
	font-weight: bold;
	z-index: 2;
}

.sale_price {
	font-size: 18px;
	line-height: 1.2;
	font-weight: bold;
	color: #ed1c24;
}

.strikethrough_sale_price {
	font-size: 20px !important;
	font-weight: bold;
	text-decoration-line: line-through;
	text-decoration-style: double;
	text-decoration-color: red;
}

/* セール価格画像一覧表示用 */
.sale_date_img_list {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 50%;
	font-size: 12px;
	color: #ed1c24;
	background-color: #fff;
	padding: 4px 0;
	font-weight: bold;
	z-index: 2;
}

.sale_price_padding_bottom {
	padding-bottom: 25px;
}

/* forハンバーガーメニュー */
.sale_menu {
	z-index: 1000;
}

.ribbon_detail {
	position: relative;
	width: 742px;
	margin: 0 auto 10px auto;
	height: 48px;
	text-align: center;
	box-sizing: border-box;
	font-family: 'Arial Black', sans-serif;
}

.ribbon_detail::before {
	content: '';
	position: absolute;
	width: 12px;
	bottom: -12px;
	left: -36px;
	z-index: -2;
	border: 24px solid #ffff00;
	border-left-color: transparent;
	display: none;
}

.ribbon_detail-label {
	display: inline-block;
	position: relative;
	margin: 0 auto;
	padding: 0 26px;
	line-height: 48px;
	font-size: 25px;
	color: black;
	font-weight: 900;
	background-color: #ffff00;
	border-radius: 6px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	letter-spacing: 1px;
	width: 90%;
	opacity: 1;
	transform: none;
	transition: none;
}

.ribbon_detail-label::before {
	position: absolute;
	content: '';
	top: 100%;
	left: 0;
	border: none;
	border-bottom: solid 10px transparent;
	border-right: solid 15px #ffff00;
}

/*PC用*/
@media print, screen and (min-width:769px) {

}

/*SP用*/
@media only screen and (max-width:768px) {
	.ribbon_detail {
		width: 100%;
	}

	.ribbon_detail-label {
		width: 100%;
	}
}

/* パーツキャップ用微調整CSS */
.strikethrough_sale_price_for_cap {
	text-decoration: line-through double red;
}

.sale_price_padding_for_cap {
	padding: 10px 0 25px;
}

.sale_margin_for_list_comparison {
	margin-top: 2px;
}

.sale_font_weight_for_list_comparison {
	font-weight: bold;
}

/*PC用*/
@media print, screen and (min-width:769px) {
	#wheelcap .table_box .tb_wheelcap_02 .tb_wheelcap_price span.sale_price_font_size_for_cap {
		font-size: 19px;
	}

	#parts .table_box .tb_parts_02 .tb_parts_price span.sale_price_font_size_for_parts {
		font-size: 19px;
	}
}

/*SP用*/
@media only screen and (max-width:768px) {

	#wheelcap .table_box .tb_wheelcap_02 .tb_wheelcap_price span.sale_price_font_size_for_cap {
		font-size: 6vw;
	}

	#parts .table_box .tb_parts_02 .tb_parts_price span.sale_price_font_size_for_parts {
		font-size: 19px;
	}
}