body, html {
  color: #1A1A1A;
  font-size: 16px;
  font-family: 'Noto Sans TC', sans-serif;
}

/*menu*/
.navbar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 9999;
  background-color: #45b756;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}
@media (max-width: 768px) {
  img.d-block.w-100 {
    padding-top: 8px;
  }
}
.navbar-collapse {
  background-color: #45b756; 
}
@media (max-width: 1399px) {
  .navbar-collapse {
    width: 100vw;
    position: absolute;
    left: 0;
    top: 56px; 
    z-index: 9999;
  }
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  transition: background-image 0.3s ease;
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='4' y1='4' x2='26' y2='26' stroke='white' stroke-width='3'/%3E%3Cline x1='26' y1='4' x2='4' y2='26' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.fmlogo{
  width: 80%;
  background-color: #fff;
  padding: 5px 10px;
}
@media (max-width: 992px) { 
  .fmlogo{
    width:70%;
  }
}

.navbar {
  padding: 0.5rem 2rem;
}
.menu-bar {
  flex-grow: inherit;
  padding: 10px 0;
}
.menu-bar .navbar-nav .nav-item {
  /* font-weight: 500; */
  border-right: 1px solid #e3ebe6b7;
}
.menu-bar .navbar-nav .nav-item:last-of-type {
  border-right: none;
}
.menu-bar .navbar-nav .nav-item:last-of-type .nav-link {
  padding-right: 0;
}
.menu-bar .navbar-nav .nav-item .nav-link {
  width: 100%;
  color: #e3e7e5;
  font-size: 18px;
  line-height: 10px;
  font-weight:400;
  padding: 5px 15px;
}

@media (max-width: 1399px) {
  .navbar {
    padding: 0.5rem 0;
    padding-left: 8px;
  }
  .menu-bar {
    padding: 0;
  }
  .navbar-toggler {
    border: none;
  }
  .menu-bar .navbar-nav .nav-item {
    border: none;
  }
  .menu-bar .navbar-nav .nav-item .nav-link {
    font-size: 18px;
    padding: 1rem 0;
    padding-left: 1rem;
  }
  .menu-bar .navbar-nav .nav-item:last-of-type .nav-link {
    padding: 1rem 0;
    padding-left: 1rem;
    padding-bottom: 2rem;
  }
}
.menu-bar .navbar-nav .nav-item .nav-link:hover, .menu-bar .navbar-nav .nav-item .nav-link:active {
  color: #ffffff;
  border: none;
}

.carousel{
  padding-top: 56px;
}
/*錨點*/
.anchor{
 display: block;
 height: 3rem;
 margin-top: -3rem;
visibility: hidden;
}

/*container*/
.bg-container {
  width: 100vw;
  max-width: 100vw;
  text-align: center;
  padding-bottom: 3rem;
}

/*content1*/
.c1 {
  background-color: #ffffff;
  background-size: 100%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.c1-check .check-box {
  background-color: #fcf9c5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;             
  flex-direction: column;     
  align-items: center;        
  justify-content: flex-start;
  height: 100%; 
  width: 100%;              
}

.c1-check .col-6,
.c1-check .col-md-3 {
  display: flex;
}
@media (max-width: 768px) {
  .c1-check .col-6 {
    margin-bottom: 1.5rem;
  }
}
.c1-check .text-content {
  flex: 1;
}

.c1-check img.img-fluid {
  max-width: 60%;
  height: auto;
}
@media (max-width: 768px) {
  .c1-check img.img-fluid {
    max-width: 100%;
  }
}
.c1-check .check-text {
  color: #1A1A1A;
  font-size: 1.5rem;
  font-weight: bolder;
}
@media only screen and (min-width:768px) and (max-width:1200px) {
  .c1 .c1-check {
    width: 100%;
  }
  .c1 .check-text {
    font-size: 1.25rem;
  }
}
@media only screen and (max-width:768px) {
  .c1 .c1-check {
    width: 100%;
    margin: 0 auto;
  }
  .c1 .check-text {
    font-size: 1.25rem;
  }
}
.c1-check .arrow-icon {
  width: 24px;
  height: auto;
  margin-left: 8px;
}
.c1 .title1 {
  color: #1f6f2b;
  font-size: 3rem;
  font-weight: bolder;
  margin-top: 3rem;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}
@media only screen and (max-width:768px) {
  /*content3*/
  .c1 .title1 {
    font-size: 2rem;
  }
}
.c1-check .row {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  row-gap: 1.5rem;
}


/*content2*/
.c2 {
  background-color: #f2fede;
  overflow: hidden;
}
.c2 .title1 {
  color: #1f6f2b;
  font-size: 3rem;
  font-weight: bolder;
  margin-top: 3rem;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}
@media only screen and (max-width:768px) {
  /*content3*/
  .c2 .title1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}
.c2 .text1 {
  color: #45b756;
  font-size: 2rem;
  font-weight: bolder;
  margin-top: 40px;
  margin-bottom: 16px;
}
@media only screen and (max-width:768px) {
  .c2 .text1 {
    font-size: 1.3rem;
    margin-top: 20px;
  }
}
.c2 .row {
  max-width: 960px; 
  margin: 0 auto;
  justify-content: center;
}
.c2 .step img {
  width: 100%;
  margin: 0 auto;
  display: block;
}

/*content3*/
.c3 {
  background-color: #ffffff;
}
.c3 .title1 {
  color: #1f6f2b;
  font-size: 2.5rem;
  font-weight: bolder;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
@media only screen and (max-width:768px) {
  .c3 .title1 {
    font-size: 2rem;
  }
}

.gostamp_button_link{
 display: inline-block;
 padding: 12px 50px;
 background-color: #45b756;
 color: #ffffff;
 font-size: 18px;
 font-weight: bold;
 border: 5px solid #f8e858;
 border-radius: 15px;
 text-decoration: none;
 transition: background-color 0.3s ease;
}
.gostamp_button_link:hover {
  background-color: #368d43;
  text-decoration: none;
}
.nav-link {
  color: #ffffff;
}
input, button, select, optgroup, textarea {
  font-size: 18px;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: #45b756;
}
.nav-pills .nav-link {
  background-color: #bdbdbd;
}
.nav-link:hover, .nav-link:focus{
  background-color: #45b756;
  color: #ffffff;
}
.nav.nav-pills.nav-justified{
  margin: 3rem 0; 
}
.content-title1 {
  font-size: 2rem;
  text-align: center;
  color: #45b756;
  margin-bottom: 30px;
}
@media only screen and (max-width: 768px) {
  .content-title1 {
      font-size: 1.6rem;
  }
}
.teach-toptitle {
  margin-left: 1%;
  margin-right: 1%;
}
.teach-page {
  --swiper-navigation-size: 30px
}
.teach-page .swiper-outer {
  position: relative
}
.teach-page .swiper-outer .swiper-button-next, .teach-page .swiper-outer .swiper-button-prev {
  color: #514132;
  display: block
}
@media (min-width:992px) {
  .teach-page .swiper-outer .swiper-button-next, .teach-page .swiper-outer .swiper-button-prev {
    display: none
  }
}
.teach-page .process {
  margin-bottom: 32px
}
.teach-page .process__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #514132
}
.teach-page .process__fork {
  text-align: center
}
.teach-page .process__fork img {
  max-width: 40px;
  width: 100%;
  height: auto
}
.teach-page .process__shopping img {
  max-width: 180px;
  width: 100%;
  height: auto
}
.teach-page .process__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}
@media (min-width:992px) {
  .teach-page .process__wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
  }
}
.teach-page .process__desc {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #514132
}
.teach-page .step__photo {
  margin-bottom: 24px;
  text-align: center
}
.teach-page .step__photo img {
  max-width: 280px;
  width: 100%;
  height: auto;
  -webkit-box-shadow: -1px 1px 14px -5px rgba(0, 0, 0, .3);
  box-shadow: -1px 1px 14px -5px rgba(0, 0, 0, .3);
  border-radius: 15px
}
@media (min-width:992px) {
  .teach-page .step__photo img {
    max-width: 250px
  }
}
.teach-page .step__photo_fp {
  margin-bottom: 24px;
  text-align: center
}

.teach-page .step__photo_fp img {
  width: 100%;
  height: auto;
  max-width: 100%;
  box-shadow: -1px 1px 14px -5px rgba(0, 0, 0, .3);
  border-radius: 15px;
}
@media (min-width: 992px) {
  .teach-page .step__photo_fp img {
    max-width: 500px;
  }
}
@media (max-width: 820px) {
  .teach-page .step__photo_fp img {
    max-width: 450px;
  }
}
@media (max-width: 768px) {
  .teach-page .step__photo_fp img {
    max-width: 300px;
  }
}

.teach-page .step__text {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  color: #6d6d6d
}
.swiper-container .nav {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap
}
.swiper-container.has-swiper-btn {
  margin-left: 0;
  margin-right: 0
}
@media (min-width:768px) {
  .swiper-container.has-swiper-btn {
    margin-left: 50px;
    margin-right: 50px
  }
}
.swiper-container.has-swiper-scrollbar {
  padding-top: 20px;
  max-width: 100%
}
@media (min-width:992px) {
  .swiper-container.has-swiper-scrollbar {
    max-width: none
  }
}
.swiper-outer.fp {
  max-width: 500px;
}
.swiper-container.has-swiper-scrollbar.fp {
  padding-top: 20px;
}
@media (min-width:992px) {
  .swiper-container.has-swiper-scrollbar.fp {
    max-width: none
  }
}
.swiper-container.has-swiper-scrollbar .swiper-pagination {
  position: static;
  margin-top: 2.5rem
}
@media (min-width:992px) {
  .swiper-container.has-swiper-scrollbar .swiper-pagination {
    display: none
  }
}
.swiper-container.has-swiper-scrollbar .swiper-pagination-bullet-active {
  background: #037bd2
}
.swiper-container.has-swiper-scrollbar.fp .swiper-pagination-bullet-active {
  background: #00b347
}
@media (min-width:992px) {
  .swiper-container.has-swiper-scrollbar .swiper-slide {
    max-width: 300px
  }
  .swiper-container.has-swiper-scrollbar .swiper-slide:not(:first-child) {
    position: relative
  }
  .swiper-container.has-swiper-scrollbar .swiper-slide:not(:first-child)::after {
    position: absolute;
    top: 50%;
    left: -50px;
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../img/teach/icon-next-blue.png);
    background-size: 30px;
    background-repeat: no-repeat
  }
}
@media (min-width: 992px) {
  .swiper-container.has-swiper-scrollbar.fp .swiper-slide {
    max-width: 500px; 
  }
  .swiper-container.has-swiper-scrollbar.fp .swiper-slide:not(:first-child) {
    position: relative
  }
  .swiper-container.has-swiper-scrollbar.fp .swiper-slide:not(:first-child)::after {
    position: absolute;
    top: 40%;
    left: -50px;
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../img/teach/icon-next-green.png);
    background-size: 30px;
    background-repeat: no-repeat
  }
}
.swiper-container.has-swiper-scrollbar.swiper-container-horizontal > .swiper-scrollbar {
  position: relative;
  margin-top: 2.5rem;
  width: 60%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: none
}
@media (min-width:992px) {
  .swiper-container.has-swiper-scrollbar.swiper-container-horizontal > .swiper-scrollbar {
    display: block
  }
}
@media (max-width: 480px) {
  .teach-page .swiper-outer .swiper-button-prev,
  .teach-page .swiper-outer .swiper-button-next {
    width: 24px;
    height: 24px;
    z-index: 10;
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
  }
  .teach-page .swiper-outer .swiper-button-prev {
    left: -20px;
  }

  .teach-page .swiper-outer .swiper-button-next {
    right: -20px;
  }
}


/*content4*/
.c4 {
  background-color: #f2fede;
  overflow: hidden;
}
.c4 .title1 {
  color: #1f6f2b;
  font-size: 2.5rem;
  font-weight: bolder;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .c4 .title1 {
    font-size: 2rem;
    margin-top: 1.8rem;
    margin-bottom: 1.5rem;
  }
}
/*yt block*/
.yt-block {
  text-align: center;
}

.yt-block iframe {
  width: 80%;
  min-height: 600px;
  text-align: center;
  margin: 2rem auto;
}
@media only screen and (max-width:992px) {
  .yt-block iframe {
    min-width: 450px;
    min-height: 360px;
    padding: 0;
    margin: 0 auto;
  }
}
@media only screen and (max-width:768px) {
  .yt-block iframe {
    min-width: 350px;
    min-height: 260px;
    padding: 0;
    margin: 0 auto;
  }
}


/*content5*/
.c5 {
  background-color: #ffffff;
  overflow: hidden;
}
/* .c5 {
  background-image: url(../images/qabg.svg);
  background-position: center -650px;
  background-size: 2100px 1180px;
  background-repeat: no-repeat;
} */
.c5 .qa-logo {
  margin-top: 4rem;
}
@media only screen and (max-width:768px) {
  .c5 .qa-logo {
    margin-top: 2.5rem;
  }
}
.c5 .qa-logo img {
  width: 150px;
  
}
.c5 .title1 {
  color: #1f6f2b;
  font-size: 2.5rem;
  font-weight: bolder;
  margin: 0.5rem 0;
  letter-spacing: 1px;
}
@media only screen and (max-width:768px) {
  .c5 .title1 {
    font-size: 2rem;
  }
  .c5 .qa-logo img {
    width: 120px;
    }
}

.fami-title-mt {
  margin-top: 5%;
}
@media (max-width: 500px) {
  .fami-title-mt {
    margin-top: 10%;
  }
}
.fami-title-mt,
.container {
  margin-top: 0 !important;
}
.fami-title-faq {
  font-size: 30px;
  line-height: 1.5;
  color: #45b756;
  margin-bottom: 24px
}
.c5 .fami-title-mt,.c5 .faq{
  text-align: left;
}
@media (max-width: 768px) {
  .c5 .fami-title-mt h2{
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
  }
}

