@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;600&family=Noto+Sans+TC:wght@400;500;700&display=swap');

body {
  margin: 0;
  padding: 0;
  color: #333;
  /* font: normal 16px/140% "微軟正黑體", Arial, Helvetica; */
  font: 16px/140% 'Noto Sans TC', sans-serif;
  line-height: 1.5;
  background-size: 100% 3px;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
}

html {
  /*safari內網頁的字體不會無緣無故變大*/
  -webkit-text-size-adjust: 100%;
}

div,
p,
span,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
input,
table,
td,
th,
img {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  border: none;
  box-sizing: border-box;
  font-weight: 400;
  letter-spacing: 0.7px;
}

img {
  border: none;
  display: block;
  width: 100%;
}

ul,
li {
  list-style: none;
}

ol {
  padding: inherit;
}

ol li {
  list-style: decimal;
}

:focus {
  outline: #f4a31e dashed 3px;
  z-index: 99999;
}

html:focus,
body:focus,
div:focus {
  outline: none;
}

/* 排列 */
.fL {
  float: left;
}

.fR {
  float: right;
  text-align: right;
}

.clearfix {
  /* *zoom: 1; */
}

.clearfix:before,
.clearfix:after {
  line-height: 0;
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}

.tL {
  text-align: left;
}

.tR {
  text-align: right;
}

.tC {
  text-align: center;
}

.tC img {
  margin: 0 auto;
}

.tB {
  font-weight: bold;
}

.clr {
  clear: both;
}

.web {
  display: block;
}

.mobile {
  display: none;
}

figure {
  margin: 0;
}

/* 標題文字 */
h3 {
  font-size: 1.625em;
  font-weight: bold;
  color: #057830;
  text-align: center;
  min-width: 450px;
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid #cccccc;
  border-radius: 100px;
  margin-bottom: 60px;
  position: relative;
}

h3::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(70%);
  bottom: 0px;
  width: 1px;
  height: 40px;
  background: #ccc;
}

h4 {
  font-size: 1.25em;
  line-height: 1.5;
  text-align: justify;
}

h5 {
  font-size: 1.125em;
  line-height: 1.125rem;
  font-weight: bold;
}

h6 {
  font-size: 1em;
  color: #065ba3;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #f4a31e;
  transition: all 300ms ease-in-out;
}

a.link {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
  text-indent: -9999em;
  z-index: 9;
}

/*顏色*/
.color-primary {
  color: #057830;
}

.color-accent {
  color: #e15b02;
}

.color-black {
  color: #000;
}

/* 間距設定 */
.mb-s {
  margin-bottom: 20px;
}

.mb-m {
  margin-bottom: 30px;
}

.mb-lg {
  margin-bottom: 40px;
}

/* 文字大小 */
.fs-m {
  font-size: 1.125em;
}

.fs-lg {
  font-size: 1.25em;
}

h4+.fs-m,
.fs-lg+.fs-m {
  margin-top: 5px;
}

/*輸入框*/
input[type='text'],
input[type='password'],
select {
  width: 100%;
  padding: 0 10px;
  height: 50px;
  color: #333;
  background: #eeeeee;
  box-sizing: border-box;
  font-size: 1.125em;
  border-radius: 10px;
}

/* -----頁面架構開始-----*/
.wrapper {
  background-color: #eee;
}

.container {
  padding-bottom: 60px;
}

.in {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
}

/*header*/
header {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
}

header.sticky {
  background: rgba(0, 0, 0, 1);
}

header.sticky .navbar>.navbar-item:hover .navbar-sub {
  background: #333;
}

header .in {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/*以下for 單純只有LOGO*/
a.logo_company {
  display: block;
  /*opacity:0;*/
  line-height: 0;
  font-size: 0;
  text-indent: -9999em;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

header .logo-header {
  display: flex;
  align-items: center;
}

h1 {
  width: 200px;
  height: 47px;
  background: transparent url('../images/logo.png') center center no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

header .taifexcare {
  width: 180px;
  margin-left: 8px;
}

/* 選單 */
.navbar {
  display: flex;
}

.navbar .accesskey a {
  color: #fff;
  position: relative;
  top: 30px;
}

.navbar,
.navbar .navbar-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar>.navbar-item {
  float: left;
  padding: 15px 0;
  position: relative;
}

.navbar>.navbar-item:last-child {
  margin-right: 0;
  margin-left: 15px;
}

.navbar>.navbar-item:nth-child(2) a {
  padding-left: 10px;
}

.navbar>.navbar-item:last-child a {
  padding-right: 0;
  padding-left: 15px;
  position: relative;
}

.navbar>.navbar-item:last-child a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background-color: #fff;
}

.navbar>.navbar-item.active>.navbar-sub {
  display: flex;
}

.navbar>.navbar-item a {
  text-decoration: none;
}

.navbar>.navbar-item>a {
  padding: 10px 20px;
  color: #fff;
  font-size: 1.375em;
  display: block;
}

.navbar>.navbar-item>a:hover,
.navbar>.navbar-item>a:focus,
.navbar>.navbar-item.active>a {
  color: #f4a31e;
}

.navbar>.navbar-item>a:hover::before,
.navbar>.navbar-item>a:focus::before,
.navbar>.navbar-item.active>a::before {
  border-color: #f4a31e;
  transform: rotate(315deg);
  top: 26px;
}

.navbar .navbar-sub {
  position: absolute;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  top: 83px;
  display: none;
  justify-content: center;
  background: #000;
  /* border-top: 1px solid #424242; */
  top: 78px;
  border-radius: 5px;
  z-index: 10;
}

.navbar .navbar-sub>.navbar-sub-item>a {
  display: block;
  padding: 15px 20px;
  text-align: center;
  font-size: 1.25em;
  white-space: nowrap;
}

.navbar .navbar-item.active .navbar-sub-item>a:hover,
.navbar .navbar-item.active .navbar-sub-item>a:focus {
  color: #f4a31e;
}

.navbar-sub-item+.navbar-sub-item {
  position: relative;
}

.navbar-sub-item+.navbar-sub-item ::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  height: 1px;
  border-top: 2px dotted rgba(255, 255, 255, 0.7);
}

.navbar>.navbar-item:hover .navbar-sub {
  display: flex;
  display: block;
  margin-top: -8px;
  border-radius: 10px;
  min-width: 200px;
}

.navbar a {
  color: #fff;
}

.navbar a:hover {
  color: #f4a31e;
}

.navbar-item.hasSub a {
  padding-right: 28px;
  position: relative;
}

.navbar-item.hasSub>a::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 23px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(135deg);
  transition: 0.3s all ease-in-out;

}

.navbar>.navbar-item:hover>a {
  color: #f4a31e;
}

.navbar>.navbar-item:hover>a::before {
  border-color: #f4a31e;
  transform: rotate(315deg);
  top: 26px;
}

.pageMenu-btn {
  display: none;
}

/*導盲磚*/
.sr-only {
  position: absolute;
  width: 0.063rem;
  height: 0.063rem;
  padding: 0.4rem;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  z-index: 1000000;
  color: #ffffff;
  background-color: #f4a31e;
}

.sr-only:active,
.sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  outline: none;
}

/* 主視覺圖 */
.mainBanner {
  position: relative;
}

.mainBanner.index .imgbx {
  width: 100%;
  position: relative;
  /* padding-bottom: 41.66%;
  min-height: 550px; */
  height: 600px;
}

.mainBanner.index .imgbx img,
.mainBanner .imgbx img {
  width: 100%;
  height: 100%;
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
}

.mainBanner .txt {
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 1200px;
  padding: 20px;
  width: 100%;
  color: #fff;
}

.mainBanner.index h2 {
  font-size: 3.75em;
  font-weight: bold;
  margin-bottom: 10px;
}

.mainBanner.index h2 {
  position: relative;
}

.mainBanner.index h2 span {
  z-index: 2;
  position: relative;
  font-weight: bold;
}

.mainBanner.index h2::before {
  content: "";
  display: block;
  left: -5px;
  bottom: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #f4a31e;
  position: absolute;
  z-index: 0;
}

.mainBanner.index .txt p {
  font-size: 1.5em;
  padding-left: 60px;
  position: relative;
}

