/* Minification failed. Returning unminified contents.
(1253,22): run-time error CSS1039: Token not allowed after unary operator: '-env-hover-bg'
(1254,17): run-time error CSS1039: Token not allowed after unary operator: '-env-hover-color'
(2082,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2089,32): run-time error CSS1039: Token not allowed after unary operator: '-bg-color'
(2101,45): run-time error CSS1039: Token not allowed after unary operator: '-bg-color'
(2142,44): run-time error CSS1039: Token not allowed after unary operator: '-bg-color'
(2168,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2181,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2216,45): run-time error CSS1039: Token not allowed after unary operator: '-bg-color'
 */
@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/* CSS Document */

i {
    font-style: normal;
}

body,
div,
dl,
dt,
dd,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: unset;
}

body {
    width: 100%;
    overflow-x: hidden;
    font-size: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Noto Sans TC", Verdana, "sans-serif";
}

#greybg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .6;
    z-index: 4;
    display: none;
}

#start-footer {
    position: absolute;
    left: 0;
    top: -20px
}

#greybg.is-active {
    display: block;
}

.c-full-1-block * {
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

    .sr-only:focus,
    .sr-only:active {
        color: white;
        background-color: #23d0d8;
        top: auto;
        left: calc(50% - 110px);
        width: 220px;
        height: auto;
        overflow: auto;
        margin: 10px auto;
        padding: 0.5rem;
        border-radius: 0.5rem;
        text-align: center;
        font-size: 1em;
        z-index: 999;
        position: absolute;
    }

a:focus-visible,
button:focus-visible {
    outline: 2px #ff0004 dotted !important;
}

a {
    color: #666;
    transition: all 0.4s;
}

    a:hover,
    a:focus,
    button:focus {
        text-decoration: none;
        outline: none;
    }

    a:visited {
        outline: none;
        text-decoration: none;
    }

header {
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    transition: all 0.3s;
    position: fixed;
    margin: auto;
    right: 0;
    top: 0;
    left: 0;
}

    header.small {
        min-height: 80px;
        transition: all 0.3s;
        background: rgba(250, 250, 250, 0.8);
        backdrop-filter: blur(20px) brightness(94%);
        font-size: unset;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    }

    header .sitemap {
        width: 100%;
        position: relative;
        padding: 10px 5px 10px 0;
        display: flex;
        justify-content: flex-end;
    }

        header .sitemap ul {
            display: flex;
            align-items: center;
            margin-bottom: 0;
            gap: 5px;
            flex-wrap: wrap;
            justify-content: center;
        }

            header .sitemap ul li {
                display: inline-flex;
                align-items: center;
                color: #000;
            }

                header .sitemap ul li a {
                    width: 40px;
                    height: 40px;
                    color: #371D00;
                    font-weight: bold;
                    transition: all 0.3s;
                    border-radius: 50%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                    header .sitemap ul li a.Guided_Tour {
                        background: transparent;
                        border: #5a7f15 1px solid;
                        color: #5a7f15;
                    }

                        header .sitemap ul li a.Guided_Tour:hover {
                            background: #5a7f15;
                            color: #FFF;
                        }

                    header .sitemap ul li a.SGM {
                        background: #5a7f15;
                        color: #FFF;
                    }

                        header .sitemap ul li a.SGM:hover {
                            background: transparent;
                            border: #5a7f15 1px solid;
                            color: #5a7f15;
                        }

                    header .sitemap ul li a.kids {
                        background: #4879b1;
                        color: #FFF;
                    }

                        header .sitemap ul li a.kids:hover {
                            background: #3e6da3;
                        }

                    header .sitemap ul li a.icon-en {
                        background: #3d72ae;
                        color: #FFF;
                    }

                        header .sitemap ul li a.icon-en:hover {
                            background: #1c4778;
                        }

                    header .sitemap ul li a.moenv {
                        background: url(../img/sitmap_moenv.svg) 0 0 no-repeat;
                    }

                    header .sitemap ul li a.EMA {
                        background: url(../img/EMA.svg) 0 0 no-repeat;
                    }

.w1270 {
    max-width: 1270px;
    width: 95%;
    position: relative;
    margin: auto;
}

header .w1270 {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    position: static;
}

nav {
    width: 100%;
    margin-top: 23px;
}

h1 {
    display: inline-block;
    position: absolute;
    top: 5px
}

    h1 a.logo {
        display: inline-block;
        background: url(../img/logo.svg) left center /contain no-repeat;
        width: 380px;
        height: 58px;
        text-indent: -9999px;
    }

    h1 a.inside_logo {
        display: inline-block;
        background: url(../img/logo.svg) left center /contain no-repeat;
        width: 380px;
        height: 58px;
        text-indent: -9999px;
    }

.small h1 a.logo {
    height: 55px;
}

.portfolio-filter {
    display: flex;
    flex-direction: column;
    width: 100%;
}

a.accesskey.u {
    text-indent: unset;
    color: #333;
}


/* 主選單 */

.nav_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

    .nav_menu li {
        display: inline-flex;
        font-size: 1.1rem;
        display: flex;
        flex-flow: column;
        z-index: 1;
        position: relative;
        width: max-content;
        padding: 10px;
    }

        .nav_menu li a {
            display: inline-flex;
            color: rgba(0, 0, 0, .7);
        }

        .nav_menu li:hover {
            background-color: #f8f8f8;
        }

        .nav_menu li.nsdnmenu.widthauto {
            position: unset;
        }

    .nav_menu > li span {
        display: flex;
        height: 100%;
        align-items: center;
        text-align: center;
    }

    .nav_menu > li.nsdnmenu > .hasChild ul li {
        flex-direction: unset;
        font-size: 1rem;
        width: 100%;
        padding: 10px 20px;
        border-bottom: #e6e6e6 1px solid;
    }

    .nav_menu > li > .hasChild {
        z-index: 2;
        position: absolute;
        left: 5px;
        list-style: none;
        text-align: left;
        transition: all .2s;
        width: max-content;
        pointer-events: none;
        opacity: 0;
        top: calc(100% + 0px);
    }

    .nav_menu > li.nsdnmenu:hover > .hasChild,
    .nav_menu > li.nsdnmenu:focus-within > .hasChild {
        opacity: 1;
        pointer-events: auto;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, .15);
    }

    .nav_menu > li.nsdnmenu .hasChild2 {
        z-index: 2;
        position: absolute;
        left: 100%;
        list-style: none;
        text-align: left;
        transition: all .2s;
        width: max-content;
        pointer-events: none;
        opacity: 0;
        top: 0
    }

    .nav_menu > li.nsdnmenu:hover li:hover > .hasChild2,
    .nav_menu > li.nsdnmenu:focus-within li:focus-within > .hasChild2 {
        opacity: 1;
        pointer-events: auto;
        border: 1px solid rgba(0, 0, 0, .15);
        padding: 0;
        background-color: #fff;
    }

    .nav_menu > li.nsdnmenu .hasChild li a {
        font-weight: normal;
        display: flex;
        justify-content: space-between;
    }

.hasChild2 ul {
    padding: 0;
    padding-top: 5px;
}

.nav_menu li.nsdnmenu span:after {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    border-image: initial;
    transform: rotate(135deg);
    border-bottom: none;
    border-left: none;
    margin-bottom: 0.2em;
}

.nav_menu li.nsdnmenu.expanded span:after {
    transform: rotate(-45deg);
    margin-bottom: 0;
}

.nav_menu li.nsdnmenu a.navmenu3:after {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    border-image: initial;
    transform: rotate(45deg);
    border-bottom: none;
    border-left: none;
    margin-bottom: 0.2em;
}

.nav_menu li.nsdnmenu a.navmenu3.expanded:after {
    transform: rotate(-45deg);
    margin-bottom: 0;
}

.nav_menu li.nsdnmenu a.navmenu3.desktop:after {
    transform: rotate(45deg);
    margin-top: 7px;
}


/*banner*/

.slide {
    margin-top: 120px;
}


/*index_content*/

.news-section {
    display: flex;
    gap: 10px;
    border-radius: 12px;
    padding: 0;
    margin: 24px auto;
    width: calc(100% - 30px);
    align-items: stretch;
}

h2.news-sidebar {
    color: #fff;
    width: 80px;
    display: flex;
    justify-content: center;
    font-weight: bold;
    position: relative;
    padding: 0;
}

.news-sidebar2 {
    width: calc(100% - 80px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

.news-sidebar::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: 1;
}

.news-sidebar::after {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: 1;
}

.news-sidebar span:nth-child(2) {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    width: 65px;
    border: #fff 1px solid;
    display: flex;
    justify-content: center;
    writing-mode: vertical-rl;
    align-items: center;
    height: auto;
}

.news-sidebar span {
    content: "";
    position: relative;
    width: 15px;
    height: 100%;
}

.blue span:nth-child(2) {
    background-color: #71CDE1;
}

.blue span:not(:nth-child(2)) {
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 30%, #9EDDEA 50%, #ffffff 70%, #ffffff 100%);
}

.blue::before {
    background: url(../img/news_title_top.svg) 0 0 /contain no-repeat;
}

.blue::after {
    background: url(../img/news_title_bottom.svg) 0 0 /cover no-repeat;
}

.news-list {
    flex: 2;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 50%;
}

.news-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.news-date {
    color: #888;
    font-size: 0.8REM;
    flex-shrink: 0;
    min-width: 80px;
    margin-top: 2px;
    text-align: right;
}

.news-title {
    background: #fff;
    border: 1px solid #d3def1;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 1.1rem;
    line-height: 1.5;
    flex: 1;
    cursor: pointer;
}

    .news-title:hover {
        background: #eff7fb;
    }

.more-link {
    font-size: 1.2rem;
    color: #5aa7c6;
    text-align: right;
    text-decoration: none;
    display: block;
    margin-top: 8px;
    margin-right: 10px;
}

.news-highlight {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: calc(50% - 86px);
    border-radius: 12px;
    padding: 30px;
    background: url(../img/new_bg.png) 0 0 / cover no-repeat;
}

.news-highlight2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 30px 30px 0;
    font-size: 1.2rem;
    line-height: 1.5rem;
    gap: 15px;
}

.news-highlight .highlight-date,
.news-highlight .highlight-title {
    text-align: center;
}

.news-highlight .highlight-img {
    display: block;
    max-width: 200px;
    width: 40%;
}


/*場址列管成果*/

.E38F73::before {
    background: url(../img/E38F73_title_top.svg) 0 0 /contain no-repeat;
}

.E38F73::after {
    background: url(../img/E38F73_title_bottom.svg) 0 0 /cover no-repeat;
}

.E38F73 span:nth-child(2) {
    background-color: #E38F73;
}

.E38F73 span:not(:nth-child(2)) {
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 10%, #EADAA6 50%, #ffffff 90%, #ffffff 100%);
}


/*熱門專區*/

.F6B854 span:nth-child(2) {
    background-color: #F6B854;
}

.F6B854 span:not(:nth-child(2)) {
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 10%, #FAD7A0 50%, #ffffff 90%, #ffffff 100%);
}

.F6B854::before {
    background: url(../img/F6B854_title_top.svg) 0 0 /contain no-repeat;
}

.F6B854::after {
    background: url(../img/F6B854_title_bottom.svg) 0 0 /cover no-repeat;
}

.swiper-container {
    width: 100%;
    position: relative;
}

.swiper {
    width: calc(100% - 80px);
    margin: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

#my-swiper-1 .swiper-slide a {
    mix-blend-mode: multiply
}

#my-swiper-1 .swiper-slide img {
    width: 170px;
    transition: all 0.2s;
    mix-blend-mode: multiply
}

