/*
Theme Name: yogaku Child
Template: yogaku
Description: ver20180831以上対応
Version: 20180831
*/


/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {

.txt-img {
	float:none;
	margin:0 auto 10px;
	padding:0 auto;
	text-align:center;
	width:100%;
	height:auto;
}
.txt-img img {
	float:none;
	width:100%;
	height:auto;
	padding:0 auto;
	max-width:500px;
}
#st-menuwide .smanone {
	display: none;
}
	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {

.txt-img {
	width:100%;
	height:auto;
}
.txt-img img{
	float:left;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	width:200px;
}
	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
p.ads3 {
	font-size: 0.8rem;
	margin:0 0;
	text-align: center;
}
span.hd{
	font-size: 0.8rem;
	color: #999;
}
a.hd, a.hd:visited, a.hd:hover {
	font-size: 0.8rem;
	color: #999;
	text-decoration:none;
}

/*-- ナンバー --*/
.number {
position:relative;
}

li.number:before {
counter-increment:ranking;
content:counter(ranking);
position:absolute;
top:0;
left:0;
padding:auto auto;
width:25px;
height:25px;
line-height:25px;
background:#db0000;
font-size:13px;
font-weight:bold;
color:#fff;
text-align:center;
z-index: 9999;
}

h4 {
counter-reset:ranking;
}

dl.clearfix.number{
margin-bottom:10px;
padding-bottom:10px;
}

#side .st-author-description{
text-align:justify;
}

dl.number::before{
border-radius:0px;
padding:5px 5px
}

@media screen and (max-width: 500px){
     .adsbygoogle {
         overflow: visible;
     }
}