.m_show {
    display: none;
}

body {
    overflow-x: hidden;
}

/* -------導覽列*/

header {
    width: 100%;
    min-width: 1200px;
    max-width: 1980px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 99;
}

header nav {
    width: 88%;
    height: 60px;
    margin: 0 auto;
    background: rgba(29, 52, 70, .85);
    position: relative;
}

/* -------導覽列-LOGO*/

header nav .logo {
    width: 13%;
    max-width: 250px;
    height: 100%;
    text-align: center;
}

header nav .logo::before {
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

header nav .logo h1 {
    display: none;
}

header nav .logo a {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}

header nav .logo a img {
    width: 80%;
    margin: 0 auto;
}

/* -------導覽列-選單*/

header nav .menu {
    position: absolute;
    right: 0;
    top: 0;
}

header nav .menu li {
    display: inline-block;
    vertical-align: top;
    margin: 0 7px;
}

header nav .menu li a {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    /* font-weight: 800; */
    line-height: 57px;
    letter-spacing: 1.5px;
    color: #fff;
    border-bottom: 3px solid transparent;
    transition: .4s;
}

header nav .menu li a.active {
    border-bottom: 3px solid #ffed21;
}

header nav .menu .move {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 57px;
    border-bottom: 3px solid #ffed21;
    pointer-events: none;
    transition: .6s;
}

header nav .menu .dropdown {
    position: relative;
}

header nav .menu .dropdown ul {
    position: absolute;
    right: -7px;
    background-color: rgba(29, 52, 70, .85);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
}

header nav .menu .dropdown ul li {
    margin: 0;
    padding: 0;
}

header nav .menu .dropdown ul li a {
    padding: 0 15px;
    display: inline-block;
    min-width: 90px;
    text-align: center;
}

header nav .menu .dropdown:hover ul{
    opacity: 1;
    visibility: visible;
}

/* -----區塊外層(模組)---- */

.wrap {
    width: 85%;
    min-width: 1200px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 168px 0 64px;
    position: relative;
}

/* -----背景裝飾線(模組)---- */

.bg_line {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-right: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    pointer-events: none;
}

.bg_line::before {
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-right: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
}

.bg_line::after {
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: .5px;
    border-left: 1px solid #eaeaea;
}

/* ----影片區塊-標題(模組)----- */

.s_title {
    width: 100%;
    position: relative;
    z-index: 10;
    text-align: center;
}

.s_title h2 {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 2px;
}

.s_title h3 {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 1px;
    margin-top: 12px;
}

/* ----深入了解----- */

.more {
    width: 100%;
    margin: 36px 0;
    text-align: center;
}

.more .btn_more {
    display: inline-block;
    padding: 0 72px;
    background: #ffed21;
    border-radius: 8px;
    position: relative;
    z-index: 10;
}

.more .btn_more p {
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
    line-height: 50px;
    letter-spacing: 1px;
    color: #232323;
}

.more .btn_more span {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    border: 1.5px solid #232323;
    border-radius: 50%;
}

.more .btn_more span::before {
    content: '';
    width: 40%;
    height: 40%;
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    margin: auto;
    border-left: 1.5px solid #232323;
    border-bottom: 1.5px solid #232323;
    transform: rotate(-45deg);
}

/* ----打勾ICOM----- */

.check {
    width: 25px;
    height: 25px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    background: #ffed21;
    border-radius: 50%;
}

.check::before {
    content: '';
    width: 50%;
    height: 25%;
    position: absolute;
    top: 6px;
    right: 0;
    left: 0;
    margin: auto;
    border-left: 2.5px solid #26bd94;
    border-bottom: 2.5px solid #26bd94;
    transform: rotate(-45deg);
}

/* ----圓圈動態----- */

.circle {
    animation: circle 4s linear infinite alternate both;
}

@keyframes circle {
    0% {
        transform: rotate(0) scale(1)
    }
    100% {
        transform: rotate(360deg) scale(1.05)
    }
}

/* ----lightbox----- */

.light_box {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.light_box.active {
    opacity: 1;
    pointer-events: auto;
}

.light_box .video_wrap {
    width: 60%;
    padding-top: 33.6%;
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform: perspective(300px) translateZ(50px);
    transition: .8s .5s;
}

.light_box .video_wrap.active {
    pointer-events: auto;
    opacity: 1;
    transform: perspective(300px) translateZ(0);
}

.light_box .video_wrap iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.light_box a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ----防詐騙lightbox----- */
.light-box {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    text-align: center;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: .6s;
    transition: .6s;
    font-size: 0;
}

.light-box.active {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    background: rgba(51, 51, 51, 0.8);
    -webkit-transition: -webkit-transform .6s;
    transition: -webkit-transform .6s;
    transition: transform .6s;
    transition: transform .6s, -webkit-transform .6s;
}

.light-box.active .content {
    display: inline-block;
    vertical-align: middle;
}

.light-box::before {
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.light-box .content {
    width: 60%;
    max-width: 960px;
    position: relative;
    display: none;
}

@media screen and (max-width:1023.97px) {
    .light-box .content {
        width: 100%;
    }

}

.light-box .btn-close {
    width: 64px;
    height: 64px;
    top: 0;
    left: 100%;
    position: absolute;
    cursor: pointer;
    -webkit-transition: .6s;
    transition: .6s;
}

@media screen and (max-width:1023.97px) {
    .light-box .btn-close {
        top: auto;
        left: auto;
        bottom: 100%;
        right: 0;
    }
}

.light-box .btn-close::before,
.light-box .btn-close::after {
    content: '';
    width: 60%;
    height: 2px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: #fff;
}

.light-box .btn-close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.light-box .btn-close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.send-box {
    width: 90%;
    max-width: 500px;
    margin: auto;
    background: #00B285;
    padding: 48px 32px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    -webkit-box-shadow: 6px 6px 0 0 #fff;
    box-shadow: 6px 6px 0 0 #fff;
}

.send-box h2 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 1px;
    color: #fff;
}

.send-box .pTitle {
    font-size: 18px;
    font-weight: bold;
}

.send-box p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 1px;
    text-align: left;
    color: #fff;
}

/* 服務條款 */
.light-box.policy .send-box {
    max-width: initial;
}
.light-box.policy .policyWrapper::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
}