#my-swiper-1 .swiper-slide:hover img {
    width: 170px;
    transform: scale(1.05);
    transition: all 0.2s;
}

.swiper-button-prev,
.swiper-button-next {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    z-index: 1;
    position: absolute;
    top: 50%;
    cursor: pointer;
    padding: 0;
    display: flex !important;
    color: transparent
}

#my-swiper-1 .swiper-button-prev {
    background: transparent url(../img/yellow-left-btn.svg) center/contain no-repeat;
}

#my-swiper-1 .swiper-button-next {
    background: transparent url(../img/yellow-left-btn.svg) center/contain no-repeat;
    right: 0px;
    transform: rotate(180deg)
    /* Flip for right arrow */
}

.swiper-button-prev img,
.swiper-button-next img {
    width: 36px;
    height: 36px;
    display: block;
    pointer-events: none;
}


/*限時活動*/

.FF7C80 span:nth-child(2) {
    background-color: #FF7C80;
}

.FF7C80 span:not(:nth-child(2)) {
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 10%, #FED5D6 50%, #ffffff 90%, #ffffff 100%);
}

.FF7C80::before {
    background: url(../img/FF7C80_title_top.svg) 0 0 /contain no-repeat;
}

.FF7C80::after {
    background: url(../img/FF7C80_title_bottom.svg) 0 0 /cover no-repeat;
}

.pure-slide-card {
    width: 428px;
    background: transparent url(../img/pure-slide-card.svg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    min-height: 237px;
    margin: 0 auto;
}

.pure-slide-img {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pure-slide-img img {
        width: 215px;
        margin-left: 9px;
    }

.pure-slide-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5px;
    padding-right: 15px;
    text-align: center;
}

.pure-slide-date {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pure-slide-title {
    color: #222;
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-all;
}

#my-swiper-2 .swiper-button-prev {
    background: transparent url(../img/FF9699-left-btn.svg) center/contain no-repeat;
}

#my-swiper-2 .swiper-button-next {
    background: transparent url(../img/FF9699-left-btn.svg) center/contain no-repeat;
    right: 0px;
    transform: rotate(180deg)
}

#my-swiper-2 .swiper-slide {
    transition: all 0.2s;
}

    #my-swiper-2 .swiper-slide:hover {
        transform: scale(1.05);
        transition: all 0.2s;
    }

@media (max-width: 500px) {
    .pure-slide-card {
        background: none;
    }

    .pure-slide-card {
        width: 96vw;
        border-radius: 0;
        padding: 10px;
        flex-direction: column;
    }

    .pure-slide-img {
        margin-bottom: 10px;
        flex-basis: unset;
    }

        .pure-slide-img img {
            width: 90vw;
            height: auto;
            max-width: 220px;
            border-radius: 14px;
        }

    .pure-slide-info {
        margin-left: 0;
        padding: 0 4px;
    }
}


/*活動成果*/

.AC7 span:nth-child(2) {
    background-color: #318AC7;
}

.AC7 span:not(:nth-child(2)) {
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 10%, #85CAFE 50%, #ffffff 90%, #ffffff 100%);
}

.AC7::before {
    background: url(../img/AC7_title_top.svg) 0 0 /contain no-repeat;
}

.AC7::after {
    background: url(../img/AC7_title_bottom.svg) 0 0 /cover no-repeat;
}

#my-swiper-3 img {
    max-width: 320px;
    width: 100%;
}

#my-swiper-3 .swiper-button-prev {
    background: transparent url(../img/AC7-left-btn.svg) center/contain no-repeat;
}

#my-swiper-3 .swiper-button-next {
    background: transparent url(../img/AC7-left-btn.svg) center/contain no-repeat;
    right: 0px;
    transform: rotate(180deg)
}

.more-link2 {
    font-size: 1.2rem;
    color: #5aa7c6;
    text-align: right;
    text-decoration: none;
    margin-left: auto;
    margin-top: 8px;
    margin-right: 52px;
}


/* footer */

body footer {
    background: #EDEEE6;
    margin-top: 15px;
    padding: 15px;
    line-height: 25px;
}

    body footer .w1270 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
    }

    body footer .txt_l {
        text-align: left
    }

    body footer .form-inline div {
        margin-right: 10px
    }

    body footer ul {
        display: flex;
        flex-wrap: wrap;
    }

    body footer li {
        display: flex;
        flex-wrap: wrap;
    }

        body footer li:before {
            content: "|";
            padding-left: 3px;
            padding-right: 4px
        }

    body footer a {
        color: #000;
        text-decoration: none
    }

        body footer a:hover {
            text-decoration: underline
        }

/* 土污基管會執掌 */

.tsf-container {
    margin: auto;
    padding: 0;
    line-height: 1.5rem;
}

.tsf-highlight-box {
    background-color: #e7f0f4;
    color: #000;
    font-weight: bold;
    padding: 0.5rem 1rem;
    display: inline-block;
    font-size: 1.2rem;
}


.tsf-title1 {
    font-size: 1.2rem;
}

.tsf-title2 {
    font-size: 1.25rem;
}

.tsf-list {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

    .tsf-list li {
        margin-bottom: 0.6rem;
        list-style: none;
    }

.tsf-highlight-box {
    margin-bottom: 1rem;
}

.tsf-paragraph {
    margin-bottom: 1rem;
    white-space: pre-line;
    /* 保留換行 */
}

    .tsf-paragraph a{
        text-indent: 1px;
    }

@media (max-width: 600px) {
    .tsf-container {
        padding: 0.5rem;
    }

    .tsf-title1 {
        font-size: 1.3rem;
    }

    .tsf-title2 {
        font-size: 1.1rem;
    }
}


.pmg-container {
    margin: 20px auto;
    box-sizing: border-box;
}

.pmg-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: -1.6rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    overflow-x: auto;
}




.pmg-sub-title {
    flex: 0 0 auto;
    background-color: #ffffff;
    color: #3b3b3b;
    font-weight: 500;
    border: 2px solid #7dc4ce;
    padding: 1.2rem 2rem;
    border-radius: 4px;
    box-shadow: 2px 2px 0 #cae3e8;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s, color 0.3s;
}

    .pmg-sub-title:hover {
        background-color: #7dc4ce;
        color: white;
    }

    .pmg-sub-title.active {
        background-color: #7dc4ce;
        color: white;
    }

