.layer-overlay {
    height:450px;
}

footer#footer{
    background-color: #081340;
}

footer#footer h1 {
    color:#ffffff;
}

.entry-content span , .entry-content a{
    font-size:17px!important;
}

#information > .container, section > .container-fluid , #service  > .container, section > .container-fluid {
    padding-bottom: 0;
}

.department-items img {
    width: 200px!important;
    height: 200px;
    object-fit: contain;
  }

#information .col-md-6 {
    text-align: center;
  }

.houjin {
    font-size:1.2rem;
    margin-bottom:-1rem;
    color: #00a3c8;
}

.menuzord-brand h1 {
    margin-top:0;
}

.widget-title.widget-title-line-bottom {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.text-bold {
    font-weight: bold;
}

.footer-info , .access {
    font-size:1.1rem;
}


.info-img {
    width:300px;
    height: auto;
}

footer#footer {
    margin-top: 1rem;
}

.sma {
    display: none;
}

/* 以下　追加レスポンシブ */

@media (max-width: 767px) {
	body {	font-size: 15px;
    padding:10px; }
	h1 { font-size:1.2em; }
	h2 { font-size:1.2em; }
	h3 { font-size:1.5em; }
    h4 { font-size:0.9em; }
    h5 { font-size:1.1em; }
    #news-wrap{
/*        margin-top:150px;*/
        margin-bottom:0;
    }
    section > .container, section > .container-fluid {
        padding-bottom:0!important;
        padding-top:1em!important;
        margin-top:0;
    }

    .sma {
        display: block;
    }
}

@media (min-width: 1136px) and (max-width: 1279px) {
    body {
        font-size: 16px;
    }
    h1 { font-size:1.3em; }
	h2 { font-size:1.5em; }
	h3 { font-size:1.5em; }
    h4 { font-size:1.3em; }
    h5 { font-size:1.1em; }
    #news-wrap{
/*        margin-top:100px;*/
        margin-bottom:0;
    }
}

@media (min-width: 960px) and (max-width: 1135px) {
    body {
        font-size: 16px;
    }
    h1 { font-size:1.3em; }
	h2 { font-size:1.5em; }
	h3 { font-size:1.5em; }
    h4 { font-size:1.3em; }
    h5 { font-size:1.1em; }
    #news-wrap{
/*        margin-top:150px;*/
        margin-bottom:0;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    body {
        font-size: 16px;
    }
    h1 { font-size:1.3em; }
	h2 { font-size:1.5em; }
	h3 { font-size:1.5em; }
    h4 { font-size:1.3em; }
    h5 { font-size:1.1em; }
    #news-wrap{
/*        margin-top:150px;*/
        margin-bottom:0;
    }
}

@media (max-width: 576px) {
    h1 { font-size:1.3em; }
	h2 { font-size:1.5em; }
	h3 { font-size:1.3em; }
    h4 { font-size:1.3em; }
    h5 { font-size:1.1em; }
    #news-wrap{
/*        margin-top:230px;*/
		margin-top:40px;
        margin-bottom:0;
    }

    .main-content-area .pt-150 {
        padding-top:80px!important;
    }

    .widget_nav_menu {
        margin-top:2rem!important;
    }

    #footer .container {
        padding:20px;
    }

    #footer .pt-90 {
        padding-top:0!important;
    }

    .mb-font-small {
        font-size: 0.8rem!important;
    }

    .header-nav-wrapper {
        left:0!important;
    }
}
/* 以上　追加レスポンシブ */
@media (min-width: 1200px) and (max-width: 1600px){
    #header .header-nav-col-row .align-self-center {
        margin: 0 !important;
        padding: 0 !important;
    }
}

.layer-overlay{
    background-image: url("../images/bg/bg17.jpg");
/*    background-repeat: no-repeat;*/
}

/* レイアウト調整 */

@media (max-width: 1199.98px) {
    /* ヘッダーの縦幅。ハンバーガーメニュー化以降に狭める */
    header#header.header-layout-type-header-2rows .menuzord-brand {
      margin-bottom: 1px !important;
      margin-top: 1px !important; } 

    }

@media (max-width: 1199.98px) {
        /* 旧来は767から適応*/
        header#header .header-top {
          padding-bottom: 10px;
          padding-top: 0px;
        }

        header#header .header-top .element {
            padding-top: 5px;
            padding-bottom: 1px;

        }
    
        header#header .header-top .contact-info li {
            margin-top: 1px;
            margin-bottom: 1px;
        }

        header#header .header-top .contact-info li.contact-email {
            margin-top: 1px;
            margin-bottom: 1px;
        }
    }

    @media (max-width: 767px) {
    /* 電話番号類が3行になってからFAXは消去*/
        header#header .header-top .contact-info li.contact-email {
            display: none;
        }
    }

    .tm-sc-section-title {
        margin-bottom: 3em;
    }
    
    .widget {
        margin-bottom: 1em;
    }

    .tm-sc-unordered-list li{
        font-size: 1.08em;
    }

    .widget.widget_meta li{
        font-size: 1.08em;
    }

    #incho-aisatsu-text {
        font-size: 1.1rem;
    }

    /* お知らせセクションのレスポンシブ対応 */
    .news-responsive-list {
        width: 100%;
    }

    .news-responsive-list .news-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }

    .news-responsive-list .news-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* 日付とバッジのコンテナ */
    .news-responsive-list .news-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
        width: 100%;
    }

    /* 日付スタイル */
    .news-responsive-list .news-date {
        color: #00a3c8;
        font-weight: 500;
        white-space: nowrap;
        font-size: 1.1rem;
    }

    /* お知らせ本文 */
    .news-responsive-list .news-content {
        width: 100%;
        color: #333;
        line-height: 1.6;
        font-size: 1.1rem;
    }

    /* タブレットサイズ（768px以下） */
    @media (max-width: 768px) {
        .news-responsive-list .news-item {
            padding-bottom: 12px;
            margin-bottom: 12px;
        }

        .news-responsive-list .news-meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .news-responsive-list .news-date {
            font-size: 0.95rem;
        }

        .news-responsive-list .news-content {
            font-size: 0.95rem;
            margin-top: 5px;
        }
    }

    /* スマホサイズ（576px以下） */
    @media (max-width: 576px) {
        .news-responsive-list .news-item {
            padding-bottom: 10px;
            margin-bottom: 10px;
        }

        .news-responsive-list .news-date {
            font-size: 0.9rem;
        }

        .news-responsive-list .badge {
            font-size: 0.7rem;
            padding: 0.2em 0.5em;
        }

        .news-responsive-list .news-content {
            font-size: 0.9rem;
            line-height: 1.5;
        }
    }

    /* 5件以上表示時のオプション: スクロール可能なコンテナ */
    .news-responsive-list.scrollable {
        max-height: 400px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .news-responsive-list.scrollable::-webkit-scrollbar {
        width: 6px;
    }

    .news-responsive-list.scrollable::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .news-responsive-list.scrollable::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }

