/* color */
/* font */
/* transition */
.bannerBox .swiper-pagination-bullet::after {
  font-family: "Noto Sans TC", "Noto Sans TC", sans-serif; }

.workBox .imgBox img {
  transition: all 0.65s ease-in-out; }

.bannerBox {
  --swiper-pagination-color: #a15e3d;
  --swiper-pagination-bullet-inactive-color: #b2953f;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-vertical-gap: 24px;
  --swiper-pagination-bullet-horizontal-gap: 16px;
  --swiper-pagination-bottom: 140px;
  --swiper-pagination-right: 60px; }
  .bannerBox .swiper-horizontal > .swiper-pagination-bullets,
  .bannerBox .swiper-pagination-bullets.swiper-pagination-horizontal,
  .bannerBox .swiper-pagination-custom,
  .bannerBox .swiper-pagination-fraction {
    width: auto; }
  .bannerBox .swiper-pagination-vertical.swiper-pagination-bullets,
  .bannerBox .swiper-vertical > .swiper-pagination-bullets {
    top: auto; }
  .bannerBox .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
  .bannerBox .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 20px 20px; }
  @media (max-width: 640px) {
    .bannerBox .swiper-pagination {
      display: none; } }
  .bannerBox .swiper-pagination-bullet {
    position: relative;
    counter-increment: swiper; }
    .bannerBox .swiper-pagination-bullet::after {
      content: "0" counter(swiper);
      color: #444;
      font-size: 14px;
      font-weight: 500;
      line-height: 1;
      position: absolute;
      top: 50%;
      right: -30px;
      transform: translateY(-50%); }
  @media (max-width: 1280px) {
    .bannerBox {
      padding-top: 50px; } }
  @media (max-width: 640px) {
    .bannerBox {
      padding-top: 0; } }

body {
  background-image: url("../assets/images/insBg.png");
  background-position: left top;
  background-repeat: no-repeat;
  position: relative; }
  body:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/homeBg2.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    z-index: -2; }

.aboutBox {
  padding: 100px 0; }
  @media (max-width: 640px) {
    .aboutBox {
      padding: 50px 0; } }
  .aboutBox .wrap {
    padding: 0 60px; }
    @media (max-width: 640px) {
      .aboutBox .wrap {
        padding: 0 20px; } }
  .aboutBox .aboutContent {
    display: grid;
    align-items: center;
    grid-template-columns: 350px 1fr;
    column-gap: 85px;
    margin-bottom: 50px; }
    @media (max-width: 640px) {
      .aboutBox .aboutContent {
        grid-template-columns: 1fr; } }
  .aboutBox .textBox {
    position: relative; }
    .aboutBox .textBox:after {
      content: "";
      position: absolute;
      width: 145px;
      height: 145px;
      background-color: #dc870f;
      left: -40px;
      top: -40px;
      z-index: 1; }
  .aboutBox .textEditor {
    text-align: justify;
    position: relative;
    z-index: 2; }
    .aboutBox .textEditor em {
      font-size: 32px;
      font-weight: 700;
      font-style: normal;
      color: #000;
      letter-spacing: 1px; }
    .aboutBox .textEditor p {
      color: #000;
      font-size: 20px;
      line-height: 2;
      letter-spacing: 1px; }
  .aboutBox .btnBox {
    justify-content: flex-end; }

