body {
    overflow-x: hidden;
    background-color: #000000;
    box-sizing: border-box;
    height: 100%;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

.applicant .section_content {
    min-height: inherit;
}

a,
span {
    display: inline-block;
}

li {
    list-style: none;
}

.mt_xxs {
    margin-top: 1% !important;
}

.mt_xs {
    margin-top: 5.5% !important;
}

.mt_xms {
    margin-top: 9% !important;
}

.mt_s {
    margin-top: 20% !important;
}

.mb_xs {
    margin-bottom: 5.5% !important;
}

.tac {
    text-align: center;
}

.dflex {
    display: flex;
}

h3 {
    letter-spacing: 0;
}

.pc {
    display: block;
}

.mo {
    display: none;
}

.co-pu {
    background: #782559 !important;
}

.co-wy {
    color: #F8EBDC;
}

.co-ye {
    color: #FFAA0D;
}

.co-bk {
    color: #000000;
}

.header_nav {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.col-12>section {
    max-width: 1200px;
    width: 80vw;
    margin: 0 auto;
}

.applicant .section_content {
    background: #010100;
}

/*--0726--*/
.nofindtx {
    display: none;
    text-align: center;
    font-size: 1.25rem;
    margin-top: 1.25rem;
    color: #f6d392;
}

.nofindtx>a {
    text-decoration: underline;
    color: #F8EBDC;
    margin-left: 0.5rem;
}

/*--0729--*/
.workName>a>h5 {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30vw;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/*--0729_END--*/

.workBtn {
    border: 0.2vw solid #ffffff;
    border-radius: 2vw;
    padding: 0.2vw 0;
    width: 7vw;
    transition: 0.3s ease;
    cursor: pointer;
}

.wbdisable {
    background-color: #765100;
    border: 0.2vw solid #765100;
    transition: 0.3s ease;
    color: #a77e34;
    border-radius: 2vw;
    padding: 0.2vw 0;
    width: 7vw;
}

/*--end--*/
.applicant.end>section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-color: #8D6B2C;
    padding-top: 5vw;
    text-align: center;
    color: #F6D392;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.applicant.end>section div {
    flex-grow: 1;
}

.applicant.end svg {
    width: 10vw;
    margin: 0 auto;
    display: block;
    padding: 0.5vw;
    border: 0.5vw solid #F6D392;
    border-radius: 10vw;
}

.applicant.end h5 {
    padding-top: 1vw;
}

/*--vote_index--*/
#kv {
    position: relative;
    padding: 2vw 0;
    text-align: center;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#332616+0,010100+100 */
    /* background: radial-gradient(ellipse at center, #332616 0%, #010100 80%); */
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#kv .nav {
    display: flex;
}

#kv .nav li {
    width: 30vw;
}

#kv .nav li>a {
    width: 100%;
    padding: 1vw 0;
    color: #ffffff;
}

#kv .nav li:nth-child(odd) {
    background-color: #a77e34;
}

#kv .nav li:nth-child(even) {
    background-color: #cea34e;
}

#kv .kvTitle {
    font-size: 3.5vw;
    font-weight: bolder;
    text-align: center;
    color: #ba8441;
    margin: 3vw 0 0;
}

#kv .kvTitle+h3 {
    color: #f6d392;
    font-size: 1.5vw;
}

#kv img {
    width: 100%;
}

#kv .kvbtn {
    position: absolute;
    /* border: 1px solid #fff; */
    left: 31%;
    bottom: 6%;
    width: 38%;
    padding-bottom: 5vw;
}

/*--sop--*/
#sop article,
#ps article {
    border-radius: 2vw;
    background-color: #291c00;
    padding: 1vw;
    text-align: center;
}

#sop article ul {
    display: flex;
    justify-content: space-between;
}

#sop article ul li {
    width: 30vw;
    border-right: 0.15vw solid #ffffff;
}

#sop article ul li:last-child {
    border-right: none;
}

#sop article ul li span {
    width: 4vw;
    margin-bottom: 1vw;
}

#sop article ul li h5 {
    padding: 0 1vw;
}

#sop article ul li h5>i {
    font-style: normal;
    letter-spacing: -0.04vw;
}

