@charset "utf-8";

body {
    font-family: 'Noto Sans TC', sans-serif;
    overflow-x: hidden;
}


.container {
    max-width: 1500px;
    margin: 0 auto;
}

/* .wrap {
    margin-top: 71px;
    background-color: #f5f5f5;
} */

.text-2c86b3 {
    color: #2c86b3;
}

.bg-2c86b3 {
    background-color: #2c86b3;
}

.border-2c86b3 {
    border-color: #2c86b3;
}

.text-99c23a {
    color: #99c23a;
}

.bg-99c23a {
    background-color: #99c23a;
}

.border-99c23a {
    border-color: #99c23a;
}

.text-232e56 {
    color: #232e56;
}

.bg-232e56 {
    background-color: #232e56;
}

.border-232e56 {
    border-color: #232e56;
}

.text-c9c9c9 {
    color: #c9c9c9;
}

.bg-c9c9c9 {
    background-color: #c9c9c9;
}

.border-c9c9c9 {
    border-color: #c9c9c9;
}



/* .wrap {
    margin-top: 68px;
} */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: initial;
}

ul:after,
section:after,
div:after,
li:after {
    content: '';
    display: block;
    clear: both;
}

/*headroom*/
.headerbox {
    background-color: #ffffffd0;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 3px 10px 1px rgb(0 0 0 / 0.2);
}

.headroom--unpinned,
.headroom--pinned {
    background-color: #ffffff;
    /* box-shadow: 0 3px 10px 1px rgb(0 0 0 / 0.2); */
}

.headroom--top {
    background-color: #ffffffd0;
}

.headroom--unpinned .dropdown-content,
.headroom--pinned .dropdown-content {
    background-color: #2c86b3;
}

.headroom--top .dropdown-content {
    background-color: #2c86b3;
}

.headroom--unpinned .dropdown-content2,
.headroom--pinned .dropdown-content2 {
    background-color: #2c86b3;
}

.headroom--top .dropdown-content2 {
    background-color: #2c86b3;
}

.headroom--unpinned .dropdown-content3,
.headroom--pinned .dropdown-content3 {
    background-color: #2c86b3;
}

.headroom--top .dropdown-content3 {
    background-color: #2c86b3;
}

.menu {
    display: flex;
}

.menubtn {
    display: none;
}

.rwdmenu {
    display: none;
}

.rwdmenulist {
    display: none;
}

.menu li {
    position: relative;
    padding: 8px 0;
    /* width: 6rem;
    height: 2rem; */
}

.menu a,
.menu .menuwrd {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu>li>a {
    border-color: transparent;
    border-radius: 25px;
    border-width: 2px;
}

.rwdmenulist li {
    position: relative;
    /* width: 16.4rem;
    padding-left: 10px; */
}

.rwdmenubtn {
    display: none;
}

/* .logoheight {
    padding: 8px 0;
} */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2c86b3;
    width: 285px;
    top: 48px;
    /* margin: 4px 0px; */
    /* padding: 10px 0; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: calc((100% - 100px) / 2);
}

.dropdown-content a {
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    /* font-size: 14px; */
}

.dropdown-content a:hover {
    color: #232e56;
}

.dropdown-content a:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    /* border-bottom-width: 1px;
    border-color: #000000; */
}

.dropdown:hover .dropdown-content {
    display: flex;
    align-items: center;
}

.dropdown-content2 {
    display: none;
    position: absolute;
    background-color: #2c86b3;
    width: 495px;
    top: 48px;
    /* margin: 4px 0px; */
    /* padding: 10px 0; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: calc((100% - 100px) / 2);
}

.dropdown-content2 a {
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    /* font-size: 14px; */
}

.dropdown-content2 a:hover {
    color: #232e56;
}

.dropdown-content2 a:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    /* border-bottom-width: 1px;
    border-color: #000000; */
}

.dropdown:hover .dropdown-content2 {
    display: flex;
    align-items: center;
}

.dropdown-content3 {
    display: none;
    position: absolute;
    background-color: #2c86b3;
    width: 191px;
    top: 48px;
    /* margin: 4px 0px; */
    /* padding: 10px 0; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: calc((100% - 100px) / 2);
}

.dropdown-content3 a {
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    /* font-size: 14px; */
}

.dropdown-content3 a:hover {
    color: #232e56;
}

.dropdown-content3 a:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    /* border-bottom-width: 1px;
    border-color: #000000; */
}

.dropdown:hover .dropdown-content3 {
    display: flex;
    align-items: center;
}

.wrdwidth {
    letter-spacing: 0.3rem;
    background-color: transparent;
    border-radius: 25px;
    padding: 5px 10px;
}

.menu li .wrdwidth:hover,
.menu li .wrdwidth.active {
    background-color: #2c86b3;
    border-radius: 25px;
    padding: 5px 10px;
    color: #ffffff;
}


/*index*/
.bannersplide .splide__pagination {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    z-index: 9;
}

.bannersplide .splide__pagination .splide__pagination__page {
    background: #999999c5;
    width: 10px;
    height: 10px;
    border-radius: 25px;
}

.bannersplide .splide__pagination li {
    padding: 4px;
    outline: none;
}

.bannersplide .splide__pagination button {
    outline: none;
}

.bannersplide .splide__pagination button.is-active {
    background: #2c86b3;
}

.banner {
    animation: banner 7s ease-in-out forwards;
}

@keyframes banner {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/*index-about*/
.aboutblock {
    height: 700px;
    position: relative;
}

.about-1 {
    margin-top: -80px;
}

.about-2 {
    margin-top: 50px;
}

/*index-news*/
.topchoose.active .topwrd {
    color: #212d54;
    border-color: #2c86b3;
}

.newstitle,
.newsplace {
    overflow: hidden;
    /* height: 35px; */
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.more-2 {
    display: none;
}

.indexnews:hover .more-1 {
    display: none;
}

.indexnews:hover .more-2 {
    display: flex;
}

.indexnews:hover .newstitle {
    color: #2c86b3;
}

.indexnews:hover .newsdate {
    color: #2c86b3;
}

.indexnews:hover .newsplace {
    color: #2c86b3;
}

.morebtn:hover {
    box-shadow: 0 4px 6px 0px rgb(0 0 0 / 0.3);
    background-color: #84b319;
}

/*index-sponsor*/
.logobox li {
    position: relative;
}

.logobox li:hover img {
    transform: scale(1.1);
}

/*news*/
.bannerwrd {
    position: absolute;
    bottom: 20px;
    left: 200px;
    font-size: 30pt;
}

.toptitle {
    overflow: hidden;
    /* height: 35px; */
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.inclinebtn:hover {
    color: #2c86b3;
}

.link a:hover {
    color: #2c86b3bd;
}


/*photo*/
.masonry {
    column-count: 4;
    column-gap: 0;
}

.item {
    padding: 2px;
    position: relative;
    /* counter-increment: item-counter; */
}

.item img {
    display: block;
    width: 100%;
    height: auto;
}

/* .item:after {
    position: absolute;
    display: block;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    background-color: #000;
    color: #fff;
    content: counter(item-counter);
} */

.photoname {
    position: relative;
}

.photoname {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 40px; */
    background-color: #0000006e;
    color: #ffffff;
}

/*rules*/
.rulesarrow2 {
    display: none;
}

.indexnews:hover .rulesarrow1 {
    display: none;
}

.indexnews:hover .rulesarrow2 {
    display: flex;
}

.indexnews:hover .ruleswrd {
    color: #fff;
}

.indexnews:hover .rulesbg {
    background-color: #2c86b3;
}

/*footer*/
.gotop {
    position: fixed;
    display: none;
    right: 0;
    bottom: 50px;
    outline: none;
    z-index: 9;
}

.gotop.active {
    display: block;
    z-index: 9;
}

.fb {
    position: fixed;
    right: 0;
    bottom: 100px;
    outline: none;
    z-index: 9;
}

:hover.btnblock {
    background-color: #232e56;
}

/* 
* scrollbar
*/

::-webkit-scrollbar {
    height: 5px;
    width: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #928692;
}

/**
* input number 修飾
*/
@layer utilities {

    input[type='number']::-webkit-inner-spin-button,
    input[type='number']::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
}

/** 
* articlebox
*/
.articlebox {
    word-break: break-word;
}

.articlebox iframe {
    max-width: 100%;
}

.articlebox img {
    max-width: 100%;
    display: inline-block;
}

.articlebox .youtube-embed-wrapper {
    padding-top: 0 !important;
}

.articlebox iframe,
.articlebox object,
.articlebox embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/** 
* parsley
*/
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    border: 1px solid #b94a48;
}

.parsley-errors-list {
    /* position: absolute; */
    margin: 2px 0 3px;
    list-style-type: none;
    font-size: 0.9em;
    line-height: 0.9em;
    opacity: 0;
    color: #b94a48;
    transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
}

.parsley-errors-list.filled {
    opacity: 1;
}

/** 
* magnific-popup
*/
.white-popup {
    position: relative;
    background: #fff;
    padding: 40px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    /* border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0; */
}

/* .mfp-bg {
    background: #fff;
} */

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/* vue */
[v-cloak] {
    display: none;
}


/*rwd*/
@media screen and (max-width: 1920px) {}

@media screen and (max-width: 1440px) {

    /*news*/
    .bannerwrd {
        position: absolute;
        bottom: 20px;
        left: 20px;
        font-size: 30pt;
    }

}

@media screen and (max-width: 1366px) {}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 820px) {
    .wrap {
        margin-top: 55px;
    }

    /*header*/

    .wrap {
        margin-top: 90px;
    }

    .headroom--top {
        background-color: rgb(255, 255, 255);
    }

    .rwdmenubtn {
        display: block;
    }

    .menubtn {
        display: block;
        float: right;
        z-index: 999;
    }

    .menu {
        display: none;
    }

    .rwdmenulist {
        display: block;
    }

    .rwdmenu {
        display: block;
        background-color: #ffffff;
        top: 0;
        left: 0;
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: 990;
        transform: translate(0%, -150%);
        transition: all 1s ease;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
            0 4px 6px -4px rgb(0 0 0 / 0.1);
    }

    .rwdmenu.active {
        transform: translate(0%, 0%);
    }

    .menubtn.active .close {
        display: block;
    }

    .menubtn.active .open {
        display: none;
    }

    /*index-about*/
    .aboutblock {
        height: auto;
        position: unset;
        padding-top: 30px;
    }

    .about-1 {
        margin-top: -10px;
    }

    .about-2 {
        margin-top: 10px;
    }

    /*photo*/
    .masonry {
        column-count: 2;
        column-gap: 0;
    }

}

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

@media screen and (max-width: 430px) {

    .wrap {
        margin-top: 73px;
    }

    /*news*/
    .bannerwrd {
        font-size: 18pt;
    }
}

@media screen and (max-width: 425px) {}

@media screen and (max-width: 414px) {}

@media screen and (max-width: 390px) {}

@media screen and (max-width: 375px) {}

@media screen and (max-width: 320px) {}