@charset "utf-8";

/* 足あとを非表示 */
#footstep_wrap {
	display: none !important;
}

/* 重要なお知らせ */
#top_important {
	margin: 0px 0px 40px;
	padding: 30px 40px;
	background: #fdf2f2;
}
#top_important h2 {
	margin: 0px 0px 20px;
	padding: 0px;
	color: #cc0000;
	font-size: 2.4rem;
	text-align: center;
}

#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;
	margin: 0px 0px 15px;
}
#top_important ul li:last-child {
	margin-bottom: 0px;
}
#top_important ul li > span {
	display: table-cell;
	vertical-align: top;
}
#top_important ul li > span.article_date {
	width: calc(11em + 10px);
}
#top_important ul li a {
	color: #cc0000;
}

#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 0px 0px;
}
#top_important .link_box span[class*="link_"] {
	width: 260px;
	max-width: 100%;
}
#top_important .link_box span[class*="link_"] a {
	display: block;
	border: 1px solid transparent;
	border-radius: 0;
	background: #ffffff;
	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 40px;
	padding: 30px 40px;
	background: #fffaec;
}
#main_box_emergency h2 {
	margin: 0px 0px 20px;
	padding: 0px;
	color: #333333;
	font-size: 2.4rem;
	text-align: center;
}

#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;
	margin: 0px 0px 15px;
}
#main_box_emergency ul li:last-child {
	margin-bottom: 0px;
}
#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: #333333;
	text-decoration: underline;
	cursor: pointer;
}
#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 0px 0px;
}
#main_box_emergency .btn_emer #emer_mail_open_all {
	display: inline-block;
	border: 1px solid transparent;
	border-radius: 0;
	background: #ffffff;
	color: #333333;
	font-size: 1.5rem;
	line-height: 1.8rem;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	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;
}

/* タブ */
#top_tab_title ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	border-bottom: 2px solid;
	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: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
	gap: 20px;
}
#top_tab_title ul li {
	width: 100%;
}
#top_tab_title ul li button {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid transparent;
	background: #e6e6e6;
	color: #333333;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.8rem;
	text-decoration: none;
	text-align: center;
	padding: 15px 20px;
}
#top_tab_title ul li button:hover,
#top_tab_title ul li button:focus {
	text-decoration: underline;
}
#top_tab_title ul li.tab_on button {
	background: #333333;
	color: #ffffff;
}

#top_tab_detail {
	border-bottom: 2px solid;
	padding: 30px 40px 40px;
}

/* 新着情報（件数） */
.release_day {
	margin-bottom: 1em;
	font-size: 1.5rem;
}
.release_day span {
	display: inline-block;
	margin-right: 1em;
}

/* 新着情報（リスト） */
.top_tab_detail_list ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.top_tab_detail_list ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0px 0px 15px;
}
.top_tab_detail_list ul li:last-child {
	margin-bottom: 0px;
}
.top_tab_detail_list ul li > span {
	display: table-cell;
	vertical-align: top;
}
.top_tab_detail_list ul li > span.article_date {
	width: calc(11em + 10px);
}

/* 新着情報（情報はありません） */
.top_tab_detail_box p.no_data {}

/* 新着情報（newアイコン） */
.top_tab_detail_list img.icon_new {
	vertical-align: baseline;
	margin-left: 0.5em;
}

/* 新着情報（一覧・RSS） */
.top_tab_detail_box .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 0px 0px;
}
.top_tab_detail_box .link_box span[class*="link_"] {
	width: 260px;
	max-width: 100%;
}
.top_tab_detail_box .link_box span[class*="link_"] a {
	display: block;
	border: 1px solid transparent;
	border-radius: 0;
	background: #e6e6e6;
	color: #333333;
	font-size: 1.5rem;
	line-height: 1.8rem;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
}
.top_tab_detail_box .link_box span[class*="link_"] a:hover,
.top_tab_detail_box .link_box span[class*="link_"] a:focus {
	text-decoration: underline;
}

/* トピックス */
.lettering_box {
	width: 100%;
	display: table;
	margin: 0px 0px 20px;
}
.lettering_box:last-child {
	margin-bottom: 0px;
}
.lettering_box > div {
	display: table-cell;
	vertical-align: top;
}

.lettering_box > div.lettering_box_text > div {
	margin-bottom: 0.5em;
}
.lettering_box > div.lettering_box_text > div:last-child {
	margin-bottom: 0px;
}

.lettering_box > div.lettering_box_img {
	width: 200px;
	padding-right: 20px;
}
.lettering_box > div.lettering_box_img div {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 200 / 150;
	overflow: hidden;
	background: #f6f6f6;
}
.lettering_box > div.lettering_box_img div:empty {
	background: url("/img/common/noimage.png") no-repeat center center transparent;
	background-size: contain;
}
.lettering_box > div.lettering_box_img div img {
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	   object-fit: contain;
	-o-object-position: center;
	   object-position: center;
}

/* トピックス（サムネイルなし） */
#lettering + .topics_no_image_list {
	margin-top: 30px;
}

/* ミニカレンダー */
#top_calendar_detail {
	width: 100%;
}
#top_calendar_detail ul {
	margin: 0px 0px 20px;
	padding: 0px;
	list-style: none;
	width: 100%;
	display: table;
}
#top_calendar_detail ul li {
	display: table-cell;
	vertical-align: middle;
}
#top_calendar_detail ul li.calendar_index_last {
	width: 4em;
	text-align: left;
}
#top_calendar_detail ul li.calendar_index_next {
	width: 4em;
	text-align: right;
}
#top_calendar_detail ul li.calendar_index_now {
	text-align: center;
}

table#top_calendar_table {
	width: 100%;
	border: 1px solid;
	border-collapse: collapse;
}
table#top_calendar_table th {
	border: 1px solid;
	font-weight: normal;
	text-align: center;
	padding: 10px 0px;
	font-size: 80%;
}
table#top_calendar_table td {
	border: 1px solid;
	text-align: center;
	padding: 10px 0px;
}
table#top_calendar_table td a {
	display: block;
}

.cal_sun {
	color: #990000;
	background-color: #ffdde6;
}
.cal_mon,.cal_tue,.cal_wed,.cal_thu,.cal_fri {
	background-color: #f5f5f5;
}
.cal_sat {
	color: #000099;
	background-color: #ccddff;
}
.cal_hol {
	background-color: #ffdde6;
}
.cal_today {
	background-color: #ffff80;
}

#top_event_today {
	margin-top: 30px;
}

/* 注目ワード */
#search_trend_word {
	margin: 40px 0px 0px;
}
#search_trend_word h2 {
	margin: 0px 0px 10px;
	padding: 0px;
	font-size: 2rem;
}
#search_trend_word p {
	margin: 0px;
	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;
	gap: 10px;
}
#search_trend_word p a {
	display: inline-block;
	vertical-align: top;
	margin: 0px;
	padding: 5px 20px;
	border: 1px solid transparent;
	background: #e6e6e6;
	color: var(--textlink-link, #0d59b7);
	text-decoration: underline;
	cursor: pointer;
}
#search_trend_word p a:hover,
#search_trend_word p a:focus {
	text-decoration: none;
}

/* さがすメニュー */
.top_search_menu_list {
	margin: 40px 0px 0px;
}
.top_search_menu_list ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 20px;
}
.top_search_menu_list ul li {
	width: 100%;
}
.top_search_menu_list ul li a {
	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;
	width: 100%;
	height: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid transparent;
	background: #e6e6e6;
	color: #333333;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.8rem;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px;
}
.top_search_menu_list ul li a:hover,
.top_search_menu_list ul li a:focus {
	text-decoration: underline;
}

/* リンク */
.top_linklist {
	margin: 40px 0px 0px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 20px;
}

