@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
@font-face {
  font-family: "LINESeedTW";
  src: url("../fonts/LINESeedTW_OTF_Th.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LINESeedTW";
  src: url("../fonts/LINESeedTW_OTF_Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LINESeedTW";
  src: url("../fonts/LINESeedTW_OTF_Bd.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JockeyOne";
  src: url("../fonts/JockeyOne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GlowSansTC";
  src: url("../fonts/GlowSansTC-Condensed-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GlowSansTC";
  src: url("../fonts/GlowSansTC-Condensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.portfolio-content {
  padding-bottom: 128px;
}
@media (max-width: 820px) {
  .portfolio-content {
    padding-bottom: 80px;
  }
}

.portfolio-page {
  background-color: #F0F0F0;
}

.portfolio-hero {
  height: 260px;
  background: url("./../src/img/portfolio_mainpic.jpg");
  background-size: 150% auto;
  background-position: center;
  position: relative;
}
@media (max-width: 820px) {
  .portfolio-hero {
    height: 120px;
  }
}
.portfolio-hero__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.portfolio-hero__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  font-size: 5.5555555556rem;
  font-family: "JockeyOne", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  color: #000;
}
@media (max-width: 820px) {
  .portfolio-hero__title {
    font-size: 30px;
    line-height: 1.6;
  }
}

.portfolio-nav {
  position: relative;
  background: #fff;
  padding: 2px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 48px;
}
@media (max-width: 820px) {
  .portfolio-nav {
    margin-bottom: 15px;
    padding: 10px 20px;
  }
}
.portfolio-nav__list {
  max-width: 1008px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
  padding: 20px 0;
}
@media (max-width: 820px) {
  .portfolio-nav__list {
    display: none;
  }
}
.portfolio-nav__item {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.45;
}
.portfolio-nav__item:hover {
  color: #D10000;
}
.portfolio-nav__item.active {
  border-bottom: 2px solid black;
}

.portfolio-nav-mobile {
  display: none;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
}
@media (max-width: 820px) {
  .portfolio-nav-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.portfolio-nav-mobile .link + .nav-dropdown:before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url("./../src/svg/arrow_right_grey.svg");
  background-position: center;
  background-size: 100%;
  vertical-align: middle;
}

.nav-dropdown__btn {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  right: 0;
  width: 100%;
  background: #f8f8f8;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease-out;
  transition: max-height 0.3s ease-out;
}
.nav-dropdown__item a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  text-align: center;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}
.nav-dropdown__item.active a {
  color: #D10000;
}
.nav-dropdown__item:not(:last-child) {
  border-bottom: 1px solid #eee;
}
.nav-dropdown.is-open .nav-dropdown__btn::after {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.nav-dropdown.is-open .nav-dropdown__menu {
  max-height: 500px;
}

.portfolio-section-header {
  position: relative;
  margin-bottom: 56px;
  display: block;
}
.portfolio-section-header .portfolio-section-title {
  max-width: 1600px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
  font-size: 2.6666666667rem;
  font-weight: bold;
  padding-bottom: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.portfolio-section-header .portfolio-section-title span {
  position: relative;
  color: #666;
}
.portfolio-section-header .portfolio-section-title span:before {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: calc(50vw - 800px + 100%);
  left: calc(-50vw + 800px);
  right: 0;
  bottom: 0;
  background-color: #666666;
}
@media (max-width: 1650px) {
  .portfolio-section-header .portfolio-section-title span:before {
    width: calc(20px + 100%);
    left: -20px;
  }
}
@media (max-width: 820px) {
  .portfolio-section-header .portfolio-section-title {
    font-size: 2rem;
  }
}
@media (max-width: 1600px) {
  .portfolio-section-header:after {
    width: 20px;
  }
}
@media (max-width: 820px) {
  .portfolio-section-header {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .portfolio-section-header:after {
    width: 20px;
    bottom: 0.44em;
  }
}

.portfolio-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  padding: 0 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -ms-grid-columns: 1fr 3.6458333333vw 1fr 3.6458333333vw 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.6458333333vw;
}
@media (max-width: 820px) {
  .portfolio-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.work-card {
  background: #fff;
  text-decoration: none;
  display: block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid #ccc;
}
@media (max-width: 820px) {
  .work-card {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}
.work-card:hover {
  -webkit-box-shadow: 0 1px 16px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 16px rgba(0, 0, 0, 0.1);
}
.work-card__img {
  aspect-ratio: 480/320;
  background: #ccc;
  position: relative;
}
.work-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.work-card__tag {
  position: absolute;
  right: 0;
  bottom: -13px;
  background: #666;
  color: #fff;
  font-size: 16px;
  padding: 0 13px;
  line-height: 30px;
  font-weight: bold;
}
@media (max-width: 820px) {
  .work-card__tag {
    font-size: 1rem;
    line-height: 2rem;
    padding: 0 16px;
    bottom: -9px;
  }
}
.work-card__info {
  padding: 11px 20px;
}
.work-card__url {
  font-size: 14px;
  color: #999;
  display: block;
  margin-bottom: 5px;
}
@media (max-width: 820px) {
  .work-card__url {
    font-size: 1rem;
  }
}
.work-card__title {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 820px) {
  .work-card__title {
    font-size: 1.6666666667rem;
  }
}

.pagination {
  margin-top: 90px;
}
.pagination__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 37px;
}
.pagination__item a {
  display: inline-block;
  min-width: 16px;
  text-align: center;
  text-decoration: none;
  color: #333;
  line-height: 24px;
  font-family: "JockeyOne", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.pagination__item.is-active a {
  color: #d9534f;
  border-bottom: 2px solid #d9534f;
}

.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
@media (max-width: 820px) {
  .floating-actions {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
  }
}
.floating-actions .btn-contact {
  background: #cc0000;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
}
.floating-actions .btn-solution {
  background: #fff;
  color: #cc0000;
  border: 2px solid #cc0000;
  padding: 10px 25px;
  border-radius: 50px;
}

.breadcrumb {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1.1111111111rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #666;
  position: relative;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
  margin-bottom: 46px;
}
.breadcrumb:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: calc(50vw - 825px + 100%);
  left: calc(-50vw + 825px);
  height: 2px;
  background: #666666;
}
@media (max-width: 1650px) {
  .breadcrumb:before {
    width: calc(20px + 100%);
    left: -20px;
  }
}
.breadcrumb a {
  text-decoration: none;
  color: inherit;
}
.breadcrumb .link {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
}
@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

.nav-arrow {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url("./../src/svg/arrow_right_grey.svg");
  background-position: center;
  background-size: 100%;
  vertical-align: middle;
}

.detail-intro {
  padding: 0 20px;
  padding-bottom: 77px;
  max-width: 1680px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}
.detail-intro__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(43%, 720px) 4.1666666667vw 51%;
  grid-template-columns: minmax(43%, 720px) 51%;
  gap: 4.1666666667vw;
}
@media (max-width: 768px) {
  .detail-intro__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 768px) {
  .detail-intro {
    padding-bottom: 10px;
  }
}

.detail-gallery {
  max-width: 720px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  margin-bottom: 18px;
}
.detail-gallery__main {
  background: #999;
  aspect-ratio: 720/480;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .detail-gallery__main {
    margin-bottom: 5px;
  }
}
.detail-gallery img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.detail-gallery__thumbs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}
.detail-gallery__thumbs .thumb-item {
  width: 100%;
  background: #999;
  aspect-ratio: 232/155;
}
@media (max-width: 768px) {
  .detail-gallery__thumbs {
    gap: 5px;
  }
}

.detail-info__title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 4px;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}
@media (max-width: 768px) {
  .detail-info__title {
    font-size: 24px;
    margin-bottom: 0;
  }
}
.detail-info__url {
  color: #D10000;
  font-weight: bold;
  display: block;
  font-family: "JockeyOne", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  margin-bottom: 36px;
  font-size: 24px;
}
@media (max-width: 768px) {
  .detail-info__url {
    font-size: 18px;
    margin-bottom: 7px;
  }
}
.detail-info__desc {
  line-height: 30px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .detail-info__desc {
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }
}
.detail-info__colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-bottom: 35px;
}
.detail-info__colors .color-dot {
  width: 30px;
  height: 30px;
}
@media (max-width: 768px) {
  .detail-info__colors {
    gap: 20px;
    margin-bottom: 20px;
  }
}
.detail-info__features {
  font-size: 14px;
  line-height: 30px;
  color: #666666;
  margin-bottom: 20px;
}
.detail-info ul {
  font-size: 14px;
  line-height: 30px;
}
.detail-info .bullet {
  padding-left: 2.5rem;
}
.detail-info .bullet li::marker {
  content: "● ";
}

.divider {
  margin-bottom: 20px;
}

.feature-block {
  position: relative;
  height: 800px;
}
@media (max-width: 768px) {
  .feature-block {
    height: auto;
    min-height: 450px;
  }
}
.feature-block__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
}
@media (max-width: 768px) {
  .feature-block__content {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
    text-align: center;
    gap: 30px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 0 20px;
    padding-bottom: 25px;
  }
}
.feature-block__image {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .feature-block__image {
    aspect-ratio: 318/263;
  }
}
.feature-block__image img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  height: 100%;
}

.section-1,
.section-3 {
  background-color: white;
}

.section-1 .feature-block__content {
  position: absolute;
  bottom: 138px;
  left: 12.5vw;
}
@media (max-width: 768px) {
  .section-1 .feature-block__content {
    position: static;
    text-align: left;
  }
}

.section-2 .feature-block__content {
  position: absolute;
  bottom: 98px;
  right: 17.8125vw;
}
@media (max-width: 768px) {
  .section-2 .feature-block__content {
    position: static;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding: 0 20px;
    text-align: right;
    padding-bottom: 25px;
  }
}

.section-3 .feature-block__content {
  position: absolute;
  top: 200px;
  left: 8.3333333333vw;
}
@media (max-width: 768px) {
  .section-3 .feature-block__content {
    position: static;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding: 0 20px;
    text-align: right;
    padding-bottom: 25px;
  }
}

.section-4 {
  padding-left: 14.4270833333vw;
}
@media (max-width: 768px) {
  .section-4 {
    padding-left: 0;
    padding-top: 45px;
  }
}
.section-4 .feature-block__image {
  display: inline-block;
  width: 43.2291666667vw;
  height: 100%;
  padding: 0 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.section-4 .feature-block__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 768px) {
  .section-4 .feature-block__image {
    width: 100%;
    height: auto;
  }
}
.section-4 .feature-block__content {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 24.8958333333vw;
}
@media (max-width: 768px) {
  .section-4 .feature-block__content {
    position: static;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0 20px;
    padding-bottom: 25px;
  }
}

.feature-block__text h2 {
  line-height: 1.6;
  font-size: 24px;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 19px;
}
.feature-block__text p {
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
}

.detail-stats {
  background-color: white;
  padding: 70px 20px;
  padding-bottom: 151px;
  text-align: center;
}
.detail-stats__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 44px;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.detail-stats .stats-grid {
  padding: 0 6.6%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 768px) {
  .detail-stats .stats-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
  }
}
.detail-stats .stat-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  gap: 14px;
}
.detail-stats .stat-item + .stat-item {
  border-left: 1px solid #CCCCCC;
}
.detail-stats .stat-item__icon {
  width: 110px;
}
@media (max-width: 768px) {
  .detail-stats .stat-item__icon {
    margin-bottom: 0;
  }
}
.detail-stats .stat-item__data {
  font-size: 24px;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
}
@media (max-width: 768px) {
  .detail-stats .stat-item__data {
    font-size: 16px;
  }
}
.detail-stats .stat-item__data .highlight {
  font-size: 48px;
  color: #D10000;
  margin: 0 0.1em;
}
@media (max-width: 768px) {
  .detail-stats .stat-item__data .highlight {
    font-size: 36px;
  }
}
@media (max-width: 992px) {
  .detail-stats .stats-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .detail-stats .stat-item {
    width: 100%;
    max-width: 440px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .detail-stats .stat-item__icon {
    margin-bottom: 10px;
  }
  .detail-stats .stat-item__data {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: left;
  }
  .detail-stats .stat-item + .stat-item {
    padding-top: 20px;
    border-left: unset;
    border-top: 1px solid #CCCCCC;
  }
}
@media (max-width: 768px) {
  .detail-stats {
    padding-bottom: 60px;
  }
  .detail-stats .stats-grid {
    padding: 0;
    gap: 0;
  }
  .detail-stats .stat-item {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .detail-stats .stat-item__icon {
    width: 80px;
  }
}