/*====================================
# 共同設定
==================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

section {
    padding: 5rem 2rem;
}

::selection {
    color: #000000;
    background-color: #EEE8A9;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

a:hover {
    text-decoration: none;
}

/*====================================
# text-autospace 中英文間自動空格用css 
==================================== */

html.han-la hanla:after {
    content: " ";
    display: inline;
    font-family: Arial;
    font-size: 0.8em;
}

html.han-la code hanla,
html.han-la pre hanla,
html.han-la kbd hanla,
html.han-la samp hanla {
    display: none;
}

html.han-la ol>hanla,
html.han-la ul>hanla {
    display: none;
}


/*====================================
# 共用
==================================== */

.main-title {
    position: relative;
    padding-top: 2rem;
    color: #333333;
    z-index: 0;
    margin-bottom: 3rem;
}

.main-title::before {
    position: absolute;
    bottom: 1.6rem;
    left: 0;
    z-index: -1;
    color: #A1D8FF;
    font-size: 3.6rem;
    line-height: 1;
    content: attr(data-word);
    pointer-events: none;
}

.sub-title {
    font-style: italic;
    font-size: 36px;
    text-align: right;
    line-height: 2;
    margin-bottom: 3rem;
}

.sub-title span {
    border: 2px solid #0068b5;
    padding: 6px 10px;
}

.btn-main {
    display: block;
    margin: 3rem auto 0;
    max-width: 400px;
    text-align: center;
    font-size: 20px;
    padding: 1.2rem 3.5rem;
    color: #ffffff;
    border-radius: 25px;
    letter-spacing: 0.2rem;
    font-weight: 700;
    transition: 0.5s;
    transition-property: box-shadow;
    background: #0068B5;
    box-shadow: 0 0 15px #0068B5;
}


.btn-main:hover {
    color: #0068B5;
    background-color: #ffffff;
    box-shadow: 0 0 5px #0068B5,
        0 0 25px #0068B5,
        0 0 50px #0068B5,
        0 0 75px #0068B5;
}

@media (max-width:768px) {
    .kv {
        padding-top: 60px;
    }

    .main-title::before {
        font-size: 3rem;
        top: 0;
    }
}

@media (max-width:576px) {
    .main-title {
        font-size: 2rem;
    }

    .main-title::before {
        font-size: 2rem;
    }

    .sub-title span {
        font-size: 2rem;
    }

    .btn-main {
        padding: 10px;
        letter-spacing: 0.1rem;
    }

}

/*====================================
# 區塊自訂
==================================== */

.sec-fore {
    position: relative;
    background-color: #F3F9FF;
}

/* .sec-fore::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: #E0F1FF;
} */

.fore-box {
    position: relative;
    margin: 3.5rem 0.5rem;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 2rem;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; */
}

.sec-dev,
.sec-gift {
    background-color: #E0F1FF;
}


.sec-dev .main-title::before {
    bottom: 4.5rem;
}

.dev-box {
    padding: 10px 20px;
}

.dev-box h4 {
    font-size: 22px;
    color: #0068b5;
    font-weight: 700;
    margin-bottom: 20px;
}

.dev-box p {
    border-left: 3px solid #0068b5;
    padding-left: 20px;
    text-align: justify;
}

.txt-box {
    text-align: justify;
    padding: 2rem;
    color: #0068b5;
    margin: 2rem 0;
}

@media (max-width:576px) {
    .txt-box {
        padding: 1rem 1.2rem;
    }

    .sec-dev .main-title::before {
        font-size: 24px;
    }
}

/* sec-omni */
.sec-omni {
    background-color: #E0F1FF;
    background-image: linear-gradient(to top, #E0F1FF 0%, #ffffff 50%);
}

.omni-box {
    width: 100%;
    height: 250px;
    border: 3px solid #a1d8ff;
    background: #a1d8ff;
    background: -moz-linear-gradient(220deg, #a1d8ff 6%, #ffffff 6.2%);
    background: -webkit-linear-gradient(220deg, #a1d8ff 6%, #ffffff 6.2%);
    background: linear-gradient(220deg, #a1d8ff 6%, #ffffff 6.2%);
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
}

.omni-box:hover {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.omni-box .original h3 {
    color: #0068B5;
    font-weight: 600;
    font-size: 2rem;
}

.omni-box .original p {
    color: #212121;
    margin-bottom: 0;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.omni-box-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    opacity: 0.15;
    z-index: 1;
}

/* SKEW */

.skew .overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0068B5;
    color: #fff;
    opacity: 0;
    transform: skewX(-10deg);
    -webkit-transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.skew .omni-box:hover .overlay {
    transform: skewX(0deg);
    opacity: 1;
}

.skew .overlay p {
    padding: 2rem;
    font-size: 17px;
    text-align: left;
}




/* 表格頁 */

.sec-signup .required {
    font-weight: 500;
    text-align: right;
    color: #0068b5;
}

.sec-signup input[type=checkbox],
.sec-signup input[type=radio] {
    margin-left: 10px;
    margin-right: 3px;
}

.sec-signup .help-block {
    font-size: 16px;
    color: #F6AB00;
}

@media (max-width:576px) {
    .sec-signup .required {
        text-align: left;
    }
}


/* 感謝頁 */
.sec-thx h2 {
    font-size: 3rem;
    color: #7A65C0;
    line-height: 1.8;
}

.dl-box {
    position: relative;
    color: #ffffff;
    background-color: #009DD6;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    transition: 0.2s;
}

.dl-box.b {
    background-color: #7A65C0;
}

.dl-box.c {
    background-color: #288D86;
}

.dl-box:hover {
    box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 5px;
}

.dl-box h4 {
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.dl-box a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/*====================================
# footer
==================================== */

.footer {
    background-color: #0068b5;
    padding: 30px 0 0px 0;
    width: 100%;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3%;
    margin-left: 4%;
}

@media (max-width:768px) {
    .footer-logo {
        flex-wrap: wrap;
        flex-direction: column;
    }
}

.footer-logo .logo {
    width: 100%;
    max-width: 80px;
    padding-right: 2%;
    margin-bottom: 2%;
}

.footer-logo .text {
    font-size: 15px;
    color: #fff;
}

.copyright {
    background-color: #0068b5;
    border-top: 1px solid #c0c0c0;
    color: #fff;
    text-align: center;
    font-size: 15px;
    padding: 6px;
}