@charset "UTF-8";
.tab-block .uk-subtab {
  flex-wrap: nowrap; /* 強制不換行 */
  border-bottom: none;
  justify-content: left;
  padding-left: 20px;
  height: auto;
}

.tab .uk-switcher {
  padding: 0px 20px;
}

.tab-block > .uk-switcher > .uk-active .p4-plList {
  background-position: left top;
  background: url("../img/sub-tab-pattern.png") #fff 263px 22px repeat;
}

.tab-block .uk-subtab > li {
  position: relative;
  display: flex !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 70px;
  height: 75px;
  border-bottom: 5px solid #83A55E;
  background: #F0F0F0;
  margin: 0 5px;
  padding-left: 0;
}
@media (max-width: 996px) {
  .tab-block .uk-subtab > li {
    width: 60px;
    height: 51px;
  }
}
.tab-block .uk-subtab > li.uk-active::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: url("../img/sub-tab-icon.png");
  width: 47px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: contain;
}

.tab-block .uk-subtab > li.uk-active::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 17px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='17' viewBox='0 0 20 17' fill='none'%3E%3Cpath d='M20 0H0L10 17L20 0Z' fill='%2383A55E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.tab-block .uk-subtab a {
  color: #595959;
  font-size: 20px;
  padding: 7px 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}
@media (max-width: 996px) {
  .tab-block .uk-subtab a {
    font-size: 16px;
    padding: 5px 10px;
  }
}
.tab-block .uk-subtab > li.uk-active {
  background: #F2ECB8;
}

.tab-block .uk-subtab > li.uk-active a {
  color: #663F00;
}

.red {
  color: #FF5A21;
}

.emphasize {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.p4-plList {
  max-width: 1140px;
  border-radius: 0;
}

.tab-block .uk-switcher figure {
  position: relative;
  margin: 0;
  width: 100%;
  padding: 24px 0;
  flex-direction: column-reverse;
}
.tab-block .uk-switcher figure h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 8px 0;
  line-height: 1.25;
}
.tab-block .uk-switcher figure p {
  font-size: 18px;
  margin: 0;
  padding-bottom: 12px;
  line-height: 1.5;
}

.tab-block figure:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='100%25' height='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='1.5' x2='100%25' y2='1.5' stroke='%23FFABA8' stroke-width='3' stroke-dasharray='15, 15' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 3px;
}

.tab-scroll-container {
  position: relative;
  left: 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top:32px;
  padding-bottom: 16px;
  display: block;
  overscroll-behavior-y: none;
}

.tab-scroll-container::-webkit-scrollbar {
  display: none; /* 隱藏 Chrome/Safari 滾動條 */
}

.tab-scroll-container {
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.evenImg {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0;
}

.evenImg img {
  display: block;
  width: 100%;
  height: auto;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /* 畫出一個三角形：利用邊框大法 */
  /* 調整 40px 可以改變三角形的大小 */
  border-style: solid;
  border-width: 60px 60px 0 0;
  border-color: #ffaba7 transparent transparent transparent;
}

.badge::after {
  content: "New";
  position: absolute;
  top: 12px; /* 調整文字上下位置 */
  left: 4px; /* 調整文字左右位置 */
  z-index: 3;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  /* 旋轉文字，使其平行於斜邊 */
  transform: rotate(-45deg);
  /* 讓文字在旋轉後依然居中 */
  display: block;
  width: 35px;
  text-align: center;
}

@media screen and (min-width: 992px) {
  .tab-block .uk-switcher figure {
    flex-direction: row;
  }
  .tab-block .uk-switcher figure h2 {
    font-size: 24px;
  }
  .tab-block .uk-switcher figure p {
    font-size: 20px;
  }
  .emphasize {
    font-size: 24px;
  }
}
@media screen and (max-width: 576px) {
  .tab .uk-switcher {
    padding: 0px 0px;
  }
  .tab-block .uk-subtab {
    justify-content: center;
  }
    .evenImg img{
      width: 70%;
      text-align: center;
      margin: 0 auto;
    }
}/*# sourceMappingURL=jcb-tab.css.map */