@charset "utf-8";

* {font-family: "BIZ UDPGothic", sans-serif; letter-spacing: 0.07rem;}
               


/* padding-inline-start: 40px;を打ち消す為 */
#main ul{
        padding: 0;
}
body{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "BIZ UDPGothic", sans-serif;
        overflow-x: hidden;
}

a {
        text-decoration: none;
}

/* 足あとを非表示 */
#footstep_wrap {
	display: none !important;
}

/* .important-info */
.important-info{
        background-color: #fbf3e8;
        padding: 50px 0 20px 0;
        margin: 0 auto;
        width: 100%;
}

@media screen and (max-width: 1080px) {
        .important-info{
               box-shadow: 0 0 0 100vmax #fbf3e8;
               clip-path: inset(0 -100vmax);
}
}
 
/* 重要なお知らせ */
#top_important {
	margin: 24px auto 0 auto;
	padding: 0;
	display: block;
        border: 2px solid #c24400;
        border-radius: 10px;
        max-width: 1080px;
}

#top_important h2 {
	margin: 0px 0px 0px;
	padding: 5px 0;
	color: #fff;
	font-size: /*22px*/ 1.4rem;
	text-align: center;
        background-color: #c24400;
        border-radius: 5px 5px 0 0;
        font-weight:100;
}

#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 + 15px);
}
#top_important ul li a {
	color: #blue;
        text-decoration: underline;
}
#top_important ul li a:hover {
        color: #cc0000;
        text-decoration: underline;
        transition: 0.3s;
}

.link_box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: flex-end;
	    -ms-flex-pack: flex-end;
	        justify-content: flex-end;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 10px 20px;
	padding: 30px 0px 0px;
        max-width: 1080px;
        margin: 0 auto;
}
@media screen and (max-width: 480px){
        .link_box {
              -webkit-box-pack: center;
	      -ms-flex-pack: center;
	      justify-content: center;
     }
}

.kinkyu-btn,
.link_box span[class*="link_"] {
	width: 260px;
	max-width: 100%;
        background-color: #127a4b;
        border-radius: 50px;
}
.kinkyu-btn a,
.link_box span[class*="link_"] a {
	display: block;
	border: 1px solid transparent;
	border-radius: 0;
	color: #fff;
	font-size: 1rem;
	line-height: 18px;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
        border-radius: 25px;
        line-height: 1;
}
.kinkyu-btn a:hover,
.link_box span[class*="link_"] a:hover,
.link_box span[class*="link_"] a:focus {
	text-decoration: underline;
        opacity: 0.7;
}

.important-a {
        background-color: #c24400;
}


/* 防災メール連携（JavaScript） */
#main_box_emergency .box_top_emer {
	margin: 0 auto;
	padding: 0;
	border: 2px solid #c00000;
        border-radius: 10px;
        max-width: 1080px;
}
#main_box_emergency h2 {
	margin: 0;
	padding: 5px 0;
        background-color: #c00000;
	color: #fff;
	font-size: /*22px*/ 1.4rem;
　　　　font-weight: 100;
	text-align: center;
        border-radius: 5px 5px 0 0;        
}

.top_important_list,
#main_box_emergency .list_top_emer {
        padding: 30px 50px;
}

@media screen and (max-width:480px) {
        .top_important_list,
        #main_box_emergency .list_top_emer {
              padding: 15px 25px;
       }
}

#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.5rem + 20px);
        font-size: 1rem;
}
#main_box_emergency ul li > span.emer_title > span {
	display: block;
	height: 1.5em;
	overflow: hidden;
	/*color: #333333;*/
        color: #1F6FC0;
	text-decoration: underline;
	cursor: pointer;
        margin-left: 40px;
        font-size: /*16px*/ 1rem;
}

@media screen and (max-width:1080px) {
        #main_box_emergency ul li > span.emer_title > span {
               margin-left: 0;
        }
        #main_box_emergency .box_top_emer {
               padding: 0;
        }
}

#main_box_emergency ul li > span.emer_title > span:hover {
        color: #cc0000;
        transition: 0.3s;
}

