@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;
}