.top_linklist_box {
	width: 100%;
	border: 2px solid;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.top_linklist_box h2 {
	background: #333333;
	color: #ffffff;
	font-size: 1.8rem;
	margin: 0px;
	padding: 15px 20px;
}
.top_linklist_box ul {
	margin: 0px;
	padding: 20px 20px 20px 40px;
}
.top_linklist_box ul li {
	margin-bottom: 10px;
}
.top_linklist_box ul li:last-child {
	margin-bottom: 0px;
}

/* 人口・世帯数 */
.top_jinkou {
	margin: 40px 0px 0px;
}
.top_jinkou h2 {
	margin: 0px 0px 20px;
	padding: 0px;
	font-size: 2rem;
}

.top_jinkou_list {
	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;
	gap: 10px 20px;
}
.top_jinkou_list dl {
	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;
	margin: 0px;
	padding: 0px;
}
.top_jinkou_list dl dt {
	display: inline-block;
	vertical-align: top;
	margin: 0px;
	padding: 0px;
}
.top_jinkou_list dl dd {
	display: inline-block;
	vertical-align: top;
	margin: 0px;
	padding: 0px;
}

/* 時計 */
.top_tokei {
	margin: 40px 0px 0px;
}
.top_tokei h2 {
	margin: 0px 0px 20px;
	padding: 0px;
	font-size: 2rem;
}

.top_tokei_img {
	width: 320px;
	height: 240px;
	position: relative;
}

#tokei_photo {
	width: 320px;
	height: 240px;
	position: relative;
	overflow: hidden;
}
#tokei_photo .clock-image{
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
	transition: opacity 1.0s ease-in-out;

}
#tokei_photo .clock-image.active{
	opacity: 1;
}

#tokei_time {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	font-size: 3rem;
	font-weight: bold;
	line-height: 1;
	text-shadow: 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff,
		0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff,
		0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff;
}

/* カウントダウン */
.count_down_box_wrap {
	margin: 40px 0px 0px;
	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: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 30px;
}
.count_down_box {
	width: calc(50% - 15px);
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	background: #f6f6f6;
	padding: 20px;
}

.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: 200px;
}
.count_down_box2 > span.count_img > span {
	display: block;
}
.count_down_box2 > span.count_img > span img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

.count_down_box2 > span.count_txt {
	width: calc(100% - 220px);
}
.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: #cc0000;
	text-align: right;
}
.count_down_box2 > span.count_txt > span.count_day span {
	font-size: 3rem;
	font-weight: bold;
	line-height: 1;
	margin-left: 0.5em;
	margin-right: 0.25em;
}

/* バナー広告 */
ul.banner_list {
	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;
	gap: 20px;
}
ul.banner_list li {
	width: calc(25% - 15px);
}
ul.banner_list li img {
	width: 100%;
	height: auto;
	vertical-align: top;
}


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	/* 重要なお知らせ */
	#top_important {
		padding: 30px 20px;
	}
	#top_important h2 {
		font-size: 2rem;
	}

	#top_important ul li {
		width: auto;
		display: block;
	}
	#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;
	}

	/* 防災メール連携（JavaScript） */
	#main_box_emergency .box_top_emer {
		padding: 30px 20px;
	}
	#main_box_emergency h2 {
		font-size: 2rem;
	}

	#main_box_emergency ul li {
		width: auto;
		display: block;
	}
	#main_box_emergency ul li > span {
		display: block;
	}
	#main_box_emergency ul li > span.emer_date {
		width: auto;
	}

	#main_box_emergency .btn_emer #emer_mail_open_all {
		font-size: 1.3rem;
	}

	/* タブ */
	#top_tab_title ul {
		gap: 5px;
	}
	#top_tab_title ul li button,
	#top_tab_title ul li.tab_on button {
		font-size: 1.4rem;
		padding: 15px 10px;
	}

	#top_tab_detail {
		padding: 30px 20px;
	}
	#top_tab_detail .acc_title + input[id*="acc_ttl_label"] + * {
		display: block;
	}

	/* タブを開閉式に変更 */
	#top_tab_title {
		display: none;
	}

	#top_tab_detail {
		padding: 0px;
		border-bottom: none;
	}

	.top_tab_detail_box {
		display: block !important;
	}
	.top_tab_detail_box:nth-child(n+2) {
		margin-top: 10px;
	}
	.top_tab_detail_box h2.acc_title {
		width: auto;
		height: auto;
		clip: auto;
		overflow: visible;
		margin: 0px;
		padding: 15px 20px;
		font-size: 1.8rem;
		font-weight: bold;
		line-height: 1.4;
		background: #e6e6e6;
		color: #333333;
	}
	.top_tab_detail_box h2.acc_title label[for*="acc_ttl_label"],
	.top_tab_detail_box h2.acc_title.accordion .accordion_icon {
		margin: -15px -20px; /* h2 の padding の値をマイナスにして指定する */
		padding: 15px 20px;  /* h2 の padding と同じ値を指定する */
		padding-right: 40px;
		background-position: right 20px top 50%;
	}

	.top_tab_detail_box2 {
		padding: 20px;
	}

	#top_tab_detail .acc_title + input[id*="acc_ttl_label"] + * {
		display: none;
	}
	#top_tab_detail .acc_title + input[id*="acc_ttl_label"]:checked + * {
		display: block;
	}

	/* 新着情報（件数） */
	.release_day {
		font-size: 1.3rem;
	}

	/* 新着情報（リスト） */
	.top_tab_detail_list ul li {
		width: auto;
		display: block;
		position: relative;
	}
	.top_tab_detail_list ul li > span {
		display: block;
	}
	.top_tab_detail_list ul li > span.article_date {
		width: auto;
	}

	/* 新着情報（一覧・RSS） */
	.top_tab_detail_box .link_box span[class*="link_"] a {
		font-size: 1.3rem;
	}

	/* トピックス */
	.lettering_box > div.lettering_box_img {
		width: 120px;
	}

	/* さがすメニュー */
	.top_search_menu_list ul {
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		gap: 15px;
	}
	.top_search_menu_list ul li {
		width: 100%;
	}
	.top_search_menu_list ul li a {
		font-size: 1.6rem;
	}

	/* リンク */
	.top_linklist {
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		gap: 15px;
	}
	.top_linklist_box {
		width: 100%;
	}

	.top_linklist_box h2 label[for*="acc_ttl_label"],
	.top_linklist_box h2.acc_title.accordion .accordion_icon {
		margin: -15px -20px; /* h2 の padding の値をマイナスにして指定する */
		padding: 15px 20px;  /* h2 の padding と同じ値を指定する */
		padding-right: 40px;
		background-position: right 20px top 50%;
		background-image: url("/img/sp/acc_open_white.png");
	}
	.top_linklist_box h2.acc_open label[for*="acc_ttl_label"],
	.top_linklist_box h2.acc_title.accordion.acc_open .accordion_icon {
		background-image: url("/img/sp/acc_close_white.png");
	}

	/* カウントダウン */
	.count_down_box_wrap {
		display: block;
	}
	.count_down_box {
		width: auto;
	}
	.count_down_box:nth-child(n+2) {
		margin-top: 15px;
	}

	.count_down_box2 > span.count_img {
		width: 120px;
	}
	.count_down_box2 > span.count_txt {
		width: calc(100% - 140px);
	}

	/* バナー広告 */
	ul.banner_list {
		gap: 10px;
	}
	ul.banner_list li {
		width: calc(50% - 5px);
		max-width: 200px;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */
.tpl_top_index #mymainback {
	padding-top: 15px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}
.tpl_top_index #main_a > *:last-child {
	margin-bottom: 0px;
}

#top_important {
	margin: 10px 0px 0px;
	padding: 20px 30px;
	border: 1px solid #cc0000;
	border-radius: 8px;
	background: #ffffff;
	display: grid;
	grid-template-columns: 186px 1fr;
	gap: 22px 38px;
}
#top_important .top_important_ttl {
	display: contents;
}
#top_important h2 {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
	margin: 0px;
	padding: 0px 0px 0px 36px;
	min-height: 28px;
	background: url("/img/common/dt_icon_important.png") no-repeat left top / 28px 28px;
	color: #cc0000;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.4em;
	letter-spacing: 0.1rem;
	text-align: left;
	white-space: nowrap;
}
#top_important .top_important_list {
	display: contents;
}
#top_important ul {
	grid-column: 2;
	grid-row: 1;
}
#top_important ul li {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 40px;
	margin: 0px 0px 20px;
	color: #cc0000;
	font-size: 1.6rem;
	line-height: 1em;
}
#top_important ul li > span {
	display: block;
}
#top_important ul li > span.article_date {
	flex: 0 0 auto;
	width: auto;
	font-size: 1.5rem;
	line-height: 1.0667em;
}
#top_important ul li > span.article_title {
	flex: 1 1 auto;
	min-width: 0;
}
#top_important ul li a {
	color: #cc0000;
	text-decoration: underline;
}
#top_important ul li a:hover,
#top_important ul li a:focus {
	text-decoration: none;
}
#top_important .link_box {
	grid-column: 1 / -1;
	grid-row: 2;
	justify-content: flex-end;
	align-items: center;
	gap: 10px 18px;
	margin: 0px;
	padding: 0px;
}
#top_important .link_box span[class*="link_"] {
	width: auto;	display: flex;
}
#top_important .link_box span[class*="link_"] a,
.tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a,
#top_topics .link_box span[class*="link_"] a,
.top_jinkou_link a {
	display: inline-block;
	border: 0px;
	background: url("/img/common/icon_caret_circle.png") no-repeat right center / 24px 24px transparent;
	color: #333333;
	font-size: 1.4rem;
	line-height: 1.7143em;
	text-decoration: none;
	margin: 0px;
	padding: 0px 30px 0px 0px;
	text-align: left;
}
#top_important .link_box span[class*="link_"] a:hover,
#top_important .link_box span[class*="link_"] a:focus,
.tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a:hover,
.tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a:focus,
#top_topics .link_box span[class*="link_"] a:hover,
#top_topics .link_box span[class*="link_"] a:focus {
	text-decoration: underline;
}