.faq {
  margin: 0;
  padding: 0;
  counter-reset: num
  /* margin-bottom: 3.5rem */
}
.faq > li {
  list-style: none
}
.faq__item {
  font-size: 16px;
  color: #5a5a5a
}
.faq__item:not(:last-child) {
  margin-bottom: 15px
}
@media (min-width:992px) {
  .faq__item {
    font-size: 18px
  }
}
.faq__item > .question {
  position: relative;
  padding: 10.5px 15px;
  padding-left: 61px;
  padding-right: 30px;
  border: solid .8px #94d89e;
  border-radius: 8px;
  cursor: pointer
}
.faq__item > .question + .answer {
  display: none
}
.faq__item > .question::before {
  counter-increment: num;
  content: "Q"counter(num, decimal-leading-zero) "：";
  position: absolute;
  top: 11px;
  left: 0;
  display: inline-block;
  width: 61px;
  text-align: right
}
.faq__item.bigpart > .question::before {
  content: "";
  background-image: url(../img/teach/icon-part.png);
  background-size: 30px;
  background-repeat: no-repeat;
  background-position-x: 14px;
  height: 30px;
  top: 8px
}
.faq__item > .question::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 10px;
  border: solid rgba(152, 152, 152, .5);
  border-width: 0 2px 2px 0;
  padding: 4px;
  display: inline-block;
  -webkit-transform: rotate(-45deg) translate(-50%, 0);
  transform: rotate(-45deg) translate(-50%, 0);
  -webkit-transition: -webkit-transform .3s ease;
  transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease, -webkit-transform .3s ease;
  -webkit-transform-origin: bottom;
  transform-origin: bottom
}
.faq__item > .question--active {
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
  padding-left: 55px;
  color: #45b756;
  /* font-weight: 600; */
  background-color: #eefff075;
  font-size: 16px;
  letter-spacing: 0.5px;
}
@media (min-width:992px) {
  .faq__item > .question--active {
    font-size: 18px
  }
}
.faq__item > .question--active::before {
  content: "";
  background-image: url(../images/icon-q.png);
  background-size: 32px;
  background-repeat: no-repeat;
  background-position-x: 12px;
  height: 32px;
  top: 4px
}
@media (min-width:992px) {
  .faq__item > .question--active::before {
    top: 6px
  }
}
.faq__item > .question--active + .answer {
  display: block
}
.faq__item:not(.bigpart) > .question--active + .answer::before {
  content: "";
  background-image: url(../images/icon-a.png);
  background-size: 32px;
  background-repeat: no-repeat;
  background-position-x: 12px;
  display: inline-block;
  width: 55px;
  height: 32px;
  position: absolute;
  top: 4px;
  left: 0
}
@media (min-width:992px) {
  .faq__item > .question--active + .answer::before {
    top: 6px
  }
}
.faq__item > .question--active::after {
  -webkit-transform: rotate(45deg) translate(-50%, 50%);
  transform: rotate(45deg) translate(-50%, 50%)
}
.faq__item > .answer {
  position: relative;
  color: #6c6c6c;
  padding: 10.5px 15px;
  padding-left: 55px;
  padding-right: 30px;
  border: solid .8px #94d89e;
  border-radius: 0 0 8px 8px;
  word-wrap: break-word;
  min-height: 47px
}
@media (min-width:992px) {
  .faq__item > .answer {
    min-height: 50px
  }
}

/* footer */
.footer-section {
  background-color: #edeeee;
  color: #222;
  font-size: 15px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.mb-4.contact-left {
  margin-top: 32px;
}
.footer-section p{
  margin:0px;
}
.contact-right .col-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-right .qr-img {
  max-width: 120px;
  height: auto;
}

.footer-section .container {
  max-width: 1920px;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-icon-link svg {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.footer-icon-link:hover svg {
  opacity: 0.7;
}
p.privacy-text {
  font-size: 13px;
  margin-top: 8px;
  color: #222;
}

@media (max-width: 767px) {
  .footer-section .contact-left,
  .footer-section .contact-right .col-6,
  .footer-section .text-end,
  .footer-section .privacy-text {
    text-align: left !important;
  }

  .footer-section .contact-right .col-6 {
    align-items: flex-start;
  }

  .footer-section .d-flex {
    justify-content: flex-start !important;
  }

  .footer-section .footer-icon-link svg {
    margin-right: 8px;
  }
}

/*go top*/
.gotop {
	width: 60px;
	height: 60px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	opacity: 80%;
	background-color: #a3e4bd;
	cursor: pointer;
	position:fixed;
	right: 1rem;
	bottom: 1rem;
	display: none;
}
.gotop::before, .gotop::after {
	width: 28px;
	height: 6px;
	border-radius: 6px;
	background: #fff;
	position: absolute;
	content: "";
}
.gotop::before {
	transform: rotate(-50deg) translate(0, -90%);
	left: 12px;
}
.gotop::after {
	transform: rotate(50deg) translate(0, -90%);
	right: 12px;
}
.gotop:focus {outline: none;}

