@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");
@import url("https://fonts.googleapis.com/css2?family=Titan+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=LXGW+WenKai+Mono+TC&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&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: "Noto Sans TC", "Times New Roman", "微軟正黑體";
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  /* 標準屬性 */
  -webkit-text-size-adjust: 100%;
  /* Safari/Chrome */
  -moz-text-size-adjust: 100%;
  /* Firefox Android */
  -ms-text-size-adjust: 100%;
  /* 舊 IE/Edge */
}

html,
body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  /* iOS、Android 禁止自動字體縮放 */
}

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

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

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

h2 {
  font-size: 26px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  font-size: 14px;
  line-height: 1.5;
  word-break: break-all;
  overflow-wrap: break-word;
  /* 防止文字超出 */
  line-break: loose;
  /* 調整中文標點換行規則（modern瀏覽器） */
  margin: 0;
}

li {
  font-size: 14px;
}

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

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

a.flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

a:hover {
  color: #666666;
}

:root {
  --color1: #e9bd8e;
  --color2: #1b2a5f;
  --color3: #112251;
  --color4: #3c507e;
}

.title-center {
  margin: 20px auto;
  text-align: center;
}
.title-center img {
  width: auto;
  align-items: center;
  margin-bottom: 10px;
  max-height: 28px;
}
.title-center h6 {
  font-size: 16px;
  margin: 0;
  line-height: 1.8;
  font-weight: 600;
  color: #e9bd8e;
}
.title-center h4 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #e9bd8e;
}
.title-center p {
  color: #fff;
  font-family: serif;
  letter-spacing: 1px;
  font-size: 15px;
}

.title {
  margin: 20px auto;
}
.title h6 {
  font-size: 16px;
  margin: 0;
  line-height: 1.8;
  font-weight: 600;
  color: #1b2a5f;
}
.title h4 {
  font-weight: 900;
  font-size: 20px;
  color: #1b2a5f;
}
.title p {
  color: #1b2a5f;
}
.title .line-with-cut {
  width: 3em;
  height: 5px;
  background-color: #fff;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%); /* 創建明顯的切面 */
  margin-bottom: 20px;
}
.title img {
  width: 50%;
  max-width: 200px;
  margin-bottom: 10px;
}

.link-btn {
  width: 10em;
  height: auto;
  font-size: 14px;
  display: flex;
  padding: 15px 0;
  margin: 10px 0;
  justify-content: center;
  text-align: center;
  gap: 10px;
  white-space: nowrap;
  line-height: 1.5;
  cursor: pointer;
  color: #324158;
  border: 1px solid #000;
}
.link-btn img {
  width: auto;
  height: 20px;
}
.link-btn i {
  padding-left: 15px;
  line-height: 1.5;
}

.link-btn:hover {
  color: #fff;
  background-color: #324158;
}

.link-btn-icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding: 10px 0;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  font-family: serif;
  letter-spacing: 2px;
}
.link-btn-icon .arrow {
  margin-top: -20px;
  transition: transform 0.8s ease;
  height: 15px;
}
.link-btn-icon .arrow img {
  width: 90px;
  height: auto;
}

.link-btn-icon:hover {
  color: #fff;
}

.link-btn-icon:hover .arrow {
  transform: translateX(15px); /* 向右移動 10px */
}

.link-btn-left {
  text-align: left;
  justify-content: start;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  margin: 30px auto;
  text-align: center;
  padding: 20px 0;
}
.pagination ul {
  display: inline-block;
  padding: 0;
  margin: 0;
}
.pagination ul li {
  display: inline;
}
.pagination ul a {
  margin: 0 5px;
  width: 40px;
  height: 40px;
  color: #303030;
  float: left;
  padding: 8px 10px;
  text-decoration: none;
  line-height: 1.5;
}
.pagination ul a.active {
  background-color: #3c507e;
  color: #fff;
  font-weight: 700;
}
.pagination ul li:hover a {
  background-color: #3c507e;
  color: #fff;
  font-weight: 700;
}

