@charset "UTF-8";
@font-face {
  font-family: "jf-openhuninn";
  src: url(../fonts/jf-openhuninn-2.1.ttf);
  font-weight: 400;
  font-display: swap;
}
/**
 * * Allows you to use retina images at various pixel densities.
 * * Examples:
 * *
 * *   +retina(/images/mypic.jpg, 2);
 * *   +retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
 * *
 * * @param  {Value}  $path               The path to the file name minus extension.
 * * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * * @param  {Value}  $extras: null       Any other `background` values to be added.
 * */
/**
 * * 往上適應
 * * 引用方式: +media-up($breakpoint-value)
 * */
/**
 * * 往上適應
 * * 引用方式: +media-up-num(自訂數值)
 * */
/**
 * * 往下適應
 * * 引用方式: +media-down($breakpoint-value)
 * */
/**
 * * 往下適應
 * * 引用方式: +media-up-num(自訂數值)
 * */
/**
 * * 範圍內適應
 * * 引用方式: +media-between($lower-breakpoint, $upper-breakpoint)
 * */
/**
 * * 引用方式: +lh(15,22) 前面放 line-height 的 px 值, 後面放 font-size 的 px 值（計算）
 * */
/**
 * * 引用方式: +ls(15,22) 前面放 letter-spacing 的 px 值, 後面放 font-size 的 px 值（計算）
 * */
/*  ===== firefox font weight bold 統一設定為 normal (firefox 在小字為粗體的時候會過粗) ===== */
/**
 * * 引用方式: +gradient(180deg,#fff,4%,#eee,92%)
 * */
/**
 * * margin
 * * 引用方式: +mb(15,22) 前面放 margin 的 px 值, 後面放 font-size 的 px 值
 * */
/**
 * * padding
 * * 引用方式: +pb(15,22) 前面放 padding 的 px 值, 後面放 font-size 的 px 值
 * */
.accordion .accordion__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 36px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background-color: #ffffff;
}
@media (max-width: 991.98px) {
  .accordion .accordion__title {
    padding: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
  }
}
.accordion .accordion__title .question-wrap {
  display: flex;
  gap: 20px;
}
.accordion .accordion__title .question-wrap .question-number {
  font-size: 1.875rem;
  letter-spacing: 0.9px;
  color: #20AD71;
  white-space: nowrap;
}
.accordion .accordion__title .question-wrap .question-text {
  font-size: 1.125rem;
  line-height: 160%;
  letter-spacing: 0.36px;
}
.accordion .accordion__title .question-icon {
  width: 32px;
  height: 32px;
  background-image: url("../images/icon/icons/accordion-open.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 991.98px) {
  .accordion .accordion__title .question-icon {
    width: 20px;
    height: 20px;
  }
}
.accordion .accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: all ease 400ms;
}
.accordion .accordion__content > * {
  overflow: hidden;
}
.accordion .accordion__content .content-wrap .content {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (max-width: 991.98px) {
  .accordion .accordion__content .content-wrap .content {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
.accordion .accordion__content .content-wrap .content p {
  font-size: 1rem;
  line-height: 200%;
  letter-spacing: 0.8px;
  font-weight: 300;
  font-family: "Noto Sans TC", sans-serif;
  color: #ffffff;
}
.accordion.is-active .accordion__title .question-icon {
  background-image: url("../images/icon/icons/accordion-close.svg");
}
.accordion.is-active .accordion__content {
  grid-template-rows: 1fr;
}
.accordion.is-active .accordion__content > * {
  animation: overflowModify 0.5s ease-in-out forwards;
}

@keyframes overflowModify {
  0%, 99.9% {
    overflow: hidden;
  }
  100% {
    overflow: visible;
  }
}

/*# sourceMappingURL=accordion.css.map */
