@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;
}

/* ---------- Banner ---------- */
.banner-wrap {
  width: 100%;
  height: 576px;
  position: relative;
}
.banner-wrap .carousel {
  min-height: 576px;
  height: 576px;
}
.banner-wrap__banner {
  width: 100%;
  height: 576px;
  background-repeat: no-repeat;
  background-position: center center;
}
.banner-wrap__banner.--mobile {
  display: none;
}
.banner-wrap {
  /* dot 要巢狀在 .carousel-indicators 底下，權重才蓋得過 Bootstrap 的 [data-bs-target] 橫條樣式 */
}
.banner-wrap .carousel-indicators {
  position: absolute;
  bottom: 60px;
  gap: var(--spacing-8);
  margin: 0;
}
.banner-wrap .carousel-indicators .banner-wrap__dot {
  background: var(--wc-50);
  width: 8px;
  height: 8px;
  border-radius: var(--radius-8);
  border: none;
}
.banner-wrap__cloud {
  width: 100%;
  position: absolute;
  bottom: -1px;
  z-index: 97;
}
.banner-wrap__cloud.--mobile {
  display: none;
}
@media (max-width: 768px) {
  .banner-wrap .carousel-indicators {
    bottom: 40px;
  }
}
@media (max-width: 576px) {
  .banner-wrap {
    height: 434px;
  }
  .banner-wrap .carousel {
    min-height: 434px;
    height: 434px;
  }
  .banner-wrap__banner {
    height: 434px;
    background-size: cover;
  }
  .banner-wrap__banner.--desktop {
    display: none;
  }
  .banner-wrap__banner.--mobile {
    display: block;
  }
  .banner-wrap__cloud {
    bottom: -8px;
  }
  .banner-wrap__cloud.--desktop {
    display: none;
  }
  .banner-wrap__cloud.--mobile {
    display: block;
  }
}

/* ---------- 區塊容器 ---------- */
.home-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-80);
  padding: var(--spacing-64) 0 0 0;
}
.home-blocks__first {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-80);
  justify-content: center;
  position: relative;
  background: url("/images/index/img-03.png") no-repeat left center;
}
@media (max-width: 992px) {
  .home-blocks__first {
    background: none;
  }
}

/* ---------- 最新消息 ---------- */
.news-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  padding-left: var(--spacing-16);
}
.news-wrap__scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.news-wrap {
  /* width: max-content 讓四張卡不換行；margin auto 在大螢幕置中 */
}
.news-wrap__list {
  display: flex;
  gap: var(--spacing-16);
  width: max-content;
  flex-wrap: nowrap;
  margin: 0 auto;
}
.news-wrap__card {
  background: var(--wc-50);
  width: 288px;
  height: 333px;
  flex-shrink: 0;
  border: 1px solid var(--nc-100);
  border-radius: var(--radius-8);
  padding: var(--spacing-16);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  cursor: pointer;
}
.news-wrap__card:hover {
  border: 2px solid var(--pc-500);
}
.news-wrap__image {
  width: 100%;
  border-radius: var(--radius-8);
}
.news-wrap__texts {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}
.news-wrap__title {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.news-wrap__date {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--nc-500);
  display: flex;
  align-items: center;
  gap: var(--spacing-8);
}
.news-wrap__date-icon {
  width: 20px;
}
.news-wrap__more {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--pc-500);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4);
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 1200px) {
  .news-wrap__list {
    margin: 0;
    padding: 0;
  }
}