.serviceBox {
  padding: 120px 0; }
  @media (max-width: 1024px) {
    .serviceBox {
      padding: 20px 0 50px; } }
  @media (max-width: 640px) {
    .serviceBox {
      padding: 50px 0; } }
  .serviceBox .titleBox {
    margin-left: auto;
    margin-bottom: 85px; }
  .serviceBox .serviceItem {
    position: relative; }
    @media (max-width: 640px) {
      .serviceBox .serviceItem {
        margin-bottom: 20px; } }
    .serviceBox .serviceItem .imgBox {
      font-size: 0; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem .imgBox {
          margin-bottom: 20px; } }
    .serviceBox .serviceItem .textBox {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      z-index: 2;
      padding-left: 100px; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem .textBox {
          padding-left: 0;
          position: relative; } }
      @media (min-width: 1281px) {
        .serviceBox .serviceItem .textBox:hover {
          padding-left: 0;
          padding-right: 60px;
          align-items: flex-end; } }
    .serviceBox .serviceItem .title {
      font-size: 44px;
      font-weight: 700;
      margin-bottom: 15px; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem .title {
          font-size: 20px;
          margin-bottom: 10px; } }
    .serviceBox .serviceItem .subtitle {
      font-size: 26px;
      font-weight: 500; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem .subtitle {
          font-size: 18px; } }
    .serviceBox .serviceItem .btnBox {
      margin-top: 80px; }
      .serviceBox .serviceItem .btnBox .btn {
        border-color: #d3b891;
        color: #d3b891; }
      @media (min-width: 1281px) {
        .serviceBox .serviceItem .btnBox:hover .btn {
          background-color: #d3b891;
          color: #fff; } }
      @media (max-width: 640px) {
        .serviceBox .serviceItem .btnBox {
          margin-top: 0;
          justify-content: flex-end; } }
    .serviceBox .serviceItem:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      z-index: 1; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem:after {
          display: none; } }
    .serviceBox .serviceItem:nth-child(1) .btnBox {
      justify-content: flex-end;
      padding-right: 50px; }
      .serviceBox .serviceItem:nth-child(1) .btnBox .btn {
        color: #000; }
      @media (min-width: 1281px) {
        .serviceBox .serviceItem:nth-child(1) .btnBox:hover .btn {
          color: #fff; } }
      @media (max-width: 640px) {
        .serviceBox .serviceItem:nth-child(1) .btnBox {
          padding-right: 0; } }
    .serviceBox .serviceItem:nth-child(1):after {
      content: "";
      position: absolute;
      background-image: url("../assets/images/mask1.png"); }
    @media (min-width: 1281px) {
      .serviceBox .serviceItem:nth-child(1):hover:after {
        content: "";
        position: absolute;
        background-image: url("../assets/images/mask1_0.png"); } }
    .serviceBox .serviceItem:nth-child(2) {
      color: #fff; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem:nth-child(2) {
          color: #000; } }
      .serviceBox .serviceItem:nth-child(2):after {
        content: "";
        position: absolute;
        background-image: url("../assets/images/mask2.png"); }
      @media (min-width: 1281px) {
        .serviceBox .serviceItem:nth-child(2):hover:after {
          content: "";
          position: absolute;
          background-image: url("../assets/images/mask2_0.png"); } }
    .serviceBox .serviceItem:nth-child(3) .textBox {
      align-items: flex-end;
      padding-left: 0;
      padding-right: 60px; }
      @media (min-width: 1281px) {
        .serviceBox .serviceItem:nth-child(3) .textBox:hover {
          align-items: flex-start;
          padding-left: 60px; } }
      @media (max-width: 640px) {
        .serviceBox .serviceItem:nth-child(3) .textBox {
          align-items: flex-start;
          padding-right: 0; } }
    @media (max-width: 640px) {
      .serviceBox .serviceItem:nth-child(3) .btnBox {
        align-self: flex-end; } }
    .serviceBox .serviceItem:nth-child(3):after {
      content: "";
      position: absolute;
      background-image: url("../assets/images/mask3.png"); }
    @media (min-width: 1281px) {
      .serviceBox .serviceItem:nth-child(3):hover:after {
        content: "";
        position: absolute;
        background-image: url("../assets/images/mask3_0.png"); } }
    .serviceBox .serviceItem:nth-child(4) {
      color: #fff; }
      @media (max-width: 640px) {
        .serviceBox .serviceItem:nth-child(4) {
          color: #000; } }
      .serviceBox .serviceItem:nth-child(4):after {
        content: "";
        position: absolute;
        background-image: url("../assets/images/mask4.png"); }
      @media (min-width: 1281px) {
        .serviceBox .serviceItem:nth-child(4):hover:after {
          content: "";
          position: absolute;
          background-image: url("../assets/images/mask4_0.png"); } }
  .serviceBox .serviceList + .btnBox {
    margin-top: 50px;
    justify-content: center; }
    @media (min-width: 1281px) {
      .serviceBox .serviceList + .btnBox:hover .btn {
        background-color: #fff;
        border-color: #f18e00;
        color: #f18e00; } }
    .serviceBox .serviceList + .btnBox .btn {
      color: #fff;
      border-color: transparent;
      background-color: #f18e00;
      padding: 5px 100px; }

.workBox {
  position: relative; }
  .workBox:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 330px;
    background-color: #f18e00;
    bottom: 0;
    left: 0;
    z-index: -1; }
  .workBox .titleBox {
    margin-bottom: 100px; }
  .workBox .workLine {
    width: 100%;
    height: 2px;
    background-color: #868686;
    margin-bottom: 10px;
    position: relative; }
    @media (max-width: 640px) {
      .workBox .workLine {
        display: none; } }
    .workBox .workLine:before {
      content: "";
      position: absolute;
      width: 12px;
      height: 12px;
      background-color: #868686;
      border-radius: 50%;
      left: 0;
      top: 50%;
      transform: translateY(-50%); }
    .workBox .workLine:after {
      content: "";
      position: absolute;
      width: 12px;
      height: 12px;
      background-color: #868686;
      border-radius: 50%;
      right: 0;
      top: 50%;
      transform: translateY(-50%); }
  .workBox .workList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 15px; }
    @media (max-width: 640px) {
      .workBox .workList {
        grid-template-columns: 1fr; } }
  .workBox .workItem {
    position: relative; }
    @media (max-width: 640px) {
      .workBox .workItem {
        margin-bottom: 20px; } }
    @media (min-width: 1281px) {
      .workBox .workItem:hover .imgBox img {
        scale: 1.1; }
      .workBox .workItem:hover .link {
        color: #b2953f; } }
  .workBox .dateBox {
    position: absolute;
    left: 50%;
    top: -35px;
    transform: translateX(-50%);
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-image: linear-gradient(to bottom, #fff 65%, #f18e00 65%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2; }
    .workBox .dateBox .day {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 5px;
      line-height: 1; }
    .workBox .dateBox .month {
      font-size: 12px;
      line-height: 1; }
  .workBox .imgBox {
    overflow: hidden;
    height: 270px;
    font-size: 0; }
    @media (max-width: 1024px) {
      .workBox .imgBox {
        height: auto; } }
    .workBox .imgBox img {
      aspect-ratio: 385/270;
      max-width: 100%;
      height: auto; }
  .workBox .textBox {
    color: #fff;
    padding: 20px 0 35px; }
    @media (max-width: 640px) {
      .workBox .textBox {
        color: #000;
        padding: 10px 0 20px; } }
    .workBox .textBox .title {
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 20px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden; }
      @media (max-width: 640px) {
        .workBox .textBox .title {
          font-size: 20px;
          margin-bottom: 10px; } }
    .workBox .textBox .desc {
      line-height: 1.75;
      margin-bottom: 30px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden; }
    .workBox .textBox .link {
      color: #000;
      font-size: 18px;
      font-weight: 700;
      text-align: right;
      width: 100%;
      display: block; }
      .workBox .textBox .link:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0; }
