/*
Theme Name: WING-AFFINGER5 Child 2
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/
*{
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,"ＭＳ Ｐゴシック",sans-serif;
	margin: 0px;
	padding: 0px;
	
}
body {
	min-width: 320px;
	word-wrap: break-word;
	background-color: #f2f2f2;
	counter-reset: stcnt;
}

a:hover {
	color: #dd3333;
  }
  
  header#st-headwide {
	background: #fff !important;
	padding-bottom: 10px;
  }
  
  
  /*ヘッダー　バックグラウンドカラー変更*/
  
  #headbox-bg {
	background: #fff !important;
	padding: 0!important;
	margin: 0!important;
  }
  
  
  /*ヘッダー　幅変更*/
  
  #headbox {
	margin: 0 auto!important;
	padding: 0!important;
	background: #fff!important;
  }
  
  
  /*ヘッダー　ロゴ上キャッチカラー変更*/
  
  header .descr {
	color: #333!important;
  }
  
  .sitename {
	margin: 0!important;
	padding-top: 0!important;
	width: 100%;
  }
  
  h1 {
	margin: 0!important;
	padding: 0!important;
  }
  
  #search {
	width: 90%!important;
	margin: 0 auto!important;
  }
  
  nav.st-middle-menu {
	background: #000000!important;
	color: #FFFFFF!important;
	margin: 0 auto;
  }
  
  ul#menu-sp_middlemenu {
	display: table;
	border-collapse: collapse;
	border-top: 3px solid red;
  
	background: #000000!important;
	margin: 0 auto;
	width: 100%;
  }
  
  .st-middle-menu .menu li {
	display: table-cell;
	width: 33% !important;
  }
  .st-middle-menu .menu li:not(:first-child) {
	border-left: 1px solid white;
  }
  
  .st-middle-menu .menu li a {
	color: #FFFFFF!important;
	font-size: small!important;
	border: none;
	width: 100%;
	float: none;
  }
    
  #st-menuwide {
	border-top-color: #555555!important;
	border-bottom-color: #000000!important;
	border-left-color: #555555!important;
	border-right-color: #000000!important;
	background: #333333!important;
	background: -webkit-linear-gradient(top, #555555 0%, #222222 100%)!important;
	background: linear-gradient(to bottom, #555555 0%, #222222 100%)!important;
  }
  
  header .smanone ul.menu li a,
  header nav.st5 ul.menu li a,
  header #st-menuwide div.menu li a,
  header #st-menuwide nav.menu li a {
	color: #ffffff!important;
	;
  }
  
  header .smanone ul.menu li {
	box-sizing: content-box;
	width: 19.8%;
	height: 40px;
	text-align: center;
	border-left: solid 1px #999999;
	border-top: solid 3px #ff0000;
	border-bottom: solid 1px #000000;
	border-right: none;
  }
  
  li#menu-item-14538 {
	border-left: solid 1px #999999;
	border-right: solid 1px #999999;
	border-top: solid 3px #ff0000;
	border-bottom: solid 1px #000000;
  }
  li#menu-item-25405 {
	border-left: solid 1px #999999;
	border-right: solid 1px #999999;
	border-top: solid 3px #ff0000;
	border-bottom: solid 1px #000000;
  }
  
  li#menu-item-19061 {
	border-right: solid 1px #999999;
	}
	li#menu-item-25400 {
	border-right: solid 1px #999999;
	}
				
  #st-headerbox {
	margin-top: 10px;
  }
  
  .kanren dl {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #ccc;
  }
  
  #contentInner {
	margin-bottom: 20px!important;
	overflow: hidden!important;
  }
  
  main {
	/*padding: 10px 20px!important;*/
	padding: 10px 15px;
	/* モバイル記事内広告の最低幅が250px必要なため（両横のpaddingが20pxだと240px） */
  }
  
  #content-w {
	background: #fff !important;
  }
  
  .home-post,
  post {
	display: none;
  }
  
  
  /*アイキャッチ画像四角に変更*/
  
  .wp-post-image {
	border-radius: 0!important;
  }
  
  
  /*記事一覧日付等非表示*/
  
  .blog_info p {
	display: none;
  }
  
  .itiran-category {
	display: none;
  }
  
  p.st-catgroup {
	display: none;
  }
  
  ul.blogroll-list-wrap {
	list-style-type: none;
  }
  
  ul.wpp-list li {
	padding-bottom: 10px!important;
	overflow: hidden;
  }
  
  ul#npcatch li {
	padding-bottom: 10px!important;
	overflow: hidden;
  }
  
  .footer-wbox {
	display: none;
  }
  
  .footermenust {
	padding: 0!important;
  }
  
  div.dfad {
	text-align: center!important;
  }
  
  div.dfad img {
	margin: 0 auto!important;
  }
  
  .sns {
	display: block;
	max-width: 480px;
	margin: 0 auto;
  }
  
  .sns .googleplus {
	display: none;
  }
  
  .sns .hatebu {
	display: none;
  }
  .sns ul {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
  }
  .sns li {
	max-width: 58px;
  }
  
  .sns ul li a {
	padding: 6px 10px 4px;
	min-height: 28px;
	text-align: center;
  }
  .sns ul li .fa {
	border: none;
	padding: 0;
	font-size: inherit;
  }
  
  .sns .snstext {
	display: none;
  }
  .snscount {
	display: none;
  }
  
  .sns .fa-twitter {
	border-right: 0!important;
	padding-right: 0!important;
  }
  
  .sns .fa-facebook {
	border-right: 0!important;
	padding-right: 0!important;
  }
  
  .sns .fa-google-plus {
	border-right: 0!important;
	padding-right: 0!important;
  }
  
  .sns .fa-comment {
	border-right: 0!important;
	padding-right: 0!important;
  }
  
  .acordion_tree ul.menu li {
	border-bottom: solid 1px #666666!important;
  }
  
  .acordion_tree ul.menu li a {
	color: #CCCCCC!important;
  }
  
  .sns {
	padding-bottom: 0!important;
	margin-bottom: 0!important;
  }
  
  .post .sns ul {
	padding-bottom: 0!important;
	margin-bottom: 0!important;
  }
  
  .kizi-under-box {
	padding-bottom: 0!important;
	margin-bottom: 0!important;
  }
  
  p.tagst {
	padding-top: 0!important;
	margin-bottom: 0!important;
  }
  
  h4.point {
	margin: 0!important;
  }
  
  body .category .kanren dl {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
  }
  
  body .category .kanren dl dt img {
	display: none;
  }
  
  body .category .kanren dl dd .smanone p {
	display: none;
  }
  
  body .category kanren dl dd {
	padding: 0!important;
  }
  
  .p-navi {
	display: none;
  }
  
  main {
	margin-bottom: 0!important;
  }
  
  .kanren dl:last-child {
	margin-bottom: 0!important;
	padding-bottom: 0!important;
  }
  
  .adbox, .kizi-under-box {
	width: 100%;
	padding: 0!important;
	margin: 0;
	margin-bottom: 20px;
	overflow: hidden;
  }
  
  .blogroll-channel ul li {
	font-size: normal!important;
	line-height: 1.3em!important;
	padding-bottom: 10px!important;
  }
  
  ul.blogroll-list-wrap {
	padding: 10px!important;
  }
  
  .title_gyokai {
	display: block;
	background-color: #666666;
	color: #FFFFFF;
	font-weight: bold;
	padding: 5px 10px;
	margin: 15px 0 5px!important;
  }
  
  .top-wbox-u p.st-widgets-title {
	display: none;
  }
  
  .textwidget p {
	margin: 0px!important;
  }
  
  .subtitle_gyokai {
	color: #0066FF;
	font-weight: bold;
	padding: 5px 10px 0;
	margin: 0;
  }
  
  .blogroll-channel ul.blogroll-list-wrap {
	margin-bottom: 0px!important;
  }
  
  .blogroll-channel ul li {
	font-size: small;
	margin-left: 10px;
  }
  
  .blogroll-channel ul li .blogroll-new-entry {
	color: #FF0000;
  }
  
  .blogroll-ad-img {
	text-align: center;
  }
  
  .blogroll-ad-default {
	text-align: center;
  }
  
  p.wp-caption-text {
	color: #666666;
  }
  
  .entry-content img.size-large {
	margin-bottom: 0px!important;
  }
  
  #nocopy {
	overflow: hidden;
  }
  
  
  body.post-temp .kanren dd {
	padding-left: 0px!important;
  }
  
  #side #mybox .ad {
	overflow: hidden;
	clear: both;
	display: block;
  }
  
  .ad_flex {
	max-width: 640px;
	margin: auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
  }
  

  .kanren_ad {
	min-width: 250px;
	width: 100%;
	margin-bottom: 5px;
	border-bottom: 1px dotted #ccc;
  }
  
  .kanren h3 {
	border-bottom: none;
  }
  
  .kanren h3 a {
	color: #212121;
	font-size: 16px;
	text-decoration: none;
	font-weight: 500;
	font-family: 'Roboto', sans-serif;
  }
  
  .kanren:not(.st-cardbox) .clearfix dd p {
	font-size: 12px;
	color: #757575;
	font-family: 'Roboto', sans-serif;
  }
    
  /*-- Simple GA Ranking --*/
  .sga-ranking {
	  list-style-type: none;
  }
  .sga-ranking-list figure {
	  float: left;
		margin: 0;
	  margin-right: 10px;
	  width: 60px; /* 画像の横の長さ。自由に変更可 */
	  height: 60px; /* 画像の縦の長さ。自由に変更可 */
	  overflow: hidden;
  }
  .sga-ranking-list {
	  margin: 0;
	  padding-bottom: 0.8rem;
	  text-align: left;
		font-size: 14px;
  }
  .sga-ranking-list::after {
	  clear: both;
	  content: "";
	  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.4;
  }
  
  .wpsm-show {
	  position: relative;
	  color: black;
	  border: 4px solid;
	  background: white;
	  text-align: center;
	  padding: 8px;
  }
  .wpsm-show::after {
	  content: '';
	  position: relative;
	  top: -2px;
	  display: inline-block;
	  width: 8px;
	  height: 8px;
	  margin-left: 10px;
	  border-bottom: 1px solid;
	  border-right: 1px solid;
	  transform: rotate(45deg);
	  -webkit-transform: rotate(45deg)
  }
  .wpsm-show:hover {
	  text-decoration: none; 
  }
  
  .side-topad .ad {
	  overflow: hidden;
  }
  
  .st-pagelink-in{
	text-align: left;
  }
  .st-pagelink a{
	  color: #4682b4;
  }