#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;
}

.ul-info-btn .info-btn a {
        display: block;
        width: 200px;
        height:31px;
}

.emer-a{
        background-color: #c00000;
        cursor: pointer;
}

.emer-a:hover {
        opacity: 0.7;
}

#oshirase {
        background-image: url(/img/nsk-img/oshirase-bg.jpg);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        padding: 50px 0; 
        width: 100%;
        position: relative;
        z-index: 0;
}


#oshirase::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1; 
}

@media screen and (max-width: 1080px) {
    #oshirase {
        padding: 50px 20px; /* 左右にパディング追加 */
        transform: translateX(-15px);
    }
    #top_tab_wrap {
        padding: 0 20px;
        box-sizing: border-box;
    }
}



.oshirase_titie {
        margin-bottom: 20px;
}

.oshirase_titie h2 {
        text-align: center;
        font-size: /*36px*/ 2rem;
        font-weight: normal;
        color: #fff;
        margin: 0 auto;
}
.oshirase_titie h3 {
        text-align: center;
        font-size: /*8px*/ .5rem;
        font-weight: normal;
        color: #fff;
        margin: 0 auto;
}

/* タブ */
#top_tab_wrap {
        max-width: 1080px;
        margin: 0 auto;
        position: relative; /* 追加 */
        z-index: 1;
}

#top_tab_title 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: 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 #e6e6e6;
	background: #e6e6e6;
	color: #333333;
	font-size: /*22px*/ 1.4rem;
	font-weight: bold;
	line-height: 18px;
	text-decoration: none;
	text-align: center;
	padding: 15px 20px;
        border-radius: 20px 20px 0 0;
        font-family: "BIZ UDPGothic", sans-serif;
}
#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: #127a4b;
	color: #ffffff;
        border: 1px solid transparent;
}

.tab-a{
        background-color: #127a4b;
}
 

/* 新着情報（件数） */
.release_day {
	margin-bottom: 1em;
	font-size: 1.5rem;
}
.release_day span {
	display: inline-block;
	margin-right: 1em;
}

#top_tab_detail {
	padding: 0;
} 

/* タブ詳細の初期状態を非表示に */
#top_tab_detail .top_tab_detail_box {
	display: none;
        background-color: #fff;
}

/* 選択されているタブのみ表示 */
#top_tab_detail .top_tab_detail_box.detail_on {
	display: block;
}


/* グリッドエリアcss */
/* 背景画像セクション */
.content-section {
        background-image: url(/img/nsk-img/content-section-bg.jpg);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        padding: 50px 0; 
        width: 100%;
        position: relative;
        z-index: 0;
}

@media screen and (max-width: 1080px) {
    .content-section {
        padding: 50px 20px;
        transform: translateX(-15px);
    }
    .content-wrapper {
        padding: 0 20px;
        box-sizing: border-box;
    }
}

/* 白い半透明オーバーレイ */
.content-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: -1;
}





/* コンテンツラッパー */
.content-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    #top_tab_wrap,
    .content-wrapper {
        padding: 0 15px;
    }
}

/* グリッドレイアウト */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 各ブロック */
.content-block {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    
}

/* ブロック内部 */
.block-inner {
    padding: 20px 20px 30px 20px;
}

/* content-main: 横並び */
.content-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.block-inner-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    align-items: flex-end;
}

.block-image-small {
    width: 120px;
    height: auto;
    margin: 0;
    display: block;
    border-radius: 5px;
    flex-shrink: 0;
}

/* タイトル */
.block-title {
    font-size:/*25px*/ 1.6rem;
    font-weight: normal;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 12px solid #1F6FC0;
}

