#main > h2{
	margin: 25px 0 0;
	text-align: center;
}
#main > h3{
	margin-top:25px;
}
.ranking{
	width:100%;
}
.ranking ul{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	overflow:hidden;
	align-items: flex-start;
}
.ranking ul li{
	margin:0 0 20px;
	width: 49%;
}
.ranking li{
	border: 10px solid #FBD8A4;
	padding: 10px;
	position: relative;
	height: 100%;
}

.ranking .shop_logo{
	display:block;
	max-height: 100px;
}
.ranking .eatery{
	font-size:20px;
}
.ranking .sub{
	margin: 10px 0 10px;
	font-size: 16px;
}
.ranking dd{
}
.ranking dd span{
	background: #F89900;
	font-size: 25px;
	padding: 0 16px;
	display: inline-block;
	margin: 0 3px 0 0;
	vertical-align: bottom;
	font-weight: bold;
	color: #fff;
}

.ranking ul li:nth-child(1){
	width:100%;
	display: flex;
}
.ranking ul li:nth-child(1) dl{
	overflow:hidden;
}

.ranking dt:nth-of-type(2) + dd span{
	background:#999999;
}
.ranking dt:nth-of-type(3) + dd span{
	background:#C66500;
}
.ranking dt:nth-of-type(4) + dd span{
	background:#F66400;
}
.ranking dt:nth-of-type(5) + dd span{
	background:#F66400;
}

.rank{
	margin-right:10px;
	font-size: 20px;
	position:absolute;
	top:0;
	left:0;
}

li:first-of-type .ranking_img {
	width: 360px;
	margin-right: 50px;
	flex-wrap: wrap;
	align-items: flex-start;
}

li:first-of-type .ranking_img img {
	width: 100%;
	margin-bottom: 25px;
}

li:not(:first-of-type) .e_info {
	width: 100%;
}

/* カテゴリ */
h3 + ul{
	display:flex;
	flex-wrap:wrap;
}
h1 + a,
h3 + ul a{
	display:inline-block;
	margin-right:15px;
	padding:0 3px;
}
h1 + a:hover,
h3 + ul a:hover{
	background: #FDE9D2;
}
h1 + a:before,
h3 + ul a:before{
	content: url("../parts/icon_arrow.svg");
	color: #FE840F;
	font-weight: bold;
	margin-right: 5px;
	vertical-align: sub;
}

.ranking span{
	font-size:26px;
	padding:0 15px;
}

@media screen and ( max-width:1024px) {

	.ranking{
		background:none;
		margin:0;
	}
	.ranking dl{
		display:block;
		width:100%;
	}
	.ranking dl dt, .ranking dl dd,
	.ranking dl dt{
		height:auto;
	}
	.ranking ul li{
		width:49%;
	}
	.ranking ul li:nth-child(1) dl{
		display:block;
		width:100%;
	}
}

@media screen and ( max-width:896px) {

	h1 + a, h3 + ul a{
		margin-right:5px;
	}
	.ranking span{
		font-size:20px;
		padding: 0 12px;
	}
	.ranking .shop_logo{
		margin: 0;
	}

	li:first-of-type .ranking_img {
		width: 100%;
		margin-right: 0;
	}

	li:first-of-type .ranking_img img {
		width: 49%;
		margin-bottom: 0;
	}
}

@media screen and (max-width:600px){

	.ranking ul li{
		width:100%;
	}
	.ranking dl .detail dt:nth-child(1){
		width:100%;
	}

}

@media screen and ( max-width:480px) {



	.ranking ul li{
		width:100%;
	}
	.ranking ul li:nth-child(1) dt:nth-child(1){
		float:none;
		width:100%;
		min-height:30px;
	}
	.ranking ul li:nth-child(1) dd, .ranking ul li:nth-child(1) dt,
	.ranking ul li:nth-child(1) .detail dt:nth-child(1){
		margin-left:0;
	}
}
