@charset "UTF-8";

/* default */
*{margin:0; padding:0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;}
ul{list-style:none;}
a, img{text-decoration:none; border:none;}
img{border:0; vertical-align:top; width:100%; height: auto;}
img[src=""] {display: none;}
.unselect{-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-o-user-select: none;user-select: none;}
html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}

.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
.clearfix {display: inline-block;}
html[xmlns] .clearfix {display: block;}
* html .clearfix {height: 1%;}


body{background-color:#fafafa; font-size: 16px; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-backface-visibility:hidden; font-family:"PingFang TC" ,"儷黑 Pro", "Microsoft JhengHei", "微軟正黑體", STHeiti,"Heiti TC Medium", Apple LiGothic, Helvetica, Helvetica Neue, Arial,"PMingLiu", "新細明體" !important;}
html, body {height: 100%;margin: 0;padding: 0;}
a{color: inherit; display: block;}
.hidden{display: none;}

#main-container{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	display: -webkit-flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	-webkit-flex-flow: column nowrap;
	-webkit-justify-content: space-between;
}
#main-container > *{
	flex-shrink:0;
	-webkit-flex-shrink:0;
}

header{
	max-width: 640px;
	width: 100%;
	margin: 0 auto 20px;
}

header #keyart{
	width: 100%;
    height: 0;
    padding-bottom: 20.3125%;    
}

#content-container{
	max-width: 640px;
	margin:0 auto;
}

#section-media{
	position: relative;

}
#section-media #video-container{
	position: relative;
	width:100%;
	height: 0;
	padding-bottom: 56.25%;
}
#section-media video{
	position: absolute;
	width:100%;
	height: 100%;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: #000;
	outline: none;
}

#section-content{
	padding:20px;
}

#section-content article{
	margin-bottom: 30px;
}
#section-content article span{
	padding: 20px 35px 25px;
    display: block;
    border: 1px dashed rgba(0,0,0,0.3);
    border-radius: 16px;
    line-height: 1.8em;
    margin: 0 -20px;
    font-size: 18px;
}

#section-media #img-container{
	position: relative;
	width:100%;
}

#section-media #img-container img{

}

#subscribe{
	text-align:center;
}

#subscribe .btn-subscribe{
	color:#fff;
	background-color: #39579B;
	padding:18px 18px;
	min-width: 280px;
	border-radius: 6px;
	display: inline-block;
	font-size: 24px;
	box-shadow: 0 6px 8px rgba(57, 87, 155, 0.3);
}



#suggestmsg{
	text-align: center;
    padding: 18px 0;
    border-radius: 6px;
    color: rgba(0,0,0,0.4);
    font-size: 18px;
    display: none;
}

#liveperson-container{

}



#gototop{
	z-index: 9;
	position: fixed;
	bottom: -60px;
	right: 20px;

	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	-ms-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	opacity: 0;

	will-change: bottom, opacity;
	-webkit-transition: bottom 300ms, opacity 300ms;
	-moz-transition: bottom 300ms, opacity 300ms;
	-ms-transition: bottom 300ms, opacity 300ms;
	transition: bottom 300ms, opacity 300ms;
}

#gototop.on{
	/*bottom:80px;*/
	/*bottom:20px;*/
	bottom:60px;
	opacity: 1;
}

#gototop #gototop-btn{
	width:45px;
	height: 45px;
	border-radius: 50em;
	background-color:#fff;
	box-shadow:0 4px 8px rgba(0,0,0,0.15);
	-webkit-transition: background-color 300ms;
	-moz-transition: background-color 300ms;
	-ms-transition: background-color 300ms;
	transition: background-color 300ms;
}

#gototop-btn:after{
	content:'';
	width:15px;
	height:15px;
	-webkit-clip-path: polygon(50% 25%, 96% 58%, 86% 70%, 50% 45%, 14% 70%, 4% 58%);
	clip-path: polygon(50% 25%, 96% 58%, 86% 70%, 50% 45%, 14% 70%, 4% 58%);
	background:#000;
	display: block;
	position: absolute;
	top:50%;
	left:50%;
	transform: translate3d(-50%,-50%,0);
}

#gototop:hover #gototop-btn{
	cursor: pointer;
}

#gototop.haveliveperson{
	right:30px;
}
#gototop.haveliveperson.on{
	bottom:95px;
}

footer{
	position: relative;
	width: 100%;
	font-size: 12px;
	color:#666;
	text-align: center;
	padding:20px;
}


.using-desktop #subscribe{
	display: block;
}
.using-webview #suggestmsg{
	display: block;	
}
.using-webview #subscribe{
	display: none;
}
.using-mobile footer{
	padding-bottom:80px;
}
.using-mobile{

}
.using-iPhone{
	
}
.using-iPad{
	
}
.using-Android{
	
}
.using-webview{

}
.mobile{
	display: none;
}
/* Tablet Landscape mode*/
@media only screen and (max-width: 1024px){
	.desktop{
		display: none;
	}
	.mobile{
		display: block;
	}
	#gototop:hover #gototop-btn{
		background-color: #fff;
	}
}
/* Tablet portrait mode */
@media only screen and (max-width: 768px){
	
}
/* Mobile */
@media only screen and (max-width: 767px){
	
}
@media only screen and (max-width: 320px){
	
}