/*
Theme Name: 白石ガーデンプレイス皮膚科クリニック
Author: くるみクリエイティブ
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.6
Version: 1.0.0
*/


.content-wrap {
	display: flex;
	justify-content: space-between;
}
.contents {
	width: 75%;
}
.sidebar {
	width: 23%;
}
.sidebar h4 {
	position: relative;
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 1em;
}
.sidebar h4::before {
	content: "●";
	position: relative;
	top: 0;
	left: 0;
	margin-right: 5px;
	color: #F7C2B4;
}
.sidebar .wp-block-latest-posts,
.sidebar .wp-block-archives,
.sidebar .wp-block-tag-cloud {
	margin-bottom: 2em;
}
.sidebar .wp-block-archives {
	display: flex;
	flex-wrap: wrap;
}
.sidebar .wp-block-archives > li {
	width: 49%;
	margin-right: 1%;
}
.sidebar .wp-block-latest-posts > li,
.sidebar .wp-block-archives > li {
	box-sizing: border-box;
	padding-left: 1em;
	padding-bottom: 0.5em;
}
.sidebar .wp-block-tag-cloud {
	padding-left: 1em;
}
.sidebar .wp-block-tag-cloud a {
	font-size: 0.9em !important;
}
@media screen and (max-width:767px) {
	.content-wrap {
		flex-wrap: wrap;
		flex-direction: column;
	}
	.contents, .sidebar {
		width: 100%;
	}
}

/**
 *	投稿
 */
.archive-title {
	text-align: center;
	font-size: 1.3em;
	border-bottom: 1px solid #F2EEE6;
	margin-bottom: 40px;
}
.post-article {
	margin-bottom: 40px;
}
.post-title {
	position: relative;
	font-size: 1.3em;
	font-weight: bold;
	padding: 16px 16px 16px;
	padding-left: 50px;
	border-bottom: 1px solid #F2EEE6;

	background-image: url(images/icon-rose.png);
	background-repeat: no-repeat;
	background-size: 40px auto;
	background-position: left center;
}
.post-title a {
	text-decoration: none;
}
.post-title a:hover {
	text-decoration: underline;
}
.post-meta {
	display: flex;
	font-size: 0.8em;
	padding: 5px 16px;
}
.post-content {
	font-size: 1em;
	padding: 5px 16px;
}

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

/* 投稿：TOP */
.index_column_link .recent-posts-in-single {
	width: 100%;
	max-width: 530px;
	margin: 1em auto;
	padding-top: 0;
	text-align: left;
}
.index_column_link .recent-posts-in-single .post-article {
	margin-bottom: 0;
}
.index_column_link .post-title {
	font-size: 1.1em;
}
.index_column_link .post-date {
	font-size: 0.8rem;
}
@media screen and (max-width:768px) {
	.index_column_link .recent-posts-in-single {
		max-width: 100%;
		margin-top: 0;
	}
	.post-title {
		padding-top: 8px;
		padding-bottom: 8px;
		font-size: 1rem;
	}
}

/* フッター：最新の記事 */
.recent-posts-in-single {
	margin-top: 80px;
	padding-top: 80px;
	border-top: 1px solid #F2EEE6;
}
.recent-posts-in-single h4 {
    position: relative;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 1em;
}
.recent-posts-in-single h4::before {
    content: "●";
    position: relative;
    top: 0;
    left: 0;
    margin-right: 5px;
    color: #F7C2B4;
}

/**
 *	ページガイド
 */
.pager {
	list-style: none;
	display: flex;
	justify-content: center;
}
.pager .btn {
	display: block;
	padding: 0.5em 1.5em;
	text-decoration: none;
	color: #7D6657;
	background-color: #F2EEE6;
	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;
}
.wp-pagenavi .pages {
	display: none;
}
.wp-pagenavi a,
.wp-pagenavi span,
.wp-pagenavi .page {
    padding: 0.3rem 0.6rem;
    margin: 0 10px;
    background-color: #F2EEE6;
	color: #7D6657;
	text-decoration: none;
	border: none;
}
.wp-pagenavi span.current {
	background-color: #7D6657;
	border-color: #F2EEE6;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	background-color: transparent;
	font-size: 24px;
	color: #7D6657;
}
.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;
	}
}

