@charset "utf-8";

/********** 1 共通 **********/

#main_body div.detail_table_center {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_writing {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_map {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_movie {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_free {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_image_normal {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_image_left {
	text-align: left;
	margin: 20px 0px;
	padding: 0px;
}
#main_body div.detail_image_center {
	text-align: center;
	margin: 20px 0px;
	padding: 0px;
}
#main_body div.detail_image_right {
	text-align: right;
	margin: 20px 0px;
	padding: 0px;
}

#main_body div.detail_h2 {
	clear: both;
	width: 100%;
}
#main_body div.detail_h3 {
	clear: both;
	width: 100%;
}

hr.hr_1 {
	clear: both;
	height: 1px;
	border-top: 2px dotted #999999;
	border-right: none;
	border-bottom: none;
	border-left: none;
	margin: 20px 0px;
}
hr.hr_2 {
	clear: both;
	height: 1px;
	border-top: 1px solid #333333;
	border-right: none;
	border-bottom: none;
	border-left: none;
	margin: 20px 0px;
}
hr.hr_3 {
	clear: both;
	height: 1px;
	border-top: 1px solid #ff0000;
	border-right: none;
	border-bottom: none;
	border-left: none;
	margin: 20px 0px;
}

/* リンク */
.detail_link {
	margin: 1em 0px;
}

.link_l {
	margin: 1em 0px;
}

.detail_free .external_link_text,
.link_l .external_link_text {
	display: inline;
}

/* 画像 */
.detail_img_left {
	text-align: left;
}
.detail_img_center {
	text-align: center;
}
.detail_img_right {
	text-align: right;
}

/* 添付ファイル */
.detail_file {
	margin: 1em 0px;
}

div[class^="detail_"] a[href^="/uploaded/attachment/"]: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;
}
div[class^="detail_"] a[href$=".csv"]:before,
div[class^="detail_"] a[href$=".CSV"]:before,
div[class^="file_"] a[href$=".csv"]:before,
div[class^="file_"] a[href$=".CSV"]:before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	background: url(/img/common/file/icon_csv.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;
}

/* 画像サイズ */
/*
#main_body div[class*="detail"] img {
	max-width: 100%;
	height: auto !important;
	vertical-align: top;
}
*/

/* iframeの最大サイズ */
#main_body iframe {
	max-width: 100%;
}

/* 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;
}

/* ワープロライクのフロート対応 */
div[class^="detail_"]:before,
div[class^="detail_"]:after {
	content: "";
	display: table;
}
div[class^="detail_"]:after {
	clear: both;
}
div[class^="detail_"] {
	zoom: 1;
}

#main_body hr.cf {
	border: none;
	margin: 20px 0px 0px;
}
#main_body hr.cf + h2, #main_body hr.cf + h3, #main_body hr.cf + h4, #main_body hr.cf + h5, #main_body hr.cf + h6 {
	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_free.detail_teikei_text p:first-child {
	margin-top: 0;
}
.detail_teikei {
	display: table;
	width: 100%;
}

.detail_teikei_column {
	display: table-row;
}

.detail_teikei_column > div {
	display: table-cell;
	vertical-align: top;
	padding: 0 0 20px;
}

#main_body .detail_teikei .detail_teikei_img img {
	max-width: none;
}

#main_body .detail_teikei_column > div.detail_teikei_img + div.detail_teikei_text {
	padding-left: 20px;
}
#main_body .detail_teikei_column > div.detail_teikei_text:first-child {
	padding-right: 20px;
}
/* 共通ここまで */

/* パターン1 */
.detail_teikei1 .detail_teikei_img {
	text-align: center;
	margin: 20px 0;
}
#main_body div.detail_teikei1 .detail_teikei_img  img {
	max-width: 100%;
}
/* パターン1ここまで */

/* パターン2 */
#main_body div.detail_teikei2 .detail_teikei_img  img {
	max-width: 700px;
}
/* パターン2ここまで */

/* パターン3 */
#main_body div.detail_teikei3 .detail_teikei_img  img {
	max-width: 700px;
}
/* パターン3ここまで */


/********** 3 個別設定 **********/

/* 記事ヘッダ */
#content_header {
	text-align: right;
	margin-bottom: 20px;
}
#content_header > span {
	display: inline-block;
	vertical-align: top;
	margin-left: 1em;
}
#content_header > span:first-child {
	margin-left: 0px;
}

#print_mode_link,
#print_mode_link_large {
	display: inline-block;
	background: url(/img/common/icon_print.png) no-repeat left center;
	padding-left: 25px;
}

/* 記事フッタ */
#content_footer {
	clear: both;
}

#calendar_button_google,
#calendar_button_yahoo {
	display: inline-block;
	vertical-align: top;
	margin: 15px 20px 0px 0px;
}

.sns_button_wrap {
	margin-top: 20px;
}
.sns_button_wrap > div {
	display: inline-block;
	vertical-align: top;
}

/* PDF・WMPリンク */
.pdf_download,
.wmplayer_download {
	clear: both;
	margin: 30px 0px 0px;
	width: 100%;
	display: table;
}
.pdf_download .pdf_img,
.wmplayer_download .wmplayer_img {
	display: table-cell;
	vertical-align: top;
	width: 158px;
	margin: 0px;
	padding: 0px;
}
.pdf_download .pdf_img img,
.wmplayer_download .wmplayer_img img {
	width: 100%;
	height: auto;
}

