#topad {
	padding-left:30px;
	padding-right:30px;
}

/*トップページ上部*/
#top-upper {
    max-width: 700px;
    padding: 0 auto;
    margin: 0 auto 15px;
}
#top-under {
    max-width: 700px;
}
/*PCトップページ記事一覧*/
@media only screen and (min-width: 950px){
#topnews dl.clearfix.wide-card {
	  width: 68%;
    height: 110px;
    margin-left: 18%;
	  margin-bottom: 8px;
}
#topnews dl.clearfix.wide-card dt {
    width: 25%;
    padding: 7px 7px;
}
#topnews dl.clearfix.wide-card dd a {
    font-size: 0.8em;
}
.pagination {
    clear: both;
    position: relative;
    font-size: 18px;
    line-height: 18px;
    margin-left:13%;
    padding:20px 0;
}
#topnews dl.clearfix.wide-card dd {
    width: 68%;
    padding: 8px 5px;
}
	
.category_info p {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 10px;
    color: #fff;
    font-size: .85em;
    font-weight: bold;
    line-height: 1em;
    width: auto;
    z-index: 3;
    box-shadow: 0px 1px 3px -1px rgba(0,0,0,.3);
}
}

/*pc2トップページ記事一覧*/
@media only screen and (max-width: 949px){
#topnews dl.clearfix.wide-card dt {
    width: 30%;
    padding: 7px 7px;
}
#topnews dl.clearfix.wide-card dd a {
    font-size: 0.8em;
}
#topnews dl.clearfix.wide-card {
    width: 90%;
    height: 130px;
	margin-left:5%;
    margin-bottom: 10px;
}
	
}
/*タブレットトップページ記事一覧*/
@media only screen and (max-width: 749px){
#topnews dt img {
    width: 70%;
	  padding-left: 10px;
}
#topnews dl.clearfix.wide-card {
    width: 96%;
    height: 140px;
    margin-bottom: 10px;
}
}


/*スマホトップページ記事一覧*/
@media only screen and (max-width: 419px){
#topnews dt img {
    width: 85%;
	  padding-left: 10px;
	  padding-top: 15px;
	
}
#topnews dl.clearfix.wide-card {
    width: 92%;
    height: 80px;
	  margin-left: 10px;
  	margin-bottom:12px;
}
#topnews dl.clearfix.wide-card dd a {
    font-size: 0.9em;
}
}

.readmore.wide-card {
    background-color: #fb888f;
    color: #ffffff;
}
/* ヨメレバ・カエレバカスタマイズ */
.cstmreba {
margin-bottom:10px;
padding: 10px;
border-radius: 20px;
background: #eef4fb;
}
.kaerebalink-box, .booklink-box {
padding: 20px;
border: 2px dashed #FFF;
border-radius: 20px;
overflow: auto;
}
.kaerebalink-image, .booklink-image {
float: left;
margin-right: 20px;
}
.kaerebalink-name p, .booklink-name p {
margin: 0;
}
.kaerebalink-name a, .booklink-name a {
padding-bottom: 5px;
border-bottom: 1px solid #5f4339;
color: #5f4339;
text-decoration: none;
}
.booklink-name a:before {
margin-right: 5px;
color: #5f4339;
font-family: "FontAwesome";
content: '\f02d';
}
.kaerebalink-powered-date, .booklink-powered-date {
font-size: x-small;
}
.kaerebalink-powered-date a, .booklink-powered-date a {
border: none;
}
.booklink-powered-date a:before{
display:none;
}
.booklink-powered-date a {
color: #5f4339;
text-decoration: none;
}
.kaerebalink-detail, .booklink-detail {
font-size: small;
}
.shoplinkkindle, .shoplinkamazon, .shoplinkrakuten {
padding: 5px 0px;
}
.kaerebalink-link1, .booklink-link2 {
float: left;
}
.kaerebalink-link1 a, .booklink-link2 a {
color: #fff;
text-decoration: none;
}
.kaerebalink-link1 a:hover,
.booklink-link2 a:hover {
color: #f0f0f0!important;
opacity:0.7;
filter: alpha(opacity=70);
}
.shoplinkkindle a {
padding: 5px 10px;
border-radius: 3px;
background: #448aff;
box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}
.shoplinkamazon a {
padding: 5px 10px;
border-radius: 3px;
background: #ffba00;
box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}
.shoplinkrakuten a {
padding: 5px 10px;
border-radius: 3px;
background: #ff445b;
box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}
@media screen and (max-width: 639px){
.kaerebalink-image, .booklink-image {
width: 50px;
margin-right: 10px;
}
.kaerebalink-detail, .booklink-detail {
display: none;
}
}
/* カテゴリー人気記事 */
.wpp-list li {
float: none;
clear: left;
}
.wpp-thumbnail {
display: inline;
float: left;
margin: 0 10px 0 0;
border: none;
}
#popular-post a {
font-size: 14px;
text-decoration : none;
}
#popular-post li {
padding : 20px 10px;
border-bottom: #d2d7e6 1px solid;
line-height: 1.5;
overflow: hidden;
text-align: left;
}
#popular-post li:hover { background-color: rgba(238,238,238,0.3) }
#popular-post ul li { position : relative }
#popular-post li:last-child { border-bottom: none }
#popular-post { counter-reset : wpp-ranking }
#popular-post ul li::before {
position : absolute;
top : 15px;
left : 5px;
color : #ffffff;
counter-increment : wpp-ranking;
text-align : center;
z-index : 9999;
float : left;
line-height : 25px;
width : 25px;
height : 25px;
border-radius : 2px;
}
#popular-post ul li.number1::before,
#popular-post ul li.number2::before,
#popular-post ul li.number3::before,
#popular-post ul li.number4::before,
#popular-post ul li.number5::before {
content : counter(wpp-ranking, decimal);
background-color : #f09696;
}

/*サイドバー人気記事*/
#side aside .wpp-thumbnail {
    float: left;
    width: 30%;
    margin-bottom: 5px;
    margin-left: 5px;
}