/* テキスト */
.block-text {
    font-size: /*16px*/1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ボタン */
.block-button {
    display: block;
    width: 220px;
    line-height: 50px;
    background: #1F6FC0;
    color: #ffffff;
    padding: 0;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease;
    font-size:/* 16px*/1rem;
}    

.block-button:hover {
    opacity: 0.7;
    color: #fff;
    transition: 0.3s;
}

/* 下部ブロックのコンテナ（市長の部屋、敦賀市議会） */
.bottom-blocks-container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.content-block-bottom {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

/* 画像とテキストのブロック */
.image-text-block {
    display: block;
    text-decoration: none;
    height: 100%;
}
.image-text-block:hover .text-part-title {
    color: red;
}

.image-text-wrapper {
    display: flex;
    height: 100%;
    align-items: stretch;
}

/* 画像部分（アスペクト比246:112維持） */
.image-part {
    flex: 246;
    position: relative;
    overflow: hidden;
}

.image-part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* テキスト部分（可変幅） */
.text-part {
    flex: 112;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.text-part-title {
    font-size:/* 18px*/ 1.1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
    text-decoration: none;
}

/* 1200px以下で縦並びに変更 */
@media (max-width: 850px) {
    .content-section {
        padding: 40px 20px;
    }

    

    /* content-mainは横並び維持（画像左、テキスト右） */
    .content-main {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }
    .content-wrapper {
        padding: 0; /* wrapperのパディングをリセット */
    }

    .block-image-small {
        width: 150px;
        height: auto;
        flex-shrink: 0;
    }

    /* 下部ブロックも1カラムに */
    .bottom-blocks-container {
        grid-column: 1;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 1200px以下では画像とテキストの横並びを維持 */
    .image-text-wrapper {
        display: flex;
        flex-direction: row;
    }

    .image-part {
        flex: 246;
    }

    .text-part {
        flex: 112;
    }

    .text-part-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 850px) {
     .content-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        /*transform: translateX(-15px);*/
    }
}

/* タブレット対応（768px以下） */
@media (max-width: 768px) {
    #oshirase {
        padding: 40px 15px;
    }
    
    #top_tab_wrap {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 40px 15px;
    }
    
    .content-wrapper {
        padding: 0;
    }
    
    .block-inner {
        padding: 25px 20px;
    }

    .block-title {
        font-size: 2rem;
        border-left-width: 8px;
    }

    .block-text {
        font-size:/* 16px*/ 1rem;
    }

    /* 768px以下では広報つるがとYouTubeを縦並びに */
    .content-main {
        flex-direction: column;
        gap: 15px;
    }

    .block-image-small {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* 市長の部屋と敦賀市議会は横並び維持 */
    .text-part-title {
        font-size: 1rem;
    }
}

/* スマホ対応（480px以下） */
@media (max-width: 480px) {
    .block-title {
        font-size: 1.5rem;
        padding-left: 10px;
        border-left-width: 6px;
    }

    .block-button {
        width: 100%;
        max-width: 220px;
    }

    /* より小さい画面でもテキストサイズを調整 */
    .text-part-title {
        font-size: 0.9rem;
    }

    .text-part {
        padding: 10px;
    }
}




/* 新着情報（リスト） */
.top_tab_detail_list ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.top_tab_detail_list p{
        font-size:/* 16px*/1rem;
}

.top_tab_detail_list ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0px 0px 15px;
        font-size:/* 16px*/1rem;
}
.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 + 15px);
}

.top_tab_detail_box{
        padding: 0px;
        border-radius: 0 0 10px 10px;
        /*background-color: #fff;*/
}

@media screen and (min-width: 1080px){
        #top_tab_wrap .top_tab_detail_box{
               border: 2px solid #127a4b;
               padding: 30px;
        }
}


/* 新着情報（情報はありません） */
.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: flex-end;
	    -ms-flex-pack: flex-end;
	        justify-content: flex-end;
	-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: #fff;
	font-size:/* 18px*/ 1.1rem;
	line-height: 18px;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
        line-height: 1;
}
.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 {
display:block;width:100%;height:150px;
	background: url("/img/nsk-img/noimage.jpg") 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;
}
*/





/* ミニカレンダー */
#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;
}

/* 検索 */
.header_search h2 {
　　　　
        text-align: center;
        font-size: /*36px*/ 2.2rem;
        font-weight: normal;
}
.header_search h3 {
        text-align: center;
        font-size: /*8px*/ .5rem;
        font-weight: normal;
        color: #88c9f0;
}

