@charset "utf-8";
/* CSS Document */

/* post（共通）
========================================== */
.postCategory{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap:1em;
	margin-bottom: 4em;
}
.postCategory li a{
	line-height: 1.2;
	display: block;
	padding:.3em 1em;
	background-color:#fff;
	box-sizing: border-box;
	border: 1px solid var(--color-primary);
	color:var(--text-primary);
	font-size: var(--font-size-caption);
	text-decoration: none;
	transition: .3s;
}
.postCategory li a:hover,
.postCategory .current a{background-color: var(--color-primary);color: #fff;}

@media screen and (max-width:840px) {
	.postCategory{
		justify-content: flex-start;
		gap:.6em;
	}
}

.postBox{
	margin-bottom: 30px;
	padding:60px 5% 5%;
	background-color: #fff;
	border-radius: 30px;
}
.postBox ul,.postBox ol{margin-left: 1.2em;margin-bottom: 1em;}
.postBox ul{list-style-type: disc;}
.postBox ul li{list-style-type: inherit;}
.postBox ol {list-style-type: decimal}
.postBox ol li{list-style-type: inherit;}

.postTitle{
	line-height:1.2;
	margin-bottom:1em;
	padding:0 0 1em;
	border-bottom: 1px solid var(--border-color);
	box-sizing: border-box;
	font-size:clamp(1.6rem, 3vw, 2rem);
	font-weight: 800;
}
.postInfo{display:flex;flex-wrap: wrap;align-items: center;gap:.6em 1em;}
.postInfo .date{
	font-size: 1.3rem;
    font-family: var(--font-secondary);
    text-align: right;
    color: #888;
}
.postInfo .category{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	margin-left: 0;
	margin-bottom: 0;
	list-style-type: none;}

.postInfo .category li{
	text-decoration: none;
	list-style-type: none;}

.postInfo .category a{
	padding: 0 0.6em;
	text-decoration: none;
	background-color:var(--color-primary);
	color: #fff;
	font-size: 1.3rem;
	transition: 0.3s;
}
.postInfo .category a:hover{background-color: var(--color-accent);}
.postInfo .tag{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em;
	margin-left: 0;
	margin-bottom: 0;
	list-style-type: none;}

.postInfo .tag li{
	text-decoration: none;
	list-style-type: none;}

.postInfo .tag a{
	text-decoration: none;
	color: var(--text-secondary);
	font-size: 1.3rem;
	transition: 0.3s;
}
.postInfo .tag a::before{
	content: "#";
	display: inline-block;
}
.postInfo .tag a:hover{text-decoration: underline;}
.postText{padding: 2.5em 0;}
.postSignature{
	padding:20px;
	box-sizing: border-box;
	background-color:var(--bg-lightgrey);
}
.postSignature .name{font-weight: 600;}
.postSignature p+p{margin-top: 0.5em!important;}
.postSignature .tel a{text-decoration: none;font-size: 120%;color: var(--txt-color);margin-right: 1em;}

/* nav（共通）
========================================== */
.wp_nav{margin: 30px 0 20px;}
.wp_nav .wp-pagenavi{padding:10px 0;}
.wp_nav::after{
	content:" ";
	display:block;
	clear:both;
	font-size:0;}

/* Pager（共通）
========================================== */
.pager{
	display: flex;
	justify-content: space-between;}
.pager li a{
	position: relative;
	padding-bottom: 5px;
	color:var(--text-primary);
	text-decoration:none;}
.pager li a::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--color-primary);
	transform:scale(0,1);
	transform-origin: left top;
	transition: 0.3s;
}
.pager li a:hover::after{
	transform:scale(1,1);
}
@media screen and (max-width:599px){
	.pager{
		display: flex;
		flex-direction: column;
		gap: 1em;}
	.pager li{
		text-align:center;}
	.pager li.prev{order:2;}
	.pager li.list{order:3;}
	.pager li.next{order:1;}
}

/* editor img
========================================== */
img.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}
img.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.postBox p::after{content:" ";display:block;clear:both;font-size:0;}
@media screen and (max-width:599px){
	img.alignleft,
	img.alignright,
	img.aligncenter{
		display:block;
		float:none;
		margin:0 0 10px;
	}
}
