/*
Theme Name: AFFINGER4 Child
Template: affinger4
Version: 20170205
*/
@import url('../affinger4/style.css');

/*基本のフォントサイズ*/
p, /* テキスト */
.st-kaiwa-hukidashi, /* ふきだし */
.yellowbox, /* 黄色ボックス */
.graybox, /* グレーボックス */
.redbox, /* 薄赤ボックス */
#topnews .clearfix dd p, /* 一覧文字 */
.post ul li, /* ulリスト */
.post ol li, /* olリスト */
#comments #respond, /* コメント */
#comments h4, /* コメントタイトル */
.post h5, /* H5 */
.post h6 /* H6 */
 {
	font-size: 16px;
	line-height: 1.66em;
}

/*M2制作
*Cumulative Layout Shift対策)*/
.top-wbox-t {
    min-height: 80px;
}
.ad_m {
    min-height: 120px;
}
#sidetop_ad_pc{
	min-height:620px;
}
/*macのカテゴリページ微調整*/
.mac_navi strong {
    border-bottom: solid #ccc 2px;
    width: 100%;
    margin-top: 10px !important;
}
.mac_navi strong::before {
    content: "■";
    display: inline-block;
    margin-left: -17px;
    color: #008000;
}
/*404ページ微調整*/
#ranking_404 ul{
	counter-reset: number 0;
	padding-left:0!important
}
#ranking_404 ul li {
    list-style: none;
    padding: 5px 0 5px 40px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2px;
    position: relative;
}
#ranking_404 ul li ::before {
    counter-increment: number 1;
    content: counter(number) " ";
    font-weight: bold;
    padding: 1px 0 0 0;
    background: #008000;
    border-radius: 20px;
    width: 27px;
    height: 27px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
	-webkit- transform:translateY(-50%);
	
}
#ranking_404 ul li:nth-child(-n+3) ::before {
    background: #c79829;
}
/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960px) {


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

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {


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

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {


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