/* 注目ワード */
#search_trend_word {
	/*margin-left: 45px;*/
}
#search_trend_word h2 {
	margin: 0 0 10px 12px;
	padding: 0px;
	font-size:/* 18px*/ 1.1rem;
        text-align: left;
        font-weight:normal;
　　　　color:#000;
}
#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: 0px 5px;
        border-radius: 8px;
	border: 1px solid transparent;
	background: #ecf4fe;
	color: #1F6FC0;
	text-decoration: none;
	cursor: pointer;
        font-size:/* 16px*/ 1rem;
}
#search_trend_word p a:hover,
#search_trend_word p a:focus {
	transition: 1s;
        text-decoration: underline;
        
}

/* さがすメニュー */
.top_search_menu_list {
	margin: 40px auto 0px auto;
	max-width: 1080px;
}

.top_search_menu_list h2 {
	font-size:/* 24px*/ 1.3rem;
	font-weight: normal;
	text-align: center;
	margin-bottom: 30px;
	color: #333;
}

.top_search_menu_list ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
}

.top_search_menu_list ul li {
	flex: 1;
	max-width: 240px;
}

.top_search_menu_list ul li a {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: none;
	background: #1F6FC0;
	color: #fff;
	text-decoration: none;
	text-align: center;
	padding: 20px 15px;
	border-radius: 10px;
	gap: 10px;
	min-height: 80px;
}

.top_search_menu_list ul li a img {
	display: block;
	width: 33px;
	height: 29px;
	object-fit: contain;
	flex-shrink: 0;
}

.top_search_menu_list ul li a h4 {
	margin: 0;
	font-size: /*16px*/ 1rem;
	font-weight: bold;
	line-height: 1.4;
	color: #fff;
	text-align: left;
       
}

.top_search_menu_list ul li a:hover,
.top_search_menu_list ul li a:focus {
	opacity: 0.7;
	transition: opacity 0.3s;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.top_search_menu_list ul {
		flex-wrap: wrap;
		gap: 15px;
	}
	
	.top_search_menu_list ul li {
		flex: 1 1 calc(50% - 8px);
		max-width: none;
	}
}

@media screen and (max-width: 480px) {
	.top_search_menu_list ul li {
		flex: 1 1 100%;
	}
}

#open_page_id_message {
        display: flex;
}
#open_page_id_message img{
        display: block;
        width:20px;
        height:20px;
        padding: 13px 7px 0 0;
}

/* ライフステージ */

.list-lifestage ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
    max-width: 1080px;
    margin: 2rem auto 0 auto;
    padding: 0;
}

.list-lifestage ul li {
    aspect-ratio: 1 / 1;
    width: 140px;
    height: 140px;
    background-color: #1f6fc0;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 0;
}

#container.easy_active .list-lifestage ul li{aspect-ratio:auto;height:auto;}

.list-lifestage ul li:hover {
    opacity: 0.7;
    transition: 0.2s;
}

.list-lifestage ul li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    gap: 8px;
}

/* アイコン部分 */
.list-lifestage ul li a .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.list-lifestage ul li a .icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

/* テキスト部分 */
.list-lifestage ul li a .text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    display: block;
width:95%;
}

/* タブレット以下のレイアウト */
@media screen and (max-width: 1080px) {
    .list-lifestage ul {
        justify-content: center;
    }
}

/* スマートフォンのレイアウト */
@media screen and (max-width: 660px) {
    .list-lifestage ul {
        gap: 5px;
    }

    .list-lifestage ul li {
        width: 80px;
        height: 80px;
        border-radius: 5px;
    }

#container.easy_active .list-lifestage ul li,
#container.easy_active .list-lifestage ul li{aspect-ratio:auto;height:auto;width:calc(95% / 2);}

    .list-lifestage ul li a {
        padding: 8px;
        gap: 4px;
    }

    .list-lifestage ul li a .icon {
        width: 30px;
        height: 30px;
    }

    .list-lifestage ul li a .text {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}
   


/* トピックス */

.wave-section {
        position: relative;
        width: 100%;
        height: 80px; /* 波の高さ */
        background: #ffffff; /* 波の下地と同じ色にする */
        overflow: hidden;
        z-index: 10;
}        

/* 上の波 */

.wave-top {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80'><path fill='%236b7d3a' d='M 0 40 C 20 25, 30 25, 50 40 S 80 55, 100 40 L 100 80 L 0 80 Z'/></svg>") repeat-x;
        background-size: 100px 100%;
}

.topics-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #6b7d3a;
    margin-top: 0; 
    padding-bottom: 50px;
    z-index: 5;
}

@media screen and (max-width:1080px) {
    .topics-section {
        display: none;
    }
}

.topics-flex {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 20px 50px 20px;
    gap: 40px;
    z-index: 2;
}

