@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap");
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
header,
footer,
menu,
nav,
main,
aside,
article,
p,
a,
ul,
ol,
li,
table,
tr,
td,
th,
input,
button,
form,
img,
div,
span {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: inherit;
  list-style: none;
  text-decoration: none;
  font-family: "Red Hat Text", "Noto Sans TC", "微軟正黑體";
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

.blank {
  min-height: 100vh;
  /* 滿版高度 */
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

main,
section {
  width: 100%;
  flex: 1;
  /* 撐開內容區 */
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
  line-height: 2em;
}

h6 {
  font-size: 18px;
  line-height: 1.8em;
  margin-bottom: 5px;
}

p {
  font-size: 15px;
  line-height: 1.8em;
  word-break: break-all;
  overflow-wrap: break-word;
  margin-bottom: 5px;
}

a.line {
  text-decoration: underline;
  font-weight: 700;
}

a {
  text-decoration: none;
  font-weight: normal;
  color: inherit;
}

a:hover {
  color: #708293;
}

a.line.fcwhite:hover {
  color: #708293;
}

a.line.fcdarkblue:hover {
  color: #708293;
}

.fcwhite {
  color: #fff;
}

.fcblack {
  color: #000;
}

.fcdarkblue {
  color: #002e5b;
}

.fcbrown {
  color: #603813;
}

.fcgray {
  color: #708293;
}

.fcdarkpurple {
  color: #273460;
}

.bgdarkblue {
  background-color: #002e5b;
}

.bglightblue {
  background-color: #2b5088;
}

.bglightgray {
  background-color: #f6f6f6;
}

.bgwhite {
  background-color: #fff;
}

.mainTitle-center {
  margin-top: 20px;
  text-align: center;
  padding: 0 10px;
}
.mainTitle-center img {
  width: 100%;
  align-items: center;
  max-width: 500px;
}
.mainTitle-center h3,
.mainTitle-center h5 {
  margin-bottom: 10px;
  color: #002e5b;
}
.mainTitle-center p {
  margin: 10px;
}

.btn {
  width: 100%;
  font-size: 16px;
  display: flex;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
}
.btn button {
  left: 0;
  width: 7em;
  height: 3.5em;
  color: #000;
  border: none;
  background-color: #fff;
}
.btn button:hover {
  background-color: #2b5088;
  color: #FFF;
}

.pageAll {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 1em auto;
}
.pageAll .page {
  width: 40px;
  height: 40px;
  color: #000;
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  justify-content: center;
  line-height: 40px;
  cursor: pointer;
  font-size: 18px;
  margin: 0 10px;
}
.pageAll .page i {
  vertical-align: middle;
}
.pageAll .page p {
  width: 100%;
  height: 100%;
  line-height: 2.5em;
}
.pageAll .page:hover,
.pageAll .page.active {
  background-color: #2b5088;
  color: #fff;
  font-weight: 500;
}

.container {
  margin-top: 20px;
}
.container .breadcrumb {
  padding-left: 20px;
}
.container .breadcrumb .breadcrumb-item.active a {
  color: #002e5b;
}

hr {
  opacity: 1;
  border: 1px solid #708293;
}

.articlecontent {
  margin: 0 auto;
  padding: 20px;
}
.articlecontent img {
  width: 100% !important;
  height: auto !important;
  display: block;
}
.articlecontent iframe {
  width: 100% !important;
  height: 100% !important;
}

@media (min-width: 992px) {
  .articlecontent {
    padding: 40px;
  }
  .articlecontent img {
    max-width: 1000px !important;
    max-height: 100% !important;
  }
  .articlecontent iframe {
    width: 100% !important;
    height: 100% !important;
  }
}
@media only screen and (max-width: 576px) {
  .grid-sm-1 {
    width: 8.3333333333%;
  }
  .grid-sm-2 {
    width: 16.6666666667%;
  }
  .grid-sm-3 {
    width: 25%;
  }
  .grid-sm-4 {
    width: 33.3333333333%;
  }
  .grid-sm-5 {
    width: 41.6666666667%;
  }
  .grid-sm-6 {
    width: 50%;
  }
  .grid-sm-7 {
    width: 58.3333333333%;
  }
  .grid-sm-8 {
    width: 66.6666666667%;
  }
  .grid-sm-9 {
    width: 75%;
  }
  .grid-sm-10 {
    width: 83.3333333333%;
  }
  .grid-sm-11 {
    width: 91.6666666667%;
  }
  .grid-sm-12 {
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .grid-1 {
    width: 8.3333333333%;
  }
  .grid-2 {
    width: 16.6666666667%;
  }
  .grid-3 {
    width: 25%;
  }
  .grid-4 {
    width: 33.3333333333%;
  }
  .grid-5 {
    width: 41.6666666667%;
  }
  .grid-6 {
    width: 50%;
  }
  .grid-7 {
    width: 58.3333333333%;
  }
  .grid-8 {
    width: 66.6666666667%;
  }
  .grid-9 {
    width: 75%;
  }
  .grid-10 {
    width: 83.3333333333%;
  }
  .grid-11 {
    width: 91.6666666667%;
  }
  .grid-12 {
    width: 100%;
  }
}
@media only screen and (min-width: 768px) {
  .grid-md-1 {
    width: 8.3333333333%;
  }
  .grid-md-2 {
    width: 16.6666666667%;
  }
  .grid-md-3 {
    width: 25%;
  }
  .grid-md-4 {
    width: 33.3333333333%;
  }
  .grid-md-5 {
    width: 41.6666666667%;
  }
  .grid-md-6 {
    width: 50%;
  }
  .grid-md-7 {
    width: 58.3333333333%;
  }
  .grid-md-8 {
    width: 66.6666666667%;
  }
  .grid-md-9 {
    width: 75%;
  }
  .grid-md-10 {
    width: 83.3333333333%;
  }
  .grid-md-11 {
    width: 91.6666666667%;
  }
  .grid-md-12 {
    width: 100%;
  }
}
@media only screen and (min-width: 992px) {
  .grid-lg-1 {
    width: 8.3333333333%;
  }
  .grid-lg-2 {
    width: 16.6666666667%;
  }
  .grid-lg-3 {
    width: 25%;
  }
  .grid-lg-4 {
    width: 33.3333333333%;
  }
  .grid-lg-5 {
    width: 41.6666666667%;
  }
  .grid-lg-6 {
    width: 50%;
  }
  .grid-lg-7 {
    width: 58.3333333333%;
  }
  .grid-lg-8 {
    width: 66.6666666667%;
  }
  .grid-lg-9 {
    width: 75%;
  }
  .grid-lg-10 {
    width: 83.3333333333%;
  }
  .grid-lg-11 {
    width: 91.6666666667%;
  }
  .grid-lg-12 {
    width: 100%;
  }
  main section.container {
    margin-left: 150px;
  }
  main section.container .breadcrumb {
    padding-left: 50px;
  }
}
@media only screen and (min-width: 1400px) {
  .grid-xl-1 {
    width: 8.3333333333%;
  }
  .grid-xl-2 {
    width: 16.6666666667%;
  }
  .grid-xl-3 {
    width: 25%;
  }
  .grid-xl-4 {
    width: 33.3333333333%;
  }
  .grid-xl-5 {
    width: 41.6666666667%;
  }
  .grid-xl-6 {
    width: 50%;
  }
  .grid-xl-7 {
    width: 58.3333333333%;
  }
  .grid-xl-8 {
    width: 66.6666666667%;
  }
  .grid-xl-9 {
    width: 75%;
  }
  .grid-xl-10 {
    width: 83.3333333333%;
  }
  .grid-xl-11 {
    width: 91.6666666667%;
  }
  .grid-xl-12 {
    width: 100%;
  }
  main section.container {
    margin-left: 250px;
  }
}
main .aboutSec {
  width: 100%;
  background-image: url(../images/aboutbg.png);
  background-repeat: no-repeat;
  background-size: cover;
}
main .aboutSec .pic,
main .aboutSec .text {
  padding: 30px;
}
main .aboutSec .pic {
  text-align: center;
  max-width: 700px;
}
main .aboutSec .pic img {
  width: 80%;
}
main .aboutSec .text img {
  width: 250px;
}
main .aboutSec .titlewithicon {
  display: flex;
}
main .aboutSec .titlewithicon img {
  width: auto;
  height: 30px;
  margin-right: 5px;
}
main .serviceSec {
  position: relative;
  width: 100%;
  background-image: url(../images/mainsidebg.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-origin: border-box;
  background-size: 80%;
}
main .serviceSec .flexBox {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2em auto;
  margin-bottom: 0;
}
main .serviceSec .flexBox .serviceBox {
  padding-bottom: 20px;
}
main .serviceSec .flexBox .serviceBox img {
  width: 100%;
  margin-bottom: 10px;
}
main .serviceSec .flexBox .serviceBox .text {
  text-align: center;
  padding: 0 20px;
}
main .serviceSec .flexBox .serviceBox .text h4 {
  margin: 15px 0;
}
main .serviceSec .flexBox .serviceBox .text h6 {
  margin: 10px 0;
}
main .newSec {
  background-image: url(../images/newbg.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
main .newSec .flexBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  width: 100%;
}
main .newSec .flexBox .newBox {
  padding: 30px;
  height: 100%;
}
main .newSec .flexBox .newBox .dateAll {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
}
main .newSec .flexBox .newBox .dateAll .onlydate {
  width: 80px;
  text-align: center;
}
main .newSec .flexBox .newBox .dateAll .onlydate h3 {
  font-size: 62px;
  line-height: 65px;
}
main .newSec .flexBox .newBox .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
main .newSec .flexBox .newBox .text h6 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main .whySec {
  width: 100%;
  padding: 20px 0;
  text-align: center;
}
main .whySec .flexBox {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
main .whySec .flexBox .contentBox {
  padding: 0 10px 10px;
}
main .whySec .flexBox .contentBox img {
  width: 80%;
  max-width: 150px;
  margin-bottom: 10px;
}
main .blogSec {
  position: relative;
  width: 100%;
  padding: 20px 0;
}
main .blogSec .flexBox {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 2em auto;
  margin-bottom: 0;
}
main .blogSec .flexBox .contentBox {
  padding: 30px;
}
main .blogSec .flexBox .contentBox .text {
  text-align: center;
  max-height: 350px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}
main .blogSec .flexBox .contentBox .text h6 {
  margin: 10px 0;
}
main .blogSec .flexBox .contentBox .line {
  text-decoration: underline;
  font-weight: 700;
}
main .blogSec .flexBox .contentBox:hover h6,
main .blogSec .flexBox .contentBox:hover .line {
  color: #708293;
}

aside {
  display: flex;
  position: fixed;
  flex-direction: column;
  right: 0;
  bottom: 100px;
  text-align: center;
  align-items: center;
  overflow: hidden;
  padding: 0.5em 0;
  width: 50px;
  border-radius: 10px;
  transform: scale(0.8);
  z-index: 99;
}
aside a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: block;
  cursor: pointer;
  margin: 10px 0;
}
aside .asideBottom {
  margin-top: 5px;
  transition: opacity 0.3s ease;
  opacity: 1;
}
aside .asideBottom a {
  display: flex;
  align-items: center;
  margin: 0;
  justify-content: center;
}
aside .asideBottom.hidden {
  opacity: 0;
  pointer-events: none;
}

.contactSec {
  width: 100%;
  background-image: url(../images/contactbg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  padding-top: 30px;
}
.contactSec .contCenter {
  margin: 20px auto;
  max-width: 300px;
  padding: 20px 0;
  padding-top: 70px;
}
.contactSec .contCenter img {
  width: 100%;
  margin-bottom: 25px;
}
.contactSec hr {
  width: 80%;
  margin: 0 auto;
  border: #000;
}
.contactSec footer {
  color: #000;
  line-height: 3em;
  text-align: center;
  font-size: 14px;
  padding: 10px 0;
}

main .aboutPage .nobg {
  background-image: none;
}
main .aboutPage .nobg .pic {
  max-width: 400px;
  margin: 0 auto;
}

main .faqPage .qaAccordin {
  margin: 20px auto;
}
main .faqPage .qaAccordin .mainTitle-center {
  margin-bottom: 20px;
}
main .faqPage .qaAccordin .qa-item {
  border: 1px solid #002e5b;
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}
main .faqPage .qaAccordin .qa-item .question {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  padding: 30px;
  color: #000;
  background-color: #fff;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
}
main .faqPage .qaAccordin .qa-item .question .icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-color: #eaeaea;
  color: #002e5b;
  text-align: center;
  line-height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background-color 0.3s, color 0.3s;
}
main .faqPage .qaAccordin .qa-item .question.active {
  background-color: #002e5b;
  /* 黃色底 */
  color: #fff;
}
main .faqPage .qaAccordin .qa-item .question.active .icon {
  background-color: #fff;
  color: #002e5b;
  /* 白底白字 */
}
main .faqPage .qaAccordin .qa-item .answer {
  display: none;
  padding: 16px;
  padding-top: 0;
  padding-left: 40px;
  background-color: #002e5b;
  /* 黃色底 */
  color: #fff;
  transition: all 0.3s;
}
main .faqPage .qaAccordin .qa-item .answer.show {
  display: block;
}

main .newPage .nobg {
  background-image: none;
}

main .product-container {
  margin: 0 auto;
  overflow: hidden;
}
main .product-container .product-sidebar {
  margin: 1em;
  padding: 10px;
  padding-left: 0;
}
main .product-container .product-sidebar hr {
  width: 9em;
  border: 1px solid #002e5b;
  opacity: 1;
}
main .product-container .product-sidebar h3 {
  margin: 0.5em 0;
  color: #002e5b;
}
main .product-container .product-sidebar ul li {
  line-height: 2em;
  padding: 10px;
  cursor: pointer;
}
main .product-container .product-sidebar ul li i {
  padding-left: 1em;
}
main .product-container .product-sidebar ul li .dropdown-content {
  display: none;
}
main .product-container .product-sidebar ul li.filter-btn:hover,
main .product-container .product-sidebar ul .active {
  background-color: #002e5b;
  color: #fff;
  font-weight: 700;
}
main .product-container .product-sidebar ul .dropdown-toggle:hover ul {
  display: block;
}
main .product-container .product-sidebar ul li.dropdown-toggle::after {
  content: none;
  /* 或刪除整個這段 */
}
main .product-container .product-list {
  margin-top: 1em;
  margin: 0 auto;
}
main .product-container .product-list .product-item {
  margin: 1em;
}
main .product-container .product-list .product-item h6 {
  margin-top: 1em;
  white-space: nowrap;
  /* 不允許換行 */
  overflow: hidden;
  /* 超出寬度的文字隱藏 */
  text-overflow: ellipsis;
  /* 顯示省略符號 "..." */
}
main .product-container .product-list .product-item .image-wrapper {
  position: relative;
  overflow: hidden;
}
main .product-container .product-list .product-item .image-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* 按鈕樣式 */
}
main .product-container .product-list .product-item .image-wrapper .overlay .detail-btn {
  background-color: #002e5b;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s;
}
main .product-container .product-list .product-item .image-wrapper .overlay .detail-btn:hover {
  background-color: #2b5088;
}
main .product-container .product-list .product-item .image-wrapper:hover .overlay,
main .product-container .product-list .product-item .image-wrapper:active .overlay {
  opacity: 1;
}

main .contactPage .contactBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
main .contactPage .contactBox .text {
  padding: 20px;
}
main .contactPage .contactBox .text p {
  line-height: 2.5em;
}
main .contactPage .contactBox .content .formBox {
  max-width: 800px;
  padding: 10px;
}
main .contactPage .contactBox .content .formBox .formgroup {
  margin-bottom: 1.5rem;
}
main .contactPage .contactBox .content .formBox .formgroup label {
  display: block;
  margin-bottom: 0.5rem;
}
main .contactPage .contactBox .content .formBox .formgroup label .required {
  color: red;
  margin-right: 0.25rem;
}
main .contactPage .contactBox .content .formBox .formgroup input[type=text],
main .contactPage .contactBox .content .formBox .formgroup input[type=tel],
main .contactPage .contactBox .content .formBox .formgroup textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}
main .contactPage .contactBox .content .formBox .formgroup input:focus,
main .contactPage .contactBox .content .formBox .formgroup textarea:focus {
  border-color: #5c9ded;
  outline: none;
}
main .contactPage .contactBox .content .formBox .formgroup textarea {
  resize: vertical;
}
main .contactPage .contactBox .content .formBox .btn button[type=submit] {
  background-color: #2b5088;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
main .contactPage .contactBox .content .formBox .btn button[type=submit]:hover {
  background-color: #f6f6f6;
  color: #2b5088;
}

@media only screen and (min-width: 400px) {
  aside {
    right: 10px;
    transform: scale(1);
  }
}
@media only screen and (min-width: 768px) {
  main .blogSec .flexBox {
    justify-content: start;
  }
  main .product-container {
    display: flex;
  }
  main .product-container .product-sidebar {
    margin: 1em 10px 1em 2.5em;
    max-width: 200px;
  }
  main .product-container .product-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: start;
  }
}
@media only screen and (min-width: 992px) {
  main .aboutSec .content {
    display: flex;
    justify-content: center;
  }
  main .aboutSec .content .pic img {
    width: 100%;
    max-height: 850px;
    width: auto;
  }
  main .aboutSec .content .text {
    max-width: 600px;
  }
  main .newSec .newBox {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .whySec .flexBox .contentBox {
    max-width: 290px;
  }
  main .aboutPage .nobg .pic {
    padding-top: 100px;
    margin: 0;
  }
  main .contactPage .contactBox {
    justify-content: center;
  }
  main .contactPage .contactBox .text {
    max-width: 550px;
  }
  main .contactPage .contactBox .content .formBox .formgroup {
    display: flex;
    align-items: center;
  }
  main .contactPage .contactBox .content .formBox .formgroup label {
    width: 200px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  main .contactPage .contactBox .content .formBox .formgroup input,
  main .contactPage .contactBox .content .formBox .formgroup textarea {
    flex: 1;
  }
}
@media only screen and (min-width: 1400px) {
  main .aboutSec .text {
    padding-top: 70px;
  }
  main .aboutSec.nobg .text {
    padding-top: 30px;
    max-width: 650px;
  }
  main .product-container {
    margin: 0 auto;
  }
  main .product-container .product-list {
    margin: 1em;
    margin-right: 0;
    gap: 20px;
  }
  main .product-container .product-list .product-item {
    margin: 1em;
  }
}/*# sourceMappingURL=style.css.map */