@charset "utf-8";

/* var() 関数 */
:root {

	/* 赤 */
	--emer-color-red: #c2272d;
	/* グレー */
	--emer-color-gray: #cccccc;
	/* グレー2（薄） */
	--emer-color-gray2: #e6e6e6;

	/* 背景色 / 文字色 */
	--emer-bg-background: #c2272d;
	--emer-bg-color: #ffffff;

	/* 通常版ボタン */
	--emer-btn-background: #333333;
	--emer-btn-border: 1px solid transparent;
	--emer-btn-borderradius: 0;
	--emer-btn-boxshadow: none;
	--emer-btn-color: #ffffff;
	--emer-btn-textdecoration: none;
	/* hover / focus */
	--emer-btn-hover-background: #333333;
	--emer-btn-hover-border: 1px solid transparent;
	--emer-btn-hover-borderradius: 0;
	--emer-btn-hover-boxshadow: none;
	--emer-btn-hover-color: #ffffff;
	--emer-btn-hover-textdecoration: underline;

	/* 余白 */
	--emer-content-margin: 40px;

}
/* var() 関数 ここまで */


/* 非表示 */
#footstep_wrap {
	display: none !important;
}
#back_or_pagetop > div#to_page_back {
	display: none !important;
}
#osusume_banner, #kaiyu_banner {
	display: none !important;
}
button#spm_kaiyu {
	display: none !important;
}

/* 災害ヘッダ */
#emer_h1_bg {
	background: var(--emer-bg-background, #c1272d);
	color: var(--emer-bg-color, #ffffff);
	padding: 10px 0px;
}
#emer_h1_bg a {
	color: inherit;
}

#emer_h1 {
	width: var(--content-width, 1080px);
	margin: 0px auto;
	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: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#emer_h1 .emer_ttl {
	width: 280px;
}
#emer_h1 .emer_ttl h1 {
	display: inline-block;
	background: url("/img/common/icon_emer.png") no-repeat left center transparent;
	color: inherit;
	font-size: 3rem;
	font-weight: bold;
	line-height: 4rem;
	letter-spacing: 0.2em;
	margin: 0px;
	padding: 5px 0px 5px 50px;
}

#emer_h1 .emer_txt {
	width: calc(100% - 300px);
	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: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-size: 1.3rem;
}
#emer_h1 .emer_txt .btn {
	min-width: 150px;
	margin-left: 10px;
	text-align: right;
}
#emer_h1 .emer_txt .btn a {
	display: inline-block;
	background: var(--emer-btn-background, #333333);
	border: var(--emer-btn-border, 1px solid transparent);
	border-radius: var(--emer-btn-borderradius, 0);
	-webkit-box-shadow: var(--emer-btn-boxshadow, none);
	        box-shadow: var(--emer-btn-boxshadow, none);
	color: var(--emer-btn-color, #ffffff);
	text-decoration: var(--emer-btn-textdecoration, none);
	line-height: 1.8rem;
	padding: 10px;
	text-align: center;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
#emer_h1 .emer_txt .btn a:hover,
#emer_h1 .emer_txt .btn a:focus {
	background: var(--emer-btn-hover-background, #333333);
	border: var(--emer-btn-hover-border, 1px solid transparent);
	border-radius: var(--emer-btn-hover-borderradius, 0);
	-webkit-box-shadow: var(--emer-btn-hover-boxshadow, none);
	        box-shadow: var(--emer-btn-hover-boxshadow, none);
	color: var(--emer-btn-hover-color, #ffffff);
	text-decoration: var(--emer-btn-hover-textdecoration, underline);
}

/* 災害情報 */
#emer_info_wrap {
	background: var(--emer-bg-background, #c1272d);
	color: var(--emer-bg-color, #ffffff);
}

#emer_info {
	width: var(--content-width, 1080px);
	margin: 0px auto;
	padding: var(--emer-content-margin, 40px) 0px;
}
#emer_info h2 {
	font-size: 2.8rem;
	font-weight: bold;
	line-height: 1.4em;
	margin: 0px 0px 20px;
	padding: 0px;
}

#emer_info_txt {
	background: #ffffff;
	color: #333333;
	padding: 20px 30px;
}
#emer_info_txt .updated {
	margin-bottom: 0.5em;
}

/* 重要なお知らせ */
#top_important {
	margin: 0px 0px var(--emer-content-margin, 40px);
	border: 2px solid var(--emer-bg-background, #c1272d);
}
#top_important h2 {
	margin: 0px 0px 10px;
	padding: 20px 30px;
	background: var(--emer-bg-background, #c1272d);
	color: var(--emer-bg-color, #ffffff);
	font-size: 2.4rem;
}

#top_important ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#top_important ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 15px 30px;
	border-bottom: 1px solid var(--emer-color-gray, #cccccc);
}
#top_important ul li > span {
	display: table-cell;
	vertical-align: top;
}
#top_important ul li > span.article_date {
	width: calc(11em + 10px);
}

