@charset "utf-8";

/********** 1 共通 **********/

/* 記事本文の行間 */
#main_body .detail_free :where(p,ul,ol),
#main_body .detail_writing {
	line-height: var(--lineheight-detail, 1.75);
}

/* カスタム登録 */
#main_body div[class*="detail_"] {
	clear: both;
	display: flow-root;
	width: 100%;
	margin: 0px 0px var(--content-margin-narrow, 30px);
	padding: 0px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#main_body div.detail_table_center {}
#main_body div.detail_writing {}
#main_body div.detail_map {}
#main_body div.detail_movie {}
#main_body div.detail_free {}
#main_body div.detail_image_normal {}
#main_body div.detail_image_left {
	text-align: left;
}
#main_body div.detail_image_center {
	text-align: center;
}
#main_body div.detail_image_right {
	text-align: right;
}

hr[class*="hr_"] {
	clear: both;
	height: 1px;
	border: none;
	margin: 1em 0px;
}
hr.hr_1 {
	border-top: 2px dotted #999999;
}
hr.hr_2 {
	border-top: 1px solid #333333;
}
hr.hr_3 {
	border-top: 1px solid #ff0000;
}

/* リンク */
.detail_link,
.link_l {
	margin: 1em 0px;
}

/* 外部リンク */
.detail_free .external_link_text,
.link_l .external_link_text {
	display: inline;
}

/* 添付ファイル */
.detail_file {
	margin: 1em 0px;
}

div[class^="detail_"] a[href*="/uploaded/attachment/"]::before,
div[class^="file_"] a[href*="/uploaded/attachment/"]::before,
div[class^="detail_"] a[href*="/uploaded/life/"]::before,
div[class^="file_"] a[href*="/uploaded/life/"]::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url("/img/common/file/icon_etc.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}
div[class^="detail_"] a[href$=".pdf"]::before,
div[class^="detail_"] a[href$=".PDF"]::before,
div[class^="file_"] a[href$=".pdf"]::before,
div[class^="file_"] a[href$=".PDF"]::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url("/img/common/file/icon_pdf.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}
div[class^="detail_"] a[href$=".xls"]::before,
div[class^="detail_"] a[href$=".XLS"]::before,
div[class^="file_"] a[href$=".xls"]::before,
div[class^="file_"] a[href$=".XLS"]::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url("/img/common/file/icon_xls.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}
div[class^="detail_"] a[href$=".xlsx"]::before,
div[class^="detail_"] a[href$=".XLSX"]::before,
div[class^="file_"] a[href$=".xlsx"]::before,
div[class^="file_"] a[href$=".XLSX"]::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url("/img/common/file/icon_xlsx.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}
div[class^="detail_"] a[href$=".doc"]::before,
div[class^="detail_"] a[href$=".DOC"]::before,
div[class^="file_"] a[href$=".doc"]::before,
div[class^="file_"] a[href$=".DOC"]::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url("/img/common/file/icon_doc.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}
div[class^="detail_"] a[href$=".docx"]::before,
div[class^="detail_"] a[href$=".DOCX"]::before,
div[class^="file_"] a[href$=".docx"]::before,
div[class^="file_"] a[href$=".DOCX"]::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url("/img/common/file/icon_docx.png") no-repeat center center;
	background-size: contain;
	margin-right: 10px;
}

.file_pdf, .file_pdf2, .file_excel, .file_word, .file_etc {
	margin: 1em 0px;
}

/* 移行時に紛れ込んだ見出しの中のspace.gifを消す */
#main_body div[class*="detail_"] img[src*="space.gif"] {
	display: none !important;
}

/* 画像 */
.detail_img_left {
	text-align: left;
}
.detail_img_center {
	text-align: center;
}
.detail_img_right {
	text-align: right;
}

/* 画像サイズ */
/*
#main_body div[class*="detail"] img {
	max-width: 100%;
	height: auto !important;
	vertical-align: top;
}
*/

/* iframeレスポンシブ対応 */
#main_body iframe {
	max-width: 100%;
}
/* ※javascriptでiframeに対してwidthとheightの値をaspect-ratioとして適用している */
/* ※aspect-ratioを有効にする場合はheight: auto;を指定する（影響範囲に注意） */
/*
#main_body iframe {
	height: auto;
}
*/

/* preタグ */
div[class*="detail_"] pre {
	white-space: pre-wrap;
	word-break: break-word;
	font-family: monospace, sans-serif;
}

/* アンカーリンク */
div[class*="detail_"] a:not([href]) {
	display: inline-block;
	text-decoration: none !important;
	max-width: 100%;
}
div[class*="detail_"] a:not([href]):empty {
	display: block;
}
div[class*="detail_"] a:not([href]):hover {
	color: inherit;
}

/* ワープロライクのフロート対応 */
#main_body div[class*="detail_"] hr.cf {
	border: none;
	margin: 0px;
}
#main_body div[class*="detail_"] hr.cf:first-child + h2,
#main_body div[class*="detail_"] span[id^="sp_headline"]:first-child + hr.cf + h2 {
	margin-top: 0px;
}

/* プレビュー編集モード調整用 */
.preview_body .detail_free ul,
.preview_body .detail_free ol {
	margin: 1em 0px !important;
	padding-left: 40px;
}

.status_bar div {
	font-size: 2rem !important;
}

.sticky #keep_page,
.sticky #osusume_banner {
	display: none;
}

/********** 2 定型登録 **********/

/* 共通 */
#main_body div.detail_teikei img {
	max-width: 100%;
	height: auto !important;
	vertical-align: top;
}

#main_body div.detail_teikei_column {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
#main_body div.detail_teikei_column div.box_left,
#main_body div.detail_teikei_column div.box_right {
	width: calc(50% - 20px);
}

/* パターン1 */

/* パターン2 */

/* パターン3 */


/* ==================================================
スマートフォン
================================================== */
@media (max-width: 1100px) {

	/********** 1 共通 **********/

	/* 画像サイズ */
	#main_body div[class*="detail"] img {
		max-width: 100%;
		height: auto !important;
		vertical-align: top;
	}

	/********** 2 定型登録 **********/

	/* 共通 */
	#main_body div.detail_teikei_column {
		display: block;
	}
	#main_body div.detail_teikei_column div.box_left,
	#main_body div.detail_teikei_column div.box_right {
		width: 100%;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */