@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500&display=swap');
* {
    font-family: 'Noto Sans TC', sans-serif;
}

#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fabf19;
    transition: background-color 0.2s ease;
  }
  #mainNav .navbar-brand {
    margin-bottom: 3px;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    color: #514132;
    padding: 0.75rem 0;
    font-size: 18px;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item .nav-link.active {
    color: #514132 !important;
  }

  #mainNav .navbar-nav .nav-item1 .nav-link {
    color: #fff;
    padding: 0.75rem 0;
    font-size: 18px;
  }
  #mainNav .navbar-nav .nav-item1 .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item1 .nav-link.active {
    color: #fff !important;
  }
  
  @media (min-width: 992px) {
    #mainNav {
      box-shadow: none;
      background-color:#fabf19;
    }
    /* #mainNav .navbar-brand {
      color: rgba(255, 255, 255, 0.7);
    } */
    /* #mainNav .navbar-brand:hover {
      color: #fff;
    } */
    #mainNav .navbar-nav .nav-item .nav-link {
      padding: 0 2rem;
    }
    #mainNav .navbar-nav .nav-item .nav-link:hover {
      color: #fff;
    }
    #mainNav .navbar-nav .nav-item:last-child .nav-link {
      padding-right: 0;
    }

    #mainNav .navbar-nav .nav-item1 .nav-link {
        padding: 0 2rem;
      }
      #mainNav .navbar-nav .nav-item1 .nav-link:hover {
        color: #fff;
      }
      #mainNav .navbar-nav .nav-item1:last-child .nav-link {
        padding-right: 0;
      }

    #mainNav.navbar-shrink {
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      background-color: #fabf19;
    }
    /* #mainNav.navbar-shrink .navbar-brand {
      color: #514132;
    } */
    /* #mainNav.navbar-shrink .navbar-brand:hover {
      color: #fff;
    } */
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
      color: #514132;
    }
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
      color: #fff;
    }

    #mainNav.navbar-shrink .navbar-nav .nav-item1 .nav-link {
        color: #fff;
      }
      #mainNav.navbar-shrink .navbar-nav .nav-item1 .nav-link:hover {
        color: #fff;
      }

  }
