@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&family=Noto+Serif+TC:wght@400;500;700;900&family=Roboto:wght@100;500&display=swap");

.text-black {
    color: black;
}

.s1 {
    margin-top: 120px;
    margin-bottom: 125px;
    position: relative
}

@media (max-width:991px) {
    .s1 {
        margin-top: 56px;
        margin-bottom: 50px
    }
}

.s2 {
    margin-bottom: 95px;
}

.s3, .s4 {
    margin-bottom: 130px
}

.s2 .yelimgbox > div {
    /*width: 32%;*/
}

.s2 .yelbgNew {
    margin-left: auto;
    background-color: #f2ca36;
    padding: 20px 13px 40px 13px;
    /*padding-left: 8%;*/
    position: relative;
}

.s2 .yelimgbox {
    display: flex;
    /*width: 111%;*/
    justify-content: space-between;
    /*position: relative;*/
    left: -13%;
    top: -100px;
}

.s2 .yelbgNew .imgwrap {
    -webkit-box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43, 47, 48, 0.14);
    box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43, 47, 48, 0.14);
}

.s2 .yelbg>div:first-child{
    width:45%
}
.s2 .yelbg > div:last-child{
    width: 50%
}
.s3 .yelbg > div:first-child {
    width: 45%
}

.s3 .yelbg > div:last-child {
    width: 50%
}
/*.s2 .yelbg, .s3 .yelbg, .s4 .yelbg {
    width: 83%;
    margin-left: auto;
    background-color: #f2ca36;
    padding: 40px 0;
    padding-left: 34%;
    position: relative
}*/

/*    .s2 .yelbg .imgwrap, .s3 .yelbg .imgwrap, .s4 .yelbg .imgwrap {
        -webkit-box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
        box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
        width: 468px;
        position: absolute;
        left: -200px;
        top: -40px
    }*/

/*.year:nth-child(3) .yelbg .imgwrap {
    -webkit-box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
    box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
    width: 428px;
    position: absolute;
    left: -199px;
    top: 73px
}*/

/*.year:nth-child(4) .yelbg .imgwrap {
    -webkit-box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
    box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
    width: 428px;
    position: absolute;
    left: -199px;
    top: 73px
}*/

/*.year:nth-child(3) .yelbg {
    width: 83%;
    margin-left: auto;
    background-color: transparent;
    padding: 40px 0;
    padding-left: 27%;
    position: relative;
}*/

/*.year:nth-child(4) .yelbg {
    width: 83%;
    margin-left: auto;
    background-color: transparent;
    padding: 40px 0;
    padding-left: 27%;
    position: relative;
}*/

.s2 .yelbg .imgwrap img, .s3 .yelbg .imgwrap img, .s4 .yelbg .imgwrap img {
    width: 100%
}

.s2 .yelbg .btitle, .s3 .yelbg .btitle, .s4 .yelbg .btitle, .s2 .yelbgNew .btitle {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-family: "Noto Sans TC",sans-serif;
    font-weight: normal;
    position: relative;
    display: inline-block;
    color: black;
}

.year:nth-child(3) .yelbg .btitle {
    width: -webkit-fill-available;
    margin-bottom: 65px;
}

.year:nth-child(4) .yelbg .btitle {
    width: -webkit-fill-available;
    margin-bottom: 65px;
}

.s2 .yelbg .btitle:after, .s3 .yelbg .btitle:after, .s4 .yelbg .btitle:after, .s2 .yelbgNew .btitle:after, .accordion-header:after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: black;
    display: block;
    position: absolute;
    bottom: -6px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 2.5px
}

.year:nth-child(3) .yelbg .btitle:after {
    background-color: gray;
}

.year:nth-child(4) .yelbg .btitle:after {
    background-color: gray;
}

.accordion .btitle:after {
    bottom: auto;
    width: 100%;
}

.s2 .yelbg ul, .s3 .yelbg ul, .s4 .yelbg ul, .s2 .yelbgNew ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: column;
}

.s2 .yelbg > div:nth-child(3) > ul:first-child {
    width: 60%;
}

.s2 .yelbg > div:nth-child(3) > ul:nth-child(2) {
    width: 40%;
}

