@charset "shift_jis";
/* CSS Document */

	#ranking_aria{
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px 20px 70px;
	}
	
	.content_title{
		font-size: 35px;
		font-family: 'Noto Serif JP', serif;	
		text-align: center;
	}
	
	.tab-group{
		display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 16px 0;
	}
	
.tab.is-active {
  background: #2e2e2e;
  color: #FFF;
  transition: all 0.2s ease-out;
}
.tab {
  width: 16%;
  margin-bottom: 15px;
  padding: 0.8rem 0;
  list-style: none;
  border: 0.5px solid #b1b1b1;
  color: #6c6c6c;
  background: #FFFFFF;
  text-align: center;
  cursor: pointer;
}	
	
	@media screen and (max-width:480px){
.tab {
    width: 33%;	
	margin-bottom: 5px;
}
	}
	
.ranking_item {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
  justify-content: space-between;
}	
	
.ranking_item::before{
  content:"";
  display: block;
  width:23%;
  order:1;
}
.ranking_item::after{
  content:"";
  display: block;
  width:23%;
}
	
.ranking_item li {
  position: relative;
  width: 32.8%;
  margin-bottom: 30px;
  color: #000;
  counter-increment: number;	
}
	
.ranking_item li:nth-child(n+4) {
  width: 24%;
  padding: 3px auto;
}		
	
.ranking_item li::before {
position: absolute;
    left: 0;
    font-weight: bold;
    line-height: 0;
    /*border: 2px solid #7c7c7c;*/
	color: #7c7c7c;
    border-radius: 20px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 2;
    font-size: 1.2rem;
    top: -10px;
    width: 2.5em;
    height: 2.5em;
  content: counter(number);
}	
	
.ranking_item li:nth-child(1)::before {
    color: #fff;
    background: #e6b422;
    border: 2px solid #e6b422;
}
.ranking_item li:nth-child(2)::before {
    color: #fff;
    background: #c0c0c0;
    border: 2px solid #c0c0c0;
}
.ranking_item li:nth-child(3)::before {
    color: #fff;
    background: #b87333;
    border: 2px solid #b87333;
}
	

	
.ranking_item li img {
  width: 100%;
  margin-bottom: 5px;

	}
	
	.ranking_item li a{
  transition: all 0.3s;
		text-decoration: none;
		color: #3D3D3D;		
	}	
	
	.ranking_item li a:hover{
		opacity: 0.5;
	}
	
	.item_name{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
text-align: left;
padding: 5px 0;
	font-size: 1em;
	}
	
.ranking_item_price {
  font-size: 2rem;
}	
	
	@media screen and (max-width:480px){
	.item_name{
	font-size: 0.5em;
	}	
	}	
	
	@media screen and (max-width:580px){
.ranking_item li {
  width: 49%;
}
		
.ranking_item li:nth-child(n+3) {
  width: 32%;
  padding: 3px auto;
}	
	}	
	
