@charset "utf-8";

/* 足跡を非表示 */
#footstep_wrap {
	display: none !important;
}

/* タブレット時の並び順解除 */
#container {
	display: block;
}
#container > * {
	width: auto;
}

/* スライドショー */
#top_photo_list .photo span.photo_caption,
#top_photo_list .photo.slick-current span.photo_caption {
	display: inline-block;
	position: relative;
	font-size: 1.2rem;
	line-height: 1.4rem;
	padding: 3px 10px 3px 15px;
}

#mp_control_box {
	position: relative;
	width: auto;
	margin: 10px 10px 0px;
	padding: 0px 90px 0px 0px;
}
#mp_control_box button[id^="mp_control_"] {
	width: 24px;
	height: 24px;
	bottom: 0px;
	z-index: 1;
}
#mp_control_box button#mp_control_prev {
	right: 60px;
}
#mp_control_box button#mp_control_pause,
#mp_control_box button#mp_control_play {
	right: 30px;
}
#mp_control_box button#mp_control_next {
	right: 0px;
}
#mp_control_box ul.slick-dots {
	position: static;
	display: block;
	width: auto;
	max-width: none;
}

ul.slick-dots {
	margin: 0px;
	padding: 4px;
	text-align: right;
}
ul.slick-dots li {
	margin: 3px 6px;
	padding: 0px;
}
ul.slick-dots li button,
ul.slick-dots li.slick-active button {
	width: 10px;
	height: 10px;
	border-width: 2px;
}

/* メイン */
#mymainback {
	margin: 0px;
}

h2.ttl {
	padding: 10px 0px 40px;
	line-height: 1;
}
h2.ttl img {
	width: auto;
	height: 24px;
}

.box_shadow,
a:hover .box_shadow,
a.box_shadow:hover {
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
	        box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
}

/* 重要なお知らせ */
.top_content_1 {
	margin: 0px 10px;
}
#top_important {
	padding: 20px 20px 30px;
}
#top_important_ttl h2 {
	font-size: 2.4rem;
	line-height: 3rem;
	padding: 5px 20px 5px 50px;
}

/* 防災等リンク */
#top_important_link ul li,
#top_important_link ul li:nth-child(4n),
#top_important_link ul li:nth-child(n+5),
#top_important_link ul li:nth-child(n+3) {
	width: 100%;
	margin: 15px 0px 0px;
}
#top_important_link ul li:first-child {
	margin-top: 0px;
}
#top_important_link ul li a,
#top_important_link ul li:nth-child(3) a,
#top_important_link ul li:nth-child(4) a {
	font-size: 1.6rem;
	line-height: 2rem;
	padding: 4px 10px;
	min-height: 70px;
}
#top_important_link ul li a > span {
	min-width: 240px;
	padding-right: 20px;
}

/* 検索 */
#top_search_wrap.top_content_2 {
	display: none;
	position: fixed;
	z-index: 99;
	background: rgba(251, 214, 141, 0.9);
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	-ms-scroll-chaining: none;
	    overscroll-behavior: none;
	bottom: 80px;
	top: 0px;
	margin: 0px;
	padding: 10px 10px 100px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#top_search_wrap.top_content_2.search_open {
	display: block;
}

/* えひめを知りたい */
.top_content_3 {
	margin: 0px 10px;
	padding: 40px 0px 60px;
}
.top_content_3 .wrap2 {
	margin-top: 40px;
}
.top_content_3 .wrap1 ul,
.top_content_3 .wrap2 ul {
	max-width: 640px;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.top_content_3 .wrap1 ul li,
.top_content_3 .wrap2 ul li,
.top_content_3 .wrap1 ul li:nth-child(n+4),
.top_content_3 .wrap2 ul li:nth-child(n+4) {
	width: calc(50% - 20px);
	margin: 0px 10px 0px;
}
.top_content_3 .wrap1 ul li:nth-child(n+3),
.top_content_3 .wrap2 ul li:nth-child(n+3) {
	margin-top: 20px;
}

/* 注目情報 */
.top_content_4 {
	padding: 40px 0px 60px;
}
.top_content_4 h2.ttl {
	margin: 0px 20px;
	padding-bottom: 30px;
}

/* トピックス */
.topic_wrap {
	width: calc(100% - 80px);
	max-width: 340px;
	margin: 0px auto;
}
.lettering_box {
	width: 300px;
	max-width: calc(100% - 20px);
	margin: 10px 20px;
}

#topic_control_box {
	line-height: 1;
	margin: 0px -20px 20px;
}
#topic_control_box #topic_control_navigation {
	margin-right: 5px;
}
#topic_control_box button[id^="topic_control_"] {
	width: 24px;
	height: 24px;
}
#topic_control_box button#topic_control_prev {
	left: -20px;
}
#topic_control_box button#topic_control_next {
	right: -20px;
}

