/*
Theme Name: diver_child
Template: diver
Description:  Diverの子テーマです。
Theme URI: http://tan-taka.com/diver/
Author: Takato Takagi
*/

.firstview_content{
	display: none;
}

.size-full img{
	width: 100%;
}

/*ランキング表示設定*/
#block-33 ol.sga-ranking {
	counter-reset: pupular-ranking;
	padding-left: 0;
}
li.sga-ranking-list:before {/* ランキング数字の表示 */
	/* 	background: none repeat scroll 0 0 #008080; */
	color: #146b9e;
	content: counter(pupular-ranking, decimal);/* ランキング数字用のカウンター */
	counter-increment: pupular-ranking;
	font-size: 16px;
	line-height: 1;
	padding: 2px 7px;
	position: absolute;
	z-index: 1;
	border-radius: 5px;
	left: 0px;
	top: 25px;
	font-weight: bold;
}
.widget.fix_sidebar.widget_block{
	padding: 0;
}
.sga-ranking{

}
.sga-ranking-list {
	display: flex;
	flex-wrap: wrap;
}
.sga-ranking-list > a {
	width: calc( 100% - 200px );
	font-size:12px;
}
#secondary   .widget_simple_ga_ranking ol {
	padding-left: 0;
	padding-bottom:0.5em;
	list-style: none;
	border-top: 1px dotted grey;
	border-bottom: 1px dotted grey;
}

.sga-ranking-list img {
	width: auto;
	height: 5em;
	object-fit: cover;
}

.sga-ranking-list figure {
	float: left;
	margin-top: 3px;
	margin-right: 5px;
	width: 5em;
	height: 5em;
	overflow: hidden;
}

.sga-ranking-list {
	text-align: left;
	box-sizing: content-box;
	border-bottom: 1px dotted grey;
	height: auto;
	max-height: 5.5em;
	overflow: hidden;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	position: relative;
}

.sga-ranking-list .ranking-img {
	width: 152px;
	height: 80px;
	float: left;
	margin: 0 1.5% 0 8%;
}

.sga-ranking-list::before,
.sga-ranking-list::after {
	content: “”;
	clear: both;
	display: block;
}

.sga-ranking-list:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
.sga-ranking-list figure a {
	display: inline;
}
.sga-ranking-list a {
	overflow: hidden;
	line-height: 1.5;
}
.sga-ranking-list a:hover{
	text-decoration: underline;
}
@media screen and (min-width: 960px){
	.sga-ranking-list{
		max-height: unset;
	}
	.sga-ranking-list .ranking-img{
		float: none;
		width: 30%;
		height: auto;
	}
	.sga-ranking-list a{
		font-size: 0.7em;
	}
	.sga-ranking-list img{
		width: 100%;
		/* 		height: 8em; */
		object-fit: cover;
	}
}
@media screen and (max-width: 320px){
	.sga-ranking-list > a {
		width: 50%;
	}
	.sga-ranking-list .ranking-img {
		width: 40%;
		height: 4em;
	}
	.sga-ranking-list img{
		height: 4em;
	}
}

.twitter-follow{
	background-color: #e1eff4;
	text-align: center;
	padding: 30px 20px;
}
.twitter-follow h4{
	margin: 0 auto;
	font-size: 1.8em;
	width: fit-content;
	border-bottom: 1px dotted #000;
	line-height: 1;
	margin-bottom: 20px;
	padding: 5px;
}
.twitter-follow p{
	line-height: 1.2;
	text-align: center;
	margin-bottom: 20px;
}
.twitter-follow a{
	color: #fff;
	background-color: #00aced;
	font-weight: 700;
	text-decoration: none;
	font-size: 13px;
	border-radius: 8px;
	padding: 10px 25px;
	display: inline-block;
}
.fix_sidebar .twitter-follow{
	margin-top: 20px;
}
.drawer-nav .twitter-follow a,.fix_sidebar .twitter-follow a{
	color: #FFF!important;
}
.twitter-follow svg{
	margin-right: 4px;
}
.twitter-follow svg path{
	fill: #fff;
}

/* 微調整 */
@media screen and (max-width: 959px){
	.widget.widget_block {
		margin: 0 auto;
		display: table;
	}
	.widgettitle{
		width: 96vw;
	}
}