@charset "utf-8";
/*===================================================
  • 消息列表、筆記本底圖樣式
  • Home|首頁
  • About|關於小袋鼠
  • News|幼教新知
  • Resource|教學資源
  • Event|服務推廣
  • Contact|聯絡我們
  ---------------------------------------------------
  last update 2025-6
===================================================*/
.newsList {
  list-style: none;
  padding: 0;
  overflow: hidden;
}
.newsList li:first-child:before, .newsList li:after {
  content: "";
  display: block;
  width: 100%;
  height: 7px;
  background: url('../images/homeList-line.png') repeat-x left center;
}
.newsList li a {
  display: flex;
}
.newsList li a h3 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #333;
  display: block;
  width: 100%;
  padding: 20px 15px;
  transition: all .4s ease;
}
.newsList li a:hover h3 {
  color: #ff9900;
}
.newsList li a h3 span {
  color: #05a159;
  margin-right: 5px;
}
.newsList li a div {
  color: #d94f4d;
  display: flex;
  align-items: center;
  padding-right: 20px;
  transition: all .3s
}
.newsList li a div i {
  color: #fff;
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 10px;
}
.newsList li a div i:before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.2rem;
  position: absolute;
  top: 4px;
  left: 6px;
  z-index: 1;
}
.newsList li a div i:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: #d94f4d;
  border-radius: 50rem;
  position: absolute;
  top: 0;
  z-index: 0;
}
.newsList li a:hover div {
  padding-right: 15px;
}
.noteFrame {
  border: 4px solid #dcbf7b;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
}
.noteFrame:before {
  content: url('../images/noteFrame.png');
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .noteFrame:before {
    transform: translateX(-50%) scale(0.6);
  }
}
@media (max-width: 576px) {
  .noteFrame:before {
    transform: translateX(-50%) scale(0.5);
  }
}
/*-----------------------------------------------
  Home
-----------------------------------------------*/
.home main {
  background: none;
  padding-bottom: 60px;
}
.homeTitle {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ff9900;
  margin-bottom: 20px;
}
.homeTitle img {
  margin-right: 10px;
  transition: all .4s ease;
}
/*Home_News List*/
.homeNews {
  margin-top: 90px;
  margin-bottom: 40px;
  position: relative;
}
.homeNews .row > div:last-child {
  padding-left: 30px;
}
/*Home_Products*/
.homePds {
  background: url('../images/homePd-bg.png') no-repeat top right;
  padding: 230px 0;
}
.homePds .container {
  position: relative;
}
.homePds-decor {
  position: absolute;
  top: 40px;
  right: -200px;
}
.homePds .nav-tabs, .homePds .nav-tabs .nav-link, .homePds .nav-tabs .nav-link.active {
  border: transparent;
  background: transparent;
}
.homePds .nav-tabs .nav-link {
  display: flex;
  align-items: center;
  padding-top: 0;
  cursor: pointer;
}
.homePds .nav:before {
  content: url('../images/homePds-navdecor.png');
  display: block;
  width: 54px;
  height: 54px;
  margin-right: 10px;
}
.homePds .nav:after {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin-left: 10px;
}
.homePds .nav-tabs .nav-link, .homePds .nav-tabs .nav-link.active {
  font-size: 2.8rem;
  font-weight: 700;
  color: #f90;
  transition: all .4s ease;
}
.homePds .nav-tabs .nav-link:hover, .homePds .nav-tabs .nav-link.active {
  font-size: 3.2rem;
  color: #238158;
}
.homePds .tab-content {
  margin-top: 10px;
}
.homePdSwiper-wrap {
  height: 100%;
  width: 100%;
  position: relative;
  display: block;
  padding: 0 40px;
}
.homePdSwiper-wrap .swiper-button-prev, .homePdSwiper-wrap .swiper-button-next {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: 0;
  transform: translateY(-50%);
}
.homePdSwiper-wrap .swiper-button-prev {
  left: -5px;
}
.homePdSwiper-wrap .swiper-button-next {
  right: -5px;
}
.homePdSwiper-wrap .swiper-button-prev:after, .homePdSwiper-wrap .swiper-button-next:after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
}
.homePdSwiper-wrap .swiper-button-prev:after {
  background: url('../images/Swiper-prev_2.png') no-repeat center center;
  background-size: 100%;
}
.homePdSwiper-wrap .swiper-button-next:after {
  background: url('../images/Swiper-next_2.png') no-repeat center center;
  background-size: 100%;
}
.homePdSwiper {
  padding: 30px 30px 60px;
}
.homePdSwiper-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.homePdSwiper-wrap a {
  transition: all .4s ease;
  transform: scale(1);
  background: #fff;
}
.homePdSwiper-wrap a:hover {
  transform: scale(1.2);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.homePdSwiper-wrap a img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
/*Home_Event*/
.homeEvent-decor {
  position: absolute;
  top: -230px;
  left: -65px;
}
.homeEventList {
  list-style: none;
  font-size: 1.8rem;
  padding: 0;
  overflow: hidden;
  margin-top: -20px;
}
.homeEventList li {
  padding-top: 25px;
}
.homeEventList li:after {
  margin-top: 25px;
}
.homeEventList li a {
  color: #333;
  display: block;
  width: 100%;
}
.homeEventList li a:hover {
  color: #ff9900;
}
.homeEventList li .date {
  font-size: 1.6rem;
  color: #ff6600
}
.newsList.homeEventList li:first-child:before {
  display: none;
}
.newsList.homeEventList li a h3 {
  padding: 0;
}
.homeCalendar {
  max-width: 410px;
  margin: auto;
}
@media (max-width: 1440px) {
  .homePds-decor {
    top: 70%;
    right: -2%;
  }
  .homePds-decor img {
    width: 220px;
  }
  .homeEvent-decor {
    top: -80%;
    left: -4%;
  }
  .homeEvent-decor img {
    width: 360px;
  }
}
@media (max-width: 1199px) {
  .homePds {
    background-size: 150%;
    padding: 160px 0;
  }
  .homePds .tab-content {
    margin-top: 0;
  }
  .homeNews {
    margin-top: 60px;
  }
  .homeNews .row > div:last-child {
    padding-left: 0;
  }
  .homePds-decor {
    top: 80%;
  }
  .homeEvent {
    margin-top: 20px;
  }
  .homeEvent-decor {
    display: none;
  }
  .homeEventList {
    padding-right: 20px;
  }
  .homeCalendar {
    margin-top: 20px;
  }
}
@media (max-width: 991px) {
  .homeTitle {
    font-size: 2.4rem;
  }
  .homePds {
    padding: 120px 0;
  }
  .homePds .nav-tabs .nav-link, .homePds .nav-tabs .nav-link.active {
    font-size: 2.4rem;
  }
  .homePdSwiper-wrap {
    padding: 0 30px;
  }
  .homeEvent {
    margin-top: 0;
  }
  .homeEventList {
    padding-right: 0;
  }
}
@media (max-width: 576px) {
  .homePds {
    background-size: 200%;
    padding: 80px 0 40px 0;
  }
  .homePds .col-xl-10 {
    background-color: #ff3;
  }
  .homePds .nav:before {
    transform: scale(0.6);
    position: absolute;
    top: -40px;
    left: 0;
  }
  .homePds-decor {
    display: none;
  }
  .homePds .nav-tabs .nav-link, .homePds .nav-tabs .nav-link:hover, .homePds .nav-tabs .nav-link.active {
    font-size: 1.6rem;
    flex: 0 0 25%;
    align-items: center;
  }
}
/*-----------------------------------------------
  About
-----------------------------------------------*/
.aboutFrame {
  position: relative;
}
.about-decor {
  position: absolute;
}
.about-decor.ad1 {
  top: 180px;
  right: 0;
  z-index: 1;
}
.about-decor.ad2 {
  top: 120px;
  left: -190px;
}
.aboutContent {
  position: relative;
  margin: 70px auto 0 auto;
}
.aboutContent .noteFrame {
  padding: 110px 80px;
}
.aboutContent h1 {
  text-align: center;
  margin-bottom: 60px;
}
.aboutContent p {
  font-size: 1.8rem;
  background: url('../images/dot.png') repeat top left;
  line-height: 36px;
  padding: 0 0 36px;
  margin: 0
}
.about-hy-decor {
  position: absolute;
}
.about-hy-decor.ad1 {
  top: 210px;
  right: -80px;
  z-index: 1;
}
.about-hy-decor.ad2 {
  top: 120px;
  left: -250px;
}
.letterFrame {
  background: url('../images/letterFrame-top.png'), url('../images/letterFrame-bottom.png'), url('../images/letterFrame-center.png');
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-position: top center, bottom 0 center, top center;
  background-size: contain;
  padding: 110px 80px;
  position: relative;
}
.letterFrame h1 {
  position: relative;
}
.letterFrame h1 span {
  position: absolute;
  left: 0;
  top: -60px;
}
.letterFrame p span {
  color: #9f7104;
}
.letterFrame .sign {
  text-align: right;
  margin-top: 30px;
}
@media (max-width: 1440px) {}
@media (max-width: 1439px) {}
@media (max-width: 1024px) {}
@media (max-width: 1023px) {}
@media (max-width: 576px) {}
@media (max-width: 1440px) {
  .about-decor img {
    width: 80%;
  }
  .about-decor.ad2 {
    left: -130px;
  }
  .about-hy-decor img {
    width: 80%;
  }
  .about-hy-decor.ad2 {
    left: -180px;
  }
}
@media (max-width: 1439px) {
  .aboutContent {
    width: 80%;
    margin: 40px auto 0 auto;
  }
  .letterFrame h1 {
    text-align: right;
  }
  .letterFrame h1 span {
    left: -40px;
    top: -80px;
  }
}
@media (max-width: 1024px) {
  .about-decor img {
    width: 60%;
  }
  .about-decor.ad1 {
    right: -40px;
  }
  .about-decor.ad2 {
    left: -80px;
  }
  .aboutContent h1 {
    margin-bottom: 30px;
  }
  .aboutContent .noteFrame {
    padding: 70px 50px;
  }
  .about-hy-decor img {
    width: 60%;
  }
  .about-hy-decor.ad1 {
    top: 180px;
    right: -110px;
  }
  .about-hy-decor.ad2 {
    left: -120px;
  }
  .letterFrame {
    padding: 110px 50px 70px 50px;
  }
  .letterFrame h1 span {
    left: -20px;
    top: -90px;
  }
  .letterFrame h1 span img {
    width: 110px;
    height: auto;
  }
  .letterFrame .sign img {
    width: 160px;
    height: auto;
  }
}
@media (max-width: 1023px) {
  .aboutContent .noteFrame {
    padding: 50px 40px;
  }
  .about-decor.ad1 {
    right: -60px;
  }
  .aboutContent h1 img {
    height: 30px;
    width: auto;
  }
  .about-hy-decor img {
    width: 50%;
  }
  .about-hy-decor.ad1 {
    right: -140px;
  }
  .about-hy-decor.ad2 {
    left: -100px;
  }
  .letterFrame {
    padding: 80px 40px 50px 40px;
  }
  .letterFrame h1 span {
    top: -70px;
  }
}
@media (max-width: 576px) {
  .about-decor {
    display: none;
  }
  .aboutContent {
    width: 100%;
    margin: 20px auto 0 auto;
  }
  .aboutContent .noteFrame {
    padding: 40px 15px;
  }
  .aboutContent h1 {
    margin-bottom: 20px;
  }
  .aboutContent h1 img {
    height: 22px;
  }
  .about-hy-decor {
    display: none;
  }
  .letterFrame {
    padding: 80px 20px 40px 20px;
  }
  .letterFrame h1 {
    text-align: center;
  }
  .letterFrame h1 span {
    left: 0;
  }
  .letterFrame h1 span img {
    width: 100px;
  }
  .letterFrame .sign {
    margin-top: 20px;
  }
  .letterFrame .sign img {
    width: 120px;
  }
}
/*-----------------------------------------------
  News
-----------------------------------------------*/
.newsContent {
  font-size: 1.8rem;
  line-height: 2;
  margin-bottom: 40px;
}
.newsContent h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #690;
  margin-bottom: 30px;
}
.newsContent > div {
  clear: both;
}
.newsContent p {
  margin-bottom: 15px;
}
.news-pagination {
  list-style: none;
  padding-left: 0;
  margin-top: 50px;
  display: flex;
  justify-content: center;
}
.news-pagination li:first-child {
  margin-right: 140px;
}
.news-pagination a {
  font-size: 1.8rem;
  color: #d94f4d;
  display: inline-flex;
  align-items: center;
}
.news-pagination a:hover {
  color: #d94f4d;
}
.news-pagination a i {
  font-style: normal;
  background-color: #fff;
  border: 2px solid #d94f4d;
  border-radius: 50rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  margin: 0 10px;
  transition: all .4s ease;
}
.news-pagination a:hover i {
  color: #fff;
  background-color: #d94f4d;
}
@media (max-width: 576px) {
  .news-pagination {
    margin-top: 20px;
  }
  .news-pagination li:first-child {
    margin-right: 60px;
  }
}
/*-----------------------------------------------
  Resource
-----------------------------------------------*/
.resource .rsContent {
  margin-top: 50px;
}
.resource_top {
  display: flex;
  align-items: flex-start;
  margin-bottom: 90px;
}
.resource_top h2 {
  font-size: 2.4rem;
  color: #690;
  margin-bottom: 30px;
}
.resource_top p {
  line-height: 2.25;
}
.resource_top img {
  padding-left: 30px;
  flex-shrink: 0;
}
.resource_thumb {
  /*display: flex;
  justify-content: space-around;*/
  position: relative;
  padding: 0 50px;
  margin-bottom: 25px;
}
.resource_thumbNav {
  /*width: calc(100% - 100px);*/
}
.resource_thumbNav .swiper-wrapper {}
.resource_thumbNav .swiper-slide {
  color: #fff;
  border-radius: 4px;
  /*width: 110px!important;*/
  height: 45px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.resource_thumbNav .swiper-slide:last-child {
  margin-right: 0 !important;
}
.resource_thumbNav .swiper-slide:hover {
  opacity: 0.9;
}
.resource_thumb .swiper-button-prev:after, .resource_thumb .swiper-button-next:after {
  content: "";
  display: block;
  width: 35px;
  height: 35px;
}
.resource_thumb .swiper-button-prev:after {
  background: url(../images/resource_thumbNav-prev.png) no-repeat center center;
  background-size: 100%;
}
.resource_thumb .swiper-button-next:after {
  background: url(../images/resource_thumbNav-next.png) no-repeat center center;
  background-size: 100%;
}
.resource_content .swiper-slide {
  border: 3px solid #cadeb8;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
}
.resource_content .swiper-slide div:last-child {
  width: 100%;
}
.resource_content .swiper-slide img {
  border-radius: 50rem;
  margin-right: 40px;
}
.resource_content .swiper-slide p {
  font-size: 1.8rem;
  line-height: 2;
}
.resource_content .swiper-slide .btn {
  font-size: 1.8rem;
  color: #fff;
  background-color: #e84238;
  border-radius: 50rem;
  width: 90px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*list page*/
.product-listTitle {
  font-size: 2.4rem;
  color: #690;
  margin-bottom: 20px;
}
.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
}
.product-list li {
  flex: 0 1 calc(33.33% - 13.33px);
  box-sizing: border-box;
  margin-bottom: 20px;
}
.product-list li a h3 {
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  color: #666;
}
.product-list li a:hover h3 {
  color: #238158;
}
.product-list li div {
  margin-bottom: 10px;
  overflow: hidden;
}
.product-list li div img {
  transition: transform .4s ease;
  aspect-ratio: 1/1;
  object-fit: cover
}
.product-list li div:hover img {
  transform: scale(1.2);
}
/*產品內頁*/
.pd-top {
  font-size: 1.6rem;
  line-height: 2.25;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 30px;
}
.pd-top h1 {
  font-size: 2.4rem;
  color: #f60;
  margin-bottom: 20px;
}
.pd-top .btns {
  margin-bottom: 15px;
  width: 100%;
  display: flex;
  gap: 15px;
}
.pd-top .btns li {
  flex: 0 1 calc(33.33% - 7.5px);
}
.pd-top .btns li a {
  text-align: center;
  border-radius: 4px;
  box-sizing: border-box;
}
.pd-top .btns li a#add-to-cart, .pd-top .btns li a#ga4_cart {
  background-color: #f96c6c;
}
.pd-top .btns li a#ga4_book {
  background-color: #fd9047;
}
.pd-top .btns li a#ga4_audio {
  background-color: #3abde8;
}
.pd-top .btn {
  font-size: 2rem;
  color: #fff;
  width: 100%;
}
.price-box {
  margin-top: 40px;
}
.price-box p {
  font-size: 1.6rem !important;
  margin-bottom: 0;
}
.price-amount span {
  font-size: 2.4rem;
  font-weight: 700;
  color: #f70c0c;
}
.pd-adds {
  border-top: 2px solid #cecece;
  border-bottom: 2px solid #cecece;
  margin: 15px 0 30px;
  padding: 15px 0;
  line-height: 1.5
}
.pd-add {
  display: flex;
  align-items: center;
}
.pd-add:not(:last-child) {
  margin-bottom: 10px;
}
.pd-add img {
  width: 120px;
  object-fit: contain;
  aspect-ratio: 1 / 1
}
.pd-add-inf {
  padding: 1rem;
}
.pd-add-inf h5 {
  font-size: 1.8rem;
}
.pd-detail {
  margin-top: 60px;
}
.pd_imgContent {
  margin-bottom: 10px;
}
.pd_thumb .swiper-slide-thumb-active {
  border: 2px solid #e47e10;
}
.pd_thumb .swiper-slide, .pd_imgContent .swiper-slide {
  cursor: pointer;
}
.pd_thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.pd_imgContent img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.pd-detail {
  line-height: 2;
}
.pd-detail .title, .pd_reading .title {
  background: url('../images/pd-titleBgLine.jpg') repeat-x left center;
  margin-bottom: 50px;
}
.pd-detail h2, .pd_reading h2 {
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  color: #fff;
  width: 300px;
  height: 50px;
  background: url('../images/pd-titleBg.png') no-repeat left center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pd-detail h3 {
  font-size: 2.4rem;
  font-weight: 400;
  color: #1991cf;
}
.pd-detail p, .pd-detail img, .pd-detail iframe {
  margin-bottom: 2rem;
}
.pd-detail img {
  height: auto !important;
  width: auto !important
}
.pd_reading {
  margin-top: 60px;
}
.pd_reading ul {
  text-align: center;
  display: flex;
  gap: 10px;
}
.pd_reading li {
  flex: 0 1 calc(25% - 10px);
  box-sizing: border-box;
}
.pd_reading li a h3 {
  font-size: 1.6rem;
}
.btn-modal {
  background-color: #f96c6c;
  border-color: #b3b3b3;
  display: inline-block;
  width: auto !important;
  margin: auto
}
.btn-modal:hover {
  background-color: #ff2727;
  border-color: #b3b3b3;
}
.fancybox-content img {
  margin-bottom: 0.8rem;
}
/*集購*/
.resource .eventMain h1 {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.25;
  color: #963;
}
.resource .eventMain p {
  font-size: 1.8rem;
  line-height: 1.66;
  list-style: none;
}
.gb-progressInfo {
  margin-bottom: 50px;
}
.gb-progressInfo h3 {
  font-size: 3rem;
  font-weight: 400;
  color: #05a159;
  margin-bottom: 15px;
}
.gb-progressInfo .d-flex {
  justify-content: space-between;
}
.gb-progressInfo .d-flex p {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.gb-progress {
  padding: 20px 0 70px 0;
}
.gb-progress .progress {
  width: 100%;
  height: 40px;
  border: 4px solid #dcbf7b;
  border-radius: 50rem;
  background-color: #fff;
  position: relative;
  overflow: visible;
}
.gb-progress .progress-bar {
  height: 100%;
  background-color: #dcbf7b;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  position: relative;
  overflow: visible;
  transition: width 2s ease;
}
.gb-progress .gb-car {
  width: 180px;
  height: 60px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  transition: transform 2s ease;
}
.gb-tooltip .tooltip-inner {
  font-size: 1.6rem;
  border-radius: 6px;
  background-color: #f96c6c;
  padding: 5px 15px;
  margin-top: 5px;
}
.gb-tooltip .tooltip-arrow:before {
  border-width: 0 7px 8px 7px !important;
  border-color: transparent transparent #f96c6c transparent !important;
  margin-bottom: -5px;
}
.gb-countdown {
  font-size: 3rem;
  text-align: center;
  color: #f70c0c;
}
.gb-countdown p {
  display: inline-block;
  margin-bottom: 0;
}
.gb-countdown span {
  font-weight: 900;
  letter-spacing: 5px;
  padding: 0 2px;
}
.gb-time {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin: 5px 0;
}
.pd-top .modal-body {
  padding: 3.2rem 3.2rem 0 3.2rem;
  line-height: 3.2rem;
  border-bottom: 0
}
.pd-top .modal .btn {
  display: block;
  margin: 0 auto 1.6rem;
  background-color: #cc3333;
  color: white;
  transition: background-color 0.3s ease;
  font-size: 1.6rem;
  border: none;
  line-height: 1.8
}
.pd-top .modal .btn:hover {
  background-color: #a52a2a;
}
.pd-top .modal-footer {
  border-top: 0
}
@media (max-width: 1024px) {
  .resource_top {
    flex-direction: column;
  }
  .resource_top h2 {
    margin-bottom: 20px;
  }
  .resource_top img {
    padding-top: 30px;
    padding-left: 0;
    margin: auto;
  }
  .resource_content .swiper-slide img {
    max-width: 200px;
  }
  .resource_content .swiper-slide p {
    font-size: 1.6rem;
    line-height: 1.75;
  }
}
@media (max-width: 991px) {
  .pd-top {
    height: auto;
    padding-left: 0;
    margin-top: 40px;
  }
  .pd-detail h2, .pd_reading h2 {
    margin: auto;
  }
  .gb-progressInfo {
    margin-bottom: 30px;
	  text-align: center;
  }
  .gb-progress {
    padding: 20px 0 60px 0;
	  margin: 10px 45px
  }
  .gb-progress .progress {
    height: 20px;
  }
  .gb-progress .progress-bar {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  .gb-progress .gb-car {
    width: 132px;
    height: 44px;
  }
}
@media (min-width: 577px) {
  .product-list li:nth-child(3n+1) {
    margin-left: 0;
  }
  .product-list li:nth-child(3n) {
    margin-right: 0;
  }
}
@media (max-width: 576px) {
  .resource_content .swiper-slide {
    flex-direction: column;
  }
  .resource_content .swiper-slide div:first-child {
    margin-bottom: 20px;
  }
  .resource_content .swiper-slide img {
    margin-right: 0;
  }
  .product-list li {
    flex: 0 1 calc(50% - 13.33px);
    margin-bottom: 0;
  }
  .product-list li:nth-child(2n+1) {
    margin-left: 0;
  }
  .product-list li:nth-child(2n) {
    margin-right: 0;
  }
  .gb-progressInfo .d-flex {
    flex-direction: column;
  }
  .gb-progressInfo .d-flex p:first-child {
    margin-bottom: 0;
  }
  .gb-countdown {
    font-size: 2.8rem;
  }
  .gb-countdown p {
    display: block;
  }
  .gb-countdown span {
    letter-spacing: 2px;
  }
}
/*-----------------------------------------------
  Event
-----------------------------------------------*/
.btn-eventEnable {
  font-size: 2rem;
  color: #fff;
  background-color: #f96c6c;
  width: 140px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.btn-eventEnable:focus, .btn-eventEnable:hover, .btn-eventEnable:active {
  color: #f96c6c !important;
  background-color: #fff;
  border: 1px solid #f96c6c !important;
}
.event h1, .event h3 {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.25;
  color: #963;
}
.event .eventIntro {
  font-size: 1.8rem;
  line-height: 1.66;
  list-style: none;
  padding-left: 0;
}
/*event list*/
.event .eventSwiper {
  margin-bottom: 60px;
}
.event .eventSwiper .swiper-slide {
  height: auto;
}
.event .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.event .card-body > div {
  margin-bottom: 20px;
}
.eventSwiper .card .card-img-top {
  max-height: 280px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.event .newsList {
  margin-bottom: 50px;
}
/*event content*/
.eventData {
  margin-bottom: 90px;
}
.eventInfo {
  font-size: 1.8rem;
  line-height: 1.75;
  padding: 50px;
}
.eventInfo img {
  max-width: 100% !important;
  height: auto !important;
}
.eventMore {
  border: 4px solid #dcbf7b;
  border-radius: 10px;
  background-color: #fff;
  margin-top: 60px;
  padding: 20px 30px;
  display: flex;
  align-items: baseline;
}
.eventMore h4 {
  font-size: 1.8rem;
  color: #c60;
  flex-shrink: 0;
  margin-right: 20px;
}
.eventMoreSwiper {
  width: 100%;
}
.eventGallery {
  height: 350px;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.event_thumb .swiper-slide, .event_imgContent .swiper-slide {
  cursor: pointer;
}
.event_thumb {
  width: 100px;
  /*height: 350px;*/
  height: 355px;
  margin-left: 5px;
}
.event_thumb img {
  border: 1px solid #999;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}
.event_thumb .swiper-slide-thumb-active img {
  border: 2px solid #e47e10;
}
.event_imgContent {
  width: calc(100% - 105px);
  height: 350px;
  position: relative;
  border: 1px solid #999;
}
.event_imgContent img {
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 5;
  object-fit: contain;
}
.event_imgContent a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.event_imgContent p {
  font-size: 1.8rem;
  color: #fff;
  background-color: #333333B3;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 10px 30px;
  margin: 0;
}
.eventMain {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 30px;
}
/*教學現場花絮*/
.ts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 50px;
}
.ts-list li {
  font-size: 1.8rem;
  line-height: 1.6;
  border: 2px solid #ccc;
  border-radius: 10px;
  outline: 8px solid #fff;
  outline-offset: -10px;
  background-color: #ece2d9;
  -webkit-box-shadow: 5px 5px 0px 0px rgba(235, 235, 235, 1);
  -moz-box-shadow: 5px 5px 0px 0px rgba(235, 235, 235, 1);
  box-shadow: 5px 5px 0px 0px rgba(235, 235, 235, 1);
  overflow: hidden;
}
.ts-list li a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.ts-list li a:hover:after {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ts-list li.ts-video a:hover:after {
  content: url('../images/ts-video-icon.png');
}
.ts-list li.ts-article a:hover:after {
  content: url('../images/ts-article-icon.png');
}
.ts-list li.ts-video img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  padding: 8px;
}
.ts-list li.ts-article a {
  color: #333;
  padding: 40px;
}
.ts-list h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.ts-list p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
}
.ts-article a {
  position: relative;
}
.ts-article a:before {
  content: "MORE\00003E";
  text-align: right;
  color: #d94f4d;
  position: absolute;
  right: 40px;
  bottom: 40px;
}
article {
  padding: 1.5vw;
}
article img {
  max-width: 100% !important;
  height: auto !important
}
.event-ts .fancybox-slide--iframe .fancybox-content {
  width: 70% !important;
}
/*分享與回饋*/
.feedback {
  list-style: none;
  padding-left: 0;
  font-size: 1.8rem;
  line-height: 1.75;
}
.feedback li {
  border: 2px solid #ccc;
  padding: 30px;
  display: flex;
}
.feedback li:not(:last-child) {
  margin-bottom: 40px;
}
.feedback h3 {
  margin-bottom: 20px;
}
.feedbackImg {
  flex-shrink: 0;
  margin-right: 30px;
}
.feedbackImg img {
  width: 330px;
}
.feedbackContent {
  overflow: hidden;
  max-height: 100px;
  transition: max-height 0.3s ease;
}
.feedbackContent.expanded {
  max-height: none;
}
.feedback .toggle-btn {
  cursor: pointer;
  text-align: center;
  margin-top: 20px;
}
@media (min-width: 1025px) {
  /*  .eventMoreSwiper {
    margin-left: 0;
  }
  .eventMoreSwiper .swiper-button-next, .eventMoreSwiper .swiper-button-prev {
    display: none;
  }
  .eventMoreSwiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  .eventMoreSwiper .swiper-slide {
    width: 100px;
    margin-right: 10px;
  }*/
}
@media (max-width: 1024px) {
  .eventData .col-md-12.col-lg-6:first-child {
    width: 58%;
  }
  .eventData .col-md-12.col-lg-6:last-child {
    width: 42%;
  }
  .eventMain {
    padding-left: 10px;
  }
  .ts-list {
    row-gap: 30px;
  }
  .ts-list li.ts-article a {
    padding: 30px;
  }
  .ts-list h3 {
    font-size: 2.2rem;
  }
  .ts-list p {
    font-size: 1.6rem;
  }
  .ts-article a:before {
    right: 30px;
    bottom: 30px;
  }
}
@media (max-width: 1023px) {
  .eventData .col-md-12.col-lg-6:first-child, .eventData .col-md-12.col-lg-6:last-child {
    width: 100%;
  }
  .eventGallery {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
  }
  .eventMain {
    padding-left: 0;
    margin-top: 20px;
  }
  .ts-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-ts .fancybox-slide--iframe .fancybox-content {
    width: 90% !important;
  }
  .ts-list li.ts-article a {
    padding: 30px 30px 60px;
  }
}
@media (max-width: 768px) {
  .eventInfo, .eventMore {
    padding: 30px;
  }
  .eventMore {
    margin-top: 30px;
  }
  .feedback li {
    padding: 20px;
  }
  .feedbackImg img {
    width: 200px;
  }
  .feedback .toggle-btn {
    margin-top: 10px;
  }
  .feedback .toggle-btn img {
    width: 36px;
  }
}
@media (max-width: 576px) {
  .eventInfo, .eventMore {
    padding: 30px 20px;
  }
  .eventMore {
    flex-direction: column;
  }
  .eventMore h4 {
    margin: 0 auto 20px auto;
  }
  .eventMoreSwiper {
    width: 100%;
  }
  .eventGallery {
    height: 220px;
  }
  .event_imgContent {
    width: calc(100% - 65px);
    height: 220px;
  }
  .event_thumb {
    width: 60px;
    height: 225px;
  }
  .event_imgContent p {
    font-size: 1.6rem;
    padding: 5px 15px;
  }
  .ts-list {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 15px;
    width: 80%;
    margin: auto;
  }
  .feedback li {
    flex-direction: column;
  }
  .feedback h3 {
    margin-bottom: 10px;
  }
  .feedbackImg {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .feedbackImg img {
    width: 100%;
  }
}
/*-----------------------------------------------
  Contact
-----------------------------------------------*/
.contact-list {
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
  margin-bottom: 50px;
}
.contact-list li {
  position: relative;
}
.contact-list li img {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}
.contactBox {
  width: 250px;
  height: 200px;
  border: 10px solid #ecd8cd;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  padding-top: 50px;
}
.contactBox p, .contactBox a {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.75;
  color: #6d5248;
  margin-bottom: 0;
}
.contact-map {
  background-color: #ecd8cd;
  border-radius: 6px;
  padding: 10px 10px 5px;
}
@media (max-width: 1023px) {
  .contact-list {
    justify-content: space-between;
    margin-bottom: 30px;
  }
  .contact-list li img {
    width: 90px;
    top: -50px;
  }
  .contactBox {
    width: 220px;
    height: 150px;
    border: 5px solid #ecd8cd;
    padding-top: 40px;
  }
  .contactBox p, .contactBox a {
    font-size: 1.6rem;
  }
  .contact-map {
    padding: 5px 5px 0;
  }
}
@media (max-width: 767px) {
  .contact-list {
    flex-direction: column;
    margin-top: 0;
  }
  .contact-list li:not(:last-child) {
    margin-bottom: 10px;
  }
  .contact-list li img {
    top: 50%;
    left: 20px;
    transform: translate(0, -50%);
  }
  .contactBox {
    width: 100%;
    height: 120px;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 5px 5px 130px;
  }
}
.sbNav-3rd ul {
  display: none !important;
}
iframe[src*="youtube.com"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}