@charset "UTF-8";
/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6

- Letter spacing
-0.5px
0.75px

--- 02 COLORS
- Primary: #1A5AD9
- Tints (淺色調):
#D5D4FF


- Shades (深色調): 
#08a679

- Accents (強調色): #0ACF97
- Greys (灰色調)

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 3.2px
Medium: 15px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}
@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
}
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
}

body {
  box-sizing: border-box;
  font-family: "Noto Sans TC", sans-serif;
  background: #f9fafc;
  color: #313a46;
  --headerHeight: 6.4rem;
}

body * {
  line-height: calc(5px + 2ex + 5px);
}

a:link, a:visited {
  text-decoration: none;
}

/* Generious class */
.ap-width {
  padding-left: calc((100vw - 144rem) / 2);
  padding-right: calc((100vw - 144rem) / 2);
}
@media (max-width: 1641px) {
  .ap-width {
    padding-left: 10rem;
    padding-right: 10rem;
  }
}
@media (max-width: 1280px) {
  .ap-width {
    padding-left: 5.4rem;
    padding-right: 5.4rem;
  }
}
@media (max-width: 1080px) {
  .ap-width {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}
@media (max-width: 768px) {
  .ap-width {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media (max-width: 480px) {
  .ap-width {
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
}

.container {
  width: 100%;
  max-width: 100%;
}

.section-header {
  background: linear-gradient(180deg, #1a5ad9, rgb(17.8148148148, 61.6666666667, 148.6851851852));
  color: #f9fafc;
}

.section-content {
  font-size: 1.6rem;
  text-align: justify;
}

.section-padding {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.ap-ident {
  padding-left: 3rem;
}
.ap-ident li:not(:last-child) {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.ap-ident--secondary {
  padding-left: 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.flex--row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex--col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.align--center {
  align-items: center;
}

.reverse--row {
  flex-direction: row-reverse;
}

.reverse--col {
  flex-direction: column-reverse;
}

.grid {
  display: grid;
  justify-content: space-between;
}

.grid-col--1 {
  grid-template-columns: 1fr;
}

.grid-col--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 59em) {
  .grid-col--2 {
    grid-template-columns: 1fr;
  }
}

.grid-col--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .grid-col--3 {
    grid-template-columns: 1fr;
  }
}

.grid-col--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) {
  .grid-col--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-col--4 {
    grid-template-columns: 1fr;
  }
}

.text--primary {
  color: #1a5ad9;
}

.text-spacing--sm {
  letter-spacing: 1px;
}

.text--start {
  text-align: start;
}

.text--center {
  text-align: center;
}

.text--end {
  text-align: end;
}

.text--justify {
  text-align: justify;
}

.pb--md {
  padding-bottom: 4rem;
}

.mb--xs {
  margin-bottom: 0.8rem;
}

.mb--sm {
  margin-bottom: 1.6rem;
}

.mb--md {
  margin-bottom: 4rem;
}

.mb--lg {
  margin-bottom: 8rem;
}

.ml--sm {
  margin-left: 1.6rem;
}

.ml--lg {
  margin-left: 3.2rem;
}

.mb-minus--md {
  margin-bottom: -4rem;
}

.gap--xs {
  gap: 0.8rem;
}

.gap--sm {
  gap: 1.6rem;
}

.gap--md {
  gap: 3.2rem;
}

.gap--lg {
  gap: 6.4rem;
}

.mx--auto {
  margin: 0 auto;
}

.button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.button--shadow {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .center {
    text-align: center;
  }
}

.ap-icon {
  margin-right: 4px;
}

.ap-btn {
  color: #f9fafc;
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 2rem;
  border-radius: 3.2px;
  font-size: 1.6rem;
  background-color: #0acf97;
  transition: all 0.3s ease-out;
}
.ap-btn:hover, .ap-btn:active {
  background-color: rgb(6.4746543779, 134.0253456221, 97.767281106);
}

.ap-btn.primary {
  margin: 1.6rem 0;
  border-radius: 100px;
  background-color: #1a5ad9;
  transition: all 0.3s ease-out;
}
.ap-btn.primary:hover, .ap-btn.primary:active {
  background-color: rgb(17.8148148148, 61.6666666667, 148.6851851852);
}

.ap-btn.default {
  margin: 1.6rem 0;
  background-color: #888;
  transition: all 0.3s ease-out;
  width: 100%;
}
.ap-btn.default:hover, .ap-btn.default:active {
  background-color: rgb(97.75, 97.75, 97.75);
}

.ap-text-link {
  position: relative;
  font-weight: 500;
  transition: all 0.2s;
}
.ap-text-link::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #1a5ad9;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(50%);
}
.ap-text-link:hover {
  background-color: #1a5ad9;
  color: #f9fafc;
  transform: translateY(-3px);
}

.bg-color--primary {
  color: #fff;
  background-color: #1a5ad9;
}

.block-hidden {
  visibility: hidden;
}

.icon-expand {
  transition: transform 0.3s ease;
}
.icon-expand.on {
  transform: rotate(180deg);
}
.icon-expand.on path {
  fill: #1a5ad9;
}

.icon-info {
  width: 1.6rem;
  height: 1.6rem;
}

.icon--left-arrow {
  margin-left: 0.6rem;
}

.ap-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  color: inherit;
}

.heading-primary {
  font-size: 4rem;
  flex: 1;
}
@media (max-width: 768px) {
  .heading-primary {
    margin-bottom: 1.6rem;
  }
}
@media (max-width: 480px) {
  .heading-primary {
    font-size: 3.2rem;
  }
}
.heading-primary--larger {
  font-size: 4.8rem;
  font-weight: 600;
}
@media (max-width: 480px) {
  .heading-primary--larger {
    font-size: 4rem;
  }
}

.heading-secondary {
  font-size: 2rem;
}

.heading-info-text {
  font-size: 1.6rem;
}
.heading-info-text span {
  display: inline-block;
}

.ap-mask {
  position: fixed;
  inset: 0;
  background-color: rgba(136, 136, 136, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.ap-mask.active {
  opacity: 1;
  visibility: visible;
}

.title-info-text {
  font-size: 1.6rem;
  color: inherit;
  width: calc(50% - 4rem);
  max-width: 56rem;
}
@media (max-width: 768px) {
  .title-info-text {
    font-size: 2rem;
    width: 100%;
    max-width: 100%;
  }
}

.ap-title .heading-primary span {
  display: block;
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.card .card-img-box {
  width: 100%;
  margin-bottom: 3.2rem;
  border-radius: 3.2rem;
  overflow: hidden;
}
.card .card-img-box .card-img {
  width: 100%;
}
.card .card-icon-box {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.5rem;
  background-color: #eeecf8;
}
.card .card-title {
  font-size: 2.1rem;
  margin-bottom: 1.6rem;
}
.card .card-title span {
  font-size: 1.6rem;
  display: block;
  font-weight: 600;
}
.card .card-description {
  font-size: 1.6rem;
  color: #667281;
}
@media (max-width: 768px) {
  .card .card-description {
    font-size: 2rem;
  }
}

.overflow-x-auto {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
}
.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

.content-switcher {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
}
.content-switcher__btn {
  display: inline-flex;
  text-wrap: nowrap;
  border: none;
  font-size: 1.6rem;
  padding: 1rem 2.8rem;
  transition: all 0.3s ease-out;
  background-color: #f9fafc;
  border: 2px solid #eee;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(136, 136, 136, 0.2);
  cursor: pointer;
}
.content-switcher__btn:hover {
  color: #f9fafc;
  background-color: #313a46;
}
.content-switcher__btn.active {
  color: #f9fafc;
  background-color: #1a5ad9;
}
.content-switcher__btn.active:hover {
  background-color: rgb(17.8148148148, 61.6666666667, 148.6851851852);
}
@media (max-width: 480px) {
  .content-switcher {
    justify-content: space-evenly;
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
}

/* Popup */
.popup {
  width: 100%;
  height: 100vh;
  background-color: rgba(43, 43, 43, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.popup__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 1rem 3rem rgba(43, 43, 43, 0.2);
  overflow: hidden;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s 0.2s ease-out;
}
@media (max-width: 540px) {
  .popup__content {
    width: 85%;
    max-width: 400px;
  }
}
.popup__text {
  font-size: 1.6rem;
}
.popup:target {
  opacity: 1;
  visibility: visible;
}
.popup:target .popup__content {
  padding: 5rem;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 540px) {
  .popup:target .popup__content {
    padding: 3rem;
  }
}
.popup__close:link, .popup__close:visited {
  font-size: 3rem;
  line-height: 1;
  text-decoration: none;
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  color: #888;
  transition: color 0.3s;
}
@media (max-width: 480px) {
  .popup__close:link, .popup__close:visited {
    font-size: 2.4rem;
    top: 1.5rem;
    right: 1.5rem;
  }
}
.popup__close:hover {
  color: #1a5ad9;
}

.ap-gif {
  user-select: none;
}
@media (max-width: 480px) {
  .ap-gif {
    width: 12rem;
    height: auto;
  }
}

.text--highlight {
  background-color: #ffff50;
}

/*# sourceMappingURL=general.css.map */