.topBox {
  background-image: url(../images/top-pic.jpg);
  background-size: cover;
  background-position: left center;
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: left;
  padding: 50px 15px 20px;
  row-gap: 20px;
  background-size: cover;
  background-repeat: no-repeat;
}
.topBox .textBox {
  padding: 20px 15px 10px;
  position: relative;
  z-index: 1;
  border-radius: 10px;
}
.topBox h3 {
  color: #112251;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}
.topBox section {
  flex: none;
}

.container {
  padding: 0;
  margin: 0;
}
.container nav .breadcrumb {
  justify-content: start;
  margin: 0;
  color: #555555;
}
.container nav .breadcrumb .breadcrumb-item a {
  display: inline-block;
  font-size: 14px;
}
.container nav .breadcrumb .breadcrumb-item.active a {
  color: #555555;
}

.breadcrumbRight {
  padding: 0 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-end;
  border-bottom: 1px solid #00a3ad;
}
.breadcrumbRight .breadcrumb {
  margin: 0;
  text-align: end;
}

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

.articlecontent {
  margin: 0 auto;
  padding: 10px 20px 35px;
  max-width: 900px;
}
.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: 360px) {
  body {
    padding-top: 45px;
  }
}
@media only screen and (min-width: 361px) {
  body {
    padding-top: 58px;
  }
}
@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%;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
  p {
    font-size: 16px;
  }
  li {
    font-size: 16px;
  }
  .title img {
    width: 70%;
    max-width: 420px;
    margin-bottom: 15px;
  }
  .title-center img {
    max-height: 31px;
  }
  .link-btn-left {
    font-size: 16px;
  }
  .breadcrumbRight {
    justify-content: space-around;
  }
  .topBox {
    background-position: center left;
  }
  .topBox .textBox {
    padding-left: 15%;
  }
  body {
    padding-top: 64px;
  }
}
@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%;
  }
  .breadcrumbRight {
    margin-left: 0;
  }
  .breadcrumbRight .breadcrumb {
    padding-left: 0;
  }
  .link-btn {
    font-size: 18px;
  }
  .topBox {
    height: 220px;
    padding-bottom: 30px;
  }
  .topBox h3 {
    font-size: 26px;
  }
  body {
    padding-top: 74px;
  }
  .title-center h3 {
    font-size: 45px;
  }
  .title-center h6 {
    font-size: 18px;
  }
  .title-center h4 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .title h6 {
    font-size: 18px;
  }
  .title h4 {
    font-size: 24px;
  }
}
@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%;
  }
  .breadcrumbRight {
    margin-left: 0;
  }
  body {
    padding-top: 74px;
  }
  .topBox .textBox {
    padding-left: 20%;
  }
}
@media only screen and (min-width: 1700px) {
  body {
    padding-top: 85px;
  }
  .topBox .textBox {
    padding-left: 25%;
  }
}
@media only screen and (min-width: 1900px) {
  .grid-xxl-1 {
    width: 8.3333333333%;
  }
  .grid-xxl-2 {
    width: 16.6666666667%;
  }
  .grid-xxl-3 {
    width: 25%;
  }
  .grid-xxl-4 {
    width: 33.3333333333%;
  }
  .grid-xxl-5 {
    width: 41.6666666667%;
  }
  .grid-xxl-6 {
    width: 50%;
  }
  .grid-xxl-7 {
    width: 58.3333333333%;
  }
  .grid-xxl-8 {
    width: 66.6666666667%;
  }
  .grid-xxl-9 {
    width: 75%;
  }
  .grid-xxl-10 {
    width: 83.3333333333%;
  }
  .grid-xxl-11 {
    width: 91.6666666667%;
  }
  .grid-xxl-12 {
    width: 100%;
  }
}
div.carouselSlide .carousel-indicators {
  margin-bottom: 0;
}
div.carouselSlide .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
div.carouselSlide .carousel-item {
  position: relative;
}
div.carouselSlide .carousel-item .carousel-text {
  position: absolute;
  bottom: 10%;
  /* 讓文字區塊位於圖片的下方 */
  left: 50%;
  transform: translateX(-50%);
  /* 水平置中 */
  text-align: center;
  color: #fff;
  width: 83%;
  /* 調整寬度 */
  border: 2px solid white;
  padding: 10px 5px;
  background-color: rgba(247, 247, 247, 0.2392156863);
  animation: zoomIn 2s ease-out;
}
div.carouselSlide .carousel-item .carousel-text .main-text {
  font-size: 19px;
  /* 大字 */
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #000;
}
div.carouselSlide .carousel-item .carousel-text .sub-text {
  font-size: 14px;
  /* 小字 */
  margin: 5px 0;
  text-shadow: 0 0 5px #000;
}
div.carouselSlide .carousel-item .carousel-text .carousel-text p {
  margin: 0;
  /* 去除段落的間距 */
}
@keyframes zoomIn {
  0% {
    transform: translateX(-50%) scale(0);
    /* 開始時縮小 */
    opacity: 0;
    /* 開始時透明 */
  }
  50% {
    transform: translateX(-50%) scale(1.2);
    /* 放大至最大 */
    opacity: 0.7;
    /* 半透明 */
  }
  100% {
    transform: translateX(-50%) scale(1);
    /* 恢復正常大小 */
    opacity: 1;
    /* 完全顯示 */
  }
}
div.carouselSlide .carousel-control-prev-icon,
div.carouselSlide .carousel-control-next-icon {
  background-color: #fff;
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-size: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  border: 1px solid #000;
  transition: color 0.3s ease, background-color 0.3s ease;
}
div.carouselSlide .carousel-control-prev-icon:hover,
div.carouselSlide .carousel-control-next-icon:hover {
  background-color: #000;
  color: #fff;
}