.mainBanner.index .txt p::before {
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background-color: #fff;
  position: absolute;
}

/* 主要區塊 */
.frame {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 45px;
  margin-top: -80px;
}

/* 首頁商品介紹區塊 */
.row3-dottedSp {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.row3-dottedSp li {
  width: 33.3%;
  padding: 0 30px;
}


.row3-dottedSp li+li {
  border-left: 3px dotted #d2d2d2;
}

.row3-dottedSp h4 {
  min-height: 60px;
  margin-bottom: 15px;
  color: #000;
}

.row3-dottedSp p {
  font-size: 1.125em;
}

.row3-dottedSp h4 span {
  display: block;
}

/* 按鈕設定 */
.btn {
  display: flex;
  justify-content: center;
}

.btn.fixed-fm {
  position: absolute;
  left: 50%;
  transform: translateX(-50%)translateY(50%);
  bottom: 0;
  width: 100%;
}

.btn a {
  padding: 15px 50px;
  background-color: #e15b02;
  border-radius: 100px;
  color: #fff;
  text-align: center;
  font-size: 1.375em;
  font-weight: bold;
  transition: 0.2s all ease-in-out;
}

.btn a:hover,
.btn.toGo a:hover {
  background-color: #ed6911;
}

.btn.toGo a {
  padding: 12px 60px 12px 50px;
  background: #e15b02 url(../images/btn-arrow.svg)no-repeat right 15px center;
  background-size: 30px auto;
}

.btn.download span {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url(../images/download_btn.png)no-repeat center center /contain;
  vertical-align: middle;
  position: relative;
  top: -2px;
  text-indent: -9999em;
  font-size: 0;
}

/*footer*/
footer {
  background-color: #333333;
  padding: 30px;
  color: #fff;
}

.z-acceky {
  position: absolute;
  left: 30px;
  top: -20px;
  transform: translateX(-100%);
}

.z-acceky a {
  color: #fff;
}

footer .content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

footer .Lbx {
  display: flex;
  align-items: center;
}

footer .Lbx .imgbx {
  width: 270px;
  margin-right: 30px;
}

footer .Lbx a {
  margin-right: 30px;
  display: block;
  width: 270px;
  height: 53px;
  background: url(../images/logo.png)no-repeat center center / contain;
  font-size: 0;
  text-indent: -9999em;
}

footer .Rbx a {
  width: 120px;
  margin-left: auto;
  margin-bottom: 8px;
  display: block;
}

footer .Rbx p {
  font-size: 0.875em;
  white-space: nowrap;
}

footer .web {
  display: inline-block;
}

/*分頁樣式*/
.paginationArea {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.paginationArea li {
  font-size: 1.25em;
  color: #fff;
  position: relative;
  text-align: center;
  transition: 0.2s all ease-in-out;
}

.paginationArea li:hover {
  opacity: 0.8;
}

.paginationArea li::before {
  content: '';
  display: block;
  width: 100%;
  height: auto;
  background-color: transparent;
  position: absolute;
  transition: 0.2s all ease-in-out;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 100%;
}

.paginationArea li a {
  position: relative;
  z-index: 1;
  top: -1px;
  color: #333;
  padding: 15px;
}

.paginationArea li.on::before {
  background-color: #e15b02;
}

.paginationArea li.on a {
  color: #fff;
  font-weight: bold;
}

.paginationArea .prev a,
.paginationArea .next a {
  vertical-align: middle;
  width: 25px;
  display: inline-block;
  position: relative;
  top: 0;
  padding: 15px 10px;
}

.paginationArea .prev a img,
.paginationArea .next a img {
  width: 100%;
}

/* goTop */
.goTop {
  position: fixed;
  right: 40px;
  bottom: 20%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #057830 url(../images/goTop.svg)no-repeat center center;
  background-size: 28px auto;
  opacity: 0;
  z-index: 10;
  font-size: 0;
  text-indent: -9999em;
}

.goTop:hover {
  opacity: .8;
}

/* 麵包屑 */
.breadcrumb {
  position: relative;
  margin-top: -22px;
  margin-bottom: 20px;
  padding: 0;
  padding-left: 20px;
}

.breadcrumb li {
  list-style: none;
  font-size: 1em;
  display: inline-block;
}

.breadcrumb a {
  color: #333;
}

.breadcrumb a:hover {
  color: #0c3a87;
}

.breadcrumb li+li::before {
  content: ">";
  margin: 0 5px;
  position: relative;
  left: -3px;
}

/*頁面1200以內時*/
@media screen and (max-width: 1200px) {
  .frame {
    padding: 20px;
  }

  .navbar>.navbar-item>a {
    font-size: 1.125rem;
    padding: 10px;
  }

  .navbar .navbar-sub>.navbar-sub-item>a {
    font-size: 1.125rem;
  }

  .navbar-item.hasSub a {
    padding-right: 20px;
  }

  .navbar-item.hasSub>a::before {
    top: 18px;
    right: 5px;
  }

  .navbar .accesskey a {
    top: 26px;
  }

  .navbar>.navbar-item>a:hover::before,
  .navbar>.navbar-item>a:focus::before,
  .navbar>.navbar-item.active>a::before {
    top: 23px;
  }
}

/*頁面992以內時*/
@media screen and (max-width: 992px) {

  /* -----頁面設定開始-----*/
  /*header */
  h1 {
    width: 180px;
    height: 35px;
    ;
  }

  /* 選單 */
  .navbar>.navbar-item>a {
    font-size: 1.125em;
    padding: 10px 10px;
  }

  .navbar-item.hasSub>a {
    padding-right: 25px;
  }

  .navbar-item.hasSub>a::before {
    top: 18px;
  }

  .navbar>.navbar-item:hover>a::before {
    top: 23px;
  }

  .navbar>.navbar-item:last-child {
    margin-left: 10px;
  }

  .navbar>.navbar-item:last-child a {
    padding-left: 10px;
  }

  .navbar .navbar-sub {
    top: 77px;
  }

  .navbar .accesskey a {
    top: 25px;
  }

  .navbar .navbar-sub>.navbar-sub-item>a {
    padding: 12px 20px;
    font-size: 1.125em;
  }

  /*  */
  header .taifexcare {
    width: 140px;
    margin-left: 2px;
  }

  .navbar .accesskey a {
    top: 25px;
    left: 4px;
  }

  .navbar>.navbar-item>a {
    /* font-size: 1rem; */
  }

  .navbar-item.hasSub>a {
    padding-right: 18px;
  }

  .navbar>.navbar-item:last-child {
    margin-left: 5px;
  }

  /* 主視覺圖 */
  .mainBanner.index .imgbx {
    padding-bottom: 50%;
    height: auto;
  }

  .mainBanner.index h2 {
    font-size: 2.5em;
  }

  .mainBanner.index .txt p {
    font-size: 1em;
  }

  .mainBanner.index h2::before {
    left: -5px;
    bottom: 8px;
    width: 12px;
    height: 12px;
  }

  /* 首頁商品介紹區塊 */
  .row3-dottedSp li {
    padding: 0 15px;
  }

  .row3-dottedSp li+li {
    border-width: 2px;
  }

  /* footer */
  footer {
    padding: 20px 0;
  }

  footer p {
    font-size: 0.875em;
    line-height: 1.7;
  }

}

/* header提早換小網 */
@media screen and (max-width: 890px) {

  /*header */
  h1 {
    width: 150px;
    height: 29px;
  }

  header .in {
    padding: 13px 15px;
  }

  /* 選單 */
  header nav {
    display: none;
  }

  .pageMenu-btn {
    display: block;
    right: 2px;
    background: transparent;
    left: auto;
    top: 0px;
    font-size: 0;
    text-indent: -9999em;
    width: 55px;
    height: 55px;
  }

  .pageMenu-btn .line {
    background-color: #fff;
    width: 30px;
    left: 50%;
    transform: translateX(-50%);
    top: 28px;
  }

  .pageMenu-btn .line01 {
    top: 19px;
  }

  .pageMenu-btn .line03 {
    top: 37px;
  }

  .openmenu .pageMenu-btn .line01,
  .openmenu .pageMenu-btn .line03 {
    width: 24px;
    top: 25px;
    left: 15px;
    transform: rotate(-45deg);
  }

  .openmenu .pageMenu-btn .line03 {
    transform: rotate(45deg);
  }

  .show-right.openmenu {
    transform: translateX(-70%);
  }

  #pageMenu {
    background-color: #000;
    width: 70%;
  }

  #pageMenu .hasSub button {
    width: 40px;
  }

  #pageMenu>ul {
    padding: 0 15px;
  }

  #pageMenu ul ul {
    background: #222;
    padding: 0 5px;
  }

  #pageMenu ul ul a {
    padding-left: 20px;
    position: relative;
    font-size: 1em;
    border-bottom: none;
    height: 44px;
    line-height: 44px;
  }

  #pageMenu ul ul a::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 21px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #fff;
  }

  #pageMenu ul a {
    color: #fff;
    border-bottom: solid 1px #aaa;
    font-size: 1.125em;
  }

}

