/* 字型定義項目 */

@font-face {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Light.woff2) format('woff2'),
         url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Light.woff) format('woff'),
         url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Light.otf) format('opentype');
}

@font-face {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.woff2) format('woff2'),
         url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.woff) format('woff'),
         url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 500;
    src: url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Medium.woff2) format('woff2'),
         url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Medium.woff) format('woff'),
         url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Medium.otf) format('opentype');
}

@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Bold.woff2) format('woff2'),
       url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Bold.woff) format('woff'),
       url(https://fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Bold.otf) format('opentype');
}

/* 一般定義項目 */
body, header, main, footer, article, nav, ul, li, div {
    display: block;
}

main, article, section, nav, ul, li, div {
    position: relative;
}

body, header, main, footer, article, ul, li, form {
    margin: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
}

html {
    font-size: 100px; /* 100px = 1rem */
}

body {
    font-family: "PingFang TC", "Noto Sans TC", sans-serif;
    font-size: 0.14rem;
    background-color: hsla(204,0%,96%,1);
}

header {
    position: fixed;
    width: 100%;
    height: 0.49rem;
    top: 0rem;
    background-color: hsla(204,88%,16%,0.8);
    border-style: solid solid solid solid; /* 上 右 下 左 */
    border-width: 0rem 0rem 0.01rem 0rem; /* 上 右 下 左 */
    border-color: hsla(204,24%,70%,0.8) hsla(204,24%,70%,0.8) hsla(204,24%,70%,0.8) hsla(204,24%,70%,0.8); /* 上 右 下 左 */
    -webkit-backdrop-filter: saturate(180%) blur(0.20rem);
    backdrop-filter: saturate(180%) blur(0.20rem);
    z-index: 3;
}

main {
    width: 100%;
    height: 100%;
    padding: 0.50rem 0rem 0.40rem 0rem; /* 上 右 下 左 */
    z-index: 1;
}

footer {
    position: fixed;
    width: 100%;
    height: 0.40rem;
    bottom: 0rem;
    background-color: hsla(204,0%,100%,0.8);
    border-style: solid solid solid solid; /* 上 右 下 左 */
    border-width: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    border-color: hsla(204,88%,24%,0.8) hsla(204,88%,24%,0.8) hsla(204,88%,24%,0.8) hsla(204,88%,24%,0.8); /* 上 右 下 左 */
    -webkit-backdrop-filter: saturate(80%) blur(0.10rem);
    backdrop-filter: saturate(80%) blur(0.10rem);
    z-index: 2;
}

article {
    width: 100%;
    padding: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
}

section {
    width: 2.66rem;
    height: 2.66rem;
    margin: 0.05rem 0.05rem 0.05rem 0.05rem; /* 上 右 下 左 */
}

nav {
    width: 100%;
    height: 0.50rem;
    max-width: 6.00rem;
}

ul {
    width: 100%;
    height: 0.50rem;
    padding: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    list-style-type: none;
}

li {
    float: left;
    height: 0.50rem;
}

h1 {
    font-weight: 700;
    font-size: 0.48rem;
    color: hsla(204,88%,24%,1);
    margin: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    margin-block-start: 0rem;
    margin-block-end: 0rem;
    padding: 0.20rem 0rem 0.08rem 0rem; /* 上 右 下 左 */
}

h2 {
    font-weight: 500;
    font-size: 0.24rem;
    color: hsla(204,88%,24%,1);
    margin: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    margin-block-start: 0rem;
    margin-block-end: 0rem;
    padding: 0.12rem 0rem 0.12rem 0rem; /* 上 右 下 左 */
}

p {
    font-weight: 400;
    font-size: 0.14rem;
    color: hsla(204,0%,48%,1);
    margin: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    margin-block-start: 0rem;
    margin-block-end: 0rem;
    padding: 0rem 0rem 0.06rem 0rem; /* 上 右 下 左 */
}

strong {
    font-weight: 700;
    color: hsla(204,12%,34%,1);
}

iframe {
    width: 100%;
    max-width: 7.11rem;
    height: 4.00rem;
    margin: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    border-style: solid solid solid solid; /* 上 右 下 左 */
    border-width: 0rem 0rem 0rem 0rem; /* 上 右 下 左 */
    border-color: hsla(204,88%,24%,0.8) hsla(204,88%,24%,0.8) hsla(204,88%,24%,0.8) hsla(204,88%,24%,0.8); /* 上 右 下 左 */
}


/* img自定義項目 */

.size265 {
    max-width: 2.10rem;
    max-height: 2.10rem;
}

.size90w {
    max-width: 90%;
}

.size80h {
    max-height: 80%;
}
    
/* a自定義項目 */

a {
    text-decoration:none;
    color: hsla(204,0%,70%,1);
}

a:hover, a:active {
    color: hsla(204,98%,80%,1);
}

.nav {
    float: right;
    font-weight: 400;
    width: 100%;
    height: 0.50rem;
    line-height: 0.50rem;
}

.nav.index {
    background-image: url("../images/nav.svg");
    background-size: 100% 1.00rem;
    background-repeat: no-repeat;
}

