@charset "UTF-8";
/**
 * * 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 {
  width: 100%;
}
.accordion .accordion__title {
  position: relative;
  cursor: pointer;
}
.accordion .accordion__content {
  position: relative;
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s ease-in-out;
}
.accordion .accordion__content > * {
  overflow: hidden;
}
.accordion.is-active .accordion__content {
  grid-template-rows: 1fr;
}
.accordion.is-active .accordion__content > * {
  animation: overflowModify 0.5s ease forwards;
}

@keyframes overflowModify {
  0%, 99.9% {
    overflow: hidden;
  }
  100% {
    overflow: visible;
  }
}
.lang-accordion .accordion__title {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 991.98px) {
  .lang-accordion .accordion__title {
    gap: 6px;
  }
}
.lang-accordion .accordion__title .lang-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
}
@media (max-width: 991.98px) {
  .lang-accordion .accordion__title .lang-text {
    font-size: 0.875rem;
  }
}
.lang-accordion .accordion__title .lang-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lang-accordion .accordion__content {
  position: absolute;
  margin-top: 20px;
  transform: translateX(-12px);
}
@media (max-width: 991.98px) {
  .lang-accordion .accordion__content {
    margin-top: 6px;
    transform: translateX(-6px);
  }
}
.lang-accordion .accordion__content .lang-link {
  width: 52px;
  height: 52px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #374D42;
  font-size: 1.125rem;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 991.98px) {
  .lang-accordion .accordion__content .lang-link {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }
}

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