main .promiseSec {
  background-image: url(../images/promise-bg-mb.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 70%;
  padding: 50px 0 80px;
}
main .promiseSec .contentBox {
  margin: 0 auto 20px;
  max-width: 350px;
}
main .promiseSec .contentBox p.text {
  padding-bottom: 5px;
  line-height: 1.5;
  color: #fff;
}
main .promiseSec .contentBox ul {
  margin: 10px 0;
}
main .promiseSec .contentBox ul li {
  position: relative;
  color: #fff;
  margin-bottom: 5px;
}
main .promiseSec .contentBox ul li i {
  margin-right: 5px;
  color: #1b2a5f;
  font-size: 18px;
}
main .promiseSec .contentBox ul li::before {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  left: 0;
  top: 5px;
  z-index: -1;
}
main .promiseSec .contentBox img {
  width: 95%;
  max-width: 350px;
  padding: 30px 0;
}
main .serviceSec {
  padding: 50px 0 30px;
  background-image: url(../images/service-bg.jpg);
  background-size: cover;
  background-position: 60% center;
}
main .serviceSec .contentBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
main .serviceSec .contentBox .title-center h4 {
  margin-bottom: 10px;
}
main .serviceSec .contentBox .rowBox {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  padding: 30px 0;
}
main .serviceSec .contentBox .rowBox .iconBox {
  flex: 0 0 calc(50% - 6px);
  text-align: center;
  padding: 0 5px;
  position: relative;
  margin: 0 3px;
}
main .serviceSec .contentBox .rowBox .iconBox .picBox {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
main .serviceSec .contentBox .rowBox .iconBox .picBox img {
  width: auto;
  height: 100%;
  max-width: 90px;
  max-height: 83px;
  transition: all 0.5s ease;
}
main .serviceSec .contentBox .rowBox .iconBox h6 {
  margin-bottom: 10px;
  font-weight: normal;
  color: #e1c58e;
}
main .serviceSec .contentBox .rowBox .iconBox:hover .picBox img {
  transform: scale(1.1);
}
main .service2Sec {
  background-image: url(../images/service2-bg-mb.jpg);
}
main .service2Sec .contentBox ul li {
  color: #112251;
}
main .service2Sec .contentBox ul li i {
  color: #e9bd8e;
}
main .service2Sec .contentBox ul li::before {
  background-color: #112251;
}
main .caseSec {
  width: 100%;
  padding: 30px 0;
  margin-bottom: 50px;
}
main .caseSec .title-center h4 {
  color: #1b2a5f;
}
main .caseSec .caseOwl {
  padding: 10px 30px 20px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  max-width: 400px;
  /* hover / focus 狀態顯示效果（鍵盤或手機點擊一樣會觸發 focus-within） */
  /* 圖片可加一點亮度變化（不動 transform 就不會壓過你的置中） */
}
main .caseSec .caseOwl .picBox {
  width: 100%;
  margin: 0 auto;
  /* 黑色透明遮罩 */
  /* 右上角「+」 */
}
main .caseSec .caseOwl .picBox .boximg4x5 img {
  transition: transform 1s ease;
  /* 變慢：1秒 */
}
main .caseSec .caseOwl .picBox h6 {
  margin: 20px 0 10px;
  color: #3c507e;
  font-weight: normal;
}
main .caseSec .caseOwl .picBox p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}
main .caseSec .caseOwl .picBox:hover .boximg4x5::after,
main .caseSec .caseOwl .picBox:focus-within .boximg4x5::after {
  opacity: 1;
}
main .caseSec .caseOwl .picBox:hover .boximg4x5::before,
main .caseSec .caseOwl .picBox:focus-within .boximg4x5::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  /* 保持 translate */
}
main .caseSec .caseOwl .picBox:hover .boximg4x5 img,
main .caseSec .caseOwl .picBox:focus-within .boximg4x5 img {
  filter: brightness(0.85);
}
main .caseSec .caseOwl .picBox:hover .boximg4x5 img,
main .caseSec .caseOwl .picBox:focus-within .boximg4x5 img {
  transform: translate(-50%, -50%) scale(1.2);
  /* 注意：合併在一起 */
}
main .caseSec .caseOwl a:hover {
  color: #000;
}
main .caseSec .caseOwl .owl-carousel {
  position: relative;
  overflow: visible;
}
main .caseSec .caseOwl .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
}
main .caseSec .caseOwl .owl-nav .owl-prev,
main .caseSec .caseOwl .owl-nav .owl-next {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #e9bd8e;
  color: #112251;
  font-size: 18px;
  border-radius: 8px;
}
main .caseSec .caseOwl .owl-nav .owl-next {
  right: 0;
}
main .caseSec .caseOwl .owl-nav .owl-prev:hover,
main .caseSec .caseOwl .owl-nav .owl-next:hover {
  color: #fff;
  background-color: #3c507e;
}
main .caseSec .caseOwl .owl-carousel .owl-item {
  max-width: 400px;
}
main .caseSec .caseOwl .owl-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  flex-direction: row !important;
  position: relative;
}
main .caseSec .caseOwl .owl-dots .owl-dot {
  display: inline-block;
}
main .caseSec .caseOwl .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #999;
  display: block;
  border-radius: 50%;
}
main .caseSec .caseOwl .owl-dots .owl-dot.active span {
  background: #333;
}
main .faqSec {
  padding: 30px 0;
  background: #425270;
  background: linear-gradient(180deg, rgb(66, 82, 112) 0%, rgb(4, 13, 31) 100%);
}
main .faqSec .title-center {
  margin-bottom: 50px;
}
main .faqSec .row1Box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
}
main .faqSec .row1Box .picBox {
  background-color: #fff;
  padding: 4px;
  border-radius: 10px;
  max-width: 350px;
  box-shadow: 5px 5px 10px #000;
  transition: transform 0.3s ease-in;
}
main .faqSec .row1Box .picBox .textBox {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  border-radius: 10px;
  gap: 20px;
  padding: 10px 0;
  height: 100%;
}
main .faqSec .row1Box .picBox .textBox .imgBox {
  flex: 2;
}
main .faqSec .row1Box .picBox .textBox h6 {
  flex: 3;
  color: #112251;
  line-height: 1.5;
}
main .faqSec .row1Box .picBox:hover {
  transform: translateY(-15px);
}
main .faqSec .title-center2 {
  margin: 50px auto;
}
main .faqSec .title-center2 p {
  margin-bottom: 5px;
}
main .faqSec .title-center2 p span {
  color: #e9bd8e;
  font-size: 16px;
}
main .faqSec .row2Box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: start;
  row-gap: 10px;
  margin: 10px auto;
}
main .faqSec .row2Box .picBox {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px;
  flex: 0 0 calc(50% - 20px);
}
main .faqSec .row2Box .picBox .iconBox {
  margin-bottom: 10px;
}
main .faqSec .row2Box .picBox .iconBox .imgBox {
  width: 70%;
  border: 5px solid #e9bd8e;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}
main .faqSec .row2Box .picBox .iconBox .imgBox img {
  position: absolute;
  inset: 15%;
  width: auto;
  height: auto;
  margin: auto;
  max-width: 60%;
  max-height: 60%;
  -o-object-fit: contain;
     object-fit: contain;
}
main .faqSec .row2Box .picBox .iconBox .imgBox::after {
  content: "";
  display: block;
  padding-top: 100%;
}
main .faqSec .row2Box .picBox .iconBox .imgBox::before {
  content: "01";
  color: #112251;
  background-color: #e9bd8e;
  border-radius: 50%;
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 35px;
  height: 35px;
  line-height: 2;
  font-weight: 800;
  font-size: 16px;
  z-index: 2;
}
main .faqSec .row2Box .picBox h5 {
  color: #e9bd8e;
  margin: 10px 0;
}
main .faqSec .row2Box .picBox p {
  color: #fff;
}
main .faqSec .row2Box .picBox:nth-of-type(2) .iconBox .imgBox::before {
  content: "02";
}
main .faqSec .row2Box .picBox:nth-of-type(3) .iconBox .imgBox::before {
  content: "03";
}
main .faqSec .row2Box .picBox:nth-of-type(4) .iconBox .imgBox::before {
  content: "04";
}
main .newSec {
  padding: 30px 0;
}
main .newSec .title-center h4 {
  color: #1b2a5f;
}
main .newSec .rowBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  margin: 10px auto;
  row-gap: 20px;
  /* hover / focus 狀態顯示效果（鍵盤或手機點擊一樣會觸發 focus-within） */
  /* 圖片可加一點亮度變化（不動 transform 就不會壓過你的置中） */
}
main .newSec .rowBox .contentBox {
  padding: 0 10px 30px;
  max-width: 450px;
}
main .newSec .rowBox .contentBox .boximg5x4 {
  position: relative;
  overflow: hidden;
}
main .newSec .rowBox .contentBox .boximg5x4 img {
  transition: transform 1s ease;
  /* 變慢：1秒 */
  -o-object-fit: cover;
     object-fit: cover;
}
main .newSec .rowBox .contentBox .textBox {
  max-height: 200px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: #000;
}
main .newSec .rowBox .contentBox .textBox .timeP {
  margin-top: 6px;
}
main .newSec .rowBox .contentBox .textBox h6 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin: 8px 0;
  line-height: 1.5;
  color: #3c507e;
}
main .newSec .rowBox .contentBox .textBox .textcontent {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
main .newSec .rowBox .contentBox .link-btn-icon {
  font-family: "Noto Sans TC";
  font-size: 16px;
  padding-top: 0;
  color: #000;
  letter-spacing: 1px;
  font-size: 14px;
}
main .newSec .rowBox .contentBox:hover .boximg5x4::after,
main .newSec .rowBox .contentBox:focus-within .boximg5x4::after {
  opacity: 1;
}
main .newSec .rowBox .contentBox:hover .boximg5x4::before,
main .newSec .rowBox .contentBox:focus-within .boximg5x4::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  /* 保持 translate */
}
main .newSec .rowBox .contentBox:hover .boximg5x4 img,
main .newSec .rowBox .contentBox:focus-within .boximg5x4 img {
  filter: brightness(0.85);
}
main .newSec .rowBox .contentBox:hover .boximg5x4 img,
main .newSec .rowBox .contentBox:focus-within .boximg5x4 img {
  transform: translate(-50%, -50%) scale(1.2);
  /* 注意：合併在一起 */
}

.contactBottom {
  padding: 40px 0 0;
  background-color: #e9bd8e;
}
.contactBottom .contactBox {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
  padding: 20px 0 30px;
}
.contactBottom .contactBox .contLeft {
  max-width: 350px;
}
.contactBottom .contactBox .contLeft img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
}
.contactBottom .contactBox .contLeft p {
  color: #112251;
}
.contactBottom .contactBox .contLeft br ~ p {
  color: #000;
}
.contactBottom .contactBox .contCenter {
  max-width: 350px;
}
.contactBottom .contactBox .contCenter h4 {
  color: #112251;
  font-weight: 800;
  margin-bottom: 8px;
}
.contactBottom .contactBox .contCenter p {
  line-height: 1.8;
  letter-spacing: 1px;
  font-family: "Noto Sans TC", sans-serif;
}
.contactBottom .contactBox .contCenter p a {
  font-family: "Noto Sans TC", sans-serif;
}
.contactBottom .contactBox .contRight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contactBottom .contactBox .contRight img {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}
.contactBottom .contactBox .contRight p {
  text-align: center;
}

footer {
  line-height: 2;
  padding: 10px 0;
  font-size: 14px;
  max-width: 1070px;
  text-align: center;
  color: #000;
}

aside {
  display: flex;
  position: fixed;
  flex-direction: column;
  right: 0;
  bottom: 15px;
  text-align: center;
  align-items: center;
  overflow: hidden;
  padding: 0.5em 0;
  width: 50px;
  border-radius: 10px;
  transform: scale(0.8);
  z-index: 999;
}
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;
}

main .aboutPage .parallax {
  margin: 0;
}
main .aboutPage .parallax .background-fixed-q__background {
  background-image: url(../images/parallax-pic.jpg);
  background-position: 45% center;
  background-color: #f8f8f8;
}
main .aboutPage .parallax .background-fixed-q__content {
  padding: 7em 3em;
}
main .aboutPage .parallax .background-fixed-q__content div h3 {
  margin-bottom: 15px;
  color: #e9bd8e;
  font-weight: 900;
}
main .aboutPage .parallax .background-fixed-q__content div h6 {
  color: #333;
  font-weight: normal;
  line-height: 1.5;
}
main .aboutPage .parallax .background-fixed-q__content div h6 span {
  color: #e9bd8e;
  font-size: 18px;
  font-weight: 600;
}
main .aboutPage .background-fixed-q--dark {
  text-shadow: none;
}
main .aboutPage .serviceSec .contentBox .rowBox {
  max-width: 400px;
}
main .aboutPage .serviceSec .contentBox .rowBox .iconBox h6 {
  line-height: 1.5;
}
main .aboutPage .equipment {
  padding: 30px 0;
}
main .aboutPage .equipment .title-center h4 {
  color: #112251;
}
main .aboutPage .equipment .title-center p {
  color: #000;
}
main .aboutPage .equipment .rowBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}
main .aboutPage .equipment .rowBox .textBox {
  position: relative;
  margin: 20px 0;
  padding: 28px 20px 20px;
  border-radius: 16px;
  border: 3px solid transparent;
}
main .aboutPage .equipment .rowBox .textBox h5 {
  position: absolute;
  top: -28px;
  left: 10px;
  background-color: #fff;
  padding: 5px 10px;
  margin: 10px 5px;
  color: #112251;
}
main .aboutPage .equipment .rowBox .textBox::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 4px;
  border-radius: inherit;
  background: linear-gradient(100deg, #ffdea4 2%, #b8905e 15%, #ffdea4 35%, #edca92 40%, #b28958 82%, #ffdea4 97%);
  /* 關鍵：把中間挖空 */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  /* 標準屬性（Firefox 等） */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}