.pmg-content {
    font-size: 1rem;
    color: #2c2c2c;
    border: 2px solid #a5d4db;
    background-color: #f6fbfc;
    padding: 20px;
    display: none;
}

    .pmg-content.active {
        display: block;
    }

.pmg-content2 {
    background-color: #fff;
    padding: 30px;
}

.pmg-section {
    margin-bottom: 1.6rem;
}

    .pmg-section ul {
        padding-left: 2rem;
        margin-top: 0.5rem;
    }

        .pmg-section ul li {
            margin-bottom: 0.5rem;
            line-height: 1.5;
        }

@media (max-width: 700px) {


    .pmg-header {
        gap: 0.6rem;
        margin-bottom: 0;
        overflow-x: scroll;
        justify-content: flex-start;
    }

    .pmg-main-title,
    .pmg-sub-title {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}


/*預防調查作業*/

.baa2 span:nth-child(2) {
    background-color: #62baa2;
}

.inside_news-sidebar.baa2 span:not(:nth-child(2)) {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #bee2d9 50%, #ffffff 90%, #ffffff 100%);
}

.baa2::before {
    background: url(../img/baa2_title_top.svg) 0 0 /contain no-repeat;
}

.baa2::after {
    background: url(../img/baa2_title_bottom.svg) 0 0 /cover no-repeat;
}

/*相關網站*/
.Reddish_brown span:nth-child(2) {
    background-color: #823508;
}

.inside_news-sidebar.Reddish_brown span:not(:nth-child(2)) {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #f3e8dd 50%, #ffffff 90%, #ffffff 100%);
}

.Reddish_brown::before {
    background: url(../img/Reddish_brown_title_top.svg) 0 0 /contain no-repeat;
}

.Reddish_brown::after {
    background: url(../img/Reddish_brown_title_bottom.svg) 0 0 /cover no-repeat;
}

/*土汙相關法規*/
.d8b35d span:nth-child(2) {
    background-color: #d8b35d;
}

.inside_news-sidebar.d8b35d span:not(:nth-child(2)) {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #f3e8dd 50%, #ffffff 90%, #ffffff 100%);
}

.d8b35d::before {
    background: url(../img/d8b35d_title_top.svg) 0 0 /contain no-repeat;
}

.d8b35d::after {
    background: url(../img/d8b35d_title_bottom.svg) 0 0 /cover no-repeat;
}

/* 麵包屑 */

main {
    margin: 120px 0 auto;
}

.menuBread {
    background: #F8F6ED;
    border-radius: 5px;
    padding: 15px !important;
    position: relative;
    color: #59473F;
}

    .menuBread a {
        color: #59473F;
        text-decoration: none
    }

h2.inside_news-sidebar {
    color: #fff;
    width: fit-content;
    flex-direction: column;
    display: flex;
    justify-content: center;
    font-weight: bold;
    position: relative;
    padding: 0;
}

    h2.inside_news-sidebar::before {
        content: "";
        width: 100%;
        height: 8px;
        position: absolute;
        top: -5px;
        left: -5px;
        z-index: 1;
    }

    h2.inside_news-sidebar::after {
        content: "";
        width: 16px;
        height: 16px;
        position: absolute;
        bottom: -10px;
        right: -10px;
        z-index: 1;
    }

    h2.inside_news-sidebar span:nth-child(2) {
        text-align: center;
        font-size: 1.6rem;
        letter-spacing: 0.2rem;
        width: 100%;
        border: #fff 1px solid;
        display: flex;
        justify-content: center;
        writing-mode: horizontal-tb;
        align-items: center;
        padding: 10px 20px;
        min-width: 250px;
    }

    h2.inside_news-sidebar span:not(:nth-child(2)) {
        content: "";
        position: relative;
        height: 8px;
        display: block;
        width: 100%;
    }

    h2.inside_news-sidebar.blue span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, #9EDDEA 50%, #ffffff 70%, #ffffff 100%);
    }

    h2.inside_news-sidebar.FF7C80 span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #FED5D6 50%, #ffffff 90%, #ffffff 100%);
    }


/* 最新消息內頁 */

.env-news-wrapper {
    padding: 16px;
    background: #fff;
}

.env-news-header {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #6b4e16;
}

.env-news-search {
    display: flex;
    margin-bottom: 16px;
}

.env-news-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.env-news-button {
    padding: 8px 16px;
    border: none;
    background: var(--env-hover-bg);
    color: var(--env-hover-color);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.env-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.env-news-item {
    margin-bottom: 8px;
}

.env-news-link {
    display: flex;
    text-decoration: none;
    gap: 10px;
}

.env-news-date {
    flex: 0 0 120px;
    padding: 15px;
    background: #D8F0F3;
    color: #345D7E;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-news-title {
    flex: 1;
    padding: 5px;
    border: 1px solid #75CFE1;
    font-size: 1rem;
    color: #345D7E;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-left: 15px;
}


/* 高亮首筆 */

.env-news-item.topNews .env-news-date {
    background: #F3E6C3;
    color: #a14f1b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-news-item.topNews .env-news-title {
    border: #BA8E2C 1px solid;
    color: #a14f1b;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    padding-left: 15px;
}

.env-news-tag {
    display: flex;
    align-items: center;
    background: #F3E6C3;
    color: #a14f1b;
    width: fit-content;
    padding: 10px;
}

.env-news-tag2 {
    display: flex;
    align-items: center;
    background: #F3E6C3;
    color: #a14f1b;
    width: fit-content;
    padding: 10px;
}

.env-news-item:hover .env-news-tag2 {
    display: block;
}

.env-news-button {
    background-color: #867269;
    color: #fff;
}

.env-news-item:hover .env-news-title {
    background: #EDF8F9;
}

.env-news-item.topNews:hover .env-news-title {
    background: #F7EFDC;
}

.env-newslink {
    font-size: 1.2rem;
    display: flex;
    color: #5aa7c6;
    text-align: right;
    text-decoration: none;
    margin: 10px 0;
    margin-left: auto;
    margin-top: 8px;
    margin-right: 52px;
}

.env-pagination {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.env-page-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.env-page-item {
    margin: 0 4px;
}

.env-page-link {
    display: block;
    padding: 8px 12px;
    font-size: 1rem;
    color: #28627a;
    text-decoration: none;
    background: #eaf6fd;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

    .env-page-link:hover:not(.env-active) {
        background: #d4eaf4;
    }

    .env-page-link.env-active {
        background: #28627a;
        color: #fff;
        cursor: default;
    }

    .env-page-link.env-prev,
    .env-page-link.env-next {
        font-weight: bold;
    }

.news-sidebar3 p {
    max-width: 320px;
    margin-top: 20px;
}

.env-article {
    line-height: 2rem;
}


/*詳細清單檢索*/

.output-search-wrap {
    margin: auto;
    padding: 0 16px;
}

.output-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.output-keyword {
    flex: 1;
    font-size: 1.07rem;
    padding: 10px 14px;
    border: 2px solid #e39c92;
    border-radius: 3px;
    outline: none;
    transition: border .2s;
}

    .output-keyword:focus {
        border-color: #b74d39;
    }

.output-search-btn {
    background: #e39c92;
    color: #fff;
    border: none;
    padding: 10px 26px;
    font-size: 1.09rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
    letter-spacing: 4px;
}

    .output-search-btn:hover {
        background: #d06c53;
    }

.output-table-scroll {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.06);
}

.output-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
}

    .output-table thead th {
        background: #f8f5e9;
        color: #835e2e;
        font-weight: 700;
        text-align: left;
        padding: 12px 10px;
        font-size: 1.08rem;
        border-bottom: 2px solid #ece4c8;
    }

    .output-table tbody td {
        padding: 13px 10px;
        border-bottom: 1px solid #f3efde;
        color: #363636;
        font-size: 1.06rem;
        vertical-align: middle;
    }

    .output-table tbody tr:nth-child(even) {
        background: #faf8f5;
    }

a.label {
    display: inline-block;
    padding: 10px 25px;
    font-size: .97rem;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 2px;
    letter-spacing: 1px;
    vertical-align: middle;
    color: #fff !important;
    cursor: pointer;
}

.label.pdf {
    background: #efd486;
    color: #595959;
}

.label.ebook {
    background: #e49352;
    color: #383838;
}

.label.video {
    background: #447f8d;
}

.label.photo {
    background: #557067;
}

.label.area {
    background: #b7aee3;
    color: #454545;
}


/* 小螢幕RWD：橫向滑動、字級縮小、堆疊 */

@media (max-width: 700px) {
    .output-search-bar {
        flex-direction: column;
        gap: 8px;
    }

    .output-keyword,
    .output-search-btn {
        width: 100%;
        font-size: 1rem;
    }

    .output-table {
        min-width: 520px;
        font-size: .93rem;
    }

    .output-table-scroll {
        box-shadow: none;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .output-search-wrap {
        padding: 0 3px;
        margin: 18px auto;
    }

    .output-table thead th,
    .output-table tbody td {
        padding: 9px 5px;
        font-size: .92rem;
    }

    .label {
        padding: 3px 8px;
        font-size: .87rem;
    }
}


/* 重要場址整治案例介紹 */

.remediation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
}

.remediation-case {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.remediation-bg-circle {
    display: block;
    width: 300px;
    aspect-ratio: 1/1;
    background: url('../img/RemediationCasesBg.png') center/contain no-repeat;
    position: relative;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.remediation-bg-circle2 {
    background: url(../img/RemediationCasesBg2.png) center / contain no-repeat;
}

.remediation-bg-circle:hover {
    transform: scale(1.15);
    transition: all 0.2s;
}

.remediation-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: #5b554c;
    text-align: center;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
    width: 100%;
    padding-left: 30px;
    padding-top: 30px;
}

.remediation-bg-circle2 .remediation-text {
    padding-left: 0;
    padding-top: 0;
    margin-left: -10px;
    margin-top: -10px;
}

.inside_news-sidebar span:not(:nth-child(2)) {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #85CAFE 50%, #ffffff 90%, #ffffff 100%);
}

@media (max-width: 700px) {
    .remediation-grid {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 20px;
    }

    .remediation-bg-circle {
        width: 85vw;
        max-width: 300px;
    }
}


/*預防調查作業*/

.soil_container {
    position: relative;
    max-width: 1270px;
    margin: 0 auto;
    height: 760px;
    margin-top: -90px;
}

.soil_item {
    position: absolute;
    text-align: center;
    transition: all 0.2s;
}

    .soil_item img {
        width: 100%;
        height: auto;
        display: block;
    }

@keyframes pulse {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes pulse2 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.soil_item a img {
    transition: all 0.2s;
}

.soil_item a p {
    transition: all 0.2s;
}

.soil_item a:hover img {
    transform: scale(1.1);
    transition: all 0.2s;
}

.soil_item a:hover p {
    transform: scale(1.15);
    transition: all 0.2s;
}

.soil_item a:hover img {
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.2));
}

.soil_item.large {
    left: 0;
    top: 46%;
    transform: translateY(-50%);
    width: 436px;
}

.soil_item.info {
    top: 20%;
    left: 11%;
    width: 190px;
    animation: pulse 3s infinite linear;
}

.soil_item.agri {
    top: 5%;
    left: 39%;
    width: 190px;
    animation: pulse2 3s infinite linear;
}

.soil_item.factory {
    top: 15%;
    left: 70%;
    width: 190px;
    animation: pulse 3s infinite linear;
}

.soil_item.water {
    top: 54%;
    left: 28%;
    width: 190px;
    animation: pulse2 3s infinite linear;
}

.soil_item.sediment {
    top: 48%;
    left: 51%;
    width: 220px;
    animation: pulse 3s infinite linear;
}


.soil_item p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 16px;
    font-weight: bold;
}