.nav.index:link, .nav.index:visited {
    background-position: center 0rem;
}

.nav.index:hover, .nav.index:active {
    background-position: center -0.50rem;
    background-color: hsla(204,98%,0%,0.5);
}

.nav.link1:link, .nav.link1:visited {
    color: hsla(204,98%,96%,1);
}

.nav.link1:hover, .nav.link1:active {
    color: hsla(204,98%,80%,1);
    background-color: hsla(204,98%,0%,0.5);
}

.nav.link1ing {
    color: hsla(204,98%,80%,0.5);
}

.nav2 {
    float: right;
    font-weight: 400;
    width: 100%;
    height: 0.50rem;
    line-height: 0.50rem;
}

.nav2.link1:link, .nav2.link1:visited {
    color: hsla(204,98%,96%,1);
}

.nav2.link1:hover, .nav2.link1:active {
    color: hsla(204,98%,80%,1);
}

.nav2.link1ing {
    color: hsla(204,98%,80%,0.5);
}

.button1 {
    background-color: hsla(204,98%,16%,1);
    border: none;
    padding: 0.12rem 0.24rem 0.12rem 0.24rem; /* 上 右 下 左 */
    border-radius: 0.12rem 0.12rem 0.12rem 0.12rem; /* 左上 右上 右下 左下 */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.16rem;
}

.close {
    display: block;
    position: absolute;
    top: 0.12rem;
    right: 0.12rem;
    width: 0.50rem;
    height: 0.50rem;
    background-image: url("../images/close.svg");
    background-size: 0.50rem 0.50rem;
    background-repeat: no-repeat;
    z-index: 9;
}

.close:link, .close:visited {
    opacity: 0.5;
}

.close:hover, .close:active {
    opacity: 1;
}

.banner {
    width: 25%;
    height: 4.00rem;
    background-image: url("../images/banner.svg");
    background-size: 25.60rem 32.00rem;
    background-position: center 0rem;
    background-repeat: no-repeat;
}

.bannerSingle {
    width: 100%;
    height: 4.00rem;
    background-image: url("../images/banner.svg");
    background-size: 25.60rem 32.00rem;
    background-position: center 0rem;
    background-repeat: no-repeat;
}

.bannerEN {
    width: 25%;
    height: 4.00rem;
    background-image: url("../images/banner-en.svg");
    background-size: 25.60rem 32.00rem;
    background-position: center 0rem;
    background-repeat: no-repeat;
}

.bannerSingleEN {
    width: 100%;
    height: 4.00rem;
    background-image: url("../images/banner-en.svg");
    background-size: 25.60rem 32.00rem;
    background-position: center 0rem;
    background-repeat: no-repeat;
}

.banner.pic01, .bannerSingle.pic01 {
    background-position: center 0rem;
    background-repeat: no-repeat;
}

.banner.pic02, .bannerSingle.pic02 {
    background-position: center -4.00rem;
    background-repeat: no-repeat;
}

.banner.pic03, .bannerSingle.pic03 {
    background-position: center -8.00rem;
    background-repeat: no-repeat;
}

.banner.pic04, .bannerSingle.pic04 {
    background-position: center -12.00rem;
    background-repeat: no-repeat;
}

.banner.pic05, .bannerSingle.pic05 {
    background-position: center -16.00rem;
    background-repeat: no-repeat;
}

.banner.pic06, .bannerSingle.pic06 {
    background-position: center -20.00rem;
    background-repeat: no-repeat;
}

.banner.pic07, .bannerSingle.pic07 {
    background-position: center -24.00rem;
    background-repeat: no-repeat;
}

