@charset "utf-8";

/* contact form 7 */
.wpcf7 .wpcf7-list-item {
	margin: 10px 35px 10px 10px;
}


.wpcf7 span.wpcf7-not-valid-tip {
	color: #d91f52;
	display: block;
	font-size: 13px;
	font-weight: bold;
	padding: 2px 0 0px;
}
.wpcf7 div.wpcf7-response-output {
	margin: 1.5em 0.5em;
	padding: 14px 11px;
	font-size: 14px;
	font-weight: bold;
	line-height: 140%;
}
.wpcf7 div.wpcf7-response-output.wpcf7-validation-errors {
	color: #d91f52;
	border: 2px solid;
}
.wpcf7 div.wpcf7-response-output.wpcf7-mail-sent-ng {
	color: #d91f52;
	border: 2px solid;
}
.wpcf7 div.wpcf7-response-output.wpcf7-mail-sent-ok {
	color: #0187D1;
	border: 2px solid;
}
.wpcf7 .wpcf7-form .ajax-loader {
	visibility: hidden;
	display: block;
	border: medium none;
	margin: 6px auto 0;
}

/* postbody */
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5 {
	margin-top: 45px;
	margin-bottom: 0.8em;
	font-size: 16px;
	font-weight: bold;
	line-height: 160%;
}
.post-body p {
	margin-bottom: 0.5em;
	font-size: 14px;
	line-height: 180%;
}
.post-body a {
	padding-bottom: 2px;
	border-bottom: solid 1px;
}

.post-body img {
	display: block;
	margin: 0.8em 0;
	max-width: 100%;
	height: auto;
}
.post-body img.aligncenter {
	clear: both;
	margin-left: auto;
	margin-right: auto;
}
.post-body img.alignleft {
	float: left;
	margin-right: 15px;
}
.post-body img.alignright {
	float: left;
	margin-right: 15px;
}

.post-body h1:first-child,
.post-body h2:first-child,
.post-body h3:first-child,
.post-body h4:first-child,
.post-body h5:first-child,
.post-body img:first-child {
	margin-top: 0;
}
.post-body p img:first-child {
	margin-top: 0.8em;
}

@media only screen and (max-width: 768px) {

	.post-body h1,
	.post-body h2,
	.post-body h3,
	.post-body h4,
	.post-body h5 {
		margin-top: 30px;
		font-size: 14px;
	}
	.post-body p {
		margin-bottom: 0.4em;
		font-size: 13px;
	}

	.post-body img {
		margin: 0.5em 0;
	}
	.post-body img.aligncenter,
	.post-body img.alignleft,
	.post-body img.alignright {
		float: none;
		margin-right: auto;
		margin-left: auto;
	}
}