#sop article ul li h5>b {
    color: #ffcf71;
}

/*--ps--*/
#ps .ps-text {
    text-align: left;
    margin: 1vw auto 0;
    display: inline-block;
    padding: 0 0 0.5vw;
    max-width: 80vw;
}

#ps .ps-text>p {
    display: flex;
    margin-bottom: 0.2vw;
}

#ps .ps-text>p::before {
    content: "*";
    padding-right: 0.5vw;
}

#ps .ps-text+h5 {
    border-top: 0.1vw solid #a9a499;
    padding: 1vw 0 0;
}
.hr{
    border-top: 0.1vw solid #a9a499;
    padding: 1vw 0 0;
    margin-top: 1.5%;
}

.ps-2 {
    background-color: transparent !important;
    width: 60vw;
    margin: 0 auto;
}

.ps-2>p:first-child {
    padding-bottom: 0.5vw;
}

.ps-2>p:last-child {
    color: #F6D392;
}

/*--yts--*/
#yts {
    margin-top: 3vw;
}

.tab_contentA.is-active {
    display: block !important;
    text-align: center;
}

.tab_contentA {
    display: none !important;
}

#yts>ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

#yts>ul>li {
    background-color: #765100;
    color: #CBB492;
    text-align: center;
    padding: 1vw 0;
    border-top-left-radius: 0.8vw;
    border-top-right-radius: 0.8vw;
    margin-right: 0.5vw;
    font-weight: bold;
    line-height: 1.2;
    width: 30vw;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#yts>ul>li:first-child {
    line-height: 1.2;
}

#yts>ul>li:last-child {
    margin-right: 0;
}

#yts>ul>li.is-active {
    background-color: #a77e34;
    color: #FCEDDE;
    text-align: center;
}

.tabbox {
    background-color: #a77e34;
    padding: 2vw 0 0;
    border-bottom: 0.2vw solid #7F6938;
}

#search {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 1vw;
    border-radius: 0.3vw;
    color: #fff;
    background-color: #000000;
    width: 45vw;
    margin: 0 auto 1vw;
    border: 0.15vw solid #FBECD7;
    transition: all 0.3s ease;
}

#search.has-input {
    border-color: #ffd273;
}

#search>svg {
    cursor: pointer;
    transition: fill 0.3s ease;
}

#search.has-input>svg {
    fill: #ffd273;
}

#search input {
    background-color: #000000;
    color: #FBECD7;
    padding-left: 0.5vw;
    border-radius: 0.2vw;
    width: 100%;
    transition: color 0.3s ease;
    border: none;
    outline: none;
}

#search input:focus {
    background-color: #000000;
    color: #ffd273;
}

#search.has-input input {
    color: #ffd273;
    background-color: #000000;
}

#search.has-input input:focus {
    color: #ffd273;
    background-color: #000000;
}

#search input::placeholder {
    color: #FBECD7;
}

#search.has-input input::placeholder {
    color: #ffd273;
}

#search input:focus::placeholder {
    color: #ffd273;
}

#search .clear-btn {
    display: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffd273;
    color: #000000;
    border: none;
    font-size: 14px;
    font-weight: bold;
    margin-left: 0.5vw;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    position: relative;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    box-sizing: border-box;
    z-index: 10;
}

#search.has-input .clear-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#search .clear-btn:hover {
    transform: scale(1.1);
}

#search .clear-btn::before {
    content: '×';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

#searchInput::-webkit-input-placeholder:focus,
#searchInput::-webkit-input-placeholder:active {
    background-color: #000000;
}
#searchInput {
  background-color: #000;
  color: #fff;
  caret-color: #fff;
  border: none;
  padding: 8px;
  border-radius: 4px;
  outline: none;
}

#searchInput:focus {
  background-color: #000;
  color: #fff;
}

#searchInput::selection {
  background-color: #222;
  color: #fff;
}
#searchInput::selection {
  background-color: #333 !important;
  color: #fff !important;
}

input::selection {
  background-color: #333 !important;
  color: #fff !important;
}

input:-webkit-autofill {
  background-color: #000 !important;
  color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
  -webkit-text-fill-color: #fff !important;
}

