/* 
https://serp.co/tools/css-reset/
<link rel="stylesheet" href="https://css.serp.co/css-reset/reset.css/">
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}:root {
    --nav-height: 152px;

    --color-primary-1: #870018;
    --color-primary-2: #990000;
    --color-primary-3: #CF000D;
    --color-primary-4: #731919;
    --color-secondary-1: #F0EEEC;
    --color-secondary-2: #354010;
    --color-secondary-3: #003723;
    --color-secondary-4: #8694A6;
    --color-gray-1: #0D0D0D;
    --color-gray-2: #333333;
    --color-gray-3: #5C5C5C;
    --color-gray-4: #8F8F8F;
    --color-gray-5: #DBDBDB;
    --color-gray-6: #F5F5F5;
    
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-xxl: 1440px;

    scroll-padding-top: var(--nav-height) !important;
    scroll-behavior: smooth;
}

@media screen and (width < 1024px) {
    :root {
        --nav-height: 96px;
    }
}
@media screen and (width < 576px) {
    :root {
        --nav-height: 84px;
    }
}

*{
    box-sizing: border-box;
}

html{
    margin-top: 0 !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
    text-rendering: optimizeLegibility;
}

.post, .page{
    margin: 0;
}

a {
    display: block;
    text-decoration: none;
}
a:hover, a:focus, a:active, a:visited{
    color: initial;
}
a:hover,
a:active,
a:focus,
a:focus-visible,
a:visited {
    outline: none;
}

button {
    display: block;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    cursor: pointer;

    &:focus-visible {
        outline: none;
    }
}

img,
svg {
    display: block;
}

@keyframes fade-in {
    0%{
        display: none;
        opacity: 0;
    }
    1%{
        display: block;
        opacity: 0;
    }
    100%{
        display: block;
        opacity: 1;
    }
}

@keyframes fade-out {
    0%{
        display: block;
        opacity: 1;
    }
    99%{
        display: block;
        opacity: 0;
    }
    100%{
        display: none;
        opacity: 0;
    }
}/* Noto Sans TC */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(/assets/c28645d70cf4774e7dbd6374.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(/assets/e4f2df594185519643e4a9ea.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/56b557aec531a1fe97b8f3a0.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/155f04d62f492554854b63ea.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/8c42a41f3cca5fb5625368c7.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/9bfd70d0a8e8e216dec1b8d9.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/63baafd736ebabf6871880ac.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/d4199f7f9f6d5e642c70c7b7.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/e158bbeee6ef0b9c44d29532.ttf) format('truetype');
}

/* Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url(/assets/27f0799fda0ecdb06009cbe9.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url(/assets/bac347aec8db1d65d48ee515.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/7c95cc8247f9613ec145a16e.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/5c99cc931483bcd110840f78.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/06189b1676e010f0b76f4d19.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/568da2c5c9ff1809678a32ad.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/5713e746268abf9496b361c8.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/dd288d3288c34367c933ed7d.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/f629072fded61c2ede692473.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(/assets/266f3b961e405360214aea48.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(/assets/85d6f05f1424ce1de6748dc4.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/2121f7affc79c7745e243245.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/60d735c39b503c9aff1c518d.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/bf743e685dc89804d39169b2.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/f7e5bad013dbb6e2a01df42f.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/720d795c45b1e7116caef6ce.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/b957bafb81b65d190f338359.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/98b43e21c428f0cd7cb9b488.ttf) format('truetype');
}

/* Homemade Apple */
@font-face {
  font-family: 'Homemade Apple';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/128ef5676a3e2d02de329130.ttf) format('truetype');
}


h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
.p,
input,
li,
span,
th,
td {
    font-family: "Noto Sans TC", sans-serif;
    margin-bottom: 0;
    color: var(--color-gray-1);
}

h1,
.h1 {
    font-size: 40px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 5px;
}

h2,
.h2 {
    font-size: 32px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 3px;
}

h3,
.h3 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 3px;
}

h4,
.h4 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 2px;
}

p,
.p {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 350;
    letter-spacing: 2px;
}