/*小網*/
@media screen and (max-width: 767px) {

  .web {
    display: none;
  }

  .mobile {
    display: block;
  }

  .mb-lg {
    margin-bottom: 30px;
  }

  h3 {
    min-width: 100%;
    font-size: 1.375em;
    padding: 5px 15px 10px 15px;
    margin-bottom: 50px;
  }

  h3::before {
    height: 30px;
    transform: translateX(-50%) translateY(80%);
  }

  h4.m-min {
    font-size: 1em;
  }

  /* -----頁面設定開始-----*/
  .container {
    padding-bottom: 40px;
  }

  /* 文字 */
  .m-fs-1 {
    font-size: 1em;
  }

  input[type='text'],
  input[type='password'],
  select {
    height: 45px;
    border-radius: 5px;
  }

  /* -----頁面設定開始-----*/



  /* 主視覺圖 */
  .mainBanner.index .imgbx {
    padding-bottom: 73.33%;
    height: auto !important;
  }

  .mainBanner.index h2 {
    font-size: 1.875em;
  }

  .mainBanner.index h2 span {
    line-height: 1.3;
  }

  .mainBanner.index h2::before {
    left: -3px;
    bottom: 50px;
    width: 10px;
    height: 10px;
  }

  /* 主要區塊 */
  .frame {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px 15px;
    margin-top: -30px;
    min-height: auto;
  }

  /* 首頁商品介紹區塊 */
  .row3-dottedSp {
    margin-bottom: 40px;
  }

  .row3-dottedSp li {
    width: 100%;
    padding: 0;
  }

  .row3-dottedSp li+li {
    border-left: none;
    border-top: 2px dotted #d2d2d2;
    padding-top: 15px;
    margin-top: 15px;
  }

  .row3-dottedSp h4 {
    min-height: auto;
    margin-bottom: 10px;
  }

  .row3-dottedSp p {
    font-size: 1em;
  }

  /* 按鈕樣式 */
  .btn,
  .btn.fixed-fm {
    width: calc(100% - 50px);
  }

  .btn a,
  .btn.toGo a {
    font-size: 1.25em;
    padding: 10px 40px;
    width: 100%;
    background-size: 25px auto;
  }

  /* footer */
  footer .content,
  footer .Lbx {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  footer .Lbx {
    border-bottom: 1px solid #707070;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  footer .Rbx a {
    margin-right: auto;
    margin-bottom: 0;
  }

  footer .web {
    display: none;
  }

  footer .Lbx .imgbx {
    width: 200px;
    margin-bottom: 10px;
  }

  footer .Lbx a {
    width: 200px;
    height: 40px;
    margin-bottom: 10px;
    margin-right: 0;
  }

  /* goTop */
  .goTop {
    right: 10px;
    bottom: 30%;
    width: 55px;
    height: 55px;
  }

  /* 麵包屑 */
  .breadcrumb {
    margin-top: 0px;
    margin-bottom: 20px;
    padding-left: 0px;
  }

  .breadcrumb li {
    font-size: 1em;
  }

  .breadcrumb li+li::before {
    content: ">";
    margin: 0 2px;
    position: relative;
    left: -2px;
  }

}