/* color */
/* font */
/* transition */
.applicationSection .applicationImg, .applicationSection .applicationText .applicationTitle, .newsSection .newsItem:before, .newsSection .newsItem:after, .newsSection .newsDate, .newsSection .newsText:after, .newsSection .newsCategory, .newsSection .newsTitle, .newsSection .newsDesc {
  transition: all 0.5s ease-in-out; }

@keyframes rotate {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.bannerBox {
  --swiper-navigation-sides-offset: 5%;
  --swiper-navigation-color: #fff;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-border-radius: 0;
  --swiper-pagination-bullet-size: 18px;
  --swiper-pagination-bottom: 10%;
  --swiper-pagination-bullet-inactive-color: transparent; }
  .bannerBox .swiper-pagination-bullet {
    border: 2px solid #fff; }
  .bannerBox .swiper-slide {
    font-size: 0; }

.titleBox {
  position: relative;
  width: fit-content; }
  .titleBox:before {
    content: "";
    position: absolute;
    width: clamp(80px, 8vw, 150px);
    aspect-ratio: 3/1;
    background-color: #fd7924;
    z-index: -1;
    right: -20px;
    top: 40px; }
    [data-theme="dark"] .titleBox:before {
      background-color: #73808b; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .titleBox:before {
        background-color: #73808b; } }
  .titleBox:after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #036eb8;
    border-radius: 25px;
    right: -30px;
    top: 40px;
    rotate: 135deg; }
    [data-theme="dark"] .titleBox:after {
      background-color: #fff; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .titleBox:after {
        background-color: #fff; } }
  .titleBox .title {
    color: #0a132e;
    font-size: clamp(40px, 3vw, 60px);
    font-weight: 500;
    letter-spacing: 11.4px;
    line-height: 1.2; }
    [data-theme="dark"] .titleBox .title {
      color: #fff;
      text-shadow: 0px 4px 13.76px rgba(0, 0, 0, 0.7); }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .titleBox .title {
        color: #fff;
        text-shadow: 0px 4px 13.76px rgba(0, 0, 0, 0.7); } }
  .titleBox .subtitle {
    color: #26465c;
    font-size: clamp(28px, 2vw, 40px);
    font-family: "Goldman", Noto Sans TC, sans-serif;
    letter-spacing: 1.2px;
    padding-left: 100px;
    line-height: 1; }
    [data-theme="dark"] .titleBox .subtitle {
      color: #fff;
      text-shadow: 0px 4px 13.76px rgba(0, 0, 0, 0.7); }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .titleBox .subtitle {
        color: #fff;
        text-shadow: 0px 4px 13.76px rgba(0, 0, 0, 0.7); } }

.applicationSection {
  padding: 120px 0; }
  @media (max-width: 1440px) {
    .applicationSection {
      padding: 60px 0; } }
  .applicationSection .applicationList {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
    @media (max-width: 768px) {
      .applicationSection .applicationList {
        grid-template-columns: 1fr; } }
  .applicationSection .applicationItem {
    position: relative; }
    @media (min-width: 1181px) {
      .applicationSection .applicationItem:hover .applicationText .applicationTitle {
        border-color: #fd7924;
        width: 100%; }
        [data-theme="dark"] .applicationSection .applicationItem:hover .applicationText .applicationTitle {
          border-color: #fff; } }
  @media (min-width: 1181px) and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .applicationSection .applicationItem:hover .applicationText .applicationTitle {
      border-color: #fff; } }
    @media (min-width: 1181px) {
      .applicationSection .applicationItem:hover .applicationImg {
        filter: brightness(1); } }
  .applicationSection .applicationImg {
    aspect-ratio: 960/510;
    font-size: 0;
    filter: brightness(0.75);
    user-select: none;
    pointer-events: none; }
  .applicationSection .applicationText {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 35px;
    display: flex;
    align-items: flex-end; }
    .applicationSection .applicationText .applicationTitle {
      position: relative;
      color: #fff;
      padding-left: 35px;
      font-size: 30px;
      font-weight: 500;
      letter-spacing: 2.4px;
      border-bottom: 2px solid #fff;
      display: block;
      width: 60%; }
    .applicationSection .applicationText .btn {
      position: absolute;
      right: 0;
      top: 0; }

.productSection {
  padding: 120px 0; }
  @media (max-width: 1440px) {
    .productSection {
      padding: 60px 0; } }
  .productSection .productList {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    justify-content: center; }
    @media (max-width: 640px) {
      .productSection .productList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px; } }
  .productSection .productItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; }
    @media (max-width: 640px) {
      .productSection .productItem {
        gap: 20px; } }
  .productSection .productImg {
    max-width: 170px;
    user-select: none; }
    @media (max-width: 1280px) {
      .productSection .productImg {
        max-width: 120px; } }
    @media (max-width: 640px) {
      .productSection .productImg {
        max-width: 80px; } }
    .productSection .productImg img {
      max-width: 100%;
      height: auto;
      aspect-ratio: 1; }
  .productSection .productTitle {
    color: #036eb8;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 2.4px; }
    [data-theme="dark"] .productSection .productTitle {
      color: #fff; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .productSection .productTitle {
        color: #fff; } }
    @media (max-width: 1280px) {
      .productSection .productTitle {
        font-size: 24px; } }

.newsSection {
  padding: 120px 0; }
  @media (max-width: 1440px) {
    .newsSection {
      padding: 60px 0; } }
  .newsSection .newsList {
    margin-top: 70px; }
  .newsSection .newsItem {
    display: grid;
    grid-template-columns: 1fr 1fr 2.5fr;
    grid-template-areas: "newsImg newsDate newsText";
    gap: 60px;
    padding: 20px 0;
    margin-bottom: 30px;
    position: relative; }
    @media (max-width: 1180px) {
      .newsSection .newsItem {
        gap: 40px; } }
    @media (max-width: 1024px) {
      .newsSection .newsItem {
        grid-template-rows: auto 1fr;
        grid-template-columns: 1fr 2fr;
        grid-template-areas: "newsImg newsDate" "newsImg newsText";
        row-gap: 10px; } }
    @media (max-width: 640px) {
      .newsSection .newsItem {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: "newsImg" "newsDate" "newsText";
        justify-content: center; } }
    @media (min-width: 1181px) {
      .newsSection .newsItem:hover:before {
        content: "";
        position: absolute;
        opacity: 0; }
      .newsSection .newsItem:hover:after {
        content: "";
        position: absolute;
        opacity: 0.9; }
      .newsSection .newsItem:hover .newsText:after {
        content: "";
        position: absolute;
        opacity: 0.3; }
      .newsSection .newsItem:hover .newsDate {
        color: #aadcfe; }
        [data-theme="dark"] .newsSection .newsItem:hover .newsDate {
          color: #3f5165; } }
  @media (min-width: 1181px) and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .newsSection .newsItem:hover .newsDate {
      color: #3f5165; } }
    @media (min-width: 1181px) {
      .newsSection .newsItem:hover .newsCategory {
        background-color: #aadcfe;
        color: #036eb8; }
        [data-theme="dark"] .newsSection .newsItem:hover .newsCategory {
          background-color: rgba(255, 255, 255, 0.7);
          color: #3f5165; } }
  @media (min-width: 1181px) and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .newsSection .newsItem:hover .newsCategory {
      background-color: rgba(255, 255, 255, 0.7);
      color: #3f5165; } }
    @media (min-width: 1181px) {
      .newsSection .newsItem:hover .newsTitle {
        color: #fff; }
        [data-theme="dark"] .newsSection .newsItem:hover .newsTitle {
          color: #3f5165; } }
  @media (min-width: 1181px) and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .newsSection .newsItem:hover .newsTitle {
      color: #3f5165; } }
    @media (min-width: 1181px) {
        .newsSection .newsItem:hover .newsTitle:after {
          content: "";
          position: absolute;
          opacity: 0; }
      .newsSection .newsItem:hover .newsDesc {
        opacity: 0; } }
    .newsSection .newsItem:before {
      content: "";
      position: absolute;
      pointer-events: none;
      width: calc(100% + 80px);
      height: 100%;
      left: -40px;
      top: 0;
      opacity: 0.7;
      box-shadow: 0px 2px 9.6px 0.4px rgba(0, 0, 0, 0.18);
      z-index: -1; }
      [data-theme="dark"] .newsSection .newsItem:before {
        background-color: #fff;
        opacity: 0.25; }
      @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) .newsSection .newsItem:before {
          background-color: #fff;
          opacity: 0.25; } }
      @media (max-width: 640px) {
        .newsSection .newsItem:before {
          display: none; } }
    .newsSection .newsItem:after {
      content: "";
      position: absolute;
      pointer-events: none;
      width: calc(100% + 140px);
      height: 100%;
      left: -70px;
      top: 0;
      box-shadow: 0px 2px 9.6px 0.4px rgba(0, 0, 0, 0.57);
      background-color: #3c96d4;
      opacity: 0;
      z-index: -1; }
      [data-theme="dark"] .newsSection .newsItem:after {
        background-color: #bec9cd; }
      @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) .newsSection .newsItem:after {
          background-color: #bec9cd; } }
      @media (max-width: 640px) {
        .newsSection .newsItem:after {
          display: none; } }
  .newsSection .newsLink {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2; }
  .newsSection .newsImg {
    aspect-ratio: 1;
    width: 300px;
    font-size: 0;
    border-radius: 24px;
    overflow: hidden;
    grid-area: newsImg; }
    @media (max-width: 640px) {
      .newsSection .newsImg {
        margin: 0 auto; } }
    .newsSection .newsImg img {
      width: 100%;
      max-width: 100%;
      height: 100%;
      object-fit: cover; }
  .newsSection .newsDate,
  .newsSection .newsText {
    padding-top: 24px; }
    @media (max-width: 1024px) {
      .newsSection .newsDate,
      .newsSection .newsText {
        padding-top: 0; } }
  .newsSection .newsDate {
    color: #525252;
    font-size: 17px;
    letter-spacing: 1.36px;
    grid-area: newsDate; }
    [data-theme="dark"] .newsSection .newsDate {
      color: #fff; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .newsSection .newsDate {
        color: #fff; } }
  .newsSection .newsText {
    position: relative;
    grid-area: newsText; }
    .newsSection .newsText .btn {
      margin-top: 20px; }
    .newsSection .newsText:after {
      content: "";
      position: absolute;
      width: 240px;
      aspect-ratio: 242/196;
      background-image: url("../assets/images/news_icon.svg");
      right: -70px;
      bottom: -20px;
      opacity: 0; }
      @media (max-width: 640px) {
        .newsSection .newsText:after {
          display: none; } }
  .newsSection .newsCategory {
    color: #fff;
    padding: 8px 20px;
    letter-spacing: 1.6px;
    background-color: #525252;
    line-height: 1;
    border-radius: 25px;
    width: fit-content;
    margin-bottom: 30px;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-end; }
    @media (max-width: 640px) {
      .newsSection .newsCategory {
        margin-bottom: 10px; } }
  .newsSection .newsTitle {
    font-size: 21px;
    font-weight: 500;
    font-family: "Noto Sans TC", sans-serif;
    color: #036eb8;
    padding: 0 5px 5px;
    margin-bottom: 10px;
    line-height: calc(29.45/21.65);
    letter-spacing: 2.1px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative; }
    [data-theme="dark"] .newsSection .newsTitle {
      color: #fff; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .newsSection .newsTitle {
        color: #fff; } }
    @media (max-width: 1024px) {
      .newsSection .newsTitle {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden; } }
    @media (max-width: 640px) {
      .newsSection .newsTitle {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden; } }
    .newsSection .newsTitle:after {
      content: "";
      position: absolute;
      width: 100%;
      left: 0;
      bottom: 0;
      height: 1px;
      background-color: #036eb8; }
      [data-theme="dark"] .newsSection .newsTitle:after {
        background-color: #fff; }
      @media (prefers-color-scheme: dark) {
        :root:not([data-theme="light"]) .newsSection .newsTitle:after {
          background-color: #fff; } }
  .newsSection .newsDesc {
    font-size: 18px;
    color: #525252;
    letter-spacing: 1.44px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden; }
    [data-theme="dark"] .newsSection .newsDesc {
      color: #fff; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .newsSection .newsDesc {
        color: #fff; } }
    @media (max-width: 1024px) {
      .newsSection .newsDesc {
        font-size: 16px; } }
    @media (max-width: 640px) {
      .newsSection .newsDesc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden; } }
  .newsSection .btn {
    margin-top: 60px; }
    @media (max-width: 640px) {
      .newsSection .btn {
        margin-left: auto; } }

.aboutSection .titleBox {
  margin-bottom: 60px; }

.aboutSection .aboutBox {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-left: clamp(150px, 10vw, 220px);
  background-image: url("../assets/images/home_about_bg.jpg");
  background-size: cover;
  padding-bottom: 220px; }
  @media (max-width: 1440px) {
    .aboutSection .aboutBox {
      padding-bottom: 150px; } }
  @media (max-width: 1180px) {
    .aboutSection .aboutBox {
      padding-top: 60px;
      padding-bottom: 60px;
      padding-left: 0;
      gap: 100px;
      flex-direction: column;
      align-items: center; } }

.aboutSection .leftBox {
  position: relative; }
  .aboutSection .leftBox:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #036eb8;
    left: calc(-100% - 30px);
    top: -10px; }
    @media (max-width: 1180px) {
      .aboutSection .leftBox:before {
        display: none; } }
  .aboutSection .leftBox:after {
    content: "";
    position: absolute;
    width: calc(100% + 20px + 55px);
    height: calc(100% + 20px);
    left: -30px;
    top: -10px;
    border-left: 4px solid #036eb8;
    border-right: 4px solid #036eb8;
    border-bottom: 4px solid #036eb8; }
    @media (max-width: 1180px) {
      .aboutSection .leftBox:after {
        display: none; } }
  @media (max-width: 1180px) {
    .aboutSection .leftBox {
      display: flex;
      flex-direction: column-reverse;
      align-items: center; } }
  .aboutSection .leftBox p {
    color: #0a132e;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 12px; }
    @media (max-width: 1440px) {
      .aboutSection .leftBox p {
        font-size: 24px;
        letter-spacing: 8.4px; } }
  .aboutSection .leftBox .aboutImg {
    max-width: 565px;
    aspect-ratio: 565/220;
    overflow: hidden; }
    @media (max-width: 1180px) {
      .aboutSection .leftBox .aboutImg {
        aspect-ratio: unset;
        height: auto; } }
    .aboutSection .leftBox .aboutImg img {
      width: 100%;
      height: auto; }

.aboutSection .rightBox {
  position: relative;
  margin-top: -50px; }
  .aboutSection .rightBox:before {
    content: "";
    position: absolute;
    width: calc(100% + 30px);
    height: 70px;
    border-top: 4px solid #036eb8;
    border-left: 4px solid #036eb8;
    right: 0;
    top: -20px;
    z-index: -1; }
  @media (max-width: 1180px) {
    .aboutSection .rightBox .aboutImg {
      max-width: 565px;
      aspect-ratio: 565/220;
      margin: 0 auto; }
      .aboutSection .rightBox .aboutImg img {
        width: 100%;
        height: auto; } }
  .aboutSection .rightBox .aboutText {
    padding-top: 40px;
    padding-left: 80px;
    max-width: 890px; }
    @media (max-width: 640px) {
      .aboutSection .rightBox .aboutText {
        padding-left: 20px;
        padding-right: 20px; } }
  .aboutSection .rightBox .aboutTitle {
    color: #036eb8;
    font-size: 24px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    letter-spacing: 2.4px;
    margin-bottom: 20px; }
    @media (max-width: 1440px) {
      .aboutSection .rightBox .aboutTitle {
        font-size: 20px;
        letter-spacing: 1.6px; } }
  .aboutSection .rightBox .aboutDesc {
    color: #525252;
    font-family: "Noto Sans TC", sans-serif;
    line-height: calc(30/16);
    letter-spacing: 1.92px;
    margin-bottom: 50px; }

@media (max-width: 1180px) {
  .aboutSection .btn {
    width: 156px;
    padding: 0 30px;
    margin: 0 auto; }
    .aboutSection .btn svg {
      left: 85%; }
    .aboutSection .btn span {
      opacity: 1; } }