.post h3, .post h3 span, .entry-title, .post .entry-title{
	font-family: Helvetica,"游ゴシック","Yu Gothic",sans-serif;
}
.kanren {
    padding-top: 20px !important;
    margin-top: 20px !important;
}
.i-amphtml-ad-default-holder{
	background-color: #ffffff !important;
}
h3.related_post_title{
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,"ＭＳ Ｐゴシック",sans-serif;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 16px !important;
}
:root:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .post h3:not(.st-css-no):not(.st-matome):not(.rankh3):not(#reply-title){
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,"ＭＳ Ｐゴシック",sans-serif;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 16px !important;
}
.adsbygoogle{
	max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
#toc_container{
	display: block;
}
#st_toc_container:not(.st_toc_contracted):not(.only-toc),
#toc_container:not(.contracted) { /* 表示状態 */
	padding: 25px 40px !important;
}

#st_toc_container:not(.st_toc_contracted):not(.only-toc),
#toc_container:not(.contracted) { /* 表示状態 */
	padding: 25px 40px !important;
}

#st_toc_container.st_toc_contracted,
#toc_container.contracted { /* 非表示状態 */
	padding: 25px 40px !important;
}
.post h2, .post h2 span{
	font-family: Helvetica , "游ゴシック" , "Yu Gothic" , sans-serif;
}

