@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 */

.tpl_detail {
	--okayama-text: #333333;
	--okayama-blue: #2c70b6;
	--okayama-sky: #bbddf3;
	--okayama-sky-half: rgba(187, 221, 243, 0.5);
	--okayama-orange: #e69333;
	--okayama-orange-bg: rgba(230, 147, 51, 0.12);
	--okayama-h4-bg: rgba(232, 246, 255, 0.6);
	--okayama-h4-line: #89a4ba;
	--okayama-h6-line: #7b98b0;
	--okayama-th-bg: #f4fbff;
	--okayama-gray-bg: #f6f6f6;
	--okayama-toc-line: #cccccc;
	--okayama-red: #cc0000;
	--okayama-red-light: #fae5e5;
	--okayama-font: 'BIZ UDPGothic', var(--fontfamily-normal);
	--okayama-img-h1: url("/img/common/okayama_h1_bg.jpg");
	--okayama-img-h2: url("/img/common/okayama_h2_bg.jpg");
	--okayama-img-print: url("/img/common/okayama_icon_print.png");
	--okayama-img-recommend: url("/img/common/okayama_icon_recommend.png");
	--okayama-img-important: url("/img/common/okayama_icon_important.png");
}

.tpl_detail #main,
.tpl_detail #sidebar2 {
	font-family: var(--okayama-font);
	color: var(--okayama-text);
}
.tpl_detail #main {
	line-height: 1.75em;
	letter-spacing: 0.05em;
}

.tpl_detail #mymainback {
	padding-bottom: 50px;
}
.tpl_detail #main {
	width: 100%;
}
.tpl_detail #main_a {
	padding-right: 0px;
}
.tpl_detail #sidebar2 {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 0px;
}
.tpl_detail #sidebar2 > #recommend_tag {
	order: 1;
}
.tpl_detail #sidebar2 > #important_notices,
.tpl_detail #sidebar2 > #important_noticest_area {
	order: 2;
}
.tpl_detail #sidebar2 > #count_down_area,
.tpl_detail #sidebar2 > #ai_recommend_tag,
.tpl_detail #sidebar2 > #kanren_link,
.tpl_detail #sidebar2 > .common_banner_link,
.tpl_detail #sidebar2 > .toc_wrapper,
.tpl_detail #osusume_contents_area,
.tpl_detail #hyouka_area_box,
.tpl_detail #content_footer #calendar_button_yahoo,
.tpl_detail #content_footer .sns_button_wrap,
.tpl_detail .content_header_wrap > :not(#content_header) {
	display: none !important;
}
body.view_print_mode .tpl_detail #content_footer {
	display: block !important;
}
body.view_print_mode .tpl_detail #content_footer #calendar_button_google,
body.view_print_mode .tpl_detail #content_footer #calendar_button_yahoo,
body.view_print_mode .tpl_detail #content_footer .sns_button_wrap {
	display: none !important;
}

.tpl_detail #main a:link,
.tpl_detail #main a:visited,
.tpl_detail #sidebar2 a:link,
.tpl_detail #sidebar2 a:visited {
	color: var(--okayama-text);
}
.tpl_detail #main a:hover,
.tpl_detail #main a:focus,
.tpl_detail #sidebar2 a:hover,
.tpl_detail #sidebar2 a:focus {
	color: var(--okayama-text);
	text-decoration: none;
}

.tpl_detail #main_header {
	margin-bottom: 20px;
}
.tpl_detail #main_header h1 {
	padding: 26px 30px;
	border-radius: 4px;
	background: var(--okayama-blue) var(--okayama-img-h1) no-repeat center center / cover;
	color: #ffffff;
	font-size: 3.2rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
}

.tpl_detail #content_header {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	column-gap: 34px;
	margin: 0px 0px 20px;
	padding-top: 10px;
	font-size: 1.5rem;
	line-height: 1.4em;
	letter-spacing: 0em;
}
.tpl_detail #content_header > span {
	margin: 0px;
}
.tpl_detail #content_header > .link_print {
	order: 1;
}
.tpl_detail #content_header > .open_page_id {
	order: 2;
}
.tpl_detail #content_header > .date {
	order: 3;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
.tpl_detail #content_header > .sec {
	order: 4;
	margin-left: -34px;
}
body.font_size_changed .tpl_detail #content_header::after {
	content: "";
	order: 2;
	flex-basis: 100%;
}
.tpl_detail #print_mode_link {
	padding-left: calc(1em + 5px);
	background: var(--okayama-img-print) no-repeat left center / 1em 1em;
}

