@charset "utf-8";

/* iOSでのボタンデザインをリセット */
button,
input[type="button"],
input[type="submit"] {
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none;
	border-radius: 0;
	cursor: pointer;
	color: inherit;
	font-weight: normal;
	font-style: normal;
}

/* 隠す */
.hide {
	display: block;
	width: 0px;
	height: 0px;
	margin: 0px;
	padding: 0px;
	clip: rect(0,0,0,0);
	overflow: hidden;
}
hr.hide {
	border: none;
}

/* 本文へリンク */
.link_skip.hide {
	width: auto;
	height: auto;
	clip: auto;
}
.link_skip.hide a {
	display: block;
	width: 100%;
	height: 0px;
	overflow: hidden;
	background: #ffffff;
	font-size: 1.4rem;
	line-height: 2em;
	color: #0d59b7;
	text-decoration: underline;
	text-align: center;
}
.link_skip.hide a:focus {
	margin: 5px;
	width: calc(100% - 10px);
	height: auto;
}

/* 外部リンク */
.external_link_text {
	display: none;
}

/* telリンク無効 */
.open_page_id a[href^="tel:"],
.f_number a[href^="tel:"] {
	text-decoration: none !important;
	color: currentColor !important;
	pointer-events: none !important;
}

/* AIレコメンド用スクリプトの読み込みタグを非表示 */
.footer_insert_recommend_js {
	display: none;
}

/* 承認枠 */
#approval_table {
	font-size: 1.4rem;
}

/* ページ内目次 */
#main_body .toc_link_wrap {
	display: none;
}
#sidebar1 .toc_link_wrap,
#sidebar2 .toc_link_wrap {
	display: none;
}

.toc_link_wrap {
	margin: 0px 0px 20px;
	border: 1px solid #cccccc;
}
.toc_link_wrap summary {
	padding: 10px 20px;
	cursor: pointer;
}

.toc_link {
	margin: 0px;
	padding: 10px 20px 20px;
	list-style: none;
}
.toc_link > li:not(:first-child) {
	margin: 10px 0px 0px;
}
.toc_link > li {
	font-size: 1.6rem;
	line-height: 1.5;
}
.toc_link > li a {
	display: inline-block;
}
.toc_link > li.toc_type_h3 {
	margin-left: 10px;
}
.toc_link > li.toc_type_h4 {
	margin-left: 20px;
}
.toc_link > li.toc_type_h5 {
	margin-left: 30px;
}
.toc_link > li.toc_type_h6 {
	margin-left: 40px;
}

.ip_headtype_h2 {
	padding: 0px;
}
.ip_headtype_h3 {
	padding-left: 10px;
	font-size: calc(1em * 0.95);
}
.ip_headtype_h4 {
	padding-left: 20px;
	font-size: calc(1em * 0.9);
}
.ip_headtype_h5 {
	padding-left: 30px;
	font-size: calc(1em * 0.85);
}
.ip_headtype_h6 {
	padding-left: 40px;
	font-size: calc(1em * 0.8);
}

/* アンカーリンク先の目印 */
div[class^="detail_"] span[id^="toc"]:target {
	position: relative;
}
div[class^="detail_"] span[id^="toc"]:target::before {
	content: '';
	position: absolute;
	right: calc(100% + 10px);
	top: -10px;
	display: block;
	width: 0px;
	height: 0px;
	border-width: 10px 0px 10px 17px;
	border-style: solid;
	border-color: transparent;
	border-left-color: currentcolor;
}

/* テーブル表の幅対応 */
.sp_table_wrap2 {
	overflow: auto;
	position: relative;
}

#main_body .sp_large_table .sp_table_wrap {
	width: auto;
	overflow: auto;
}
#main_body .sp_large_table .sp_table_wrap :is(th,td) {
	white-space: nowrap;
}

.sp_button {
	display: none;
}
.sp_button.sw_large_table {
	position: sticky;
	left: 0;
	top: 0;
}


/* ==================================================
スマートフォン
================================================== */
@media (max-width: 1100px) {

	/* float clear */
	* {
		float: none;
	}

	/* ページ内目次 */
	#main_body .toc_link_wrap {
		display: block;
	}
	#sidebar1 .toc_link_wrap,
	#sidebar2 .toc_link_wrap {
		display: none;
	}

	/* テーブル表の幅対応 */
	#main_body .sp_table_wrap {
		overflow: auto;
	}
	#main_body .sp_large_table {
		width: auto;
		max-width: 100vw;
	}

	.sp_button {
		display: block;
		width: 100%;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		padding: 10px;
		border: 1px solid #dcdcdc;
		border-radius: 5px;
		background: -moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
		background: -ms-linear-gradient( top, #f9f9f9 5%, #e9e9e9 100% );
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
		background: -webkit-gradient( linear, left top, left bottom, color-stop(5%, #f9f9f9), color-stop(100%, #e9e9e9) );
		background-color: #f9f9f9;
		color: #000000;
		text-shadow: 1px 1px 0px #ffffff;
		-webkit-box-shadow: inset 1px 1px 0px 0px #ffffff;
		        box-shadow: inset 1px 1px 0px 0px #ffffff;
		text-decoration: none;
		text-align: center;
	}
	.sp_button:hover {
		background: -moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
		background: -ms-linear-gradient( top, #e9e9e9 5%, #f9f9f9 100% );
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
		background: -webkit-gradient( linear, left top, left bottom, color-stop(5%, #e9e9e9), color-stop(100%, #f9f9f9) );
		background-color: #e9e9e9;
	}
	.sp_button:active {
		position: relative;
		top: 1px;
	}
	.color_change .sp_button {
		background: none !important;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */