@charset "UTF-8";
:root
{
	--basics-font: "Noto Sans TC", "Microsoft JhengHei", Arial, Helvetica, sans-serif;
	--tit-font: "Noto Serif TC", "Microsoft JhengHei", Arial, Helvetica, sans-serif;
	--big-size: 2.25rem;
	--first-size: 1.875rem;
	--second-size: 1.75rem;
	--third-size: 1.375rem;
	--fourth-size: 1.25rem;
	--basics-size: 1.125rem;
	--smallest-size: 1rem;
	--color-wh: #fff;
	--color-bk: #333b3d;
	--color-grey: #404040;
	--color-nav-bg-bu: #009b9e;
	--color-buttom-bu: #007cab;
	--color-buttom-hover-bu: #004961;
}

*{margin: 0; padding: 0; box-sizing: border-box;}
ul, li{margin: 0; padding: 0; list-style: none;}
img, div, iframe{border: 0; vertical-align: bottom;}
body, html{width: 100%; height: 100%; text-autospace: normal;}
h1{display: none;}
a:link, a:visited ,a:hover ,a:active{text-decoration: none;}
@import url('https://fonts.googleapis.com/css?family=Marcellus&display=swap');

body, html{
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;}
body{overflow-x: hidden;}
h2, h3, h4{font-family: var(--tit-font); color: var(--color-bk); font-weight: 700;}
p{font-size: var(--basics-size); line-height: 2; font-weight: 700; color: var(--color-grey);}

/* kv-slide */
.kv-wrap{width: 100%; height: 550px; background: var(--color-buttom-hover-bu) url(../img/kv-bg1.jpg) center top repeat-y; background-size: 2560px; display: inline-block; overflow: hidden;}
.kv-td{width: 600px; height: 100%; position: relative; left: 50%; margin-left: -300px;}
.kv-td ul{width: 100%; height: 100%;}
.kv-td ul li{position: absolute;}
.kv-td ul li img{width: 100%;}
.star1{width: 50px; left: -338px; top: 40px;}
.star2{width: 78px; left: 10%; top: 1%;}
.star3{width: 78px; right: -12%; top: 18%;}
.kv-bg2{width: 802px; left: -96px; bottom: 0;}
.kv-pic1{width: 506px; left: -506px; top: 116px;}
.kv-pic2{width: 802px; left: -96px; top: 116px;}
.kv-pic3{width: 545px; right: -545px; top: 116px;}
.kv-tit1{width: 600px; left: 50%; margin-left: -300px; top: 0; opacity: 0;}
.kv-tit2{width: 600px; left: 50%; margin-left: -300px; top: 116px; opacity: 0;}
.kv-decor{width: 92px; left: 57px; bottom: 0;}
.kv-m-wrap{display: none;}