.tab_contentA>article {
    padding: 1vw 0 2vw;
}

.tab_contentA ul {
    display: flex;
    align-items: center;
    max-width: 85vw;
    justify-content: center;
    margin: 1vw auto 0;
}

.tab_contentA ul>li {
    margin: 0 1.5vw 0 0;
}

.tab_contentA ul>li:first-child {
    position: relative;
    box-sizing: border-box;
}

.tab_contentA ul>li:first-child>span {
    border-radius: 100%;
    width: 7vw;
    height: 7vw;
    overflow: hidden;
}

.tab_contentA ul>li:first-child>span>img {
    vertical-align: middle;
    display: block;
    width: 100%;
    height: 100%;
}

.tab_contentA ul>li:first-child::before {
    content: '';
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 7vw;
    height: 7vw;
    border: 0.2vw solid #624920;
    box-sizing: border-box;
}

.tab_contentA ul>li:first-child::after {
    content: '';
    border-radius: 100%;
    position: absolute;
    top: -0.2vw;
    left: -0.2vw;
    width: 7.4vw;
    height: 7.4vw;
    border: 0.2vw solid #F2D498;
    box-sizing: border-box;
}

.tab_contentA ul>li:nth-child(2) {
    width: 20vw;
    word-wrap: break-word;
    text-align: left;
}

.tab_contentA ul>li:nth-child(3)>a {
    border: 0.2vw solid #F2D498;
    border-radius: 2vw;
    padding: 0.2vw 0;
    width: 7vw;
    transition: 0.3s ease;
}

.tab_contentA ul>li:nth-child(3)>a:hover {
    background-color: #f6d392;
    border: 0.2vw solid #f6d392;
    color: #624920;
    transition: 0.3s ease;
}

.tab_contentA ul>li:nth-child(3)>a.mvdisable {
    background-color: #D8D8D8;
    border: 0.2vw solid #D8D8D8;
    transition: 0.3s ease;
    color: #624920;
}

/*0729--- .tab_contentA ul > li:nth-child(4){
    background-color: #f6d392;
    border: 0.2vw solid #f6d392;
    border-radius: 2vw;
    padding: 0.2vw 0;
    width: 7vw;
    color: #624920;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0;
}

.tab_contentA ul > li:nth-child(4) .wbdisable {
    background-color: #D8D8D8;
    border: 0.2vw solid #D8D8D8;
    pointer-events: none;
    transition: 0.3s ease;
}


.tab_contentA ul > li:nth-child(4):hover{
    background-color: #F2D498;
    border: 0.2vw solid #F2D498;
    color: #624920;
    transition: 0.3s ease;
} */

.workLink>a {
    background-color: #ffd790;
    border: 0.2vw solid #ffe2af;
    border-radius: 2vw;
    padding: 0.2vw 0;
    width: 7vw;
    color: #624920;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0;
}

.workLink>a:hover {
    background-color: #F2D498;
    border: 0.2vw solid #F2D498;
    color: #624920;
    transition: 0.3s ease;
}

.workLink>a.mvdisable {
    background-color: #F2D498;
    border: 0.2vw solid #F2D498;
    border-radius: 2vw;
    padding: 0.2vw 0;
    width: 7vw;
    color: #dda239;
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0;
}

/*---0729_END--*/

.applicant.end {
    background-color: #8D6B2C;
}

.applicant.end>.header_nav {
    background-color: #8D6B2C;
    height: 100vh;
    text-align: center;
    color: #F6D392;
}

.applicant.end>.header_nav svg {
    margin: 0 auto 0.5vw;
}

.applicant.end>.header_nav>.end-text {
    position: relative;
    top: 50%;
    transform: translateY(-45%);
}

.workNum,
.aw01,
.aw02,
.aw03 {
    display: none;
}

.box_modal.modal_alert .contnet_btns .btn {
    cursor: pointer;
}

.box_modal.modal_alert {
    max-height: 40%;
}

/*--footer--*/
.f_content {
    background-color: #000000;
    max-width: 1200px;
    width: 80vw;
    margin: 0 auto;
    padding: 3vw 0;
    line-height: 1.5rem;
}

#footer>article ul li>p,
#footer>article ul.step li {
    display: flex;
}

#footer>article ul.step li:first-child::before {
    content: 'Step1. ';
}

#footer>article ul.step li:nth-child(2)::before {
    content: 'Step2. ';
}

#footer>article ul.step li:nth-child(3)::before {
    content: 'Step3. ';
}

#footer>article ul.step li:nth-child(4)::before {
    content: 'Step4. ';
}

#footer>article>ul>li>p::before {
    content: '•';
    padding-right: 0.3vw;
}

#footer h3 {
    color: #fff;
}

#footer>article p,
#footer>article:not(h3) {
    color: #FEDB97;
    text-align: justify;
    font-weight: normal;
}

#footer>.share {
    display: flex;
    justify-content: center;
    margin-top: 2vw;
}

#footer>.share>li {
    width: 3vw;
    margin-right: 1vw;
}

#footer>.share>li:last-child {
    margin-right: 0;
}

/*--0726--*/
#footer>.share>li:last-child>a {
    cursor: pointer;
}

/*--0726_END--*/

#footer>article {
    max-width: 1200px;
    margin: 2vw auto 0;
}

#footer>article>h3 {
    margin-bottom: 0.5vw;
}

#footer>article>p,
#footer>article li {
    line-height: 1.6;
    padding-bottom: 0.5vw;
}

#footer>article ol li {
    list-style: inherit;
    margin-left: 1.2vw;
}

#footer>article ol li>a {
    text-decoration: underline;
    color: #F8EBDC;
}

#footer>.footer_item {
    color: #adadad;
    margin: 3vw auto 0;
    padding: 2vw 0;
    text-align: center;
    border-top: 1px solid rgb(103 96 84 / 50%);
    display: flex;
    flex-direction: column;
    background-color: #3c3c3c;
    font-size: clamp(0.65rem, 2vw, 1rem);
}

#footer>.footer_item>a {
    margin: 1vw 0;
    text-decoration: underline;
}
.link {
  text-decoration: underline;
}
.link:hover {
  color: #F8EBDC;
}
/*--0726-*/
.login-ps {
    max-width: 800px;
    width: 80vw;
    margin: 2rem auto 0;
    line-height: 1.6;
}

.login-ps li {
    margin: 0 0 1rem;
    text-align: center;
}

/*--0726_END-*/

@media screen and (max-width:850px) {
    body {
        line-height: 1.4;
    }

    .pc {
        display: none;
    }

    .mo {
        display: block;
    }

    .mt_xs {
        margin-top: 10% !important;
    }

    .mt_xxs {
        margin-top: 5% !important;
    }

    p {
        font-size: 0.8rem;
    }

    h5 {
        font-size: 1rem;
    }

    .col-12>section {
        max-width: inherit;
        width: 100%;
        margin: 0 auto;
    }

    .log_btns {
        display: inherit !important;
    }

    #kv {
        padding: 2vw 0 10vw;
    }

    #kv .nav li {
        width: 33vw;
    }

    #kv .kvTitle {
        font-size: 6.5vw;
        margin: 8vw 0 0;
    }

    #kv .kvTitle+h3 {
        font-size: 3vw;
    }

    #kv .kvbtn {
        bottom: 11%;
        width: 38%;
        padding-bottom: 8%;
    }

    /* #kv img {
        width: 70vw;
        margin: 4vw auto;
    }

    /* #kv .kvbtn {
        padding: 1.5vw 6vw;
    } */

    #sop article,
    #ps article {
        max-width: 80vw;
        margin: 0 auto;
        padding: 5vw 6vw;
    }

    .ps-2 {
        width: 80vw;
    }

    #sop article ul {
        flex-direction: column;
        align-items: center;
    }

    #sop article ul li span {
        width: 15vw;
    }

    #sop article ul li {
        width: 80vw;
        border-right: none;
        border-bottom: 0.4vw solid #ffffff;
        padding: 5vw 0;
    }

    #sop article ul li:last-child {
        border-bottom: none;
    }

    #ps .ps-text {
        margin: 2vw auto 0;
    }

    #yts {
        margin-top: 10vw;
    }

    #yts>ul>li {
        height: 15vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #yts>ul>li:first-child {
        line-height: 1.2;
    }

    #search {
        border-radius: 2vw;
        width: 80vw;
        margin: 5vw auto;
        border: 0.5vw solid #FBECD7;
        transition: all 0.3s ease;
    }

    #search.has-input {
        border-color: #ffd273;
    }

    #search>svg {
        padding: 0 2vw;
        transition: fill 0.3s ease;
    }

    #search.has-input>svg {
        fill: #ffd273;
    }

    #search input {
        transition: color 0.3s ease;
        border: none;
        outline: none;
        font-size: 18px;
        font-weight: bold;
        caret-color: #ffd273; /* 設定閃爍的游標顏色 */
    }

    #search input:focus {
        background-color: #000000;
        color: #ffd273;
    }

    #search.has-input input {
        color: #ffd273;
        background-color: #000000;
    }

    #search.has-input input:focus {
        color: #ffd273;
        background-color: #000000;
    }

    #search input::placeholder {
        color: #FBECD7;
    }

    #search.has-input input::placeholder {
        color: #ffd273;
    }

    #search input:focus::placeholder {
        color: #ffd273;
    }

    #search .clear-btn {
        width: 24px;
        height: 24px;
        font-size: 16px;
        margin-left: 1vw;
        line-height: 1;
        padding: 0;
        position: relative;
        border-radius: 50%;
        min-width: 24px;
        min-height: 24px;
        max-width: 24px;
        max-height: 24px;
        box-sizing: border-box;
        z-index: 10;
    }

    #search.has-input .clear-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    #search .clear-btn::before {
        content: '×';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        font-weight: bold;
        line-height: 1;
    }


    .tab_contentA ul>li:first-child>span {
        width: 10vw;
        height: 10vw;
    }

    .tab_contentA ul>li:nth-child(2) {
        width: 45vw;
    }

    .tab_contentA ul>li:nth-child(3)>a {
        border: 0.5vw solid #F2D498;
        border-radius: 5vw;
        padding: 0.5vw 0;
        width: 20vw;
    }

    /*--0729--*/
    /* .tab_contentA ul > li:nth-child(4) {
        border: 0.5vw solid #f6d392;
        border-radius: 5vw;
        padding: 0.5vw 0;
        width: 30vw;
    } */

    .tab_contentA ul>li:first-child::before {
        width: 10vw;
        height: 10vw;
    }

    .tab_contentA ul>li:first-child::after {
        width: 10.4vw;
        height: 10.4vw;
    }

    .tab_contentA>article {
        padding: 5vw 0;
    }

    .tab_contentA ul {
        margin: 3vw auto 0;
    }

    /* #footer {
        padding: 5vw 5vw;
    } */

    #footer>.share>li {
        width: 12vw;
        margin-right: 5vw;
    }

    #footer>article ol li {
        margin-left: 3.2vw;
    }

    #footer>article {
        margin: 5vw auto 0;
    }

    #footer>article>ul>li>p::before {
        padding-right: 0.5vw;
    }

    #footer>article:not(h3) {
        font-size: 0.8rem;
    }

    /*--0729--*/
    .workBtn {
        width: 10rem;
        border: 0.5vw solid #ffffff;
        border-radius: 5vw;
        padding: 0.5vw 0;
    }

    .wbdisable {
        width: 10rem;
        border: 0.5vw solid #8D6B2C;
        border-radius: 5vw;
        padding: 0.5vw 0;
    }

    .workLink>a {
        width: 6rem;
        border: 0.5vw solid #f6d392;
        border-radius: 5vw;
        padding: 0.5vw 0;
    }

    .workLink>a:hover {
        width: 6rem;
        border: 0.5vw solid #F2D498;
        border-radius: 5vw;
        padding: 0.5vw 0;
    }

    .workLink>a.mvdisable {
        width: 6rem;
        border: 0.5vw solid #F2D498;
        border-radius: 5vw;
        padding: 0.5vw 0;
    }

    /*--0729_END--*/

    .workName>a>h5 {
        max-width: 7rem;
    }
}

@media screen and (min-width:768px) {}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}