@charset "utf-8";
/* CSS Document */
/* ---reset.css--- */
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, tr, th, td,
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{
	background:
	  url("../images/bg_fixed.jpg") center center / cover no-repeat fixed,
	  url("../images/bg_all.jpg") top center / auto repeat;
  }
header { position: absolute; top: 0; left: 0; z-index: 1;}


/* PC */
.WRAPPER{ position:relative; width:100%; min-width:1200px; margin:0 auto; overflow:hidden;}
 	@media screen and ( max-width: 991px ){
		.WRAPPER{ min-width:100%;}}
.container { overflow: hidden; }
.topbox { position: relative; width: 1200px; margin: auto;}
.kv_pc {
	width: 100%;
	position: relative;
	text-align: center;
	display: flex;
	justify-content: center;
	margin: auto;
	flex-wrap: wrap-reverse;
	background-size: cover;
  }
  .kv_pc img {
	display: block;
	text-align: center;
	width: 100%;
  }
.kv_m { display: none; }
.kv_m img { 
	display: block; 
  /* 遮罩從上到下，底部 5% 漸透明 */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
}

.kv_m a {font-size: 0; display: block; }
.for_pc{ display: block; }
.for_m { display: none; }
.banner {padding:0 0 0 0;}

/* 區塊調整 */
.quotes ul {
    display: flex;
    margin: 20px auto;
}

/* 元件調整 */
.hightlight img {object-fit: contain;}


/* m */
@media screen and ( max-width: 991px ){
	html {
		background:
			url("../images/bg_fixed.jpg") bottom center / auto no-repeat,
			url("../images/bg_all.jpg") top center / auto repeat;
		background-attachment: scroll; /* 手機滾動 */
		background-size: auto;
	}
	.kv_m { display: block; width: 100%; }
	.kv_m img {  width: 100%; }
	.kv_pc { display: none; }
	.container {width: 100%; min-width: auto; }
	.for_pc{ display: none; }
	.for_m { display: block; }
}