.tpl_detail #main_body .detail_free ul {
	padding-left: 1.6em;
	list-style-type: '・\2002';
}

.tpl_detail #main_body table caption {
	margin-bottom: 5px;
	text-align: center;
}
.tpl_detail #main_body th,
.tpl_detail #main_body td {
	line-height: 1.3em;
}
.tpl_detail #main_body th {
	background: var(--okayama-th-bg);
	color: #000000;
	font-weight: bold;
}
.tpl_detail #main_body td {
	color: #000000;
}
:is(.tpl_detail, .tpl_site_detail) #main_body .sp_table_wrap2 {
	margin-bottom: 1em;
}
:is(.tpl_detail, .tpl_site_detail) #main_body .sp_table_wrap2 table {
	margin-bottom: 0px;
}

@media screen and (min-width: 761px) {
	.tpl_detail #main_body .toc_link_wrap {
		display: none !important;
	}
}
.tpl_detail #main_body .toc_link_wrap {
	display: block;
	margin: 0px 0px 20px;
	border: 1px solid var(--okayama-toc-line);
}
.tpl_detail #main_body .toc_link_wrap summary {
	display: block;
	padding: 10px;
	font-size: 1.8rem;
	line-height: 1.75em;
	letter-spacing: 0.05em;
	list-style: none;
}
.tpl_detail #main_body .toc_link_wrap summary::-webkit-details-marker {
	display: none;
}
.tpl_detail #main_body .toc_link_wrap summary::before {
	content: '▶';
	display: inline-block;
	margin-right: 13px;
	font-size: 1.2222em;
	line-height: 1;
	letter-spacing: 0em;
}
.tpl_detail #main_body .toc_link_wrap[open] summary::before {
	transform: rotate(90deg);
}
.tpl_detail #main_body .toc_link {
	padding: 0px 10px 11px;
}
.tpl_detail #main_body .toc_link > li {
	font-size: 1.6rem;
	line-height: 1.5em;
	letter-spacing: 0.05em;
}
.tpl_detail #main_body .toc_link > li:not(:first-child) {
	margin-top: 10px;
}
.tpl_detail #main_body .toc_link > li.toc_type_h3 {
	margin-left: 20px;
}
.tpl_detail #main_body .toc_link > li.toc_type_h4 {
	margin-left: 40px;
}
.tpl_detail #main_body .toc_link > li.toc_type_h5 {
	margin-left: 60px;
}
.tpl_detail #main_body .toc_link > li.toc_type_h6 {
	margin-left: 80px;
}
:is(.tpl_detail, .tpl_site_detail):has(#main_body #hyouka_area_box h2):has(#section_footer h2) .toc_link > li:nth-last-child(2),
:is(.tpl_detail, .tpl_site_detail):has(#main_body #hyouka_area_box h2):not(:has(#section_footer h2)) .toc_link > li:last-child {
	display: none !important;
}

:is(.tpl_detail, .tpl_site_detail) #main_body > div[class*="detail_"]:has(+ :is(.file_pdf, .file_pdf2, .file_excel, .file_word, .file_etc)),
:is(.tpl_detail, .tpl_site_detail) #main_body > div[class*="detail_"]:has(+ :is(.file_pdf, .file_pdf2, .file_excel, .file_word, .file_etc)) > :last-child {
	margin-bottom: 0px;
}

:is(.tpl_detail, .tpl_site_detail) #main_body > div[class*="detail_"]:has(+ #section_footer, + #hyouka_area_box + #section_footer),
:is(.tpl_detail, .tpl_site_detail) #main_body > div[class*="detail_"]:has(+ #section_footer, + #hyouka_area_box + #section_footer) > :last-child,
:is(.tpl_detail, .tpl_site_detail) #main_body > div[class*="detail_"]:is(:last-child, :has(+ #hyouka_area_box:last-child)),
:is(.tpl_detail, .tpl_site_detail) #main_body > div[class*="detail_"]:is(:last-child, :has(+ #hyouka_area_box:last-child)) > :last-child {
	margin-bottom: 0px;
}

