/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/
ul.yyi-rinker-links li.amazonlink:before{color:#ff8c00 !important;}
ul.yyi-rinker-links li.amazonlink:before, ul.yyi-rinker-links li.rakutenlink:before, ul.yyi-rinker-links li.yahoolink:before {animation: blinkingText 2.0s infinite;}
@keyframes blinkingText {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}
.yyi-rinker-links .amazonlink a{background-color:#ff8c00 !important;}
.grecaptcha-badge { visibility: hidden; }
.amagetti-review{display:block;}
#st_categories_widget-4 li a{color:#fff !important;}
.yyi-rinker-title a{font-size:18px !important;color:#007bbb !important;}
.yyi-rinker-title a:hover{color:#ba2636 !important;}
.kaerebalink-review{margin:5px 0 !important;font-size:14px !important;}
#author-page-1 .sns{display:none;}
#author-page-2 .sns{display:none;}
#author-page-3 .sns{display:none;}
#author-page-4 .sns{display:none;}
.st-shortcode-author{display:none;}
.gadget-ranking a:hover{color:#ff0000 !important;}
.gadget-ranking a{font-size:18px !important;font-weight:600;}
.gadget-ranking .wpp-list{padding:0px !important;}
.gadget-ranking .wpp-list li{list-style-type:none !important;}
.yarpp-thumbnails-horizontal a{height:230px !important;}
.wpp-thumbnail {display: inline;float: left;margin: 0 1rem 0 0;border: none;}
.wpp-list li {overflow: hidden;float: none;clear: both;margin-bottom: 1rem;}
.yarpp-thumbnail img{width:94% !important;}
.yarpp-thumbnail-title{width:94% !important;}
.kanren .st-excerpt{display:none !important;}
#content .kanren a{font-size:20px !important;}
.entry-content p{margin:40px auto !important;}
.freebox p{margin:8px auto !important;}
.st-cardlink p{margin:10px auto !important;}
#side .st-catgroup{display:none !important;}
.home .catname:hover{opacity:0.7 !important;}
.home .catname{float:right;}
.bottom-newpost .itiran-category{float:left !important;width:100%;}
.bottom-newpost .catname{float:left !important;margin:0px 10px 10px 0 !important;font-weight:600;}
.bottom-newpost .st-excerpt{display:none;}
.st-cardlink-card-text{font-weight:600 !important;}
.side-logo{height:90px !important;}
.sns-logos{width:45px !important;height:38px !important;float:right;}
#footer #st_custom_html_widget-3{display:none;}
#s-navi{background-color:#333 !important;}
#search{border:1px solid #666;}
/************************************
** 最近のコメントウィジェットのスタイル
************************************/
dl.recent-comments {
  width:100%;
  margin: 20px auto;
 
}
.recent-comment-title{font-size:14px !important;margin-bottom:10px;} 
dl.recent-comments dt{
  text-align: left;
  clear: left;
  float: left;
  width: 46px;
  white-space: nowrap;
  margin-top: 3px;
}
 
dl.recent-comments dd{
  margin-left: 0;
  margin-bottom: 20px;
}
 
dl.recent-comments dd .recent-comment-author{
  font-weight: bold;
}
 
dl.recent-comments dd .recent-comment-content{
  font-size:16px;
}
#comments p{font-size:17px !important;font-weight:500;line-height:1.6em;}
/* サイドバーの人気記事一覧レイアウト */
ul.wpp-list li {
  border-bottom: 1px dashed #bbb;
  counter-increment: wpp-count;
  position: relative;
}
ul.wpp-list li:before {
  display: block;
  padding: 1px 11px;
  color: #fff;
  background-color: #333;
  content: counter(wpp-count);
  position: absolute;
  opacity: 1;
  z-index: 10000;
  top: 6px;
  left: 6px;
}
ul.wpp-list li:last-child {
  border-bottom: none;
}
ul.wpp-list li:nth-child(1):before{
  background-color: #FBCC54;
}
ul.wpp-list li:nth-child(2):before{
  background-color: #B7BFC1;
}
ul.wpp-list li:nth-child(3):before{
  background-color: #D47B16;
}
ul.wpp-list li img {
  margin: 5px 10px 5px 5px;
  padding: 3px;
  border: 1px solid #ddd;
}
ul.wpp-list li a.wpp-post-title {
  display: block;
  font-size: 13px;
  padding: 12px;
  text-decoration: none;
  color: #333;
}

.post-card-date{background-color:rgba(0,0,0,0.5);padding:5px;}
.st-card-excerpt{display:none !important;}

.mainbox h2{margin:40px auto 30px auto !important;}
.mainbox h3{margin:40px auto 30px auto !important;}
.mainbox h4{margin:40px auto 30px auto !important;}
.home .home_none{display:none !important;}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	#top-big-ad{height:340px !important;width:100%;margin:0 auto 20px auto;}
	.itiran-card-list .catname{display:none;}
    #toc_container ul li{font-size:16px !important;}
    #toc_container{width:86% !important;}
	.top-gadget-ranking{
		margin-top:10px;
		margin-bottom:-10px;
		}
		.top-gadget-ranking h4{
    margin:0 0 10px 0;
    padding:8px;
    font-size:12px;
    background-color:#eee;
    }
	  .top-gadget-ranking ol{
   width:100%;
	padding:0 0%;
	   counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; 
    }
	.top-gadget-ranking ol li{
  position: relative;
  line-height: 1.6em;
  padding: 0em 0.5em 0.3em 35px;
  overflow: hidden;
  height: 90px;
}
.top-gadget-ranking ol li:before{
 /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display:inline-block;
  background: #74c2f8;
  color: white;
  z-index:9999;
  font-family: sans-serif;
  font-weight:400;
  font-size: 13px;
  left: 0;
  width: 20px;
  height: 20px;
  line-height: 25px;
  text-align: center;
  /*以下上下中央寄せのため*/
  top: 3%;
  -webkit-transform: translateY(-3%);
  transform: translateY(-3%);
}
	.top-gadget-ranking ol li img{
	margin-left:-40px;
}
		.top-gadget-ranking a:link{
		text-decoration:none;
			font-weight:600;
}
.top-gadget-ranking li{
border-bottom:1px dotted #aaa;
		padding-bottom:5px;
}
	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {
.my_adslot{margin-right:20px;}
.yarpp-thumbnail{width:20% !important;}
.tablet_none{display:none;}
.deal-limit{position:absolute;z-index:9999;color:#fff;font-weight:600;font-size:14px;background-color:#5f9ea0;padding:5px 10px;margin:5px 0 0 5px;}
.home .catname{font-size:14px !important;font-weight:600;margin-right:10px !important;}
  .top-gadget-ranking li{
    margin-bottom:15px;
	font-size:20px !important;
    }	
	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {
	.my_adslot{ width: 336px; height: 280px;float:left;}
	.my_adslot2{ width: 336px; height: 280px;float:left;}
	#gadget-link-top{height:550px !important;}
	#yarpp_widget-2 h4{margin-top:-20px !important;}
	.post-card-title{font-size:18px !important;}
    .post-card-excerpt{display:none;}
	.sitename img{width:272px !important;height:90px !important;}
    #ez-toc-container{margin:0 auto 20px auto !important;}
	.wpp-thumbnail{padding-bottom:20px;padding-right:5px;}
	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {
.home #top-big-ad{margin:0px auto 20px auto !important;}
#top-big-ad{width:1114px;margin:0px auto 30px auto !important;height:280px !important;}
.sidetop-ad{width:300px;height:250px;}
.my_adslot{margin-right:10px;margin-left:35px;}
#newentry_widget-2 .kanren-t a{font-size:17px !important;}
#gadget-review-itiran-title{margin-top:-25px;}
.st-eyecatch{height:500px !important;}
.top-gadget-ranking li{list-style:none !important;width:200px !important;float:left;height:210px !important;overflow:hidden;margin:0 7px !important;}
.top-gadget-ranking .wpp-post-title{position:relative !important;width:200px !important;}
.top-gadget-ranking ul li{position:relative  !important;}
.top-gadget-ranking a{font-weight:600;text-decoration:none !important;line-height:0em !important;font-size:15px !important;}
.top-gadget-ranking img{width:200px !important;height:160px !important;}
	.yarpp-thumbnail{width:23% !important;}
	.st-cardbox-t{font-size:20px !important;}
	.pc_none{display:none;}
	.itiran-card-list .catname{float:right;margin-left:10px !important;font-weight:600 !important;}
	.deal-limit{position:absolute;z-index:9999;color:#fff;font-weight:600;font-size:18px;background-color:#5f9ea0;padding:5px 10px;margin:8px 0 0 8px;}
	.home .catname{font-size:11px !important;font-weight:600;margin-right:5px !important;margin-top:3px !important;}
	#search-4{display:none;}
    #toc_container{width:94% !important;}
	.wpp-post-title{
		font-size:13px !important;
	}
	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
#top-big-ad{width:100%;min-height:auto;}
.yyi-rinker-image img{max-height:160px !important}
.yyi-rinker-links li{box-shadow: none !important;}
li.amazonkindlelink a.yyi-rinker-link:before,li.amazonlink a.yyi-rinker-link:before,li.rakutenlink a.yyi-rinker-link:before,li.yahoolink a.yyi-rinker-link:before{padding:5px 0 5px 0 !important;max-width:80% !important;margin:0px 0px 8px 0;}
#amzn-ranking-zone-title{margin-top:30px;}
#top_adline{margin-bottom:10px !important}
	.yarpp-thumbnail{width:46% !important;}
	.smart_none{display:none;}
			.yarpp-related-widget a{
	text-decoration:none !important;
}
	.yarpp-related-widget ol li{
	line-height:1.3em !important;
	margin-bottom:10px !important;
}
	.deal-limit{position:absolute;z-index:9999;color:#fff;font-weight:600;font-size:10px;background-color:#5f9ea0;padding:5px 10px;margin:5px 0 0 5px;}
	.home .catname{display:none !important;}
    .sitename img{width:272px !important;height:90px !important;}
	.wpp-thumbnail{padding-bottom:10px;margin-right:10px;}
    .post-card-title{font-size:13px !important;}
    .post-card-excerpt{display:none;}
	 .top-gadget-ranking li{
    margin-bottom:15px;
	font-size:15px !important;
    }	
	/*-- ここまで --*/
}