/*
Theme Name: AFFINGER5 JET-Child
Template: affinger5
Description:EX対応（WING対応β）
Version: 20180302
*/

/*カテゴリID別に色を指定できます
例）IDが7の場合
.catname.st-catid7 {
	background:#ff0000;
	color:#fff;
}
*/

body {
	background:#fff;
}

/*トップの基本部分*/
.home .post {
	padding-bottom: 0px;
}

.home main {
	padding-left:10px;
	padding-right:10px;
	padding-bottom:0px;
}

aside .kanren {
	margin-top: 0;
	margin-bottom:20px;
	padding-top: 0;
}

/*メニュー*/
header .smanone ul.menu li li a{
  z-index:99999;
}

/*ブログカード風マガジン*/
#st-magazine .kanren {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

#st-magazine .kanren dl:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
}


/*ブログカード風マガジン*/
#st-magazine:not(.st-magazine-k) .kanren .st-top-box:not(.st-magazine-infeed) dl {
	box-sizing:border-box;
	border:1px solid #ccc;
	background:#fff;
}

#st-magazine .kanren dl {
	width:100%;
}

#st-magazine .kanren dl p {
	font-size:75%;
	line-height:1.8;
	color:#757575;
}

#st-magazine .kanren dt {
	float: none!important;
	width: 100%!important;
	height:auto;
	overflow: hidden;
	position:relative;
}

#st-magazine .kanren dt img {
	width: 100%!important;
	border-radius:0!important;
}

#st-magazine .kanren .st-top-box:not(.st-fist-post) dt img {
	max-height: 180px;
	object-fit: cover;
}

#st-magazine .kanren dd {
	padding: 5px 20px 10px;
}

#st-magazine .kanren .clearfix dd p {
	line-height: 1.8;
}

#st-magazine .kanren .st-top-box {
	padding:5px 5px 10px;
	box-sizing:border-box;
	width:100%;
}

#st-magazine .kanren .st-top-box dl {
	margin-bottom:0;
	position: relative;
}

#st-magazine .kanren .st-top-box a.st-box-a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height:100%;
	width: 100%;
	z-index:9999;
}

#st-magazine .kanren .st-top-box a:hover {
	text-decoration: none;
	background:#fff;
	opacity:0.3;
}

#st-magazine .kanren .st-top-box img.size-full,
#st-magazine .kanren .st-top-box img.size-large {
	margin-bottom:0;
}

/*一覧のカテゴリ*/
#st-magazine .kanren .st-magazine-cat,
#st-magazine .kanren .st-magazine-cat a { /*下カテゴリ*/
	font-size:85%;
	color:#757575;
	text-decoration:none;
}

#st-magazine .kanren .st-catgroup { /*上カテゴリ*/
	position:absolute;
	top:5px;
	left:5px;
}

/*ブログカード風マガジン最初の投稿*/
#st-magazine .kanren .st-fist-post {
	padding:10px 5px 5px;
	box-sizing:border-box;
	width:100%!important;
	height:auto;
	border:none;
}

#st-magazine .kanren .st-fist-post .st-top-time p{ /*投稿日*/
	position:absolute;
	bottom:0px;
	right:5px;
	padding:2px 7px;
	background-color: rgba(255,255,255,0.7);
	border-radius:3px 3px 0 0;
	font-size:75%;
	color:#757575;
}

/*WordPress Popular Posts連携*/

.st-wp-views {
	position: absolute;
	top: 5px;
	left: 5px;
	z-index:999;
	padding:5px 20px;
	color:#fff;
	text-align:center;
	background-color: rgba(0,0,0,0.7);
	border-radius:5px 0 5px 0;
}

.st-wp-views-limit { /* リミット数を超えた場合のデザイン */
	position: absolute;
	top: 5px;
	left: 5px;
	z-index:999;
	padding:5px 20px;
	color:#fff;
	text-align:center;
	background:#bcb72f!important;
	border-radius:5px 0 5px 0;
	font-size:90%;
}

.wpp-views {
	font-size:100%;
}
.wpp-text{
	font-size:70%;
	margin-left:5px;
}

.st-wp-viewbox .st-wp-views,
#side .st-wp-views {
	font-size:80%;
}

.st-wp-viewbox .st-wp-views .wpp-text,
#side .st-wp-views .wpp-text {
	font-size:50%;
}

/*投稿日*/
#st-magazine .st-top-time p{
	position:absolute;
	bottom:0px;
	right:5px;
	padding:2px 7px;
	background-color: rgba(255,255,255,0.7);
	border-radius:3px 3px 0 0;
	font-size:75%;
	color:#757575;
}

/*カテゴリ*/
#st-magazine .catname {
	position:relative;
	z-index:9999;
	font-size:90%;
	padding:7px 10px;
}

/*PickUp*/
.st-pick {
  	padding:3px 6px;
	margin-right:5px;
	background:#F9A825;
	color:#fff;
	font-size:60%;
  	border-radius:3px;
    vertical-align:middle;
}

/*タイトル*/
#st-magazine .kanren .st-top-box dd h3 {
	padding:5px 0;
	line-height:1.5;
}

/*ブログカード風マガジン（関連記事）*/
#st-magazine.st-magazine-k .kanren dl {
	border:none;
}

#st-magazine.st-magazine-k .kanren dd {
	padding-left:0;
	padding-right:0;
}

#st-magazine.st-magazine-k .kanren dt img {
	max-height: 150px;
	object-fit: cover;
}

/*おすすめ記事*/
.nowhits .pop-box {
	margin-top: 0;
}

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {


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

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

	.home main {
	padding-left:20px;
	padding-right:20px;
	padding-bottom:0px;
	}

	#st-magazine .kanren .st-top-box {
		padding:5px;
		width:50%;
	}

	/*ブログカード風マガジン最初の投稿*/
	#st-magazine .kanren .st-top-box.st-fist-post dt {
		overflow: hidden;
		width: 100%;/* トリミングしたい枠の幅 */
		height: 350px;/* トリミングしたい枠の高さ */
		position: relative;
	}

	#st-magazine .kanren .st-top-box.st-fist-post dl:last-child {
		padding-bottom:0;
	}

	#st-magazine .kanren .st-top-box.st-fist-post dt img {
	  position: absolute;
 	 top: 50%;
  	left: 50%;
  	-webkit-transform: translate(-50%, -50%);
  	-ms-transform: translate(-50%, -50%);
  	transform: translate(-50%, -50%);
  	width: 100%;
 	 height: auto;

	}

	#st-magazine .kanren .st-fist-post dd {
		width: 100%;
		box-sizing:border-box;
		padding: 0!important;
		position:absolute;
		bottom:0;
		left:0px;
		z-index:999;
	}

	#st-magazine .kanren .st-fist-post dd .st-cards-content {
		padding:0px;
	}
	#st-magazine .kanren .st-fist-post dd .st-cards-content-in {
		background: rgba(255,255,255,0.9);
		padding:0 40px 20px;
	}

	#st-magazine .kanren .st-fist-post dd h3 {
		font-size:150%;
		margin-bottom:5px;
		line-height:1.5;
		padding-top:20px;
	}

	/*関連記事*/
	#st-magazine.st-magazine-k .kanren .st-top-box {
		width:50%;
	}
	.colum1 #st-magazine.st-magazine-k .kanren .st-top-box,
	.lp #st-magazine.st-magazine-k .kanren .st-top-box {
		width:33.33%;
	}

	#st-magazine.st-magazine-k .kanren {
		margin-left: -5px;
		margin-right: -5px;
	}

	/*閲覧数ウィジェット*/
	aside .kanren.pop-box.st-wpp-views-widgets {
		margin-top:20px;
	}

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

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {

	#st-magazine .kanren {
	    padding: 0 10px;
	}

}

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

	/*ブログカード風マガジン最初の投稿*/
	#st-magazine .kanren .st-top-box.st-fist-post dt {
		overflow: hidden;
		width: 100%;/* トリミングしたい枠の幅 */
		height: 400px;/* トリミングしたい枠の高さ */
		position: relative;
	}

	.home main {
		padding-left:0;
		padding-right:0;
		padding-bottom:0;
	}

	#st-magazine .kanren .st-fist-post {
		padding:0 5px 5px;
	}

	#st-magazine .kanren .st-top-box {
		width:49.99%;
	}

	.colum1 #st-magazine .kanren .st-top-box {
		width:33.33%;
	}

	.home aside .kanren {
		margin-top: 0;
		padding-top: 0px;
	}

	.home .colum1 main,
	.category .colum1 main {
		margin: 0 0 20px;
		padding: 0px;
	}

	/*記事エリアのボーダー*/
	.single main,
	.page main {
		border: 1px solid #ccc;
	}

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