.banner.pic08, .bannerSingle.pic08 {
    background-position: center -28.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic01, .bannerSingleEN.pic01 {
    background-position: center 0rem;
    background-repeat: no-repeat;
}

.bannerEN.pic02, .bannerSingleEN.pic02 {
    background-position: center -4.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic03, .bannerSingleEN.pic03 {
    background-position: center -8.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic04, .bannerSingleEN.pic04 {
    background-position: center -12.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic05, .bannerSingleEN.pic05 {
    background-position: center -16.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic06, .bannerSingleEN.pic06 {
    background-position: center -20.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic07, .bannerSingleEN.pic07 {
    background-position: center -24.00rem;
    background-repeat: no-repeat;
}

.bannerEN.pic08, .bannerSingleEN.pic08 {
    background-position: center -28.00rem;
    background-repeat: no-repeat;
}


/* div自定義項目 */

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inLine {
    display: inline-block;
}

.bannerArea {
    width: 100%;
    height: 4.00rem;
    overflow: hidden;
}

.bannerFrame {
    width: 100%;
    height: 4.00rem;
    background-color: hsla(204,0%,90%,1);
}

.bannerCollection {
    width: 400%;
    height: 4.00rem;
}

.flexBox {
    max-width: 11.04rem;
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery {
    position: fixed;
    top: 200%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 95%;
    background-color: hsla(204,32%,100%,0);
    border-radius: 0.12rem 0.12rem 0.12rem 0.12rem; /* 左上 右上 右下 左下 */
    -webkit-backdrop-filter: saturate(180%) blur(0.30rem);
    backdrop-filter: saturate(180%) blur(0.30rem);
    z-index: 7;
}

.galleryContent {
    position: fixed;
    top: 200%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 95%;
    background-color: hsla(204,32%,100%,0.8);
    border-radius: 0.12rem 0.12rem 0.12rem 0.12rem; /* 左上 右上 右下 左下 */
    box-shadow: 0rem 0rem 0.24rem 0rem hsla(204,0%,0%,0.25); /* X Y Blur Spread Color inset */
    z-index: 8;
}

/* 類別項目 */

.hidden {
    display: none;
}

.display {
    display: block;
}

.center {
    left: 50%;
    transform: translate(-50%, 0);
}

.bottom {
    bottom: 0.05rem;
}

.centerMiddle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.textLeft {
    text-align: left;
}

.textCenter {
    text-align: center;
}

.maxWidth600 {
    max-width: 6.00rem;
}

.maxWidth1104 {
    max-width: 11.04rem;
}

.width100 {
    width: 100%;
}

.width75 {
    width: 75%;
}

.width50 {
    width: 50%;
}

.width33 {
    width: 33.33%;
}

.width25 {
    width: 25%;
}

.width20 {
    width: 20%;
}

.width16 {
    width: 16.66%;
}

.height100 {
    height: 100%;
}

.height40 {
    height: 0.40rem;
}

.height50 {
    height: 0.50rem;
}

.marginCenter0 {
    margin: 0rem auto 0rem auto; /* 上 右 下 左 */
}

.marginCenter10 {
    margin: 0.10rem auto 0rem auto; /* 上 右 下 左 */
}

.padding40 {
    padding-left: 0.40rem;
    padding-right: 0.40rem;
}

.padding60 {
    padding-left: 0.60rem;
    padding-right: 0.60rem;
}

.line18 {
    line-height: 0.18rem;
    white-space: pre;
}

.line36 {
    line-height: 0.36rem;
}

.line50 {
    height: 0.50rem;
    line-height: 0.50rem;
}

.nowrap {
    white-space: nowrap;
}

.smallText {
    font-size: 0.12rem;
    font-weight: 400;
}

.round12 {
    border-radius: 0.12rem 0.12rem 0.12rem 0.12rem; /* 左上 右上 右下 左下 */
}

.shadow24 {
    box-shadow: 0rem 0rem 0.24rem 0rem hsla(204,0%,0%,0.10); /* X Y Blur Spread Color inset */
}

.backgroundColor {
    background-color: hsla(204,32%,90%,1)
}

.backgroundWhite {
    background-color: hsla(204,32%,100%,1)
}

.backgroundBlack {
    background-color: hsla(204,0%,0%,1)
}


/*動畫項目*/
@keyframes bannerSlide {
    0%   {left: 0%;}
    14%  {left: 0%;}
    17%  {left: -100%;}
    31%  {left: -100%;}
    34%  {left: -200%;}
    48%  {left: -200%;}
    50%  {left: -300%;}
    64%  {left: -300%;}
    66%  {left: -200%;}
    80%  {left: -200%;}
    83%  {left: -100%;}
    97%  {left: -100%;}
    100% {left: 0%;}
}

@keyframes fadeIn {
    from {opacity: 0; top: 200%;}
    to {opacity: 1; top: 50%;}
}

@keyframes fadeOut {
    from {opacity: 1; top: 50%;}
    to {opacity: 0; top: 200%;}
}

.bannerSlide {
    animation-name: bannerSlide;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: normal;
}

.fadeIn {
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-direction: normal;
}

.fadeOut {
    animation-name: fadeOut;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-direction: normal;
}


/*form自定義項目*/

form {
    width: 100%;
    padding: 0rem 0rem 0rem 0rem; /*上 右 下 左*/
    font-size: 0.14rem;
    color: hsla(204,0%,48%,1);
}

label, select, input[type=date], input[type=radio], input[type=checkbox] {
    font-weight: 400;
    font-size: 0.14rem;
    color: hsla(204,0%,48%,1);
}

input[type=text], input[type=number], textarea {
    font-size: 0.14rem;
    font-weight: 400;
    color: hsla(204,0%,48%,1);
    margin: 0.02rem 0.01rem 0.02rem 0.01rem; /*上 右 下 左*/
    padding: 1px 1px 1px 1px; /*上 右 下 左*/
    border-width: 1px 1px 1px 1px; /* 上 右 下 左 */
}

input[type=button], input[type=submit], input[type=reset] {
    height: 0.24rem;
    padding: 0.05rem 0.10rem 0.05rem 0.10rem; /*上 右 下 左*/
    font-weight: 400;
    font-size: 0.14rem;
    color: hsla(204,0%,48%,1);
}

textarea {
    resize: none;
}

@media only screen and (max-width: 640px){
  html{
    font-size: 60px;
  }
}