/* 平板裝置 */

@media(max-width:900px) {
    .soil_container {
        display: grid;
        position: static;
        height: auto;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
        margin-top: 0;
    }

    .soil_item {
        position: static;
        margin: auto;
        width: 100%;
        transform: none;
    }

        .soil_item.large {
            grid-column: 1/-1;
            transform: unset
        }
}


/* 手機裝置 */

@media(max-width:600px) {
    .soil_container {
        grid-template-columns: 1fr;
    }

    .soil_item.large {
        grid-column: auto;
    }
}


/* 業務申報及專案申請專區 */

.inside_news-sidebar.E38F73 span:not(:nth-child(2)) {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #EADAA6 50%, #ffffff 90%, #ffffff 100%);
}

.btn-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .btn-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .btn-list {
        grid-template-columns: 1fr;
    }
}

.btn-function {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B95B22;
    background-color: #F8F6ED;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: bold;
    min-height: 80px;
}

    .btn-function:hover {
        background-color: #B95B22;
        color: #fff;
    }

.intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

    .intro-text dt {
        font-weight: bold;
        margin-top: 10px;
    }

    .intro-text dd {
        margin: 0 0 10px 0;
    }

.cta-button {
    display: inline-block;
    background-color: #F3E6C3;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

    .cta-button:hover {
        background-color: #EAD8A8;
        text-decoration: none;
    }

.info-box {
    border: 1px solid #B95B22;
    /*外層橘色細框線*/
    padding: 0;
    border-radius: 4px;
}

.info-header {
    background-color: #B95B22;
    /*標題背景橘色*/
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 1.2rem;
    text-align: center;
}

.info-content {
    padding: 15px;
    background-color: #fff;
}

    .info-content dl {
        margin: 0;
    }

    .info-content dt {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .info-content dd {
        margin-bottom: 15px;
        line-height: 1.6;
        color: #333;
    }


/* 大事記 */


/* 外層年報成果區塊 */

.year_row {
    display: flex;
    align-items: center;
    gap: 36px;
    width: 100%;
    margin: 10px 0;
    justify-content: space-between;
}


/* 年度選擇框 */

.year-select-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #82b4bb;
    border-radius: 4px;
    background: #f9fcfd;
    padding: 10px 35px 10px 25px;
    min-width: 86px;
    font-size: 1.2rem;
    color: #2a2a2a;
    box-shadow: 0 2px 6px 0 rgba(130, 180, 187, 0.07);
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0.45rem center;
}

    .year-select-box label {
        font-size: 1.1em;
        color: inherit;
        letter-spacing: 2px;
        margin: 0;
        padding: 8px 20px;
    }


    /* 箭頭樣式 */

    .year-select-box .arrow {
        display: inline-block;
        margin-left: 12px;
        border: solid #82b4bb;
        border-width: 0 3px 3px 0;
        padding: 4px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        margin-top: -3px;
    }


/* 右側說明與連結區塊 */

.right-area {
    font-size: 1.07rem;
    color: #333;
}

    .right-area a {
        color: #1976a6;
        text-decoration: underline;
        font-weight: 500;
        transition: color 0.2s;
    }

        .right-area a:hover {
            color: #3196cc;
        }

@media (max-width: 600px) {
    .year_row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .right-area {
        font-size: 1em;
    }

    .year-select-box {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }
}

.timeline {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    padding-bottom: 1em;
    position: relative;
    margin-top: 4rem;
}

    .timeline > .year {
        position: absolute;
        top: -3rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2rem;
        font-weight: bold;
        padding: 0 0.5em;
        color: #113558;
        /* 確保在其他元素之上 */
    }

    .timeline > .flex-wrapper > .stuffer {
        flex: 0 0 45%;
    }

    .timeline > .flex-wrapper > .node {
        flex: 0 0 4%;
        position: relative;
    }

        .timeline > .flex-wrapper > .node::before {
            content: '';
            height: 100%;
            display: block;
            position: absolute;
            top: 0;
            left: calc(50% - 2px);
            border-left: 4px solid #998675;
        }

        .timeline > .flex-wrapper > .node::after {
            content: '';
            width: 1rem;
            height: 1rem;
            display: block;
            position: absolute;
            top: calc(50% - .5rem);
            left: calc(50% - .5rem);
            outline: 3px solid white;
            border-radius: .5rem;
            background-color: #FBB03B;
        }

    .timeline > .flex-wrapper > .content {
        --bg-color: #FFF8E3;
        flex: 0 0 45%;
        display: flex;
        flex-flow: column nowrap;
        /* margin: .5em .75em; */
        padding: 15px;
        position: relative;
        background-color: var(--bg-color);
    }

        .timeline > .flex-wrapper > .content::before {
            content: '';
            display: block;
            position: absolute;
            top: calc(50% - .433em);
            left: -.8em;
            border-top: .5em solid transparent;
            border-bottom: .5em solid transparent;
            border-left: 0 solid transparent;
            border-right: .866em solid var(--bg-color);
        }

        .timeline > .flex-wrapper > .content > .date {
            /* width: 100%; */
            color: #fff;
            text-align: left;
            background-color: #c75300;
            border-radius: 10px;
            padding: 5px 20px;
            width: fit-content;
            margin-bottom: 5px;
        }

            .timeline > .flex-wrapper > .content > .date > .number {
                padding: 0 .15em;
                font-size: 1.15rem;
                font-weight: 700;
            }

        .timeline > .flex-wrapper > .content:nth-child(even) > .date {
            text-align: right;
        }

        .timeline > .flex-wrapper > .content > .text {
            text-align: justify;
            word-break: break-all;
        }

            .timeline > .flex-wrapper > .content > .text > ul {
                padding-left: 1em;
            }

    .timeline > .flex-wrapper:nth-of-type(even) > .content {
        order: 0;
    }

        .timeline > .flex-wrapper:nth-of-type(even) > .content::before {
            left: unset;
            right: -.8em;
            border-right: 0 solid transparent;
            border-left: .866em solid var(--bg-color);
        }

        .timeline > .flex-wrapper:nth-of-type(even) > .content > .date {
            text-align: right;
            background-color: #c75300;
        }

    .timeline > .flex-wrapper:nth-of-type(even) > .node {
        order: 1;
    }

    .timeline > .flex-wrapper:nth-of-type(even) > .stuffer {
        order: 2;
    }

    .timeline > .flex-wrapper.no-item-marker > .content > .text > ul {
        list-style-type: none;
        padding-left: 0em;
    }

    .timeline > .flex-wrapper.blue > .node::after {
        background-color: #58a8d0;
    }

    .timeline > .flex-wrapper.blue > .content {
        --bg-color: #d6ece8;
    }

        .timeline > .flex-wrapper.blue > .content > .date {
            color: #fff;
            background-color: #58a8d0;
        }

    .timeline > .flex-wrapper.green > .node::after {
        background-color: #70B941;
    }

    .timeline > .flex-wrapper.green > .content {
        --bg-color: #E0E8D6;
    }

        .timeline > .flex-wrapper.green > .content > .date {
            color: #fff;
            background-color: #4a8526;
        }

    .timeline > .flex-wrapper {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }

@media screen and (max-width: 767px) {
    .timeline > .flex-wrapper > .stuffer {
        display: none;
    }

    .timeline > .flex-wrapper > .node {
        order: 0 !important;
        transform: translateX(-.5em);
    }

    .timeline > .flex-wrapper > .content {
        flex-basis: 90%;
        order: 1 !important;
        border-top: .35em solid white;
        border-bottom: .35em solid white;
    }

        .timeline > .flex-wrapper > .content::before {
            right: unset !important;
            left: -.5em !important;
            border-left: 0 solid transparent !important;
            border-right: .866em solid var(--bg-color) !important;
        }

        .timeline > .flex-wrapper > .content > .date {
            text-align: left !important;
        }
}


/* 1. 頁首區塊 Styles */

.as-wrap {
    max-width: 1080px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .07);
    border-radius: 20px;
    padding: 32px 24px;
}

.as-breadcrumb {
    background: #F8F6ED;
    border-radius: 5px;
    padding: 10px 20px;
    color: #59473F;
    margin-bottom: 28px;
    font-size: 1rem;
    letter-spacing: 1px;
}

    .as-breadcrumb a {
        color: #59473F;
        text-decoration: none;
    }

        .as-breadcrumb a:hover {
            text-decoration: underline;
        }

.as-title {
    font-size: 2rem;
    font-weight: bold;
    color: #345D7E;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.as-section {
    margin-bottom: 38px;
}

.as-section-title {
    font-size: 1.15rem;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(90deg, #fff 0%, #9EDDEA 50%, #fff 100%);
    border-radius: 8px 8px 0 0;
    padding: 10px 26px;
    letter-spacing: 0.1em;
    box-shadow: 0 1px 8px 0 rgba(100, 155, 170, .06);
    margin-bottom: 0;
}

    .as-section-title.pink {
        background: linear-gradient(90deg, #fff 0%, #FED5D6 50%, #fff 100%);
        color: #a14f1b;
    }

.as-content {
    background: #F8F6ED;
    border-radius: 0 0 8px 8px;
    padding: 28px 22px 18px 22px;
    color: #514636;
    font-size: 1.05rem;
    line-height: 2.1;
    border-top: none;
}

.as-img-box {
    width: 100%;
    text-align: center;
    margin: 20px 0 18px 0;
}

    .as-img-box img {
        width: 100%;
        max-width: 670px;
        border-radius: 10px;
        box-shadow: 0 1px 8px 0 rgba(100, 155, 170, .10);
    }

.as-flex-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.as-flex-col {
    flex: 1 1 320px;
}


/* RWD */

.z-header {
    width: 100%;
    background: #816759;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 0 0 32px;
    border-radius: 16px 16px 0 0;
    position: relative;
    min-height: 48px;
    justify-content: center;
}

.z-header-icon {
    height: 38px;
    border-radius: 50%;
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.z-header-title {
    font-size: 1.18rem;
    letter-spacing: 0.06em;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2px;
}

.z-tabs {
    display: flex;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    margin: 20px 0;
    justify-content: center;
    white-space: nowrap;
    overflow-x: auto;
}

.z-tab {
    flex: 1 1 0;
    background: #f3efeb;
    color: #7d6a59;
    font-size: 1.3rem;
    text-align: center;
    padding: 1em;
    border: none;
    cursor: pointer;
    transition: background .2s, color .2s;
    border-bottom: 3px solid transparent;
    margin: 0 2px;
    letter-spacing: 0.08em;
    cursor: pointer;
}

    .z-tab:hover,
    .z-tab.z-active {
        background: #4d806c;
        color: #fff;
        border-bottom: 3px solid #124d36;
    }


.z-main-area {
    margin: auto;
    background: #fff;
}

.z-content-block {
    background: #f7faf7;
    border-radius: 14px;
    padding: 1.7em 1.5em 2em 1.5em;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

    .z-content-block:last-child {
        margin-bottom: 0;
    }

.z-block-text {
    flex: 1 1 280px;
    min-width: 0;
}

.z-block-img-area {
    flex: 0 0 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.z-block-img-wrapper {
    width: 100%;
    max-width: 270px;
}

.z-block-img {
    display: block;
    width: 100%;
    height: auto;
}

.z-block-img-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.z-img-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .z-img-btn img {
        display: block;
        width: 26px;
    }

.z-badge {
    display: inline-block;
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    margin-right: 8px;
    vertical-align: middle;
}

.z-block-title {
    font-weight: bold;
    font-size: 1.07em;
    color: #fff;
    margin-bottom: 0.4em;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    padding: 5px 20px;
    width: fit-content;
    background: #4d806c;
}

.z-block-desc {
    font-size: 1.04em;
    color: #383838;
    line-height: 2;
    margin-bottom: 0.3em;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

.z-block-img {
    width: 100%;
    max-width: 270px;
    object-fit: cover;
    margin-bottom: 10px;
}

.z-block-img-label {
    color: #607666;
    border-radius: 8px;
    padding: 6px 20px;
    font-size: 0.98em;
    margin-bottom: 10px;
    margin-top: 0;
    text-align: center;
    width: 100%;
    max-width: 270px;
    box-sizing: border-box;
}

.z-block-icons {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
}

.z-block-icon:hover {
    background: #b9e4cf;
    color: #226358;
}

@media (max-width: 900px) {
    .z-main-area {
        max-width: 98vw;
        padding: 1.1em 0.6em 1.6em 0.6em;
    }

    .z-block-img,
    .z-block-img-label {
        max-width: 94vw;
    }
}

@media (max-width: 700px) {
    .z-content-block {
        flex-direction: column;
        padding: 1.3em 0.6em 1.3em 0.6em;
        gap: 12px;
    }

    .z-block-img-area {
        width: 100%;
        max-width: 100%;
        align-items: stretch;
    }

    .z-block-img,
    .z-block-img-label {
        max-width: 100%;
    }

    .z-header {
        padding-left: 8px;
    }
}

@media (max-width: 480px) {
    .z-header-title {
        font-size: 0.96rem;
    }

    .z-tabs {
        font-size: 0.98rem;
    }
}

.q-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
    gap: 10px;
}

.q-left-card {
    flex: 0 0 430px;
    background: #7c6355;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 32px 0;
    min-width: 300px;
}

.q-left-title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.1;
    margin-top: 70px;
    margin-bottom: 30px;
    padding: 0 30px;
}

.q-select-wrap {
    width: 95%;
    max-width: 96vw;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: transparent;
    border: #fff 1px solid;
    color: #fff;
}

    .q-select-wrap option {
        color: #7c6355;
    }

    .q-select-wrap::after {
        content: "▼";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #ffffff;
        font-size: 1.4rem;
        pointer-events: none;
        font-weight: bold;
    }

.q-select-custom {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 1.38rem;
    font-weight: 700;
    border-radius: 2px;
    box-sizing: border-box;
    padding: 17px 50px 17px 18px;
    cursor: pointer;
    background-color: transparent;
    border: #fff 1px solid;
    color: #fff;
    outline: none;
}

.q-mascot {
    width: auto;
    max-height: 250px;
    position: absolute;
    bottom: 1%;
    z-index: 1;
    pointer-events: none;
}

.q-left-card-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: #ece9e6;
    border-radius: 50% 45% 0 0 / 60% 80% 0 0;
}


/* 右半區塊 */

.q-main-card {
    flex: 1 1 0;
    background: #efe9e4;
    border: 13px solid #cabbb2;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.q-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    padding: 45px 50px 15px 52px;
    background: none;
}

.q-tab-btn {
    border: #7c6355 2px solid;
    background: transparent;
    color: #7c6355;
    border-radius: 20px;
    padding: 10px 2.4em;
    margin: 0;
    cursor: pointer;
    position: relative;
    width: unset;
    word-break: keep-all;
    line-height: 1;
}

    .q-tab-btn:hover {
        background: #7c6355;
        color: #fff;
    }

    .q-tab-btn.q-tab-active {
        background: #7c6355;
        color: #fff;
    }


/* 卡片內容區＋自訂捲軸 */

.q-content-block {
    margin: 0 56px 30px 62px;
    overflow-y: auto;
    padding: 0 12px 0 0;
    min-height: 450px;
    position: relative;
    font-size: 2rem;
    scrollbar-width: auto;
    scrollbar-color: #7c6355 #cabbb2;
}


    /* Chrome, Edge, Safari */

    .q-content-block::-webkit-scrollbar {
        width: 54px;
        background: #cabbb2;
    }

    .q-content-block::-webkit-scrollbar-thumb {
        background: #7c6355;
        border: 20px solid #cabbb2;
    }

    .q-content-block::-webkit-scrollbar-track {
        background: #cabbb2;
    }

    .q-content-block::-webkit-scrollbar-corner {
        background: #cabbb2;
    }

.q-content-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #554b46;
    margin-top: 18px;
    margin-bottom: 16px;
    letter-spacing: 0.09em;
}

.q-content-desc {
    font-size: 1.2rem;
    color: #473c33;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    margin-bottom: 1.8em;
}


/* RWD */

@media (max-width: 1280px) {
    .q-tabs-row {
        padding-left: 16px;
        padding-right: 10px;
    }

    .q-content-block {
        margin-left: 18px;
        margin-right: 18px;
    }

    .q-main-card {
        margin-right: 0;
    }

    .q-left-card {
        margin-left: 4px;
        flex: 0;
        padding: 0;
    }
}

@media (max-width: 980px) {
    .q-left-title {
        margin-top: unset;
        margin: 30px;
        padding: 0 30px;
    }

    .q-left-card-bg {
        display: none;
    }

    .q-wrap {
        flex-direction: column;
        gap: 0;
    }

    .q-mascot {
        display: none;
    }

    .q-left-card {
        margin: 0;
        width: 100%;
    }

    .q-main-card {
        margin-top: 0;
        margin-left: 0;
        min-width: 0;
    }

    .q-tabs-row {
        padding: 22px 6vw 10px 6vw;
    }

    .q-content-block {
        margin: 0 6vw 18px 6vw;
    }

    .q-scrollbar {
        display: none;
    }
}

@media (max-width: 600px) {
    .q-left-card {
        max-width: none;
        min-width: 0;
    }

    .q-dropdown {
        font-size: 1.18rem;
        width: 94vw;
        padding: 12px 9px;
    }

    .q-main-card {
        padding: 0;
    }

    .q-tabs-row {
        gap: 10px;
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .q-tab-btn {
        font-size: 1.05rem;
        padding: 0.32em 1.1em;
    }
}


/* 業務專區>預防調查作業>地下水監測管理 */

.b-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
    gap: 20px;
}

.b-left-card {
    flex: 0 0 430px;
    background: #187081;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 32px 0;
    min-width: 300px;
}

.b-left-title {
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.1;
    margin-top: 70px;
    margin-bottom: 30px;
    padding: 0 30px;
}

.b-mascot {
    width: auto;
    max-height: 250px;
    position: absolute;
    bottom: 1%;
    z-index: 1;
    pointer-events: none;
}

.b-left-card-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: #D8E8E5;
    border-radius: 50% 45% 0 0 / 60% 80% 0 0;
}


/* 右半區塊 */

.b-main-card {
    flex: 1 1 0;
    background: #f3f8f7;
    border: 13px solid #D8E8E5;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.b-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    padding: 45px 50px 15px 52px;
    background: none;
    overflow-x: auto;
    width: 100%;
}

.b-tab-btn {
    border: #187081 2px solid;
    background: transparent;
    color: #187081;
    border-radius: 20px;
    padding: 10px 2.4em;
    margin: 0;
    cursor: pointer;
    position: relative;
    width: unset;
    word-break: keep-all;
    line-height: 1;
}

    .b-tab-btn:hover {
        background: #187081;
        color: #fff;
    }

    .b-tab-btn.b-tab-active {
        background: #187081;
        color: #fff;
    }


/* 卡片內容區＋自訂捲軸 */

.b-content-block {
    margin: 0 56px 30px 62px;
    overflow-y: auto;
    padding: 0 12px 0 0;
    min-height: 450px;
    position: relative;
    font-size: 2rem;
    scrollbar-width: auto;
    scrollbar-color: #187081 #D8E8E5;
}


    /* Chrome, Edge, Safari */

    .b-content-block::-webkit-scrollbar {
        width: 54px;
        background: #D8E8E5;
    }

    .b-content-block::-webkit-scrollbar-thumb {
        background: #7c6355;
        border: 20px solid #D8E8E5;
    }

    .b-content-block::-webkit-scrollbar-track {
        background: #D8E8E5;
    }

    .b-content-block::-webkit-scrollbar-corner {
        background: #D8E8E5;
    }

.b-content-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #554b46;
    margin-top: 18px;
    margin-bottom: 16px;
    letter-spacing: 0.09em;
}

.b-content-desc {
    font-size: 1.2rem;
    color: #473c33;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    margin-bottom: 1.8em;
}


/* RWD */

@media (max-width: 1280px) {
    .b-tabs-row {
        padding-left: 16px;
        padding-right: 10px;
    }

    .b-content-block {
        margin-left: 18px;
        margin-right: 18px;
    }

    .b-main-card {
        margin-right: 0;
    }

    .b-left-card {
        margin-left: 4px;
        flex: 0;
        padding: 0;
    }
}

@media (max-width: 980px) {
    .b-left-title {
        margin: 30px;
        padding: 0 30px;
    }

    .b-left-card-bg {
        display: none;
    }

    .b-wrap {
        flex-direction: column;
        gap: 0;
    }

    .b-mascot {
        display: none;
    }

    .b-left-card {
        margin: 0;
        width: 100%;
    }

    .b-main-card {
        margin-top: 0;
        margin-left: 0;
        min-width: 0;
    }

    .b-tabs-row {
        padding: 22px 6vw 10px 6vw;
    }

    .b-content-block {
        margin: 0 6vw 18px 6vw;
    }

    .b-scrollbar {
        display: none;
    }
}

@media (max-width: 600px) {
    .b-left-card {
        max-width: none;
        min-width: 0;
    }

    .b-left-title {
        font-size: 2.05rem;
        margin-top: 58px;
    }

    .b-dropdown {
        font-size: 1.18rem;
        width: 94vw;
        padding: 12px 9px;
    }

    .b-main-card {
        padding: 0;
    }

    .b-tabs-row {
        gap: 10px;
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .b-tab-btn {
        font-size: 1.05rem;
        padding: 0.32em 1.1em;
    }
}


/* 全國農地調查 */

.g-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
    gap: 15px;
}

.g-left-card {
    flex: 0 0 430px;
    background: #657f2f;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 32px 0;
    min-width: 350px;
}

.g-left-title {
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.1;
    margin-top: 35px;
    margin-bottom: 30px;
    padding: 0 30px;
}

.g-mascot {
    width: auto;
    max-height: 250px;
    position: absolute;
    bottom: 1%;
    z-index: 1;
    pointer-events: none;
}

.g-left-card-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: #d3e7d1;
    border-radius: 50% 45% 0 0 / 60% 80% 0 0;
}


/* 右半區塊 */

.g-main-card {
    flex: 1 1 0;
    background: #f7ffef;
    border: 13px solid #d3e7d1;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.g-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    padding: 45px 50px 15px 52px;
    background: none;
    width: 100%;
}

.g-tab-btn {
    border: #5e7c1d 2px solid;
    background: transparent;
    color: #5e7c1d;
    border-radius: 20px;
    padding: 10px 2.4em;
    margin: 0;
    cursor: pointer;
    position: relative;
    width: unset;
    word-break: keep-all;
    line-height: 1;
}

    .g-tab-btn:hover {
        background: #5e7c1d;
        color: #fff;
    }

    .g-tab-btn.g-tab-active {
        background: #5e7c1d;
        color: #fff;
    }


/* 卡片內容區＋自訂捲軸 */

.g-content-block {
    margin: 0 2% 30px 40px;
    overflow-y: auto;
    padding: 0 20px 0 0;
    min-height: 450px;
    position: relative;
    font-size: 2rem;
    scrollbar-width: auto;
    scrollbar-color: #5e7c1d #c9e0d0;
}


    /* Chrome, Edge, Safari */

    .g-content-block::-webkit-scrollbar {
        width: 54px;
        background: #D8E8E5;
    }

    .g-content-block::-webkit-scrollbar-track {
        background: #D8E8E5;
    }

    .g-content-block::-webkit-scrollbar-corner {
        background: #D8E8E5;
    }

.g-content-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #554b46;
    margin-top: 18px;
    margin-bottom: 16px;
    letter-spacing: 0.09em;
    line-height: 1;
}

.g-content-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    margin-bottom: 1.8em;
}

@media (max-width: 1280px) {
    .g-tabs-row {
        padding-left: 16px;
        padding-right: 10px;
    }

    .g-content-block {
        margin-left: 18px;
        margin-right: 18px;
    }

    .g-main-card {
        margin-right: 0;
    }

    .g-left-card {
        margin-left: 4px;
        flex: 0;
        padding: 0;
    }
}

@media (max-width: 980px) {
    .g-left-title {
        margin: 30px;
        padding: 0 30px;
    }

    .g-left-card-bg {
        display: none;
    }

    .g-wrap {
        flex-direction: column;
        gap: 0;
    }

    .g-mascot {
        display: none;
    }

    .g-left-card {
        margin: 0;
        width: 100%;
    }

    .g-main-card {
        margin-top: 0;
        margin-left: 0;
        min-width: 0;
    }

    .g-tabs-row {
        padding: 22px 6vw 10px 6vw;
    }

    .g-content-block {
        margin: 0 6vw 18px 6vw;
    }

    .g-scrollbar {
        display: none;
    }
}

@media (max-width: 600px) {
    .g-left-card {
        max-width: none;
        min-width: 0;
    }

    .g-left-title {
        font-size: 2.05rem;
        margin-top: 58px;
    }

    .g-dropdown {
        font-size: 1.18rem;
        width: 94vw;
        padding: 12px 9px;
    }

    .g-main-card {
        padding: 0;
    }

    .g-tabs-row {
        gap: 10px;
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .g-tab-btn {
        font-size: 1.05rem;
        padding: 0.32em 1.1em;
    }
}

.vp-container {
    margin: 20px auto;
    display: grid;
}

.vp-tabs {
    display: flex;
    border-bottom: 2px solid #8b6f5d;
}

.vp-tab-btn {
    background: #fff;
    color: #3b2e2a;
    border-top: 2px solid #8b6f5d;
    border-left: 2px solid #8b6f5d;
    border-right: 2px solid #8b6f5d;
    border-bottom: none;
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-size: 1.5rem;
}

    .vp-tab-btn.vp-active {
        cursor: pointer;
        background: #8b6f5d;
        color: #fff;
        border: none;
    }

.vp-content {
    border: 2px solid #8b6f5d;
    border-top: none;
    background: #FFF7F7;
    padding: 20px;
}

.vp-pane {
    display: none;
}

    .vp-pane.vp-active {
        display: block;
    }

.Chinese_and_English {
    line-height: 1.5rem;
    margin-bottom: 20px;
}


/* RWD 影片嵌入 */

.vp-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

    .vp-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

@media (max-width: 600px) {
    .vp-tab-btn {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}


/* 土污基管會會徽與吉祥物設計 */

.logo-flex-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 18px 28px 18px;
    background: #fff;
    box-sizing: border-box;
    gap: 18px;
}

.logo-left-col {
    width: 100%;
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    margin-right: 8px;
}

.logo-main-title {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.3;
    color: #161616;
    white-space: nowrap;
}

.logo-image {
    width: 180px;
    max-width: 48vw;
    height: auto;
    margin-bottom: 16px;
    display: block;
}

.logo-img-caption {
    font-size: 1.08rem;
    letter-spacing: 1.5px;
    color: #212121;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    text-decoration: underline;
}

.logo-right-col {
    flex: 1 1 340px;
    min-width: 220px;
    max-width: 900px;
}

    .logo-right-col p {
        font-size: 1.06rem;
        color: #101010;
        line-height: 1.95;
        margin-top: 0;
        margin-bottom: 18px;
    }

    .logo-right-col ul {
        padding-left: 0;
        margin: 0;
        list-style: none;
    }

.logo-explain-block {
    background: #95e0ff;
    color: #161616;
    font-size: 1.09rem;
    border-radius: 13px;
    margin-bottom: 16px;
    padding: 17px 22px 15px 22px;
    line-height: 2.05;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    letter-spacing: 1.4px;
    box-shadow: 0 2px 14px 0 rgba(81, 185, 230, 0.08);
}

@media (max-width: 920px) {
    .logo-flex-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 5vw 18px 5vw;
    }

    .logo-image {
        width: 120px;
        max-width: 40vw;
        margin-bottom: 0;
        margin-right: 12px;
    }

    .logo-img-caption {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .logo-image {
        width: 70vw;
        min-width: 70px;
        max-width: 150px;
        margin: 0 auto 2px auto;
    }

    .logo-main-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .logo-explain-block {
        font-size: 0.97rem;
        padding: 10px 7px 10px 7px;
        border-radius: 9px;
    }

    .logo-img-caption {
        font-size: 0.93rem;
        margin-top: 12px;
    }

    .logo-right-col p {
        font-size: 0.98rem;
    }
}


/* 土污基管會會徽與吉祥物設計 */

.character-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.character-card {
    background: url(../img/blue1.svg) center/contain no-repeat;
    display: flex;
    align-items: center;
    min-width: 260px;
    max-width: 610px;
    padding: 2.2rem 1.5rem 1.5rem;
    position: relative;
}

.character-card2 {
    background: url(../img/blue2.svg) center/contain no-repeat;
}

.character-card span {
    max-width: 300px;
    width: 100%;
    position: relative;
    z-index: 1;
}

    .character-card span img {
        width: 100%;
    }

.char-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
    text-align: center;
}

.char-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.2rem;
    user-select: none;
    pointer-events: none;
}

.char-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    background: #f1f5f9;
    border-radius: 1.2rem;
    padding: 3rem 2rem 3rem 60px;
    margin-top: 0.2rem;
    text-align: center;
    min-height: 110px;
    margin-left: -10%;
}


/* RWD */

@media (max-width: 900px) {
    .character-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .char-title {
        font-size: 1.45rem;
    }

    .character-card {
        padding: 1.3rem 0.5rem 1rem 0.5rem;
    }

    .char-img {
        width: 100%;
    }
}

.outer-card {
    background: #ededf2;
    border-radius: 48px;
    margin: 36px auto 0 auto;
    padding: 42px 24px;
}

    .outer-card h2 {
        text-align: center;
    }

.role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 38px 16px;
    justify-items: center;
    align-items: center;
}

.role-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.role-img {
    width: 210px;
    height: auto;
    margin-bottom: 10px;
    user-select: none;
    pointer-events: none;
    background: transparent;
    /* 根據需求可調整寬度 */
}

.role-name {
    font-size: 2rem;
    color: #222;
    letter-spacing: 0.12em;
    margin-bottom: 1em;
    margin-top: 20px;
    text-align: center;
    user-select: none;
}


/* 平板RWD */

@media (max-width: 900px) {
    .outer-card {
        border-radius: 32px;
        max-width: 98vw;
        padding: 28px 6px;
    }

    .role-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 8px;
    }
}


/* 手機RWD */

@media (max-width: 600px) {
    .outer-card {
        border-radius: 18px;
        padding: 13px 1px;
    }

    .role-grid {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }
}


/* 土水辭典*/

.custom-source-section {
    padding: 20px 16px;
    margin: 0 auto;
}

.custom-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 18px;
    color: #2a2a2a;
}

.custom-source-list {
    padding-left: 20px;
    margin-bottom: 40px;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

    .custom-source-list > li {
        margin-bottom: 10px;
    }


/* 分類按鈕容器，flex-wrap 換行 */

.custom-category-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 一列5個，等分寬度 */
    gap: 12px;
    margin: 0 auto;
}

.custom-category-btn {
    background-color: #78c1d6;
    border: none;
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    text-align: center;
    user-select: none;
}

    .custom-category-btn:hover,
    .custom-category-btn:focus {
        background-color: #4aa0b7;
        outline: none;
    }


/* 小螢幕改成1列1個堆疊 */

@media (max-width: 480px) {
    .custom-category-wrapper {
        grid-template-columns: 1fr;
    }

    .custom-category-btn {
        font-size: 0.9rem;
        padding: 14px 0;
    }
}


/* 表格外包容器，加入橫向滑動 */

.responsive-table-wrapper {
    width: 100%;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    margin: 0 auto;
    box-sizing: border-box;
}


/* 基本表格樣式 */

.custom-table {
    min-width: 972px;
    border-collapse: collapse;
    /* 最小寬度，避免內容擠壓 */
    font-size: 1rem;
    color: #333;
}

    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
        border: 1px solid #ccc;
        vertical-align: top;
        text-align: left;
    }

    .custom-table thead {
        background-color: #f0f5f7;
        font-weight: 700;
        color: #222;
    }


/* 小螢幕調整 */

@media (max-width: 480px) {
    .custom-table {
        font-size: 0.85rem;
        min-width: unset;
        /* 解除最小寬度限制 */
    }

        .custom-table th,
        .custom-table td {
            padding: 8px 10px;
        }
}

