/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

#mainframe div, #mainframe span, #mainframe applet, #mainframe object, #mainframe iframe,
#mainframe h1, #mainframe h2, #mainframe h3, #mainframe h4, #mainframe h5, #mainframe h6, #mainframe p, #mainframe blockquote, #mainframe pre,
#mainframe a, #mainframe abbr, #mainframe acronym, #mainframe address, #mainframe big, #mainframe cite, #mainframe code,
#mainframe del, #mainframe dfn, #mainframe em, #mainframe img, #mainframe ins, #mainframe kbd, #mainframe q, #mainframe s, #mainframe samp,
#mainframe small, #mainframe strike, #mainframe strong, #mainframe sub, #mainframe sup, #mainframe tt, #mainframe var,
#mainframe b, #mainframe u, #mainframe i, #mainframe center,
#mainframe dl, #mainframe dt, #mainframe dd, #mainframe ol, #mainframe ul, #mainframe li,
#mainframe fieldset, #mainframe form, #mainframe label, #mainframe legend,
#mainframe table, #mainframe caption, #mainframe tbody, #mainframe tfoot, #mainframe thead, #mainframe tr, #mainframe th, #mainframe td,
#mainframe article, #mainframe aside, #mainframe canvas, #mainframe details, #mainframe embed, 
#mainframe figure, #mainframe figcaption, #mainframe hgroup, 
#mainframe menu, #mainframe nav, #mainframe output, #mainframe ruby, #mainframe section, #mainframe summary,
#mainframe time, #mainframe mark, #mainframe audio, #mainframe video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
#mainframe article, #mainframe aside, #mainframe details, #mainframe figcaption, #mainframe figure, 
#mainframe hgroup,#mainframe  menu, #mainframe nav, #mainframe section {
	display: block;
}
#mainframe {
	line-height: 1;
}
#mainframe ol, #mainframe ul {
	list-style: none;
}
#mainframe blockquote, #mainframe q {
	quotes: none;
}
#mainframe blockquote:before, #mainframe blockquote:after,
#mainframe q:before, #mainframe q:after {
	content: '';
	content: none;
}
#mainframe table {
	border-collapse: collapse;
	border-spacing: 0;
}
#mainframe a{
	text-decoration: none;
	color: inherit;
}
#mainframe img{
	max-width: 100%;
	vertical-align:middle;
}

/* Page Loader */
#fade{
    display:none;
    width:100%;
    height:100%;
    background: #FFF;
    position: fixed;
    top:0px;
    left:0px;
    z-index:99;
}
#fade .load_img{
    display: block;
    margin: auto;
    padding-top: 30%;
}
#fade .load_img img{
	display: block;
	height: auto;
	width: 200px;
	/*background:transparent;*/
	animation: bounce 3s linear infinite;
	margin: auto;
}
#mainframe{
	font-family: 'Noto Sans TC', 'Microsoft JhengHei', '微軟正黑體', Arial, Helvetica, sans-serif;
	overflow-x: hidden;
	color:#212121;
}

.sp{display: none!important;}

#mainframe .wrapper{
	font-size: 10.5pt;
}

#mainframe .mv{
	max-width: 1500px;
	margin: auto;
	padding: 0 0;
	padding-bottom: 0;
}
@media screen and (min-width: 1500px){
	#mainframe .mv{
		padding: 2em;
	}
}
#mainframe .intro{
	margin: 5em auto 5.5em auto;
}
#mainframe .intro p{
	margin: auto;
	letter-spacing: 0.1em;
	line-height: 230%;
	white-space: pre-line;
	text-align: center;
}
#mainframe .content{
	margin: auto;
	padding: 5em 0;
}
#mainframe .content h1{
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 56pt;
	text-align: center;
	position: relative;
	margin-bottom: 1em;
}
#mainframe .content h1 small{
	display: block;
	font-size: 25%;
	font-weight: 500;
	letter-spacing: 0.05em;
	position: absolute;
	padding: 3px 5px;
	left: 43%;
	bottom: 0;
	background: #FFF;
}
#mainframe .content h1 small::before{
	content: '';
	display: inline-block;
	border-top: 1px dashed;
	width: 30px;
	height: 6px;
	background: transparent;
	margin-right: 5px;
}
#mainframe .inner{
	max-width: 1000px;
	margin: auto;
	position: relative;
}
#mainframe .IMG-1{
	width: 98%;
	display: flex;
	justify-content: center;
	margin: auto;
	border-width: 6px 0 6px 0;
	border-style:solid;
}

