@charset "UTF-8";

/* post-meta
------------------------------------------------ */
.post-meta {
	display: flex;
	align-items: center;
	margin-top: 50px;
}
.post-meta p {
	font-size: 15px;
	color: #888;
	margin: 0;
}
.post-meta ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.post-meta ul li {
	margin: 0 0 0 20px;
}
.post-meta ul li span {
	display: block;
	padding: 0 10px;
	font-size: 10px;
	border: 1px solid #ccc;
}
.post-meta ul li span.cat-important {
	color: #6d0808;
	border-color: #6d0808;
}
.post-meta ul li span.cat-news {
	color: #08326d;
	border-color: #08326d;
}
.post-meta ul li a:hover {
	text-decoration: none;
}
.post-meta ul li a:hover span {
	opacity: 0.8;
}

/* post-body
------------------------------------------------*/
.post-body .searchform::after {
	display: block;
	clear: both;
	content: "";
}
.post-body .searchform .s {
	background: #fff;
	width: 76%;
	color: #666;
	height: 50px;
	font-size: 15px;
	padding-left: 20px;
	border: 1px solid #dcdcdc;
	float: left;
	outline: none;
}
.post-body .searchform .searchbtn {
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	width: 24%;
	float: left;
	color: #fff;
	height: 50px;
	line-height: 50px;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	background: #2b2b2b;
}
.error404 .post-body ul {
	display: flex;
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
}
.error404 .post-body ul li {
	margin: 0 1em 0 0;
}
@media screen and (max-width: 767px) {
	#search-area .searchbtn {
		font-size: 16px;
	}
}

/* PageNav
------------------------------------------------*/
#page-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 50px 0 0;
}
#page-nav p {
	margin: 0;
}
#page-nav a {
	position: relative;
	display: block;
	font-size: 14px;
}
#page-nav .next_post {
	width: 46.5%;
	text-align: right;
}
#page-nav .prev_post {
	width: 46.5%;
}
#page-nav .next_post a {
	padding: 0 20px 0 0;
}
#page-nav .prev_post a {
	padding: 0 0 0 20px;
}
#page-nav .next_post a:after,
#page-nav .prev_post a:after {
	content: '';
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	border-left: solid 1px #ccc;
	border-top: solid 1px #ccc;
}
#page-nav .next_post a:after {
	right: 3px;
	transform: translate(0, -50%) rotate(135deg);
}
#page-nav .prev_post a:after {
	left: 3px;
	transform: translate(0, -50%) rotate(-45deg);
}
@media screen and (max-width:767px) {
	#page-nav a {
		font-size: 13px;
	}
}
@media screen and (max-width:480px) {
	#page-nav {
		display: block;
		border: 0;
		margin: 0;
		padding: 0;
	}
	#page-nav .next_post,
	#page-nav .prev_post {
		width: 100%;
		padding: 0;
	}
	#page-nav .next_post a {
		padding: 15px 30px 15px 10px;
	}
	#page-nav .prev_post a {
		padding: 15px 10px 15px 30px;
		border-bottom: 1px solid #ccc;
	}
}

/* wp-pagenavi
------------------------------------------------ */
.wp-pagenavi {
	margin: 50px 0;
}
.wp-pagenavi span {
	display: inline-block;
	padding: 7px 10px;
	margin: 5px;
	line-height: 1;
	vertical-align: middle;
	border: 0;
}
.wp-pagenavi span.current {
	color: #fff;
	background: #3e1586;
	border: 1px solid #3e1586;
}
.wp-pagenavi a {
	display: inline-block;
	padding: 7px 10px;
	margin: 0 5px;
	line-height: 1;
	color: #333;
	text-decoration: none;
	vertical-align: middle;
	background: #fff;
	border: 1px solid #ccc;
}
.wp-pagenavi a:hover {
	color: #fff;
	text-decoration: none !important;
	background: #3e1586;
	border: 1px solid #3e1586;
}
@media screen and (max-width:767px) {
	.wp-pagenavi {
		text-align: center;
	}
}

/* side
------------------------------------------------ */
#side {
	display: flex;
	justify-content: space-between;
	margin: 30px 0 0;
}
#side dl {
	width: 48%;
	margin: 0;
	position: relative;
}
#side dt {
	position: relative;
	display: block;
	border: 1px solid #3e1586;
	text-align: center;
	cursor: pointer;
	padding: 10px;
	color: #3e1586;
}
#side dt:after {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 8px;
	height: 8px;
	content: "";
	border-top: solid 1px #3e1586;
	border-left: solid 1px #3e1586;
	transform: translate(0, -50%) rotate(-135deg);
}
#side dt.close {
	background: #F1EFF4;
}
#side dt.close:after {
	transform: rotate(45deg);
}
#side dd {
	display: none;
	margin: 0;
	position: absolute;
	z-index: 1;
	background: #fff;
	width: 100%;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
#side dd .overflow {
	overflow-y: scroll;
	height: 200px;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
}
#side ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#side li {
	border-bottom: 1px solid #ccc;
}
#side li a {
	display: block;
	padding: 10px;
}
@media screen and (max-width:480px) {
	#side {
		position: relative;
		margin: 20px 0 0;
	}
	#side dl {
		position: initial;
	}
	#side dd {
		left: 0;
	}
}