.tpl_detail #section_footer {
	margin: 20px 0px 0px;
	padding: 20px 30px;
	border-radius: 4px;
	background: var(--okayama-gray-bg);
}
.tpl_detail #section_footer h2 {
	position: static;
	margin: 0px;
	padding: 0px;
	border: none;
	border-radius: 0px;
	background: none;
	font-size: 2rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
}
.tpl_detail #section_footer_detail span {
	margin: 0px 1em 0px 0px;
}
.tpl_detail #section_footer_detail span:last-of-type {
	margin-right: 0px;
}
:is(.tpl_detail, .tpl_site_detail) #section_footer_detail span.sf_tel {
	margin-right: calc(15px - 0.3833em);
}

.tpl_detail .pdf_download {
	margin-top: 20px;
}
:is(.tpl_detail, .tpl_site_detail) div.pdf_download {
	margin-top: 28px;
}
:is(.tpl_detail, .tpl_site_detail) .pdf_download .pdf_img img {
	width: 149px;
	height: auto;
}
.tpl_detail .pdf_download .external_link_text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.tpl_detail .tenpu_txt {
	padding-left: 10px;
	font-size: 1.3rem;
	line-height: 1.6154em;
	letter-spacing: 0em;
}

.tpl_detail #content_footer {
	margin: 0px;
	padding: 0px;
}
.tpl_detail #calendar_button_google {
	margin: 20px 0px 0px;
	font-size: 1.6rem;
	line-height: 1.75em;
}
.tpl_detail #calendar_button_google a {
	padding: 0px 0px 0px 35px;
	font-size: 1.6rem;
	line-height: 1.75em;
	letter-spacing: 0.05em;
}
.tpl_detail #content_footer .external_link_text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.tpl_detail #recommend_tag {
	margin-top: 20px;
}
.tpl_detail #sidebar_recommend {
	background: none;
}
.tpl_detail #recommend_title {
	padding: 16px 30px;
	border-radius: 4px 4px 0px 0px;
	background: var(--okayama-sky-half);
	text-align: left;
}
.tpl_detail #recommend_title h2 {
	display: block;
	padding: 5px 0px 5px 48px;
	background: var(--okayama-img-recommend) no-repeat left center / 35px 34px;
	font-size: 1.6rem;
	line-height: 1.5em;
	letter-spacing: 0em;
}
.tpl_detail #recommend_title h2 span {
	display: inline;
}
.tpl_detail #sidebar_recommend ul {
	padding: 10px 0px 20px;
	border: 1px solid var(--okayama-sky);
	border-top: none;
	border-radius: 0px 0px 4px 4px;
}
.tpl_detail #sidebar_recommend ul li {
	padding: 10px 20px 10px 27px;
	border-top: none;
	font-size: 1.6rem;
	line-height: 1.5em;
	letter-spacing: 0em;
}
.tpl_detail #sidebar_recommend ul li a,
.tpl_detail #important_notices .second_important ul li a {
	display: inline;
	padding-right: 0px;
	background: none;
}
.tpl_detail #sidebar_recommend ul li a:link,
.tpl_detail #sidebar_recommend ul li a:visited,
.tpl_detail #important_notices .second_important ul li a:link,
.tpl_detail #important_notices .second_important ul li a:visited {
	text-decoration: underline;
}
.tpl_detail #sidebar_recommend ul li a:hover,
.tpl_detail #sidebar_recommend ul li a:focus,
.tpl_detail #important_notices .second_important ul li a:hover,
.tpl_detail #important_notices .second_important ul li a:focus {
	text-decoration: none;
}
.tpl_detail #sidebar_recommend ul li::before {
	content: '・';
	margin-right: 0.5em;
}