.tpl_top_index #top_tab_wrap {
	margin: 80px 0px 0px;
}
.tpl_top_index #top_tab_title ul {
	border-bottom: 2px solid #008471;
	gap: 40px;
	align-items: stretch;
}
.tpl_top_index #top_tab_wrap:has(#top_tab_title ul li:nth-child(2).tab_on) #top_tab_title ul {
	border-bottom-color: #00539e;
}
.tpl_top_index #top_tab_title ul li {
	width: 520px;
	flex: 0 1 520px;
}
.tpl_top_index #top_tab_title ul li button {
	height: 100%;
	min-height: 60px;
	border: 0px;
	border-radius: 8px 8px 0px 0px;
	background: #f6f6f6;
	color: #333333;
	font-size: 2rem;
	font-weight: normal;
	line-height: 1em;
	letter-spacing: 0.1rem;
	padding: 20px 10px;
}
.tpl_top_index #top_tab_title ul li button:hover,
.tpl_top_index #top_tab_title ul li button:focus {
	text-decoration: none;
	opacity: 0.7;
}
.tpl_top_index #top_tab_title ul li.tab_on button {
	background: #008471;
	color: #ffffff;
	opacity: 1;
}
.tpl_top_index #top_tab_title ul li:nth-child(2).tab_on button {
	background: #00539e;
}
.tpl_top_index #top_tab_detail {
	border-bottom: 0px;
	padding: 40px 0px 0px;
}
.tpl_top_index .top_tab_detail_list {
	height: 304px;
	overflow-y: auto;
	scrollbar-gutter: stable;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar {
	width: 20px;
	border: 1px solid #eae9e9;
	border-radius: 100px;
	background: #ffffff;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-track {
	background: transparent;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-thumb {
	border: 5px solid transparent;
	border-radius: 100px;
	background: #949494 padding-box;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-button:vertical:start:decrement,
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-button:vertical:end:increment {
	display: block;
	height: 17px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-size: 4.5px 7.5px;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-button:vertical:start:increment,
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-button:vertical:end:decrement {
	display: none;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-button:vertical:start:decrement {
	background-image: linear-gradient(to top left, #949494 50%, transparent 50%), linear-gradient(to top right, #949494 50%, transparent 50%);
	background-position: 5.5px 8px, 10px 8px;
}
.tpl_top_index .top_tab_detail_list::-webkit-scrollbar-button:vertical:end:increment {
	background-image: linear-gradient(to bottom left, #949494 50%, transparent 50%), linear-gradient(to bottom right, #949494 50%, transparent 50%);
	background-position: 5.5px 1.5px, 10px 1.5px;
}
.tpl_top_index .top_tab_detail_list ul {
	width: 1030px;
	max-width: calc(100% - 30px);
}
.tpl_top_index .top_tab_detail_list ul li {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	margin: 0px;
	padding: 24px 16px;
	border-bottom: 1px solid rgba(33, 179, 75, 0.5);
	background: #ffffff;
}
.tpl_top_index #top_tab_detail > .top_tab_detail_box:nth-child(2) .top_tab_detail_list ul li {
	border-bottom-color: rgba(0, 83, 158, 0.5);
}
.tpl_top_index .top_tab_detail_list ul li > span.article_date {
	display: block;
	flex: 0 0 auto;
	order: 0;
	width: auto;
	margin-right: 30px;
	color: #333333;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.75em;
}
.tpl_top_index .top_tab_detail_list ul li > span.article_title {
	display: contents;
}
.tpl_top_index .top_tab_detail_list ul li > span.article_title > a {
	display: block;
	flex: 1 1 0px;
	order: 1;
	min-width: 0;
	color: #333333;
	font-size: 1.8rem;
	line-height: 1.5556em;
	text-align: justify;
	text-decoration: underline;
}
.tpl_top_index .top_tab_detail_list ul li > span.article_title > a:visited {
	color: var(--textlink-visited, #660099);
}
.tpl_top_index .top_tab_detail_list ul li > span.article_title > a:hover,
.tpl_top_index .top_tab_detail_list ul li > span.article_title > a:focus {
	text-decoration: none;
}
.tpl_top_index .top_tab_detail_list img.icon_new {
	flex: 0 0 auto;
	order: -1;
	width: 39px;
	height: 18px;
	margin: 5px 8px 0px 0px;
	vertical-align: top;
}
.tpl_top_index .top_tab_detail_box .link_box,
#top_topics .link_box {
	justify-content: flex-end;
	align-items: center;
	gap: 10px 40px;
	padding: 40px 0px 0px;
}
.tpl_top_index .top_tab_detail_box .link_box span[class*="link_"],
#top_topics .link_box span[class*="link_"] {
	width: auto;	display: flex;
}
.tpl_top_index .top_tab_detail_box p.no_data {
	margin: 0px;
}

.tpl_top_index .count_down_box_wrap {
	margin: 80px 0px 0px;
	gap: 40px;
}
.tpl_top_index .count_down_box {
	width: calc(50% - 20px);
	padding: 16px 20px 16px 16px;
	border-radius: 16px;
	background: #e8eef6;
}
.tpl_top_index .count_down_box2 {
	gap: 24px;
	align-items: stretch;
}
.tpl_top_index .count_down_box2 > span.count_img {
	flex: 0 0 210px;
	width: 210px;
}
.tpl_top_index .count_down_box2 > span.count_img > span {
	aspect-ratio: 210 / 140;
	overflow: hidden;
	border-radius: 8px;
}
.tpl_top_index .count_down_box2 > span.count_img > span img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tpl_top_index .count_down_box2 > span.count_txt {
	flex: 1 1 auto;
	width: auto;
	display: flex;
	flex-direction: column;
	padding: 6px 0px 6px;
}
.tpl_top_index .count_down_box2 > span.count_txt > span.count_title {
	color: #333333;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.5em;
}
.tpl_top_index .count_down_box2 > span.count_txt > span.count_title a {
	color: #333333;
	text-decoration: underline;
}
.tpl_top_index .count_down_box2 > span.count_txt > span.count_title a:hover,
.tpl_top_index .count_down_box2 > span.count_txt > span.count_title a:focus {
	text-decoration: none;
}
.tpl_top_index .count_down_box2 > span.count_txt > span.count_comment {
	margin-top: 8px;
	color: #333333;
	font-size: 1.4rem;
	line-height: 1.5em;
}
.tpl_top_index .count_down_box2 > span.count_txt > span.count_day {
	margin-top: auto;
	padding-top: 23px;
	color: #333333;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1em;
	text-align: right;
}
.tpl_top_index .count_down_box2 > span.count_txt > span.count_day span {
	margin: 0px 8px;
	color: #cc0000;
	font-size: 2.8rem;
	line-height: 1em;
}

#top_topics {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0px 40px;
	margin: 80px 0px 0px;
}
#top_topics #top_photo_wrap {
	flex: 0 0 240px;
	width: 240px;
	height: auto;
	margin: 0px;
	padding: 0px;
	background: none;
}
#top_topics #top_photo,
#top_topics #top_photo_list {
	width: auto;
	height: auto;
	margin: 0px;
	padding: 0px;
	overflow: visible;
}
#top_topics #top_photo_list .swiper-wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: auto;
	height: auto;
	transform: none;
}
#top_topics #top_photo_list .photo {
	display: flex;
	flex-direction: column;
	width: 240px;
	height: 500px;
	overflow: hidden;
	border-radius: 8px;
	background: #f6f6f6;
}
#top_topics #top_photo_list .photo .photo_img {
	display: block;
	flex: 0 0 340px;
	height: 340px;
	background: #f5f5f5;
}
#top_topics #top_photo_list .photo .photo_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#top_topics #top_photo_list .photo .photo_text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 20px 24px;
	color: #333333;
}
#top_topics #top_photo_list .photo .photo_title {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1em;
	letter-spacing: 0.2rem;
}
#top_topics #top_photo_list .photo .photo_caption {
	position: static;
	display: block;
	margin-top: 10px;
	padding: 0px;
	background: none;
	font-size: 1.4rem;
	line-height: 1.5714em;
	text-align: left;	text-decoration: underline;
}
#top_topics #top_photo_list .photo .photo_caption span {
	color: inherit !important;
}
#top_topics #top_photo_list .photo .photo_link {
	display: block;
	margin-top: auto;
	padding: 0px 0px 0px 30px;
	border-radius: 8px;
	background: #ffffff;
	color: #333333;
	font-size: 1.4rem;
	line-height: 2.8571em;
	text-align: left;
	text-decoration: none;
}
#top_topics #top_photo_list .photo .photo_link::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-left: 13px;
	vertical-align: middle;
	background: url("/img/common/icon_caret_circle.png") no-repeat center center / 24px 24px;
}
#top_topics #top_photo_list .photo .photo_link:hover,
#top_topics #top_photo_list .photo .photo_link:focus {
	opacity: 0.7;
}
#top_topics #top_tab_detail_2 {
	flex: 1 1 0px;
	min-width: 0;
}
#top_topics #top_tab_detail_2 .top_tab_detail_box2 {
	padding: 0px;
}
#top_topics #lettering {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
#top_topics .lettering_box {
	display: flex;
	flex-direction: column;
	width: 240px;
	height: 500px;
	margin: 0px;
	overflow: hidden;
	border-radius: 8px;
	background: #f6f6f6;
}
#top_topics .lettering_box > div {
	display: block;
}
#top_topics .lettering_box > div.lettering_box_img {
	flex: 0 0 340px;
	width: 240px;
	height: 340px;
	padding: 0px;
}
#top_topics .lettering_box > div.lettering_box_img div {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	background: #f5f5f5;
}
#top_topics .lettering_box > div.lettering_box_img div:empty {
	background: url("/img/top/noimage_topics.png") no-repeat center center / cover #e8f3f9;
}
#top_topics .lettering_box > div.lettering_box_img div a {
	display: block;
	width: 100%;
	height: 100%;
}
#top_topics .lettering_box > div.lettering_box_img div a:hover,
#top_topics .lettering_box > div.lettering_box_img div a:focus {
	opacity: 0.7;
}
#top_topics .lettering_box > div.lettering_box_img div img {
	display: block;
	object-fit: contain;
}
#top_topics .lettering_box > div.lettering_box_text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 30px 24px 24px;
}
#top_topics .lettering_box > div.lettering_box_text > div {
	margin: 0px;
}
#top_topics .lettering_box > div.lettering_box_text > div.article_title {
	order: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	max-height: 3.75em;
	font-size: 1.6rem;
	line-height: 1.875em;
	text-align: justify;
}
#top_topics .lettering_box > div.lettering_box_text > div.article_title a {
	color: #333333;
	text-decoration: underline;
}
#top_topics .lettering_box > div.lettering_box_text > div.article_title a:visited,
#top_important ul li a:visited {
	color: var(--textlink-visited, #660099);
}
#top_topics .lettering_box > div.lettering_box_text > div.article_title a:hover,
#top_topics .lettering_box > div.lettering_box_text > div.article_title a:focus {
	text-decoration: none;
}
#top_topics .lettering_box > div.lettering_box_text > div.lettering_detail {
	display: none;
}
#top_topics .lettering_box > div.lettering_box_text > div.article_date {
	order: 1;
	margin-top: auto;
	color: #535559;
	font-size: 1.4rem;
	line-height: 1em;
}