.s3 .yelbg > div:nth-child(3) > ul:first-child {
    width: 33%;
}

.s3 .yelbg > div:nth-child(3) > ul:nth-child(2) {
    width: 33%;
}
.s3 .yelbg > div:nth-child(3) > ul:nth-child(3) {
    width: 33%;
}

.d-flex {
    display: flex;
}

.s2 .yelbg ul li, .s3 .yelbg ul li, .s4 .yelbg ul li, .s2 .yelbgNew ul li {
    /*width: 30%;*/
    margin-bottom: 13px
}

.year:nth-child(3) .yelbg ul li {
    /*width: 31%;*/
}

.year:nth-child(4) .yelbg ul li {
    /*width: 31%;*/
}

.s2 .yelbg .dotlist, .s3 .yelbg .dotlist, .s4 .yelbg .dotlist, .s2 .yelbgNew .dotlist {
    line-height: 36px
}

    .s2 .yelbg .dotlist a, .s3 .yelbg .dotlist a, .s4 .yelbg .dotlist a, .s2 .yelbgNew .dotlist a {
        color: black;
        -webkit-transition: 0.4s ease;
        transition: 0.4s ease
    }

    .s2 .yelbg .dotlist:before, .s3 .yelbg .dotlist:before, .s4 .yelbg .dotlist:before, .s2 .yelbgNew .dotlist:before {
        width: 6px;
        height: 6px;
        top: 17px;
        background-color: black;
        -webkit-transition: 0.4s ease;
        transition: 0.4s ease
    }

.s2 .yelbgNew .yelimgbox div > div:first-child {
    /*white-space:pre;*/
}

.title-content {
    display: none;
}

.title-header {
    cursor: pointer;
}

.title-item {
    /*margin-top: -5%;*/
    padding: 0 20px;
}

.accordion {
    margin-bottom: 3%;
}

.accordion-item {
    overflow: hidden;
    background-color: white;
    /*padding: 0 300px;*/
    max-width: 1162px;
    /*margin-left: auto;*/
    /*position: relative;*/
    margin: 0 auto;
}

.accordion-header {
    cursor: pointer;
    color: black;
    /*margin-left: 3%;*/
    font-size: 1.375rem;
    margin-bottom: 4%;
    width: fit-content;
    position: relative;
}

.accordion-content {
    padding: 10px;
    display: none; /* Initially hidden */
}

@media (min-width:768px) {
    .s2 .yelbg .dotlist:hover a, .s3 .yelbg .dotlist:hover a, .s4 .yelbg .dotlist:hover a, .s2 .yelbgNew .dotlist:hover a {
        color: #143f7d
    }

    .s2 .yelbg .dotlist:hover:before, .s3 .yelbg .dotlist:hover:before, .s4 .yelbg .dotlist:hover:before, .s2 .yelbgNew .dotlist:hover:before {
        background-color: #143f7d
    }
}

@media (max-width:767px) {
    .s2 .yelbg, .s3 .yelbg, .s4 .yelbg {
/*        padding: 20px 0;
        padding-left: 18%*/
    }

/*        .s2 .yelbg .imgwrap, .s3 .yelbg .imgwrap, .s4 .yelbg .imgwrap {
            width: 45%;
            top: 50%;
            left: -50%;
            -webkit-transform: translate(50%,-50%);
            transform: translate(50%,-50%)
        }*/

        .s2 .yelbg .btitle, .s3 .yelbg .btitle, .s4 .yelbg .btitle, .s2 .yelbgNew .btitle {
            margin: 20px
        }

        .s2 .yelbg ul, .s3 .yelbg ul, .s4 .yelbg ul, .s2 .yelbgNew ul {
            padding: 10px;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between
        }

            .s2 .yelbg ul li, .s3 .yelbg ul li, .s4 .yelbg ul li, .s2 .yelbgNew ul li {
                /*width: 33%;*/
                margin-bottom: 13px
            }

    .year:nth-child(3) .yelbg .imgwrap {
        position: unset;
        width: 100%;
    }

/*    .year:nth-child(4) .yelbg .imgwrap {
        position: unset;
        width: 100%;
    }*/

    .year:nth-child(3) .yelbg .btitle:after {
        /*background-color: transparent;*/
    }

    .year:nth-child(4) .yelbg .btitle:after {
        /*background-color: transparent;*/
    }

    .year:nth-child(3) .yelbg {
/*        width: 100%;
        padding: unset;
        position: unset;
        padding-left: unset;*/
    }

    .year:nth-child(4) .yelbg {
        width: 100%;
        padding: unset;
        position: unset;
        padding-left: unset;
    }

    .year:nth-child(3) .yelbg .btitle {
        margin-bottom: 10px;
    }

    .year:nth-child(4) .yelbg .btitle {
        margin-bottom: 10px;
    }
}