#top_important .link_box {
	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;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 10px 20px;
	padding: 30px 20px;
}
#top_important .link_box span[class*="link_"] {
	display: inline-block;
	vertical-align: top;
	margin: 0px;
	width: 260px;
	max-width: 100%;
}
#top_important .link_box span[class*="link_"] a {
	display: block;
	border: 1px solid var(--emer-color-gray, #cccccc);
	border-radius: 0;
	background: var(--emer-color-gray2, #e6e6e6);
	color: #333333;
	font-size: 1.5rem;
	line-height: 1.8rem;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
}
#top_important .link_box span[class*="link_"] a:hover,
#top_important .link_box span[class*="link_"] a:focus {
	text-decoration: underline;
}

/* 防災メール連携（JavaScript） */
#main_box_emergency .box_top_emer {
	margin: 0px 0px var(--emer-content-margin, 40px);
	border: 2px solid var(--emer-bg-background, #c1272d);
}
#main_box_emergency h2 {
	margin: 0px 0px 10px;
	padding: 20px 30px;
	background: var(--emer-bg-background, #c1272d);
	color: var(--emer-bg-color, #ffffff);
	font-size: 2.4rem;
}

#main_box_emergency ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#main_box_emergency ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 15px 30px;
	border-bottom: 1px solid var(--emer-color-gray, #cccccc);
}
#main_box_emergency ul li > span {
	display: table-cell;
	vertical-align: top;
}
#main_box_emergency ul li > span.emer_date {
	width: calc(14.5em + 10px);
}
#main_box_emergency ul li > span.emer_title > span {
	display: block;
	height: 1.5em;
	overflow: hidden;
	color: #0070ca;
	text-decoration: underline;
	cursor: pointer;
}
#main_box_emergency ul li > span.emer_title > span a {
}
#main_box_emergency ul li.emer_title_open > span.emer_title > span {
	height: auto;
	text-decoration: none;
}

#main_box_emergency .btn_emer {
	text-align: center;
	padding: 30px 20px;
}
#main_box_emergency .btn_emer #emer_mail_open_all {
	display: inline-block;
	vertical-align: top;
	border: 1px solid var(--emer-color-gray, #cccccc);
	border-radius: 0;
	background: var(--emer-color-gray2, #e6e6e6);
	color: #333333;
	font-size: 1.5rem;
	line-height: 1.8rem;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
	width: 260px;
	max-width: 100%;
}
#main_box_emergency .btn_emer #emer_mail_open_all:hover,
#main_box_emergency .btn_emer #emer_mail_open_all:focus {
	text-decoration: underline;
}
.link_ichiran a::after, .link_rss a::after{
	display: none;
}