/* =================================================== 通用設定 =================================================== */
/* ------------------ COLOR ------------------ */
.quotes li:nth-child(odd),.collect_5x6 .s-row h4,.collect_5x6 .special,.half ul:nth-child(odd){background: url("../images/bg_color1.jpg");}
.quotes li:nth-child(even),.half ul:nth-child(even),.hightlight .font h4{background: url("../images/bg_color2.jpg");}
.recommend_3p img {border-color: #328ebe transparent transparent #328ebe;}
/* 頁籤調整 */
.tabs {
    max-width: 1160px;
    margin: 30px auto 0;
    position: relative;
    z-index: 1;
}

/* --- 滑過與選中狀態 (合併撰寫更精簡) --- */
.tabs .tabs-head li:hover,
.tabs .tabs-head li.active {
    background: #328ebe;
}

.tabs .tabs-head li:hover a,
.tabs .tabs-head li.active a {
    color: #fff !important; 
}

.tabs .tabs-head li a{color: #328ebe;}
.tabs .tabs-head li{background: #fff; border: 2px solid #328ebe;}

.tabs-item .titleC h2 {
    background: url("../images/bg_color2.jpg");
    max-width: 100%;
    width: fit-content;
    padding: 1% 12%;
    border-radius: 99em;
	margin-top: -10px;
}


/* ------------------ 架構標 ------------------ */
@font-face { font-family: MaokenAssortedSans-TC; src: url("../font/MaokenAssortedSans-TC.ttf");}
.titleC.btt {
	position: relative;
	margin: 360px auto -45px;
	padding: 25px 0 40px;
	text-align: center;
	background: url("../images/btt.png")top center no-repeat;
	background-size: contain;
    z-index: 1;
	aspect-ratio: auto;
}

.titleC.btt::before {
    content: "";
    position: absolute;
    top: -15%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 964px;
    aspect-ratio: 3 / 2;
    background: url("../images/btt_deco.png") center top no-repeat;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.titleC h2 {
	font-family: MaokenAssortedSans-TC;
	font-size: 4rem;
	color: #fff;
}

.half ul h3 {
    font-size: 2.4rem;
    font-family: MaokenAssortedSans-TC;
    background: #fff;
    max-width: 80%;
    padding: 2%;
    border-radius: 99em;
    color: #303436;
    display: flex;
    align-items: center;
    justify-content: center;
}
	/* more */
	span.more {
		display: flex;
		justify-items: center;
		align-items: center;
	}

	span.more a {
		background: #fff;
		color: #303436;
		padding: 5px 10px;
		border-radius: 20px;
		margin-left: 20px;
	}

	span.more a:hover {
		background: #1374a8;
		color: #fff;
	}


@media screen and (max-width: 991px) {
	.titleC.btt {
		width: 100%;
		padding: 3vw 0;
		margin: 35vw auto -7vw;
		background-size: contain;
		gap: .5em;
	}

	.titleC.btt::before {
		width: 100%;
		background-size: contain;
		transform: translate(-50%, -50%);
		top: -2vw;
	}

	.titleC h2 {font-size: 2rem;}
	.half ul h3{font-size: 1.8rem;}
	/* more */
	span.more a {margin: 0vw auto;}
}




/* =================================================== 版頭設定 =================================================== */
/* ------------------ 版頭動畫 ------------------ */
.kv_items { position: absolute; }

img.kv_title {
    top: calc((151 / 1920) * 100%);
    left: calc((751 / 1920) * 100%);
    width: calc((778 / 1920) * 100%);
    animation: fadeInDown 2s ease-in-out;
	z-index: 2;
}

img.kv_date {
    top: calc((1695 / 1920) * 100%);
    left: calc((525 / 1920) * 100%);
    width: calc((332 / 1920) * 100%);
    animation: fadeInDown 2s ease-in-out;
    z-index: 1;
}

img.kv_sale {
    top: calc((1625 / 1920) * 100%);
    left: calc((870 / 1920) * 100%);
    width: calc((601 / 1920) * 100%);
    z-index: 1;
    animation: fadeInDown 2s ease-in-out;
} 

section.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 2%;
    transform: translateX(-50%);
    animation: boat-ride 8s ease-in-out infinite;
}

.parallax-layer img.kv_book {
    top: calc((1055 / 1920) * 100%);
    left: calc((224 / 1920) * 100%);
    width: calc((1477 / 1920) * 100%);
    animation: bookTilt 7s ease-in-out infinite;
}

.parallax-layer img.kv_people {
    top: calc((653 / 1920) * 100%);
    left: calc((361 / 1920) * 100%);
    width: calc((1240 / 1920) * 100%);
    animation: humanBalance 3.5s ease-in-out infinite;
}

/* ------------------ 動畫 Keyframes ------------------ */
@keyframes boat-ride {
    0%, 100% { transform: translate(-50%, 0) rotate(-1deg); }
    50% { transform: translate(-50%, -25px) rotate(1.5deg); } 
}

@keyframes humanBalance {
    0%{ transform: translateY(0) rotate(0deg); }
    50%{ transform: translateY(-6px) rotate(-0.6deg);}
    100%{ transform: translateY(0) rotate(0deg);} 
}

@keyframes bookTilt {
    0%{ transform: rotate(-1deg); }
    50%{ transform: rotate(1.5deg); }
    100%{ transform: rotate(-1deg); }
}



/* 版身動畫-左右側鳥  */
.side-deco {
	position: fixed;
	top: 50%;
	z-index: 100;
	pointer-events: none;
	opacity: 1; 
}

.side-deco.left {left: -280px; /* 預設藏在左邊螢幕外 */}
.side-deco.right {right: -280px; /* 預設藏在右邊螢幕外 */}
.deco {width: auto;height: auto;}

@media screen and ( max-width: 991px ){
	.side-deco {display: none;}
}




/* ------------------  攻略  ------------------ */
.block_00 {
	width: 100%;
	background: url("../images/wave.png")top center no-repeat;
	background-size: 100% auto;
	margin: -20px auto 0;
}

.block_00 ul {
    width: 1200px;
    padding: 0 0 0 0;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-evenly;
}

.a1 {animation: bounceInUp; animation-delay: 0s;}
.a2 {animation: bounceInUp; animation-delay:.5s;}
.a3 {animation: bounceInUp; animation-delay: 1s;}
.a4 {animation: bounceInUp; animation-delay: 1.5s;}



@media screen and ( max-width: 991px ){
	.block_00 {margin: 0 auto; background: none;}
	.block_00 ul { width:100%;display: flex; flex-wrap: wrap;padding: 0 0 0 0; margin: 0 auto; justify-content: center;}
	.block_00 ul li { margin:1vw;}
	.block_00 img.info {width: 100%;}
    .block_00 img {display: block; width:46vw;}
	.block_00 img.for_pc {display: none;}
	.block_00 img.for_m {display: block; width:100%;}
}











/* =================================================== 統一設定 =================================================== */
/* ------------------ 錨點微調 ------------------ */
.target-fix {position: relative;top: 0px;display: block;height: 0;overflow: hidden;}

@media screen and (max-width: 991px) {
	.target-fix {
		top: -50px;
	}
}


/* ------------------  前往ＯＯＯ館的按鈕 ------------------ */
.btn {max-width: 1200px; margin:0 auto;}
.btn ul {
    display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
}
.btn ul li { width: 520px;  background:#222;  text-align: center; padding:10px 0; border-radius: 60px; margin: 10px;}
.btn ul li a {text-align: center; color: #fff; line-height: 100px; font-size: 48px; font-family:wt014; display: flex; align-items: center; justify-content: center; }
.btn .arrow{ margin-left: 0.5rem; margin-top: 0.8rem;  width: 5rem; -webkit-animation: arrowMove 1s ease infinite; animation: arrowMove 1s ease infinite;}
@keyframes arrowMove{
0% {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
30% {
    -webkit-transform: translate3d(1.33333vw,0,0);
    transform: translate3d(1.33333vw,0,0);
}
60% {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
100% {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
}

@media screen and ( max-width: 991px ){
	.btn ul { margin: 2vw auto;}
	.btn ul li { width: 96vw; margin: 1vw auto; padding: 1vw 0; }
	.btn ul li a { padding: 2vw; font-size: 2.2rem; line-height: 1.8; }
	.btn .arrow{ margin-left: 0.3rem; margin-top: 0.3rem;  width: 4rem; }
}


/* ------------------ menu ------------------ */
@media only screen and (min-width: 992px) {
	.menustyle2 {
		width: 120px;
		display: flex;
		flex-wrap: wrap;
		background:url("../images/bg_color1.jpg");
		z-index: 999;
		height: auto;
		position: fixed;
		top: 200px;
		right: 10px;
		border-radius: 10px;
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.menustyle2 ul {
		width: 120px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		padding: 5px;
		flex-wrap: wrap;
	}

	.menustyle2 ul li {
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		border-bottom: 1px dotted #fff;
	}

	.menustyle2 ul li a span {
		display: block;
	}

	.menustyle2 ul li:last-child {
		border-bottom: none;
	}

	.menustyle2 ul li a {
		text-align: center;
		margin: 0 auto;
		text-decoration: none;
		font-size: 17px;
		color: #fff;
		font-family: 'Noto Sans TC', "微軟正黑體", "Microsoft JhengHei", Helvetica, Verdana, Arial;
		letter-spacing: 1px;
		font-weight: 500;
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 11px 0px;
		flex-wrap: wrap;
		line-height: 1.2;
	}

	.menustyle2 ul li:hover,
	#TopMenu2 ul li a:hover {
		background: #fff;
		transform: scale(1);
		color: #005573 !important;
	}

	.menustyle2 ul .active {
		ccolor: #005573 !important;
		background: #fff;
		width: 100%;
		height: 100%;
	}
}

@media screen and (max-width: 991px) {
	.menustyle2::-webkit-scrollbar {
		display: none;
	}

	.menustyle2 {
		width: 100%;
		z-index: 998;
		padding: 1vw 1vw;
		display: block;
		background: url("../images/bg_color1.jpg");
		flex-direction: column;
		flex-wrap: wrap;
		position: absolute;
		overflow-x: auto;
		justify-content: center;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: -ms-autohiding-scrollbar;
		height: auto;
	}

	.menustyle2 ul {
		flex-wrap: nowrap;
		display: flex;
		gap: .5em;
		padding: 1vw 0;
	}

	.menustyle2 ul li {
		width: auto;
		font-size: 20px;
		color:#673bb7;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}

	.menustyle2 ul li a {
		font-size: 1.1rem;
		letter-spacing: 0px;
		font-weight: 500;
		color: #005573;
		font-family: 'Noto Sans TC', "微軟正黑體", "Microsoft JhengHei", Helvetica, Verdana, Arial;
		box-sizing: border-box;
		padding: 1.7vw 3.5vw;
		border-radius: 100px;
		background: #fff;
	}
	
	.menustyle2 ul .active {
		color: #005573 !important;
		background: #fff;
		width: 100%;
		justify-content: center;
		align-items: center;
		text-align: center
	}

	.menustyle2 ul li a:hover {
		color: #005573 !important;
		width: 100%;
		justify-content: center;
		align-items: center;
		text-align: center;
		background: #fff;
	}

	.sticky {
		position: fixed;
		top: 0;
	}
}

/* ------------------ 下拉選單 ------------------ */
	#TopMenu {transition: background-color 1s, opacity 1s, visibility 1s;opacity: 1;visibility:visible;z-index: 998;position: relative;}
	#TopMenu.show{opacity: 1;visibility: visible;position: fixed;top: 0;} 


/* ------------------ 手機版選單下滑出現 ------------------ */
	@media screen and (max-width: 991px) {
	  #TopMenu2 {
		transition: background-color 1s, opacity 1s, visibility 1s;
		opacity: 0;
		visibility: hidden;
		z-index: 999;
		position: absolute;
		top: 0;
	  }
	  #TopMenu2.show {
		opacity: 1;
		visibility: visible;
		position: fixed;
		top: 0;
	  }
	}


/* ------------------ goto top--(哆重製版) ------------------ */
#gotop {
	display: inline-block;
	background-color: #000;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 50%;
	background-size: contain;
	position: fixed;
	bottom: 0px;
	right: 0px;
	transition: background-color .3s, opacity .5s, visibility .5s;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
	margin: 30px;
}

#gotop::after {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: FontAwesome;
    content: '　';
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: 100%;
    color: #fff;
    opacity: 0.5;
    background: url("../images/top.png") center no-repeat;
    background-size: contain;
    background-position: 100% 100%;
}

#gotop:hover {
	cursor: pointer;
	background-color: #666;
}

#gotop:active {
	background-color: #ccc;
}

#gotop.show {
	opacity: 0.4;
	visibility: visible;
}

@media screen and (max-width: 991px) {
	#gotop {
		bottom: 70px;
		right: 0;
		margin: 2vw;
	}
}


/* ------------------ share url (哆重製版) ------------------ */
#share {
	display: inline-block;
	background-color: #000;
	opacity: 0.4;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 50%;
	position: fixed;
	bottom: 50px;
	right: 0px;
	transition: background-color .3s, opacity .5s, visibility .5s;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	margin: 30px;
}

#share::after {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: FontAwesome;
	content: '　';
	font-weight: normal;
	font-style: normal;
	font-size: 1em;
	color: #fff;
	opacity: 0.5;
	background: url("../images/share.png") center no-repeat;
	background-size: contain;
}

#share:hover {cursor: pointer;background-color: #666;}
#share:active {background-color: #666;}


@media screen and (max-width: 991px) {
	#share {
		bottom: 115px;
		right: 0;
		margin: 2vw;
	}
}

@media screen and (max-width: 991px) {
	html {padding-bottom: 80px;}
}