.topics-left {
    width: 200px;
    min-height: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.topics-left img {
    width: 81px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.topics-left h2 {
    margin: 15px 0 0 0;
    padding: 0;
    font-size: 1.5rem;
    text-align: center;
    color: #fff;
    letter-spacing: 0.2rem;
}

.topics-left h3 {
    margin: 0;
    padding: 0;
    font-size:/* 10px*/ .65rem;
    text-align: center;
    color: #fff;
}

.topics-navibtn {
    display: flex;
    gap: 15px;
    margin: 15px auto 0 auto;
    align-items: center;
}

.slide_control_prev,
.slide_control_next {
    width: 50px;
    height: 50px;
    background-color: #f5d141;
    color: #231815;
    cursor: pointer;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: /*24px*/ 1.5rem;
    font-weight: bold;
    user-select: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 100; /* 追加: 最前面に */
}

/*.slide_control_prev::after {
    content: '◀';
    display: block;
    font-size: 13px;
    line-height: 1;
    color: #333;
    pointer-events: none;
    position: absolute;
    top: 15%;
    left: 10%;
}*/

.slide_control_prev_mv::after {
    content: '◀';
    display: block;
    font-size: 13px;
    line-height: 1;
    color: #333;
    pointer-events: none;
    position: absolute;
    top: 20%;
    left: 15%;
}

.slide_control_prev_tp::after {
    content: '';  /* 空にする */
    display: block;
    width: 24px;  /* 画像の幅 */
    height: 24px;  /* 画像の高さ */
    background-image: url("/img/nsk-img/arrow-l.png");  /* 画像パスを指定 */
    
    background-size: contain;  /* 画像を枠内に収める */
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    position: absolute;
    top: 27%;
    left: 22%;
}

/*.slide_control_next::after {
    content: '▶';
    display: block;
    font-size: 13px;
    line-height: 1;
    color: #333;
    pointer-events: none;
    position: absolute;
    top: 15%;
    right: 10%;
}*/

.slide_control_next_mv::after {
    content: '▶';
    display: block;
    font-size: 13px;
    line-height: 1;
    color: #333;
    pointer-events: none;
    position: absolute;
    top: 20%;
    right: 15%;
}

.slide_control_next_tp::after {
    content: '';  /* 空にする */
    display: block;
    width: 24px;  /* 画像の幅 */
    height: 24px;  /* 画像の高さ */
    background-image: url("/img/nsk-img/arrow-r.png");  /* 画像パスを指定 */
    
    background-size: contain;  /* 画像を枠内に収める */
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    position: absolute;
    top: 27%;
    left: 29%;
}

.slide_control_prev:hover,
.slide_control_next:hover,
.slide_control_stop:hover {
    opacity: 0.7;
}

.slide_control_prev:active,
.slide_control_next:active {
    background-color: #e0e0e0;
    transform: scale(0.95);
}
.slide_control_stop::after {
    content: '॥';
    display: block;
    font-size: 13px;
    line-height: 1;
    color: #333;
    pointer-events: none;
    position: absolute;
    top: 13%;
    right: 23%;
}

.topics-ichiran {
    background-color: #f5d141;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    margin-top: 15px;
    line-height: 1;
}    

.topics-ichiran:hover {
    opacity: 0.7;
}
.topics-ichiran span {
    display: block;
    width: 100%;
}
.topics-ichiran a {
    display: block;
    cursor: pointer;
    color: #231815;
}

.topics-right {
    width: 820px;
    flex-shrink: 0;
    height: 300px;
    padding: 0;
    overflow: hidden;
    
}

/* Swiper用のスタイル */
.topics-right .swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0; 
    padding: 0;
}

.topics-right .swiper-wrapper {
    display: flex;
    height: 100%;
    align-items: flex-start;
   
}



/*.topics-right .swiper-slide:first-child {
    width: 245px !important;
    min-width: 250px; 
    max-width: 250px;
    height: 300px;
    padding: 10px;
    margin-left: 15px;
    box-sizing: border-box;
    flex-shrink: 0;
}*/

.topics-right .swiper-slide {
/*    width: 240px !important;
    min-width: 240px; */
    max-width: /*240px*/calc(820px / 3);
    height: 300px;
/*    padding: 10px;
    margin-left: 20px;*/
    box-sizing: border-box;
    flex-shrink: 0;
}

.topics-right .lettering_box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lettering_box_img {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.lettering_box_img img {
    width: 100%;
    /*height: auto;*/
    height: 150px;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lettering_box_img a:hover img {
    transform: scale(1.05);
}

.lettering_box_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.article_date {
    font-size:/* 14px*/ .9rem;
    color: #000;
    margin: 0 0 8px 0;
}

.article_title {
    /*font-size: .9rem;*/
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    
}

.article_title a {
    color: #1f6fc0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    margin-left: 16px;
}

.article_title a:hover {
    color: #879c4b;
}




/* プロモバナー */
.promo-banner {
        width: 100%;
        background-color: #cfd3a5;
        /*margin-top: -20px;*/
        padding: 50px 0;
        box-shadow: 0 0 0 100vmax #cfd3a5;
        clip-path: inset(0 -100vmax);
}

@media screen and (max-width:1080px) {
       .promo-banner {
              margin-top: 50px;
       } 
}

.promo-banner-inner {
        max-width: 1080px;
        margin: 0 auto;
        padding: 0;
}

.promo-banner ul {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        list-style-type: none;
        margin: 0;
        padding: 0;
}

.promo-banner ul li {
        flex: 1;
        min-width: 0; /* flexアイテムの縮小を許可 */
}

.promo-banner ul li a {
        display: block;
        text-decoration: none;
}

.promo-banner .promo-content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        min-height: 113px;
        border: 1px solid #000;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.2s ease;
        box-sizing: border-box;
}

.promo-banner .promo-content > * {
        float: none !important;
        position: static !important;
}

.promo-banner .promo-content:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.promo-banner .promo-image {
        flex: 0 0 116px !important;
        width: 116px;
        height: 113px;
        order: 1;
}

.promo-banner .promo-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-color: pink;
}

.promo-banner .promo-text {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: #fff !important;
        padding: 10px 15px;
        order: 2;
        min-width: 0;
}

.promo-banner .promo-text h4 {
        color: #584333 !important;
        font-size:/* 16px*/ 1rem;
        line-height: 1.4;
        text-align: center;
        margin: 0;
        padding: 0;
        font-weight: normal;
}

@media screen and (min-width:1101px) {
        .promo-banner .promo-text h4{
                font-size:/* 24px*/ ;
        }
}

/* レスポンシブ対応 */
@media screen and (max-width: 850px) {
        .promo-banner ul {
                flex-direction: column;
                gap: 15px;
        }
        
        .promo-text h4 {
                font-size: 20px !important;
        }
}

@media screen and (max-width: 480px) {
        .promo-text h4 {
                font-size: 18px;
        }
        
        .promo-banner {
                padding: 30px 0;
        }
}

/* top-page最下部swiper */
/* Banner2専用スタイル - パディング最適化版 */
#top_banner_2_list {
	background-color: transparent;
	padding: 0;
	margin: 20px 0;
	position: relative;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.banner2-swiper-container {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

.banner2-swiper-container .swiper-wrapper {
	display: flex;
	align-items: center;
}

.banner2-swiper-container .swiper-slide {
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	flex-shrink: 0;
}

.banner2-swiper-container .swiper-slide a {
	display: block;
	width: 100%;
	transition: opacity 0.3s;
}

.banner2-swiper-container .swiper-slide a:hover {
	opacity: 0.8;
}

.banner2-swiper-container .swiper-slide img {
	width: 100%;
	height: auto;
	display: block;
}

/* コントロールボタン - バナーの外側に配置 */
.banner2-control-box {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	z-index: 10;
	padding: 0 3px;
}

.banner2-btn-prev,
.banner2-btn-next {
	width: 40px;
	height: 40px;
	background-color: #FFD700; /* 黄色 */
	color: #333;
	border: none;
	border-radius: 50%; /* 丸ボタン */
	cursor: pointer;
	font-size: 0; /* テキストを非表示 */
	transition: all 0.3s;
	pointer-events: auto; /* ボタンはクリック可能 */
	position: relative;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	flex-shrink: 0;
}

.banner2-btn-prev:hover,
.banner2-btn-next:hover {
	background-color: #FFC700;
	transform: scale(1.1);
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.banner2-btn-prev:active,
.banner2-btn-next:active {
	transform: scale(0.95);
}

/* 矢印アイコンをCSSで作成 */
.banner2-btn-prev::before,
.banner2-btn-next::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-style: solid;
}

/* 前へボタン：左向き矢印 */
.banner2-btn-prev::before {
	border-width: 8px 12px 8px 0;
	border-color: transparent #333 transparent transparent;
	margin-left: -2px;
}

/* 次へボタン：右向き矢印 */
.banner2-btn-next::before {
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent #333;
	margin-left: 2px;
}

#top_banner_2_list .c1 { transform: translateX(-16px); }

/* デバッグ用カラー - 削除してOK */
#top_banner_2_list .c1 { background-color: #ffe6e6; }
#top_banner_2_list .c2 { background-color: #fff4e6; }
#top_banner_2_list .c3 { background-color: #ffffcc; }
#top_banner_2_list .c4 { background-color: #e6ffe6; }
#top_banner_2_list .c5 { background-color: #e6f3ff; }
#top_banner_2_list .c6 { background-color: #f3e6ff; }

/* レスポンシブ対応 - パディング最適化 */
/* PC: 1080px以上 - 6枚表示 */
@media (min-width: 1080px) {
	#top_banner_2_list {
		padding: 0 48px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 96px);
	}
}

