@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.jpg") top center repeat;
}



/* 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;
	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: 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;
	}
}


/* -- 右側選單 -- */
/* -- sidemanu for pc -- */
.side-menu2 {
	position: fixed;
	width: 164px;
	top: 20%;
	right: 0;
	border-radius: 30px 0 0 30px;
	border: 2px solid #dc7628;
	box-sizing: border-box;
	background-color: #e68032;
	opacity: 1;
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	text-align: center;
	z-index: 99;
	font-size: 15px;
	overflow: hidden;
}

.side-menu2 label {
	position: fixed;
	width: 130px;
	height: 150px;
	background: #9c9a8b;
	opacity: 0.95;
	color: #285976;
	right: -40px;
	top: 0%;
	line-height: 28px;
	text-align: center;
	font-size: 24px;
	border-radius: 0 2px 2px 0;
	padding: 18px 8px 10px 8px;
	font-weight: 500;
}

#side-menu-switch2 {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

#side-menu-switch2:checked+.side-menu {
	transform: translateX(0);
}

.side-menu2 nav li {
	border-bottom: 1px dotted #e8e5d1;
}

.side-menu2 nav li:nth-last-child(1) {
	border-bottom: none;
	
}

/*.side-menu2 nav li:nth-child(odd){ background:  #6E5688; border-bottom: 1px dotted #fff;}
.side-menu2 nav li:nth-child(even){ background: #9A75A0; border-bottom: 1px dotted #fff;}*/

.side-menu2 nav a {
	font-weight: bolder;
	display: block;
	padding: 10px 4px;
	color: #ffffff;
	text-decoration: none;
	position: relative;
	font-size: 18px;
	/* font-family:SweiSpringCJKsc-SemiBold; */
	font-weight: 600;
	line-height: 1.4;
}

.side-menu2 nav p.name_menu {
	padding: 10px 0;
	font-size: 1.5em;
	line-height: 1em;
	border-bottom: 3px solid;
	border-color: #04414b;
	color: #e68032;
	font-weight: bold;
}

.side-menu2 nav ul.area1 {
	margin-bottom: 150px;
}

.side-menu2 nav ul.area1 li {
	width: 50%;
	float: left;
}

.side-menu2 nav ul.area1 li:nth-last-child(1) {
	border-bottom: none;
}

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

