/* djblog/style.css */
/******************/
/*** レイアウト ***/
/******************/
.panel-left {
}
.panel-center {
	overflow-y: auto;
	padding-left: 4px;
}
.post-detail {
	margin-top: 10px;
	text-wrap: pretty;
}
.post-unit {
	margin: 10px 0px 0px 0px;
}
/******************/
/*** 左側ペイン ***/
/*****************/
.panel-left-head {
	position: fixed;
	top: 60px;
	padding-top: 10px;
	display: flex;
	justify-content: flex-start;
	height: 30px;
	width: auto;
	font-size: 0.9rem;
}
.panel-left-scroll-box {
	position: fixed;
	top: 92px;
	width: 100%;
	height: calc(100vh - 92px - 22px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #aab #f0f0ff;
	scrollbar-gutter: stable;
}
/*** ソート選択ボタン ***/
.panel-left-head a {
	text-decoration: none;
	color: #000;
}
.panel-left-head a:hover {
	color: #800;
}
.btn-blog {
	background-color: #ddd;
	color: #004;
	height: 20px;
	border: 1px solid #004;
	padding: 0 10px;
	border-radius: 8px 0 0 0;
	border-right: 0px;
	border-bottom: 0px;
}
.btn-open {
	background-color: #fff;
	color: #004;
	height: 20px;
	border: 1px solid #004;
	padding: 0 10px;
	border-radius: 8px 0 0 0;
	border-right: 0px;
	border-bottom: 0px;
}
.btn-dumy {
	color: #004;
	height: 20px;
	border: 1px solid #004;
	width: 0px;
	border-right: none;
}
.btn-blog:hover {
	background-color: wheat;
	color: #800;
	border: 1px solid #800;
	border-right: 0px;
	border-bottom: 0px;
}
/******************/
/* リスト表示要素 */
/******************/
/* 最近の投稿 */
.post-item {
	padding-top: 5px;
	font-size: 0.8rem;
}
.post-item a {
	color: #002;
	text-decoration: none;
}
.post-item a:hover {
	background-color: wheat;
	color: #800;
}
.post-item-open {
	background-color: #fffdf8;
}
.post-item-close {
}
.post-item .post-date {
	padding: 0px 0px 0px 2px;
	font-size: 0.7rem;
}
.post-item-title {
	font-size: 0.8rem;
}
.post-item-small {
	font-size: 0.65rem;
}
/* 年別 */
.post-year {
	padding-top: 8px;
	font-size: 1rem;
}
.post-year .post-a1 {
	background-color: #eaeaea;
	background-color: #f4f4f4;
}
.post-year a {
	color: #444;
	text-decoration: none;
}
.post-year a:hover {
	background-color: wheat;
	color: #800;
}
/* 題別 */
.post-cate {
	padding: 8px 0px 0px 2px;
	font-size: 1rem;
}
.post-cate .post-count {
	font-size: 0.8rem;
}
.post-cate a {
	color: #444;
	text-decoration: none;
}
.post-cate a:hover {
	background-color: wheat;
	color: #800;
}
.post-cate-img {
	max-width: 18px;
	max-height: 16px;
	height: auto;
}
.aside .index {
	margin-top: 4px;
	margin-bottom: 2px;
}
.aside .index a {
	border-left: solid 2px #88a;
	border-bottom: solid 1px #88a;
	color: #00f;
}
.aside .posts {
	margin-top: 1px;
	margin-left: 10px;
	font-size: small;
}
.aside .posts a {
	color: #0f0;
}
.aside a {
	color: #008;
}
.aside a:hover {
	color: #fff;
	background: #00a;
}
/****************/
/*** 投稿記事 ***/
/****************/
.content-head-row {
	padding: 10px 0;
	display: flex;
	align-items: center;
	height: 50px;
}
.content-head-title {
	padding: 0 40px 0 0;
	font-size: 2.0rem;
}
.content-head-icon {
	margin-top: 10px;
	padding: 0 10px 0 10px;
}
.content-head-icon img {
	width: 38px;
	height: auto;
}
.post-admin-row {
	text-align: right;
	margin-right: 20px;
}
/*** 個別Post ***/
.post-unit a {
	color: #000;
	text-decoration: none;
}
.post-unit a:hover {
	color: #800;
	background-color: wheat;
	border-radius: 5px;
}
/*** 個別Postヘッダ ***/
.post-detail-header {
	display: flex;
	justify-content: space-between;
	height: 32px;
	padding: 8px 0;
	border: 2px solid #ccc;
	border-style: none none solid none;
	margin-bottom: 10px;
}
.post-head-line {
	display: flex;
	justify-content: space-between;
	height: 24px;
	border: 2px solid #ccc;
	border-style: none none solid none;
	padding-top: 10px;
	padding: 0 10px 4px 0;
}
.post-head-title {
	font-size: 1.4rem;
}
.post-head-date {
	font-size: 1rem;
	margin-top: 4px;
	margin-left: 20px;
}
.post-head-cate-img {
	width: 24px;
	max-height: 24px;
	height: auto;
	margin-right: 10px;
}
.post-head-comment {
	font-size: 1rem;
	margin-top: 4px;
	margin-right: 20px;
}
.post-head-cate {
	font-size: 1.4rem;
	padding: 0 16px;
}
.post-head-cate a {
	color: #000;
	text-decoration: none;
	margin-bottom: 4px;
}
.post-head-cate:hover {
	background-color: wheat;
}
.post-head-cate img {
	height: 28px;
	width: auto;
}
.post-head-sub {
	display: flex;
	justify-content: space-between;
	height: 20px;
}
/********************/
/*** 編集フォーム ***/
/********************/
.post-form {
	border-radius: 18px;
	background-color: #f0e8d0;
	margin: 5px 10px 10px 0;
}
.post-form-table {
	padding: 8px;
	font-size: 1rem;
}
.post-form-table th {
	text-align: right;
	vertical-align: top;
	min-width: 6rem;
}   
.post-form-table td {
	padding-bottom: 4px; 
}
.post-form-table select {
	display: inline-block;
	background-color: #f8f8f8;
	border: 1px solid #400;
	border-radius: 4px;
	width: 120px;
}
.post-form-table select:hover {
	background-color: #ffe;
	border: 1px solid #842;
}
.post-form-table input {
	background-color: #fff;
}
#id_title, #id_subtitle, #id_image, #id_video, #id_head {
	min-width: 480px;
}
#id_text {
	background-color: #fff;
	min-width: 480px;
	min-height: 150px;
	field-sizing: content;
	resize: both;
}
.post-form-button {
	margin-left: 4px;
	text-align: left;
}
.post-form-button button {
	background-color: #003;
	color: #fff;
	border: 1px solid #003;
	border-radius: 4px;
	padding: 0px 6px 0px 6px;
	transition: all 0.3s;
}
.post-form-button button:hover {
	background-color: #fff;
	color: #003;
	border: 1px solid #003;
}
.post-form-button a {
	text-decoration: none;
	background-color: #003;
	color: #fff;
	padding: 0px 0px 0px 0px;
	border: 1px solid #003;
	border-radius: 4px;
	font-size: 1rem;
}
.post-form-button a:hover {
	background-color: #fff;
	color: #003;
	border: 1px solid #003;
}