.text-small {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 2px;
}

.en-h1{
    font-family: "Calypso", sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
}

@media screen and (max-width:1023px) {
    .en-h1{
        font-size: 60px;
    }
}

@media screen and (max-width:767px) {
    h1,
    .h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    h2,
    .h2 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    h3,
    .h3 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    h4,
    .h4 {
        font-size: 18px;
    }

    p,
    .p {
        font-size: 14px;
    }

    .text-small {
        font-size: 12px;
    }

    .en-h1{
        font-size: 54px;
        letter-spacing: 0px;
    }
}

/* 
font-family: "Calypso", sans-serif;
font-family: "Poppins", sans-serif; 
font-family: "Homemade Apple", cursive;
*/.container {
  max-width: 1248px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

a.dot-btn {
  color: var(--color-primary-2);
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 8px 12px 8px 0;
  line-height: 1;
  display: flex;
}

a.dot-btn:before {
  content: "";
  aspect-ratio: 1;
  background-color: var(--color-primary-3);
  border-radius: 999px;
  width: 24px;
  display: block;
}

a.dot-btn:hover:before {
  animation: .4s infinite alternate dot-btn-animation;
}

@keyframes dot-btn-animation {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(.5);
  }
}

#breadcrumbs > span {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

#breadcrumbs > span > span {
  color: var(--color-gray-4);
  letter-spacing: 2px;
  text-indent: 2px;
  font-size: 14px;
  line-height: 1.5;
}

#breadcrumbs > span > span > a {
  color: inherit;
  transition: color .3s;
}

#breadcrumbs > span > span > a:hover {
  color: var(--color-gray-1);
}

.flex-content-container ul {
  padding-left: 26px;
  list-style: outside;
}

.flex-content-container ul li {
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.8;
}

.tablepress {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 15px;
  min-width: 900px;
  overflow: hidden;
}

.tablepress th, .tablepress td {
  background-color: #fff;
}

.tablepress > thead > tr > * {
  letter-spacing: 2px;
  text-indent: 2px;
  text-align: center;
  border: 1px solid var(--color-secondary-1);
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.tablepress > tbody > tr > * {
  text-align: center;
  vertical-align: middle;
  letter-spacing: 2px;
  text-indent: 2px;
  border: 1px solid var(--color-secondary-1);
  padding: 16px 12px;
  font-size: 14px;
  line-height: 1;
}

.tablepress > tbody > tr > * > a {
  border: 1px solid var(--color-primary-2);
  color: var(--color-primary-4);
  border-radius: 999px;
  padding: 3px 16px;
  transition: color .3s, background-color .3s;
  display: inline;
}

.tablepress > tbody > tr > * > a:hover {
  background-color: var(--color-primary-2);
  color: #fff;
}

.tablepress > tbody > tr > * > span {
  background-color: color-mix(in oklab, var(--color-primary-2) 10%, transparent);
  color: var(--color-primary-2);
  border-radius: 8px;
  padding: 6px 8px;
}

.tablepress > tbody > tr > * > span:before {
  content: "";
  vertical-align: text-top;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%2221%22%20viewBox%3D%220%200%2021%2021%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8.96191%2012.4167L10.8577%2011.2708L12.7536%2012.4167L12.2536%2010.25L13.9202%208.8125L11.7327%208.625L10.8577%206.58333L9.98275%208.625L7.79525%208.8125L9.46191%2010.25L8.96191%2012.4167ZM5.02441%2018.25V3.25H16.6911V18.25L10.8577%2015.75L5.02441%2018.25Z%22%20fill%3D%22%23990000%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  width: 21px;
  height: 21px;
  display: inline-block;
}

.tablepress > tbody > tr > *:first-child, .tablepress > tbody > tr > * > a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

@media screen and (max-width: 767px) {
  .tablepress > thead > tr > * {
    font-size: 14px;
  }

  .tablepress > tbody > tr > * {
    font-size: 12px;
  }

  .tablepress > tbody > tr > *:first-child, .tablepress > tbody > tr > * a {
    font-size: 14px;
  }
}