.search-section {
    margin: 20px auto;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-input {
    flex-grow: 1;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #2f77bb;
    border-radius: 2px;
    outline-offset: 2px;
    outline-color: transparent;
    transition: outline-color 0.3s ease;
}

    .search-input:focus {
        outline-color: #2f77bb;
    }

.search-button {
    background-color: #2f77bb;
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.25s ease;
}

    .search-button:hover,
    .search-button:focus {
        background-color: #1e4d73;
        outline: none;
    }


/* 螢幕窄時調整 */

@media (max-width: 480px) {
    .search-form {
        flex-wrap: wrap;
    }

    .search-input {
        flex: 1 1 100%;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .search-button {
        flex: 1 1 100%;
        padding: 10px 0;
        font-size: 1rem;
    }
}

@media (max-width: 1280px) {
    .g-left-card, .b-left-card, .q-left-card {
        padding-bottom: 20px;
    }

        .g-left-card h2.custom .line, .b-left-card h2.custom .line, .q-left-card h2.custom .line {
            display: unset;
        }
}

@media screen and (max-width:1270px) {
    header .sitemap {
        justify-content: center;
    }

    .itemCount1 {
        order: 6;
    }

        .itemCount1.title {
            order: 1;
            padding: 20px;
        }

    .width980 {
        width: 95%;
    }

    .slide {
        margin-top: 60px;
    }

    .ac_breadcrumb {
        margin-top: 80px;
    }

    .slide img {
        width: 100%;
    }

    h1 a.logo {
        width: 250px;
        height: 70px;
        background-size: contain;
    }

    h1 a.inside_logo {
        height: 45px;
    }

    header {
        min-height: 60px;
        width: 100%;
        background-color: #fff;
        margin: 0;
        border-bottom: #666 1px solid;
    }

        header.on {
            background-color: transparent;
            border-bottom: none;
            border-top: none;
        }

    .marqee {
        margin-top: 97px;
    }

        .marqee.hide {
            margin-top: 70px;
        }

    header.on .rainbow,
    header.on hr {
        display: none;
    }

    #mobile_menu_labIcon {
        display: block;
        right: 2.5%;
        top: 23px;
        z-index: 1000;
        position: absolute;
    }

    #menu_mobile {
        width: 100%;
        height: auto;
        margin: 0 auto;
        font-size: 1em;
        position: relative;
        display: block;
    }

    .hamburger {
        cursor: pointer;
        display: inline-block;
    }

    .hamburger2 {
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: block;
    }

        .hamburger2 .line {
            width: 30px;
            height: 2px;
            background-color: #d09623;
            display: block;
            margin: 4px auto;
            -webkit-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
            border-radius: 50px;
        }

        .hamburger2:hover {
            cursor: pointer;
        }

    .hamburger .line {
        width: 30px;
        height: 2px;
        background-color: #fff;
        display: block;
        margin: 4px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        border-radius: 50px;
    }

    .hamburger:hover {
        cursor: pointer;
    }

    #hamburger-1.is-active .line:nth-child(2) {
        opacity: 0;
    }

    #hamburger-1.is-active .line:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    #hamburger-1.is-active .line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .portfolio-filter.isotope-filter.pull-center {
        width: calc(100% - 80px);
        background: rgba(250, 250, 250, 0.9);
        backdrop-filter: blur(60px) brightness(94%);
        height: calc(100vh + 20px);
        position: fixed;
        left: calc(-100% + 80px);
        top: 0;
        z-index: 9999;
        margin-bottom: 0;
        margin-top: 0;
        transition: 0.3s;
        overflow-y: auto;
        padding: 20px;
    }

    header.eems .sitemap {
        background-color: rgba(0, 0, 0, 0.3);
        justify-content: center;
        padding: 20px 0;
    }

    .nav_menu {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

        .nav_menu li {
            border-bottom: #e6e6e6 1px solid;
            width: 100%;
        }

            .nav_menu li a {
                display: flex;
                align-items: center;
                justify-content: center;
                text-align: center;
                width: 100%;
                padding: 5px 0;
            }

        .nav_menu > li.nsdnmenu .hasChild li a {
            width: 100%;
            padding: 15px;
            margin: 0;
            justify-content: center;
            white-space: unset;
        }

            .nav_menu > li.nsdnmenu .hasChild li a br {
                display: none;
            }

    .inside1 {
        width: 95%;
    }

        .inside1 ul {
            justify-content: center;
        }

            .inside1 ul li {
                margin: 0 10px;
            }

    .inside_banner3 {
        margin-top: 70px;
    }
    /*mobile選單*/
    h1 {
        left: 10px;
        top: unset
    }

    #mobile_menu_labIcon {
        display: block;
        position: fixed;
        right: 10px;
        top: 18px;
        z-index: 1000;
    }

    #menu_mobile {
        width: 100%;
        height: auto;
        margin: 0 auto;
        font-size: 1em;
        position: relative;
        display: block;
    }

    .hamburger {
        cursor: pointer;
        display: block;
    }

    .hamburger2 {
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: block;
    }

        .hamburger2 .line {
            width: 30px;
            height: 2px;
            background-color: #d09623;
            display: block;
            margin: 4px auto;
            -webkit-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
            border-radius: 50px;
        }

        .hamburger2:hover {
            cursor: pointer;
        }

    .hamburger .line {
        width: 30px;
        height: 3px;
        background-color: #666;
        display: block;
        margin: 4px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        border-radius: 50px;
    }

    .hamburger:hover {
        cursor: pointer;
    }

    #hamburger-1.is-active .line:nth-child(2) {
        opacity: 0;
    }

    #hamburger-1.is-active .line:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    #hamburger-1.is-active .line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .btn.SearchBtn {
        position: absolute;
        right: 10px;
    }

    .portfolio-filter.isotope-filter.pull-center.on {
        left: 0;
        transition: 0.3s;
        display: inline-flex;
        align-items: center;
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
    }

    .nav_menu > li > .hasChild {
        position: relative;
        left: unset;
        top: unset;
        width: 100%;
        opacity: 1;
        display: none;
        margin: 0;
        padding: 0;
    }

    .nav_menu > li.nsdnmenu:hover > .hasChild {
        padding: 0;
    }

    .hasChild ul {
        max-width: 100%;
    }

    .nav_menu > li.nsdnmenu > .hasChild ul li {
        flex-direction: column;
    }

    .nav_menu > li.nsdnmenu .hasChild2 {
        position: relative;
        left: unset;
        top: unset;
        width: 100%;
        opacity: 1;
        display: none;
        margin: 0;
        padding: 0;
    }

    .nav_menu > li.nsdnmenu:hover li:checked > .hasChild2,
    .nav_menu > li.nsdnmenu:focus-within li:focus-within > .hasChild2 {
        width: 100%;
        position: relative;
        left: unset;
        top: unset;
        display: block;
    }

    .nav_menu li.search a span {
        display: none;
    }

    main {
        margin-top: 80px;
    }
}


/* RWD */

@media (max-width: 1000px) {
    h2.news-sidebar {
        width: 100%;
        writing-mode: unset;
        align-items: stretch;
        padding: 10px;
        font-size: 1.4rem;
        flex-direction: column;
        height: unset;
    }

    .news-sidebar::before {
        top: 5px;
        left: 5px;
    }

    .news-sidebar::after {
        bottom: 3px;
        right: 0px;
    }

    .news-sidebar2,
    .news-section {
        width: 100%;
        flex-direction: column;
    }

    .news-list,
    .news-highlight {
        width: 100%;
    }

    .news-highlight {
        border-top: none;
        padding-top: 18px;
        min-width: unset;
        max-width: 100vw;
    }

    .news-sidebar span:nth-child(2) {
        writing-mode: horizontal-tb;
        width: 100%;
        padding: 12px;
        height: unset;
    }

    .news-sidebar span:not(:nth-child(2)) {
        width: 100%;
        height: 8px;
    }

    .blue span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 20%, #9EDDEA 50%, #ffffff 80%, #ffffff 100%);
    }

    .E38F73 span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #EADAA6 50%, #ffffff 90%, #ffffff 100%);
    }

    .FF7C80 span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #FED5D6 50%, #ffffff 90%, #ffffff 100%);
    }

    .F6B854 span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #FAD7A0 50%, #ffffff 90%, #ffffff 100%);
    }

    .AC7 span:not(:nth-child(2)) {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 10%, #85CAFE 50%, #ffffff 90%, #ffffff 100%);
    }
}

@media (max-width: 600px) {
    .highlight-img {
        max-width: 100%;
    }

    .news-date,
    .highlight-date {
        font-size: 13px;
        min-width: 68px;
    }

    .news-title,
    .highlight-title {
        font-size: 14px;
    }

    .news-highlight,
    .news-highlight2 {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media screen and (max-width:658px) {
    .news_b ul {
        margin-left: 0;
    }
}

@media screen and (max-width:320px) {
    h1 a.inside_logo {
        max-width: calc(100% - 40px);
    }
}

