/*
Theme Name: 賢威8.0（子テーマ） 
Theme URI: https://rider-store.jp/keni/
Author: 株式会社ウェブライダー		
Author URI: https://web-rider.jp/
Description: 賢威8.0 子テーマです。		
Version: 8.0.0.0
Template: keni80_wp_standard
*/

/*--------------------------------------
楽天ランキングCSS
--------------------------------------*/
.rserch {
display: block;
float: left;
width: 100%;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #ECECEC;
text-shadow:none;
}.rserch1 {
display: block;
float: left;
width: 300%;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #ECECEC;
text-shadow:none;
}

.goods1 {
width: 31%;
padding: 1%;
text-shadow:none;
float: left;
margin-bottom: 10px;
}

.goods1 a, .ranking1 a{
font-size: small;
}

.goods1 a img {
padding: 2px;
background-color: #666;
}

.shop, .shop2 {
clear: both;
display: block;
margin-right: 1%;
padding-top: 20px;
padding-bottom: 20px;
background-image: url(../../../../images/icons-32x32/open.png);
background-repeat: no-repeat;
background-position: left 10px;
text-indent: 3em;
border-top-width: 1px;
border-top-style: dashed;
border-top-color: #ECECEC;
font-weight: bold;
font-size: 17px;
}

.shop_rank {
clear: both;
display: block;
padding-top: 20px;
padding-bottom: 20px;
background-image: url(../../../../images/ranking02.png);
background-repeat: no-repeat;
background-position: left top;
text-indent: 3em;
font-weight: bold;
font-size: 24px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #999;
margin-bottom: 20px;
}

.ranking1 a img {
padding: 20%;
border: 1px solid #E1E1E1;
width: 59%;
background-color: #F7F7F7;
background-image: url(../../../../images/back/frenchstucco.jpg);
}

        .important { 
            color: red; 
            font-weight: bold;
        }
        .contents {
            background-color: #f0f0f0;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        .contents h2 {
            color: #333;
        }

.slidebox{
	width: 1200px;
	margin: 0 auto 30px;
}

#slider {
    width: 880px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}

.active-slide {
    z-index: 3;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 10px 0;
}


.slide-caption h3 {
    margin: 0; /* 余分なマージンを削除 */
    font-size: 1.5em; /* タイトルのフォントサイズを指定 */
    border: none;
    color: #fff;
}

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

.ranking1 a img {
padding: 5%;
border: 1px solid #CCC;
width: 88%;
}

.shop_rank {
text-indent: 4em;
font-size: 18px;
}

.slidebox{
	width: 100%;
    height: 300px;
	margin: 0 auto 30px;
}

#slider {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}

.active-slide {
    z-index: 3;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 10px 0;
}


.slide-caption h3 {
    margin: 0; /* 余分なマージンを削除 */
    font-size: 1.2em; /* タイトルのフォントサイズを指定 */
    border: none;
    color: #fff;
}

}

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

.textwidget {
width: 80%;
margin: 0 auto;
}

.slidebox{
	width: 100%;
    height: 300px;
	margin: 0 auto;
}

#slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}

.active-slide {
    z-index: 3;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: left;
    padding: 10px;
}


.slide-caption h3 {
    margin: 0; /* 余分なマージンを削除 */
    font-size: 1.0em; /* タイトルのフォントサイズを指定 */
    border: none;
    color: #fff;
}

}

/* メイン表示 */
.ranking1 {
font-size: x-small;
line-height: normal;
width: 31%;
padding: 1%;
text-shadow:none;
float: left;
height: 450px;
}

/* サイドバー表示 */
.ranking2 {
font-size: x-small;
line-height: normal;
width: 31%;
padding: 1%;
text-shadow:none;
float: none;
height: 450px;
}

.rank {
color: #FFF;
font-size: 14px;
margin-bottom: 5px;
font-weight: bold;
letter-spacing: 2px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 10px;
background-color: #666;
}

.shop_name {
font-size: xx-small;
line-height: normal;
clear: both;
display: block;
color: #333;
padding: 3px;
margin-top: 10px;
margin-bottom: 5px;
background-image: url(../../../../images/home.png);
background-repeat: no-repeat;
background-position: left 3px;
text-indent: 1.2em;
}

.shop_year {
color: #FFF;
background-color: #F90;
padding-top: 2px;
padding-right: 3px;
padding-bottom: 2px;
padding-left: 3px;
}

.catch {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #999;
margin-bottom: 5px;
padding: 3px;
}

.average {
padding-right: 3px;
padding-left: 3px;
}

.average b {
color: #C00;
font-weight: bold;
}

.count {
padding-right: 3px;
padding-left: 3px;
margin-bottom: 5px;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #999;
padding-bottom: 5px;
}

.count b{
color: #039;
font-weight: bold;
}

.price {
color: #900;
font-weight: bold;
font-size: small;
padding-left: 3px;
margin-top: 10px;
}

.inst_feed{
	width: 100%;
	padding: 0 0 20px;
	flex-wrap: wrap;
	-webkit-justify-content: space-around;
	justify-content: space-around;
}