@charset "UTF-8";
/* ==========================================================================
   商品カードの「NEW」マーク（functions/item-new-badge.php）
   写真の左上に三角形を重ね、内側に斜めに NEW を入れる
   ========================================================================== */
.item-card__thumb {
	position: relative;
}

.item-card__new {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 64px;
	height: 64px;
	background: #9e4441; /* くすんだ赤 */
	clip-path: polygon(0 0, 100% 0, 0 100%);
	color: #fff;
	pointer-events: none;
}

.item-card__new span {
	position: absolute;
	top: 17px;
	left: -3px;
	width: 46px;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 0.08em;
	text-align: center;
	transform: rotate(-45deg);
}

@media (max-width: 767px) {
	.item-card__new {
		width: 52px;
		height: 52px;
	}

	.item-card__new span {
		top: 13px;
		left: -4px;
		width: 40px;
		font-size: 10px;
	}
}