#mainframe .IMG-1 div{
	width: fit-content;
	width: -webkit-fit-content;
   border-width: 0 6px 0 6px;
   border-style: solid;
}
#mainframe .IMG-1 div:nth-of-type(2){
	 border: 0;
}
#mainframe .deco-1{
	position: absolute;
	z-index: -1;
	width: 28%;
	bottom: -5%;
	left: -3%;
}
#mainframe .IMG-2, #mainframe .IMG-3{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	position: relative;
}
#mainframe .IMG-4{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
}
#mainframe .IMG-2::before{
	content: '';
	background: url(../images/deco-3.jpg)no-repeat;
	background-size: cover;
	display: block;
	position: absolute;
	width: 40%;
	height: 78%;
	right: -5%;
	top: 20%;
	z-index: -1;
	opacity: .7;
	transform: scaleY(-1);
}
#mainframe .IMG-2.IMG-7::before{
	background: url(../images/deco-7.jpg)no-repeat;
	background-position: top;
	width: 60%;
	height: 50%;
	right: -5%;
	top: 44%;
	transform: none;
}
#mainframe .deco-3,#mainframe .deco-6{
	background: url(../images/deco-2.jpg)no-repeat;
	width: 48%;
	height: 100%;
	background-size: cover;
	background-position-y: bottom;
	position: absolute;
	z-index: -1;
	left: 3.5%;
	opacity: .65;
}
#mainframe .deco-6{
	background: url(../images/deco.jpg)no-repeat;
	background-position-y: bottom;
	height: 48.7%;
	opacity: .7;
}
#mainframe .img1-1{
	width: 40%;
	order: 2;
	height: -webkit-fill-available;
	border-width: 4px 0 4px 0;
	border-style: solid;
}
#mainframe .img1-2{
	width: 45%;
	margin-top: 10%;
}
#mainframe .img2-1{
	width: 40%;
	margin: auto;
}
#mainframe .img2-2{
	width: 45%;
}
#mainframe .img2-3{
	width: 45%;
	margin-top: 2.5em;
	border-right: 4px solid;
}
#mainframe .img3-1{
	width: 40%;
	border-left: 4px solid;
}
#mainframe .img3-2{
	width: 40%;
	margin-left: 1em;
	border-right: 4px solid;
}
#mainframe .img3-3{
	width: 45%;
	margin-top: 2em;
}
#mainframe .img4-1{
	width: 46%;
}
#mainframe .img4-2{
	width: 39%;
	border-top: 4px solid;
}
#mainframe .deco-4{
	width: 23%;
	position: absolute;
   right: 10%;
   bottom: 10%;
   opacity: .7;
   z-index: 2;
}
#mainframe .deco-8{
	width: 30%;
	position: absolute;
	right: -1%;
	bottom: -1.5%;
	opacity: .7;
	z-index: -1;
}
#mainframe .items{
   width: fit-content;
   width: -webkit-fit-content;
   margin: auto;
   margin-top: 3.5em;
   position: relative;
}
#mainframe .items::before{
	content: '';
	background: #212121;
	display: inline-block;
	width: 2px;
	height: 100%;
	position: absolute;
	left: -15px;
}
#mainframe .items::after{
	content: 'Items';
	display: inline-block;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 110%;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	transform: rotate(180deg);
	position: absolute;
	top: 5px;
   left: -34px;
}
#mainframe .items a,#mainframe .items p{
	font-size:95%;
	letter-spacing: .08em;
	vertical-align: middle;
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	transition: ease .3s;
}
#mainframe .items p{
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	color: #888;
}
#mainframe .items a:hover{
	opacity: .5;
}
#mainframe .items a img,#mainframe .items p img{
	width: 50px;
	display: inline-block;
	margin-right: 15px;
}
#mainframe .more-btn{
	font-family: "Work Sans", sans-serif;
	display: block;
	text-align: center;
	font-size: 12pt;
	font-weight: 400;
	color: #212121;
	border: solid 1px;
	width: fit-content;
	width: -moz-fit-content;
	width: -ms-fit-content;
	width:-webkit-fit-content;
	padding: 1.2em 2.5em;
	-webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    margin:4em auto 0 auto;
}
#mainframe .more-btn:hover{
	-webkit-transform: translateY(6px);
    transform: translateY(6px);
}
#mainframe .gotop{
	width: 40px;
	position: fixed;
	right: 20px;
    bottom: 4.5em;
    z-index: 99;
}
#mainframe .gotop:hover{
	opacity: 0.6;
}

/*======= mobile setting ======= */

@media screen and (max-width: 640px){
	#fade .load_img{
		padding-top: 75%;
	}
	.pc{display: none!important;}
	.sp{display: block!important;}
	#mainframe .wrapper{
		width: 100%;
		overflow-x: hidden;
		padding-bottom: 0;
	}
	#mainframe .mv{
	}
	#mainframe .intro{
		width: 75%;
		margin: 4em auto;
	}
	#mainframe .intro p{
		margin: 0;
		text-align: justify;
	   line-height: 220%;
	   margin-top: 10%;
	}
	#mainframe .content{
		padding: 4em 0;
	}
	#mainframe .content h1{
		margin-bottom: .5em;
	}
	#mainframe .content:first-of-type h1{
		margin-bottom: 1em;
	}
	#mainframe .content h1 small{
		left: 26.5%;
	}
	#mainframe .IMG-1{
		width: 80%;
		display: block;
		border-width: 5px;
	}
	#mainframe .IMG-1 div{
		border-width: 0;
	}
	#mainframe .IMG-1 div:nth-of-type(2){
		border-width: 5px 0 5px 0;
		border-style: solid;
	}
	#mainframe .IMG-1 div:last-of-type{
		position: relative;
	}
	#mainframe .deco-1{
	   width: 30%;
	   top: -2%;
	   bottom: unset;
	   z-index: 1;
	   left: 0;
	}
	#mainframe .deco-1.deco-1-1{
		width: 32%;
		top: 26%;
		left: unset;
		right: 0;
	}
	#mainframe .IMG-2, #mainframe .IMG-3, #mainframe .IMG-4{
		display: block;
	}
	#mainframe .IMG-2::before{
		width: 80%;
      height: 50%;
      right: 0;
	}
	#mainframe .img1-1,#mainframe .img2-2,#mainframe .img3-3{
		width: 80%;
		height: auto;
		margin: auto;
	}
	#mainframe .img1-2{
		width: 70%;
		margin: 2em auto 0 0;
	}
	 #mainframe .img2-1{
	 	width: 70%;
	 	margin: auto;
	 	margin-bottom: 3em;
	 }
	 #mainframe .img2-3{
	 	width: 70%;
	 	margin: 2em 5px 0 auto;
	 }
	#mainframe .deco-3{
		width: 96%;
		left: 2%;
		top: -2%;
		height: 60%;
	}
	#mainframe .deco-6{
		width: 80%;
      height: 50%;
      left: -3%;
      top: -2%;
      background-position-x: right;
	}
	#mainframe .img3-1{
		width: 70%;
		margin: 0 10px 0 auto;
	}
	#mainframe .img3-2{
		width: 70%;
		margin: 1em auto 1.5em 10px;
	}
	#mainframe .deco-4{
		width: 50%;
      right: unset;
      bottom: unset;
      top: 15%;
      left: 0;
      z-index: -1;
	}
	#mainframe .IMG-2.IMG-7::before{
		width: 95%;
      height: 27%;
      right: 0;
		background-position: center;
	}
	#mainframe .img4-1{
		width: 85%;
		margin: 0 auto 2em auto;
	}
	#mainframe .img4-2{
		width: 70%;
		margin: 0 0 0 10px;
	}
	#mainframe .deco-8{
		width: 55%;
		right: 0;
		bottom: 30%;
	}
}

@media(max-width: 414px){
	#mainframe .gotop{
	   width: 40px;
		right: 5px;
		opacity: .7;
	}	
}

@media(max-width: 376px){
	
}
/*---animation setting---*/
.scroll-in{opacity:0;transform:translateY(20px)}
 .scroll-in.show{opacity:1;transition:.5s ease;transform:none}
.look-ph{position:relative;overflow:hidden;width:100%}
.look-ph::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;transition:.7s cubic-bezier(.165,.84,.44,1);background:#e6e6e6;z-index:2}
.look-ph.scroll-in{transform:none}.look-ph.scroll-in img{transform:scale(1.7);transition:1.2s cubic-bezier(.165,.84,.44,1)}.look-ph.scroll-in.show img{transform:scale(1)}
.look-ph.scroll-in.show::before{height:0}