/*media Queries PCサイズ（1024x以上）
----------------------------------------------------*/

@media print,
screen and (min-width: 1024px) {
  #content-w {
    padding-top: 0!important;
  }
  #headbox {
    margin: 0 auto!important;
    width: 1024px!important;
    padding: 0!important;
    background: #fff!important;
  }
  #header-l {
    z-index: 1;
    position: relative;
    top: 0px;
    left: 20px;
    display: block;
    text-align: left!important;
  }
  nav#s-navi {
    z-index: 100;
  }
  .sitename img {
    width: 280px;
  }
  #side #side_gyokai {
    display: none!important;
  }
	.meishi {
		width:100%;
	}
  /*-- ここまで --*/
}


/*media Queries PCサイズ（1023px以下）
----------------------------------------------------*/

@media print,
screen and (max-width: 1023px) {
  #headbox {
    margin: 0 auto!important;
    width: 100% !important;
    padding: 0!important;
    background: #fff!important;
  }
  #headbox {
    height: 70px!important;
  }
  #header-l {
    z-index: 1;
    position: relative;
    top: 0px;
    left: 20px;
    display: block;
    text-align: left!important;
  }
  nav#s-navi {
    z-index: 100;
  }
  .sitename img {
    width: 240px;
  }
  /*-- ここまで --*/
}