.topic_wrap .link_box {
	margin: 0px;
	padding: 5px 0px 10px;
}
.topic_wrap .link_box > span {
	width: calc(50% - 10px);
	margin: 4px 5px 0px;
}
.topic_wrap .link_box a {
	display: block;
	font-size: 1.3rem;
	line-height: 2rem;
	padding: 10px;
	min-width: auto;
}

/* トピックス（スライドしない場合） */
.lettering_box:nth-child(n+2) {
	display: none;
}
.lettering_box.slick-slide:nth-child(n+2) {
	display: block !important;
}

/* 新着情報 */
.top_content_5 {
	padding: 40px 0px 60px;
}
.top_content_5 h2.ttl {
	padding-bottom: 20px;
}

#top_tab_title {
	display: none;
}

.top_tab_detail_box {
	display: block !important;
	margin-top: 20px;
	background: #f6f6f6;
	border: 1px solid #ddd;
}
.top_tab_detail_box.open {
	background: #fff;
	border-color: #f08300;
}

.top_tab_detail_box p.no_data {
	margin: 0px;
	padding: 20px;
}

.top_tab_detail_box h2.hide {
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
	font-size: 1.8rem;
	line-height: 2rem;
	text-align: center;
}
.top_tab_detail_box h2.hide label[for*="acc_ttl_label"] {
	display: block;
	background: none !important;
	padding: 20px 40px;
	position: relative;
}
.top_tab_detail_box h2.hide label[for*="acc_ttl_label"]::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	border: 2px solid #333;
	border-left: none;
	border-top: none;
	box-sizing: border-box;
	position: absolute;
	right: 20px;
	top: 50%;
	-webkit-transform: translateY(-50%) rotate(45deg);
	        transform: translateY(-50%) rotate(45deg);
	margin-top: -2px;
}
.top_tab_detail_box.open h2.hide label[for*="acc_ttl_label"]::before {
	-webkit-transform: translateY(-50%) rotate(-135deg);
	        transform: translateY(-50%) rotate(-135deg);
	margin-top: 2px;
}

.top_tab_detail_box .acc_title + input[id*="acc_ttl_label"] + *,
.top_tab_detail_box .acc_title + input[id*="acc_ttl_label"]:checked + * {
	display: none;
}
.top_tab_detail_box.open .acc_title + input[id*="acc_ttl_label"] + *,
.top_tab_detail_box.open .acc_title + input[id*="acc_ttl_label"]:checked + * {
	display: block;
}

.top_tab_detail_list ul {
	padding: 10px 20px;
}

.top_tab_detail_box .link_box {
	margin: 0px;
	padding: 10px 15px 20px;
}
.top_tab_detail_box .link_box > span {
	width: calc(50% - 10px);
	margin: 10px 5px 0px;
}
.top_tab_detail_box .link_box a {
	font-size: 1.3rem;
	padding: 10px 5px;
}
@media screen and (max-width: 370px) {
	.top_tab_detail_box .link_box a {
		font-size: 1.1rem;
	}
}

/* 地方局 */
.top_content_6_desc {
	padding: 40px 0px 60px;
}
.top_content_6_desc .wrap1,
.top_content_6_desc .wrap2 {
	width: auto;
	max-width: 480px;
	margin: 0px auto;
}

.top_content_6_desc .wrap1 {
	position: relative;
	padding-bottom: 345px;
	margin-bottom: 40px;
}
.top_content_6_desc .wrap1 ul {
	width: 446px;
	position: absolute;
	bottom: -60px;
	left: 50%;
	-webkit-transform: translateX(-50%) scale(0.75, 0.75);
	    -ms-transform: translateX(-50%) scale(0.75, 0.75);
	        transform: translateX(-50%) scale(0.75, 0.75);
}
@media screen and (max-width: 370px) {
	.top_content_6_desc .wrap1 {
		padding-bottom: 276px;
	}
	.top_content_6_desc .wrap1 ul {
		bottom: -80px;
		-webkit-transform: translateX(-50%) scale(0.6, 0.6);
		    -ms-transform: translateX(-50%) scale(0.6, 0.6);
		        transform: translateX(-50%) scale(0.6, 0.6);
	}
}

