/*====================*/
/*コンテンツ
/*====================*/
.page-container {
	background: #fff;
}
.diary-lead {
	margin-bottom: 2.5em;
	line-height: 1.6;
	color: #444;
	text-align: center;
}
.diary-post::after {
	content: '';
	display: block;
	clear: both;
}
.common-archive-title {
 margin-bottom: 1.2em;
}
.diary-archive-list .diary-post + .diary-post {
	margin-top: 50px;
	/* padding-top: 50px; */
	/* border-top: 1px solid #d7d6d5; */
}
.diary-post .single-header-data {
	position: static;
	height: 35px;
	margin: 0 18px 15px 0;
	text-align: right;
}
.diary-post .single-header-data .postr-date {
	font-family: 'century', serif;
	font-size: 19px;
	letter-spacing: 0;
	color: #b4b4b4;
}
.diary-post .single-header {
	display: flex;
	flex-direction: column-reverse;
	margin: 0;
	padding: 0;
}
.diary-post .single-header::before {
	display: none;
}
.diary-post .single-header-title {
	background: url("../images/diary/titlebar.png") no-repeat bottom left;
	font-family: inherit;
	font-size: 25px;
	line-height: 1.6;
	text-shadow: none;
	padding: 9px;
	margin: 0 0 10px;
}
.diary-post .single-header-title a {
	color: #000;
}
.diary-images {
	display: flex;
	flex-wrap: wrap;
 justify-content: center;
	gap: 10px;
	margin-bottom: 1.5em;
}
.diary-images a {
	display: block;
 flex: 0 1 220px;
	/* width: calc((100% - 20px) / 3); */
}
.diary-images img {
	display: block;
 width: 100%;
 height: auto;
}
.diary-images.is-count-1,
.diary-images.is-count-2 {
	float: left;
	margin: 0 20px 10px 0;
}
.diary-post .content-editor {
	line-height: 1.6;
}
.diary-post .content-editor p {
 margin-bottom: 10px;
}
.diary-postinfo {
	margin-top: 20px;
	text-align: right;
	clear: both;
}
.diary-postinfo a {
	color: #385a19;
	text-decoration: underline;
}
.diary-pager,
.diary-pagelink {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	margin: 2.5em 0 1em;
	padding-top: 1em;
	border-top: 1px solid #ddd;
}
.diary-pager .next,
.diary-pagelink .newpage {
	margin-left: auto;
	text-align: right;
}
.diary-pager a,.diary-pagelink a {
	color: #385a19;
	text-decoration: underline;
}

/*====================*/
/*サイドバー
/*====================*/
.clm2-sidebar.diary-sidebar {
 border: 3px solid #ddd;
 padding: 12px;
}
.clm2-sidebar .sidebar-clm {
	margin-bottom: 25px;
}
/* 検索 */
.diary-search form {
	display: flex;
}
.diary-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.5em;
	border: 1px solid #ccc;
}
.diary-search button {
	padding: 0.5em 1em;
	border: 0;
	background: #385a19;
	color: #fff;
	cursor: pointer;
}
/* 最近の記事 */
.clm2-sidebar .archivelist-title {
	font-family: inherit;
	font-size: 18px;
	color: #333;
	padding: 0;
}
.archivelist-item {
 border: none;
 padding-top: 10px;
 margin: 0;
}
.archivelist-item li {
 margin: 7px;
}
/* カレンダー */
.diary-calendar-body {
 background: url("../images/diary/calendar_hai.png");
 margin: 10px 0;
}
.diary-calendar table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	color: #333;
	text-align: center;
}
.diary-calendar caption {
 font-size: 17px;
	font-weight: bold;
	padding: 8px 2px;
}
.diary-calendar th,
.diary-calendar td {
	padding: 2px 0;
}
.diary-calendar th {
 font-weight: bold;
}
.diary-calendar td a {
 color: #333;
	font-weight: bold;
 text-decoration: underline;
}
.diary-calendar #today {
	color: #385a19;
}
.diary-calendar .wp-calendar-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 16px;
}
.diary-calendar .wp-calendar-nav > span {
	flex: 1;
}
.diary-calendar .wp-calendar-nav .pad {
	text-align: center;
}
.diary-calendar .wp-calendar-nav-next {
	text-align: right;
}
/* .diary-calendar .wp-calendar-nav .pad a {
	display: inline-block;
	padding: 0 0.8em;
	border: 1px solid #385a19;
	border-radius: 3px;
	color: #385a19;
	font-size: 14px;
	text-decoration: none;
} */
.diary-calendar a {
 color: #c33;
}
/* 月別記事 */
.diary-monthly select {
	width: 100%;
	padding: 0.5em 2.5em 0.5em 0.5em;
	border: 1px solid #ccc;
	background: #fff;
}
.diary-select {
	position: relative;
}
.diary-select::after {
	content: '';
	width: 9px;
	height: 9px;
	border-right: 2px solid #726c65;
	border-bottom: 2px solid #726c65;
	transform: rotate(45deg);
	display: block;
	position: absolute;
	top: 0;
	bottom: 4px;
	right: 20px;
	margin: auto;
	pointer-events: none;
}
/* コメント */
.comments {
	padding: 0 15px;
	margin-top: 2.5em;
	border-top: 1px dotted #bdbdbd;
}
.comments-title {
	font-size: 19px;
	border-bottom: 1px solid #0c8bcd;
	padding-bottom: 3px;
	margin: 20px 0;
}
.comment-list li.compost {
	color: #333;
	list-style: none;
	border-bottom: 1px dotted #0c8bcd;
	padding: 10px;
	margin-bottom: 1em;
}
.comment-list > li.compost {
 margin-bottom: 2.2em;
}
.comment-list .cominfo {
	color: #666;
	text-align: right;
	padding: 0 5px 0 0;
 margin-top: 0.5em;
}
.comment-list .children {
	background: #f7f7f7 url("../images/diary/commenttop.gif") no-repeat left top;
	padding: 40px 15px 20px;
	margin: 1em 0 1em 1.5em;
}
.comment-list .children li.compost {
	color: #444;
	border-bottom: none;
 padding: 0;
 margin: 0;
}
@media screen and (min-width: 961px) {
 .diary-pager a:hover,.diary-postinfo a:hover {
  text-decoration: none;
 }
}
@media screen and (max-width: 960px) {
	.clm2-container {
		display: flex;
		flex-direction: column;
	}
	.clm2-container::before,
	.clm2-container::after {
		display: none;
	}
	.diary-sidebar {
		order: 2;
		margin: 40px 0 0;
	}
 .diary-post .single-header-data {
  height: unset;
  margin: 0 10px 10px 0;
 }
	.diary-post .single-header-title {
		font-size: 20px;
  padding: 9px 0 9px 5px;
	}
 .diary-post .single-header-data .postr-date,.diary-postinfo {
  font-size: 16px;
 }
 .diary-post .content-editor {
  font-size: 16px;
  line-height: 1.7;
 }
	.diary-recent li:nth-child(n+6) {
		display: none;
	}
	.diary-images.is-count-1,
	.diary-images.is-count-2 {
		float: none;
		width: auto;
		margin: 0 0 15px;
	}
	.diary-images a {
		flex: 0 1 calc((100% - 10px) / 2);
  max-width: 260px;
	}
}