.noto-sans-regular {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
}

.noto-sans-medium, .pro-tab .pro-name {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

.noto-sans-bold {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
}

.noto-sans-black {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
}

.noto-serif-regular {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 300;
}

.noto-serif-medium {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 500;
}

.noto-serif-semibold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 600;
}

.noto-serif-bold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 700;
}

.playball {
  font-family: "Playball", cursive;
}

.crimson {
  font-family: "Crimson Text", serif;
}

.pt-serif {
  font-family: "PT Serif", serif;
}

.fade {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

.fade:hover {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

@-webkit-keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
}

@-webkit-keyframes fadeOutUp {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
}

.noto-sans-regular {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
}

.noto-sans-medium, .pro-tab .pro-name {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

.noto-sans-bold {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
}

.noto-sans-black {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
}

.noto-serif-regular {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 300;
}

.noto-serif-medium {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 500;
}

.noto-serif-semibold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 600;
}

.noto-serif-bold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 700;
}

.playball {
  font-family: "Playball", cursive;
}

.crimson {
  font-family: "Crimson Text", serif;
}

.pt-serif {
  font-family: "PT Serif", serif;
}

.fade {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

.fade:hover {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
}

.news.border-bottom,
.products.border-bottom {
  padding-bottom: 4vh;
  margin-bottom: 4vh;
  border-bottom: 1px solid rgba(200, 193, 118, 0.5);
}

.news .container,
.products .container {
  width: 90vw;
}

.pronav-swiper-outer {
  border-top: 1px solid rgba(205, 198, 118, 0.5);
  border-bottom: 1px solid rgba(205, 198, 118, 0.5);
  text-align: center;
}

.pronav-swiper {
  overflow: hidden;
}

.pronav-swiper.justify-center .swiper-wrapper {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.pronav-swiper .swiper-slide {
  width: auto;
  padding: 1.6vmin 5.2vmin;
  font-weight: bold;
  font-size: 20px;
  color: #EA719D;
  cursor: pointer;
  -webkit-transition: all linear 0.1s;
  transition: all linear 0.1s;
}

.pronav-swiper .swiper-slide:hover {
  -webkit-transition: all linear 0.1s;
  transition: all linear 0.1s;
}

.pronav-swiper .swiper-slide a {
  color: #EA719D;
  -webkit-transition: all linear 0.1s;
  transition: all linear 0.1s;
}

.pronav-swiper .swiper-slide a:hover {
  -webkit-transition: all linear 0.1s;
  transition: all linear 0.1s;
}

.pronav-swiper .swiper-slide:hover {
  color: #df8823;
}

.pronav-swiper .swiper-slide:hover a {
  color: #df8823;
}

.pronav-swiper .swiper-slide.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #EA719D;
}

.pro-tab {
  position: relative;
  display: block;
  height: 0;
  min-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.pro-tab.active {
  visibility: inherit;
  height: inherit;
  min-height: 30vh;
  visibility: visible;
  overflow: initial;
}

.pro-tab .pro-swiper {
  padding: 12px;
  overflow: hidden;
}

.pro-tab .pro-list .pro-card {
  display: inline-block;
  width: calc((90vw - 92px * 3 - 24px) / 4);
  margin-bottom: 92px;
  margin-right: 92px;
}

.pro-tab .pro-list .pro-card:nth-of-type(4n) {
  margin-right: 0;
}

.pro-tab .pro-card:hover .pro-pic img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.pro-tab .pro-pic {
  margin-bottom: 15px;
  position: relative;
  height: calc((90vw - 92px * 3 - 24px) / 4);
  background-color: rgba(205, 200, 120, 0.2);
  cursor: pointer;
  -webkit-transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow, -webkit-box-shadow;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.pro-tab .pro-pic:hover {
  -webkit-transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow, -webkit-box-shadow;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.pro-tab .pro-pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: .5s;
  transition: .5s;
}

.pro-tab .pro-category {
  color: #EA719D;
  font-size: 15px;
  letter-spacing: 1px;
}

.pro-tab .pro-name {
  font-size: 20px;
  letter-spacing: 1px;
}

.pro-tab .pro-name a {
  color: #6c6c6a;
}

.pro-tab .swiper-button-prev,
.pro-tab .swiper-button-next {
  top: calc((calc((90vw - 92px * 3 - 24px) / 4) - 6vmin) / 2);
  width: 6vmin;
  height: 6vmin;
  background-image: url(../images/common/arrow-green.webp);
  background-size: 100% 100%;
}

.pro-tab .swiper-button-prev::after,
.pro-tab .swiper-button-next::after {
  display: none;
}

.pro-tab .swiper-button-prev:hover,
.pro-tab .swiper-button-next:hover {
  background-image: url(../images/common/arrow-green-h.webp);
}

.pro-tab .swiper-button-prev {
  left: initial;
  right: 100%;
}

.pro-tab .swiper-button-next {
  right: initial;
  left: 100%;
}

@media (max-width: 1890px) {
  .news .container,
  .products .container {
    width: 90vw;
  }
  .pro-tab .pro-pic {
    height: calc((90vw - 92px * 3 - 24px) / 4);
  }
  .pro-tab .swiper-button-prev,
  .pro-tab .swiper-button-next {
    top: calc((calc((90vw - 92px * 3 - 24px) / 4) - 6vmin) / 2);
  }
  .pro-tab .pro-list .pro-card {
    width: calc((90vw - 92px * 3 - 24px) / 4);
    margin-bottom: 92px;
    margin-right: 92px;
  }
}

@media (max-width: 1600px) {
  .pronav-swiper .swiper-slide {
    font-size: 16px;
  }
  .pro-tab .pro-name {
    font-size: 16px;
  }
}

@media (max-width: 1366px) {
  .news .container,
  .products .container {
    width: calc(100vw - (36px + 36px + 35px) * 2);
  }
  .pronav-swiper .swiper-slide {
    font-size: 16px;
  }
  .pro-tab .pro-list .pro-card {
    width: calc((calc(100vw - (36px + 36px + 35px) * 2) - 30px * 2 - 24px) / 3);
    margin-bottom: 30px;
    margin-right: 30px;
  }
  .pro-tab .pro-list .pro-card:nth-of-type(4n) {
    margin-right: 30px;
  }
  .pro-tab .pro-list .pro-card:nth-of-type(3n) {
    margin-right: 0;
  }
  .pro-tab .pro-pic {
    height: calc((calc(100vw - (36px + 36px + 35px) * 2) - 30px * 2 - 24px) / 3);
  }
  .pro-tab .pro-name {
    font-size: 16px;
  }
  .pro-tab .swiper-button-prev,
  .pro-tab .swiper-button-next {
    top: calc((calc((calc(100vw - (36px + 36px + 35px) * 2) - 30px * 2 - 24px) / 3) - 6vmin) / 2);
  }
}

@media (max-width: 1024px) {
  .pro-tab .pro-list .pro-card {
    width: calc((calc(100vw - (36px + 36px + 35px) * 2) - 20px - 24px) / 2);
    margin-bottom: 20px;
    margin-right: 20px;
  }
  .pro-tab .pro-list .pro-card:nth-of-type(3n) {
    margin-right: 20px;
  }
  .pro-tab .pro-list .pro-card:nth-of-type(2n) {
    margin-right: 0;
  }
  .pro-tab .pro-pic {
    height: calc((calc(100vw - (36px + 36px + 35px) * 2) - 20px - 24px) / 2);
  }
  .pro-tab .swiper-button-prev,
  .pro-tab .swiper-button-next {
    top: calc((calc((calc(100vw - (36px + 36px + 35px) * 2) - 20px - 24px) / 2) - 6vmin) / 2);
  }
}

@media (max-width: 767px), (max-height: 550px) {
  .news .container,
  .products .container {
    width: calc(94vw - 6vmin * 2);
  }
  .pro-tab .pro-list .pro-card {
    width: calc((calc(94vw - 6vmin * 2) - 20px - 24px) / 2);
    margin-bottom: 20px;
    margin-right: 20px;
  }
  .pro-tab .pro-pic {
    height: calc((calc(94vw - 6vmin * 2) - 20px - 24px) / 2);
  }
  .pro-tab .swiper-button-prev,
  .pro-tab .swiper-button-next {
    top: calc((calc((calc(94vw - 6vmin * 2) - 20px - 24px) / 2) - 6vmin) / 2);
  }
}

@media (max-width: 480px) {
  .news .container,
  .products .container {
    width: 94vw;
  }
  .pronav-swiper-outer {
    margin-left: 0;
    margin-right: 0;
  }
  .pronav-swiper .swiper-slide {
    padding: 10px 15px;
    font-size: 15px;
  }
  .pro-tab {
    margin: 0 auto;
    width: calc(94vw - 35px * 2);
  }
  .pro-tab .pro-list .pro-card {
    width: calc((94vw - 12px - 24px) / 1);
    margin-bottom: 12px;
    margin-right: 12px;
  }
  .pro-tab .pro-list .pro-card:nth-of-type(3n), .pro-tab .pro-list .pro-card:nth-of-type(2n) {
    margin-right: 12px;
  }
  .pro-tab .pro-pic {
    height: calc(94vw - 35px * 2 - 24px);
  }
  .pro-tab .pro-category {
    font-size: 12px;
  }
  .pro-tab .pro-name {
    font-size: 15px;
  }
  .pro-tab .swiper-button-prev,
  .pro-tab .swiper-button-next {
    top: calc((calc((94vw - 12px - 24px) / 1) - 35px) / 2);
    width: 35px;
    height: 35px;
  }
}

:root {
  --news-title-size: 2.2vmin;
  --news-title-height: calc(2.2vmin * 2 * 1.5);
  --news-date-size: 2.4vmin;
  --news-date-spacing: 3px;
}

.pronav-swiper-outer {
  margin: 5.5vmin 0 4vmin 0;
}

.news-list.style-1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.news-list.style-1 .news-card {
  position: relative;
  width: calc((90vw - 6.5vmin * 1) / 2);
  margin-bottom: 6.5vmin;
  overflow: hidden;
}

.news-list.style-1 .news-card:not(:nth-of-type(2n)) {
  margin-right: 6.5vmin;
}

.news-list.style-1 .news-card:hover .news-pic img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.news-list.style-1 .news-card .news-pic {
  position: relative;
}

.news-list.style-1 .news-card .news-pic img {
  width: 100%;
  -webkit-transition: .5s;
  transition: .5s;
}

.news-list.style-1 .news-card .news-pic .btn {
  display: block;
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.news-list.style-1 .news-card .news-info {
  margin-top: 2vmin;
  padding: 0 5vw;
  width: 100%;
  color: #6c6c6a;
}

.news-list.style-1 .news-card .news-info a {
  color: #6c6c6a;
}

.news-list.style-1 .news-card .news-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: var(--news-date-size);
  font-style: italic;
  letter-spacing: var(--news-date-spacing);
  color: #EA719D;
}

.news-list.style-1 .news-card .news-date label {
  padding: 0 2vmin;
}

.news-list.style-1 .news-card .news-date span {
  width: 6vmin;
  height: 1px;
  background-color: #EA719D;
}

.news-list.style-1 .news-card .news-title {
  margin-bottom: 1vw;
  font-size: var(--news-title-size);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list.style-1 .news-card .btn-white-border {
  padding: 1vmin 4.7vmin;
}

.news-list.style-1 .news-card .btn {
  display: none;
}

.news-list.style-2 .news-card:not(:first-of-type) {
  border-top: 1px solid rgba(200, 193, 118, 0.5);
}

.news-list.style-2 .news-card:last-of-type {
  margin-bottom: 4vh;
}

.news-list.style-2 .news-card .news-pic {
  display: none;
}

.news-list.style-2 .news-card .news-info {
  padding: 0 5vw 4vmin 5vw;
  margin-top: 4vmin;
}

.news-list.style-2 .news-card .news-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: var(--news-date-size);
  font-style: italic;
  letter-spacing: var(--news-date-spacing);
  color: #EA719D;
}

.news-list.style-2 .news-card .news-date label {
  padding: 0 2vmin;
}

.news-list.style-2 .news-card .news-date span {
  width: 6vmin;
  height: 1px;
  background-color: #EA719D;
}

.news-list.style-2 .news-card .news-title {
  margin-bottom: 1vw;
  font-size: var(--news-title-size);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #6c6c6a;
}

.news-list.style-2 .news-card .news-title a {
  color: #6c6c6a;
}

.news-list.style-2 .btn-white-border {
  padding: 1px 17px;
  color: #c8c176;
  border: 1px solid #c8c176;
  border-radius: 35px;
}

@media (max-width: 1366px) {
  .news-list.style-1 .news-card {
    width: calc((calc(100vw - (36px + 36px + 35px) * 2) - 4vmin * 1) / 2);
    margin-bottom: 4vmin;
  }
  .news-list.style-1 .news-card:not(:nth-of-type(2n)) {
    margin-right: 4vmin;
  }
}

@media (max-width: 767px), (max-height: 550px) {
  :root {
    --news-title-size: 18px;
    --news-date-size: 15px;
  }
  .news-list.style-1 .news-card {
    width: calc((calc(94vw - 6vmin * 2) - 4vmin * 1) / 2);
    margin-bottom: 4vmin;
  }
  .news-list.style-1 .news-card:not(:nth-of-type(2n)) {
    margin-right: 4vmin;
  }
}

@media (max-width: 480px) {
  :root {
    --news-title-size: 15px;
    --news-date-size: 12px;
    --news-date-spacing: 1px;
  }
  .pro-tab {
    width: 100%;
  }
  .news-list.style-1 .news-card {
    width: calc((94vw - 6vw * 1) / 2);
    margin-bottom: 6vw;
  }
  .news-list.style-1 .news-card:not(:nth-of-type(2n)) {
    margin-right: 6vw;
  }
  .news-list.style-1 .news-card .news-info {
    padding: 0;
  }
}