#top_banner_2_list {
	margin: 80px 0px 0px;
}
#top_banner_2_list .swiper,
#top_banner_2_list .swiper-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0px;
	padding: 0px;
	list-style: none;
	overflow: visible;
	transform: none;
}
#top_banner_2_list .swiper-slide {
	width: 100%;
	margin: 0px;
	overflow: hidden;
	border-radius: 8px;
}
#top_banner_2_list .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
}
#top_banner_2_list .swiper-slide a:hover img,
#top_banner_2_list .swiper-slide a:focus img {
	opacity: 0.7;
}

#top_about {
	margin: 80px 0px 0px;
}
#top_banner_3_list.banner_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 36px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#top_banner_3_list.banner_list li {
	width: auto;
	margin: 0px;
	padding: 0px;
}
#top_banner_3_list.banner_list li > a,
#top_banner_3_list.banner_list li:not(:has(> a)) {
	display: flex;
	align-items: stretch;
	min-height: 120px;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid #00809a;
	border-radius: 8px;
	background: #ffffff;
	color: #333333;
	text-decoration: none;
}
#top_banner_3_list.banner_list li > a:hover,
#top_banner_3_list.banner_list li > a:focus {
	opacity: 0.7;
}
#top_banner_3_list.banner_list .banner_img {
	flex: 0 0 240px;
	width: 240px;
	height: 118px;
	align-self: center;
}
#top_banner_3_list.banner_list .banner_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#top_banner_3_list.banner_list .banner_title {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-size: 1.6rem;
	line-height: 1.5em;
	letter-spacing: 0.2rem;
	text-align: center;
}

.tpl_top_index .top_jinkou {
	margin: 40px 0px 0px;
	border-top: 1px solid rgba(0, 128, 154, 0.5);
}
.tpl_top_index .top_jinkou_box {
	display: grid;
	grid-template-columns: 169.5px 1fr auto;
	grid-template-areas: "ttl list link" "date list link";
	grid-template-rows: auto 1fr;
	padding: 0px 40px;
	color: #333333;
}
.tpl_top_index .top_jinkou_ttl {
	grid-area: ttl;
	padding-top: 25.5px;
}
.tpl_top_index .top_jinkou h2 {
	margin: 0px;
	padding: 0px;
	color: #333333;
	font-size: 1.6rem;
	font-weight: normal;
	line-height: 1.5em;
}
.tpl_top_index .top_jinkou_date {
	grid-area: date;
	margin-top: 2px;
	color: #535559;
	font-size: 0.9rem;
	line-height: 1em;
	white-space: nowrap;
}
.tpl_top_index .top_jinkou_list {
	grid-area: list;
	align-items: flex-start;
	gap: 0px 20px;
	min-width: 0;
	padding-top: 23px;
}
.tpl_top_index .top_jinkou_list p {
	margin: 0px;
	min-height: 40px;
	box-sizing: border-box;
	color: #333333;
	font-size: 1.6rem;
	line-height: 2.5em;
}
.tpl_top_index .top_jinkou_list p.top_jinkou_all {
	padding-left: 50px;
	background: url("/img/top/icon_jinkou.png") no-repeat left top / 34px 40px;
}
.tpl_top_index .top_jinkou_list p.top_jinkou_setai {
	padding-left: 60px;
	background: url("/img/top/icon_setai.png") no-repeat left top / 40px 40px;
	font-size: 1.7rem;
	line-height: 2.3529em;
}
.tpl_top_index .top_jinkou_sex > span {
	display: inline-block;
}
.tpl_top_index .top_jinkou_num {
	white-space: nowrap;
}
.tpl_top_index .top_jinkou_link {
	grid-area: link;
	margin: 0px;
	padding: 31px 0px 0px 12px;
}
.tpl_top_index .top_jinkou_link a {
	padding-right: 32px;
	color: #333333;
	font-size: 1.3rem;
	line-height: 1.8462em;
	text-decoration: underline;
}
.tpl_top_index .top_jinkou_link a:hover,
.tpl_top_index .top_jinkou_link a:focus {
	text-decoration: none;
}