/* タブレット大: 950px以上 - 5枚表示 */
@media (min-width: 950px) and (max-width: 1079px) {
	#top_banner_2_list {
		padding: 0 46px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 92px);
	}
}

/* タブレット: 800px以上 - 4枚表示 */
@media (min-width: 800px) and (max-width: 949px) {
	#top_banner_2_list {
		padding: 0 44px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 88px);
	}
}

/* タブレット小: 670px以上 - 3枚表示 */
@media (min-width: 670px) and (max-width: 799px) {
	#top_banner_2_list {
		padding: 0 42px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 84px);
	}
	
	.banner2-btn-prev,
	.banner2-btn-next {
		width: 38px;
		height: 38px;
	}
}

/* スマホ中: 500px以上670px未満 - 2枚表示 */
@media (min-width: 500px) and (max-width: 669px) {
	#top_banner_2_list {
		padding: 0 35px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 70px);
	}
	
	.banner2-btn-prev,
	.banner2-btn-next {
		width: 35px;
		height: 35px;
	}
	
	.banner2-btn-prev::before {
		border-width: 6px 10px 6px 0;
	}
	
	.banner2-btn-next::before {
		border-width: 6px 0 6px 10px;
	}
}

/* スマホ小: 400px以上500px未満 - 2枚表示 */
@media (min-width: 400px) and (max-width: 499px) {
	#top_banner_2_list {
		padding: 0 28px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 56px);
	}
	
	.banner2-btn-prev,
	.banner2-btn-next {
		width: 32px;
		height: 32px;
	}
	
	.banner2-btn-prev::before {
		border-width: 5px 9px 5px 0;
	}
	
	.banner2-btn-next::before {
		border-width: 5px 0 5px 9px;
	}
	
	.banner2-control-box {
		padding: 0 2px;
	}
}

/* 極小スマホ: 400px未満 - 2枚表示 */
@media (max-width: 399px) {
	#top_banner_2_list {
		padding: 0 20px;
	}
	
	.banner2-swiper-container {
		max-width: calc(100% - 40px);
	}
	
	.banner2-btn-prev,
	.banner2-btn-next {
		width: 30px;
		height: 30px;
	}
	
	.banner2-btn-prev::before {
		border-width: 5px 8px 5px 0;
	}
	
	.banner2-btn-next::before {
		border-width: 5px 0 5px 8px;
	}
	
	.banner2-control-box {
		padding: 0 2px;
	}
}





/* リンク */
.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: 0;
    max-width: 350px;
    width: 100%;
}

.top_jinkou_box {
    background-color: #ffffff;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

/* ヘッダー部分 */
.top_jinkou_header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.top_jinkou_ttl {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    color: #333333;
}

.top_jinkou_date {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    color: #333333;
    white-space: nowrap;
}

/* データリスト - 横一列配置 */
.top_jinkou_list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 6px;
    width: 100%;
}

.top_jinkou_item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 4px;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.top_jinkou_item dt {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 6px 0;
    padding: 0;
    width: 100%;
}

.top_jinkou_icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.top_jinkou_item dt span {
    font-size: 11px;
    font-weight: 600;
    color: #555555;
    text-align: center;
    white-space: nowrap;
}

.top_jinkou_item dd {
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    font-weight: bold;
    color: #1F6FC0;
    text-align: center;
    line-height: 1.3;
    word-break: break-all;
    width: 100%;
    overflow-wrap: break-word;
}

/* レスポンシブ対応 */
@media screen and (max-width: 350px) {
    .top_jinkou_box {
        padding: 15px 10px;
    }
    
    .top_jinkou_list {
        gap: 4px;
    }
    
    .top_jinkou_item {
        padding: 8px 2px;
    }
    
    .top_jinkou_icon {
        width: 24px;
        height: 24px;
        margin-bottom: 3px;
    }
    
    .top_jinkou_item dt span {
        font-size: 10px;
    }
    
    .top_jinkou_item dd {
        font-size: 13px;
    }
}

@media screen and (max-width: 280px) {
    .top_jinkou_list {
        flex-wrap: wrap;
    }
    
    .top_jinkou_item {
        flex: 0 0 calc(50% - 3px);
    }
}


/* 時計 */
.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_area_1 {
        margin-top: 40px;
        border-radius: 10px;
}

/* カウントダウン */
.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;
        backgronud-color: pink;
        max-width: 1080px;
        margin: 0 auto;
        border-radius: 10px;
}
.count_down_box {
	/*width: calc(50% - 15px);*/
        width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	background: #f6f6f6;
	padding: 20px;
        border-radius: 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);
        font-size:/* 16px*/1rem
}
.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:/* 32px*/2rem;
	font-weight: bold;
	line-height: 1;
	margin-left: 0.5em;
	margin-right: 0.25em;
}

.count_title a {
        color: #1f6fc0;
}

/* バナー広告 */
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: 0;
	}
	#top_important h2 {
		font-size: 20px;
	}

	#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: 0;
	}
	#main_box_emergency h2 {
		font-size: 20px;
	}

	#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: /*18px*/1.15rem;
		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: /*16px*/1rem;
	}

	/* トピックス */
	.lettering_box > div.lettering_box_img {
		width: 262px;
                height:174px;
                background-color: blue;
	}

	/* さがすメニュー */
	.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;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */