@charset "utf-8";

/**思源宋體**/

@import url('https://fonts.googleapis.com/css?family=Noto+Serif+TC&display=swap');

body {
    font-family: "微軟正黑體", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background: #fefefa;
    margin: 0;
    padding: 0;
    color: #232323;
}

/* 錨點top偏移矯正 height of sticky header */
/* html{
    scroll-padding-top: 75px !important;
} */


.jumptarget {
    scroll-margin-top: 100px;
}

/* .jumptarget::before {
    content:"";
    display:block;
    height: 75px;
    margin: -75px 0 0;
  } */

h1 {
    scroll-margin-top: 50px
}

/* :target:before {
    content: "";
    display: block;
   margin-top: -150px;
   height: 150px;
   visibility: hidden;
} */

.text-center {
    text-align: center;
}

section {
    display: block;
}

* {
    box-sizing: border-box;
}

strong {
    font-weight: bold;
}

area {
    outline: 0;
}

img[usemap] {
    border: none;
    height: auto;
    max-width: 100%;
    width: auto;
}

.clearfix {
    clear: both;
}

a {
    color: #5d656c;
    text-decoration: none;
}

li {
    list-style: none;
}

#header,
.header,
.header img,
#footer,
.footer,
.footer img {
    padding: 0;
    margin: 0;
    margin-bottom: -2px;
    overflow: hidden;
    width: 100%;
}

/*******************
bg setting
*******************/




/*******************
hr setting
*******************/

hr.title-hr {
    width: 72px;
    height: 1px;
}

hr.mission-hr {
    background: #cecece;
    width: 60%;
    margin: 0 auto;
}


/*******************
btn setting
*******************/

.btn-wrapper {
    width: 100%;
    margin: 20px auto;

}

.btn-wrapper .btn {
    display: inline-table;
}

.btn {
    color: white;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    width: 48%;
    text-align: center;
    padding: 10px;
    border-radius: 2px;
    margin-right: 0;
}

.btn-action {
    background: white;
    color: black;
}

.btn-action-yel {
    background: #ffe034;
    color: black;
}

.btn-theme {
    background: #ff5da9;
    color: black;
}

.btn-info {
    background: #3bffea;
    color: black;
}

.btn-info-yel {
    background: #eefa69;
}

.btn:hover {
    background: #777777;
    transition: all .2s linear;
    color: white;
    cursor: pointer;
}


/*******************
font setting
*******************/

.event-wrap {
    /*** 思源宋體+futura ***/
    /*    font-family: futura-pt, Helvetica, Arial, sans-serif, 'Noto Serif TC';*/
    /*** only思源宋體 ***/
    /*    font-family: 'Noto Serif TC', serif;*/
    /*** 如果讀不到思源宋體，用回微軟正黑體 ***/
    font-family: futura-pt, Helvetica, Arial, sans-serif, "微軟正黑體", "Microsoft JhengHei";
}

.title {
    margin: 7% 33% 3%;
    width: 34%;
}

/*color*/
.text-theme {
    color: #59ffdd;
}

.text-black {
    color: #232323;
}

.text__theme {
    color: #fff;
}

.text__yellow {
    color: #ebfa69;
}

.text__green {
    color: #33ffff;
}

/*******************
kv
*******************/

.kv-wrap {
    position: relative;
}

.kv-title-wrap {
    width: 100%;
    position: absolute;
    bottom: -3%;
}

.kv-img-wrap img {
    width: 100%;
}

.kv-title {
    width: 100%;
    margin: 15px auto;
    font-size: 45px;
    font-weight: 600;
    line-height: 58px;
    letter-spacing: 1px;
}

.kv-btn-wrap ul {
    width: 100%;
    margin: 0 auto -5vw;
    text-align: center;
}

.kv-btn-wrap ul li {
    width: 15%;
    /* height: 52px; */
    display: inline-table;
    font-size: 20px;
    overflow: hidden;
    text-align: center;
    margin-right: 30px;
}

.kv-btn-wrap ul li i {
    font-size: 50px;
    position: relative;
    top: 6px;
}

.kv-btn-wrap ul li i.fa-envelope,
.kv-btn-wrap ul li i.fa-line {
    font-size: 65px;
    position: relative;
    margin-top: -13px;
    top: 14px;
}

.kv-btn-wrap ul li .kv-btn-text {
    position: relative;
    top: -8px;
}

.kv-btn-wrap ul a:hover li {
    background: #3bffea;
    transition: all .2s linear;
}

/*線上會員活動*/
.online-wrap a {
    display: inline-block;
    text-align: center;
    margin: auto 1% 5%;
}

.online-wrap a :hover {
    filter: saturate(150%);
}

.online-wrap a btn {
    display: block;
    text-align: center;
}

.online-content-title {
    font-size: 1.8em;
    line-height: 35px;
    font-weight: 600;
    text-align: center;
    margin-top: 2%;
}

.btn-online {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 3px;
    width: 130px;
    padding: 10px;
    margin: 3% auto;
}

/*******************
scroll
*******************/


/* scroll */

.scroll-wrap {
    text-align: center;
    padding-bottom: 30px;
}

.scroll-type {
    width: 100%;
    height: 56px;
    margin: 0 auto;
    text-align: center;
    padding-top: 10px;
    -webkit-animation: arrow 1s infinite;
    animation: arrow 1s infinite;
}

.scroll-text {
    font-size: 12px;
    font-size: 600;
    margin-top: 10px;
    color: #232323;
}

@keyframes arrow {
    0% {
        padding-top: 10px;
    }

    100% {
        padding-top: 20px;
    }
}


/*******************
flipwrap
*******************/


/*rotateX(度數deg) 在x軸上旋轉*/