.color_change #top_important h2,
.color_change .top_jinkou_list p,
.color_change #top_topics .lettering_box > div.lettering_box_img div:empty {
	background-image: none !important;
}
.color_change #top_important .link_box span[class*="link_"] a,
.color_change .tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a,
.color_change #top_topics .link_box span[class*="link_"] a,
.color_change .tpl_top_index .top_jinkou_link a {
	background: none !important;
	padding-right: 0px;
}
.color_change #top_important .link_box span[class*="link_"] a::after,
.color_change .tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a::after,
.color_change #top_topics .link_box span[class*="link_"] a::after,
.color_change .tpl_top_index .top_jinkou_link a::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-left: 6px;
	vertical-align: middle;
	border-radius: 12px;
	background: url("/img/common/icon_caret_circle.png") no-repeat center center / 24px 24px #ffffff !important;
}
.color_change #top_topics #top_photo_list .photo .photo_link::after {
	background-color: #ffffff !important;
	border-radius: 12px;
}
.color_change .tpl_top_index .top_jinkou_list p {
	position: relative;
}
.color_change .tpl_top_index .top_jinkou_list p::before {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	width: 34px;
	height: 40px;
	border-radius: 4px;
	background: url("/img/top/icon_jinkou.png") no-repeat center center / 34px 40px #ffffff !important;
}
.color_change .tpl_top_index .top_jinkou_list p.top_jinkou_setai::before {
	width: 40px;
	background: url("/img/top/icon_setai.png") no-repeat center center / 40px 40px #ffffff !important;
}
.color_change #top_topics #top_photo_list .photo .photo_link {
	border: 1px solid !important;
}
.color_change .tpl_top_index #top_tab_title ul li button {
	border: 1px solid !important;
}

@media screen and (max-width: 1080px) {
	.tpl_top_index #mymainback {
		width: auto;
		padding-top: 0px;
		margin-left: 20px;
		margin-right: 20px;
	}
	#top_important {
		display: block;
		margin: 25px 0px 0px;
		padding: 21px 21px;
	}
	#top_important h2 {
		margin: 0px 0px 40px;
		font-size: 2rem;
		white-space: normal;
	}
	#top_important ul li {
		display: block;
		margin: 0px 0px 20px;
	}
	#top_important ul li > span {
		display: block;
		padding: 0px;
	}
	#top_important ul li > span.article_date {
		width: auto;
		margin-bottom: 8px;
		font-size: 1.5rem;
	}
	#top_important ul li > span.article_title {
		font-size: 1.6rem;
		line-height: 1.5em;
		text-align: justify;
	}
	#top_important .link_box {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
		padding: 25px 0px 0px;
	}
	#top_important .link_box span[class*="link_"] a {
		font-size: 1.4rem;
	}
	.tpl_top_index #top_tab_wrap {
		margin-top: 40px;
	}
	.tpl_top_index #top_tab_detail {
		padding-top: 40px;
	}
	.tpl_top_index #top_tab_title ul {
		gap: 20px;
	}
	.tpl_top_index #top_tab_title ul li {
		flex: 1 1 0px;
		width: auto;
	}
	.tpl_top_index #top_tab_title ul li button {
		font-size: 1.8rem;
		padding: 21px 5px;
	}
	.tpl_top_index .top_tab_detail_list {
		height: 360px;
	}
	.tpl_top_index .top_tab_detail_list ul {
		width: auto;
		max-width: none;
		margin-right: 16px;
	}
	.tpl_top_index .top_tab_detail_list ul li {
		flex-wrap: wrap;
		padding: 24px 16px;
	}
	.tpl_top_index .top_tab_detail_list ul li > span.article_date {
		margin-right: 0px;
		line-height: 1.5em;
	}
	.tpl_top_index .top_tab_detail_list ul li > span.article_title > a {
		flex: 1 1 100%;
		margin-top: 8px;
	}
	.tpl_top_index .top_tab_detail_list img.icon_new {
		margin-top: 3px;
	}
	.tpl_top_index .top_tab_detail_box .link_box,
	#top_topics .link_box {
		flex-direction: row;
		gap: 10px 40px;
	}
	.tpl_top_index .count_down_box_wrap {
		margin-top: 40px;
		gap: 20px;
	}
	.tpl_top_index .count_down_box {
		width: 100%;
	}
	.tpl_top_index .count_down_box:nth-child(n+2) {
		margin-top: 0px;
	}
	.tpl_top_index .count_down_box2 {
		flex-direction: row;
	}
	.tpl_top_index .count_down_box2 > span.count_img {
		flex: 0 0 140px;
		width: 140px;
		margin: 0px;
	}
	.tpl_top_index .count_down_box2 > span.count_txt {
		width: auto;
		padding: 0px;
	}
	#top_topics {
		display: block;
		margin-top: 40px;
	}
	#top_topics #top_photo_wrap {
		width: auto;
		margin-bottom: 40px;
	}
	#top_topics #top_photo_list .photo,
	#top_topics .lettering_box {
		width: 100%;
		height: auto;
		background: #f6f6f6;
	}
	#top_topics #top_photo_list .photo .photo_img,
	#top_topics .lettering_box > div.lettering_box_img {
		flex: 0 0 auto;
		width: 240px;
		height: 340px;
		margin: 0px auto;
	}
	#top_topics #top_photo_list .photo .photo_text {
		align-items: center;
		padding: 20px 20px 20px;
		text-align: center;
	}
	#top_topics #top_photo_list .photo .photo_caption {
		margin-top: 21px;
		text-align: center;
	}
	#top_topics #top_photo_list .photo .photo_link {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		margin-top: 21px;
		padding: 8px 30px;
		box-sizing: border-box;
		line-height: 1.7143em;
	}
	#top_topics #lettering {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	#top_topics .lettering_box > div.lettering_box_text {
		padding: 30px 20px 27px;
	}
	#top_topics .lettering_box > div.lettering_box_text > div.article_date {
		margin-top: 22px;
	}
	#top_banner_2_list {
		margin-top: 40px;
	}
	#top_banner_2_list .swiper-slide img {
		height: 160px;
		object-fit: cover;
	}
	#top_about {
		margin-top: 40px;
	}
	#top_banner_3_list.banner_list {
		grid-template-columns: minmax(0, 275px);
		justify-content: center;
		gap: 20px;
	}
	#top_banner_3_list.banner_list li {
		width: auto;
		max-width: none;
	}
	#top_banner_3_list.banner_list li > a,
	#top_banner_3_list.banner_list li:not(:has(> a)) {
		min-height: 67px;
	}
	#top_banner_3_list.banner_list .banner_img {
		flex: 0 0 130px;
		width: 130px;
		height: 65px;
	}
	#top_banner_3_list.banner_list .banner_title {
		padding: 5px 10px;
		color: #333333;
		font-size: 1.4rem;
		letter-spacing: 0.1rem;
	}
	.tpl_top_index .top_jinkou {
		margin-top: 20px;
	}
	.tpl_top_index .top_jinkou_box {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		padding: 24px 0px 0px 20px;
	}
	.tpl_top_index .top_jinkou_ttl {
		padding: 0px;
	}
	.tpl_top_index .top_jinkou h2 {
		line-height: 1em;
	}
	.tpl_top_index .top_jinkou_date {
		order: 1;
		margin: 0px 0px 0px 4px;
	}
	.tpl_top_index .top_jinkou_list {
		order: 2;
		flex: 1 1 100%;
		flex-direction: column;
		gap: 20px;
		padding-top: 20px;
	}
	.tpl_top_index .top_jinkou_list p.top_jinkou_all {
		padding-top: 2px;
		line-height: 1.5em;
	}
	.tpl_top_index .top_jinkou_sex {
		display: block;
	}
	.tpl_top_index .top_jinkou_link {
		order: 3;
		flex: 1 1 100%;
		padding-top: 20px;
		text-align: right;
	}
}