header.masthead {
    padding-top: 8rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: linear-gradient(to bottom,  rgba(255, 254, 238, 0.051) 70%, 
    #fffded),url("img/background.jpg");
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}
header.masthead h1, header.masthead .h1 {
    font-size: 2.25rem;
}
@media (min-width: 992px) {
    header.masthead {
      min-height: 40rem;
      padding-top: 0rem;
      padding-bottom: 0;
    }
    header.masthead p {
      font-size: 1.15rem;
    }
    header.masthead h1, header.masthead .h1 {
      font-size: 3rem;
    }
}
@media (min-width: 1200px) {
    header.masthead h1, header.masthead .h1 {
      font-size: 3.5rem;
    }
}

.logosize {
    width: 26%;
}
@media (max-width: 991px) {
    .logosize {
        width: 34%;
    }
}
.title1 {
    color: #514132;
}
.title2 {
    color: #7d5a39;
    font-weight: 400;
    font-size: 26px;
}
.logotop {
    margin-top: 8%;
}

@media (max-width: 991px) {
    .logotop {
        margin-top: 0;
    }
    .title2 {
      font-size: 22px;
      padding-left: 10%;
      padding-right: 10%;
  }
}
@media (max-width: 767px) {
  .logotop {
      margin-top: 0;
  }
  header.masthead h1, header.masthead .h1 {
    font-size: 2rem;
  }
  .title2 {
    font-size: 16px;
    padding-left: 2%;
    padding-right: 2%;
  }
}
@media (min-width: 1200px) {
  .logotop {
      margin-top: 10%;
  }
}

.page-section {
    padding: 4rem 0;
}
.mtop {
    margin: 2em;
}
.text1 {
    color: #514132;
    margin-top: 12px;
    margin-bottom: 10px;
}
.text2 {
    color: #514132;
    font-size: 22px;
}
@media (max-width: 992px) {
  .text1 {
    font-size: 22px;
  }
  .text2 {
    font-size: 18px;
  }
}
.bg-point1 {
    background-image: url(./img/point.png), url(./img/point.png);
    background-position: -4% 20%, 105% 120%;
    background-repeat: no-repeat, no-repeat;
}
@media (max-width: 810px) {
    .bg-point1 {
        background-position: -30% 20%, 105% 106%;
    }
}
@media (max-width: 500px) {
    .bg-point1 {
        background-position: -60% 20%, 120% 105%;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
} 
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;left: 0;
    width: 100%;
    height: 100%;
}
.section4 {
    text-align: center;
    margin-bottom: 24px;
}
.logo2 {
    width: 6%;
    margin-bottom: 3%;
}
@media (max-width: 800px) {
    .logo2 {
        width: 9%;
    }
}
@media (max-width: 500px) {
    .logo2 {
        width: 12%;
    }
}

.text3 {
  color: #514132;
  font-size: 22px;
  margin-top: 12px;
  margin-bottom: 50px;
  text-align:center;
}

.title-2 {
    color: #514132;
    font-size: 18px;
    text-align: center;
}
.img5 {
    text-align: center;
    width: 100%;
}
.text5-bg {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(./img/background3.png);
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
}
.text5 {
    display: flex;
    justify-content: center;
}
.text6 {
    margin: 0;
    padding: 0 30%;
}

/* recipe page */
.first-icon {
  width: 80%;
}
.mtop2 {
  margin-top: 2rem;
  padding: 5px;
}
.icon-title {
  color: #c17217;
  font-size: 22px;
}
.icon-text {
  color: #514132;
  font-size: 18px;
}
.recipe-img {
  width: 100%;
}
.img-title {
  color: #514132;
  font-size: 22px;
  margin-bottom: 10px;
}
.img-text1 {
  color: #ef7840;
  font-size: 18px;
  margin-bottom: 8px;
}
.img-text2 {
  color: #514132;
  font-size: 18px;
}

.section2-img1 {
  padding-bottom: 40px;
  background-image: url(./img/recipe-pc.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}
.section2-img2 {
  padding-bottom: 40px;
  background-image: url(./img/recipe-m.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}
.recipe-title {
  font-size: 30px;
  color: #514132;
  text-align: center;
  padding: 44px 44px 30px 44px;
}
.recipe-main {
  font-size: 24px;
  color: #B76E19;
  text-align: center;
  margin-bottom: 16px;
}
.recipe-main2 {
  font-size: 20px;
  color: #B76E19;
  text-align: center;
}
.recipe-text {
  font-size: 20px;
  color: #514132;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.rec-mg {
  margin-top: 40px;
  margin-bottom: 0;
}
@media (max-width: 1200px) {
  .recipe-title {
    padding: 22px;
    padding: 20px 20px 10px 20px;
  }
  .recipe-main {
    font-size: 20px;
  }
  .recipe-main2 {
    font-size: 18px;
  }
  .recipe-text {
    font-size: 18px;
  }
}
@media (max-width: 992px) {
  .recipe-title {
    padding: 24px;
    padding: 20px 20px 10px 20px;
  }
  .recipe-main {
    font-size: 16px;
  }
  .recipe-main2 {
    font-size: 13px;
  }
  .recipe-text {
    font-size: 13px;
  }
}
.img4-mgtop {
  margin: 0 30px;
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .recipe-title {
    padding: 22px;
    padding: 44px 44px 30px 44px;
  }
  .recipe-main {
    font-size: 20px;
  }
  .img4-mgtop {
    margin: 10px;
  }
  .recipe-main2 {
    font-size: 16px;
  }
  .recipe-text {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .rec-mg {
    margin-top: 70px;
    margin-bottom: 0;
  }
}
@media (max-width: 576px) {
  .recipe-title {
    padding: 22px;
    padding: 50px 44px 30px 44px;
  }
}
.recipe-img4 {
  width: 78%;
}

.pc {
  display: block;
}
.m {
  display: none;
}
@media (min-width: 768px) {
  .pc {
      display: none;
  }
  .m {
      display: block;
  }
}

/* arrow-right */
.carousel-control-next-icon {
    background-image: url(./img/arrow-r.png);
}
.carousel-control-next-icon-2 {
  background-image: url(./img/arrow-r.png);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}
.carousel-control-prev-icon-2,
.carousel-control-next-icon-2 {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}
.carousel-control-next {
  left: 88%;
  right: auto;
}
/* arrow-left */
.carousel-control-prev-icon {
  background-image: url(./img/arrow-l.png);
}
.carousel-control-prev {
  right: 88%;
  left: auto;
}
.carousel-control-prev-icon-2 {
  background-image: url(./img/arrow-l.png);
}

.nav-link {
  color: #ef7840;
}
input, button, select, optgroup, textarea {
  font-size: 18px;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: #ef7840;
}
.nav-pills .nav-link {
  background-color: #fdebe2;
}

/* teach page */
.teach-toptitle {
  margin-left: 1%;
  margin-right: 1%;
}
.fami-title {
  color: #514132;
  font-size: 24px;
}
.fami-title-2 {
  list-style-type: cjk-decimal;
  font-size: 20px;
  color: #514132;
  margin-top: 2%;
}
.fami-title-mt {
  margin-top: 5%;
}
.fami-text {
  text-align: -webkit-right;
  color: #514132;
  font-size: 18px;
  padding-right: 8px;
}
.fami-text-2 {
  padding: 0;
  color: #514132;
  font-size: 18px;
  padding-right: 1rem;
  text-align: justify;
}
.fami-text-mt {
  margin-top: 1%;
}
@media (max-width: 500px) {
  input,button,select,optgroup,textarea {
    font-size: 16px;
  }
  .nav-link {
    padding: 0.5rem 0;
  }
  .fami-title-mt {
    margin-top: 10%;
  }
  .fami-title {
    font-size: 22px;
  }
  .fami-title-2 {
    font-size: 18px;
  }
  .fami-text {
    font-size: 16px;
  }
  .fami-text-2 {
    font-size: 16px;
  }

  
  .icon-title {
    font-size: 18px;
  }
  .icon-text {
    font-size: 16px;
  }
  .img-title {
    font-size: 18px;
  }
  .img-text1 {
    font-size: 16px;
  }
  .img-text2 {
    font-size: 16px;
  }
}


/* news */
.card-deck .card.hidden{
  display: none;
}
@media (min-width: 410px) {
  .card-deck .card.hidden{
    display: flex;
    visibility: hidden;
  }
}
.card-text {
  color: #514132;
}
.fami-title-qa {
  font-size: 18px;
  color: #ef7840;
  border-color: #fabf19;
  border-width: 2px;
}
.fami-title-qa2 {
  font-size: 18px;
  color: #ef7840;
  border-color: #ec783e;
  border-width: 2px;
}
.fami-title-qa3 {
  font-size: 18px;
  color: #ef7840;
  border-color: #90c31f;
  border-width: 2px;
}
.fami-text-qa {
  font-size: 18px;
  color: #514132;
  border-color: #fabf19;
  border-width: 2px;
}
.fami-text-qa2 {
  font-size: 18px;
  color: #514132;
  border-color: #ec783e;
  border-width: 2px;
}
.fami-text-qa3 {
  font-size: 18px;
  color: #514132;
  border-color: #90c31f;
  border-width: 2px;
}
.accordion-button:not(.collapsed) {
  color: #514132;
  background-color: #fabe194f;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}
.accordion-button2:not(.collapsed) {
  color: #514132;
  background-color: #ec783e4f;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}
.accordion-button2 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}

.bstyle {
  color: #fff;
  width: 50%;
  padding: 5px;
  text-align: center;
  border-radius: 2px;
}


/* footer */
.footer {
  width: 100%;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.footer__icon {
  margin-bottom: 1rem
}
.footer__icon img {
  width: 180px
}
.footer__text {
  color: #514132;
  font-size: 15px;
  text-align: center;
}
.footer__text__copyright__link {
  color: #514132;
  text-decoration: none
}
.footer__text__copyright__link:hover {
  color: #514132;
}




.col {
  padding-left: 5px;
  padding-right: 5px;
}

@media (min-width: 992px) {
  .recipe-page #pills-tab.swiper-container .nav {
    max-width: fit-content !important;
  }
}