.tenpu_txt {
	display: table-cell;
	vertical-align: top;
	margin: 0px;
	padding: 3px 0px 0px 10px;
	font-size: 1.3rem;
	line-height: 1.4;
}
.tenpu_txt br {
	display: none;
}

/* お問い合わせ先 */
#section_footer {
	clear: both;
	margin: 30px 0px 0px;
	padding: 20px 80px 20px 30px;
	background: url(/img/common/bg_section_footer.png) no-repeat right 20px bottom 20px #f6f6f6;
}
#section_footer h2,
#main_body #section_footer h2 {
	margin: 0px 0px 10px;
	padding: 0px;
	border: none;
	background: none;
	font-size: 1.6rem;
}
#section_footer_detail > span {
	display: inline-block;
	vertical-align: top;
	margin-right: 1em;
}

/* 評価エリア */
#hyouka_area_box {
	clear: both;
	margin: 30px 0px 0px;
	padding: 30px;
	background: #f6f6f6;
}
#hyouka_area_box .system_box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
}
#hyouka_area_box .system_box h2,
#main_body #hyouka_area_box .system_box h2 {
	display: inline-block;
	vertical-align: top;
	width: 150px;
	margin: 0px;
	padding: 0px;
	border: none;
	background: none;
	font-size: 1.6rem;
}
#hyouka_area_box .system_box h2 span {
	display: inline-block;
	background: url(/img/common/icon_ttl_hyoka.png) no-repeat center top;
	padding-top: 30px;
	text-align: center;
}
#hyouka_area_box .system_box .system_box_waku {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 170px);
	border-left: 1px solid #dddddd;
	padding-left: 30px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

#hyouka_area_box .hyouka_box_detail {
	font-size: 1.5rem;
	margin-bottom: 1em;
}
#hyouka_area_box .hyouka_box_detail fieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}
#hyouka_area_box .hyouka_box_detail fieldset legend {
	display: block;
	width: 100%;
	color: inherit;
	margin-bottom: 0.5em;
}
#hyouka_area_box .hyouka_box_detail fieldset span {
	display: inline-block;
	vertical-align: top;
	margin-right: 1em;
}
#hyouka_area_box .hyouka_box_detail fieldset span input {
	margin: 4px 4px 0px 0px;
	vertical-align: top;
}

#hyouka_area_submit input[type="submit"] {
	display: inline-block;
	border: none;
	background: #fff;
	color: #000;
	font-size: 1.5rem;
	line-height: 2rem;
	text-decoration: none;
	margin: 0px;
	padding: 5px 20px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	min-width: 260px;
}
#hyouka_area_submit input[type="submit"]:hover {
	text-decoration: underline;
}

/* 重要なお知らせ */
#detail_side_important {
	border: 5px solid #e30013;
	padding: 15px 15px 10px;
	text-align: center;
}

#detail_side_important_ttl {
	display: inline-block;
	margin: 0px;
	padding: 0px;
	color: #c00;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.4;
}

#detail_side_important_list {
	margin: 0px;
	padding: 10px 0px 0px;
	list-style: none;
	text-align: left;
}
#detail_side_important_list li {
	display: block;
	padding: 3px 0px;
}
#detail_side_important_list li > span {
	display: block;
}
#detail_side_important_list li a {
	color: #c00;
}

/* おすすめコンテンツ */
#osusume_contents_area {
	clear: both;
}
#detail_side_osusume {
	background: #fae7f4;
	padding: 20px 20px 10px;
	text-align: center;
}

#detail_side_osusume_ttl {
	display: inline-block;
	margin: 0px 0px 10px;
	padding: 5px 0px 5px 30px;
	background: url(/img/common/icon_ttl_osusume.png) no-repeat left center;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 2rem;
}

#detail_side_osusume_list {
	margin: 0px;
	padding: 10px 0px 0px;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
#detail_side_osusume_list li {
	display: inline-block;
	vertical-align: top;
	width: 210px;
	margin-bottom: 20px;
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
}
#detail_side_osusume_list li .osusume_img {
	display: block;
	margin-bottom: 5px;
}
#detail_side_osusume_list li .osusume_img img {
	width: 100%;
	height: auto;
}
#detail_side_osusume_list li .osusume_link {
	display: block;
}

/* おすすめコンテンツ（メイン） */
#main #detail_side_osusume {
	margin-top: 30px;
	text-align: left;
}


/* タブレット */
@media screen and (max-width : 1079px) {

	/* 画像サイズ */
	#main_body div[class*="detail"] img {
		max-width: 100%;
		height: auto !important;
		vertical-align: top;
	}

	/* 評価エリア */
	#hyouka_area_box {
		padding-top: 20px;
	}
	#hyouka_area_box .system_box {
		display: block;
	}
	#hyouka_area_box .system_box h2,
	#main_body #hyouka_area_box .system_box h2 {
		display: block;
		width: auto;
	}
	#hyouka_area_box .system_box h2 span {
		display: block;
		background-position: left center;
		padding: 10px 0px 10px 35px;
		text-align: left;
	}
	#hyouka_area_box .system_box h2 span br {
		display: none;
	}
	#hyouka_area_box .system_box .system_box_waku {
		display: block;
		border-left: none;
		width: auto;
		padding: 20px 0px 0px;
	}

	/* おすすめコンテンツ */
	#detail_side_osusume_list li {
		max-width: 100%;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
	}

}
/* タブレット ここまで */