@charset "UTF-8";
/*
    自定義在最下面
*/
/* Font Weight */
/* Width */
/* Height */
/* Display */
/* Margin */
/* Padding */
/* Cursor */
/* Background Color */
/* Color */
/* Text Limit */
/* 毛玻璃 */
/******************  自定義  ******************/
/* Color */
/* Background Color */
/* Border */
/* Font Size */
/* Heading Desktop */
/* Heading Mobile */
/* Extra Large */
/* Large */
/* Medium */
/* Regular */
/* Small */
/* Small */
/* Button */
:root {
  /* Primary Color */
  --pc-950: #04334D;
  --pc-900: #065074;
  --pc-800: #00608C;
  --pc-700: #0072AA;
  --pc-600: #0090D3;
  --pc-500: #06BAFE;
  --pc-400: #2DC9FF;
  --pc-300: #75DBFF;
  --pc-200: #B6EAFF;
  --pc-100: #DEF3FF;
  --pc-50: #EFFAFF;
  /* Secondary Color */
  --sc-950: #461B02;
  --sc-900: #7A350D;
  --sc-800: #94400C;
  --sc-700: #B75506;
  --sc-600: #DD7902;
  --sc-500: #F9A107;
  --sc-400: #FFC321;
  --sc-300: #FFD74A;
  --sc-200: #FFE888;
  --sc-100: #FFF5C6;
  --sc-50: #FFFBEB;
  /* Neutral Color */
  --nc-950: #1F1B1A;
  --nc-900: #463F3D;
  --nc-800: #504743;
  --nc-700: #5C514C;
  --nc-600: #71665D;
  --nc-500: #85796D;
  --nc-400: #94897B;
  --nc-300: #ACA498;
  --nc-200: #CAC6BE;
  --nc-100: #E4E1DD;
  --nc-50: #F4F4F2;
  /* Black */
  --bc-950: #231815;
  --bc-900: #503B33;
  --bc-800: #5B4338;
  --bc-700: #6B4E3D;
  --bc-600: #856549;
  --bc-500: #9B7B57;
  --bc-400: #AA8D65;
  --bc-300: #BDA987;
  --bc-200: #D5CAB3;
  --bc-100: #E9E4D8;
  --bc-50: #F6F5F0;
  /* White */
  --wc-950: #292929;
  --wc-900: #3D3D3D;
  --wc-800: #464646;
  --wc-700: #525252;
  --wc-600: #656565;
  --wc-500: #7C7C7C;
  --wc-400: #989898;
  --wc-300: #BDBDBD;
  --wc-200: #DCDCDC;
  --wc-100: #EFEFEF;
  --wc-50: #FFFFFF;
  /* Green Color */
  --gc-500: #51C128;
  /* Font-Size */
  /* Heading Desktop */
  --text-hd-h1: 56px;
  --text-hd-h1--line-height: 120%;
  --text-hd-h2: 48px;
  --text-hd-h2--line-height: 120%;
  --text-hd-h3: 40px;
  --text-hd-h3--line-height: 120%;
  --text-hd-h4: 36px;
  --text-hd-h4--line-height: 130%;
  --text-hd-h5: 24px;
  --text-hd-h5--line-height: 140%;
  --text-hd-h6: 20px;
  --text-hd-h6--line-height: 140%;
  /* Heading Mobile */
  --text-hm-h1: 40px;
  --text-hm-h1--line-height: 120%;
  --text-hm-h2: 36px;
  --text-hm-h2--line-height: 130%;
  --text-hm-h3: 32px;
  --text-hm-h3--line-height: 130%;
  --text-hm-h4: 24px;
  --text-hm-h4--line-height: 150%;
  --text-hm-h5: 20px;
  --text-hm-h5--line-height: 140%;
  --text-hm-h6: 18px;
  --text-hd-h6--line-height: 150%;
  /* Extra Large */
  --text-xl: 24px;
  --text-xl--line-height: 140%;
  /* Large */
  --text-lg: 20px;
  --text-lg--line-height: 140%;
  /* Medium */
  --text-md: 18px;
  --text-md--line-height: 140%;
  /* Regular */
  --text-base: 16px;
  --text-base--line-height: 150%;
  /* Small */
  --text-sm: 14px;
  --text-sm--line-height: 150%;
  /* Tiny */
  --text-xs: 12px;
  --text-xs--line-height: 150%;
  /* Radius */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-40: 40px;
  --radius-80: 80px;
  --radius-100: 100px;
  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-18: 18px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-56: 56px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-120: 120px;
  --spacing-240: 240px;
}

/* ---------- 頂圖 ---------- */
.about-banner {
  width: 100%;
  height: 576px;
  background: url("/images/about/img-01.jpg") no-repeat center center;
}
@media (max-width: 768px) {
  .about-banner {
    background: url("/images/about/img-02.jpg") no-repeat center center;
    background-size: cover;
    height: 440px;
  }
}