.tpl_detail #important_notices .second_important {
	margin-top: 20px;
	padding: 0px;
	border: 1px solid var(--okayama-red);
	border-radius: 4px;
	background: #ffffff;
}
.tpl_detail #important_notices .second_important_ttl {
	margin: 0px;
	padding: 15px 20px 15px 61px;
	background: var(--okayama-red) var(--okayama-img-important) no-repeat left 20px center / 26px 26px;
	color: #ffffff;
	font-size: 1.8rem;
	line-height: 1.5em;
	letter-spacing: 0.1em;
	text-align: left;
}
.tpl_detail #important_notices .second_important ul {
	margin: 0px;
	padding: 20px 20px 0px;
}
.tpl_detail #important_notices .second_important ul li {
	padding: 0px;
	border-bottom: none;
}
.tpl_detail #important_notices .second_important ul li + li {
	margin-top: 20px;
}
.tpl_detail #important_notices .second_important ul li > span.article_date {
	font-size: 1.5rem;
	line-height: 1.5em;
	letter-spacing: 0em;
}
.tpl_detail #important_notices .second_important ul li > span.article_title {
	font-size: 1.6rem;
	line-height: 1.5em;
	letter-spacing: 0em;
}
.tpl_detail #important_notices .second_important ul li a:link,
.tpl_detail #important_notices .second_important ul li a:visited {
	color: var(--okayama-red);
}
.tpl_detail #important_notices .second_important ul li .article_title .article_section {
	color: var(--okayama-text, #333333);
}
.tpl_detail #important_notices .second_important .link_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 20px;
	margin: 0px;
	padding: 20px;
}
.tpl_detail #important_notices .second_important .link_box > span {
	display: block;
	margin: 0px;
}
.tpl_detail #important_notices .second_important .link_box > span a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-sizing: border-box;
	min-width: 198px;
	padding: 12px 9px 12px 20px;
	border-radius: 4px;
	background: var(--okayama-red-light);
	font-size: 1.4rem;
	line-height: 1.5em;
	letter-spacing: 0em;
	text-decoration: none;
}
.tpl_detail #important_notices .second_important .link_box > span a::after {
	content: '';
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	margin-right: 2px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}
.tpl_detail #important_notices .second_important .link_box > span a:hover,
.tpl_detail #important_notices .second_important .link_box > span a:focus {
	opacity: 0.7;
}

body.color_change .tpl_detail #main_header h1 {
	background-image: none !important;
}
body.color_change .tpl_detail #recommend_title h2 {
	background-image: url("/img/common/icon_recommend_white.png") !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: 35px 34px !important;
}
body.color_change .tpl_detail #print_mode_link {
	background-image: url("/img/common/okayama_icon_print_white.png") !important;
}
body.color_change .tpl_detail #important_notices .second_important_ttl {
	background-image: var(--okayama-img-important) !important;
	background-repeat: no-repeat !important;
	background-position: left 20px center !important;
	background-size: 26px 26px !important;
}
body.color_change .tpl_detail #important_notices .second_important .link_box > span a {
	border: 1px solid currentColor;
}

/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 760px) {

	/********** 1 共通 **********/

	/* 画像サイズ */
	#main_body div[class*="detail"] img {
		max-width: 100%;
		height: auto !important;
		vertical-align: top;
	}

	/* 画像のfloatを解除 */
	#main_body div[class*="detail"] img[style*="float"] {
		float: none !important;
		display: block;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

	/********** 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%;
	}

}

/* ==================================================
スマートフォン ここまで
================================================== */

@media screen and (max-width: 760px) {

	.tpl_detail #mymainback {
		padding-bottom: 0px;
	}
	.tpl_detail #main_header h1 {
		padding: 17px 20px;
		font-size: 2.4rem;
	}
	.tpl_detail #content_header {
		column-gap: 1em;
		font-size: 1.3rem;
	}
	.tpl_detail #content_header > .sec {
		margin-left: -1em;
	}
	.tpl_detail #content_header::after {
		content: "";
		order: 2;
		flex-basis: 100%;
	}
	.tpl_detail #main_body .toc_link_wrap summary {
		font-size: 1.6rem;
	}
	.tpl_detail #main_body .toc_link > li {
		font-size: 1.5rem;
	}
	.tpl_detail #section_footer {
		padding: 20px;
	}
	.tpl_detail #section_footer h2 {
		font-size: 1.8rem;
		letter-spacing: 0.05em;
	}
	.tpl_detail .tenpu_txt {
		padding: 10px 0px 0px;
		font-size: 1.2rem;
	}
	.tpl_detail #recommend_title {
		padding: 16px 20px;
	}
	.tpl_detail #important_notices .second_important .link_box > span a {
		min-width: 0px;
	}

}

/* ==================================================
.tpl_notfound ページ装飾
================================================== */

.tpl_notfound {

	--okayama-blue: #85afd8;
	--okayama-blue-light: #e7eff7;
	--okayama-heading-text: #333333;
	--okayama-news-title: #4c4c4c;
	--okayama-border-gray: #c9c8c8;

}

.tpl_notfound #main_header {
	margin-bottom: 3rem;
}

.tpl_notfound #main_body > h2 {
	clear: both;
	margin: 3rem 0 2rem;
	padding: 2.6rem 9.5rem 2.6rem 4rem;
	border: none;
	border-radius: 1rem;
	background-color: var(--okayama-blue-light);
	color: var(--okayama-heading-text);
	font-size: 2.6rem;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.1em;
	position: relative;
	overflow: hidden;
}
.tpl_notfound #main_body > h2:first-child {
	margin-top: 0;
}
.tpl_notfound #main_body > h2 a {
	color: inherit;
	text-decoration: none;
}
.tpl_notfound #main_body > h2 a:hover,
.tpl_notfound #main_body > h2 a:focus {
	color: inherit;
	text-decoration: underline;
}

