@charset "utf-8";

/********** 1 共通 **********/

#main_body div.detail_table_center {
	clear: both;
	width: 100%;
	margin: 0px 0px 15px;
	padding: 0px;
}
#main_body div.detail_writing {
	clear: both;
	width: 100%;
	margin: 0px 0px 15px;
	padding: 0px;
}
#main_body div.detail_map {
	clear: both;
	width: 100%;
	margin: 0px 0px 15px;
	padding: 0px;
}
#main_body div.detail_free {
	clear: both;
	width: 100%;
	margin: 0px 0px 15px;
	padding: 0px;
}
#main_body div.detail_image_normal {
	clear: both;
	width: 100%;
	margin: 0px 0px 15px;
	padding: 0px;
}
#main_body div.detail_image_left {
	text-align: left;
	margin: 15px 0px;
	padding: 0px;
}
#main_body div.detail_image_center {
	text-align: center;
	margin: 15px 0px;
	padding: 0px;
}
#main_body div.detail_image_right {
	text-align: right;
	margin: 15px 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: 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/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%;
}

/* アンカーリンク */
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;
}

/* プレビュー編集モード調整用 */
.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[class^="detail_"] p,
#main_body .detail_writing {
	line-height: 1.867em;
}


/* お問い合わせ先 */
#section_footer {
	clear: both;
	background: #dfeef6;
	margin: 30px 0px 0px;
}
#section_footer h2,
#main_body #section_footer h2 {
	margin: 0px;
	padding: 15px 20px;
	background: #bfddef;
	border: none;
	font-size: 1.6rem;
}
#section_footer_detail {
	padding: 20px 20px 20px;
}
#section_footer_detail span {
	display: inline-block;
	margin-right: 1em;
}

#section_footer_detail div.sf_email {
	margin-top: 10px;
}

/* 評価エリア */
#hyouka_area_box {
	clear: both;
	background: #e4e4e4;
	margin: 30px 0px 0px;
	font-size: 1.4rem;
}
#hyouka_area_box .system_box {
	margin: 0;
	padding: 0;
}
#hyouka_area_box .system_box h2,
#main_body #hyouka_area_box .system_box h2 {
	margin: 0px;
	padding: 20px;
	background: #d8d8d8;
	border: none;
	font-size: 2.2rem;
}

.hyouka_box{
	padding: 20px;
}

.hyouka_box_detail {
	border-bottom: 1px solid #666666;
	margin-bottom: 10px;
}
.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 10px;
	padding: 0px;
	width: 100%;
}
.hyouka_box_detail  span {
	display: inline-block;
	margin: 0px 5px 5px 0px;
}
.hyouka_box_detail  span input {
	margin: 4px;
	vertical-align: middle;
}
.hyouka_box_detail span input:focus + label{
	text-decoration: underline;
}

.hyouka_area_ans textarea {
	max-width: 100%;
	padding: 10px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

#hyouka_area_submit {
	padding: 0 0 20px;
	text-align: center;
}
#hyouka_area_submit input {
	display: inline-block;
	min-width: 25%;
	background: none transparent;
	color: currentColor;
	line-height: 1em;
	margin: 0px;
	padding: 10px;
	text-align: center;
	border: 2px solid #494949;
}
#hyouka_area_submit input:hover {
	background: #f5f5f5;
}
/* 評価エリアここまで */


/* おすすめコンテンツ */
#detail_side_osusume {
	background: #dfeef6;
}
#detail_side_osusume h2 {
	margin: 0px;
	padding: 15px;
	font-size: 1.8rem;
	font-weight: bold;
}
#detail_side_osusume ul {
	margin: 0px;
	padding: 10px 15px;
	list-style: none;
}
#detail_side_osusume ul li {
	/* border-bottom: 1px solid #cccccc; */
	padding: 4px 0px;
}
#detail_side_osusume ul li:last-child {
	border-bottom: none;
}
#detail_side_osusume ul li div {
	width: 100%;
	display: table;
}
#detail_side_osusume ul li div > span {
	display: table-cell;
	vertical-align: top;
}
#detail_side_osusume ul li div > span.osusume_img {
	width: 68px;
	height: 68px;
	overflow: hidden;
}
#detail_side_osusume ul li div > span.osusume_img img {
	width: 100%;
	height: auto;
}
#detail_side_osusume ul li div > span.osusume_link {
	padding-left: 10px;
}

/* カウントダウン */
#count_down_area {
	width: 98%;
	max-width: 1100px;
	margin: 0px auto;
	padding: 20px 0px 0px;
	text-align: right;
}
#count_down_area  > div {
	display: inline-block;
	vertical-align: middle;
	margin: 0px 0px 5px 20px;
	padding: 3px 30px 3px 0px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	text-align: right;
	position: relative;
}

.detail_countdown .dcd_box .dcd_title {
	display: inline-block;
	vertical-align: top;
	background: #cc0000;
	color: #ffffff;
	font-size: 1.3rem;
	line-height: 1.6rem;
	letter-spacing: 2px;
	font-weight: normal;
	padding: 2px 8px;
	margin-right: 10px;
	position: relative;
}
.detail_countdown .dcd_box .dcd_title:before {
	content: '';
	width: 0px;
	height: 0px;
	border: 6px solid transparent;
	border-right-width: 3px;
	border-left-color: #cc0000;
	position: absolute;
	top: 50%;
	right: -9px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.detail_countdown .dcd_box .dcd_count {
	font-weight: bold;
	color: #cc0000;
	margin-left: 20px;
	margin-right: 10px;
	position: relative;
}
.detail_countdown .dcd_box .dcd_count:before {
	content: '';
	display: block;
	width: 3px;
	height: 1.4em;
	border: 1px solid #cc0000;
	border-right: none;
	position: absolute;
	left: -10px;
	top: 45%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.detail_countdown .dcd_box .dcd_count:after {
	content: '';
	display: block;
	width: 3px;
	height: 1.4em;
	border: 1px solid #cc0000;
	border-left: none;
	position: absolute;
	right: -10px;
	top: 45%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.detail_countdown .dcd_box .dcd_count span {
	margin-left: 0.3em;
	margin-right: 0.3em;
}

.detail_countdown button.clear_cd {
	display: block;
	width: 22px;
	height: 22px;
	margin: 0px;
	padding: 0px;
	border: none;
	background: url(/img/common/icon_keep_clear.png) no-repeat center center #333333;
	background-size: 10px 10px;
	color: #ffffff;
	line-height: 1;
	border-radius: 100%;
	cursor: pointer;
	position: absolute;
	top: 4px;
	right: 0px;
}
.detail_countdown button.clear_cd:hover {
	opacity: 0.8;
}


/* タブレット */
@media screen and (max-width : 1099px){
	#main_body div[class*="detail"] img{
		max-width: 100%;
		height: auto !important;
	}
}
/* タブレットここまで */