/* カテゴリ */
.post-unit .category {
	color: #55a;
	font-size: x-small;
	text-align: right;
	margin-right: 10px;
}
.post-unit .category .icon {
	float: right;
	border: 0;
	width: 32px;
	height: 32px;
}
/* サブタイトル */
.post-unit .subtitle {
	color: #444;
	font-size: small;
	line-height: 110%;
	padding-left: 0.2em;
	margin: 2px 0 2px 4px;
	border-left: 0.7em solid #aaa;
}
/* 記事本文 */
.blog-content {
	margin-top: 2px;
	margin-bottom: 10px;
	line-height: 1.4;
	font-size: 1rem;
	display: flex;
	justify-content: flex-start;
}
.blog-content a {
	color: #000;
	text-decoration: none;
}
.blog-content a:hover {
	background-color: wheat;
	border-radius: 5px;
}
.blog-content img {
	margin: 0px;
	padding: 4px;
	max-width: 300px;
	height: auto;
	border-radius: 4px;
}
.blog-content img:hover {
	background-color: wheat;
	border-radius: 4px;
}
.blog-content-head {
	font-size: 1.2rem;
	margin-bottom: 8px;
}
.blog-content-html {
	margin-left: 10px;
}
.blog-content-html a {
	color: #008;
	text-decoration: underline;
}
.blog-content-text {
	margin-left: 10px;
}
/* フッター */
.blog-content-footer {
	border: 1px solid #aaa;
	border-style: none none solid none;
	margin-bottom: 8px;
}
/* イメージ */
.post-unit img {
	float: left;
	padding: 10 10 10 10;
}
.post-unit pre {
	background: #f4f4fa;
	color: #000;
	font-family: "VL Gothic","courier new",courier,"Osaka 等幅",sans-serif;
	font-size: small;
	line-height: 110%;
	margin: 1em 1em 1em 1em;
	padding: 0.5em 0.5em 0.5em 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: #8a8;
	width: 88%;
	overflow: auto;
}
/************/
/* コメント */
/************/
.post-comment {
	margin: 10px 0px 20px 10px;
}
.comment-header {
	background-color: #f4f4f0;
}
.comment-icon {
	font-family: "Yu Gothic UI", "Segoe UI Emoji", "Noto Color Emoji", san-selif;
}
.comment-name {
	margin-left: 4px;
	font-size: 1rem;
	font-weight: bold;
}
.comment-hash {
	margin-left: -4px;
	font-size: 0.8rem;
	font-style: italic;
}
.comment-date {
	margin-left: 2px;
	font-family: san-selif;
	font-size: 0.8rem;
}
.comment-owner {
}
.comment-content {
	margin: 0px 10px 0px 0px;
}
.comment-content img {
	width: 200px;
	height: auto;
	margin: 2px 10px 30px 2px;
}
.comment-content p {
}
.comment-approving-content {
	margin: 0px 10px 0px 0px;
	font-size: 0.8rem;
	color: #666;
}

