/* @import url("/assets/css/fonts.css"); */

body {
  font-family: "Noto Sans TC", "Montserrat", sans-serif;
  letter-spacing: 0.5px;
}

.container {
  width: 100%;
  margin: auto;
  padding-right: 16px;
  padding-left: 16px;
  max-width: 1200px;
  padding: 0 16px;
}

/* @media (min-width: 540px){
  .container{
    max-width: 540px;
    padding: 0;
  }
} */

@media (min-width: 821px) {
  .container {
    max-width: 100%;
    padding: 0;
  }
}

@media (min-width: 960px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1140px) {
  .container {
    max-width: 1140px;
  }
}

/* @media (min-width: 1320px){
  .container{
    max-width: 1320px;
  }
} */

.sticky .signUpBtn {
  --tw-bg-opacity: 1;
  background-color: rgb(0 134 100 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.sticky .signUpBtn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(27 68 200 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.tab {
  position: relative;
}

.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.tab__content {
  width: calc(100% - 300px);
  max-height: 24px;
  overflow: hidden;
  transition: all 0.35s;
}

.tab__content a {
  line-height: 30px;
}

#cb1:checked ~ .tab__label .tab__content {
  max-height: 10rem;
}

.accordion {
  overflow: hidden;
}

.tab__label,
.tab__close {
  display: flex;
  color: white;
  cursor: pointer;
}

.tab__label {
  justify-content: space-between;
  padding: 1rem 0;
}

.tab__label::after {
  content: url("./../images/svg/Plus.svg");
  width: 1em;
  height: 1em;
  margin-right: 16px;
  text-align: center;
  transition: all 0.35s;
  position: absolute;
  right: 0px;
  top: 20px;
}

.tab__content p {
  margin: 0;
  padding: 1rem 0;
}

.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.tab input:checked + .tab__label::after {
  content: url("./../images/svg/Group_187.svg");
}

/*子tab*/
.sub-tab-list {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.sub-tab-list img {
  width: 40px;
  height: 40px;
}

.tgAction {
  display: none;
}

.tgText .tgAction {
  cursor: pointer;
}

.tgText .tgAction img {
  transition: all 0.3s ease;
}

.tgActionText {
  width: 100%;
  text-align: left;
}

.tgActionText {
  display: block;
  overflow: hidden;
  max-height: 58px;
}

.sub-tab-box {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.subtablink {
  background: rgba(42, 42, 42, 0.04);
  border: 1px solid rgba(42, 42, 42, 0);
  padding: 12px 24px;
  border-radius: 12px;
  margin-right: 8px;
  color: rgba(42, 42, 42, 0.8);
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  height: 50px;
}

.subtablink:hover {
  background: rgba(174, 231, 217, 0.2);
  border: 1px solid #26b7bc;
}

.subtablink.active {
  background: rgba(174, 231, 217, 0.2);
  border: 1px solid #26b7bc;
  color: rgba(42, 42, 42, 1);
}

.search-input::placeholder {
  color: rgba(42, 42, 42, 0.7);
  font-size: 16px;
}

.rotate {
  transform: rotate(180deg);
  transition: all 0.3s ease;
}

/* CSS Code */
.swiper-wrapper {
  width: 100%;
  height: max-content !important;
  /* padding-bottom: 64px !important; */
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  position: relative;
}

.swiper-pagination-bullet {
  background: #008664;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background: #008664 !important;
  height: 12px;
  width: 2.4rem;
  border-radius: 1rem !important;
}

#new-tabs-1-tab[aria-selected="false"] + img {
  display: none;
}

#new-tabs-2-tab[aria-selected="false"] + img {
  display: none;
}

.c-banner-bg {
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 229, 0.2),
    rgba(220, 239, 232, 0.4)
  );
  border-bottom: 1px solid #ccc;
  position: relative;
  overflow: hidden;
}

.c-banner-bg::before {
  content: "";
  position: absolute;
  background: url(./../images/c-banner-left.png) no-repeat;
  width: 82px;
  height: 76px;
  background-size: contain;
  top: 64px;
  left: 6%;
  z-index: -1;
}

.c-banner-bg::after {
  content: "";
  position: absolute;
  background: url(./../images/c-banner-right.png) no-repeat;
  width: 233px;
  height: 172px;
  background-size: contain;
  top: 10px;
  right: -4%;
  z-index: -1;
}

.container-pa {
  padding: 16px 0;
  color: #2a2a2a;
}

.fixed {
  position: fixed !important;
}

.flowhidden {
  overflow: hidden;
}

.container-bg {
  position: relative;
}

.container-bg::before {
  content: "";
  position: absolute;
  background: url(./../images/container-bg.png) no-repeat;
  width: 198px;
  height: 184px;
  top: 120px;
  left: -6%;
  z-index: -1;
  background-size: contain;
}

/* 頁籤按鈕的樣式 */
.tabs {
  margin: 0px auto 0px auto;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  overflow: overlay;
  position: sticky;
  z-index: 2;
  max-width: 1200px;
}

.tablinks {
  display: inline-block;
  vertical-align: top;
  padding: 16px 24px 16px 24px;
  list-style: none;
  box-sizing: border-box;
  position: relative;
  font-size: 18px;
  color: rgba(42, 42, 42, 0.8);
  font-weight: 500;
  border-bottom: 4px solid rgba(253, 200, 133, 0);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tablinks:hover {
  color: #26b7bc;
  transition: all 0.3s ease;
}

.tablinks.active {
  color: #26b7bc;
  border-bottom: 4px solid #fdc885;
  transition: all 0.3s ease;
}

/* 頁籤內容的樣式 */
.tabcontent {
  display: block;
  border-top: none;
}

.subtabcontent {
  display: block;
  border-top: none;
}

/*搜尋*/
.green-bg {
  background: rgba(174, 231, 217, 0.2);
  border-radius: 8px;
  padding: 16px;
  width: 100%;
}

.search-box {
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #cccccc;
  background: #fff;
  display: flex;
  align-items: center;
  max-width: 420px;
}

.search-box img {
  width: 24px;
}

.search-box a {
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  display: block;
  background: #26b7bc;
  transition: 0.3s;
}

.search-box a:hover {
  background-color: #005a44;
}

.search-input {
  border: none;
  width: calc(100% - 89px);
  padding: 6px 4px 4px 4px;
}

/*頁碼*/
.page-list {
  display: flex;
  margin: 24px 0;
  justify-content: center;
}

.page-list a {
  width: 40px;
  height: 40px;
  display: block;
  text-align: center;
  background: #f3f3f3;
  margin: 0 4px;
  border-radius: 20px;
  line-height: 40px;
}

.page-list a img {
  width: 8px;
  height: 15px;
  position: relative;
  top: 12px;
  left: 16px;
}

.page-list a:hover {
  background: #aee7d9;
}

.page-list a.active {
  background: #aee7d9;
}

@media (max-width: 1280px) {
  .container-pa {
    padding: 16px;
  }
}

@media (max-width: 820px) {
  .subtablink {
    height: 42px;
    padding: 0 24px;
  }

  .tgActionText {
    max-height: 48px;
  }

  .tabcontent {
    /* padding: 0 16px */
  }
}

.list-qa {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.item-qa {
  width: 100%;
  height: 75px;
  border-bottom: 1px solid #eaeaea;

  .item-qa-content {
    display: none;
  }
}
.item-qa.active {
  height: fit-content;
  padding: 0 0 20px;

  .item-qa-content {
    display: block;
  }

  .goto {
    transform: rotate(180deg);
  }
}

.item-qa-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0px;
  cursor: pointer;
}

.item-title .number {
  width: 80px;
  min-width: 80px;
}

.item-title {
  display: flex;
  font-size: 32px;
  font-weight: 600;
  color: #26b7bc;
}

.item-content .number {
  font-weight: 500;
  min-width: 80px;
  font-size: 24px;
}
.item-content {
  display: flex;
  font-size: 20px;
  font-weight: 400;
  color: #333333;
}

@media (max-width: 768px) {
  .header-page {
    margin-top: 32px;
  }

  .header-page .title {
    font-size: 32px;
  }

  .item-qa {
    height: auto;
  }

  .item-title .number {
    width: 73px;
    min-width: 73px;
  }

  .item-content .number {
    min-width: 74px;
    font-size: 16px;
  }

  .answer-wrapper{
    display: flex;
    flex-direction: column;
  }

  .item-title {
    font-size: 24px;
  }

  .item-content {
    font-size: 16px;
  }
}
