/*------------------------------------*\
    $CONTENTS
\*------------------------------------*/
/**
 * BANNER
 * MAIN
 * NEWS
 * MENU
 * PRODUCT
 * BLOG
 **/
/*------------------------------------*\
    BANNER
\*------------------------------------*/
.banner {
  background: url(../images/banner-bg.jpg) center center repeat;
  position: relative;
}

.banner>.container {
  position: relative;
  max-width: 130%;
  width: 130%;
  margin: 0 -15%;
  padding: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .banner>.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
}

@media (min-width: 1440px) {
  .banner>.container {
    max-width: 1400px;
  }
}

.banner .swiper-button-prev,
.banner .swiper-button-next {
  width: 105px;
  height: 15px;
  margin-top: 0;
  display: none;
}

.banner .swiper-button-prev {
  background: url(../images/prev.svg);
  left: 0;
}

.banner .swiper-button-next {
  background: url(../images/next.svg);
  right: 0;
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

.banner .swiper-pagination {
  width: auto;
  text-align: center;
  margin-top: 0.5rem;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

@media (min-width: 992px) {

  .banner .swiper-button-prev,
  .banner .swiper-button-next {
    display: block;
  }

  .banner .swiper-pagination {
    width: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    bottom: 15px;
    left: auto;
    right: 15px;
  }

  .banner .swiper-pagination-bullet {
    margin: 0.5rem 0;
  }
}

@media (min-width: 1440px) {
  .banner .swiper-button-prev {
    left: -1rem;
  }

  .banner .swiper-button-next {
    right: -1rem;
  }
}

@media (min-width: 1600px) {
  .banner .swiper-pagination {
    right: -50px;
  }
}

.swiper-pagination-bullet {
  background-color: transparent;
  border: 1px solid #5c480c;
  color: #5c480c;
  font-family: "Noto Serif TC", serif;
  font-size: 0.75rem;
  line-height: 18px;
  width: 18px;
  height: 18px;
  opacity: 1;
  margin: 0 0.25rem;
}

.swiper-pagination-bullet-active {
  border: 1px solid #9fc445;
  color: #9fc445 !important;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
main>.container {
  padding: 0 15px;
}

/* PAGE-TITLE */
.page-title h2 {
  color: #000000;
  font-family: "Noto Serif TC", serif;
  font-size: 1.3125rem;
  letter-spacing: 0.25rem;
  margin-bottom: 2rem;
}

.page-title h2 span {
  display: block;
  color: #9fc445;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.125rem;
  margin-bottom: 1rem;
}

/* BUTTON */
.btn-more {
  color: #4f4f4f;
  font-size: 0.875rem;
  letter-spacing: 0.125rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.btn-more span {
  background: url(../images/index-news-arrow.svg);
  width: 15px;
  height: 15px;
  margin-left: 0.25rem;
}

.btn-more:hover,
.btn-more:focus {
  color: #9fc445;
}

.btn-more:hover span,
.btn-more:focus span {
  background: url(../images/index-news-arrow-green.svg);
}

/* SWIPER */
.swiper-slide {
  text-align: center;
}

.swiper-button-next,
.swiper-button-prev {
  background: url(../images/index-blog-arrow.svg);
  width: 35px;
  height: 35px;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.gallery-thumbs {
  cursor: pointer;
}

@media (min-width: 1600px) {
  .swiper-button-prev {
    left: -5rem;
  }

  .swiper-button-next {
    right: -5rem;
  }
}

/*------------------------------------*\
    NEWS
\*------------------------------------*/
.index-news {
  background: url(../images/banner-bg.jpg) center center repeat;
  padding: 4rem 0 2rem;
}

.index-news .row {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
}

@media (min-width: 1200px) {
  .index-news {
    padding: 2rem 0;
  }
}

.index-news-tit {
  padding: 0.5rem 0;
}

.index-news-tit h2 {
  color: #231815;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.125rem;
}

.index-news-tit h2 span {
  font-family: "Noto Serif TC", serif;
  font-size: 1.3125rem;
  letter-spacing: 0.5rem;
}

@media (min-width: 1200px) {
  .index-news-tit {
    border-left: 1px solid rgba(92, 72, 12, 0.25);
    border-right: 1px solid rgba(92, 72, 12, 0.25);
  }

  .index-news-tit h2 {
    margin-bottom: 0;
  }
}

@media (min-width: 1440px) {
  .index-news-tit {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 18%;
    -ms-flex: 0 0 18%;
    flex: 0 0 18%;
    max-width: 18%;
  }
}

.index-news-txt {
  text-align: center;
  padding: 0.5rem 0;
}

.index-news-txt span {
  color: #5c480c;
  font-family: "Noto Serif TC", serif;
  margin-bottom: 0.25rem;
}

.index-news-txt p {
  color: #4f4f4f;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

.index-news-txt a {
  color: #5c480c;
  font-size: 0.8125rem;
  letter-spacing: 0.2rem;
}

.index-news-txt a:hover,
.index-news-txt a:focus {
  color: #9fc445;
}

.index-news-txt .swiper-slide {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.index-news-txt .swiper-pagination {
  position: relative;
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 1200px) {
  .index-news-txt {
    padding: 0 2rem;
  }

  .index-news-txt span {
    margin-bottom: 0;
  }

  .index-news-txt p {
    margin: 0 2rem;
  }

  .index-news-txt .swiper-slide {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .index-news-txt .swiper-pagination {
    position: absolute;
    margin-top: 0;
    bottom: -30px;
  }
}

@media (min-width: 1440px) {
  .index-news-txt {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 67%;
    -ms-flex: 0 0 67%;
    flex: 0 0 67%;
    max-width: 67%;
  }

  .index-news-txt .swiper-pagination {
    width: auto;
    bottom: 0;
    left: auto;
    right: 1rem;
  }
}

.index-news-link {
  text-align: center;
  padding: 0.5rem 0;
}

.index-news-link .btn-more {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (min-width: 1200px) {
  .index-news-link {
    border-left: 1px solid rgba(92, 72, 12, 0.25);
    border-right: 1px solid rgba(92, 72, 12, 0.25);
  }
}

@media (min-width: 1440px) {
  .index-news-link {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 15%;
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    max-width: 15%;
  }
}

/*------------------------------------*\
    MENU
\*------------------------------------*/
.index-menu {
  padding: 4.5rem 15px 2.5rem;
  position: relative;
}

.index-menu .swiper-button-prev,
.index-menu .swiper-button-next {
  margin-top: 0;
}

.index-menu .swiper-button-prev {
  left: -20px;
}

.index-menu .swiper-button-next {
  right: -20px;
}

.index-menu-item * {
  -webkit-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .5s;
  -o-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-timing-function: ease;
  -o-transition-timing-function: ease;
  transition-timing-function: ease;
}

.index-menu-item:nth-child(even) .index-menu-pic {
  background-color: #5c480c;
}

.index-menu-item:nth-child(odd) .index-menu-pic {
  background-color: #9fc445;
}

.index-menu-pic {
  position: relative;
}

.index-menu-pic:hover img,
.index-menu-pic:focus img {
  opacity: 0.5;
}

.index-menu-pic a {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.index-menu-txt {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 2rem;
}

.index-menu-txt h3 {
  color: #ffffff;
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.25rem;
  margin-left: -3rem;
  margin-bottom: 0.25rem;
}

.index-menu-txt p {
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.05rem;
  margin-bottom: 0;
}

/*------------------------------------*\
    PRODUCT
\*------------------------------------*/
.index-product {
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.index-product .product-list-item {
  margin-bottom: 0;
}

@media (min-width: 1600px) {
  .index-product .swiper-button-prev {
    left: 0;
  }

  .index-product .swiper-button-next {
    right: 0;
  }
}

.index-product-txt {
  margin-bottom: 2rem;
  overflow: hidden;
}

.index-product-txt-content {
  border-left: 1px solid rgba(0, 0, 0, 0.25);
  position: relative;
  padding-left: 1rem;
}

.index-product-txt p {
  font-size: 0.875rem;
  line-height: 1.8rem;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .index-product-txt p {
    width: 240px;
  }
}

.index-product-txt .btn-more {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.index-product-txt .btn-more:hover,
.index-product-txt .btn-more:focus {
  border-bottom: 1px solid rgba(92, 72, 12, 0.25);
}

@media (min-width: 992px) {
  .index-product-txt {
    margin-bottom: 0;
  }

  .index-product-txt-content {
    border-left: none;
    padding-left: 0.2rem;
    height: 100%;
    position: relative;
  }

  .index-product-txt-content::before {
    content: '';
    width: 1px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.25);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 13rem;
  }

  .index-product-txt .btn-more {
    position: absolute;
    bottom: 13rem;
  }
}

@media (min-width: 1200px) {
  .index-product-txt-content {
    padding-left: 2rem;
  }
}

/*------------------------------------*\
    BLOG
\*------------------------------------*/
.index-blog {
  padding-bottom: 7rem;
}

.index-blog .page-title {
  border-top: 1px dashed #808080;
  border-bottom: 1px solid #808080;
  margin-bottom: 3rem;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding-bottom: 1.25rem;
}

.index-blog .page-title h2 {
  width: 100%;
  padding: 0 0 1.25rem;
  margin-bottom: 0;
}

.index-blog .page-title h2 b {
  display: block;
}

.index-blog .page-title h2 span {
  display: inline-block;
  border-top: 2px solid #808080;
  padding-top: 1.25rem;
  position: relative;
  top: -2px;
  z-index: 2;
}

.index-blog .page-title .swiper-pagination {
  display: none;
  left: auto;
  right: 160px;
}

@media (min-width: 992px) {
  .index-blog .page-title {
    padding-bottom: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .index-blog .page-title h2 {
    width: auto;
  }

  .index-blog .page-title h2 b {
    display: inline-block;
  }

  .index-blog .page-title h2 span {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0;
  }

  .index-blog .page-title .btn-more {
    border-left: 1px solid #5c480c;
    padding-left: 1.5rem;
    margin-left: 1.5rem;
  }

  .index-blog .page-title .swiper-pagination {
    display: block;
  }
}

.index-blog-list {
  position: relative;
  margin-bottom: 2rem;
}

.index-blog-pic {
  overflow: hidden;
  position: relative;
}

.index-blog-pic a::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.index-blog-pic a:hover::before,
.index-blog-pic a:focus::before {
  opacity: 1;
}

.index-blog-pic a:hover::after,
.index-blog-pic a:focus::after {
  opacity: 0;
}

.index-blog-pic a:hover .index-blog-txt,
.index-blog-pic a:focus .index-blog-txt {
  opacity: 0;
}

.index-blog-txt {
  color: #ffffff;
  font-family: "Noto Serif TC", serif;
  text-align: center;
  width: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.index-blog-txt span {
  background-color: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  letter-spacing: 0.1rem;
  padding: 0 0.25rem;
  margin-bottom: 1rem;
}

.index-blog-txt h3 {
  font-size: 1.5rem;
  line-height: 2.25rem;
  letter-spacing: 0.1rem;
  margin-bottom: 1rem;
  height: 75px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.index-blog-txt p {
  margin-bottom: 0;
}

.index-blog .blog-list {
  border-bottom: 1px solid #000000;
}

.index-blog .blog-list>.row {
  position: relative;
}

.index-blog .blog-list>.row::before {
  content: '';
  width: 1px;
  height: 185px;
  background: url(../images/line.svg) no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.index-blog .blog-list h2 {
  color: #000000;
  font-family: "Noto Serif TC", serif;
  font-size: 1.0625rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 2rem;
}

.index-blog .blog-list h2 span {
  background-color: #000000;
  width: 10px;
  height: 10px;
  margin-right: 1rem;
}

.index-blog .blog-list-txt h3 {
  height: 55px;
  -webkit-line-clamp: 2;
}