/*Plugin*/
.side-menu2 .nav {
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.side-menu2 .nav-pills>li.active>a,
.side-menu2 .nav-pills>li.active>a:focus,
.side-menu2 .nav-pills>li.active>a:hover,
.nav-pills>li>a:hover {
	font-weight: 600;
	color: #fff;
	background-color: #ab331b;
	/*height: 60px;
	line-height: 40px;*/
}

.side-menu2 .nav-pills>li>a {
	border-radius: 0px;
}

.side-menu2 .nav>li>a {
	position: relative;
	display: block;
}

/*------------------------------ navbar ------------------------------ */
/* m版橫向滑動選單 */
/*for mobile scrollmenu*/
.scrollmenu {
	display: none;
}

@media screen and (max-width: 991px) {
	.scrollmenu {
		display: flex;
		justify-content: flex-start;
		overflow-x: auto;
		white-space: nowrap;
		z-index: 999;
		top: 0;
		width: 100vw;
		padding: 3vw 1vw;
		margin: 0 auto;
		background-color: #f6eacd;
	}

	.scrollmenu::-webkit-scrollbar {
		display: none;
	}
}

.scrollmenu a {
	display: inline-block;
	font-size: 1.2em;
	line-height: 1;
	color: #e8e5d1 !important;
	text-decoration: none;
	font-weight: 700;
	/*border-right:1px dotted #7563af;*/
	padding: 2vw 3vw;
	text-align: center;
	background-color: #d2742c;
	border-radius: 100px;
	margin: 0 1vw;
	/* font-family:SweiSpringCJKsc-SemiBold; */
}

.scrollmenu a:hover {
	background-color: #ab331b;
	color: #e8e5d1 !important;
}

/* ------------------ 安全字 ------------------ */
.notice {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	padding: 10px 0;
	font-size: 1rem;
	line-height: 1.2rem;
	color: #37736c;
	background-color: #dcc791;
	font-weight: 400;
}

@media screen and (max-width: 991px) {
	.notice {
		padding: 1vw 5vw;
		margin: 0 auto;
		line-height: 1.5rem;
	}
}

/* ------------------ kv-動畫 ------------------ */
.topbox img {
    position: absolute;
    animation-fill-mode: backwards;
}

img.kv-date {
    top: 20px;
    left: 130px;
}

img.kv-title {
    top: 140px;
    left: 210px;
}

img.kv-sale {
    top: 700px;
    left: 110px;
}

img.kv-leaf-1{
	top:710px;
	left: 100px;
	animation: swing 1s ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: infinite;
	animation-direction:alternate;
    animation-fill-mode: backwards;
}

img.kv-leaf-2{
	top:200px;
	right: 300px;
	animation: swing 1.2s ease-in-out;
    animation-delay: 0.3s;
    animation-iteration-count: infinite;
	animation-direction:alternate;
    animation-fill-mode: backwards;
}

img.kv-leaf-3{
	top:460px;
	left: -150px;
	animation: swing 0.8s ease-in-out;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
	animation-direction:alternate;
    animation-fill-mode: backwards;
}

img.kv-leaf-4{
	top:350px;
	right: 400px;
	animation: swing 1.5s ease-in-out;
    animation-delay: 1s;
    animation-iteration-count: infinite;
	animation-direction:alternate;
    animation-fill-mode: backwards;
}

img.kv-leaf-5{
	top:635px;
	left: 500px;
	animation: swing 0.8s ease-in-out;
    animation-delay: 2.5s;
    animation-iteration-count: infinite;
	animation-direction:alternate;
    animation-fill-mode: backwards;
}

img.kv-leaf-6{
	top:650px;
	left: -180px;
	animation: swing 1.8s ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: infinite;
	animation-direction:alternate;
    animation-fill-mode: backwards;
}




@keyframes swing {
    0% { transform: rotate(2deg); }
    100% { transform: rotate(-10deg); }
}



/* ------------------ promotion-版頭行銷資訊 ------------------ */
.block_00{
	background-color: #37736c;
	padding-bottom: 30px;
}

.block_00 ul {
	width: 1200px;
	padding: 0 0 0 0;
	margin: 40px auto;
	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 ul {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		padding: 0 0 0 0;
		margin: 5vw auto 2vw;
		justify-content: center;
	}

	.block_00 ul li {
		margin: 1vw;
	}

	.block_00 .kv_m a {
		margin: 0 10px;
		padding: 5px 0;
	}

	.block_00 img {
		display: block;
		width: 46vw;
	}

	.block_00 .titleC h2 {
		margin: 0 auto;
	}
}


/* ------------------ tab-頁籤 ------------------ */
.tab ul {
	width: 1160px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	justify-content: space-around;
	text-align: center;
}

.tab ul li{
	width: 220px;
    line-height: 40px;
    position: relative;
    margin: 0;
    vertical-align: bottom;
    padding: 25px 0 0 40px !important;
    color: #582521;
    height: 80px;
    background: url("../images/h1.png") top center no-repeat;
}

.tab ul li.active{
    color: rgb(255, 246, 229);
    background: url("../images/h.png") top center no-repeat;
}

.tab ul li p{
	font-size: 30px;
	font-weight: 500;
}
 
.tabcontent {
	display: none;
	border-top: none;
  }

  .tab-title-for-m{
	display: none;
  }

  @media screen and (max-width: 998px){
	.tabcontent{
		display: block !important;
	}
	.tab{
		display: none;
	}
	.tab-title-for-m{
		display: block;
		width: 220px;
		line-height: 40px;
		position: relative;
		margin: 0;
		padding: 15px 0 0 35px !important;
		color: #582521;
		height: 80px;
		background: url("../images/h1.png") top center no-repeat;
	}
  }


/* ------------------ title ------------------ */

.titleC{
	margin: 10px auto;
    padding: 10px 0;
    text-align: center;
}

.titleC h2{
	font-family:'Noto Serif TC', serif;
	position: relative;
    padding:15px 25px 25px 25px;   
    color: #37736c;
    letter-spacing: 3px;
    background: url("../images/title_bg_1.png") center no-repeat;
    width: 900px;
    font-size: 3.5rem;
	font-weight: 400;
    line-height: 5rem;
}

.titleC h3 {
	font-family:'Microsoft JhengHei', sans-serif;
    color: #faf3e2;
    width: 1000px;
    padding: 20px 0 20px 20px;
    font-size: 2.6rem;
	font-weight: 400;
    line-height: 4rem;
    letter-spacing: 3px;
    background: url("../images/title_bg_2.png") center no-repeat;
}




/* ------------------ 改原本的色彩樣式 ------------------ */

.half ul{
	background: #dcc791;
}

.hightlight .font h4{
	background: #37736c;
}
.alternate ul:nth-child(odd) li:first-child{
	background: #6c673b;
}
.alternate ul:nth-child(even) li:last-child{
	background: #e69d3b;
}
.alternate ul:nth-child(odd) li:first-child .font h4{
	color: #ffb24e
}
.alternate ul:nth-child(even) li:last-child .font h4{
	color: #305853;
}












/*--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;
	}
}