@charset "utf-8";

/********** 1 共通 **********/

#main_body div[class^="detail_"] {
	clear: both;
	width: 100%;
	margin: 0px 0px 20px;
	padding: 0px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#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: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_image_center {
	text-align: center;
	margin: 0px 0px 20px;
	padding: 0px;
}
#main_body div.detail_image_right {
	text-align: right;
	margin: 0px 0px 20px;
	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: 15px 0px;
}
hr.hr_2 {
	clear: both;
	height: 1px;
	border-top: 1px solid #333333;
	border-right: none;
	border-bottom: none;
	border-left: none;
	margin: 15px 0px;
}
hr.hr_3 {
	clear: both;
	height: 1px;
	border-top: 1px solid #ff0000;
	border-right: none;
	border-bottom: none;
	border-left: none;
	margin: 15px 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/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;
}

/* 画像サイズ */
#main_body div[class*="detail"] img {
	max-width: 100%;
/*	height: auto !important;
	vertical-align: top;*/
}

/* iframeの最大サイズ */
#main_body iframe {
	max-width: 100%;
}

/* iframeレスポンシブ対応 */
/*
#main_body div.detail_movie {
	position: relative;
	padding-top: 30px;
	padding-bottom: 56.25%;
	height: 0px;
	overflow: hidden;
}
#main_body div.detail_movie iframe {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 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 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_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 個別設定 **********/

#main_body .detail_free p,
#main_body .detail_writing {
	line-height: 1.8;
}

/* 評価エリア */
#hyouka_area_box {
	clear: both;
	background: #f6f6f6;
	border-radius: 10px;
	margin: 30px 0px 0px;
	padding: 20px 30px;
}
#hyouka_area_box h2,
#main_body #hyouka_area_box h2 {
	margin: 0px 0px 10px;
	padding: 0px;
	background: none;
	border: none;
	font-size: 1.6rem;
}
#main_body #hyouka_area_box hr.cf {
	margin: 0px;
}

.hyouka_box_detail {
	border-bottom: 1px solid #dddddd;
	margin-bottom: 10px;
	padding-bottom: 10px;
	font-size: 1.4rem;
}
.hyouka_box_detail:last-child {
	border-bottom: none;
	margin-bottom: 0px;
}
.hyouka_box_detail fieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}
.hyouka_box_detail fieldset legend {
	margin: 0px 0px 5px;
	padding: 0px;
	width: 100%;
}
.hyouka_box_detail span {
	display: inline-block;
	vertical-align: top;
	margin: 0px 4em 0px 0px;
}
.hyouka_box_detail span input {
	margin: 3px 4px 5px 5px;
	vertical-align: middle;
}

#hyouka_area_submit {
	margin-top: 10px;
	text-align: center;
}
#hyouka_area_submit input {
	display: inline-block;
	border: none;
	background: #fff;
	margin: 0px;
	padding: 5px 0px;
	font-size: 1.4rem;
	text-align: center;
	width: 260px;
	max-width: 90%;
}

/* お問い合わせ先 */
#section_footer {
	clear: both;
	background: #f6f6f6;
	border-radius: 10px;
	margin: 30px 0px 0px;
	padding: 20px 30px;
}
#section_footer h2,
#main_body #section_footer h2 {
	margin: 0px 0px 10px;
	padding: 0px;
	background: none;
	border: none;
	font-size: 1.6rem;
}
#main_body #section_footer hr.cf {
	margin: 0px;
}

#section_footer_detail span {
	display: inline-block;
	vertical-align: top;
	margin-right: 1em;
}
#section_footer_detail .sf_name_wrap {
	margin-bottom: 10px;
}

/* 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;
}

/* コンテンツフッタ */
#content_footer {
	clear: both;
}

/* カレンダー登録 */
#calendar_button_google,
#calendar_button_yahoo {
	display: inline-block;
	vertical-align: top;
	margin: 30px 30px 0px 0px;
}
#calendar_button_google a,
#calendar_button_yahoo a {
	display: inline-block;
	font-size: 1.5rem;
	padding: 4px 0px 4px 35px;
	background: url(/img/nw-common/icon_calendar.png) no-repeat left center transparent;
}