/* ---------- 關於冠研 ---------- */
.about-wrap {
  display: flex;
  justify-content: center;
}
.about-wrap__box {
  background: var(--nc-50);
  position: relative;
  width: 1200px;
  height: 528px;
  border-radius: var(--radius-16);
  padding: var(--spacing-24);
}
.about-wrap__image {
  border-radius: var(--radius-8);
}
.about-wrap__image.--mobile {
  display: none;
}
.about-wrap__intro {
  background: var(--wc-50);
  width: 600px;
  position: absolute;
  right: var(--spacing-24);
  top: 50%;
  transform: translate(0, -50%);
  z-index: 97;
  border-radius: var(--radius-8);
  padding: var(--spacing-24);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-18);
}
.about-wrap__content {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-500);
  text-align: center;
}
.about-wrap {
  /* 多掛 .c-button 是為了跟 _button 的 !important 權重打平，只寫 &__button 蓋不掉 100% 寬 */
}
.about-wrap__button.c-button {
  width: 128px !important;
}
@media (max-width: 992px) {
  .about-wrap__box {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .about-wrap__image {
    width: 100%;
  }
  .about-wrap__image.--desktop {
    display: none;
  }
  .about-wrap__image.--mobile {
    display: block;
  }
  .about-wrap__intro {
    position: static;
    transform: none;
    width: 100%;
  }
}

/* ---------- 商品類型 ---------- */
.product-type-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-32);
}
.product-type-wrap__cards {
  display: flex;
  gap: var(--spacing-16);
  width: 1200px;
}
.product-type-wrap__card {
  background: var(--wc-50);
  flex: 1;
  border: 1px solid var(--nc-100);
  border-radius: var(--radius-8);
  padding: var(--spacing-16);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  cursor: pointer;
}
.product-type-wrap__card:hover {
  border: 2px solid var(--pc-500);
}
.product-type-wrap__card img {
  width: 100%;
  border-radius: var(--radius-8);
}
.product-type-wrap__texts {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}
.product-type-wrap__title {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--nc-900);
  text-align: center;
}
.product-type-wrap__desc {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-500);
  height: 72px;
}
@media (max-width: 992px) {
  .product-type-wrap__cards {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .product-type-wrap__card {
    width: 576px;
  }
  .product-type-wrap__desc {
    height: auto;
  }
}
@media (max-width: 576px) {
  .product-type-wrap__card {
    width: 90%;
  }
}

/* ---------- 媒體影音 ---------- */
.video-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: var(--spacing-64);
}
.video-wrap__box {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--spacing-16);
  width: 992px;
  position: relative;
  z-index: 1;
}
.video-wrap__block {
  background: var(--wc-50);
  width: 100%;
  border-radius: var(--radius-16);
  border: 1px solid var(--nc-100);
  padding: var(--spacing-16);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}
.video-wrap__block iframe {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-8);
}
.video-wrap__title {
  font-size: var(--text-hd-h6) !important;
  line-height: var(--text-hd-h6--line-height);
  font-weight: bold;
  color: var(--nc-900);
  text-align: center;
}
.video-wrap__bg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1217px;
  background: url("/images/index/img-08.png") no-repeat center top;
}
@media (max-width: 1440px) {
  .video-wrap__bg {
    background: url("/images/index/img-09.png") no-repeat center top;
    height: 913px;
  }
}
@media (max-width: 992px) {
  .video-wrap__bg {
    background: url("/images/index/img-10.png") no-repeat center top;
    height: 699px;
  }
  .video-wrap__box {
    width: 576px;
  }
  .video-wrap__block iframe {
    height: 270px;
  }
}
@media (max-width: 768px) {
  .video-wrap__bg {
    background: url("/images/index/img-11.png") no-repeat center top;
    background-size: cover;
    height: 623px;
  }
}
@media (max-width: 576px) {
  .video-wrap {
    padding-bottom: var(--spacing-120);
  }
  .video-wrap__box {
    width: 90%;
  }
  .video-wrap__block iframe {
    height: 180px;
  }
  .video-wrap__bg {
    background: url("/images/index/img-12.png") no-repeat center top;
    background-size: cover;
    height: 369px;
  }
}

/* ---------- 地圖 ---------- */
.map-wrap {
  height: 492px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
}
@media (max-width: 576px) {
  .map-wrap {
    height: 408px;
  }
}