.tpl_top_index #gnav_wrap .gnav_pc ul li[class^="gn_"] a {
	border-bottom-color: transparent;
	-webkit-transition: border-color 0.3s;
	-o-transition: border-color 0.3s;
	transition: border-color 0.3s;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_top a {
	border-bottom-color: #00809a;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_life a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_life a:focus-visible {
	border-bottom-color: #64be67;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_bousai a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_bousai a:focus-visible {
	border-bottom-color: #2ab34a;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kenko a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kenko a:focus-visible {
	border-bottom-color: #f7911d;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kosodate a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kosodate a:focus-visible {
	border-bottom-color: #f26b51;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kyoiku a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kyoiku a:focus-visible {
	border-bottom-color: #f57f2a;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_jigyo a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_jigyo a:focus-visible {
	border-bottom-color: #006fba;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_shisei a:hover,
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_shisei a:focus-visible {
	border-bottom-color: #475eaa;
}

.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_life a::before {
	background-image: url("/img/top/icon_gnav_life_pc.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_bousai a::before {
	background-image: url("/img/top/icon_gnav_bousai_pc.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kenko a::before {
	background-image: url("/img/top/icon_gnav_kenko_pc.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kosodate a::before {
	background-image: url("/img/top/icon_gnav_kosodate_pc.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kyoiku a::before {
	background-image: url("/img/top/icon_gnav_kyoiku_pc.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_jigyo a::before {
	background-image: url("/img/top/icon_gnav_jigyo_pc.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_shisei a::before {
	background-image: url("/img/top/icon_gnav_shisei_pc.png");
}

.tpl_top_index #top_category {
	display: block;
	position: relative;
	margin: 0px;
	padding: 30px 0px;
	background: #e6f2f8;
	-webkit-box-shadow: 0px 0px 0px 100vmax #e6f2f8;
	        box-shadow: 0px 0px 0px 100vmax #e6f2f8;
	-webkit-clip-path: inset(0px -100vmax);
	        clip-path: inset(0px -100vmax);
}
.tpl_top_index #top_category ul {
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(5, minmax(0px, 1fr));
	gap: 30px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.tpl_top_index #top_category ul li {
	margin: 0px;
	padding: 0px;
}
.tpl_top_index #top_category ul li a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 8px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	height: 100%;
	min-height: 120px;
	padding: 20px 10px;
	border-radius: 8px;
	background: #ffffff;
	-webkit-box-shadow: 1px 1px 4px rgba(51, 51, 51, 0.25);
	        box-shadow: 1px 1px 4px rgba(51, 51, 51, 0.25);
	color: #333333;
	font-size: 1.4rem;
	line-height: 1.5em;
	text-align: center;
	text-decoration: none;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-transition: -webkit-box-shadow 0.3s;
	transition: -webkit-box-shadow 0.3s;
	-o-transition: box-shadow 0.3s;
	transition: box-shadow 0.3s;
	transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
}
.tpl_top_index #top_category ul li a:hover,
.tpl_top_index #top_category ul li a:focus {
	-webkit-box-shadow: none;
	        box-shadow: none;
}
.tpl_top_index #top_category ul li a::before {
	content: '';
	display: block;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.tpl_top_index #top_category ul li.cat_koseki a::before {
	background-image: url("/img/common/icon_cat_koseki.png");
}
.tpl_top_index #top_category ul li.cat_kokuho a::before {
	background-image: url("/img/common/icon_cat_kokuho.png");
}
.tpl_top_index #top_category ul li.cat_zeikin a::before {
	background-image: url("/img/common/icon_cat_zeikin.png");
}
.tpl_top_index #top_category ul li.cat_gomi a::before {
	background-image: url("/img/common/icon_cat_gomi.png");
}
.tpl_top_index #top_category ul li.cat_bousaimap a::before {
	background-image: url("/img/common/icon_cat_bousaimap.png");
}
.tpl_top_index #top_category ul li.cat_iryo a::before {
	background-image: url("/img/common/icon_cat_iryo.png");
}
.tpl_top_index #top_category ul li.cat_kekkon a::before {
	background-image: url("/img/common/icon_cat_kekkon.png");
}
.tpl_top_index #top_category ul li.cat_ninshin a::before {
	background-image: url("/img/common/icon_cat_ninshin.png");
}
.tpl_top_index #top_category ul li.cat_kaigo a::before {
	background-image: url("/img/common/icon_cat_kaigo.png");
}
.tpl_top_index #top_category ul li.cat_okuyami a::before {
	background-image: url("/img/common/icon_cat_okuyami.png");
}
.tpl_top_index #top_category ul li.cat_shisetsu a::before {
	background-image: url("/img/common/icon_cat_shisetsu.png");
}
.tpl_top_index #top_category ul li.cat_kanko a::before {
	background-image: url("/img/common/icon_cat_kanko.png");
}
.tpl_top_index #top_category ul li.cat_event a::before {
	background-image: url("/img/common/icon_cat_event.png");
}
.tpl_top_index #top_category ul li.cat_furusato a::before {
	background-image: url("/img/common/icon_cat_furusato.png");
}
.tpl_top_index #top_category ul li.cat_nyusatsu a::before {
	background-image: url("/img/common/icon_cat_nyusatsu.png");
}
.color_change .tpl_top_index #top_category {
	background: transparent !important;
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}
.color_change .tpl_top_index #top_category ul li a {
	padding: 19px 9px;
	border: 1px solid currentColor !important;
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}
.color_change .tpl_top_index #top_category ul li a::before {
	border-radius: 4px;
	background-color: #ffffff !important;
}

@media screen and (max-width: 1080px) {
	.tpl_top_index #top_category {
		margin: 40px -20px 0px;
		padding: 40px 20px;
		-webkit-box-shadow: none;
		        box-shadow: none;
		-webkit-clip-path: none;
		        clip-path: none;
	}
	.tpl_top_index #top_category ul {
		grid-template-columns: repeat(3, minmax(0px, 1fr));
		gap: 10px;
		max-width: 335px;
		margin: 0px auto;
	}
	.tpl_top_index #top_category ul li a {
		min-height: 108px;
		padding: 16px 10px;
		font-size: 1.2rem;
	}
	.color_change .tpl_top_index #top_category ul li a {
		padding: 15px 9px;
	}
}

.tpl_top_index #top_sp_gnav {
	display: none;
}

@media screen and (max-width: 1080px) {
	.tpl_top_index #top_sp_gnav {
		display: block;
		margin: 40px 0px 80px;
		padding: 0px;
	}
	.tpl_top_index #top_sp_gnav > ul {
		max-width: 335px;
		margin: 0px auto;
		padding: 0px;
		list-style: none;
	}
	.tpl_top_index #top_sp_gnav > ul > li {
		--gn-color: #64be67;
		margin: 0px;
		padding: 0px;
		border: 1px solid var(--gn-color);
		border-radius: 8px;
		overflow: hidden;
	}
	.tpl_top_index #top_sp_gnav > ul > li + li {
		margin-top: 10px;
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_bousai {
		--gn-color: #2ab34a;
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_kenko {
		--gn-color: #f7911d;
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_kosodate {
		--gn-color: #f26b51;
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_kyoiku {
		--gn-color: #f57f2a;
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_jigyo {
		--gn-color: #006fba;
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_shisei {
		--gn-color: #475eaa;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_btn {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		gap: 16px;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		width: 100%;
		min-height: 58px;
		margin: 0px;
		padding: 10px 25px;
		border: none;
		background: #ffffff;
		color: #333333;
		font-size: 1.6rem;
		font-weight: bold;
		line-height: 1.125em;
		letter-spacing: 0.05em;
		text-align: left;
		cursor: pointer;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_btn:hover,
	.tpl_top_index #top_sp_gnav .sp_gnav_btn:focus-visible {
		text-decoration: underline;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_btn::before {
		content: '';
		display: block;
		-ms-flex-negative: 0;
		    flex-shrink: 0;
		width: 32px;
		height: 32px;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: contain;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_btn::after {
		content: '';
		display: block;
		-ms-flex-negative: 0;
		    flex-shrink: 0;
		width: 22px;
		height: 22px;
		margin-left: auto;
		border-radius: 50%;
		background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff)) center center / 11px 2px no-repeat, -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff)) center center / 2px 11px no-repeat, var(--gn-color);
		background: linear-gradient(#ffffff, #ffffff) center center / 11px 2px no-repeat, linear-gradient(#ffffff, #ffffff) center center / 2px 11px no-repeat, var(--gn-color);
	}
	.tpl_top_index #top_sp_gnav > ul > li.sp_gnav_open > .sp_gnav_btn::after {
		background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff)) center center / 11px 2px no-repeat, var(--gn-color);
		background: linear-gradient(#ffffff, #ffffff) center center / 11px 2px no-repeat, var(--gn-color);
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_life > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_life.png");
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_bousai > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_bousai.png");
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_kenko > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_kenko.png");
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_kosodate > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_kosodate.png");
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_kyoiku > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_kyoiku.png");
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_jigyo > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_jigyo.png");
	}
	.tpl_top_index #top_sp_gnav > ul > li.gn_shisei > .sp_gnav_btn::before {
		background-image: url("/img/common/icon_gnav_shisei.png");
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_sub {
		display: none;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		gap: 8px;
		margin: 0px;
		padding: 10px;
		border-radius: 0px 0px 7px 7px;
		background: var(--gn-color);
		list-style: none;
	}
	.tpl_top_index #top_sp_gnav > ul > li.sp_gnav_open > .sp_gnav_sub {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_sub li {
		max-width: 100%;
		margin: 0px;
		padding: 0px;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_sub li a {
		display: block;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		min-height: 42px;
		padding: 10px 16px;
		border-radius: 8px;
		background: #ffffff;
		color: #333333;
		font-size: 1.2rem;
		line-height: 1.75em;
		text-decoration: none;
	}
	.tpl_top_index #top_sp_gnav .sp_gnav_sub li a:hover,
	.tpl_top_index #top_sp_gnav .sp_gnav_sub li a:focus {
		text-decoration: underline;
	}

	.color_change .tpl_top_index #top_sp_gnav .sp_gnav_btn::before {
		border-radius: 4px;
		background-color: #ffffff !important;
	}
	.color_change .tpl_top_index #top_sp_gnav > ul > li,
	.color_change .tpl_top_index #top_sp_gnav .sp_gnav_sub li a {
		border: 1px solid currentColor !important;
	}
	.color_change .tpl_top_index #top_sp_gnav .sp_gnav_btn,
	.color_change .tpl_top_index #top_sp_gnav .sp_gnav_sub {
		background: transparent !important;
	}
	.color_change .tpl_top_index #top_sp_gnav .sp_gnav_btn::after {
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		border: 1px solid currentColor !important;
		background: -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)) center center / 11px 2px no-repeat, -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)) center center / 2px 11px no-repeat !important;
		background: linear-gradient(currentColor, currentColor) center center / 11px 2px no-repeat, linear-gradient(currentColor, currentColor) center center / 2px 11px no-repeat !important;
	}
	.color_change .tpl_top_index #top_sp_gnav > ul > li.sp_gnav_open > .sp_gnav_btn::after {
		background: -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)) center center / 11px 2px no-repeat !important;
		background: linear-gradient(currentColor, currentColor) center center / 11px 2px no-repeat !important;
	}
}

