/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
:root {
  --primary: #198754;
}

@font-face {
  font-family: 'HachiMaruPop-Regular';
  src: url(HachiMaruPop-Regular.woff) format('woff');
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

a {
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *::after, *::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .2s;
  transition: all .2s;
}

html, body {
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

body {
  font-family: '微軟正黑體', sans-serif;
  /* font-family: 'HachiMaruPop-Regular'; */
  font-weight: bold;
}

.c-primary {
  color: var(--primary) !important;
}

.material-icons {
  text-decoration: none;

}

.appIcon {
  margin-right: 10px;
}


.back-to-top {

  display: none;
  /* 默認是隱藏的，這樣在第一屏才不顯示 */



  position: fixed;
  /* 位置是固定的 */

  bottom: 10%;
  /* 顯示在頁面底部 */

  right: 2%;
  /* 顯示在頁面的右邊 */

  z-index: 1001;
  /* 確保不被其他功能覆蓋 */

  border: 1px solid var(--primary) ;
  /* 顯示邊框 */

  outline: none;
  /* 不顯示外框 */

  background-color: #fff;
  /*設置背景背景顏色*/

  color: var(--primary) ;
  /* 設置文本顏色 */

  cursor: pointer;
  /* 滑鼠移到按鈕上顯示手型 */

  padding: 10px 15px 15px 15px;
  /* 增加一些內邊距 */

  border-radius: 50%;
  /* 增加圓角 */
  opacity: 0.7;

}

.back-to-top:hover {
  background-color: var(--primary) ;
  /* 滑鼠移上去時，反轉顏色 */
  color: #fff;
  opacity: 1;

}

/*Swiper   Start */

swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 250px;
  max-width: 100%;
}

/*Swiper   End */
.img--scale {
  transform: scale(1);
  transition: all .5s ease-out;
}

.img--scale:hover {
  transform: scale(1.2);
}

.title-16 {
  text-align: center;
}

.title-16 span {
  position: relative;
  display: inline-block;
  padding: 0 0.8em;
}

.title-16 span:before {
  position: absolute;
  content: '';
  top: 0;
  right: 0.2em;
  width: 0.2em;
  height: 100%;
  border: solid 1px black;
  border-left: none;
}

.title-16 span:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 0.2em;
  height: 100%;
  border: solid 1px black;
  border-right: none;
}

.swiper-slide {
  height: 550px !important;
}

.cursor-pointer {
  cursor: pointer;
}

swiper-slide .card:active, swiper-slide .card:hover {
  border: 3px solid var(--primary) ;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

swiper-slide .card {
  width: 300px;
  position: relative;
}

.product-icon {
  position: absolute;
  top: 0;
  left: 15px;
  padding: 5px;
  border-radius: 3px;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
}

.title-border {
  font-size: 44px;
  margin: 30px 0;
  text-align: center;
}

.title-border::before, .title-border::after {
  font-family: "fontello";
  content: "一";
  color: #6597B2;
}

.bg-light {
  background-color: #fffafa !important;
  /*#fffafa  fff1f1*/
}


:target:before {
  content: "";
  display: block;
  height: 140px;
  }

.writing-mode-vertical-lr {
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
}

.border-right-top-4 {
  position: relative;
  padding-left: 0.7em;
}

.border-right-top-4:after {
  position: absolute;
  top: 59px;
  right: -4px;
  transform: translateY(-50%);
  content: "";
  width: 10px;
  height: 4em;
  background-color: #dc3545;
}
.titleEffect--border-bottom-x-danger-5 span {
  position: relative;
  display: inline-block;
  padding: 0 0.8em;
}
.titleEffect--border-bottom-x-danger-5 span:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0.2em;
  width: 0.4em;
  height: 100%;
  border: 5px solid #dc3545;
  border-left: none;
}
.titleEffect--border-bottom-x-danger-5 span:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0.4em;
  height: 100%;
  border: 5px solid #dc3545;
  border-right: none;
}
.fz-2 {
  font-size: 1.5rem !important;
}

.fz-3 {
  font-size: 2rem !important;
}

.text-indent-2 {
  text-indent: 2rem;
}

.titleEffect--border-bottom-x-danger-5 {
  text-align: center;
}
.redi-border:after {
  top: 32%;
  left: 0;
}
.banner {
  position: relative;
  background-image: url(../img/banner.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 420px;
  margin-bottom: 60px;
  opacity: .8 !important;
}

.navbarBox {
  z-index: 1040;
  position: sticky;
  top: 0;
  width: 100vw;
}

.banner-text {
  position: absolute;
  font-size: 4rem;
  left: 44px;
  bottom: 300px;
  font-weight: bolder;
  z-index: 500;
}

.downTo {
  position: absolute;
  right: 50px;
  bottom: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

.chevron {
  width: 40px;
  display: block;
  -webkit-animation: pulse-2a6fb518 2s infinite;
  animation: pulse-2a6fb518 2s infinite;
}

@-webkit-keyframes pulse-2a6fb518 {
  0% {
    transform: translate(0)
  }

  50% {
    transform: translateY(10px)
  }

  to {
    transform: translate(0)
  }
}

@keyframes pulse-2a6fb518 {
  0% {
    transform: translate(0)
  }

  50% {
    transform: translateY(10px)
  }

  to {
    transform: translate(0)
  }
}

.backdrop-brightness {
  -webkit-backdrop-filter: brightness(0.3);
  backdrop-filter: brightness(0.3);
  padding: 10px;
  border-radius: 10px;
}

.subscribe {
  background: 50% no-repeat url(../img/sub.jpg);
  height: 400px;
  background-size: cover;
  background-attachment: fixed;
}

.bg-img-transparent {
  background: rgba(0, 0, 0, .6);
}

.subscribe-text {
  font-size: 3rem !important;}

@media (max-width: 910px) {
  .subscribe {
    background: 40% 40% no-repeat url(../img/sub2.jpg);
    background-size: contain;
    background-attachment: unset;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .subscribe {
    height: 266px;
  }
  .subscribe-text {
    font-size: 2rem !important;
  }
}

@media (max-width: 576px) {
  /*sm*/
  .subscribe {
    height: 213px;
  }
  .subscribe-text {
    font-size: 1rem !important;
  }

  .banner-text {
    left: 72px;
    bottom: 336px;
  }

  .backdrop-brightness {
    padding: 20px;
  }
 #product h5{
    margin: 40px 0 !important;
  }
}

@media (max-width: 430px) {
  .banner {
    background-image: url(../img/banner2.jpg);
  }
  .subscribe {
    height: 158px;
  }
  .subscribe-text {
    font-size: 1.25rem !important;
  }

  .banner-text {
    left: 20px;
    bottom: 150px;
  }
}