@media (max-width:767px) {
    .s2, .s3, .s4 {
        margin-bottom: 50px
    }

        .s2 .yelimgbox {
            flex-direction: column;
            align-items: center;
        }

            .s2 .yelimgbox > div {
                width: 54%;
            }

        .s2 .yelbgNew .imgwrap {
            display: flex;
            justify-content: center;
        }

        .s2 .yelbg, .s3 .yelbg, .s4 .yelbg, .s2 .yelbgNew {
            /*width: 100%;*/
            padding: 0
        }

            .s2 .yelbg ul, .s3 .yelbg ul, .s4 .yelbg ul, .s2 .yelbgNew ul {
                padding: 20px
            }

                .s2 .yelbg ul li, .s3 .yelbg ul li, .s4 .yelbg ul li, .s2 .yelbgNew ul li {
                    /*width: 50%;*/
                    margin-bottom: 10px
                }

/*            .s2 .yelbg .imgwrap, .s3 .yelbg .imgwrap, .s4 .yelbg .imgwrap {
                width: 100%;
                position: relative;
                left: 0;
                top: 0;
                -webkit-transform: translate(0,0);
                transform: translate(0,0)
            }*/
}
@media (max-width:768px) {
    .s2 .container{
        overflow-x:auto;
    }
    .s2 .yelbg {
        flex-direction: column;
        min-width: 391px;
    }
        .s2 .yelbg > div:first-child {
            width: 100%
        }

        .s2 .yelbg > div:last-child {
            width: 100%
        }

    .s3 .container {
        overflow-x: auto;
    }

    .s3 .yelbg {
        flex-direction: column;
        min-width: 391px;
    }

        .s3 .yelbg > div:first-child {
            width: 100%
        }

        .s3 .yelbg > div:last-child {
            width: 100%
        }
}
    .s5 {
        margin-bottom: 140px
    }

        .s5 ul {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between
        }

            .s5 ul li {
                width: 22.3%;
                text-align: center
            }

    @media (min-width:768px) {
        .s5 ul li:hover .imgwrap .downloadbtn, .s5 ul li:hover .imgwrap:before {
            opacity: 1;
            visibility: visible
        }
    }

    .s5 .imgwrap {
        position: relative;
        -webkit-box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
        box-shadow: 1.5px 5.8px 45.4px 5.6px rgba(43,47,48,0.14);
        margin-bottom: 20px
    }

        .s5 .imgwrap:before {
            content: "";
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            display: block;
            position: absolute;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: 0.6s ease;
            transition: 0.6s ease
        }

        .s5 .imgwrap .downloadbtn {
            width: 86%;
            display: block;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
            opacity: 0;
            visibility: hidden;
            -webkit-transition: 0.6s ease;
            transition: 0.6s ease
        }

            .s5 .imgwrap .downloadbtn .yelbtn {
                display: inline-block;
                background-color: #ffd800;
                color: black;
                padding: 11px 10px;
                width: 100%;
                border-radius: 24px;
                -webkit-transition: 0.4s ease;
                transition: 0.4s ease;
                font-size: 1.1875rem
            }

    .s5 .f18 {
        color: #143f7d
    }

    @media (max-width:767px) {
        .s5 {
            margin-bottom: 100px
        }

            .s5 ul {
                -ms-flex-wrap: wrap;
                flex-wrap: wrap
            }

                .s5 ul li {
                    width: 49%;
                    margin-bottom: 20px
                }
    }
