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


/*********************************
* common parts
**********************************/
.add-btn {
	display: block;
	width: 90%;
	max-width: 400px;
	text-align: center;
	border: 1px solid #ccc;
	padding: 10px 0;
	margin: auto;
	margin-top: 40px;
	font-size: 14px;
	text-decoration: none;
	color: inherit;
}
.add-btn:hover {
	color: inherit;
	opacity: .8;
}
.p-navi dl dt {
	width: 80px;
}


/*********************************
* module
**********************************/
header .descr.sitenametop {
	display: none;
}
.not-front-page header {
	background: #000;
	padding-bottom: 15px;
}
#headbox img.sitename-bottom {
	margin-bottom: 0;
	max-width: 300px;
}
footer {
	color: #fff;
	background: #3f3f3f;
}
#footer {
	top: 0!important;
}
#footer-in {
	position: relative;
}
#footer a,
#footer .footermenust a {
	color: #fff;
}
#footer .footermenust a {
	font-size: 14px;
}
#footer .footer-btn {
	display: inline-block;
	border: 1px solid #fff;
	padding: 10px 30px;
	font-size: 14px;
}
#footer .footer-btn:hover {
	background: #fff;
	color: #333;
}


/*********************************
* unique
**********************************/
.band-bnr {
	background: #DED8D3;
	padding: 12px;
	display:-webkit-box;
	display:-ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.band-bnr__txt,
.band-bnr__anc {
	margin: 8px 12px;
}
.band-bnr__txt {
	font-size: 18px;
	font-weight: bold;
}
.bus-cards-wrap {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;

	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.bus-cards-wrap .add-card {
	width: calc(25% - 20px);
	margin-right: 20px;
}
.bus-cards-wrap .add-card:nth-child(4n) {
	margin-right: 0;
}
.add-card {
	margin-bottom: 30px;
}

.add-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.add-card-link:hover {
	color: inherit;
	opacity: .8;
}
.add-card-image {
	margin-bottom: 16px;
}
.add-card-title {
	font-weight: bold;
	font-size: 18px;
	line-height: 1.25;
	text-align: center;
	margin-bottom: 12px;
}
.add-card-excerpt p {
	font-size: 14px;
	line-height: 1.625
}
.add-card-more {
	margin-top: 0;
}
.blogbox {
	margin-bottom: 20px;
}
.post h4.point {
	margin-top: 90px;
}




#st-page .entry-title:not(.st-css-no2) {
	margin-bottom: 50px;
}
.h2modoki, h2:not(.st-css-no) {
	border-left: 5px solid!important;
}
.h2modoki:not(:first-child) {
	margin-top: 40px
}
.kanren {
	padding-top: 0;margin-top: 0;
	margin-bottom: 40px;
}
.no-thumbitiran .blog_info
,p.itiran-category {
	display: inline-block;
}
.no-thumbitiran {
	margin-bottom: 0;
	border-bottom: 1px dotted #aaa;
	padding: 10px 0;
}
.st-excerpt p {
	margin-bottom: 0;
}

.sepbnr {
	margin-bottom: 24px;
}
.sepbnr__link {
	display: block;
	background: #3f3f3f;
	color: #fff;
	text-decoration: none;
	font-size: 120%;
	font-weight: bold;
	line-height: 1.25;
	text-align: center;
	margin-bottom: 4px;
	padding: 20px;
	border-radius: 5px;
}
.sepbnr__link:hover {
	color: #fff;
	opacity: .8;
}


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

.bus-cards-wrap .add-card {
	width: calc(50% - 10px);
	margin-right: 20px;
}
.bus-cards-wrap .add-card:nth-child(2n) {
	margin-right: 0;
}

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

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

	.sepbnr {
		display: flex;
	}
	.sepbnr__box { width: calc(50% - 10px); }
	.sepbnr__box:nth-child(odd) { margin-right: 10px; }
	.sepbnr__box:nth-child(even) { margin-left: 10px; }
	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {

	.home header {
		padding-bottom: 480px;
		position: relative;
		
	}
	.home #st-headerbox,
	.home #st-header,
	.home #st-header img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	.home #st-headerbox {
		z-index: -1;
	}
	.home #st-header {
		max-width: none;
	}
	.home #st-header img {
		max-width: none;
		min-height: 100%;
		min-width: 100%;
		height: auto;
		width: auto;
		left: 50%;
		transform: translate(-50%,-50%);
		top: 50%;
	}

	#headbox {
		text-align: center;
	}
	#header-l {
		float: none;
		max-width: none;
	}
	header .smanone ul.menu,
	#st-menubox nav.menu ul {
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;

		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	header .smanone ul.menu li,
	header #st-menuwide nav.menu li {
		width: 20%;
		float: none;
		padding: 0;
		height: auto;
		text-align: center;
		border-right: 1px solid #fff!important;
	}
	header .smanone ul.menu li:first-child,
	header #st-menuwide nav.menu li:first-child {
		border-left: 1px solid #fff;
	}
	header .smanone ul.menu li a,
	#st-menuwide nav.menu li a {
		display: block;
		color: #fff;
		height: auto;
		padding: 8px 0;
		padding: 0;
		line-height: inherit;
	}
	header .smanone ul.menu li a:hover,
	#st-menuwide nav.menu li a:hover {
		color: #fff;
	}

	#footer .footer-btn {
		position: absolute;
		right: 0;
		top: 0;
	}

	.entry-title:not(.st-css-no2), .post .entry-title:not(.st-css-no2) {
		font-size: 32px;
		line-height: 40px;
	}
	.entry-title:not(.st-css-no2), .post .entry-title:not(.st-css-no2) {
		margin-bottom: 30px;
	}
	.h2modoki, h2:not(.st-css-no) {
		padding-left: 30px;
		margin-left: -35px;
		font-size: 26px;
	}

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

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

	.band-bnr__txt {
		font-size: 14px;
	}

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