/*media Queries タブレットサイズ（960px以上）
----------------------------------------------------*/

@media only screen and (min-width: 960px) {
	/* header .smanone ul.menu li, header #st-menuwide div.menu li, header #st-menuwide nav.menu li{
		border-right-color: #999 !important;
	} */
	.entry-title, .post .entry-title{
		font-size: 27px;
		line-height: 40px;
		color: #1e73be;
	}
	nav.st-middle-menu {
	  display: none;
	}
	#side .menu_underh2{
		font-size: 14px;
		line-height: 24px;
	}
	/*-- ここまで --*/
}
  
/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	#headbox {
		margin: 0 auto!important;
		width: 100% !important;
		padding: 0!important;
		background: #fff!important;
	  }
	  #headbox {
		height: 70px!important;
	  }
	  #header-l {
		z-index: 1;
		position: relative;
		top: 0px;
		left: 20px;
		display: block;
		text-align: left!important;
	  }
	  nav#s-navi {
		z-index: 100;
	  }
	  .sitename img {
		width: 180px;
	  }
	/*-- ここまで --*/
}
	

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

	#side .menu_underh2{
		font-size: 16px;
		line-height: 26px;
	}

	.kanren dt amp-img, .kanren dt amp-anim{
		height: 100px;
	}
	#mybox amp-img, #mybox amp-anim{
		width: 60px;
		height: 60px;
	}
	#side .side-topad amp-img,#side .side-topad amp-anim{
		width: 300px;
		height: 300px;
	}
	.entry-content amp-img, .entry-content amp-anim{
		width: 400px;
		height: 300px;
	}
	/*-- ここまで --*/
}

/*media Queries モバイルサイズ（600px以下）
----------------------------------------------------*/

@media only screen and (max-width: 600px) {
	#headbox {
	  margin: 0 auto!important;
	  width: 100% !important;
	  padding: 0!important;
	  background: #fff!important;
	}
	#headbox {
	  height: 65px!important;
	}
	#header-l {
	  z-index: 1;
	  position: relative;
	  top: 0px;
	  left: 20px;
	  display: block;
	  text-align: left!important;
	}
	nav#s-navi {
	  z-index: 100;
	  display: none;
	}
	.sitename img {
	  width: 180px;
	}
	.main_gyokai {
	  display: none!important;
	}
	.meishi {
	  display:none;
	}
	/*-- ここまで --*/
}
  