/* 関連機関 */
.top_content_6_desc .wrap2 ul li a {
	min-height: 60px;
	background-size: auto 60px;
	font-size: 1.6rem;
	line-height: 2rem;
	padding: 20px 20px 20px 160px;
}
@media screen and (max-width: 370px) {
	.top_content_6_desc .wrap2 ul li a {
		min-height: 50px;
		background-size: auto 50px;
		font-size: 1.4rem;
		padding: 15px 15px 15px 140px;
	}
}

/* おすすめ情報 */
.top_content_7 {
	padding: 40px 0px 60px;
}
.top_content_7 .warp1 .nav1,
.top_content_7 .warp1 .nav2,
.top_content_7 .warp1 .nav3 {
	padding: 20px 20px 30px;
}
.top_content_7 .warp1 .nav1 h3 {
	padding-left: 34px;
	background-size: auto 28px;
	margin-bottom: 20px;
}
.top_content_7 .warp1 .nav2 h3 {
	padding-left: 44px;
	background-size: auto 26px;
	margin-bottom: 10px;
}
.top_content_7 .warp1 .nav2 h3 span {
	display: block;
}
.top_content_7 .warp1 .nav3 h3 {
	padding-left: 65px;
	background-size: auto 35px;
	margin-bottom: 10px;
	padding-top: 25px;
}
.top_content_7 .warp1 span > a {
	font-size: 1.3rem;
	padding: 10px;
	margin-top: 20px;
}

.yt .himetele_caption {
	font-size: 1.3rem;
}

ul#top_banner_5_list {
	max-width: 640px;
	margin-top: 40px;
}
ul#top_banner_5_list li,
ul#top_banner_5_list li:nth-child(n+4),
ul#top_banner_5_list li:nth-child(n+5) {
	width: calc(50% - 20px);
	margin: 0px 10px;
}
ul#top_banner_5_list li:nth-child(n+3) {
	margin-top: 20px;
}

/* ピックアップ */
.top_content_8 {
	padding: 40px 0px 0px;
}
.top_content_8 h2.ttl {
	padding-bottom: 30px;
}

.top_banner_6 {
	width: calc(100% - 80px);
	max-width: 340px;
	margin: 0px auto;
}
#top_banner_6_list li {
	width: 300px;
	max-width: calc(100% - 20px);
	margin: 10px 20px;
}

#pr_control_box {
	line-height: 1;
	margin: 20px -20px;
}
#pr_control_box #pr_control_navigation {
	margin-right: 5px;
}
#pr_control_box button[id^="pr_control_"] {
	width: 24px;
	height: 24px;
}
#pr_control_box button#pr_control_prev,
#pr_control_box button#pr_control_next {
	top: calc(50% - 32px);
}

/* 広告 */
.top_banner_7 .wrap {
	margin: 0px 20px;
}
.top_banner_7 .ttl h2 {
	font-size: 1.6rem;
}
.top_banner_7 .ttl a {
	font-size: 1.2rem;
	line-height: 2rem;
	padding: 0px 0px 0px 15px;
	margin: 10px 0px 0px 10px;
}

#top_banner_7_list {
	max-width: 320px;
}
#top_banner_7_list li,
#top_banner_7_list li:nth-child(5n),
#top_banner_7_list li:nth-child(4n) {
	width: calc(50% - 10px);
	margin: 20px 20px 0px 0px;
}
#top_banner_7_list li:nth-child(2n) {
	margin-right: 0px;
}

/* フッタ */
#footer,
.fixed_floating_banner #footer {
	padding: 0px 0px 80px;
	padding-bottom: 80px;
}

/* 能登半島支援 */
.wrap_floating_banner,
.fixed_floating_banner .wrap_floating_banner {
	bottom: 90px;
}
.wrap_floating_banner .notohantoushien a {
	font-size: 1.2rem;
	line-height: 1.4rem;
	padding: 15px;
	border-width: 4px;
	-webkit-writing-mode: horizontal-tb;
	    -ms-writing-mode: lr-tb;
	        writing-mode: horizontal-tb;
}

/* =======================================================
アニメーション
======================================================= */
.top_content_8 {
	margin-bottom: 40px;
}
.top_content_8 button.btn_animation_stop {
	width: 24px;
	height: 24px;
	right: 10px;
	bottom: -10px;
}

.top_content_8 .wrap {
	background-size: auto 40px;
}
.top_content_8.animation .wrap {
	-webkit-animation: none;
	        animation: none;
	-webkit-transform: none;
	    -ms-transform: none;
	        transform: none;
	-webkit-transition: unset;
	-o-transition: unset;
	transition: unset;
}
.top_content_8.animation .wrap::before {
	-webkit-animation-duration: 20s;
	        animation-duration: 20s;
}

/* =======================================================
アニメーション ここまで
======================================================= */