/* 見出し h3〜h6（Figma node 101:1898〜101:1901 ＝ detail.css と同一） */
.tpl_notfound #main_body h3 {
	margin: 2.4rem 0 1.6rem;
	padding: 2.2rem 3rem 2.4rem;
	border: 0.1rem solid var(--okayama-blue);
	border-radius: 1rem;
	background: #ffffff;
	color: var(--okayama-heading-text);
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
.tpl_notfound #main_body h4 {
	margin: 2rem 0 1.2rem;
	padding: 1.6rem 1.6rem 2rem 3rem;
	border: none;
	border-bottom: 0.1rem solid var(--okayama-blue);
	border-radius: 0;
	background: #ffffff;
	color: var(--okayama-heading-text);
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
.tpl_notfound #main_body h5 {
	position: relative;
	margin: 1.6rem 0 1rem;
	padding: 1.2rem 1.2rem 1.2rem 4rem;
	border: none;
	border-radius: 0;
	background: #ffffff;
	color: var(--okayama-heading-text);
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
.tpl_notfound #main_body h5::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1.2rem;
	width: 2rem;
	height: 2rem;
	border-radius: 0.6rem;
	background: var(--okayama-blue);
}
.tpl_notfound #main_body h6 {
	position: relative;
	margin: 1.6rem 0 1rem;
	padding: 1rem 2rem 1rem 4rem;
	border: none;
	border-radius: 0;
	background: #ffffff;
	color: var(--okayama-heading-text);
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
.tpl_notfound #main_body h6::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1rem;
	width: 2rem;
	height: 2rem;
	border-radius: 0.6rem;
	background: var(--okayama-blue-light);
}
/* 見出し内リンク（parts.css の a:link / a:visited 上書き） */
.tpl_notfound #main_body :is(h3, h4, h5, h6) a,
.tpl_notfound #main_body :is(h3, h4, h5, h6) a:link,
.tpl_notfound #main_body :is(h3, h4, h5, h6) a:visited {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: inherit;
}
.tpl_notfound #main_body :is(h3, h4, h5, h6) a:hover,
.tpl_notfound #main_body :is(h3, h4, h5, h6) a:focus {
	color: inherit;
	text-decoration: underline;
}

.tpl_notfound #main_body .navigation {
	margin: 0 0 2rem;
}
.tpl_notfound #main_body .navigation ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tpl_notfound #main_body .navigation ul li {
	display: inline-block;
	margin: 0 1.8rem 1.8rem 0;
	padding: 0 1.9rem 0 0;
	border-right: 1px solid #333333;
	font-size: 1.8rem;
	line-height: 1.5;
	letter-spacing: 0.05em;
}
.tpl_notfound #main_body .navigation ul li:last-child {
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}
.tpl_notfound #main_body .navigation ul li a {
	color: var(--okayama-heading-text);
	text-decoration: underline;
}
.tpl_notfound #main_body .navigation ul li a:hover,
.tpl_notfound #main_body .navigation ul li a:focus {
	text-decoration: none;
}

body.font_size_changed .tpl_notfound #main_header h1 {
	font-size: 2.8rem;
}
body.color_change .tpl_notfound #main_body > h2 {
	border: none;
	background: transparent;
}
body.color_change .tpl_notfound #main_body > h2::before,
body.color_change .tpl_notfound #main_body > h2::after {
	display: none;
}
body.color_change .tpl_notfound #main_body .navigation ul li {
	border-right-color: currentColor;
}

body.color_change .tpl_notfound #main_body h3 {
	border-color: currentColor;
}
body.color_change .tpl_notfound #main_body h4 {
	border-bottom-color: currentColor;
}
body.color_change .tpl_notfound #main_body :is(h3, h4, h5, h6) a,
body.color_change .tpl_notfound #main_body :is(h3, h4, h5, h6) a:link,
body.color_change .tpl_notfound #main_body :is(h3, h4, h5, h6) a:visited {
	color: inherit;
}
@media screen and (max-width: 760px) {
	.tpl_notfound #main_body > h2 {
		padding: 2rem 9rem 2rem 2rem;
		font-size: 2rem;
	}
}