/*マーカーアニメーション*/
 
.keiko-pen.active{
    background-position: -100% .5em;
}
 
.keiko-pen {
    background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: -o-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-repeat: repeat-x;
    background-size: 200% .8em;
    background-position: 0 .5em;
    transition: all 2s ease;    font-weight: bold;
}




/** 揺れる **/

.baunndo1 {
  animation: baunndo1 3s ease infinite;
}

.baunndo2 {
  animation: baunndo2 3s ease infinite;
}

.baunndo3 {
  animation: baunndo3 3s ease infinite;
}



@keyframes baunndo1 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(-5px) }
  15% { transform:translateY(0) }
  20% { transform:translateY(-5px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(0) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}


@keyframes baunndo2 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-5px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-5px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}


@keyframes baunndo3 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(0) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-5px) }
  35% { transform:translateY(0) }
  40% { transform:translateY(-5px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}


.p-free{
	margin-bottom:0px!important;
}










.cp_block {
	margin: 5em auto;
	text-align: center;
}
.cp_textlink02 {
	position: relative;
	padding: 0.1em 0.3em;
	transition: all 0.3s ease;
	text-decoration: none;
	color: #00bcd4;
}
.cp_textlink02::before {
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
	transition: all 0.3s ease;
	background-color: #00bcd4;
}
.cp_textlink02:hover::before {
	transform: scaleY(4);
}

.st-mybtn{
	margin-bottom: 0!important;
	box-shadow: 2px 2px 2px #aaa;
}

.st-mybtn a{
	text-shadow: 3px 3px 2px #79032a;
}

.acordion_tree ul.menu li a{
	color: #ff558f!important;
	font-weight:bold;
}

p, .post h5{
	margin-bottom: 35px!important;
	font-size: 14px!important;
    line-height: 26px!important;
}

.kuti-t-back-good{
	background:#ffe6f6;
}

.kuti-t-back-bad{
	background:#d4d4d4;
}
.rank-table tr th{
	border-color: #fff;
}

.rank-table tr th{
	background: #ff879d;
    color: #fff;
	line-height:1.2em;
	border-color: #fff;
}

	
.rank-table tr td{
	text-align:center;
	font-weight:bold;
	font-size:13px;
	padding:1%;
	line-height:1.2em!important;
	border-color: #ff869c;
}

.st-kaiwa-box {
    height: auto;
    margin-bottom: 50px!important;
}

.st-kaiwa-hukidashi{
	line-height: 26px!important;
    font-size: 14px!important;
	padding: 5%!important;
	font-family:'Noto Sans JP', sans-serif !important;
	color:#666;
	
}

header .descr{
	margin-bottom:0px!important;
}

#toc_container p.toc_title {
    margin-bottom: 0px!important;
}


/** 揺れる **/

.fluffy {
  animation: fluffy 3s ease infinite;
}

@keyframes fluffy {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-5px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-5px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}

table tr td {
	vertical-align:middle;
}

.st-dash-design span{
	color:#fff!important;
	font-size:20px!important;
}

.st-svg-menu:before{
	color:#fff!important;
}

#s-navi dt.trigger .op.has-text .fa:after{
	color:#fff!important;
}