/* nav */
.nav_wrap{width: 100%; background: var(--color-nav-bg-bu); z-index: 99;}
.menu{display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; width: 700px; height: 70px; margin: auto;}
.menu li{font-size: var(--third-size); cursor: pointer;}
.menu li a{color: var(--color-wh); font-weight: 700; font-family: var(--basics-font); letter-spacing: 1px; transition: 0.5s;}
.menu li a:hover{animation: flicker 2s infinite; text-shadow: 0px 1px 20px #aefff0;}
@keyframes flicker{
 0%, 100% { text-shadow: 0px 1px 20px #aefff0; opacity: 1;}
 50% { text-shadow: 0px 1px 10px #fffff5; opacity: 1;}
}
.mobile{display: none;}
.m-tit{display: none;}
#stickyHeader.fixed{position: fixed; top: 0; left: 0; width: 100%;}

section{width: 100%; overflow: hidden;}
.pg-td{width: 1000px; margin: 0 auto; position: relative; text-align: center; display: flex; justify-content: center; flex-wrap: wrap;}

.bg1{background: url(../img/pg-bg2.jpg) center bottom no-repeat, url(../img/pg-bg1.jpg) repeat; background-size: 2560px; padding-top: 60px;}
.bg2{background: url(../img/pg-bg4.jpg) center bottom no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 2560px; padding-top: 60px;}
.bg3{background: url(../img/pg-bg5.jpg) center 100.5% no-repeat, url(../img/pg-bg1.jpg) repeat; background-size: 2560px;}
.bg4{background: url(../img/pg-bg6.jpg) center bottom no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 2560px;}
.bg5{background: url(../img/pg-bg7.jpg) center bottom no-repeat, url(../img/pg-bg1.jpg) repeat; background-size: 2560px;}
.bg6{background: url(../img/pg-bg8.jpg) center bottom no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 2560px;}

.decor{position: absolute; width: 178px;}
.decor1{width: 344px; right: -20%; top: 30%;}
.decor2{left: -5%; top: 45%;}
.decor3{right: -8%; top: 5%;}
.decor4{right: -22%; top: 20%;}
.decor5{right: -40%; top: 33%;}
.decor6{left: -35%; bottom: 20%;}
.decor7{right: -15%; bottom: 0;}
.decor8{left: -30%; top: 10%;}
.decor9{right: -10%; bottom: 0;}
.decor10{left: -22%; top: 30%;}
.decor11{left: -35%; top: 53%;}
.decor12{right: -35%; bottom: 22%;}
.decor13{left: -20%; bottom: -1%;}
.decor14{right: -15%; top: 22%;}
.decor15{left: -10%; bottom: 13%;}
.decor16{right: -28%; bottom: 5%;}
.decor17{right: -8%; bottom: 4%;}
.decor18{left: -25%; top: 9%;}

button{border: 0; background: var(--color-buttom-bu); outline: none; border-radius: 5px; margin: 20px 0 150px;}
button a{width: 100%; height: 100%; color: var(--color-wh); font-weight: 700; font-size: var(--fourth-size); font-family: var(--basics-font); padding: 12px 28px; cursor: pointer; display: flex; align-items: center;}
button a:hover{background: var(--color-buttom-hover-bu); border-radius: 5px;}
.arrow{width: 30px; margin-left: 10px;}
.hvr-forward{display: inline-block; vertical-align: middle;
 transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); transition-duration: 0.3s; transition-property: transform;}
.hvr-forward:hover, .hvr-forward:focus, .hvr-forward:active{transform: translateX(8px);}

.large-first-letter{font-family: var(--tit-font); font-weight: 700; margin-bottom: 30%;}
.large-first-letter::first-letter{font-size: var(--second-size);}
.Island{position: absolute; width: 508px; left: 50%; bottom: 0; margin-left: -254px;}

.tit{background: url(../img/tit-bg-le.png) no-repeat 15% 80%, url(../img/tit-bg-ri.png) no-repeat 103% 0; background-size: 47px; padding: 20px 50px; margin-top: 30px;}
.tit h2{font-size: 3.5rem; color: #173550;}
.tit h2 span{margin-left: 40px; font-family: var(--tit-font);}

/* card */
.card{display: flex; align-items: center; margin: 20px 0; flex-wrap: wrap; width: 100%;}
.card .image{flex: 1 1 40%;}
.card .content{flex: 1 1 40%; text-align: left;}
.card .content h2{font-size: var(--big-size); line-height: 1.375;}
.card .content h3{font-size: var(--fourth-size); color: var(--color-wh); width: 220px; line-height: 48px; margin: 20px 0 15px; background-size: cover;}
.pg-tit-bg1{background: url(../img/pg-tit-bg1.png) center center no-repeat; padding-left: 20px;}
.pg-tit-bg2{background: url(../img/pg-tit-bg2.png) center center no-repeat; padding-left: 25px;}
.pg-tit-bg3{background: url(../img/pg-tit-bg3.png) center center no-repeat; padding-left: 30px;}
.pg-tit-bg4{background: url(../img/pg-tit-bg4.png) center center no-repeat; padding-left: 25px;}
.pg-tit-bg5{background: url(../img/pg-tit-bg5.png) center center no-repeat; padding-left: 30px;}
.pg-tit-bg6{background: url(../img/pg-tit-bg6.png) center center no-repeat; padding-left: 25px;}
.pg-tit-bg7{background: url(../img/pg-tit-bg7.png) center center no-repeat; padding-left: 25px;}
.card.first{flex-direction: row-reverse;}
.card.first .image, .card.second .content{padding-left: 2.5%;}
.card.second{flex-direction: row;}
.card.second .image, .card.first .content{padding-right: 2.5%;}

/* slide */
.slider{position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;}
.slider img{position: absolute; width: 100%; height: 100%;
object-fit: contain; top: 0; left: 0; opacity: 0; transition: opacity 1s ease-in-out;}
.slider img.active{opacity: 1; z-index: 2;}
.slider img.inactive{z-index: 1;}

.m-br{display: block;}
.m-br2{display: none;}

/* back to top */
#back-top{position: fixed; bottom: 100px; right: 0; z-index: 999; border: 1px solid #e6e6e6; text-align: center; width: 50px; height: 50px; display: block; background: rgba(51, 51, 51, 0.7); line-height: 50px; font-size: 24px; color: var(--color-wh); font-weight: normal; transition: background-color 1s;}
#back-top a{display: block; width: 100%; height: 100%; color: var(--color-wh); transition: color 1s;}
#back-top:hover{background-color: rgba(51, 51, 51, 1);}

@media screen and (max-width: 1680px) {
.decor5, .decor12{right: -30%;}
.decor6, .decor11{left: -30%;}
}

@media screen and (max-width: 1440px) {
.decor1, .decor4{right: -15%;}
.decor5, .decor12{right: -20%;}
.decor6, .decor11{left: -20%;}
.decor8{left: -10%;}
.decor13{left: -10%; bottom: -1%;}
.decor16{right: -15%;}
.decor17{right: 5%;}
.decor18{left: -15%;}
}

@media screen and (max-width: 1366px) {
.decor7{right: -5%;}
.decor9{right: -5%;}
}

@media screen and (max-width: 1280px) {
.decor4{right: -18%;}
.decor5{right: -5%; top: 50%;}
.decor6{left: -5%; bottom: 8%;}
.decor7{bottom: 1%;}
.decor10{left: -15%;}
.decor11{display: none;}
.decor12{right: -10%; top: 38%;}
.decor13{left: -5%;}
.decor14{right: -8%; top: 10%;}
.decor15{left: -8%; bottom: 15%;}
.decor16{right: -10%; bottom: 10%;}
.decor17{right: 10%;}
}

@media screen and (max-width: 1100px) {
.pg-td{width: 90%;}
.decor2{left: 0; top: 40%;}
.decor8{top: 5%;}
.decor9{right: 5%;}
.decor10{left: -5%; top: 4%;}
.decor12{right: 0; top: 84%;}
.decor16{right: -5%; bottom: 16%;}
.decor18{left: -5%; top: 0;}
.bg4{background: url(../img/pg-bg6.jpg) center 100.5% no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 2560px;}
}

@media screen and (max-width: 1034px) {
.m-br{display: none;}
.decor12{top: 82%;}
.bg2{background: url(../img/pg-bg4.jpg) center 100.5% no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 2560px; padding-top: 60px;}
}

@media screen and (max-width: 1024px) {
.decor1{right: -22%;}
.decor3{right: 5%;}
.decor4{display: none;}
.decor5{top: 45%;}
.decor8{top: 5%;}
.decor9{right: 5%;}
.decor10{top: 0;}
.decor13{left: 0;}
.decor14{right: -5%; top: 5%;}
.decor15{bottom: 15%;}
.decor17{right: 15%; bottom: 6%;}
.card.first .content{padding-right: 0;}
.card.second .content{padding-left: 0;}
.large-first-letter{margin-bottom: 32%;}
}

@media screen and (max-width: 1023px) {
.kv-wrap{display: none;}
.kv-m-wrap{display: block; position: relative; width: 100%; overflow: hidden;}
.kv-m-bg1{display: block; width: 100%; height: auto; position: relative; z-index: 1;}
.kv-m-overlay{position: absolute; width: 100%; object-fit: contain; z-index: 2; pointer-events: none;}
.kv-m-bg2{bottom: 0;}
.star1{width: 50px; left: 10%; top: 25%;}
.star2{width: 78px; left: 18%; top: 0;}
.star3{width: 78px; right: 0; top: 13%;}
.kv-tit1{width: 85%; left: 50%; margin-left: -42.5%; top: 0;}
.kv-tit2{width: 85%; left: 50%; margin-left: -42.5%; top: 23.5%;}
.kv-m-slide{position: absolute; width: 64%; left: 50%; bottom: 0; margin-left: -32%; aspect-ratio: 16 / 9;}
}

@media screen and (max-width: 950px) {
.bg1{background: url(../img/pg-bg2.jpg) center 100.5% no-repeat, url(../img/pg-bg1.jpg) repeat; background-size: 2560px;}
.bg2{padding-top: 30px;}
.bg5{background: url(../img/pg-bg7.jpg) center 100.5% no-repeat, url(../img/pg-bg1.jpg) repeat; background-size: 2560px;}
}

@media screen and (max-width: 880px) {
.large-first-letter{margin-bottom: 38%;}
.decor1{top: 38%;}
.decor2{left: -10%;}
.decor5{right: -6%; top: 40%;}
.decor7{right: 0;}
.decor8{top: 0;}
.decor9{bottom: -1%;}
.decor12{top: 80%;}
.decor13{bottom: -1%;}
.card{gap: 10px;}
}

@media screen and (max-width: 830px) {
.bg1{padding-top: 100px;}
.bg4{background: url(../img/pg-bg6.jpg) center 100.5% no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 2560px;}
.bg5{background: url(../img/pg-bg7.jpg) center 100.5% no-repeat, url(../img/pg-bg1.jpg) repeat; background-size: 2560px;}
.decor1{top: -18%;}
.decor17{right: 10%;}
.menu{width: 80%;}
}

@media screen and (max-width: 800px) {
.card .content h2{font-size: var(--first-size);}
.card .content h3{font-size: var(--basics-size); width: 200px; line-height: 43px; margin: 16px 0 11px;}
.large-first-letter{margin-bottom: 43%;}
}

@media screen and (max-width: 768px) {
.card{gap: 0;}
.bg1{padding-top: 80px;}
.bg6{background: url(../img/pg-bg8.jpg) 45% bottom no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 300%, 2560px;}
.card{flex-direction: column !important; margin: 40px 0;}
.card .image, .card .content{flex: none; width: 80%;}
.card.first .image, .card.second .content{padding-left: 0;}
.card.second .image, .card.first .content{padding-right: 0;}
.card .content h2{text-align: center; font-size: var(--big-size);}
.card .content h3{margin: 16px auto;}
.card .content h3{font-size: var(--fourth-size); width: 220px; line-height: 48px; margin: 16px auto;}
.pg-tit-bg1{padding-left: 19px;}
.decor1{top: -15%;}
.m-br2{display: block;}
.decor2{top: 20%;}
.decor3{right: -5%; top: 2%;}
.decor5, .decor6, .decor12, .decor14, .decor15, .decor16{display: none;}
.decor17{right: 0; bottom: 3%;}
.m-br{display: block;}
.pg-tit-bg1{background: url(../img/pg-tit-bg1.png) 15px center no-repeat; padding-left: 35px;}
.pg-tit-bg2{background: url(../img/pg-tit-bg2.png) 15px center no-repeat; padding-left: 40px;}
.pg-tit-bg3{background: url(../img/pg-tit-bg3.png) 15px center no-repeat; padding-left: 45px;}
.pg-tit-bg4{background: url(../img/pg-tit-bg4.png) 15px center no-repeat; padding-left: 40px;}
.pg-tit-bg6{background: url(../img/pg-tit-bg6.png) 15px center no-repeat; padding-left: 40px;}
.pg-tit-bg7{background: url(../img/pg-tit-bg7.png) 15px center no-repeat; padding-left: 40px;}

.nav-wrap{position: relative; z-index: 999;}
.mobile{display: block;}
.nav-wrap ul{padding: 0; opacity: 0;}
.nav{width: 60px; height: 0; color: #008580;}
.menu{margin-top: 60px; width: 100%; height: auto; padding: 0; pointer-events: none; justify-content: left; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s ease-out, opacity 0.2s ease-out; text-align: center;}
.menu.open{background: #d8edee; border-bottom: 1px solid #9cd1cd; pointer-events: auto; max-height: 100vh; opacity: 1; transition: max-height 1.5s ease-out, opacity 1s ease-out;}
.menu li{width: 33.33%; font-size: var(--basics-font); margin: 0; border-bottom: 1px solid #9cd1cd; border-right: 1px solid #9cd1cd; padding: 10px;}
.menu li:nth-child(3){border-right: none;}
.menu li:nth-child(4), .menu li:nth-child(5){border-bottom: none;}
.menu li a{display: block; width: 100%; padding: 7px 10px; color: #008580;}
.menu li:after{content: none;}
.menu li.noopen{padding: 10px 10px 8px;}
.hamburger{font-size: 50px; display: inline-block; width: 38px; height: 38px; margin: 0 auto; padding: 0; cursor: pointer; transition: transform .2s ease-in-out; margin: 15px 12px 0 12px; vertical-align: middle; border: 0 none; background: transparent;}
.hamburger:focus{outline: 0;}
.hamburger:before, .hamburger:after{content: ""; box-sizing: border-box;}
.hamburger:before, .hamburger .icon, .hamburger:after{display: block; width: 40px; height: 2px; margin: 0 0 6px; transition: transform .5s ease-in-out; background: var(--color-wh);}
.hamburger.active .icon{transform: scale(0);}
.hamburger.active:before{transform: translateY(7px) rotate(135deg);}
.hamburger.active:after{transform: translateY(-9px) rotate(-135deg);}
.m-tit{display: block; position: absolute; left: 65px; margin-top: 20px;}
.m-tit h2{color: var(--color-wh); font-size: var(--fourth-size); background: none; font-family: var(--basics-font);}
}

@media screen and (max-width: 730px) {
.decor1{right: -26%;}
.decor2{left: -15%;}
.decor3{right: -2%;}
.decor18{top: -3%;}
}

@media screen and (max-width: 670px) {
.decor1{top: -16%;}
.decor3{right: -13%; top: 3%;}
.decor7, .decor17{right: -5%;}
.large-first-letter{margin-bottom: 47%;}
}

@media screen and (max-width: 600px) {
.decor{width: 30%;}
.decor1{width: 60%;}
.decor2{left: -20%; top: 24%;}
.decor3{right: -5%; top: 4%;}
.decor7, .decor17{right: 0;}
.decor8{left: -2%; top: -2%;}
.decor9{bottom: -1%; right: 0;}
.large-first-letter{margin-bottom: 53%;}
.card .image, .card .content{width: 90%;}
}

@media screen and (max-width: 550px) {
.decor{width: 25%;}
.decor1{width: 60%;}
.decor2{left: -16%; top: 29%;}
.decor9{bottom: 1%;}
.decor13{bottom: 0;}
.large-first-letter{margin-bottom: 52%;}
.Island{width: 90%; left: 5%; margin-left: 0;}
.bg6{background: url(../img/pg-bg8.jpg) 40% bottom no-repeat, url(../img/pg-bg3.jpg) repeat; background-size: 400%, 2560px;}
}

@media screen and (max-width: 500px) {
.card{margin: 30px 0;}
.card .content h2{font-size: var(--first-size);}
.card .content h3{font-size: var(--basics-size); width: 200px; line-height: 43px; margin: 11px auto;}
.decor17{bottom: 4%;}
}

@media screen and (max-width: 450px) {
.bg1{padding-top: 60px;}
.decor{width: 35%;}
.decor1{width: 60%;}
.decor1{top: -12%;}
.decor2{display: none;}
.decor3{right: -15%; top: 3%;}
.decor8{left: -15%;}
.decor9{bottom: 0;}
.decor10{top: -1%; left: -8%;}
.decor7, .decor17{right: -5%;}
.decor13{left: -5%;}
.tit{background: url(../img/tit-bg-le.png) no-repeat 16% 80%, url(../img/tit-bg-ri.png) no-repeat 100% 0; background-size: 40px;}
.tit h2{font-size: 3rem;}
}

@media screen and (max-width: 400px) {
.m-br2{display: none;}
.large-first-letter{width: 95%;}
.decor1{top: -10%;}
}

@media screen and (max-width: 376px) {
.decor1{top: -11%;}
.decor3{top: 4%;}
.decor9{bottom: 1%;}
.large-first-letter{font-size: var(--smallest-size); line-height: 1.875;}
.large-first-letter::first-letter{font-size: var(--third-size);}
}

@media screen and (max-width: 350px) {
.card .content h2{font-size: var(--second-size);}
.decor1{top: -10%;}
.decor3{top: 4.5%;}
.decor7{bottom: 2%;}
.decor8{top: -3%;}
button a{font-size: var(--basics-size);}
.tit{margin-top: 0;}
}

/* animation */
.bigEntrance{animation: bigEntrance 2s 1s ease-out; animation-fill-mode: forwards; visibility: visible !important;}
@keyframes bigEntrance{
0%{transform: scale(0.5) rotate(4deg) translateX(-30%) translateY(30%); opacity: 0;}
30%{transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%); opacity: 1;}
45%{transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%); opacity: 1;}
60%{transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%); opacity: 1;}
75%{transform: scale(0.99) rotate(1deg) translateX(0%) translateY(0%); opacity: 1;}
90%{transform: scale(1.01) rotate(0deg) translateX(0%) translateY(0%); opacity: 1;}
100%{transform: scale(1) rotate(0deg) translateX(0%) translateY(0%); opacity: 1;}
}

.pulse{animation: pulse 1.5s 1s infinite;}
.pulse2{animation: pulse 2s 1s infinite;}
.pulse3{animation: pulse 2.5s 1s infinite;}
@keyframes pulse{
0%{opacity: 0;}
30%{opacity: 1;}
50%{opacity: 1;}
70%{opacity: 0;}
90%{opacity: 1;}
100%{opacity: 0;}
}

.tossing{animation: tossing 2.5s infinite;}
@keyframes tossing{
0%{transform: rotate(-1deg);}
50%{transform: rotate(2deg);}
100%{transform: rotate(-1deg);}
}

.slideDown{animation: slideDown 2s 1.5s ease; animation-fill-mode: forwards; visibility: visible !important;}

@keyframes slideDown{
0%{transform: translateY(-20%); opacity: 0;}
100%{transform: translateY(0%); opacity: 1;}
}

.fadeIn{animation: fadeIn 1.5s ease-in-out; visibility: visible !important;}
.fadeIn2{animation: fadeIn 2s ease-in-out; visibility: visible !important;}
.fadeIn3{animation: fadeIn 2.5s ease-in-out; visibility: visible !important;}
@keyframes fadeIn{
0%{transform: scale(0.9); opacity: 0;}
50%{transform: scale(0.9); opacity: 0;}
100%{transform: scale(1); opacity: 1;}
}

.floating{animation: floating 3s infinite;}
@keyframes floating{
0%{transform: translateY(-3%);}
50%{transform: translateY(0%);}
100%{transform: translateY(-3%);}
}

.floating2{animation: floating2 3s infinite;}
@keyframes floating2{
0%{transform: translateX(-3%);}
50%{transform: translateX(0%);}
100%{transform: translateX(-3%);}
}
