@charset "UTF-8";
/*
Theme Name: 啓明腎泌尿器科・皮膚科
Author: 啓明腎泌尿器科・皮膚科
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 5.6
Version: 1.0.0
*/
#sub .sidebar h4 {
	position: relative;
	clear: both;
	margin-bottom: 5px;
	padding: 6px 15px 6px 30px;	/*上下、左右への余白*/
	background: linear-gradient(#fff, #eee);	/*グラデーション*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 4px;		/*角丸のサイズ*/
	color: #777e41;
}
#sub .sidebar h2::before {
	content: "◉";
	color: #777e41;
	position: absolute;
	top: 6px;
	left: 10px;
}
#sub .sidebar ul,
#sub .sidebar ul li {
	list-style: disc;
}
#sub .sidebar ul {
	padding-left: 1.5em;
	box-sizing: border-box;
	margin-bottom: 1em;
}
#sub .sidebar ul li {
	margin-left: 0.5em;
	box-sizing: border-box;
}
.sidebar .wp-block-archives {
	display: flex;
	flex-wrap: wrap;
	gap: 1%;
}
.sidebar .wp-block-archives > li {
    width: 49%;
}
.sidebar .wp-block-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-left: 1.5em;
}
.sidebar .wp-block-tag-cloud a {
	font-size: 1em !important;
}
.sidebar {
	margin-bottom: 2em;
}

.post-content {
	margin-bottom: 3em;
	padding: 1em;
}
.post-meta {
    display: flex;
    font-size: 0.8em;
    padding: 5px 16px;
}
.post-content .post-img {
	margin-bottom: 1em;
	text-align: center;
}
.post-content .post-img img {
	margin: auto;
}

a.read-more {
	display: inline-block;
    background-color: #F2EEE6;
    color: #777e41;
    margin: 0 5px;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    text-decoration: none;
}
a.read-more:hover {
    color: #fff;
    background-color: #777e41;
    text-decoration: underline;
}

.post-article {
	margin-bottom: 1.5em;
}
.post-excerpt-wrap {
	display: flex;
	gap: 1%;
	padding: 0 16px;
	box-sizing: border-box;
}
.post-excerpt-wrap .post-img {
	width: 20%;
}
.post-excerpt-wrap .post-img img {
	width: 100%;
	height: auto;
}
.post-excerpt-wrap .post-excerpt {
	width: 79%;
}
.post-excerpt-wrap.no-img .post-excerpt {
	width: 100%;
}

/**
 *	ページガイド
 */
.pager {
	list-style: none;
	display: flex;
	justify-content: center;
}
.pager .btn {
	display: block;
	padding: 0.5em 1.5em;
	text-decoration: none;
	color: #777e41;
	background-color: #EBECE0;
	font-size: 14px;
}
.pager a:not(:last-child) {
	margin-right: 1.5rem;
}
@media screen and (max-width:480px) {
	.pager .btn {
		font-size: 12px;
	}
}

/**
 *	ページナビ
 */
.wp-pagenavi {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.wp-pagenavi .pages {
	display: none;
}
.wp-pagenavi a,
.wp-pagenavi span,
.wp-pagenavi .page {
    padding: 0 8px;
    box-sizing: border-box;
    line-height: 2em;
    height: 2em;
    margin: 0 10px;
    background-color: #F2EEE6;
	color: #777e41;
	text-decoration: none;
	border: none;
}
.wp-pagenavi span.current {
	background-color: #777e41;
	border-color: #F2EEE6;
	color: #fff;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	background-color: transparent;
	font-size: 24px;
	color: #777e41;
}
.wp-pagenavi .extend {
	display: none;
}

@media screen and (max-width: 767px) {
	.wp-pagenavi span,
	.wp-pagenavi .page {
		padding: 0.3rem 0.6rem;
    	margin: 0 5px;
	}
}
