@charset "utf-8";
/*
 * 記事本文の見た目。投稿の編集画面と記事ページの両方で、このファイルだけで決める。
 *   - 編集画面(クラシックエディタのビジュアル): TinyMCE の body に「content post-type-post」が付く(投稿の編集画面だけ)
 *   - 記事ページ: index.php の本文の枠 <div class="text content post-type-post">
 * 表示側ではブログの画面だけで、common.css の後に読む(functions.php)。
 * 表示側の body には post-type-post は付かないので、ページ全体には効かない。
 */

/* 本文の枠: 幅 504px、文字は 13px・#333 */
.content.post-type-post {
	max-width: 504px;
	color: #333333;
	/* base.css の指定のうち、実際に効いているフォント(和文名は base.css の文字コードのせいで効いていない) */
	font-family: "MS PGothic", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
	font-size: 13px;
	line-height: 1.7;
	/* 編集画面の既定(antialiased !important)を打ち消す */
	-webkit-font-smoothing: auto !important;
}
.content.post-type-post::after {
	content: "";
	display: block;
	clear: both;
}

/*
 * 余白はいったん全部 0(base.css の * と同じ)。
 * :where() で強さを 0 にして、下の要素ごとの指定(blockquote・pre など)に勝たないようにする。
 */
:where(.content.post-type-post) * {
	margin: 0;
	padding: 0;
	font-style: normal;
}
/* 中の文字は全部 13px */
.content.post-type-post * {
	font-size: 13px;
}

.content.post-type-post p,
.content.post-type-post li,
.content.post-type-post dt,
.content.post-type-post dd,
.content.post-type-post address {
	line-height: 1.4;
}

.content.post-type-post p {
	margin: 15px 10px;
	text-align: justify;
	text-justify: inter-ideograph;
}
.content.post-type-post ul,
.content.post-type-post ol {
	margin: 15px 30px;
}

/* 見出し(緑の帯は記事タイトルの h3.diary-title だけ。common.css) */
.content.post-type-post h3,
.content.post-type-post h4 {
	margin: 10px;
}

/* em は太字 */
.content.post-type-post em {
	font-weight: bold;
}

/* 引用 */
.content.post-type-post blockquote {
	margin: 10px;
	border-left: 2px solid #7777AA;
}
.content.post-type-post blockquote p {
	color: #999999;
}

/* 整形済みテキスト・コード */
.content.post-type-post pre {
	width: 430px;
	font-family: monospace; /* 編集画面の既定(Consolas)を打ち消す */
	margin: 10px;
	padding: 5px;
	border: 1px solid #EEEEEE;
	overflow: auto;
}
.content.post-type-post code,
.content.post-type-post var,
.content.post-type-post kbd {
	color: #000080;
	font-family: 'ＭＳ ゴシック', monospace;
	line-height: 1.2;
	/* 編集画面の既定(.mce-content-body code の背景・余白)を打ち消す */
	padding: 0;
	border-radius: 0;
	background: none;
}

/* リンク: 段落の中は下線あり。ホバーは common.css の a:hover と同じ */
.content.post-type-post a {
	color: #333333;
	text-decoration: none;
}
.content.post-type-post p a {
	text-decoration: underline;
}
.content.post-type-post a:hover,
.content.post-type-post a:active {
	color: #FFaa00;
	text-decoration: underline;
}

/* 表 */
.content.post-type-post table {
	margin-bottom: 10px;
	border: 1px solid #666680;
	border-collapse: collapse;
}
.content.post-type-post th {
	padding: 5px;
	border: 1px solid #AAAAAA;
	background-color: #EEEEEE;
	text-align: center;
}
.content.post-type-post td {
	padding: 5px;
	border: 1px solid #AAAAAA;
}

/* 画像 */
.content.post-type-post img {
	border: 0;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
	margin: 0 7px 7px 0;
}
.content.post-type-post .alignleft {
	float: left;
	margin: 0 15px 10px 0;
}
.content.post-type-post .alignright {
	float: right;
	margin: 0 0 10px 15px;
}
.content.post-type-post .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* 区切り線は出さない(base.css と同じ) */
.content.post-type-post hr {
	display: none;
}
