/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/

body{
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif !important;
}
a{
	transition : all 0.5s ease 0s !important;
}
a:hover{
	opacity: 0.8;
	cursor: pointer !important;
}
/*ヘッダーロゴ調整*/
.sitename-only-img{
	width: 200px;
}
@media print, screen and (min-width: 960px){
header .smanone ul.menu li a {
    font-size: 14px !important;
}
}

@media print, screen and (max-width: 959px) {
	#header-l{
		box-shadow: 0 3px 6px rgb(0 0 0 / 18%);
	}
}




/*カテゴリ背景色*/
.catname{
	background-color: #f7b359 !important;
	color: #fff !important;
}

/**********************
 * コンテンツエリア
***********************/

#content-w{
	margin-top: 50px;
	margin-bottom: 100px;
}

/* 個別記事ページ画像 */
img.size-full, img.size-large {
    height: auto;
    width: 100%;
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
	.smanone{
		display: block !important;
	}
	#content-w{
	margin-top: 0px;
}
}


/**********************
 * サイドバー（ランキング）
***********************/
.ranking-contents > p{
	font-size: 12px;
	line-height: 1.25;
	margin-top:20px;
	margin-bottom:10px !important;
}
.ranking-contents{
	padding: 10px;
}
.rankst-box.post > .clearfix{
	/*padding-bottom: 15px;*/
	margin: 0 !important;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -js-display:flex;
 -webkit-box-align:canter;
  -ms-flex-align:canter;
  align-items:canter;
  -webkit-box-pack:space-between;
  -ms-flex-pack:space-between;
  justify-content:space-between;
}
.rankst-r{
	display:none;
}

.rankh4:not(.st-css-no){
	background-position: 0px 0px !important;
	padding-left: 80px !important;
}

#scrollad{
	background-color: #fff !important;
	position:static !important;
	/*box-shadow: 0px 0px 5px #ccc;*/
	padding-top: 0px;
}
.rankid1, .rankid2, .rankid3{
	padding: 15px 15px 0 15px ;
	box-shadow: 0px 0px 4px #ccc;
	margin-bottom: 15px !important;
}
/**********************
 * サイドバー
***********************/
@media only screen and (min-width: 960px){
#side aside {
    float: right;
    width: 280px;
    padding: 0 10px;
}
}
.ad > * {
    margin-bottom: 20px;
}

/* カテゴリー */
#nav_menu-3 > div > ul > li > a {
	color: #333 !important;
	text-decoration: none;
}
#nav_menu-3 > div > ul > li {
	line-height: 3;
	font-size: 16px
}
#nav_menu-3 h4.menu_underh2 > span{
	font-size: 16px !important;
	display: block;
    line-height: 3;
}
#side a{
	text-decoration: none;
}
#side .textwidget.custom-html-widget{
	background-color: #fff;
	padding: 15px;
}

#st_custom_html_widget-3 .textwidget.custom-html-widget,
#st_custom_html_widget-6 .textwidget.custom-html-widget{
	padding: 0;
}
#st_custom_html_widget-3 .textwidget.custom-html-widget ul,
#st_custom_html_widget-6 .textwidget.custom-html-widget ul{
	padding: 0 15px 25px;
}
#st_custom_html_widget-3 .textwidget.custom-html-widget ul li,
#st_custom_html_widget-6 .textwidget.custom-html-widget ul li{
	padding: 10px 0;
	border-bottom: dotted 1px rgba(0,0,0,.1);
}



/**********************
 * 検索窓初期化
***********************/
#s {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: none;
	outline: none;	
	border-radius:5px;
	background-color: #fff;
}
#s :focus {
  border: none;
  box-shadow: none;
  outline: none;
}


/**********************
 * フッターエリア
***********************/
.st-footer-tel{
	display:none;
}


/**********************
 * トップページ
***********************/
/* タブ装飾 */
.st-tab-content-type-button.st-tab-content-tab-4 label {
    width: 23% !important;
    font-size: 14px !important;
}
.st-tab-content-type-button label {
	border-radius: 0px !important;
}

/* 目次 */
 #contentInner #toc_container{
	width: 100% !important;
  box-sizing: border-box;
	margin: 4rem auto;
	border: 3px solid rgba(0,0,0,0.1) !important;
}
#contentInner #toc_container > ul > li > a{
	font-weight: bold;
}
@media print, screen and (max-width: 599px) {
#contentInner #toc_container ul li{
line-height: 1.6
	}
#header-r{
		display:none !important;
	}
}
@media print, screen and (min-width: 768px) {
	#contentInner #toc_container ul{
		max-width: 500px;
		margin: 0 auto;
	}
}
#contentInner #st_toc_container, #toc_container {
    border: 3px solid rgba(0,0,0,0.1) !important;
}
@media only screen and (min-width: 960px){
#contentInner #toc_container > ul > li {
    font-size: 15px;
	font-weight: bold
}
	#contentInner #toc_container > ul > li > ul > li{
		line-height: 1;
	}
}


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


	/*-- ここまで --*/
}
	
/*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) {


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

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

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


.st-ac-box{
	padding: 10px 0 0 0;
}

.mobile #headbox-bg{
	width: 100%;
	position: fixed;
	z-index:999;
	margin-top: -1px;
}
.mobile #breadcrumb{
	padding-top: 60px;
}

.mobile body:not(.mce-content-body){
	border-top: none !important;
}

@media only screen and (max-width: 959px){
	.s-navi-active .acordion_tree{
		width:80%;
}
	.s-navi-active #s-navi dd.acordion_tree{
		width: 80%
	}
}

.mobile #searchform input{
	height: 40px;
}
