@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_color1.jpg");
	scroll-behavior: smooth;
}

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;
	background: url("../images/side_deco.png") center 610px repeat-y;
}

.topbox {
	position: relative;
	width: 1200px;
	margin: auto;
}

.kv_pc {
	width: 100%;
	position: relative;
	text-align: center;
	display: flex;
	justify-content: center;
	/* max-width: 1920px; */
	margin: auto;
	flex-wrap: wrap-reverse;
}

.kv_pc img {
	/* display: block; */
	text-align: center;
}

.kv_m {
	display: none;
}

/* .kv_m img {
	display: block;
} */

.kv_m a {
	font-size: 0;
	/* display: block; */
}

.for_pc {
	display: block;
}

.for_m {
	display: none;
}

/* m */
@media screen and (max-width: 991px) {
	.kv_m {
		display: flex;
		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;
	}
}


/*主視覺動畫*/
.kv_bg {
	width: 100%;
}

.kvitem {
	position: absolute;
}

.kv_g1 {
	top: calc((248 / 1920) * 100%);
	left: calc((315 / 1920) * 100%);
	width: calc((208 / 1920)* 100%);
	animation-name: float_A;
	animation-timing-function: ease-in-out;
	animation-duration: 2s;
	animation-delay: -1s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

.kv_g2 {
	top: calc((1031 / 1920) * 100%);
	left: calc((135 / 1920) * 100%);
	width: calc((291 / 1920)* 100%);
	animation-name: float_B;
	animation-timing-function: ease-in-out;
	animation-duration: 2s;
	animation-delay: -1s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

.kv_g3 {
	top: calc((173 / 1920) * 100%);
	left: calc((1537 / 1920) * 100%);
	width: calc((281 / 1920)* 100%);
	animation-name: float_A;
	animation-timing-function: ease-in-out;
	animation-duration: 2s;
	animation-delay: 0s;
	animation-direction: alternate;
	animation-iteration-count: infinite;

}

.kv_g4 {
	top: calc((1104 / 1920) * 100%);
	left: calc((1499 / 1920) * 100%);
	width: calc((208 / 1920)* 100%);
	animation-name: float_B;
	animation-timing-function: ease-in-out;
	animation-duration: 2s;
	animation-delay: 0s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

.kv_stt {
	top: calc((216 / 1920) * 100%);
	left: calc((1201 / 1920) * 100%);
	width: calc((285 / 1920)* 100%);
	animation: fadeInUp 1.2s;
	animation-delay: 1.3s;
	animation-fill-mode: backwards;
}

.kv_promotion {
	top: calc((1390 / 1920) * 100%);
	left: calc((572 / 1920) * 100%);
	width: calc((649 / 1920)* 100%);
	animation: bounceInRight 1.2s;
	animation-delay: .2s;
	animation-fill-mode: backwards;
}

.kv_tt {
	top: calc((339 / 1920) * 100%);
	left: calc((476 / 1920) * 100%);
	width: calc((671 / 1920)* 100%);
	animation: bounceInLeft 1.2s;
	animation-delay: .1s;
	animation-fill-mode: backwards;
}

.kv_pp {
	top: calc((489 / 1920) * 100%);
	left: calc((1158 / 1920) * 100%);
	width: calc((277 / 1920)* 100%);
	animation: bounceInRight 1.2s;
	animation-delay: .3s;
	animation-fill-mode: backwards;
}

@keyframes float_A {
	0% {
		transform: translateY(0%);
	}

	100% {
		transform: translateY(8%);
	}
}

@keyframes float_B {
	0% {
		transform: translateY(0%);
	}

	100% {
		transform: translateY(12%);
	}
}


/* 區塊 */
.block_0 {
	background: url("../images/bg_color2.jpg");
	padding: 10px 0 0;
	margin: 0 auto 260px;
	transform-style: preserve-3d;
}

.block_0::after {
	content: '';
	max-width: 1920px;
	margin: -90px auto 0;
	background: url("../images/blk0_af.png")center top no-repeat;
	height: 108px;
	display: flex;
	top: 108px;
	position: relative;
	pointer-events: none;
	transform: translateZ(-1px);
}

.blk {
	margin: 220px auto 0px;
	max-width: 1250px;
	background: url("../images/blk_bg.png") top center repeat-y;
	transform-style: preserve-3d;
}

.blk::before {
	content: '';
	width: 1250px;
	margin: 0 auto -250px;
	background: url("../images/blk_be.png")center top no-repeat;
	height: 58px;
	display: flex;
	top: -58px;
	right: 0px;
	position: relative;
	pointer-events: none;
	transform: translateZ(-1px);
}

.blk::after {
	content: '';
	width: 1250px;
	margin: -75px auto 0px;
	background: url("../images/blk_af.png")center top no-repeat;
	height: 58px;
	display: flex;
	top: 58px;
	right: 0px;
	position: relative;
	pointer-events: none;
	transform: translateZ(-1px);
}

.block_5 {
	margin: 220px auto 100px;
}

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

	.block_0 {
		margin: 0 auto -4vw;
		padding: 2vw 0 4vw;
		background-size: 30%;
	}

	.block_0::after {
		display: none;
	}

	.blk {
		margin: 22vw auto 1vw;
		background: url("../images/blk_bg.png") top center repeat-y;
		background-size: 100vw;
		transform-style: preserve-3d;
	}

	.blk::before {
		content: '';
		width: 100%;
		display: flex;
		margin: 0 auto -29vw;
		background: url("../images/blk_be.png")center top no-repeat;
		background-size: 100vw;
		height: 6vw;
		top: -4.5vw;
		position: relative;
		pointer-events: none;
		transform: translateZ(-1px);
	}

	.blk::after {
		content: '';
		width: 100%;
		display: flex;
		margin: -5.5vw auto 0;
		background: url("../images/blk_af.png") center top no-repeat;
		background-size: 100vw;
		height: 6vw;
		top: 4.5vw;
		position: relative;
		pointer-events: none;
		transform: translateZ(-1px);
	}

	.block_5 {
		margin: 22vw auto 8vw;
	}
}


/*文字標題*/

h2,
h3,
.menustyle2 ul li a {
	font-family: 'Noto Sans TC';
}

.block_1 .btt,
.block_4 .btt {
	background: url("../images/btt_bg_bl.png")top center no-repeat;
	width: 100%;
	height: 172px;
	margin: 80px auto -70px;
	align-items: center;
}

.block_2 .btt,
.block_5 .btt {
	background: url("../images/btt_bg_g.png")top center no-repeat;
	width: 100%;
	height: 172px;
	margin: 80px auto -70px;
	align-items: center;
}

.block_3 .btt {
	background: url("../images/btt_bg_pr.png")top center no-repeat;
	width: 100%;
	height: 172px;
	margin: 80px auto -70px;
	align-items: center;
}

.block_0 .btt {
	background: url("../images/btt_bg_r.png")top center no-repeat;
	width: 100%;
	height: 172px;
	margin: 30px auto -30px;
	align-items: center;
}

.btt h2 {
	color: #fff;
	font-size: 3.8rem;
	font-weight: 900;
	letter-spacing: 4px;
	padding: 0 80px 80px 0;
}


.stt {
	margin: 30px auto 0;
}

.stt h3 {
	color: #2d334a;
	font-size: 2.5rem;
	font-weight: 900;
	letter-spacing: 1px;
}

.half ul h3 {
	color: #2d334a;
	font-size: 2.5rem;
	font-weight: 900;
	letter-spacing: 1px;
	margin: 0 auto 20px;
}

.stt h3::before,
.half ul h3::before {
	background-image: url("../images/stt_be.png");
	background-size: contain;
	display: inline-block;
	width: 50px;
	height: 50px;
	margin-right: -5px;
	margin-bottom: -15px;
	content: "";
}

.stt h3::after,
.half ul h3::after {
	background-image: url("../images/stt_af.png");
	background-size: contain;
	display: inline-block;
	width: 50px;
	height: 50px;
	margin-left: -5px;
	margin-bottom: -15px;
	content: "";
}

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

	.block_1 .btt,
	.block_4 .btt {
		background-size: contain;
		width: 100%;
		height: 20vw;
		margin: 10.5vw auto -8vw;
	}

	.block_2 .btt,
	.block_5 .btt {
		background-size: contain;
		width: 100%;
		height: 20vw;
		margin: 10.5vw auto -8vw;
	}

	.block_3 .btt {
		background-size: contain;
		width: 100%;
		height: 20vw;
		margin: 10.5vw auto -8vw;
	}

	.block_0 .btt {
		background-size: contain;
		width: 100%;
		height: 20vw;
		margin: 2vw auto -6vw;
	}

	.btt h2 {
		font-size: 1.8rem;
		letter-spacing: 1px;
		padding: 0 10vw 9.5vw 0;
	}


	.stt {
		margin: 3vw auto 0;
	}

	.stt h3 {
		color: #2d334a;
		font-size: 1.3rem;
		font-weight: 900;
		letter-spacing: 1px;
	}

	.half ul h3 {
		color: #2d334a;
		font-size: 2.5rem;
		font-weight: 900;
		letter-spacing: 1px;
		margin: 0 auto 20px;
	}

	.stt h3::before,
	.half ul h3::before {
		background-image: url("../images/stt_be.png");
		background-size: contain;
		display: inline-block;
		width: 7vw;
		height: 7vw;
		margin-right: -1vw;
		margin-bottom: -2vw;
		content: "";
	}

	.stt h3::after,
	.half ul h3::after {
		background-image: url("../images/stt_af.png");
		background-size: contain;
		display: inline-block;
		width: 7vw;
		height: 7vw;
		margin-left: -1vw;
		margin-bottom: -2vw;
		content: "";
	}

}


/*promotion*/
.blk_dis {
	width: 1200px;
	margin: 10px auto;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.blk_dis li img {
	width: 100%;
}

@media screen and (max-width: 991px) {
	.blk_dis {
		width: 97%;
		margin: 1vw auto;
		padding: 0;
		flex-wrap: wrap;
	}

	.blk_dis li {
		width: 31vw;
	}
}


/*元件調整*/
.banner {
	padding: 0;
}

.rectangle_3p,
.hightlight,
.alternate,
.collect_5x6,
.crosswise,
.rectangle,
.quotes,
.crosswise_3p {
	margin: 20px auto;
}

.alternate ul:nth-child(even) {
	margin: -102px auto 20px;
}

.hightlight .font h4,
.collect_5x6 .special,
.collect_5x6 .s-row h4,
.quotes li:nth-child(odd) {
	background: url("../images/bg_color1.jpg");
}

.alternate ul:nth-child(odd) li:first-child {
	background: url("../images/bg_color3.jpg");
}

.alternate ul:nth-child(even) li:last-child,
.quotes li:nth-child(even) {
	background: url("../images/bg_color4.jpg");
}

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

	.rectangle_3p,
	.hightlight,
	.alternate,
	.collect_5x6,
	.crosswise,
	.rectangle,
	.quotes,
	.crosswise_3p {
		margin: 2vw auto;
	}

	.alternate ul:nth-child(even) {
		margin: auto;
	}

	.collect_5x6 .s-row h4 {
		width: 46vw !important;
	}

	.quotes ul {
		justify-content: center;
	}

	.quotes li {
		width: 46vw;
	}

}


/*按鈕*/
.gobtn {
	margin: 40px auto 50px;
	align-items: center;
}

.gobtn a {
	text-align: center;
	width: 400px;
	height: auto;
	display: block;
	background: url("../images/bg_color4.jpg");
	line-height: 1.8;
	margin: 0 auto;
	padding: 0 0 5px;
	border-radius: 999em;
	border: 3px solid #2d334a;
	color: #fff;
	box-shadow: 0 7px #2d334a;
	transition: .2s;
	font-size: 3rem;
	font-weight: 900;
	letter-spacing: 1px;
}

.gobtn a:hover {
	filter: brightness(70%);
	transform: translateY(4px);
	box-shadow: 0 2px #2d334a;
}

@media screen and (max-width: 991px) {
	.gobtn {
		margin: 4vw auto 6vw;
	}

	.gobtn a {
		text-align: center;
		width: 65vw;
		height: auto;
		line-height: 1.5;
		font-size: 2rem;
		border: 2px solid #2d334a;
	}

	.gobtn a:hover {
		transform: translateY(3px);
		box-shadow: 0 1px #2d334a;
	}
}



/*--  nav 選單 固定側邊--*/
@media only screen and (min-width: 992px) {
	.menustyle2 {
		width: 115px;
		display: flex;
		flex-wrap: wrap;
		background: #f2cd01;
		z-index: 999;
		height: auto;
		position: fixed;
		top: 180px;
		right: 10px;
		border-radius: 20px 20px 0 0;
		transform-style: preserve-3d;
	}

	.menustyle2:after {
		content: "";
		display: inline-block;
		width: 115px;
		height: 274px;
		background-size: contain;
		background: url("../images/menu_af.png")top center no-repeat;
		position: absolute;
		top: 160px;
		left: 0;
		pointer-events: none;
		transform: translateZ(-1px);
	}

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

	.menustyle2 ul li {
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.menustyle2 ul li a {
		text-decoration: none;
		font-size: 1rem;
		color: #2d334a;
		display: flex;
		width: fit-content;
		justify-content: center;
		align-items: center;
		padding: 6px 12px;
		margin: 1px auto;
		flex-direction: column;
		line-height: 1.2;
		font-weight: 700;
		text-align: center;
	}

	.menustyle2 a br {
		display: block;
	}

	.menustyle2 ul li a:hover {
		color: #fff;
		background: url("../images/bg_color4.jpg");
		transform: scale(1);
		border-radius: 99em;
	}

	.menustyle2 ul .active {
		color: #fff;
		background: url("../images/bg_color4.jpg");
		border-radius: 99em;
	}
}

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

	.menustyle2 {
		width: 100%;
		z-index: 999;
		padding: 2vw 1vw;
		display: block;
		background: #f2cd01;
		border-bottom: 1px solid #e25345;
		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 {
		width: 100%;
		margin: 0 auto;
		flex-wrap: nowrap;
		display: flex;
	}

	.menustyle2 ul li {
		width: fit-content;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}

	.menustyle2 ul li.showByDate {
		margin-top: 1.5vw;
	}

	.menustyle2 ul li a {
		font-size: 1rem;
		letter-spacing: 0px;
		color: #2d334a;
		box-sizing: border-box;
		padding: 1.5vw 2.5vw;
		font-weight: 700;
	}

	.menustyle2 a br {
		display: none;
	}

	.menustyle2 ul li a:hover {
		color: #fff;
		background: url("../images/bg_color4.jpg");
		width: 100%;
		justify-content: center;
		align-items: center;
		text-align: center;
		border-radius: 999em;
	}

	.menustyle2 ul .active {
		color: #fff;
		background: url("../images/bg_color4.jpg");
		width: 100%;
		justify-content: center;
		align-items: center;
		text-align: center;
		border-radius: 999em;
	}

	.sticky {
		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;
	}
}


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

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


/*--goto top--*/
#gotop {
	display: inline-block;
	background-color: #000;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 100%;
	position: fixed;
	bottom: 0px;
	right: 0px;
	transition: background-color .3s, opacity .5s, visibility .5s;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
	margin: 30px;
}

#gotop::after {
	position: absolute;
	display: block;
	font-family: FontAwesome;
	content: '　';
	font-weight: normal;
	font-style: normal;
	font-size: 2em;
	line-height: 50px;
	color: #fff;
	opacity: 0.5;
	background: url("../images/top.png") center no-repeat;
	background-size: 50%;
	background-position: 85% 35%;
}

#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: 100%;
	position: fixed;
	bottom: 50px;
	right: 0px;
	transition: background-color .3s, opacity .5s, visibility .5s;
	z-index: 1000;
	margin: 30px;
}

#share::after {
	position: absolute;
	display: block;
	font-family: FontAwesome;
	content: '　';
	font-weight: normal;
	font-style: normal;
	font-size: 2em;
	line-height: 50px;
	color: #fff;
	opacity: 0.5;
	background: url("../images/share.png") center no-repeat;
	background-size: 50%;
	background-position: 80% 35%;
}

#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;
	}
}