/* color */
/* font */
/* transition */
.linkBox {
  padding: 180px 0; }
  @media (max-width: 1440px) {
    .linkBox {
      padding: 60px 0; } }
  @media (max-width: 1440px) {
    .linkBox .wrap {
      padding: 0; } }
  @media (max-width: 1024px) {
    .linkBox .wrap {
      padding: 0 30px; } }

.linkList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px; }
  @media (max-width: 1024px) {
    .linkList {
      display: flex;
      flex-wrap: wrap;
      grid-column-gap: 0;
      grid-row-gap: 0; } }

.linkItem {
  position: relative; }
  .linkItem:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
    aspect-ratio: 1/1; }
  .linkItem:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
    aspect-ratio: 1/1; }
  .linkItem:nth-child(3) {
    grid-area: 1 / 3 / 2 / 5;
    height: 275px; }
  .linkItem:nth-child(4) {
    grid-area: 2 / 1 / 4 / 3; }
  .linkItem:nth-child(5) {
    grid-area: 2 / 3 / 3 / 4;
    aspect-ratio: 1/1; }
  .linkItem:nth-child(6) {
    grid-area: 3 / 3 / 4 / 4;
    aspect-ratio: 1/1; }
  .linkItem:nth-child(7) {
    grid-area: 2 / 4 / 4 / 5; }
  @media (max-width: 1024px) {
    .linkItem {
      width: 50%;
      aspect-ratio: 1/1;
      grid-area: auto;
      height: auto !important; } }
  @media (max-width: 640px) {
    .linkItem {
      width: 100%; } }
  @media (min-width: 1281px) {
    .linkItem:hover .linkText {
      height: 100%;
      background-color: rgba(199, 20, 23, 0.5); }
      .linkItem:hover .linkText::after {
        opacity: 1; }
      .linkItem:hover .linkText .icon {
        opacity: 1;
        height: auto; } }

.linkImg {
  font-size: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; }
  .linkImg img {
    height: 100%;
    width: 100%;
    max-width: 100%;
    object-fit: cover; }

.linkText {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.5s ease-in-out;
  letter-spacing: 1.6px; }
  .linkText:after {
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    border-radius: 20px;
    border: 1px solid #fff;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transition-delay: 0.25s; }
  .linkText .icon {
    width: 40px;
    height: 40px;
    opacity: 0;
    height: 0;
    margin-bottom: 10px;
    transition: all 0.5s ease-in-out; }
  .linkText span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden; }

.linkLink:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0; }

.aboutBox {
  position: relative;
  padding: 40px 0 150px; }
  @media (max-width: 1440px) {
    .aboutBox {
      padding: 40px 0 80px; } }
  .aboutBox .aboutContent {
    max-width: 1545px;
    margin-left: auto;
    display: flex;
    padding-left: 40px;
    overflow: hidden; }
    @media (max-width: 640px) {
      .aboutBox .aboutContent {
        flex-direction: column; } }
  .aboutBox .deco {
    position: absolute;
    top: -150px;
    left: 10px;
    z-index: -1;
    width: 350px;
    height: 350px; }
  .aboutBox .deco2 {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: -1; }
  .aboutBox .titleBox {
    margin-left: 90px;
    margin-bottom: 120px; }
  .aboutBox .leftBox {
    margin-right: 60px; }
  .aboutBox .aboutImg1 {
    position: relative; }
    .aboutBox .aboutImg1 img {
      position: relative;
      z-index: 2; }
    .aboutBox .aboutImg1:before {
      content: "";
      position: absolute;
      left: -40px;
      top: -40px;
      background-color: #d5d5d5;
      width: 260px;
      height: 475px; }
  .aboutBox .aboutImg2 {
    margin-bottom: 20px; }
    @media (max-width: 640px) {
      .aboutBox .aboutImg2 {
        margin-bottom: 0; } }
  .aboutBox .aboutText {
    color: #fff;
    max-width: 750px;
    padding: 20px 0;
    line-height: 1.5;
    position: relative;
    letter-spacing: 1.92px; }
    .aboutBox .aboutText:after {
      content: "";
      position: absolute;
      background-color: #f19148;
      width: 1200px;
      height: 240px;
      left: -100px;
      top: -100px;
      z-index: -1; }
  .aboutBox .btn {
    align-items: center;
    display: flex;
    font-weight: 700;
    margin-top: 60px;
    padding: 2.5px 50px;
    transition: all 0.5s ease-in-out;
    background-color: rgba(213, 213, 213, 0.5);
    z-index: 2;
    width: fit-content; }
    @media (max-width: 640px) {
      .aboutBox .btn {
        margin-top: 20px; } }
    .aboutBox .btn span {
      font-size: 24px;
      font-weight: 900;
      color: #f19148;
      letter-spacing: 1.6px; }
    .aboutBox .btn img {
      height: 16px;
      width: 16px;
      margin-left: 10px; }