/* モーダル */
#main_box_emergency.emer_modal_open {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	padding: 5% 0;
	overflow: hidden;
	background: rgb(0 0 0 / .5);
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.emer_modal_open .top_info_container {
	width: 96%;
	max-width: var(--content-width);
	max-height: 96%;
	overflow: auto;
	margin: 0 auto;
	background-color: #fff;
}
.emer_modal_open .top_info_box {
	border: 0;
	padding: 0;
}
.emer_modal_open .top_info_ttl {
	display: none;
}
.emer_modal_open .top_info_box ul {
	margin-top: 0;
}
.emer_modal_open .top_info_box ul li:not(.emer_title_open) {
	display: none;
}
.emer_modal_open .emer_title {
	text-decoration: none;
	cursor: initial;
}
.emer_modal_open .top_info_btnUnit {
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.emer_modal_open .top_info_btn a,
.emer_modal_open .top_info_btn button {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 8px;
	background-image: none;
	padding-right: 0;
}
/*
.emer_modal_open .top_info_btn a::after,
.emer_modal_open .top_info_btn button::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 100%;
	background: url(/img/common/icon_clear.png) no-repeat center / 8px 8px #333;
}
*/
@media (hover: hover) {
	.emer_title:hover {
		text-decoration: none;
	}
	.top_info_btn button:hover,
	.top_info_btn a:hover {
		text-decoration: underline;
	}
}

/* リンク */
.emer_link {
	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: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 30px;
}
.emer_link_box.emer_link_box_site{
	display: block;
    width: 100%;
}
.emer_link_box.emer_link_box_site span{
    display: block;
    margin: 20px 20px 20px 30px;
    font-size: 1.9rem;
}

.emer_link_box {
	width: calc(100% / 2 - 20px);
	border: 2px solid var(--emer-bg-background, #c1272d);
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.emer_link_box.emer_link_box_site h2{
	padding: 20px 30px;
    font-size: 2.4rem;
}

.emer_link_box h2 {
	background: var(--emer-bg-background, #c1272d);
	color: var(--emer-bg-color, #ffffff);
	font-size: 2.2rem;
	margin: 0px;
	padding: 10px 20px;
}
.emer_link_box ul {
	margin: 0px;
	padding: 20px 20px 20px 40px;
}
.emer_link_box ul li {
	margin-bottom: 5px;
	font-size: 1.9rem;
}
.emer_link_box ul li:last-child {
	margin-bottom: 0px;
}

/* リンク（外部リンクアイコン） */
.emer_link_box ul li .external_link_text {
	display: inline-block;
	vertical-align: middle;
	width: 15px;
	height: 14px;
	background: url("/img/common/icon_link_ex.png") no-repeat center center #ffffff !important;
	color: #000000;
	text-align: left;
	text-indent: -9999em;
	overflow: hidden;
	margin-top: -3px;
	margin-left: 0.5em;
}

/* メッセージ */
.emer_footer_message {
	margin: var(--emer-content-margin, 40px) 0px 0px;
}
.emer_footer_message p {
	margin: 0px;
	color: var(--emer-color-red, #c1272d);
	font-size: 2.8rem;
	font-weight: bold;
	text-align: center;
}
.emer_footer_message p span {
	display: inline-block;
	vertical-align: top;
}

/* 通常トップへのリンク */
.emer_footer_link {
	margin: var(--emer-content-margin, 40px) 0px 0px;
	width: 100%;
	display: table;
}
.emer_footer_link > div {
	display: table-cell;
	vertical-align: top;
}
.emer_footer_link > div.emer_footer_link_btn {
	width: 240px;
	padding-left: 20px;
}
.emer_footer_link > div.emer_footer_link_btn a {
	display: block;
	background: var(--emer-btn-background, #333333);
	border: var(--emer-btn-border, 1px solid transparent);
	border-radius: var(--emer-btn-borderradius, 0);
	-webkit-box-shadow: var(--emer-btn-boxshadow, none);
	        box-shadow: var(--emer-btn-boxshadow, none);
	color: var(--emer-btn-color, #ffffff);
	text-decoration: var(--emer-btn-textdecoration, none);
	line-height: 2rem;
	padding: 20px 10px;
	text-align: center;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.emer_footer_link > div.emer_footer_link_btn a:hover,
.emer_footer_link > div.emer_footer_link_btn a:focus {
	background: var(--emer-btn-hover-background, #333333);
	border: var(--emer-btn-hover-border, 1px solid transparent);
	border-radius: var(--emer-btn-hover-borderradius, 0);
	-webkit-box-shadow: var(--emer-btn-hover-boxshadow, none);
	        box-shadow: var(--emer-btn-hover-boxshadow, none);
	color: var(--emer-btn-hover-color, #ffffff);
	text-decoration: var(--emer-btn-hover-textdecoration, underline);
}

/* ヘッダ */
.tpl_top_emer #header {
    background-image: none;
}
.tpl_top_emer #floating_header {
	background: #fff;
}

/* フッタ */
.tpl_top_emer #footer2 {
	color: var(--emer-bg-color, #ffffff);
	background: var(--emer-bg-background, #c1272d);
}

.tpl_top_emer #footer_data {
	color: #333;
	display: none !important;
}
.tpl_top_emer .f_author {
	background-image: url(/img/common/symbol_white.png);
}
.tpl_top_emer .f_link_list {
    color: #333;
}
.f_link_list li a{

	    background: url(/img/common/arrow_red.png) no-repeat right 32px center / 10px auto #fff;
}
#footer2_box{
		background:none;
}
@media screen and (min-width: 1081px) {
	.tpl_top_emer #author_info {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 490px;
		grid-template-rows: auto auto;
		gap: 0 80px;
	}
	.tpl_top_emer .f_author {
		grid-column: 1/2;
		grid-row: 1/2;
	}
	.tpl_top_emer .f_info {
		grid-column: 1/2;
		grid-row: 2/3;
	}
	.tpl_top_emer .f_link {
		grid-column: 2/3;
		grid-row: 1/3;
		margin-top: 0;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: flex-end;
	}
	.tpl_top_emer .f_link_list {
		width: 100%;
	}
}

/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	/* var() 関数 */
	:root {
		/* 余白 */
		--emer-content-margin: 20px;
	}
	/* var() 関数 ここまで */

	/* 災害ヘッダ */
	#emer_h1 {
		display: block;
		width: auto;
		margin: 0px var(--mymainback-margin-side, 15px);
	}
	#emer_h1 .emer_ttl {
		width: auto;
		text-align: center;
	}
	#emer_h1 .emer_ttl h1 {
		font-size: 2.4rem;
	}
	#emer_h1 .emer_txt {
		display: block;
		width: auto;
		font-size: var(--fontsize-main-small, 1.3rem);
	}
	#emer_h1 .emer_txt .btn {
		min-width: auto;
		text-align: center;
		margin: 10px 0px;
	}
	#emer_h1 .emer_txt .btn a {
		display: block;
	}
	#he_left {
		padding-left: 0;
	}
	/* 災害情報 */
	#emer_info {
		width: auto;
		margin: 0px var(--mymainback-margin-side, 15px);
		padding: var(--emer-content-margin, 20px) 0px;
	}
	#emer_info_ttl h2 {
		font-size: 2.4rem;
		margin-bottom: 10px;
	}
	#emer_info_txt {
		padding: 20px;
	}

	/* メイン */
	#mymainback {
		margin: var(--emer-content-margin, 20px) var(--mymainback-margin-side, 15px);
	}

	/* 重要なお知らせ */
	#top_important {
		margin: 0px 0px var(--emer-content-margin, 20px);
	}
	#top_important h2 {
		font-size: 2rem;
		padding: 15px 20px;
	}

	#top_important ul li {
		display: block;
		width: auto;
		padding: 15px 20px;
	}
	#top_important ul li > span {
		display: block;
	}
	#top_important ul li > span.article_date {
		width: auto;
	}

	#top_important .link_box span[class*="link_"] a {
		font-size: 1.3rem;
	}
	.article_section{
		display:contents;
	}

	/* 防災メール連携（JavaScript） */
	#main_box_emergency .box_top_emer {
		margin: 0px 0px var(--emer-content-margin, 20px);
	}
	#main_box_emergency h2 {
		font-size: 2rem;
		padding: 15px 20px;
	}

	#main_box_emergency ul li {
		display: block;
		width: auto;
		padding: 15px 20px;
	}
	#main_box_emergency ul li > span {
		display: block;
	}
	#main_box_emergency ul li > span.emer_date {
		width: auto;
	}

	#main_box_emergency .btn_emer {
		text-align: center;
		padding: 30px 20px;
	}
	#main_box_emergency .btn_emer #emer_mail_open_all {
		font-size: 1.3rem;
	}

	/* モーダル */
	.emer_modal_open .top_info_container {
		margin-inline: 10px;
	}

	/* リンク */

	.emer_link {
		display: block;
	}
	.emer_link_box h2 {
		font-size: 1.8rem;
	}

	.emer_link_box {
		width: auto;
		margin-bottom: calc(var(--emer-content-margin, 20px) / 2);
		font-size: 1.5rem;

	}
	.emer_link_box:last-child {
		margin-bottom: 0px;
	}
	.emer_link_box.emer_link_box_site h2 {
		font-size: 2rem;
    	padding: 15px 20px;
	}
	.emer_link_box.emer_link_box_site span {
		font-size: 1.5rem;
		margin: 15px 15px 15px 20px;
	}
	.emer_link_box ul li {
		font-size: 1.5rem;
	}

	/* メッセージ */
	.emer_footer_message {
		margin: var(--emer-content-margin, 20px) 0px 0px;
	}
	.emer_footer_message p {
		font-size: 2rem;
	}

	/* 通常トップへのリンク */
	.emer_footer_link {
		margin: var(--emer-content-margin, 20px) 0px 0px;
		display: block;
		width: auto;
		font-size: var(--fontsize-main-small, 1.3rem);
	}
	.emer_footer_link > div {
		display: block;
	}
	.emer_footer_link > div.emer_footer_link_btn {
		width: auto;
		margin: 10px 0px;
		padding: 0px;
	}
	.emer_footer_link > div.emer_footer_link_btn a {
		padding: 10px;
	}
	/*フッタ*/
	.font_size_changed .f_link_list li a{
		padding: 10px 30px 10px 10px;
	}
	.f_link_list li a {
		background: url(/img/common/arrow_red.png) no-repeat right 22px center / 10px auto #fff
	}
	div#author_info .f_info a:visited,div#author_info .f_author a:visited{
		color: #F4D83B;
	}
	div#author_info .f_info a:link , div#author_info .f_author a:link {
		color: #ffffff;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */