﻿@charset "utf-8";
@import url("normalize.css");
@import url("header.css");

html,body{
	width: 100%;
    /*max-width: 1920px;*/
    margin:0 auto;
    position:relative;
    font-family:  'Microsoft JhengHei',Helvetica, serif;

}

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style:none;
    background-repeat:no-repeat;
    text-decoration:none;/*去底線*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;/*解除padding*/
    font-family:"Microsoft JhengHei",Arial,Helvetica,sans-serif;
}

a {
    color: inherit; /* a 顏色為上層級的預設值*/
}
/*LOADING*/
.loading {
    width:100%;
    height:100%;
    background-color:#FFF;
    z-index:999;
    position:fixed;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.loading > .spinner {
    width: 100px;
    height: 112px;
    position: absolute;
    left:0;
    top:0;
    right: 0;
    bottom: 0;
    margin: auto;
    color: #006b36;
    text-align:center;
}
.loading > .spinner .title img {
    width: 100%;
    padding: 0 20px;
}
.loading > .spinner .total_point {
    padding-top: 10px;
    font-size: 0px;
}
.loading > .spinner .total_point .point {
  width: 10px;
  height: 10px;
  margin: 4px;
  background-color: #260e38;
  display: inline-block;
   -webkit-animation: sk-bouncedelay 1.6s infinite ease-in-out both;
   animation: sk-bouncedelay 1.6s infinite ease-in-out both;
}
@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { background-color:#260e38; opacity:0.5; }
  40% { background-color:#0d135c; opacity:1;}
}
@keyframes sk-bouncedelay {
  0%, 80%, 100% { background-color:#260e38; opacity:0.5; }
  40% { background-color:#0d135c; opacity:1;}
}
.loading > .spinner .total_point .point.bounce1 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
.loading > .spinner .total_point .point.bounce2 {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
.loading > .spinner .total_point .point.bounce3 {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}




h1 {font-size: 30px; line-height: 100%; margin: 0;}
h2 {font-size: 22px; line-height: 200%; margin: 0; font-weight: normal;}
h3 {font-size: 18px; line-height: 180%; margin: 0; font-weight: normal;}
h4 {font-size: 16px; line-height: 100%; margin: 0; font-weight: normal;}
h5 {font-size: 14px; line-height: 100%; margin: 0; font-weight: normal;}
p {font-size: 12px; line-height: 100%; margin: 0;}


@media screen and (max-width: 1366px) {

h1 {font-size: 28px; }
h2 {font-size: 20px; }
h3 {font-size: 16px; }
h4 {font-size: 16px; }
h5 {font-size: 14px; }
p {font-size: 12px; }
}

@media screen and (max-width: 768px) {

h1 {font-size: 24px; }
h2 {font-size: 18px; }
h3 {font-size: 16px; }
h4 {font-size: 14px; }
h5 {font-size: 14px; }
p {font-size: 12px; }
}

/*SCROLL_動畫*/
/*.animated {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}*/
/*動畫用*/
.aniLeft, .aniRight, .aniUp, .aniDown, .aniNoMove, .aniScale  {
    transition:all 0.5s ease-out 0.3s;
    -moz-transition: all 0.5s ease-out 0.3s;    /* Firefox 4 */
    -webkit-transition: all 0.5s ease-out 0.3s; /* Safari 和 Chrome */
    -o-transition: all 0.5s ease-out 0.3s; /* Opera */
    opacity: 0;
}
.aniScale {
    transform: scale(1.2);
    -ms-transform:scale(1.2);   /* IE 9 */
    -moz-transform:scale(1.2);  /* Firefox */
    -webkit-transform:scale(1.2); /* Safari 和 Chrome */
    -o-transform:scale(1.2);    /* Opera */
    transform-origin: 50% 50%;
    -ms-transform-origin:50% 50%;   /* IE 9 */
    -webkit-transform-origin:50% 50%;   /* Safari 和 Chrome */
    -moz-transform-origin:50% 50%;      /* Firefox */
    -o-transform-origin:50% 50%;    /* Opera */
}

.aniLeft {
    transform: translateX( -20px);
    -ms-transform:translateX( -20px);              /* IE 9 */
    -moz-transform:translateX( -20px);       /* Firefox */
    -webkit-transform:translateX( -20px);       /* Safari 和 Chrome */
    -o-transform:translateX( -20px);                /* Opera */
}
.aniRight {
    transform: translateX( 20px);
    -ms-transform:translateX( 20px);              /* IE 9 */
    -moz-transform:translateX( 20px);       /* Firefox */
    -webkit-transform:translateX( 20px);       /* Safari 和 Chrome */
    -o-transform:translateX( 20px);                 /* Opera */
}
.aniUp {
    transform: translateY( -20px);
    -ms-transform:translateY( -20px);              /* IE 9 */
    -moz-transform:translateY( -20px);       /* Firefox */
    -webkit-transform:translateY( -20px);       /* Safari 和 Chrome */
    -o-transform:translateY( -20px);                /* Opera */
}
.aniDown {
    transform: translateY( 20px);
    -ms-transform:translateY( 20px);              /* IE 9 */
    -moz-transform:translateY( 20px);       /* Firefox */
    -webkit-transform:translateY( 20px);       /* Safari 和 Chrome */
    -o-transform:translateY( 20px);                 /* Opera */
}
.aniLeft.onShow, .aniRight.onShow, .aniUp.onShow, .aniDown.onShow, .aniNoMove.onShow, .aniScale.onShow  {
    opacity: 1;
    transform: translate(0, 0);
    -ms-transform: translate(0, 0);     /* IE 9 */
    -moz-transform: translate(0, 0);    /* Firefox */
    -webkit-transform: translate(0, 0);  /* Safari 和 Chrome */
    -o-transform: translate(0, 0);      /* Opera */
    transform: scale(1);
    -ms-transform:scale(1); /* IE 9 */
    -moz-transform:scale(1);    /* Firefox */
    -webkit-transform:scale(1); /* Safari 和 Chrome */
    -o-transform:scale(1);  /* Opera */
}

/*fixed_btn*/
.fixed_btn {
    position:fixed;
    right: 20px;
    bottom: 30px;
    cursor:pointer;
    transition: all 0.2s ease-out;
    z-index: 70;
}
.fixed_btn .top_btn {
    width: 50px;
    height: 50px;
    background-size: contain;
    background-image: url(../images/top_arrow.png);
    background-position: center;
    background-color: #000;
}
@media screen and (max-width: 1024px) {
.fixed_btn .top_btn {
    width: 40px;
    height: 40px;
}
}
