@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playball&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playball&display=swap");
body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, code,
form, fieldset, legend, input, button,
textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}

fieldset, img {
  border: 0;
}

:focus {
  outline: 0;
}

address, caption, cite, code, dfn,
em, th, var, optgroup {
  font-style: normal;
  font-weight: normal;
}

abbr, acronym {
  border: 0;
  font-variant: normal;
}

input, button, textarea,
select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

code, kbd, samp, tt {
  font-size: 100%;
}

input, button, textarea, select {
  *font-size: 100%;
}

body {
  line-height: 1.5;
}

sup, sub {
  font-size: 100%;
  vertical-align: baseline;
}

:link, :visited, ins {
  text-decoration: none;
}

blockquote, q {
  quotes: none;
}

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

.noto-sans-regular, .warn span, .footer .company-item, .tablinks {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
}

.noto-sans-medium, .banner .banner-content h3, .banner .page-title h3 {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

.noto-sans-bold {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
}

.noto-sans-black {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
}

.noto-serif-regular {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 300;
}

.noto-serif-medium {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 500;
}

.noto-serif-semibold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 600;
}

.noto-serif-bold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 700;
}

.playball {
  font-family: "Playball", cursive;
}

.crimson, .banner .banner-content h6, .banner .page-title h6 {
  font-family: "Crimson Text", serif;
}

.pt-serif {
  font-family: "PT Serif", serif;
}

.fade, .header .navbar_logo, .header .menu .menu-item, .nav-control, .nav-control .dropdown-content a {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

.fade:hover, .header .navbar_logo:hover, .header .menu .menu-item:hover, .nav-control:hover, .nav-control .dropdown-content a:hover {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

@-webkit-keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
}

@-webkit-keyframes fadeOutUp {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
}

.noto-sans-regular, .warn span, .footer .company-item, .tablinks {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
}

.noto-sans-medium, .banner .banner-content h3, .banner .page-title h3 {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

.noto-sans-bold {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
}

.noto-sans-black {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
}

.noto-serif-regular {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 300;
}

.noto-serif-medium {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 500;
}

.noto-serif-semibold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 600;
}

.noto-serif-bold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 700;
}

.playball {
  font-family: "Playball", cursive;
}

.crimson, .banner .banner-content h6, .banner .page-title h6 {
  font-family: "Crimson Text", serif;
}

.pt-serif {
  font-family: "PT Serif", serif;
}

.fade, .header .navbar_logo, .header .menu .menu-item, .nav-control, .nav-control .dropdown-content a {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

.fade:hover, .header .navbar_logo:hover, .header .menu .menu-item:hover, .nav-control:hover, .nav-control .dropdown-content a:hover {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
  }
}

:root {
  --nav-logo-top: 45vmin;
}

.header {
  position: fixed;
  top: 0;
  padding-top: calc((158px - 120px) / 2);
  width: 100%;
  background-color: #fff;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  z-index: 12;
}

.header .container {
  width: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header .navbar_logo {
  margin-left: 2vmin;
  display: inline-block;
  vertical-align: middle;
  height: 11.2vmin;
}

.header .navbar_logo img {
  height: 100%;
}

.header.scroll-to-fixed {
  padding-top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
}

.header.scroll-to-fixed .navbar_logo {
  margin: 5px 0;
  height: 80px;
}

.header .nav-wrap {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 9vw;
}

.header .menu .menu-item {
  margin-left: 6vw;
  color: #6c6c6a;
  text-align: center;
}

.header .menu .menu-item h4 {
  margin-bottom: 3px;
  letter-spacing: 2px;
  font-size: 20px;
}

.header .menu .menu-item span {
  display: block;
  letter-spacing: 1.5px;
  font-size: 15px;
  opacity: .5;
}

.header .menu .menu-item.active {
  color: #EA719D;
}

.header .menu-item-link {
  margin-left: 6vw;
}

/* nav */
.nav-control .dropdown {
  position: relative;
  display: inline-block;
}

.nav-control .dropdown-content {
  display: none;
  position: absolute;
  background-color: #edbe93;
  min-width: 55px;
  overflow: auto;
  -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-top: 5px;
}

.nav-control .dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.nav-control .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-control .show {
  display: block;
}

.menu-btn {
  position: relative;
  display: none;
  cursor: pointer;
  margin-top: 7px;
  width: 35px;
  height: 35px;
}

.menu-btn:before, .menu-btn:after {
  content: "";
  position: absolute;
  height: 2px;
  background: #6c6c6a;
  top: 50%;
  left: 50%;
  right: 50%;
}

.menu-btn:before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all .3s ease .2s;
  transition: all .3s ease .2s;
}

.menu-btn:after {
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.menu-btn > span {
  position: absolute;
  right: 0;
  width: 19px;
  height: 2px;
  background-color: #6c6c6a;
}

.menu-btn > span:nth-child(1) {
  width: 24px;
  top: 5px;
  -webkit-transition: width .3s ease .5s,background .7s ease 1s;
  transition: width .3s ease .5s,background .7s ease 1s;
}

.menu-btn > span:nth-child(2) {
  top: 12px;
  -webkit-transition: width .3s ease .4s,background .7s ease 1s;
  transition: width .3s ease .4s,background .7s ease 1s;
}

.menu-btn > span:nth-child(3) {
  width: 15px;
  top: 19px;
  -webkit-transition: width .3s ease .3s,background .7s ease 1s;
  transition: width .3s ease .3s,background .7s ease 1s;
}

.menu-btn.close-btn {
  z-index: 100;
}

.menu-btn.close-btn:before {
  left: 0;
  right: 0;
  -webkit-transition: all .3s ease .3s;
  transition: all .3s ease .3s;
  width: auto;
  background: #fff;
}

.menu-btn.close-btn:after {
  left: 0;
  right: 0;
  -webkit-transition: all .3s ease .4s;
  transition: all .3s ease .4s;
  background: #fff;
}

.menu-btn.close-btn span {
  width: 0;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.menu-btn.scroll span {
  background: #6c6c6a;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

body.open {
  overflow: hidden;
}

body.open .header::after {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
}

.rwdnav.open {
  top: 0;
  opacity: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  position: fixed;
  z-index: 99;
}

.rwdnav {
  display: none;
  position: absolute;
  top: 60px;
  opacity: 0;
  right: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  height: 100%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.95);
}

.rwdnav .bg-logo .inner {
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: calc(100vh - var(--nav-logo-top));
  height: calc(var(--vh, 1vh) * 100 - var(--nav-logo-top));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.rwdnav .item-row {
  margin: 2vh 0;
}

.rwdnav .item-row:hover {
  opacity: 0.8;
}

.rwdnav .item-row a {
  display: block;
  color: #808080;
  text-align: center;
}

.rwdnav .item-row.active a {
  color: #EA719D;
}

.rwdnav .item-row h4 {
  font-size: 20px;
}

.rwdnav .item-row .playball {
  font-size: 15px;
  letter-spacing: 1.5px;
  opacity: .5;
}

@media (max-width: 1890px) {
  .header {
    padding-top: 10px;
  }
  .header .navbar_logo {
    height: 6.3vw;
  }
}

@media (max-width: 1600px) {
  .header .navbar_logo {
    margin-left: 0;
    height: 90px;
  }
  .header.scroll-to-fixed .navbar_logo {
    height: 60px;
  }
  .header .menu {
    margin-right: 0;
  }
  .header .menu .menu-item h4 {
    font-size: 16px;
  }
  .header .menu .menu-item span {
    font-size: 13px;
  }
}

@media (max-width: 1266px) {
  .header .menu .menu-item {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .header .navbar_logo {
    height: 70px;
  }
  .header .menu {
    display: none;
  }
  .header.scroll-to-fixed .navbar_logo {
    height: 50px;
  }
  .header .menu-item-link {
    margin-left: 0;
    margin-right: 2vw;
  }
  .menu-btn {
    display: block;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-logo-top: 38vmin;
  }
  .header .container {
    width: 94vw;
  }
  .header .navbar_logo {
    margin-left: calc((94vw - 82px) / 2);
    z-index: 1;
  }
  .header.scroll-to-fixed .navbar_logo {
    margin-left: calc((94vw - 58px) / 2);
  }
  .header .nav-wrap {
    width: 100%;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .item-row a {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-logo-top: calc(28vmin + 153px);
  }
  .header .navbar_logo {
    margin-left: calc((94vw - 50px) / 2);
    height: 50px;
  }
  .header.scroll-to-fixed .navbar_logo {
    margin-left: calc((94vw - 50px) / 2);
  }
}

@media (orientation: landscape) and (max-height: 550px) {
  :root {
    --nav-logo-top: 28vh;
  }
  .header .container {
    width: calc(94vw - 40px);
  }
  .header .navbar_logo {
    margin-left: calc(( 94vw - 40px - 40px) / 2);
    height: 40px;
  }
  .header.scroll-to-fixed .navbar_logo {
    margin-left: calc(( 94vw - 40px - 40px) / 2);
    height: 40px;
  }
  .rwdnav .item-row {
    margin: 2vh 0;
  }
  .rwdnav .item-row a {
    line-height: 1;
  }
  .rwdnav .item-row h4 {
    font-size: 4vh;
  }
  .rwdnav .item-row .playball {
    font-size: 3vh;
  }
}

:root {
  --banner-title-size: 4.2vmin;
}

.banner {
  margin: 158px auto 0 auto;
}

.banner:hover .swiper-button-prev,
.banner:hover .swiper-button-next {
  opacity: 1;
}

.banner .swiper-button-prev,
.banner .swiper-button-next {
  opacity: 0;
}

.banner.banner-index {
  width: 100%;
  height: calc(100vw * 640 / 1920);
}

.banner:not(.banner-index) .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: calc(100vw * (120 / 1920));
  border-top-left-radius: 5vw;
  border-top-right-radius: 5vw;
  overflow: hidden;
}

.banner:not(.banner-index) .container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: .5;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(18%, rgba(0, 0, 0, 0)), to(black));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 18%, black 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
}

.banner .swiper-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner .swiper-button-prev,
.banner .swiper-button-next {
  top: calc((100% - 6vmin) / 2);
  width: 6vmin;
  height: 6vmin;
  background-image: url(../images/common/arrow-white.webp);
  background-size: 100% 100%;
}

.banner .swiper-button-prev::after,
.banner .swiper-button-next::after {
  display: none;
}

.banner .swiper-button-prev:hover,
.banner .swiper-button-next:hover {
  background-image: url(../images/common/arrow-white-h.webp);
}

.banner .swiper-button-prev {
  left: 20px;
}

.banner .swiper-button-next {
  right: 20px;
}

.banner .banner-swiper-control.swiper-pagination {
  display: none;
  position: absolute;
  bottom: 5vh;
}

.banner .banner-swiper-control.swiper-pagination .swiper-pagination-bullet {
  margin: 0 .5vw;
}

.banner .rounded-rect {
  position: relative;
  height: 100%;
}

.banner .rounded-rect .right {
  position: relative;
  border-radius: 20px;
  background-color: #ccc;
  height: 100%;
  overflow: hidden;
}

.banner .rounded-rect .right img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.banner .rounded-rect .right.text-cover:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #896841;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(137, 104, 65, 0.8)), color-stop(82%, rgba(137, 104, 65, 0)));
  background: linear-gradient(0deg, rgba(137, 104, 65, 0.8) 0%, rgba(137, 104, 65, 0) 82%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#896841",endColorstr="#896841",GradientType=1);
}

.banner .banner-content {
  position: absolute;
  bottom: 20px;
  z-index: 1;
  padding: 0 4vw;
  color: #fff;
}

.banner .banner-content h3 {
  margin-bottom: 1vh;
  font-size: 4vmin;
  letter-spacing: .5vmin;
  text-shadow: rgba(0, 0, 0, 0.5) 0 0 1vmin;
}

.banner .banner-content h6 {
  margin-bottom: .3vh;
  font-size: 1.7vmin;
  letter-spacing: 2px;
  font-weight: normal;
}

.banner .banner-content p {
  width: 90%;
  line-height: 2;
  font-size: 18px;
  letter-spacing: 1px;
}

.banner .btn-white-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.banner .page-title {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.banner .page-title h3 {
  font-size: var(--banner-title-size);
  letter-spacing: .5vmin;
  text-shadow: black 0 0 1vmin;
}

.banner .page-title h6 {
  font-size: 2.7vmin;
  letter-spacing: .4vmin;
  font-weight: normal;
  text-shadow: rgba(0, 0, 0, 0.5) 0 0 1vmin;
}

@media (max-width: 1890px) {
  .banner {
    margin-top: calc(6.3vw + 20px);
  }
}

@media (max-width: 1600px) {
  .banner .banner-content p {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 1366px) {
  .banner {
    margin-top: calc(90px + 10px * 2);
  }
  .banner.banner-index {
    width: 100%;
    height: calc(100vw * 640 / 1920);
  }
  .banner .banner-swiper-control.swiper-pagination {
    display: block;
    bottom: 2vw;
  }
  .banner .banner-content {
    padding: 0 20px;
    bottom: calc(20px + 3vw);
  }
  .banner .banner-content p {
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 1024px) {
  .banner {
    margin-top: calc(70px + 10px * 2);
  }
  .banner.banner-index {
    width: 100%;
    height: calc(100vw * 640 / 1920);
  }
  .banner .banner-content h3 {
    font-size: 24px;
    letter-spacing: 3px;
  }
  .banner .banner-content h6 {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

@media (max-width: 767px), (max-height: 550px) {
  :root {
    --banner-title-size: 15px;
  }
  .banner .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
  .banner .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
    margin: 0 4.5px;
  }
  .banner .swiper-button-prev,
  .banner .swiper-button-next {
    display: none;
  }
  .banner .banner-content h3 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  .banner .banner-content h6 {
    letter-spacing: 0;
  }
  .banner .banner-content p {
    padding-right: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 480px) {
  .banner {
    margin-top: calc(50px + 10px * 2);
  }
  .banner:not(.banner-index) {
    width: 94vw;
  }
  .banner:not(.banner-index) .container {
    border-radius: 3vw;
    height: calc(94vw * (120 / 1920));
  }
  .banner .banner-content {
    padding: 0;
    left: 2vw;
    width: 90vw;
    text-align: center;
  }
  .banner .banner-content h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0;
    text-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .banner .banner-content p {
    padding-right: 0;
    -webkit-line-clamp: 2;
    font-size: 12px;
  }
}

@media (orientation: landscape) and (max-height: 550px) {
  .banner {
    margin-top: calc(40px + 10px * 2);
  }
  .banner .banner-content {
    bottom: calc(10vh + 2vw);
  }
  .banner .banner-content p {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

/*swal2*/
.swal2-styled.swal2-confirm.btn-swal-control,
.swal2-styled.swal2-cancel.btn-swal-control {
  padding: 5px 20px;
  border: 1px solid #666;
  color: #666;
  background-color: transparent;
}

.swal2-styled.swal2-confirm.btn-swal-control:focus,
.swal2-styled.swal2-cancel.btn-swal-control:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.swal2-styled.swal2-confirm.btn-search,
.swal2-styled.swal2-cancel.btn-search {
  padding: 5px 20px;
  background-color: #EA719D;
  color: #fff;
}

.swal2-styled.swal2-confirm.btn-search:focus,
.swal2-styled.swal2-cancel.btn-search:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.search-modal.swal2-container.swal2-backdrop-show, .search-modal.swal2-container.swal2-noanimation {
  background-color: rgba(0, 0, 0, 0.75);
}

.search-modal .swal2-popup {
  width: 450px;
  border-radius: 15px;
  overflow: hidden;
}

.search-modal .swal2-title {
  padding: 0 5%;
  height: 45px;
  line-height: 45px;
  background-color: #EA719D;
  color: #fff;
  font-size: 1.2rem;
}

.search-modal .swal2-html-container {
  height: initial;
  text-align: left;
}

.search-modal .swal2-actions {
  margin-top: 1em;
  padding: 0 1.6rem;
  width: 100%;
}

.search-modal .swal2-input {
  border-color: #EA719D;
  color: #6d7228;
  text-align: center;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --font-size-btn: 18px;
  --ediable-font-size: 1.9vmin;
}

html {
  font-size: 16px;
}

@media (max-width: 1266px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 13px;
  }
}

body {
  font-family: "Microsoft JhengHei", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 1px;
  width: 100%;
  overflow-x: hidden;
  color: #333;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

a[href^=tel] {
  color: inherit;
  text-decoration: none;
}

select {
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
}

.btn span,
.btn i.icon {
  display: inline-block;
  vertical-align: middle;
}

.btn i.icon {
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
}

.btn i.icon.icon-link {
  background-image: url(../images/common/icon-link.svg);
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.bg-white {
  background-color: #fff;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn-radius-green {
  padding: 10px 35px;
  background-color: #EA719D;
  color: #fff;
  border-radius: 35px;
}

.btn-white-border {
  padding: 1px 17px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 35px;
}

.btn-green-border {
  padding: 1px 17px;
  color: #EA719D;
  border: 1px solid #EA719D;
  border-radius: 35px;
}

.btn-green {
  background-color: #EA719D;
  color: #fff;
  border-radius: 0;
}

.btn-circle {
  padding: 0;
  height: 40px;
  width: 40px;
  background: #EA719D;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
}

.btn-circle svg {
  margin-top: 10px;
  height: 20px;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

p {
  line-height: 1.7;
}

.block .editable,
.block .editable p {
  font-size: var(--font-size-2);
}

.block-1 img {
  max-width: 1200px;
  height: auto !important;
}

.fullpage-loading {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 200;
  background-color: #fff;
  -webkit-transition: all 500ms ease-in;
  transition: all 500ms ease-in;
}

.fullpage-loading.hide {
  visibility: hidden;
  opacity: 0;
  -webkit-animation: fadeOutAnimation ease 1s;
          animation: fadeOutAnimation ease 1s;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.orange2 {
  background-color: #dc805e;
}

.custom-swiper .swiper-pagination,
.custom-swiper-outer .swiper-pagination {
  position: relative;
}

.custom-swiper .swiper-pagination-bullet,
.custom-swiper-outer .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: #fff;
  opacity: 1;
}

.custom-swiper .swiper-pagination-bullet-active,
.custom-swiper-outer .swiper-pagination-bullet-active {
  -webkit-transform: scale(1.6);
          transform: scale(1.6);
}

.custom-swiper .swiper-button-prev,
.custom-swiper .swiper-button-next,
.custom-swiper-outer .swiper-button-prev,
.custom-swiper-outer .swiper-button-next {
  margin-top: 0;
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.custom-swiper .swiper-button-prev:hover,
.custom-swiper .swiper-button-next:hover,
.custom-swiper-outer .swiper-button-prev:hover,
.custom-swiper-outer .swiper-button-next:hover {
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.custom-swiper .swiper-button-prev::after,
.custom-swiper .swiper-button-next::after,
.custom-swiper-outer .swiper-button-prev::after,
.custom-swiper-outer .swiper-button-next::after {
  display: none;
}

.custom-swiper .swiper-button-next,
.custom-swiper-outer .swiper-button-next {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.container {
  position: relative;
  margin: 0 auto;
}

.container::after {
  display: block;
  clear: both;
  content: "";
}

.radius-bg {
  height: 10vw;
  border-top-left-radius: 9vmin;
  border-top-right-radius: 9vmin;
  overflow: hidden;
}

.radius-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.warn {
  padding: 0 85px;
  position: fixed;
  bottom: 0;
  z-index: 11;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 10vh;
  background-image: url(../images/common/warn-bg.webp);
  background-size: 100% 100%;
  color: #fff;
}

.warn span {
  font-size: 2.3vw;
  letter-spacing: 4.7vw;
}

.warn span:last-of-type {
  margin-right: -4.7vw;
}

.warn img {
  margin-right: 4.7vw;
  height: 7vh;
}

.pages a {
  display: inline-block;
  vertical-align: middle;
  margin: 0 3px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  font-size: 14px;
  color: #6c6c6a;
  background-color: rgba(217, 224, 214, 0.5);
  border-radius: 50%;
}

.pages a.active {
  background-color: #EA719D;
  color: #fff;
}

.pages a:hover {
  opacity: .6;
}

.pages .last,
.pages .first {
  letter-spacing: -5px;
}

.footer {
  position: relative;
  margin-top: 3vw;
  padding-bottom: 20px;
}

.footer .container {
  width: 94%;
  max-width: 1520px;
}

.footer .footer-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

.footer .footer-row .column {
  width: 33%;
}

.footer .company-item {
  margin-bottom: 2vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 18px;
  color: #6c6c6a;
}

.footer .company-item > span {
  margin-left: 13px;
}

.footer .company-item > span:after {
  content: "/";
  display: inline-block;
  margin: 0 10px;
  color: #c6c6c6;
}

.footer .company-item img {
  width: 30px;
  height: 30px;
}

.footer .company-item a {
  color: #6c6c6a;
}

.footer .logo {
  width: 17vmin;
}

.footer .copyright {
  margin-top: 30px;
  color: #896841;
  opacity: .5;
  font-size: 12px;
}

.toTop {
  display: none;
  position: fixed;
  right: 25px;
  bottom: calc(10vh + 70px);
  z-index: 10;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.toTop img {
  width: 100%;
}

.hide-bottom-circle #fb-root {
  opacity: 0;
}

.btn,
.toTop {
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.btn:hover,
.toTop:hover {
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.btn:hover,
.toTop:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.show-xs {
  display: none;
}

.fixed-height {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  -webkit-transition: height .25s linear;
  transition: height .25s linear;
}

.block-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 90%;
  margin: 0 auto 3vmin auto;
}

.tablinks {
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  margin-right: 4.6vmin;
  min-width: 30vmin;
  line-height: 5.3vmin;
  font-size: 2vmin;
  letter-spacing: 2px;
  border-radius: .6vmin;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.tablinks::before, .tablinks:last-of-type::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  border-left: 3px solid #c3c3c3;
}

.tablinks::before {
  left: -2.3vmin;
}

.tablinks:last-of-type::after {
  right: -2.3vmin;
}

.tablinks:first-of-type {
  margin-left: 2.3vmin;
}

.tabcontent {
  display: none;
  -webkit-animation: fadeInAnimation 1s;
          animation: fadeInAnimation 1s;
}

.tabcontent.active {
  display: block;
}

.animate__animated {
  -webkit-animation-duration: .3s;
          animation-duration: .3s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.animate__fadeInDown {
  -webkit-animation-name: fadeInDown;
          animation-name: fadeInDown;
}

.animate__fadeOutUp {
  -webkit-animation-name: fadeOutUp;
          animation-name: fadeOutUp;
}

@media (max-width: 1600px) {
  :root {
    --ediable-font-size: 18px;
  }
  p {
    line-height: 1.5;
  }
  .block .editable,
  .block .editable p {
    line-height: 1.7;
  }
  .footer .company-item {
    font-size: 16px;
  }
  .warn {
    padding: 0;
  }
  .warn span {
    font-size: 3vmax;
    letter-spacing: 3vmax;
  }
  .warn span:last-of-type {
    margin-right: -3vmax;
  }
  .warn img {
    margin-right: 3vmax;
  }
}

@media (max-width: 1366px) {
  .footer .footer-row .column:first-of-type {
    width: calc(10vw + 10vw);
  }
  .footer .footer-row .column:not(:first-of-type) {
    width: calc((100% - 10vw - 10vw) / 2);
  }
  .footer .company-item {
    font-size: 16px;
  }
  .footer .company-item img {
    width: 25px;
    height: 25px;
  }
  .block-1 img {
    max-width: 100%;
  }
}

@media (max-width: 1266px) {
  .custom-swiper .swiper-pagination-bullet-active,
  .custom-swiper-outer .swiper-pagination-bullet-active {
    -webkit-transform: scale(1.8);
            transform: scale(1.8);
  }
  body,
  .form-control {
    font-size: 15px;
  }
  .btn {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .show-xs {
    display: block;
  }
  .block-tabs {
    margin: 0 auto 5vmin auto;
    width: 60%;
    -webkit-column-gap: 20px;
            column-gap: 20px;
  }
  .tablinks {
    margin: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: initial;
    line-height: 35px;
    font-size: 15px;
    border-radius: 3px;
  }
  .tablinks:before, .tablinks:after {
    display: none;
  }
  .tablinks:first-of-type {
    margin-left: 0;
  }
  .footer .container {
    max-width: 350px;
  }
  .footer .logo {
    display: block;
    margin: 0 auto;
  }
  .footer .footer-row {
    display: block;
  }
  .footer .footer-row .column:first-of-type {
    margin-bottom: 6vmin;
    display: block;
    width: 100%;
  }
  .footer .footer-row .column:not(:first-of-type) {
    width: 100%;
  }
  .radius-bg {
    margin: 0 auto;
    width: calc(calc(100vw - (36px + 36px + 35px) * 2) - 12px * 2);
    height: 10vw;
    border-radius: 4vmin;
  }
}

@media (max-width: 767px), (max-height: 550px) {
  :root {
    --ediable-font-size: 15px;
  }
  .btn {
    font-size: 15px;
  }
  .btn-radius-green {
    padding: 6px 20px;
  }
  .custom-swiper .swiper-pagination-bullet-active,
  .custom-swiper-outer .swiper-pagination-bullet-active {
    -webkit-transform: scale(1.6);
            transform: scale(1.6);
  }
  .footer .column {
    width: 100%;
  }
  .footer .column.right {
    padding-left: 0;
    margin-top: 25px;
  }
  .footer .copyright {
    font-size: 12px;
    line-height: 1.2;
  }
  .radius-bg {
    width: calc(calc(94vw - 6vmin * 2) - 12px * 2);
    height: 10vw;
  }
  .warn {
    background-image: url(../images/common/warn-bg-m.webp);
  }
}

@media (max-width: 480px) {
  body {
    letter-spacing: 0;
  }
  .block-tabs {
    width: 76%;
    -webkit-column-gap: 10px;
            column-gap: 10px;
  }
  .tablinks {
    letter-spacing: 0;
  }
  .pages a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
  }
  .footer .company-item {
    font-size: 15px;
  }
  .footer .company-item > span:after {
    margin: 0 5px;
  }
  .footer .logo {
    width: 100px;
  }
  .radius-bg {
    width: 94vw;
    height: 10vw;
  }
}

@media (max-width: 320px) {
  .btn {
    font-size: 12px;
    line-height: 25px;
  }
  .custom-swiper .swiper-button-prev,
  .custom-swiper .swiper-button-next,
  .custom-swiper-outer .swiper-button-prev,
  .custom-swiper-outer .swiper-button-next {
    display: none;
  }
  .tablinks {
    font-size: 12px;
  }
  .footer p {
    font-size: 13px;
    letter-spacing: 0;
  }
  .block .editable,
  .block .editable p {
    font-size: 12px;
  }
}

@media (orientation: portrait) and (max-width: 767px) {
  .fixed-height.m-smaller-height {
    height: calc(100vh - 75px);
    height: calc(var(--vh, 1vh) * 100 - 75px);
  }
}

@media (orientation: portrait) {
  .warn {
    padding: 0;
  }
  .warn span {
    font-size: 6vw;
    letter-spacing: 1vw;
  }
  .warn span:last-of-type {
    margin-right: -1vw;
  }
  .warn img {
    margin-right: 1vw;
    height: 5vh;
  }
}
