
/*==================================================================================
ヘッダー
==================================================================================*/
header#masthead nav.gnav ul li:first-child {
	display: none;
}
header#masthead nav.gnav ul li.current_page_item::after {
	content: "";
	display: block;
	width: 100%;
	border-bottom: 3px #52c64b solid;
	position: absolute;
	left: 0;
	bottom: -10px;
}
header#masthead nav.gnav ul li:last-child.current_page_item::after {
	display: none;
}
header#masthead nav.gnav ul li:last-child a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: auto;
	height: 45px;
	padding: 0 40px;
	border-radius: 50px;
	background: #52c64b;
	color: #fff;
	font-size: 14px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}

@media screen and (max-width: 960px ) {
	header#masthead nav.gnav ul {
		width: 100%;
	}
	header#masthead nav.gnav ul li:first-child {
		display: block;
	}
	header#masthead nav.gnav ul li.current_page_item::after {
		display: none;
	}
	header#masthead nav.gnav ul li:last-child a {
		width: 100%;
		max-width: 100%;
		height: 50px;
		padding: 0;
	}
}

/*==================================================================================
投稿記事
==================================================================================*/
/* WP投稿記事内のタグ装飾 -----------------------------------------------------------*/
/*
section#post_single h1,
section#post_single h2,
section#post_single h3,
*/
section#post_single h4,
section#post_single h5,
section#post_single h6,
section#post_single strong,
section#post_single b {
	margin: 0!important;
	padding: 0!important;
	background: none!important;
	border: none!important;
	color: #000;
	font-weight: bold!important;
	line-height: 1.4!important;
}
/*
section#post_single h1 {
	font-size: 34px!important;
	margin-bottom: 1.5em!important;
}
section#post_single h2 {
	font-size: 28px!important;
	margin-bottom: 1.5em!important;
}
section#post_single h3 {
	font-size: 24px!important;
	margin-bottom: 1.5em!important;
}
*/
section#post_single h4 {
	margin-bottom: 1.5em!important;
	padding-left: 20px!important;
	border-left: 8px #52c64b solid!important;
	font-size: 24px!important;
	text-align: left;
}
section#post_single h5 {
	margin-bottom: 0.2em!important;
	font-size: 20px!important;
	text-align: left;
}
section#post_single h6 {
	margin-bottom: 0.2em!important;
	font-size: 18px!important;
	text-align: left;
}
/*
section#post_single h1::before, section#post_single h1::after,
section#post_single h2::before, section#post_single h2::after,
section#post_single h3::before, section#post_single h3::after,
*/
section#post_single h4::before, section#post_single h4::after,
section#post_single h5::before, section#post_single h5::after,
section#post_single h6::before, section#post_single h6::after,
/*
section#post_single h1 span::before, section#post_single h1 span::after,
section#post_single h2 span::before, section#post_single h2 span::after,
section#post_single h3 span::before, section#post_single h3 span::after,
*/
section#post_single h4 span::before, section#post_single h4 span::after,
section#post_single h5 span::before, section#post_single h5 span::after,
section#post_single h6 span::before, section#post_single h6 span::after {
	display: none!important;
}
/*
section#post_single h1 span,
section#post_single h2 span,
section#post_single h3 span,
*/
section#post_single h4 span,
section#post_single h5 span,
section#post_single h6 span {
	margin: 0!important;
	padding: 0!important;
	border: none!important;
	font-size: 1em!important;
	font-weight: bold!important;
}
section#post_single a {
	color: #006cb8;
	text-decoration: underline;
}
section#post_single img {
	width: auto;
	height: auto;
	margin: auto;
}
section#post_single .img img {
	margin: 0;
}
section#post_single img.alignleft {
	margin: 0 auto 0 0;
}
section#post_single img.alignright {
	margin: 0 0 0 auto;
}
section#post_single table td img {
	width: calc(100% - 10px);
}
section#post_single ol {
	list-style: decimal;
	margin-left: 1.5em;
	font-size: 16px;
	line-height: 1.6;
}
section#post_single ul {
	list-style: disc;
	margin-left: 1.5em;
	font-size: 16px;
	line-height: 1.6;
}
section#post_single article .article p {
	margin-bottom: 20px;
}

@media screen and (max-width: 960px ) {
	section#post_single h4 {
		padding-left: 10px!important;
		font-size: 18px!important;
	}
	section#post_single h5 {
		font-size: 16px!important;
	}
	section#post_single h6 {
		font-size: 14px!important;
	}
	section#post_single ol {
		font-size: 14px;
	}
	section#post_single ul {
		font-size: 14px;
	}
}

@media screen and (max-width: 460px ) {
	section#post_single ol {
		font-size: 12px;
	}
	section#post_single ul {
		font-size: 12px;
	}

}


/*==================================================================================
管理ページ Editorカスタマイズ
==================================================================================*/
iframe#content_ifr html {
	background: none!important;
}
.my-editor {
	background: #fff!important;
}
.my-editor h1,
.my-editor h2,
.my-editor h3,
.my-editor h4,
.my-editor h5,
.my-editor h6,
.my-editor strong,
.my-editor b {
	margin: 0!important;
	font-weight: bold!important;
	line-height: 1.4!important;
}
.my-editor h1 {
	font-size: 34px!important;
	margin-bottom: 1.5em!important;
}
.my-editor h2 {
	font-size: 28px!important;
	margin-bottom: 1.5em!important;
}
.my-editor h3 {
	font-size: 24px!important;
	margin-bottom: 1.5em!important;
}
.my-editor h4 {
	font-size: 20px!important;
	margin-bottom: 1.5em!important;
}
.my-editor h5 {
	font-size: 18px!important;
	margin-bottom: 1.5em!important;
}
.my-editor h6 {
	font-size: 16px!important;
	margin-bottom: 1.5em!important;
}
.my-editor a {
	color: #006cb8;
	text-decoration: underline;
}
.my-editor table td img {
	width: calc(100% - 10px);
}

/*==================================================================================
投稿一覧 ページネーション
==================================================================================*/
/* WP-pagenavi --------------------------------------------------------------------*/
section#topics .wp-pagenavi,
section#tweet .wp-pagenavi {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}
section#topics .wp-pagenavi a,
section#topics .wp-pagenavi span,
section#tweet .wp-pagenavi a,
section#tweet .wp-pagenavi span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	margin: 0 2px;
	border-radius: 5px;
	color: #303030;
	font-size: 14px;
	text-decoration: none!important;
}
section#topics .wp-pagenavi span.current,
section#tweet .wp-pagenavi span.current {
	background: #f0f7f0;
}
section#topics .wp-pagenavi span.extend,
section#tweet .wp-pagenavi span.extend {
	width: auto;
	border: none;
}
section#topics .wp-pagenavi a:hover,
section#tweet .wp-pagenavi a:hover {
	background: #f7f7f7;
	filter: none;
}

@media screen and (max-width: 960px ) {
	section#topics .wp-pagenavi a,
	section#topics .wp-pagenavi span,
	section#tweet .wp-pagenavi a,
	section#tweet .wp-pagenavi span {
		width: 30px;
		height: 30px;
		font-size: 12px;
	}
}