main .aboutPage .service2Sec {
  padding: 40px 0 200px;
}
main .aboutPage .service2Sec .contentBox p {
  color: #112251;
  padding-bottom: 0;
}
main .aboutPage .service2Sec .contentBox h5 {
  padding-top: 15px;
  font-style: italic;
  font-weight: normal;
  color: #3c507e;
}
main .aboutPage .contact {
  padding: 50px 0;
}
main .aboutPage .contact .title-center h4 {
  color: #112251;
}
main .aboutPage .contact .title-center p {
  color: #000;
}
main .aboutPage .contact .title-center h6 {
  color: #3c507e;
  font-style: italic;
  line-height: 2;
}
main .aboutPage .contact .rowBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
}
main .aboutPage .contact .rowBox .textBox {
  border-radius: 20px;
  padding: 10px;
  position: relative;
  max-width: 320px;
}
main .aboutPage .contact .rowBox .textBox a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
main .aboutPage .contact .rowBox .textBox a .iconBox {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
main .aboutPage .contact .rowBox .textBox a .iconBox i {
  font-size: 26px;
  background: linear-gradient(114deg, #425270 0%, #040d1f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 1px 1px 2px rgba(66, 82, 112, 0.3490196078), -1px -1px 2px rgba(0, 0, 0, 0.3490196078);
}
main .aboutPage .contact .rowBox .textBox .iconBox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #ffdea4 2%, #b8905e 15%, #ffdea4 35%, #edca92 40%, #b28958 82%, #ffdea4 97%);
  border-radius: 10px;
  transform: skew(-8deg);
  z-index: -1;
  box-shadow: 3px 3px 8px #000;
}
main .aboutPage .contact .rowBox .textBox .text {
  color: #dde5f0;
}
main .aboutPage .contact .rowBox .textBox .text h6 {
  padding-top: 10px;
}
main .aboutPage .contact .rowBox .textBox .text h3 {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  line-height: 2;
  transition: all 0.8s ease;
}
main .aboutPage .contact .rowBox .textBox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(114deg, #425270 0%, #040d1f 100%);
  border-radius: 10px;
  transform: skew(-8deg);
  z-index: -1;
  transition: all 0.8s ease;
}
main .aboutPage .contact .rowBox .textBox:hover::before {
  box-shadow: 5px 5px 8px #3c507e;
}
main .aboutPage .contact .rowBox .textBox:hover .text h3 {
  color: #e9bd8e;
}

main .casePage .contentBox {
  padding: 20px 0;
}
main .casePage .contentBox .rowBox {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  row-gap: 20px;
  /* 圖片可加一點亮度變化（不動 transform 就不會壓過你的置中） */
}
main .casePage .contentBox .rowBox .content {
  background-color: #fff;
  padding: 12px 12px 0;
  border-radius: 5px;
  transition: box-shadow 0.35s ease;
}
main .casePage .contentBox .rowBox .content .boximg4x5 img {
  transition: transform 1s ease;
  /* 變慢：1秒 */
}
main .casePage .contentBox .rowBox .content .textBox {
  padding: 10px 0 15px;
}
main .casePage .contentBox .rowBox .content .textBox h6 {
  color: #3c507e;
  font-weight: 400;
  margin: 10px 0 10px;
}
main .casePage .contentBox .rowBox .content:hover {
  box-shadow: 0 0 15px #cacaca;
}
main .casePage .contentBox .rowBox .content:hover .boximg4x5::after,
main .casePage .contentBox .rowBox .content:focus-within .boximg4x5::after {
  opacity: 1;
}
main .casePage .contentBox .rowBox .content:hover .boximg4x5::before,
main .casePage .contentBox .rowBox .content:focus-within .boximg4x5::before {
  opacity: 1;
  transform: none;
}
main .casePage .contentBox .rowBox .content:hover .boximg4x5 img,
main .casePage .contentBox .rowBox .content:focus-within .boximg4x5 img {
  filter: brightness(0.85);
}
main .casePage .contentBox .rowBox .content:hover .boximg4x5 img,
main .casePage .contentBox .rowBox .content:focus-within .boximg4x5 img {
  transform: translate(-50%, -50%) scale(1.2);
  /* 注意：合併在一起 */
}

main .photoPage .contentBox {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
main .photoPage .contentBox .title-content {
  margin: 0 auto 20px;
  padding-bottom: 30px;
  max-width: 1000px;
  padding: 10px;
}
main .photoPage .contentBox .title-content h3 {
  margin: 15px 0;
}
main .photoPage .contentBox .content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: start;
  max-width: 1000px;
  margin: 10px auto 30px;
  /* hover / focus 狀態顯示效果（鍵盤或手機點擊一樣會觸發 focus-within） */
  /* 圖片可加一點亮度變化（不動 transform 就不會壓過你的置中） */
  /* 圖片可加一點亮度變化（不動 transform 就不會壓過你的置中） */
}
main .photoPage .contentBox .content .picBox {
  padding: 10px;
  position: relative;
  /* 讓遮罩能定位 */
  overflow: hidden;
  /* 黑色透明遮罩 */
  /* 右上角「+」 */
}
main .photoPage .contentBox .content .picBox h6 {
  padding: 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  margin: 10px 0;
}
main .photoPage .contentBox .content .picBox p {
  color: #4d4d4d;
  padding: 0px 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.5em;
}
main .photoPage .contentBox .content .picBox .boximg1x1 img,
main .photoPage .contentBox .content .picBox .boximg4x5 img {
  transition: transform 1s ease;
  /* 變慢：1秒 */
}
main .photoPage .contentBox .content .picBox .boximg1x1::before,
main .photoPage .contentBox .content .picBox .boximg4x5::before {
  content: "+";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #112251;
  background-color: #fff;
  font-weight: 700;
  font-size: 30px;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.5s ease;
  pointer-events: none;
  /* 點 + 一樣會觸發 a（fancybox） */
  z-index: 2;
}
main .photoPage .contentBox .content .picBox:hover .boximg1x1::after,
main .photoPage .contentBox .content .picBox:focus-within .boximg1x1::after {
  opacity: 1;
}
main .photoPage .contentBox .content .picBox:hover .boximg1x1::before,
main .photoPage .contentBox .content .picBox:focus-within .boximg1x1::before {
  opacity: 1;
  transform: none;
}
main .photoPage .contentBox .content .picBox:hover .boximg1x1 img,
main .photoPage .contentBox .content .picBox:focus-within .boximg1x1 img {
  filter: brightness(0.85);
}
main .photoPage .contentBox .content .picBox:hover .boximg1x1 img,
main .photoPage .contentBox .content .picBox:focus-within .boximg1x1 img {
  transform: translate(-50%, -50%) scale(1.2);
  /* 注意：合併在一起 */
}
main .photoPage .contentBox .content .picBox:hover .boximg4x5::after,
main .photoPage .contentBox .content .picBox:focus-within .boximg4x5::after {
  opacity: 1;
}
main .photoPage .contentBox .content .picBox:hover .boximg4x5::before,
main .photoPage .contentBox .content .picBox:focus-within .boximg4x5::before {
  opacity: 1;
  transform: none;
}
main .photoPage .contentBox .content .picBox:hover .boximg4x5 img,
main .photoPage .contentBox .content .picBox:focus-within .boximg4x5 img {
  filter: brightness(0.85);
}
main .photoPage .contentBox .content .picBox:hover .boximg4x5 img,
main .photoPage .contentBox .content .picBox:focus-within .boximg4x5 img {
  transform: translate(-50%, -50%) scale(1.2);
  /* 注意：合併在一起 */
}

main .newPage .contentBox {
  padding: 20px 0;
}
main .newPage .contentBox .rowBox {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: 2em auto;
  margin-bottom: 0;
  row-gap: 20px;
  /* hover / focus 狀態顯示效果（鍵盤或手機點擊一樣會觸發 focus-within） */
  /* 圖片可加一點亮度變化（不動 transform 就不會壓過你的置中） */
}
main .newPage .contentBox .rowBox .content {
  padding: 12px 12px 0;
  transition: box-shadow 0.35s ease;
}
main .newPage .contentBox .rowBox .content .boximg5x4 img {
  transition: transform 1s ease;
  /* 變慢：1秒 */
}
main .newPage .contentBox .rowBox .content .textBox {
  padding: 10px 0;
}
main .newPage .contentBox .rowBox .content .textBox .timeP {
  margin-top: 6px;
}
main .newPage .contentBox .rowBox .content .textBox h5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: #3c507e;
  margin: 8px 0;
}
main .newPage .contentBox .rowBox .content .textBox p.longtext {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: #333;
}
main .newPage .contentBox .rowBox .content .link-btn-icon {
  color: #454545;
  font-size: 16px;
  font-family: "Noto Sans TC";
  letter-spacing: 1px;
}
main .newPage .contentBox .rowBox .content:hover {
  box-shadow: 0 0 15px #cacaca;
}
main .newPage .contentBox .rowBox .content:hover .boximg5x4::after,
main .newPage .contentBox .rowBox .content:focus-within .boximg5x4::after {
  opacity: 1;
}
main .newPage .contentBox .rowBox .content:hover .boximg5x4::before,
main .newPage .contentBox .rowBox .content:focus-within .boximg5x4::before {
  opacity: 1;
  transform: none;
}
main .newPage .contentBox .rowBox .content:hover .boximg5x4 img,
main .newPage .contentBox .rowBox .content:focus-within .boximg5x4 img {
  filter: brightness(0.85);
}
main .newPage .contentBox .rowBox .content:hover .boximg5x4 img,
main .newPage .contentBox .rowBox .content:focus-within .boximg5x4 img {
  transform: translate(-50%, -50%) scale(1.2);
  /* 注意：合併在一起 */
}
main .newPage .contentBox .rowBox .content:hover .arrow {
  transform: translateX(15px); /* 向右移動 10px */
}
main .newPage .contentBox .rowBox a:hover {
  color: #000;
}

main .articlePage .articleBox {
  margin: 20px auto;
}
main .articlePage .articleBox .articlecontent {
  padding-top: 20px;
}

main .faqPage .qaAccordin {
  margin: 20px auto 40px;
  max-width: 900px;
  padding-bottom: 30px;
}
main .faqPage .qaAccordin .qa-item {
  border: 1px solid #e9bd8e;
  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: #b28958;
  background-color: #f7f5f5;
  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: #b28958;
  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:hover {
  color: #112251;
}
main .faqPage .qaAccordin .qa-item .question.active {
  background-color: #e9bd8e;
  color: #112251;
}
main .faqPage .qaAccordin .qa-item .question.active .icon {
  background-color: #fff;
  color: #e9bd8e;
}
main .faqPage .qaAccordin .qa-item .answer {
  display: none;
  padding: 16px;
  padding-top: 0;
  padding-left: 25px;
  background-color: #e9bd8e;
  color: #112251;
  transition: all 0.5s ease-in;
  font-size: 14px;
}
main .faqPage .qaAccordin .qa-item .answer.show {
  transition: all 0.5s ease-in;
  display: block;
}

main .contactPage .contactBox {
  line-height: 1.8;
}
main .contactPage .contactBox .textBox {
  margin: 0 auto;
  padding-bottom: 10px;
  text-align: center;
}
main .contactPage .contactBox .textBox h5 {
  margin: 20px 0;
  padding: 0 10px;
  font-weight: normal;
  line-height: 1.5;
  color: #112251;
}
main .contactPage .contactBox .textBox h5 i {
  margin-right: 10px;
}
main .contactPage .contactBox .textBox .iconBox {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
main .contactPage .contactBox .textBox .iconBox i {
  display: block;
  font-size: 14px;
  line-height: 40px;
  text-align: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #112251;
  background-color: #e9bd8e;
  transition: all 0.8s ease;
}
main .contactPage .contactBox .textBox .iconBox i:hover {
  transform: scale(1.1);
}
main .contactPage .contactBox .content {
  margin: 30px auto 0;
  padding: 20px 0 40px;
}
main .contactPage .contactBox .content .rowBox {
  margin: 10px auto;
}
main .contactPage .contactBox .content .rowBox .text {
  margin: 30px 0;
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  vertical-align: middle;
  justify-content: flex-start;
  text-align: start;
  border-radius: 16px;
  border: 3px solid transparent;
  background-color: #fff;
  position: relative;
}
main .contactPage .contactBox .content .rowBox .text .title-h5 {
  padding: 5px 10px;
  margin: 10px 5px;
  display: inline-flex;
  align-items: center;
  text-align: start;
  position: absolute;
  top: -28px;
  left: 10px;
  background-color: #fff;
  color: #112251;
}
main .contactPage .contactBox .content .rowBox .text .title-h5 i {
  margin-right: 5px;
}
main .contactPage .contactBox .content .rowBox .text p {
  margin-bottom: 5px;
}
main .contactPage .contactBox .content .rowBox .text::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 4px;
  border-radius: inherit;
  background: linear-gradient(100deg, #ffdea4 2%, #b8905e 15%, #ffdea4 35%, #edca92 40%, #b28958 82%, #ffdea4 97%);
  /* 關鍵：把中間挖空 */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  /* 標準屬性（Firefox 等） */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

@media only screen and (min-width: 768px) {
  div.carouselSlide .carousel-indicators {
    margin-bottom: 20px;
  }
  div.carouselSlide .carousel-indicators button {
    width: 10px;
    height: 10px;
  }
  div.carouselSlide .carousel-item .carousel-text {
    width: 50%;
    bottom: 15%;
  }
  div.carouselSlide .carousel-item .carousel-text .main-text {
    font-size: 24px;
  }
  div.carouselSlide .carousel-item .carousel-text .sub-text {
    font-size: 16px;
  }
  div.carouselSlide .carousel-control-prev-icon,
  div.carouselSlide .carousel-control-next-icon {
    width: 50px;
    height: 50px;
  }
  main .promiseSec {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    background-image: url(../images/promise-bg.jpg);
    background-position: 40% bottom;
    padding: 50px 0;
  }
  main .promiseSec .contentBox {
    margin: 0;
    max-width: 450px;
  }
  main .promiseSec .contentBox .title br {
    display: none;
  }
  main .promiseSec .contentBox p {
    padding-bottom: 8px;
  }
  main .promiseSec .contentBox img ~ p {
    padding-bottom: 0;
  }
  main .serviceSec .contentBox .rowBox {
    padding: 50px 0;
  }
  main .serviceSec .contentBox .rowBox .iconBox {
    padding: 0 15px;
    flex: 0 0 calc(33.3333% - 10px);
    margin: 0 5px;
  }
  main .service2Sec {
    background-image: url(../images/service2-bg.jpg);
  }
  main .service2Sec .contentBox {
    max-width: 500px;
  }
  main .service2Sec .contentBox .title br {
    display: block;
  }
  main .caseSec .caseOwl {
    padding: 20px 50px;
    max-width: 1000px;
  }
  main .caseSec .caseOwl .picBox {
    width: 90%;
  }
  main .faqSec .row1Box {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: start;
    margin: 0 auto;
    max-width: 800px;
  }
  main .faqSec .row1Box .picBox {
    margin: 10px;
    flex: 0 0 calc(50% - 20px);
    max-width: 400px;
  }
  main .faqSec .row1Box .picBox .textBox .imgBox {
    margin-top: -10px;
  }
  main .faqSec .title-center2 p span {
    font-size: 19px;
  }
  main .faqSec .row2Box .picBox {
    flex: 0 0 calc(25% - 20px);
  }
  main .newSec .rowBox {
    justify-content: space-between;
  }
  main .newSec .rowBox .contentBox {
    padding: 0 10px;
  }
  main .newSec .rowBox .contentBox .textBox {
    padding: 0 5px;
  }
  main .newSec .rowBox .contentBox .link-btn-icon {
    font-size: 16px;
    padding: 0 5px;
  }
  footer {
    font-size: 16px;
    width: 100%;
  }
  aside {
    right: 10px;
    transform: scale(1);
  }
  main .aboutPage .serviceSec .contentBox .rowBox {
    max-width: 900px;
    padding: 30px 0;
  }
  main .aboutPage .equipment {
    padding: 60px 0;
  }
  main .aboutPage .equipment .rowBox {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 900px;
    margin: 50px auto;
  }
  main .aboutPage .equipment .rowBox .textBox {
    margin: 20px 10px;
    flex: 0 0 calc(50% - 20px);
    padding: 30px 25px 25px;
  }
  main .aboutPage .service2Sec {
    padding: 70px 0;
  }
  main .aboutPage .contact .rowBox .textBox {
    min-width: 300px;
  }
  main .casePage .contentBox .rowBox {
    row-gap: 0;
    margin-top: 0;
    justify-content: flex-start;
  }
  main .casePage .contentBox .rowBox .content {
    padding: 12px 12px 0;
    flex: 0 0 calc(50% - 20px);
    margin: 10px;
  }
  main .casePage .contentBox .rowBox .content .textBox {
    padding: 10px;
  }
  main .casePage .contentBox .rowBox .content .textBox h5 {
    font-size: 18px;
  }
  main .newPage .contentBox .rowBox {
    row-gap: 0;
    margin-top: 0;
    justify-content: flex-start;
  }
  main .newPage .contentBox .rowBox .content {
    padding: 12px;
    flex: 0 0 calc(50% - 20px);
    margin: 10px;
  }
  main .newPage .contentBox .rowBox .content .textBox h5 {
    font-size: 18px;
  }
  main .newPage .contentBox .rowBox .content .link-btn-icon {
    padding: 0 5px;
  }
}
@media only screen and (min-width: 992px) {
  div.carouselSlide .carousel-item .carousel-text {
    background-color: rgba(247, 247, 247, 0.3843137255);
  }
  main .promiseSec .contentBox ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 25px;
  }
  main .promiseSec .contentBox ul li i {
    font-size: 20px;
  }
  main .promiseSec .contentBox ul li::before {
    width: 18px;
    height: 18px;
  }
  main .serviceSec {
    padding: 70px 0;
  }
  main .serviceSec .contentBox .title-center h4 {
    margin-bottom: 15px;
  }
  main .serviceSec .contentBox .rowBox {
    max-width: 1000px;
  }
  main .serviceSec .contentBox .rowBox .iconBox {
    flex: 0 0 calc(20% - 10px);
  }
  main .serviceSec .contentBox .rowBox .iconBox .picBox {
    margin-bottom: 20px;
  }
  main .serviceSec .contentBox .rowBox .iconBox .picBox img {
    max-width: 170px;
    max-height: 110px;
  }
  main .caseSec .caseOwl {
    width: 100%;
    max-width: 1400px;
  }
  main .faqSec {
    padding: 60px 0;
  }
  main .faqSec .row1Box {
    max-width: 1200px;
  }
  main .faqSec .row1Box .picBox {
    margin: 10px 12px;
    flex: 0 0 calc(20% - 24px);
  }
  main .faqSec .row1Box .picBox .textBox {
    flex-direction: column;
    gap: 10px;
  }
  main .faqSec .row1Box .picBox .textBox .imgBox {
    margin-top: -50px;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }
  main .faqSec .row2Box {
    max-width: 1200px;
  }
  main .faqSec .row2Box .picBox {
    margin: 15px;
    flex: 0 0 calc(25% - 30px);
  }
  main .faqSec .row2Box .picBox .iconBox .imgBox {
    border: 8px solid #e9bd8e;
  }
  main .faqSec .row2Box .picBox .iconBox .imgBox::before {
    left: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    line-height: 2.5;
    font-size: 19px;
  }
  main .faqSec .row2Box .picBox h5 {
    margin: 15px 0;
  }
  main .faqSec .row2Box .picBox p {
    padding: 0 15px;
  }
  main .newSec {
    padding: 50px 0;
  }
  main .newSec .rowBox {
    justify-content: flex-start;
    max-width: 1100px;
  }
  main .newSec .rowBox .contentBox {
    padding: 0 5px;
    margin: 10px;
    flex: 0 0 calc(25% - 20px);
  }
  .contactBottom {
    padding: 80px 0 0;
  }
  .contactBottom .contactBox {
    max-width: 1700px;
    margin: 0 auto;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    padding-bottom: 50px;
  }
  .contactBottom .contactBox .contLeft {
    max-width: 350px;
  }
  .contactBottom .contactBox .contLeft img {
    max-width: 250px;
  }
  .contactBottom .contactBox .contCenter {
    max-width: 420px;
  }
  .contactBottom .contactBox .contCenter h4 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .contactBottom .contactBox .contRight {
    max-width: 280px;
  }
  footer {
    text-align: left;
    margin: 0 auto;
    padding-left: 5%;
  }
  main .aboutPage .parallax .background-fixed-q__content {
    padding: 12em 5em;
  }
  main .aboutPage .parallax .background-fixed-q__content div h6 span {
    font-size: 20px;
  }
  main .aboutPage .serviceSec .contentBox .rowBox .iconBox {
    flex: 0 0 calc(33.3333% - 10px);
  }
  main .aboutPage .service2Sec {
    background-position: center top;
    padding: 90px 0;
  }
  main .aboutPage .service2Sec .contentBox h5 {
    font-size: 22px;
  }
  main .aboutPage .contact .rowBox {
    flex-direction: row;
    justify-content: center;
    padding: 20px 10px;
    margin: 20px auto;
  }
  main .aboutPage .contact .rowBox .textBox {
    margin: 20px;
    flex: 0 0 calc(33.3333% - 40px);
  }
  main .casePage .contentBox .rowBox {
    max-width: 1100px;
    margin: 10px auto;
  }
  main .casePage .contentBox .rowBox .content {
    flex: 0 0 calc(33.3333% - 20px);
    margin: 10px;
  }
  main .contactPage .contactBox .content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  main .contactPage .contactBox .content .textBox {
    max-width: 400px;
  }
  main .contactPage .contactBox .content .rowBox {
    margin: 10px 0;
    max-width: 620px;
  }
  main .contactPage .contactBox .content .rowBox .text {
    padding: 30px 30px 25px;
    margin: 50px 15px;
  }
  main .contactPage .contactBox .content .rowBox .text h5.title-h5, main .contactPage .contactBox .content .rowBox .text p {
    letter-spacing: 1px;
  }
}
@media only screen and (min-width: 1400px) {
  div.carouselSlide .carousel-item .carousel-text {
    width: 40%;
    bottom: 15%;
  }
  div.carouselSlide .carousel-item .carousel-text .main-text {
    font-size: 26px;
  }
  div.carouselSlide .carousel-item .carousel-text .sub-text {
    font-size: 18px;
  }
  main .promiseSec {
    padding: 80px 0;
  }
  main .newSec .rowBox {
    max-width: 1400px;
  }
  main .newSec .rowBox .contentBox {
    flex: 0 0 calc(25% - 20px);
  }
  .contactBottom .contactBox {
    gap: 10px;
  }
  .contactBottom .contactBox .contCenter p {
    letter-spacing: 2px;
  }
  footer {
    padding-left: 0;
  }
  main .aboutPage .serviceSec .contentBox .rowBox {
    max-width: 1400px;
  }
  main .aboutPage .serviceSec .contentBox .rowBox .iconBox {
    flex: 0 0 calc(16.6666% - 10px);
  }
  main .aboutPage .equipment .rowBox {
    max-width: 1500px;
  }
  main .aboutPage .equipment .rowBox .textBox {
    margin: 20px 10px;
    flex: 0 0 calc(25% - 20px);
    padding: 30px 25px 25px;
  }
  main .aboutPage .contact .rowBox .textBox {
    max-width: 350px;
  }
  main .aboutPage .contact .rowBox .textBox .text a {
    font-size: 24px;
  }
  main .newPage .contentBox .rowBox {
    max-width: 1200px;
  }
  main .newPage .contentBox .rowBox .content {
    flex: 0 0 calc(33.3333% - 10px);
    margin: 10px 5px;
  }
  main .contactPage .contactBox .content .rowBox {
    display: flex;
    max-width: 1300px;
  }
  main .contactPage .contactBox .content .rowBox .text {
    flex: 0 0 calc(33.3333% - 30px);
  }
}