.light-box.policy .policyWrapper {
    overflow-y: auto;
    height: 500px;
}

.light-box.awards .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.light-box.awards .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }
}

@media screen and (max-width:1023.97px) {
    .light-box.policy .policyWrapper {
        height: 360px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    header {
        min-width: 1000px;
    }
    header nav {
        width: 100%;
    }
    header nav .menu li a {
        font-size: 13px;
        letter-spacing: 1px;
    }
    header nav .menu .move {
        width: 33px;
        height: 57px;
    }
    .wrap {
        min-width: 1000px;
    }
}

@media screen and (max-width: 1023px) {
    .m_none {
        display: none;
    }
    .m_show {
        display: block;
    }
    .wrap {
        width: 95%;
        min-width: 300px;
        max-width: 640px;
        padding: 32px 0;
    }
    /* ----影片區塊-標題(模組)----- */
    .s_title h2 {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: 1.5px;
    }
    .s_title h3 {
        display: none;
    }
    .more .btn_more {
        width: 80%;
        padding: 0;
        border-radius: 2px;
    }
    .light_box .video_wrap {
        width: 100%;
        padding-top: 56.2%;
    }
    .top {
        width: 13vw;
        height: 13vw;
        max-width: 50px;
        max-height: 50px;
        position: fixed;
        opacity: 0;
        transform: perspective(300px) translateZ(-50px);
        z-index: 100;
        right: 0;
        bottom: 10vh;
        background: rgba(28, 41, 62, .85);
        text-align: center;
        transition: .5s;
    }
    .top.active {
        transform: perspective(300px) translateZ(0);
        opacity: 1;
    }
    .top::before {
        content: '';
        width: 0;
        height: 100%;
        display: inline-block;
        vertical-align: middle;
    }
    .top div {
        width: 100%;
        display: inline-block;
        vertical-align: middle;
    }
    .top div::before {
        content: '';
        width: 10px;
        height: 10px;
        display: block;
        margin: 0 auto;
        transform: rotate(-135deg);
        border-right: 2px solid #ff0;
        border-bottom: 2px solid #ff0;
    }
    .top div::after {
        content: 'TOP';
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        color: #ff0;
    }
    @media screen and (max-width: 360px) {
        .s_title h2 {
            font-size: 24px;
        }
    }
}