@charset "UTF-8";

html {
    overflow-y: scroll;
}

ul {
    list-style:none;
}

/* Vue 設定 */
[v-cloak] {  display: none; }

.v-enter-active {
    -webkit-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.v-enter, .v-leave-to, .v-leave-active {
    opacity: 0;
}

/* 読み込みローダー */
.loader {
    position: relative;
    text-indent: -9999em;
    margin: 88px auto;
    width: 80px;
    height: 80px;
    background-image: url('/cmn/img/loader.gif');
}

/* ランキング main */
#ranking {
    width: 100%;
    margin: 0 0 40px;
}

#ranking .titleWrapper{
    border-top:1px solid #192b5b;
    padding:20px 0;
}

#ranking .titleText {
    float: left;
    padding-left: 10px;
    font-size: 13px;
    line-height: 1.2em;
    color: #999;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.titleText.noIcon {
    padding-left: 0;
    background: none!important;
}

.titleText h1{
    font-size:24px;
    line-height:1.3;
    color:#192b5b;
}

#ranking .titleKind{
	font-size: 15px;
}

/* 商材切替タブ */
.rankTab{
    display:table;
    width:100%;
    margin-bottom:20px;
    border-bottom:1px solid #192b5b;
}

.rankTab li{
    display: table-cell;
    width: 25%;
    vertical-align: top;
    border-collapse: collapse;
    height: 40px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    background: #eee;
    color: #192b5b;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
}

.rankTab li:hover{
    background:#ddd;
}

.rankTab li.active,
.rankTab li.router-link-active
{
    position:relative;
    top:1px;
    height:40px;
    border-top:6px solid #192b5b;
    border-left:1px solid #192b5b;
    border-right:1px solid #192b5b;
    background:#fff;
    line-height:33px;
}

.rankTab li a,
.rankTab li a:active,
.rankTab li a:visited{
    text-decoration: none;
    color: #192b5b;
    display: block;
    cursor: pointer;
}

/* ランキング　サブメニュー　ボタン */
.ranking-kind {
    background-color: #eee;
    border: none;
    border-radius: 20px;
    color: #1A2B5B;
    cursor: pointer;
    font-size: 14px;
    height: 40px;
    outline: none;
    margin: 0 5px 20px 0;
    padding: 0 25px;
    appearance: none;
}

.rank-kinds button:hover{
    background:#ddd;
}

.rank-kinds button.active,
.rank-kinds button.router-link-active
{
    position:relative;
    top: 1px;
    height: 41px;
    border: 1px solid #ffd100;
    color: #192b5b;
    background: #ffd100;
    line-height: 33px;
}

.ranking-header {
    background: #eee;
    color: #1A2B5B;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 20px;
    text-align: center;
}

/* 商材リスト */
.item-container ul {
    margin: 0;
}

.rank-item{
    border-bottom: 1px solid #ddd;
    margin: 0 auto;
}

.rank-item a {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    cursor: pointer;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.rank-item a::after{
	float: right;
	position: absolute;
	width: 8px;
	height: 8px;
	top:0;
	bottom:0;
	right:8px;
	margin:auto;
	content:"";
	vertical-align: middle;
	border-top: 1px solid #192b5b;
	border-right: 1px solid #192b5b;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.rank-item a:hover .item-left img{
    opacity: .7;
}

.item-data {
    min-height: 0;
}

.rank-1 {
    border-radius: 0;
    color: #fff;
    line-height: 32px;
    width: 32px;
    background: url(/v2/cmn/img/store_info/ranking/icon_ranking-1.png) center top / 32px auto no-repeat #fff;
    align-self: center;
    margin: 0 2px;
    text-align: center;
}

.rank-2 {
    border-radius: 0;
    color: #fff;
    line-height: 32px;
    width: 32px;
    background: url(/v2/cmn/img/store_info/ranking/icon_ranking-2.png) center top / 32px auto no-repeat #fff;
    align-self: center;
    margin: 0 2px;
    text-align: center;
}

.rank-3 {
    border-radius: 0;
    color: #fff;
    line-height: 32px;
    width: 32px;
    background: url(/v2/cmn/img/store_info/ranking/icon_ranking-3.png) center top / 32px auto no-repeat #fff;
    align-self: center;
    margin: 0 2px;
    text-align: center;
}

.rank-num {
    align-self: center;
    background: #eee;
    border-radius: 50%;
    color: #666;
    counter-increment: ranking;
    content: counter(ranking);
    height: 32px;
    line-height: 32px;
    margin: 0 2px;
    text-align: center;
    width: 32px;
}

.rank-item:last-child {
    border-bottom: none;
}


/* 商材イメージ */
.item-left {
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 20px;
    width: 150px;
    height: 170px;
}

.item-left img {
    display: block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    margin: 0 auto;
}

/* 商材情報 */
.item-right {
    width: calc(100% - 186px);
    padding-right: 10px;
}

.item-category {
    background: #eee;
    color: #666;
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    margin: 0 0 5px;
    padding: 5px 6px 4px;
    text-align: center;
}

.item-rsv
{
    background: #00d200;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    margin: 0 0 5px;
    padding: 5px 6px 4px;
    text-align: center;
}

.item-rsv-end
{
    background: #808080;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    margin: 0 0 5px;
    padding: 5px 6px 4px;
    text-align: center;
}

.item-right h2 {
    color: #000000;
    font-size: 20px;
}

.item-data {
    position: relative;
    min-height: 120px;
}

.item-detail {
    margin: 5px 0px 0px;
    color: #666;
    font-size: 14px;
}

.item-detail dt {
    width: 8.5em;
    float: left;
    position: relative;
}

.item-detail dt::after {
    content:'：';
    position: absolute;
    right: 0;
}

.item-detail dd {
    margin: 0 0 0 9em;
}

.item-link {
    position: absolute;
    right: 0;
    top: 0;
}

.item-link button {
    height: 50px;
    margin: 0 auto 10px;
    width: 200px;
}

.item-link button div.loading {
    width: 100%;
    height: 30px;
    background-image: url(/cmn/img/loader.gif);
    background-size: 30px;
    background-position: center center;
    background-repeat: no-repeat;
}

.item-link button.alertBtn {
    font-size: 14px;
}

.item-link button.alertDoneBtn {
    background-color: #ddd;
    color: #192B5B;
    font-size: 14px;
}

.no-rank {
    text-align: center;
    font-size: 20px;
    padding: 30px;
}

/* ページャー */
.pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-top: 1px solid #ddd;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.pager ul {
    -webkit-box-flex: 60%;
        -ms-flex: 60%;
            flex: 60%;
    padding: 13px 0;
}

.pager ul li {
    display: inline-block;
    width: 2em;
    font-size: 14px;
    margin: 0 2px 0;
    color: #192b5b;
    border: 1px solid #ddd;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
}

.pager ul li.active,
.pager ul li:nth-of-type(n).router-link-active {
    border: 1px solid #192b5b;
    background: #192b5b;
    color: #fff;
}

.pager ul li:first-child,
.pager ul li:first-child.router-link-active {
    width: 30px;
    padding-left: 5px;

    background: #fff;
    border: 1px solid #ddd;
    color: #192b5b;
}

.pager ul li:nth-child(2),
.pager ul li:nth-child(2).router-link-active {
    padding-left: 5px;

    background: #fff;
    border: 1px solid #ddd;
    color: #192b5b;
}

.pager ul li:nth-last-child(2),
.pager ul li:nth-last-child(2).router-link-active {
    padding-right: 5px;

    background: #fff;
    border: 1px solid #ddd;
    color: #192b5b;
}

.pager ul li:last-child,
.pager ul li:last-child.router-link-active {
    width: 30px;
    padding-right: 5px;

    background: #fff;
    border: 1px solid #ddd;
    color: #192b5b;
}

.arrow-prev::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 1px solid #192b5b;
    border-right: none;
    border-bottom: none;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.arrow-next::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 1px solid #192b5b;
    border-left: none;
    border-top: none;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
