@charset "UTF-8";
/* CSS Document */
@import url("reset.css");
html {
  font-size: 16px;
}

html * {
  font-size: 1rem;
  font-weight: 400;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "Noto Sans TC", serif, Arial, "Arial Black", "微軟正黑體", "新細明體", "細明體";
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  letter-spacing: 2px;
  box-sizing: border-box;
  background: #fadcdc;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

div, span {
  display: block;
  width: 100%;
}

button {
  display: none;
}

*:focus {
  outline: none;
} /*解決滾動到區塊時出現框線問題*/
p {
  font-size: 1.15vw;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
}
@media (max-width: 992px) {
  p {
    font-size: 1.75vw;
  }
}
@media (max-width: 768px) {
  p {
    font-size: 3.6vw;
  }
}

.ls-5 {
  letter-spacing: 2px;
}

.ml-7 {
  margin-left: 7%;
}

.mtb-2 {
  margin-top: 2%;
  margin-bottom: 2%;
}

.mtb-5 {
  margin-top: 5%;
  margin-bottom: 5%;
}

.ptb-1 {
  padding-top: 1%;
  padding-bottom: 1%;
}

.plr-2 {
  padding-left: 2%;
  padding-right: 2%;
}

.bt-1 {
  border-bottom: 1px solid #fff;
}

.pc {
  display: block;
}
@media (max-width: 768px) {
  .pc {
    display: none;
  }
}

.mob {
  display: none;
}
@media (max-width: 768px) {
  .mob {
    display: block;
  }
}

.pad-pc {
  display: block;
}
@media (min-width: 992px) {
  .pad-pc {
    display: none;
  }
}

.pad-h {
  display: none;
}
@media (max-width: 992px) {
  .pad-h {
    display: block;
  }
}

.btn_style {
  transform-origin: center;
  transform: scale(1);
  transition: all 0.15s ease-in-out;
}
.btn_style:hover {
  cursor: pointer;
  transform: scale(0.9);
}

.ajax_loading {
  background: #000 url("../images/loader.gif") center center no-repeat;
}

/*---kv---*/
header {
  width: calc(100% - 3vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: 0%;
  left: 0%;
  z-index: 9;
  background: rgba(255, 255, 255, 0.5);
  padding: 0 1.5vw;
}
header .logo_box {
  width: 5.9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  header .logo_box {
    width: 16.8%;
  }
}
header nav {
  position: relative;
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
}
header nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}
header nav ul li {
  display: inline-block;
  width: auto;
  padding: 0 1vw;
  border-left: 2px solid #003d87;
  line-height: 1;
}
header nav ul li:last-child {
  border-right: 2px solid #003d87;
}
header nav ul li a {
  text-decoration: none;
}
header nav ul li a div {
  font-family: "Noto Sans TC";
  font-size: 1.15vw;
  font-weight: 600;
  line-height: 1;
  color: #003d87;
  letter-spacing: 2px;
  transition: all 0.25s ease-in-out;
}
@media (max-width: 992px) {
  header nav ul li a div {
    font-size: 1.5vw;
  }
}
header nav ul li a div:hover {
  color: #d85ba3;
}

/*---main---*/
.prd_body {
  background: #fffdf4;
}

main {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

section {
  display: block;
  width: 100%;
  position: relative;
  padding: 2% 0;
  box-sizing: border-box;
}

.prd_list_w {
  position: relative;
}
.prd_list_w .topbanner {
  position: relative;
}
.prd_list_w .prd_nav_w {
  position: relative;
  margin: 2% auto 5%;
}
.prd_list_w .prd_nav_w ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.prd_list_w .prd_nav_w ul li {
  width: 21.3%;
  margin: 0 1.5%;
}
@media (max-width: 768px) {
  .prd_list_w .prd_nav_w ul li {
    width: 31.3%;
  }
}

.prd_list_g {
  position: relative;
}
.prd_list_g h2 {
  position: relative;
  background: url(../images/prd/title_line.png) repeat-x center center;
  background-size: 2.7%;
}
@media (max-width: 768px) {
  .prd_list_g h2 {
    background-size: 5.7%;
  }
}
.prd_list_g h2 span {
  width: 22.2%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .prd_list_g h2 span {
    width: 42.2%;
  }
}

ul.prd_all {
  list-style-type: none;
  width: 86.1%;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  margin: 5% auto;
}
@media (max-width: 768px) {
  ul.prd_all {
    width: 80%;
  }
}
ul.prd_all li {
  width: 31.4%;
  margin: 1.5% 0 1.5% 1.5%;
}
@media (max-width: 768px) {
  ul.prd_all li {
    width: 100%;
  }
}
ul.prd_all li:nth-child(2n+1) {
  margin-right: 0;
}

/*-------------------------------------------------------------*/
.overlay {
  width: 100%;
  background: rgba(245, 170, 165, 0.95);
  background-size: 100%;
}

.overlay nav {
  top: 0vh;
  height: 100vh;
}
.overlay nav ul {
  display: block;
  width: 30%;
  height: 80%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  padding: 5% 10%;
}
@media (max-width: 992px) {
  .overlay nav ul {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .overlay nav ul {
    width: 80%;
  }
}
.overlay nav ul a li {
  width: 100%;
  display: flex;
}
.overlay nav ul a li div {
  width: 100%;
  font-family: "Noto Serif TC";
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 2;
  color: #4980a5;
  background: #f5f5f5;
  text-align: center;
  position: relative;
  transition: all 0.25s ease-in-out;
}
.overlay nav ul a:hover li div {
  color: #fff;
  background: #4980a5;
}

.overlay .overlay-close {
  top: 0;
}

.overlay .overlay-close {
  max-width: 58px;
  max-height: 58px;
}

button.menu_m {
  display: none;
  position: relative;
  top: 0%;
  right: 0%;
  width: 3.1%;
  border: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 0;
  background-color: transparent;
  text-indent: -9999px;
  cursor: pointer;
  z-index: 990;
  outline: 0;
  order: 3;
}
@media (max-width: 992px) {
  button.menu_m {
    width: 5%;
  }
}
@media (max-width: 768px) {
  button.menu_m {
    display: block;
    width: 10vw;
  }
}

/*----------------------*/
/* 滾動觸發 */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* 2. 當 JS 加上 .is-show 時觸發動畫 */
.animate-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 如果瀏覽器不支援 JS，直接顯示內容 */
.no-js .animate-up {
  opacity: 1;
  transform: translateY(0);
}

/* 當 JS 沒跑時的修正 */
.no-js .swiper-wrapper {
  display: block; /* 取消 flex 排列 */
  height: auto !important;
}

.no-js .swiper-slide {
  margin-bottom: 30px; /* 讓卡片一張接一張垂直排好 */
  width: 100% !important; /* 確保寬度撐滿 */
  opacity: 1 !important; /* 確保內容可見 */
}

/* 或者你希望維持水平，但改用原生捲軸 */
.no-js .swiper-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}/*# sourceMappingURL=prd.css.map */