@media not screen and (max-width: 1080px) {
	.tpl_top_index #main {
		letter-spacing: 0px;
	}
	#top_important h2 {
		min-height: 24px;
		padding: 4px 0px 0px 36px;
		line-height: 1em;
		white-space: normal;
	}
	#top_important ul li > span.article_date {
		line-height: 1em;
	}
	#top_important .link_box span[class*="link_"] a,
	.tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a,
	#top_topics .link_box span[class*="link_"] a {
		padding: 5px 30px 5px 0px;
		line-height: 1em;
	}
	.tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a,
	#top_topics .link_box span[class*="link_"] a {
		padding-right: 34px;
	}
	.color_change #top_important .link_box span[class*="link_"] a,
	.color_change .tpl_top_index .top_tab_detail_box .link_box span[class*="link_"] a,
	.color_change #top_topics .link_box span[class*="link_"] a,
	.color_change .tpl_top_index .top_jinkou_link a {
		padding: 0px;
	}
	.tpl_top_index .top_tab_detail_list ul li {
		padding: 24px 16px 23px;
	}
	.tpl_top_index .top_tab_detail_list ul li > span.article_date {
		margin-top: 2px;
		line-height: 1.5em;
	}
	#top_topics #top_photo_list .photo .photo_link {
		display: flex;
		align-items: center;
		box-sizing: border-box;
		min-height: 40px;
		padding-top: 8px;
		padding-bottom: 8px;
		line-height: 1em;
	}
	#top_topics #top_photo_list .photo,
	#top_topics .lettering_box {
		height: auto;
		min-height: 500px;
	}
	#top_topics .lettering_box > div.lettering_box_text {
		padding-top: 22px;
	}
	#top_topics .lettering_box > div.lettering_box_text > div.article_title {
		flex-shrink: 0;
		margin-bottom: 0.625em;
		line-break: strict;
	}
	#top_banner_3_list.banner_list .banner_title {
		line-height: 1em;
	}
	.tpl_top_index .top_jinkou h2 {
		letter-spacing: 0px;
	}
	.tpl_top_index .top_jinkou_list {
		column-gap: 40px;
	}
	.tpl_top_index .top_jinkou_list p.top_jinkou_all {
		letter-spacing: -0.04em;
	}
	.tpl_top_index .top_jinkou_list p {
		padding-top: 12px;
		padding-bottom: 12px;
		line-height: 1em;
	}
	.tpl_top_index .top_jinkou_list p.top_jinkou_setai {
		padding-top: 11.5px;
		padding-bottom: 11.5px;
		line-height: 1em;
		letter-spacing: -0.05em;
	}
	.tpl_top_index .top_jinkou_link a {
		padding: 5.5px 32px 5.5px 0px;
		line-height: 1em;
		vertical-align: top;
	}
}

@media screen and (max-width: 1080px) {
	.tpl_top_index #top_tab_title {
		display: block;
	}
	.tpl_top_index #top_tab_wrap:has(#top_tab_title li.tab_on) #top_tab_detail > .top_tab_detail_box:not(.detail_on) {
		display: none !important;
	}
	.tpl_top_index #top_tab_detail > .top_tab_detail_box:nth-child(n+2) {
		margin-top: 0px;
	}
	#top_topics {
		margin-top: 80px;
		letter-spacing: 0px;
	}
	.tpl_top_index .top_tab_detail_box .link_box,
	#top_topics .link_box {
		column-gap: clamp(10px, calc(100vw - 320px), 40px);
	}
	#top_topics #top_tab_detail_2 {
		margin-top: 0px;
		padding-top: 40px;
	}
	.tpl_top_index #top_tab_detail .top_tab_detail_box2 {
		padding: 0px;
	}
	.tpl_top_index .top_tab_detail_list ul li > span.article_date {
		flex-shrink: 1;
		min-width: 0px;
	}
}

#top_kokoku {
	position: relative;
	z-index: 60;
	border-top: 2px solid #00809a;
	background: #ffffff;
	color: #333333;
	font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, sans-serif;
}
#top_kokoku .top_kokoku_in {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 16px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	width: var(--content-width, 1080px);
	margin: 0px auto;
	padding: 28px 0px;
}
#top_kokoku .top_kokoku_ttl {
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}
#top_kokoku .top_kokoku_name {
	margin: 0px 0px 20px;
	font-size: 1.7rem;
	line-height: 1em;
	letter-spacing: 0.103em;
}
#top_kokoku .top_kokoku_about {
	margin: 0px;
	font-size: 1.1rem;
	line-height: 1em;
}
#top_kokoku .top_kokoku_about a {
	color: #333333;
	text-decoration: underline;
}
#top_kokoku .top_kokoku_about a:hover,
#top_kokoku .top_kokoku_about a:focus {
	text-decoration: none;
}
#top_kokoku ul.banner_list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 16px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#top_kokoku ul.banner_list li {
	width: auto;
	max-width: none;
	margin: 0px;
	padding: 0px;
}
#top_kokoku ul.banner_list li img {
	display: block;
	width: 120px;
	max-width: none;
	height: 60px;
}
#top_kokoku ul.banner_list li a:hover img,
#top_kokoku ul.banner_list li a:focus img {
	opacity: 0.7;
}
#top_kokoku ul.banner_list li .banner_text {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	min-width: 120px;
	min-height: 60px;
	padding: 5px;
	border: 1px solid #999999;
	font-size: 1.2rem;
	line-height: 1.25em;
	text-align: center;
}
#top_kokoku .top_kokoku_close {
	display: none;
}

@media not screen and (max-width: 1080px) {
	#top_kokoku.top_kokoku_fixed {
		position: -webkit-sticky;
		position: sticky;
		bottom: 0px;
		z-index: 65;
	}
	#top_kokoku.top_kokoku_fixed .top_kokoku_ttl {
		display: none;
	}
	#top_kokoku.top_kokoku_fixed .top_kokoku_close {
		display: block;
		width: 30px;
		height: 30px;
		margin: 0px;
		padding: 0px;
		border: none;
		border-radius: 50%;
		background: url("/img/top/btn_kokoku_close.png") no-repeat center center;
		background-size: 30px 30px;
		position: absolute;
		top: -15px;
		left: calc(50% + 480px);
		left: min(calc(50% + 480px), calc(100% - max(10rem, 100px) - 70px));
		cursor: pointer;
	}
	#top_kokoku.top_kokoku_fixed .top_kokoku_close:hover,
	#top_kokoku.top_kokoku_fixed .top_kokoku_close:focus {
		opacity: 0.7;
	}
	body:has(#top_kokoku) #kaiyu_banner {
		bottom: 128px;
	}
}

