@charset "utf-8";
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
	margin:0;
	padding:0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
body {
	font-family:'Source Sans Pro','Montserrat','微軟正黑體', 'Heiti TC', sans-serif;
	font-size: 15px;
	color: #404040;
	margin: 0;
	padding: 0;
	line-height: 1;
}
a {
	text-decoration: none;
	color: #F5B44B;
}
a:hover {
	text-decoration: underline;
}
div{
	display:block;
	}
h1, h2, h3{
	font-weight: bold;
	}
h2 {
	color: #afafaf;
}
h3{
 	margin: 0;
   font-size: 19px;
   line-height: 1.6;
   font-weight: 500;
  }
h3.title{
	color: #afafaf;
	letter-spacing: 0.5em;
	line-height: 3;
}
h4{
 	margin: 0;
   font-size: 14px;
   line-height: 1.3;
   font-weight: 300;
}
p{
	font-size: 16px;
	line-height: 1.3;
}
.right{
	float:right;
	display: block;
	margin-left: 20px;
}
.left{
	float:left;
	display: block;
	margin-right: 20px;
}
.wrapper {
	max-width: 1024px;
	margin: 0px auto;
	padding: 0 10px;
	box-sizing: border-box;
	height:100%;
}
.wrapper ul li p{
	line-height: 1.8;
	text-align: justify;
}
.clearfix {
  zoom: 1;
  /*IE6, IE7*/
}
.clearfix:before {
    content: "";
    display: table;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.banner {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	position:relative;
  	box-sizing: border-box;
  	height:100%;
  	text-align: center;
}
.banner a.logo {
	float:left;
	width:100%;
 	font-size: 36px;
    font-family: 'Pacifico', cursive;
    color:#fff;
  	margin: 0 0 0 0;
  	display: block;
  	padding:40px 0 10px 0;
  	box-sizing: border-box;
}
.banner a.logo:hover{
	text-decoration: none;
/*	color:#F5B44B;*/
}
.banner span{
	font-size: 36px;
	color: #ff4a4a;
	display: inline-block;
	padding: 0 8px;
	line-height: 48px;
}

.footer a.btn-contact{
	margin-left: 5px;
	margin-right: 5px;
	display: inline-block;
}
.case{
	padding: 40px 0 40px 0;
	box-sizing: border-box;
	float: left;
	width:100%;
	text-align: center;
}
.case ul, ol{
	text-align:center;
	float:left;
	margin: 10px 0 0 0;
	padding: 0;
	width:100%;
	}
.case ul li{
	width:33%;
	height: auto;
	float:left;
	padding: 4px;
	box-sizing:border-box;
	overflow: hidden;
/*	display:table-cell;*/
	font-family:'Helvetica Neue','微軟正黑體', 'Heiti TC', sans-serif;
	font-size: 15px;
	}
.case ul.collection li{
	width:100%;
	padding: 2%;
	margin-bottom: 10px;
	box-sizing: border-box;
	display:flex;
	align-items:center;
    justify-content:center;
    text-align: left;
	}
.case ul.collection li div{
	width:48%;
	display: inline-block;
	}
.case ul.collection li div.full-width{
	width:75%;
}
.case ul.demo li{
	width:50%;
	}
ol{
	text-align: left;
	box-sizing: border-box;
	counter-reset: num;
    list-style-type: none;
    margin:0;
}
.case ul.collection ol li{
	margin-bottom:0px;
	line-height: 1.6;
	padding: 4px;
	box-sizing: border-box;
	justify-content:left;
	align-items: start;
}
.case ul.collection ol li::before{
	counter-increment: num;
	content: counter(num) ".";
}
.case ul.collection li div p span.note, .note{
	 color:#999;
	 font-size: 14px;
	 display: inline-block;
	 margin:5px 0 10px 0;
}
.case ul.collection li div p i::before{
	 content: "*";
}
.case ul li img{
	width:100%;
	height: auto;
	}
.case ul.demo li img{
	max-width:400px;
	}
.case ul li a{
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}
.case ul li .case-info{
	width:100%;
	height:64px;
	background: rgba(0,0,0,0.6);
	text-align: center;
	color: #fff;
	position: absolute;
	bottom:-72px;
	opacity: 1.0;
	left:0;
	overflow: hidden;
	}
.case ul li a:hover .case-info{
	bottom: 3px;
	opacity: 1.0;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.case-title{
	display: table;
	width: 100%;
	height:100%;
}
.case-title div{
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height:100%;
}
header{
	margin:0 0 0 0;
	overflow: hidden;
	color: #FFF;
	width:100%;
	min-width:320px;
	float:left;
}
.initial-state{
	background: #1a1a1a url(../image/bg_banner.jpg) no-repeat center bottom;
	height: 260px;
	position: relative;
}
.scroll-state{
	height: 70px;
	background: rgba(10,10,10,0.9);
	position: fixed;
	z-index: 1;
	animation:navi 1s;
    -moz-animation:navi 1s; /* Firefox */
    -webkit-animation:navi 1s; /* Safari and Chrome */
}
.scroll-state .banner a.logo{
	width:20%;
 	font-size: 20px;
  	padding:24px 0 10px 0;
  	box-sizing: border-box;
}
.scroll-state .banner p{
	display: none;
}

footer{
	font-size:12px;
	color:#666;
	text-align:center;
	clear:both;
	padding:20px 0px 40px 0px;
	background-color: #fafafa;
	min-width: 0px;
}
footer span{
	display: inline-block;
	margin: 20px 0 10px 0;
	letter-spacing: 0.5em;
}
.banner p{
	font-size:14px;
	line-height: 30px;
	width:100%;
	margin: 20px 0 10px 0;
	letter-spacing: 0.5em;
	float:left;
}
footer a img{
	width:40%;
	max-width: 20px;
	margin-top:2px;
	float:left;
}
footer a span{
	display: inline-block;
	float:right;
	margin: 0 0 0 4px;
	letter-spacing: 0.1em;
}
footer .contact{
	float:none;
}
.error img{
	max-width:400px;
	width:100%;
}
.error h1{
	line-height: 48px;
}
.error a{
	color:#ff4a4a;
	text-decoration: underline;
}
.error a:hover, .error a:active{
	text-decoration: none;
}
.align-center{
	text-align: center;
}
.contact {
	font-size: 13px;
	padding-top:16px;
	box-sizing: border-box;
	float:right;
}
.contact li{
	display: inline-block;
}
.contact li a{
	width: 40px;
	height:40px;
	display: inline-block;
	text-align: center;
	color:#4a4a4a;
}
.banner .contact li a{
	color:#cacaca;
}
.contact li a:hover{
	color: #F5B44B;
}
.contact li a i{
	line-height:40px;
}
.border{
	border: solid 1px #cccccc;
}
.hide{
	display: none;
}
.show{
	display: block;
}
a.updog-stamp{
	display: none;
}
@keyframes navi{
    from {top: -70px; opacity:0;}
    to{top:0px; opacity:1;}
}
@-moz-keyframes navi{
    from {top: -70px; opacity:0;}
    to{top:0px; opacity:1;}
}
@-webkit-keyframes navi{
    from {top: -70px; opacity:0;}
    to{top:0px; opacity:1;}
}​
/************************media query******************************/
@media screen and (max-width: 640px){
.case ul li{
	width:50%;
	padding: 4px;
	box-sizing:border-box;
	}
}
/************************************************/
@media screen and (max-width: 639px){
.header {
    height: 290px;
    }
.case ul li, .case ul.demo li{
	width:100%;
	padding: 4px;
	box-sizing:border-box;
	}
.case ul.collection li{
	padding: 0%;
	width: 100%;
	display: block;
	text-align: center;
	}
.case ul.collection ol li{
	text-align: left;
}
.case ul.collection li div, .case ul.collection li div.full-width{
	width:90%;
	float:none;
}
.case ul li p{
	width:100%;
	float:none;
}
.case ul.collection li img.img_small{
	width:100%;
	float:none;
}
.right{
	float:none;
	margin-left: 0px;
}
.left{
	float:none;
	margin-right: 0px;
}
}

/************************************************/