.twoLinkBox {
  display: flex;
  align-items: center; }
  @media (max-width: 640px) {
    .twoLinkBox {
      flex-direction: column; } }
  .twoLinkBox .twoLinkItem {
    height: 140px;
    width: 50%;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative; }
    @media (max-width: 640px) {
      .twoLinkBox .twoLinkItem {
        width: 100%; } }
    .twoLinkBox .twoLinkItem .icon {
      margin-right: 20px; }
      .twoLinkBox .twoLinkItem .icon svg {
        width: 60px;
        height: 60px; }
    .twoLinkBox .twoLinkItem .text {
      align-items: center;
      display: flex;
      font-size: 45px;
      font-weight: 900;
      font-family: "Inconsolata", Noto Sans TC, sans-serif; }
      @media (max-width: 768px) {
        .twoLinkBox .twoLinkItem .text {
          font-size: 28px; } }
      .twoLinkBox .twoLinkItem .text svg {
        color: #fff;
        width: 60px;
        height: 20px;
        margin-left: 20px; }
    .twoLinkBox .twoLinkItem .link:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0; }
    .twoLinkBox .twoLinkItem:nth-child(1) {
      background-color: #c71417;
      color: #f19148;
      transition: all 0.5s ease-in-out; }
      @media (min-width: 1281px) {
        .twoLinkBox .twoLinkItem:nth-child(1):hover {
          background-color: #f19148;
          color: #c71417; } }
    .twoLinkBox .twoLinkItem:nth-child(2) {
      background-color: #f19148;
      color: #c71417;
      transition: all 0.5s ease-in-out; }
      @media (min-width: 1281px) {
        .twoLinkBox .twoLinkItem:nth-child(2):hover {
          background-color: #c71417;
          color: #f19148; } }

.productBox {
  background-image: url("../assets/images/bg.jpg");
  padding: 150px 0;
  overflow: hidden; }
  @media (max-width: 1440px) {
    .productBox {
      padding: 80px 0; } }
  @media (max-width: 640px) {
    .productBox {
      padding: 35px 0; } }

.productList {
  display: grid;
  grid-template-columns: repeat(3, calc(33% - 10px));
  column-gap: 35px;
  row-gap: 60px;
  margin-top: 60px; }
  @media (max-width: 1024px) {
    .productList {
      grid-template-columns: repeat(2, calc(50% - 10px));
      column-gap: 20px;
      row-gap: 40px; } }
  @media (max-width: 640px) {
    .productList {
      grid-template-columns: 100%;
      column-gap: 0;
      row-gap: 20px; } }

.productItem {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative; }
  .productItem:before {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-image: url("../assets/images/iconBtn2.jpg");
    z-index: 2;
    transition: all 0.5s ease-in-out;
    opacity: 0; }
  .productItem:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    opacity: 0;
    transition: all 0.5s ease-in-out; }
  @media (min-width: 1281px) {
    .productItem:hover:after {
      content: "";
      position: absolute;
      opacity: 1; }
    .productItem:hover:before {
      content: "";
      position: absolute;
      opacity: 1; }
    .productItem:hover .productDeco {
      opacity: 1; }
    .productItem:hover .productBtn {
      opacity: 0; } }

.productImg {
  position: relative;
  z-index: 2; }

.productDeco {
  position: absolute;
  z-index: 2;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.5s ease-in-out; }

.productTitle {
  position: relative;
  z-index: 2; }
  .productTitle h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
    letter-spacing: 1.44px; }

.productDesc {
  max-width: 250px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.productBtn {
  align-items: center;
  display: flex;
  font-weight: 700;
  margin-top: 20px;
  padding: 2.5px 50px;
  transition: all 0.5s ease-in-out;
  background-color: rgba(213, 213, 213, 0.5);
  z-index: 2; }
  .productBtn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; }
  .productBtn span {
    font-size: 24px;
    font-weight: 900;
    color: #f19148;
    letter-spacing: 1.6px; }
  .productBtn img {
    height: 16px;
    width: 16px;
    margin-left: 10px; }

.newsBox {
  background-image: url("../assets/images/bg.jpg");
  padding: 200px 0 450px;
  position: relative;
  overflow: hidden; }
  .newsBox .decoLeft {
    position: absolute;
    top: 20%;
    left: 0;
    z-index: 1;
    width: 50%; }
    @media (max-width: 640px) {
      .newsBox .decoLeft {
        display: none; } }
  .newsBox .decoRight {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 50%; }
    @media (max-width: 640px) {
      .newsBox .decoRight {
        display: none; } }
  .newsBox .qrCode {
    position: absolute;
    right: 25%;
    bottom: 5%; }

.newsList {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 3; }

.newsItem {
  align-items: center;
  display: flex;
  height: 245px;
  width: 50%;
  position: relative; }
  @media (max-width: 640px) {
    .newsItem {
      height: auto;
      width: 100%;
      margin-bottom: 20px;
      flex-direction: column; } }
  .newsItem:nth-child(odd) {
    padding-right: 10px; }
    @media (max-width: 640px) {
      .newsItem:nth-child(odd) {
        padding-right: 0; } }
  .newsItem:nth-child(even) {
    margin-top: 60px;
    padding-left: 20px; }
    @media (max-width: 640px) {
      .newsItem:nth-child(even) {
        margin-top: 60px;
        padding-left: 0; } }
  @media (min-width: 1281px) {
    .newsItem:hover .newsImg img {
      transform: scale(1.1); }
    .newsItem:hover .title {
      color: #c71417; } }

.newsImg {
  font-size: 0;
  height: 100%;
  overflow: hidden; }
  @media (max-width: 640px) {
    .newsImg {
      width: 100%;
      height: 300px; } }
  .newsImg img {
    height: 100%;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease-in-out; }
    @media (max-width: 640px) {
      .newsImg img {
        height: 300px; } }

.newsInfo {
  background-color: #e8e8e8;
  padding: 15px 20px;
  height: 100%;
  max-width: 320px; }
  @media (max-width: 640px) {
    .newsInfo {
      height: auto;
      max-width: 100%; } }
  .newsInfo .dateBox {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px; }
  .newsInfo .day,
  .newsInfo .month {
    background-color: #a2a2a2;
    color: #fff;
    padding: 0 15px;
    font-weight: 700;
    font-size: 24px; }
  .newsInfo .day {
    margin-right: 5px; }
  .newsInfo .title {
    font-size: 20px;
    margin-bottom: 10px;
    transition: all 0.5s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 1.6px; }
  .newsInfo .desc {
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; }

.newsLinkBox {
  text-align: right; }
  .newsLinkBox a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; }