.flip-wrapper {
    position: relative;
    perspective: 1000px;
    background-color: #fefefa;
    border: solid 10px #e26c00;
    width: 1016px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fefefa;
    width: 940px;
    height: 325px;
    overflow: hidden;
    position: absolute;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0, 0.9, 0.9, 0);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    animation-duration: 10s;
    transform: rotateX(-90deg);
}

.card:nth-child(1) {
    animation-delay: 0s;
    animation-name: rotate;
}

.card:nth-child(2) {
    animation-delay: 5s;
    animation-name: rotate;
}

@-moz-keyframes rotate {
    20% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(90deg);
    }
}

@-webkit-keyframes rotate {
    20% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(90deg);
    }
}

@-o-keyframes rotate {
    20% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(90deg);
    }
}

@keyframes rotate {
    20% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(90deg);
    }
}

/*******************
mission
*******************/
.mission-wrap {
    background-image: url(../images/bg_03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -1vw;
    padding-top: 7%;
}

.mission-wrap ul {
    width: 100%;
    text-align: center;
}

.category-bracket {
    font-size: 20px;
    position: relative;
    top: -10px;
}

.mission-category {
    display: block;
}

.mission-category-wrapper li {
    display: block;
    text-align: center;
}

.mission-category-title {
    margin: 6% 3% auto auto;
    width: 27% !important;
}

.mission-content-wrap {
    position: relative;
    width: 102%;
    height: 20vw;
    margin-top: 5%;
}

.mission_title_PC {
    display: block;
}

.mission_title_M {
    display: none;
}

.bg__green1 {
    background-image: url("../images/box_1.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__green2 {
    background-image: url("../images/box_2.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__green5 {
    background-image: url("../images/box_5.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__green6 {
    background-image: url("../images/box_6.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__yellow3 {
    background-image: url(../images/box_3.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__yellow4 {
    background-image: url(../images/box_4.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__yellow7 {
    background-image: url(../images/box_7.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.bg__yellow8 {
    background-image: url(../images/box_8.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.mission-content {
    position: relative;
    display: inline-table;
    vertical-align: top;
    margin-top: -3%;
}

.mission-box {
    display: inline-block;
    width: 24%;
    vertical-align: middle;
}

.mission-content-text {
    position: relative;
    top: 7vw;
    left: 0%;
    text-align: left;
    width: 75%;
}

.mission-content-title {
    font-size: 1.4vw;
    line-height: 1.2;
    font-weight: 600;
    text-align: left;
    margin-bottom: 3%;
}

.mission-content-title span {
    font-size: 1;
}

.mission-text {
    font-size: 1.2vw;
    line-height: 1.5;
    width: 98%;
}

/*******************
pop-up
*******************/


/***** popup's controler *****/

.popup__btn {
    margin: 7% 0 20px 38%;
    padding-top: 3px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: opacity 200ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}


/***** popup's appearance *****/


/* Modal */

.pop-modal {
    background-color: rgba(0, 0, 0, .65);
    display: none;
    overflow: auto;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 8%;
}


/* Modal Content */

.modal-content {
    position: relative;
    top: 0px;
    width: 600px;
    margin: 0 auto;
    background-color: #434343;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-animated-in {
    animation: totop-in .3s ease;
}

.modal-animated-out {
    animation: totop-out .3s ease forwards;
}

.modal-header {
    background-color: #656464;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
}

.modal-content .close {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #7e7e7e;
    width: 60px;
    height: 60px;
    color: #fff;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
}

.modal-content .close:hover {
    background-color: #fff;
    color: #222;
}

.modal-header h3 {
    color: #59ffdd;
    /* #  ff7db0; */
    /* text-shadow: 1px 1px rgba(0, 0, 0, 1); */
    font-weight: bolder;
    font-size: 20px;
}


/* Modal Body */

.modal-body {
    padding: 20px 27px 20px 20px;
    line-height: 30px;
    font-size: 15px;
    color: #ffffffe0;
    background-color: #27253c;
}

.modal-body h3 {
    font-size: 18px;
}

.modal-body-inner {
    overflow-y: auto;
    height: 350px;
    padding: 0 30px 0 10px;
}

.modal-body-inner hr {
    width: 97%;
}

.modal-body-inner h3 {
    margin-bottom: 5px;
}

.modal-body-inner::-webkit-scrollbar-track {
    background-color: #777777;
}

.modal-body-inner::-webkit-scrollbar {
    width: 5px;
    background-color: white;
}

.modal-body-inner::-webkit-scrollbar-thumb {
    background-color: white;
}

.modal-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.modal-body ul li {
    position: relative;
    margin-left: 30px;
    list-style-type: decimal-leading-zero;
}

.modal-body ul li::before {
    position: absolute;
    color: #5cc560;
    left: -20px;
    top: 10px;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.modal-body a {
    color: #5cddc3;
    /*#ff6fae; */
}

.modal-body a:hover {
    color: #b9b9b9;
    transition: all .2s linear;
}

.modal-body-text-wrap {
    margin-bottom: 20px;
}

.modal-body-text {
    font-size: 15px;
}

.modal-body-text-wrap h5 {
    color: #5cddc3;
    font-size: 15px;
}

.modal-sec-text li {
    color: #5cddc3;
    margin-left: 8% !important;
    list-style-type: circle !important;
}

/* Modal Footer */

.modal-footer {
    background-color: #656464;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
}


/***** Keyframes for popup's showing up *****/

@keyframes totop-in {
    0% {
        top: 600px;
        opacity: 0;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

@keyframes totop-out {
    0% {
        top: 0px;
        opacity: 1;
    }

    100% {
        top: -100%;
        opacity: 0;
    }
}