@charset "utf-8";
/* CSS Document */


#wrapRanking {
	width: 100%;
	max-width: 770px;
	margin: 0 auto 20px;
	font-family:"Hiragino Kaku Gothic Pro", "���C���I", Meiryo, Osaka, "MS PGothic", sans-serif;
	background: url(https://titivate.jp/images/ranking/loading.gif) no-repeat 0 50%;
	}
#headRanking{
	width: 100%;
	margin-bottom:5%;
	}
#headRanking img{
	width: 100%;
	}

#tabwrap { 
	background: #fff; 
	overflow: hidden; 
	width: 100%;
/*	min-height: 300px;*/
	margin: 0 auto;
}
#tabs {
	overflow: hidden;
	background: #fff;
	font-size:70%;
	margin-bottom:10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width:1000px;
	border-bottom:#000 1px solid;
}
#tabs li { list-style: none; }
#tabs li a { 
	float: left; 
	display: block;
    padding: 12px 0;
	color: #000;
	width: 11%;
	text-decoration: none;
	text-align: center;
  border-top:1px solid #b2b2b2;
  border-bottom:none;
  border-left:1px solid #b2b2b2;

	/*border-left:#000 1px solid;	
	border-top:#000 1px solid;border-bottom:#000 1px solid;*/
}

#tabs li a:hover { background: #FFF; }
/*#tabs li:first-child a { border-left: #000 1px solid; }*/
#tabs li:last-child a { border-right: #b2b2b2 1px solid; }

#tabs li.current a { 
	/*background: #4f0b4c; 
	color: #fff; */
	  color:#FFF;
	  background-color:#000;
  font-weight:bold;
  display:block;

}



#content > div {
	clear: both;
	/*padding: 20px;*/
	line-height: 19px;
	color: #000;
	display: none;
}

#content .current { display: block; }
#content #home.first { display: block; }


/**********************/
.rank1,.rank2,.rank3,.rank4,.rank5,
.rank6,.rank7,.rank8,.rank9,.rank10,
.rank11,.rank12
{
	width: 24.4%;
	margin:0 auto;
	padding:1.5% 0 0;
	margin-left:0.5%;
	float:left;
	display:block;
	height:auto;
	}

#wrapRanking .rankttl .upDay{
	width: 100%;
	height:20px;
	display:block;
	padding:2px 0 0 66px;
	font-size:90%;
	font-weight:bold;
	background:url(https://titivate.jp/images/ranking/sale_rank.gif) no-repeat left bottom;
	text-align:left;
	}
#wrapRanking p{
	width: 100%;
	position: relative;
	overflow: hidden;
	padding-top:0px;
	}
#wrapRanking p a{
	display:block;
	width: 100%;
	}
#wrapRanking p a:hover{
	background-color:#000;
	width: 100%;
	}
#wrapRanking p a img	{
		display:block;
		width: 100%; 
		margin-top:6px;
	}		
#wrapRanking p a:hover img{
		opacity: 0.1;
		display:block;
		width: 100%; 
	}	
	
	
#wrapRanking p a .itemName,
#wrapRanking p a .salePrice{
		opacity: 0;
		display:block;
		white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width:80%;
		text-align:center;
		font-size:70%;
				height:0;
	}				

#wrapRanking p a:hover .salePrice{
		opacity: 1;
		color: #fff;
		display:block;
		position: absolute;
		top:55%;
		left:10%;
		height:50%;
	}
#wrapRanking  a:hover .salePrice{
		opacity: 1;
		color: #fff;
		display:block;
		position: absolute;
		top:55%;
		left:10%;
		height:50%;
	}
.price,.priceNo{
	text-decoration:line-through;
	font-size:70%;
	}

#wrapRanking p a:hover .itemName{
		opacity: 1;
		color: #fff;
		display:block;
		position: absolute;
		top:45%;
		left:10%;
		color: #fff;
		display:block;
		height:50%;		
	}

#wrapRanking p a .salePrice .tax {
	font-size:10px;
	font-weight:normal;
	}
.rankttl{
	display:none;
	}
.rank1{
	background:url(../rank1.gif) no-repeat center 5px;
	}
.rank2{
	background:url(../rank2.gif) no-repeat center 5px;
	}
.rank3{
	background:url(../rank3.gif) no-repeat center 5px;
	}
.rank4{
	background:url(../rank4.gif) no-repeat center 5px;
	}
.rank5{
	background:url(../rank5.gif) no-repeat center 5px;
	}
/**********************/

/***************************************/
@media screen and (max-width: 767px) {
	/* 767px�ȉ��p�i�^�u���b�g�^�X�}�[�g�t�H���p�j�̋L�q */
	/***************************************/
#wrapRanking {
	width: 100%;
	}
#tabs { font-size: 65%;
 -moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.pcImg{
	display:none;
	}
.spImg{
	display:inline-block;	
	}
/**********************/

#wrapRanking p a .itemName,
#wrapRanking p a .salePrice{

		font-size:60%;
	}

/**********************/

	}
@media screen and (max-width: 479px) {
	/* 479px�ȉ��p�i�X�}�[�g�t�H���p�j�̋L�q */
#wrapRanking p{

	padding-top:10px;
	}
#tabs li a { 
	 -moz-box-sizing: border-box;
	 -webkit-box-sizing: border-box;
	 box-sizing: border-box;
	 width: 25%;
}
#tabs li:last-child a {
	border-right:0px;
	}

/**********************/
.rank1,.rank2,.rank3,.rank4,.rank5,
.rank6,.rank7,.rank8,.rank9,.rank10,
.rank11,.rank12
{
	width: 33%;
	margin:0 auto;
	padding:2%;
	float:left;
	display:block;
	height:auto;
	}
#wrapRanking p a{
	height:130px;
	}
.rank1{
	background:url(../rank1.gif) no-repeat center 5px;
	background-size:20% auto;
	-moz-background-size:20% auto;
	-webkit-background-size:20% auto;
	-o-background-size:20% auto;
	-ms-background-size:20% auto;
	}
.rank2{
	background:url(../rank2.gif) no-repeat center 5px;
	background-size:20% auto;
	-moz-background-size:20% auto;
	-webkit-background-size:20% auto;
	-o-background-size:20% auto;
	-ms-background-size:20% auto;
	}
.rank3{
	background:url(../rank3.gif) no-repeat center 5px;
	background-size:20% auto;
	-moz-background-size:20% auto;
	-webkit-background-size:20% auto;
	-o-background-size:20% auto;
	-ms-background-size:20% auto;
	}
.rank4{
	background:url(../rank4.gif) no-repeat center 5px;
	background-size:20% auto;
	-moz-background-size:20% auto;
	-webkit-background-size:20% auto;
	-o-background-size:20% auto;
	-ms-background-size:20% auto;
	}
.rank5{
	background:url(../rank5.gif) no-repeat center 5px;
	background-size:20% auto;
	-moz-background-size:20% auto;
	-webkit-background-size:20% auto;
	-o-background-size:20% auto;
	-ms-background-size:20% auto;
	}
	}
@media screen and (max-width: 360px){
#wrapRanking p a{
	height:90px;
	}

}