/* ---------- 公司介紹 ---------- */
.about-intro {
  width: 100%;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}
.about-intro__title {
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.about-intro__subtitle {
  font-size: var(--text-hd-h5) !important;
  line-height: var(--text-hd-h5--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.about-intro__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-16) var(--spacing-24);
  align-items: center;
}
.about-intro__content {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-500);
}
.about-intro__image {
  width: 100%;
  border-radius: var(--radius-8);
}
@media (max-width: 1200px) {
  .about-intro {
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 992px) {
  .about-intro__body {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .about-intro__title {
    font-size: var(--text-hd-h4) !important;
    line-height: var(--text-hd-h4--line-height);
    font-weight: bold;
  }
  .about-intro__subtitle {
    font-size: var(--text-hd-h5) !important;
    line-height: var(--text-hd-h5--line-height);
    font-weight: bold;
  }
}

/* ---------- 公司沿革 ---------- */
.about-history {
  width: 100%;
  height: 544px;
  padding: var(--spacing-32) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-16) var(--spacing-24);
}
.about-history__left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}
.about-history__title {
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.about-history__image {
  width: 100%;
  border-radius: var(--radius-8);
}
.about-history__timelines {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  height: 460px;
  overflow-y: scroll;
}
.about-history {
  /* util.scss 全站隱藏捲軸，這裡要打開，否則看不出沿革能往下捲 */
}
.about-history__timelines::-webkit-scrollbar {
  display: initial;
  width: 6px;
}
.about-history__timelines::-webkit-scrollbar-thumb {
  background: var(--nc-200);
  border-radius: var(--radius-8);
}
.about-history__timeline {
  display: flex;
  gap: var(--spacing-12);
}
.about-history__year {
  font-size: var(--text-hm-h4) !important;
  line-height: var(--text-hm-h4--line-height);
  font-weight: bold;
  color: var(--pc-800);
  border-right: 1px solid var(--nc-100);
  padding-right: var(--spacing-12);
  width: 72px;
  flex-shrink: 0;
}
.about-history__content {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-900);
  line-height: 200%;
  width: calc(100% - 72px);
}
@media (max-width: 1200px) {
  .about-history {
    padding: var(--spacing-32) var(--spacing-16);
  }
}
@media (max-width: 992px) {
  .about-history {
    height: auto;
    grid-template-columns: 1fr;
  }
  .about-history__image {
    display: none;
  }
  .about-history__timelines {
    height: auto;
    overflow-y: visible;
  }
}
@media (max-width: 576px) {
  .about-history__title {
    font-size: var(--text-hd-h5) !important;
    line-height: var(--text-hd-h5--line-height);
    font-weight: bold;
  }
  .about-history__year {
    font-size: var(--text-hm-h6) !important;
    line-height: var(--text-hm-h6--line-height);
    font-weight: bold;
  }
  .about-history__content {
    font-size: var(--text-sm) !important;
    line-height: var(--text-sm--line-height);
  }
}

/* ---------- 四張服務卡 ---------- */
.about-service {
  background: var(--pc-50);
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--spacing-40) 0;
}
.about-service__cards {
  width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-16) var(--spacing-24);
}
.about-service__card {
  background: var(--wc-50);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-18);
  padding: var(--spacing-24);
  border-radius: var(--radius-8);
}
.about-service__card img {
  width: 48px;
  margin: 0 auto;
}
.about-service__card-title {
  font-size: var(--text-md) !important;
  line-height: var(--text-md--line-height);
  font-weight: bold;
  color: var(--nc-900);
  text-align: center;
}
.about-service__card-content {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--nc-500);
  text-align: center;
}
@media (max-width: 1200px) {
  .about-service {
    padding: var(--spacing-40) var(--spacing-16);
  }
  .about-service__cards {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .about-service__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .about-service__card {
    gap: var(--spacing-12);
    padding: var(--spacing-16);
  }
  .about-service__card-title {
    font-size: var(--text-base) !important;
    line-height: var(--text-base--line-height);
    font-weight: bold;
  }
}

/* ---------- 地圖 ---------- */
.about-map {
  width: 100%;
  height: 450px;
}
.about-map iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-8);
}
@media (max-width: 1200px) {
  .about-map {
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 576px) {
  .about-map {
    padding: 0;
  }
  .about-map iframe {
    border-radius: 0;
  }
}

/* 疊兩個 class 且 about.css 在 site.css 之後載入，才壓得過 frame.scss 的 .main .blocks-wrap__container */
@media (max-width: 576px) {
  .blocks-wrap__container.about-map-block {
    padding-bottom: 0;
  }
}
