/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Version: 20180323
*/

/* 以前のフォントにする場合はコメントアウトして下さい
* {
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "ＭＳ Ｐゴシック", sans-serif;
}
*/

/*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) {


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

/*ブログカード風マガジン*/

.st-cardstyleb .st-cardbox {
    border: none;
    padding: 0;
}

.st-cardstyleb .kanren dl,
.st-cardstyleb .kanren.st-cardbox dl:last-child {
	box-sizing:border-box;
	border:1px solid #ccc;
	background:#fff;
}

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

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

.st-cardstyleb .kanren dt img {
	width: 100%!important;
}

.st-cardstyleb .kanren dd {
	padding: 20px 20px 15px;
}

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

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

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

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

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

.st-cardstyle .cardbox-more a {
	display:block;
}

@media only screen and (min-width: 960px) {
	/* ヘッダーメニュー */
	header .smanone ul.menu li {
		width:24%; /* 項目数によって数字を変える「100÷メニュー数」 */
	}
	header .smanone ul.menu ul li {
		width:100%;
	}
	}