/* おすすめコンテンツ */
#osusume_contents_area {
	clear: both;
}
#second_osusume {
	background: #f6f6f6;
	margin: 30px 0px 0px;
	padding: 20px 25px 10px;
}
#second_osusume h2 {
	margin: 0px 5px 10px;
	padding: 0px 0px 0px 25px;
	background: url(/img/common/icon_osusume.png) no-repeat left center;
	border: none;
	font-size: 1.6rem;
}
#second_osusume ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
#second_osusume ul li {
	display: inline-block;
	vertical-align: top;
	width: 200px;
	margin: 10px 15px;
}
#second_osusume ul li div > span {
	display: block;
}
#second_osusume ul li div > span.osusume_img {
	margin-bottom: 10px;
}
#second_osusume ul li div > span.osusume_img img {
	width: 100%;
	height: auto;
}

/* カウントダウン */
.count_down_box {
	background: #f6f6f6;
	margin: 0px 0px 10px;
	padding: 20px;
}
.count_down_box:last-child {
	margin-bottom: 0px;
}

.count_down_box2 {
	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: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
.count_down_box2 > span {
	display: inline-block;
	vertical-align: top;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.count_down_box2 > span.count_img {
	width: 100px;
}
.count_down_box2 > span.count_img > span {
	display: block;
}
.count_down_box2 > span.count_img > span img {
	width: 100%;
	height: auto;
}

.count_down_box2 > span.count_txt {
	width: calc(100% - 110px);
}
.count_down_box2 > span.count_txt:only-child {
	width: 100%;
}
.count_down_box2 > span.count_txt > span {
	display: block;
}
.count_down_box2 > span.count_txt > span.count_comment {
	margin-top: 10px;
	font-size: 1.4rem;
}
.count_down_box2 > span.count_txt > span.count_day {
	margin-top: 10px;
	color: #c00;
	text-align: right;
}
.count_down_box2 > span.count_txt > span.count_day span {
	font-size: 2rem;
	font-weight: bold;
	margin-left: 1em;
}

.count_down_clear {
	display: block;
	width: 20px;
	height: 20px;
	margin: 10px 0px 0px auto;
	padding: 0px;
	border: none;
	background: url(/img/common/icon_clear.png) no-repeat center center #333;
	background-size: 10px 10px;
	border-radius: 100%;
	color: #fff;
	line-height: 1;
	text-align: left;
	text-indent: -9999em;
	overflow: hidden;
	cursor: pointer;
}
/* クリアボタンを使用しない */
.count_down_clear {
	display: none;
}

/* 関連リンク */
#kanren_link h2 {
	background: #e6e6e6;
	margin: 0px;
	padding: 14px 20px;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
}
#kanren_link ul {
	margin: 0px;
	padding: 10px 0px 10px 20px;
}
#kanren_link ul li {
	margin-bottom: 10px;
}
#kanren_link ul li:last-child {
	margin-bottom: 0px;
}

/********** 4 特別対応 **********/

/* 関連リンク 専用ページ */
#main_body #kanrenlinklist ul,
#main_body.detail_box #kanrenlinklist ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
#main_body #kanrenlinklist ul li,
#main_body.detail_box #kanrenlinklist ul li {
	display: inline-block;
	vertical-align: top;
	width: calc(50% - 20px);
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin-right: 20px;
	background: url(/img/nw-common/icon_arrow_footer.png) no-repeat left center transparent;
	padding: 3px 0px 3px 20px;
}

/* RSS配信一覧 専用ページ */
#main_body #list_rss_wrap div[class*="detail"] img {
	margin: 0px 10px;
	vertical-align: middle;
}



/* タブレット */
@media screen and (max-width: 1119px) {

	/* 画像サイズ */
	#main_body div[class*="detail"] img {
		max-width: 100%;
		height: auto !important;
		vertical-align: top;
	}

	/* 評価エリア */
	.hyouka_box_detail span {
		margin-right: 2em;
	}

	/* おすすめコンテンツ */
	#second_osusume ul li {
		width: calc(33% - 20px);
		margin-left: 10px;
		margin-right: 10px;
	}

}
/* タブレット ここまで */