/*--------------copyright by vicky start-------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
th,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    font-size: 10px;
    line-height: 1.8;
}

body {
    font-family: 'Noto Sans TC', 'Noto Sans SC', 'LXGW WenKai TC', 'Montserrat', sans-serif;
    position: relative;
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 2px;
    color: #121212;
    overflow-x: hidden;
    font-weight: 400;
}

ol,
ul {
    list-style: none;
    margin-bottom: 0px;
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
    outline: none;
    transition: all .3s;
    box-sizing: border-box;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #000;
}

.clear {
    clear: both;
}

::selection {
    background: #a4a9ad;
    color: #ffffff;
}

img {
    max-width: 100%;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    line-height: 1.5;
}

/****************************************************************************************************************************************/
/*********************************************************************************************************************************************/


button,
html input[type=button],
input[type=reset],
input[type=submit] {
    background: #e4e3e5;
    border: solid 1px #164e90;
    border-radius: 5px;
    padding: 10px 13px;
    letter-spacing: 1px;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, .3);
    transition: .3s ease all;
    width: 150px;
    margin: 0 1%;
    color: #164e90;
}

#service_album button,
#service_album input[type=button],
#service_album input[type=reset],
#service_album input[type=submit] {
    width: auto;
    padding: 0 10px;
    font-size: 14px;
    background: #fff;
}

input[type=reset] {
    background: rgb(173, 176, 176);
}

button:hover,
html input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
    border-radius: 50px;
}

/*carousel-fade*/
.carousel-fade .carousel-inner .item {
    transition-property: opacity;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
}

.carousel-fade .carousel-control {
    z-index: 2;
}

.carousel-inner>.item>img {
    display: inline-block;
}

/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
.carousel-inner {
    height: 100%;
}

.dex .itembg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dex .item:nth-of-type(1) {
    background: url(../../flash/dex1.jpg) top center no-repeat;
    background-size: cover;
}

.dex .item:nth-of-type(2) {
    background: url(../../flash/dex2.jpg) top center no-repeat;
    background-size: cover;
}

.dex .item:nth-of-type(3) {
    background: url(../../flash/dex3.jpg) top center no-repeat;
    background-size: cover;
}

.dex .item:nth-of-type(4) {
    background: url(../../flash/dex4.jpg) top center no-repeat;
    background-size: cover;
}

/***dex_block***/
.dex_block {
    position: relative;
    z-index: 1;
}


.intro {
    background: rgba(255, 255, 255, 0.75);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


.intro .intro_inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.intro_inner .intro_logo {
    width: 10.6%;
    margin-bottom: 4rem;
}

.intro_inner .intro_logo img {}

.intro_inner .intro_language {
    width: 21%;
    margin-bottom: 3.3rem;
}

.intro_inner .intro_language ul {}

.intro_inner .intro_language ul li {
    display: inline-block;
    width: 29%;
    margin: 0 .5rem;
    text-align: center;
}

.intro_inner .intro_language ul li a p {
    font-size: 16px;
    font-weight: 500;
    border: 1px #07348b solid;
    border-radius: 100px;
    padding: .8rem 1.8rem;
    transition: .5s all;
}

.intro_inner .intro_language ul li a p:hover {
    background: #07348b;
    color: #fff;
}

.intro_inner .intro_txt {}

.intro_inner .intro_txt p {
    font-size: 14px;
    color: #05348b;
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
}


.intro:before {
    content: '';
    background: #07348b;
    position: absolute;
    top: 0;
    left: 0;
    width: 685px;
    max-width: 100%;
    min-height: 100%;
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(0 0, 33% 0, 33% 66%, 100% 66%, 100% 100%, 0 100%);
}

.intro:after {
    content: '';
    background: #07348b;
    position: absolute;
    top: 0;
    right: 0;
    width: 685px;
    max-width: 100%;
    min-height: 100%;
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 66% 33%, 0 33%);
}


/***dex***/
.dex {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 0;
    overflow-x: hidden;
}

@media screen and (max-width:1600px) {
    .intro:before {
        max-width: 30%;
        clip-path: polygon(0 0, 33% 0, 33% 86%, 100% 86%, 100% 100%, 0 100%);
    }

    .intro:after {
        max-width: 30%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 66% 14%, 0 14%);
    }
}

@media screen and (max-width:1400px) {
    .intro_inner .intro_logo {
        width: 20%;
    }

    .intro_inner .intro_language {
        width: 30%;
    }
}

@media screen and (max-width:1000px) {
    .intro_inner .intro_logo {
        width: 25%;
    }

    .intro_inner .intro_language {
        width: 40%;
    }
}

@media screen and (max-width:834px) {
    .intro:before {
        clip-path: polygon(0 0, 33% 0, 33% 90%, 100% 90%, 100% 100%, 0 100%);
    }

    .intro:after {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 66% 10%, 0 10%);
    }
}

@media screen and (max-width:768px) {
    .intro_inner .intro_language {
        width: 50%;
    }
}

@media screen and (max-width:576px) {
    .intro_inner .intro_logo {
        width: 30%;
    }

    .intro_inner .intro_language {
        width: 60%;
    }
}

@media screen and (max-width:450px) {
    .intro_inner .intro_logo {
        width: 40%;
    }

    .intro_inner .intro_language {
        width: 80%;
        text-align: center;
    }
}

@media screen and (max-width:414px) {
   .intro {
    height: 95vh;
}
    .dex {
    height: 95vh;
}

    .intro:before {
        clip-path: polygon(0 0, 33% 0, 33% 95%, 100% 95%, 100% 100%, 0 100%);
        max-width: 20%;
    }

    .intro:after {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 66% 5%, 0 5%);
        max-width: 20%;
    }
}

@media screen and (max-width:393px) {
    .intro_inner .intro_language {
        width: 90%;
    }

    .intro:before {
        clip-path: polygon(0 0, 33% 0, 33% 98%, 100% 98%, 100% 100%, 0 100%);
        max-width: 10%;
    }

    .intro:after {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 66% 100%, 66% 2%, 0 2%);
        max-width: 10%;
    }
}

@media screen and (max-width:350px) {
    .intro_inner .intro_language {
        width: 95%;
    }

    .intro_inner .intro_language ul li {
        width: 29%;
    }
}

@media screen and (max-width:330px) {
    .intro_inner .intro_language ul li {
        width: 27%;
    }

    .intro_inner .intro_language ul li a p {
        font-size: 13px;
        padding: .8rem 1rem;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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