﻿@charset "UTF-8";

/* ランキングエリア：共通 */
#ranking_page_results{
	position: relative;
}
#ranking_page_relate_result{
	box-sizing: border-box;
	clear:both;
}
/* ランキングエリア：ランキングページへ */
.ranking_to_all{
	float:none;
	width:100%;
	flex-basis:100%;
	max-width:100%;
	text-align:right;
	font-size:80%;
	padding:3px 5px;
	margin: 0px;
}
.ranking_to_all a {
	float: right;
	background-color: rgba(255,255,255,0.5);
	border: 1px solid rgba(128,128,128,0);
	border-radius: 18px;
	padding: 8px;
	box-sizing: border-box;
	text-decoration: none;
}
.ranking_to_all a:hover {
	border-color: #ff9900;
}
/* ランキングエリア：トップページ */
#ranking{
	position: relative;
	width: calc(100% - 16px);
}
/* ランキングエリア：ランキングページ */
#logrecom_placeholder_rank2{
	float: right;
	width: 20%;
	max-width: 204px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: space-around;
	box-sizing: border-box;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
/* ランキングエリア：ジャンルページ */
#ranking_page_relate_result .productranking{
	width: 100%;
	margin-left:0px;
	clear: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: center;/*space-between;*/
	padding: 1px;
	box-sizing: border-box;
}

/* ランキング見出し：汎用 */
#ranking_page_relate_result .logrecom_title{
	width: 100%;
	height: auto;
	margin:5px 0 3px;
	font-size: 100%;
	font-weight: normal;
	text-align: left;
	border: 0px solid #cccccc;
	border-left: 5px solid #a5db00;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
	background-color: rgba(255,255,255,0.5);
	word-break: keep-all;
}
#ranking_page_relate_result .logrecom_title:after{
	content:"ランキング";
}

/* ランキングボックス：共通 */
#ranking_page_relate_result .productrank {
	float:none;
	margin: 0;
	padding: 6px 4px;
	width:20%;
	height: auto;
	flex-basis:20%;
	max-width:20%;
	border: rgba(128,128,128,0) 1px solid;
	border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	background-color: rgba(255,255,255,0.5);
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: 2px;
	background-size: 32px;
	position:relative;
	box-sizing: border-box;
	overflow: hidden;
	transition: 0.2s;
}
#ranking_page_relate_result .productrank:hover {
	border-color: #ff9900;
}
#ranking_page_relate_result .productrank.detail:hover{
	border-color: #ff9900;
}
#ranking_page_relate_result .productrank a{
	display: block;
	width:100%;
	height:100%;
	text-decoration: none;
}
/* ランキング番号：共通 */
#ranking_page_relate_result .productrank .rank{
	position: absolute;
	top: 8px;
	left: 8px;
	width: 100%;
}
#ranking_page_relate_result .productrank .rank img{
	width: 25%;
	position: absolute;
	left: 0;
	top: 0;
}

/* ランキング商品名：共通 */
#ranking_page_relate_result .productrank .name{
	width: 100%;
	height: auto;
	line-height: 1.2em;
	max-height: 3em;
	margin: 0px;
	font-size: 80%;
	overflow: unset;
	float: none;

}
/* ランキング商品名：右カラム用 */
#ranking_page_relate_result .productrank.detail .name{
	font-size: 90%;
	line-height: 1em;
	width: 100%;
	max-height: 3em;
	padding: 2px 6px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background-color: rgba(255,255,255,0.7);
	box-sizing: border-box;
}
/* ランキング画像：共通 */
#ranking_page_relate_result .productrank .image{
	width: 100%;
}
#ranking_page_relate_result .productrank .image img{
	margin:auto;
	width:100%;
    display:block;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	transition: 0.2s;
}
#ranking_page_relate_result .productrank:hover .image img{
	opacity:0.75;
}
