/*
Default style for WP-PageNavi plugin

http://wordpress.org/extend/plugins/wp-pagenavi/
*/

/*
.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}
*/

/* https://chiiweb.net/media/wp-pagenavi/ */
.wp-pagenavi {
	margin: 40px auto;
	font-size: 16px;
	text-align: center;
	/*ページナビが並列になるスタイル＝ボタン箇所のみ必要なのでcore.phpに直接書き込む*/
	/* display: flex; */
	align-items: center;
	justify-content: center;
	color: #e35c02;
}
.wp-pagenavi-btn-area {
	margin: 20px auto;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wp-pagenavi a {
    color: #e35c02;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
    color: #e35c02;
	margin: 0 10px 0 0;
	border: solid 1px #e35c02;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	line-height: 40px;
	text-align: center;
	box-sizing: border-box;
	justify-content: center;
	display: flex;
	align-items: center;
	transition: .3s;
}

@media screen and (max-width: 767px) {
	/* （ここにモバイル用スタイルを記述） */

	.wp-pagenavi-btn-area {
		font-size: 10px;
	}

	.wp-pagenavi span.current,
	.wp-pagenavi a.page {
	    color: #e35c02;
		margin: 0 3px 0 0;
		border: solid 1px #e35c02;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		line-height: 30px;
		text-align: center;
		box-sizing: border-box;
		justify-content: center;
		display: flex;
		align-items: center;
		transition: .3s;
	}
}

.wp-pagenavi span.current {
    border: none;
    background: #e35c02;
    color: #fff;
}
.wp-pagenavi a.page {
	background: none;
}
.wp-pagenavi a.page:hover {
    background: #e35c02;
    color: #fff;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
    margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    /* display: none; */
}