@media screen and (max-width: 1080px) {
	.tpl_top_index #footer #author_info_box {
		padding-bottom: 40px;
	}
	#top_kokoku .top_kokoku_in {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		width: auto;
		padding: 20px 0px 150px;
		padding: 20px 0px calc(var(--spm-h, 67px) + 51px + 3.2rem);
		padding-bottom: max(calc(var(--spm-h, 67px) + 51px + 3.2rem), calc(max(var(--spm-h, 67px), max(7.6rem, 76px) + 4px) + 70px - max(0px, (100vw - 760px) * 20)));
	}
	#top_kokoku .top_kokoku_ttl {
		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: end;
		    -ms-flex-align: end;
		        align-items: flex-end;
		gap: 10px 20px;
	}
	#top_kokoku .top_kokoku_name {
		margin: 0px;
	}
	#top_kokoku ul.banner_list {
		display: -ms-grid;
		display: grid;
		grid-template-columns: repeat(3, minmax(0px, 120px));
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		gap: 10px 3.5px;
	}
	#top_kokoku ul.banner_list li {
		min-width: 0px;
	}
	#top_kokoku ul.banner_list li img {
		width: 100%;
		max-width: 120px;
		height: auto;
		aspect-ratio: 2 / 1;
	}
	#top_kokoku ul.banner_list li .banner_text {
		min-width: 0px;
		min-height: 0px;
		aspect-ratio: 2 / 1;
	}
}

.color_change #top_kokoku .top_kokoku_close {
	background-color: #ffffff !important;
}
.color_change #top_kokoku ul.banner_list li .banner_text {
	border-color: currentColor !important;
}

.tpl_top_index .top_gnav_panel {
	display: none;
	position: relative;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0px;
	padding: 30px 0px;
	background: #e6f2f8;
	-webkit-box-shadow: 0px 0px 0px 100vmax #e6f2f8;
	        box-shadow: 0px 0px 0px 100vmax #e6f2f8;
	-webkit-clip-path: inset(0px -100vmax);
	        clip-path: inset(0px -100vmax);
}
.tpl_top_index .top_gnav_panel_life {
	background-color: #e0f2e1;
	-webkit-box-shadow: 0px 0px 0px 100vmax #e0f2e1;
	        box-shadow: 0px 0px 0px 100vmax #e0f2e1;
}
.tpl_top_index .top_gnav_panel_bousai {
	background-color: #d4f0db;
	-webkit-box-shadow: 0px 0px 0px 100vmax #d4f0db;
	        box-shadow: 0px 0px 0px 100vmax #d4f0db;
}
.tpl_top_index .top_gnav_panel_kenko {
	background-color: #fde9d2;
	-webkit-box-shadow: 0px 0px 0px 100vmax #fde9d2;
	        box-shadow: 0px 0px 0px 100vmax #fde9d2;
}
.tpl_top_index .top_gnav_panel_kosodate {
	background-color: #fce1dc;
	-webkit-box-shadow: 0px 0px 0px 100vmax #fce1dc;
	        box-shadow: 0px 0px 0px 100vmax #fce1dc;
}
.tpl_top_index .top_gnav_panel_kyoiku {
	background-color: #fde5d4;
	-webkit-box-shadow: 0px 0px 0px 100vmax #fde5d4;
	        box-shadow: 0px 0px 0px 100vmax #fde5d4;
}
.tpl_top_index .top_gnav_panel_jigyo {
	background-color: #cce2f1;
	-webkit-box-shadow: 0px 0px 0px 100vmax #cce2f1;
	        box-shadow: 0px 0px 0px 100vmax #cce2f1;
}
.tpl_top_index .top_gnav_panel_shisei {
	background-color: #dadfee;
	-webkit-box-shadow: 0px 0px 0px 100vmax #dadfee;
	        box-shadow: 0px 0px 0px 100vmax #dadfee;
}
.tpl_top_index .top_gnav_panel ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 20px;
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.tpl_top_index .top_gnav_panel ul li {
	margin: 0px;
	padding: 0px;
}
.tpl_top_index .top_gnav_panel ul li a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 8px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	min-height: 42px;
	padding: 0px 20px;
	border-radius: 8px;
	background: #ffffff;
	color: #333333;
	font-size: 1.4rem;
	line-height: 1.5em;
	text-decoration: none;
	-webkit-box-shadow: 1px 1px 4px rgba(51, 51, 51, 0.25);
	        box-shadow: 1px 1px 4px rgba(51, 51, 51, 0.25);
	-webkit-transition: -webkit-box-shadow 0.3s;
	transition: -webkit-box-shadow 0.3s;
	-o-transition: box-shadow 0.3s;
	transition: box-shadow 0.3s;
	transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
}
.tpl_top_index .top_gnav_panel ul li a::after {
	content: "";
	display: block;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: url("/img/common/icon_caret_circle.png") no-repeat center center / 24px 24px;
}
.tpl_top_index .top_gnav_panel ul li a:hover,
.tpl_top_index .top_gnav_panel ul li a:focus {
	text-decoration: underline;
	-webkit-box-shadow: none;
	        box-shadow: none;
}

.tpl_top_index #gnav_wrap[data-gnav]:not([data-gnav="top"]) .gnav_pc ul li.gn_top a {
	border-bottom-color: transparent;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_life.gnav_on a {
	border-bottom-color: #64be67;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_bousai.gnav_on a {
	border-bottom-color: #2ab34a;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kenko.gnav_on a {
	border-bottom-color: #f7911d;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kosodate.gnav_on a {
	border-bottom-color: #f26b51;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kyoiku.gnav_on a {
	border-bottom-color: #f57f2a;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_jigyo.gnav_on a {
	border-bottom-color: #006fba;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_shisei.gnav_on a {
	border-bottom-color: #475eaa;
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_life.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_life.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_bousai.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_bousai.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kenko.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_kenko.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kosodate.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_kosodate.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_kyoiku.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_kyoiku.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_jigyo.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_jigyo.png");
}
.tpl_top_index #gnav_wrap .gnav_pc ul li.gn_shisei.gnav_on a::before {
	background-image: url("/img/common/icon_gnav_shisei.png");
}

@media not screen and (max-width: 1080px) {
	.tpl_top_index #gnav_wrap[data-gnav]:not([data-gnav="top"]) ~ #top_category {
		display: none;
	}
	.tpl_top_index #gnav_wrap[data-gnav="life"] ~ #top_gnav_panels .top_gnav_panel_life,
	.tpl_top_index #gnav_wrap[data-gnav="bousai"] ~ #top_gnav_panels .top_gnav_panel_bousai,
	.tpl_top_index #gnav_wrap[data-gnav="kenko"] ~ #top_gnav_panels .top_gnav_panel_kenko,
	.tpl_top_index #gnav_wrap[data-gnav="kosodate"] ~ #top_gnav_panels .top_gnav_panel_kosodate,
	.tpl_top_index #gnav_wrap[data-gnav="kyoiku"] ~ #top_gnav_panels .top_gnav_panel_kyoiku,
	.tpl_top_index #gnav_wrap[data-gnav="jigyo"] ~ #top_gnav_panels .top_gnav_panel_jigyo,
	.tpl_top_index #gnav_wrap[data-gnav="shisei"] ~ #top_gnav_panels .top_gnav_panel_shisei {
		display: block;
	}
}

.color_change .tpl_top_index .top_gnav_panel {
	background: transparent !important;
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}
.color_change .tpl_top_index .top_gnav_panel ul li a {
	border: 1px solid currentColor !important;
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}
.color_change .tpl_top_index .top_gnav_panel ul li a::after {
	border-radius: 12px;
	background-color: #ffffff !important;
}

@media (min-width: 368px) and (max-width: 1079px) {
	.font_size_changed .tpl_top_index .top_tab_detail_list ul li {
		padding-right: 4px;
		padding-left: 4px;
	}
}