@charset "utf-8";
/* CSS Document */

/*-----人気ランキング-----*/
.ranking-box .ranking-item{
	max-width: 1200px;
	margin: 60px auto 0;
}
.ranking-box .ranking-item ol{
	display: flex;
	gap: 40px;
}
.ranking-box .ranking-item ol > li{
	width: calc((100% - 120px) / 4);
	background-color: #fff;
	padding: 5px;
	border-radius: 10px;
	position: relative;
}
.ranking-box .ranking-item ol > li:before{
	content: "";
	display: block;
	width: 85px;
	height: 65px;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	left: -5px;
	top: -30px;
	z-index: 5;
}
.ranking-box .ranking-item ol > li.no1:before{
	background-image: url(../../_images/common_new/icon-ranking1.webp);
}
.ranking-box .ranking-item ol > li.no2:before{
	background-image: url(../../_images/common_new/icon-ranking2.webp);
}
.ranking-box .ranking-item ol > li.no3:before{
	background-image: url(../../_images/common_new/icon-ranking3.webp);
}
.ranking-box .ranking-item ol > li.no4:before{
	background-image: url(../../_images/common_new/icon-ranking4.webp);
}

.ranking-box .ranking-item ol > li a{
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ranking-box .ranking-item ol > li .item-img{
	height: 300px;
	margin-bottom: 15px;
	position: relative;
}
.ranking-box .ranking-item ol > li .item-img:before{
	content: "";
	display: block;
	width: 70px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: 70px auto;
	background-position: center;
	position: absolute;
	top: 10px;
	right: 10px;
}

.ranking-box .ranking-item ol > li .item-img img{
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 8px 8px 0 0;
}
.ranking-box .ranking-item ol > li p.number{
	margin: 0 15px;
	font-size: 1.2rem;
	line-height: 1.5em;
}
.ranking-box .ranking-item ol > li *.name{
	margin: 0 15px 10px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5em;
}
.ranking-box .ranking-item ol > li dl.color-size{
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0 15px 15px;
	font-size: 1.4rem;
	line-height: 1.5em;
}
.ranking-box .ranking-item ol > li dl.color-size > div{
	display: flex;
	gap: 5px;
}
.ranking-box .ranking-item ol > li dl.color-size dt{
	width: 70px;
	background-color: #f1f1f1;
	padding: 0 5px;
	text-align: center;
	letter-spacing: 0.1em;
	border-radius: 5px;
}

.ranking-box .ranking-item ol > li a > *:not(.price) {
	flex-shrink: 0;
}


.ranking-box .ranking-item ol > li p.price{
	background-color: #f1f1f1;
	padding: 15px 10px;
	font-size: 1.2rem;
	line-height: 1.5em;
	text-align: center;
	letter-spacing: 0.1em;
	border-radius: 0 0 8px 8px;
	margin-top: auto;
}
.ranking-box .ranking-item ol > li p.price em{
	color: #ff0000;
	font-size: 2.5rem;
	font-weight: 700;
}

.ranking-box .ranking-item ol + p{
	width: 80%;
	max-width: 900px;
	margin: 30px auto 0;
	text-align: center;
}

@media screen and (max-width: 810px) {
	.ranking-box .ranking-item{
		width: 100%;
		margin: 60px auto;
	}
	.ranking-box .ranking-item ol{
		gap: 20px;
		padding: 30px 20px 10px;
		overflow-x: auto;
	}
	.ranking-box .ranking-item ol > li{
		width: 250px;
	}
	.ranking-box .ranking-item ol > li:before{
		width: 75px;
		height: 56px;
		background-size: 100% auto;
	}
	
	.ranking-box .ranking-item ol > li .item-img{
		height: 300px;
		margin-bottom: 10px;
		position: relative;
	}
	.ranking-box .ranking-item ol > li .item-img:before{
		width: 70px;
		height: 20px;
		background-size: 70px auto;
		top: 5px;
		right: 10px;
	}
	
	.ranking-box .ranking-item ol > li .item-img img{
		width: 240px;
		height: 300px;
	}
	
	.ranking-box .ranking-item ol + p{
		width: 90%;
	}
}

@media screen and (max-width: 480px) {
	/*-----人気ランキング-----*/    
	/**/
	.ranking-box .ranking-item{
		margin: 40px auto;
	}
	.ranking-box .ranking-item ol{
		gap: 20px;
		padding: 30px 15px 10px;
		overflow-x: auto;
	}
}
