@charset "UTF-8";
* {
  font-family: Arial, Helvetica, "Noto Sans TC", "Microsoft JhengHei", "Apple LiGothic Medium", sans-serif;
  border-radius: 0;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #f8f8f4;
  color: #333;
  font-size: 1.8rem;
  line-height: 1.8;
  word-wrap: normal;
  word-break: normal;
  position: relative;
  overflow-x: hidden;
}

:root {
  --color1: hsl(215, 50%, 40%);
  --color2: hsl(180, 50%, 45%);
  --color3: hsl(110, 45%, 45%);
  --color4: hsl(35, 100%, 70%);
  --color5: #d32f2f;
  --color6: #f8f8f4;
  --primary: var(--color1);
  --secondary: #666;
  --success: var(--color3);
  --warning: var(--color4);
  --danger: var(--color5);
  --info: var(----color2);
  --shadow: 3px 3px 5px hsla(0, 0%, 0%, .1);
  --shadow_b: 25px 50px 15px hsla(0, 0%, 0%, .1);
  --border: 1px solid #ccc;
  --border2: 2px solid var(--danger);
  --radius_s: 4px;
  --radius_b: 20px;
  --speed: all .3s;
  --h1: clamp(3.8rem, calc(3.8rem + .125vw), 4.0rem);
  --h2: clamp(3.4rem, calc(3.4rem + .125vw), 3.6rem);
  --h3: clamp(3.0rem, calc(3.0rem + .125vw), 3.2rem);
  --h4: clamp(2.6rem, calc(2.6rem + .125vw), 2.8rem);
  --h5: clamp(2.2rem, calc(2.2rem + .125vw), 2.4rem);
  --h6: clamp(1.8rem, calc(1.8rem + .125vw), 2.0rem);
  --p: clamp(1.6rem, calc(1.6rem + .125vw), 1.8rem);
  --bs-border-color: #ccc;
}

.card-title, .modal-title, .subtitle, .title, .page_subtitle, .page_title, .h6, .h5, .h4, .h3, .h2, .h1 {
  font-weight: 600;
  line-height: 1.3;
}

.card-img img, .card-img-top img, .img_1by1 img, .img_4by3 img, .img_9by16 img, .img_16by9 img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.card-subtitle, .card-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.card-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}

.row {
  --bs-gutter-x: 3rem;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1340px;
  }
}
.h1 {
  font-size: clamp(3.6rem, 3.6rem + 0.25vw, 4rem) !important;
}
.h2 {
  font-size: clamp(3.2rem, 3.2rem + 0.25vw, 3.6rem) !important;
}
.h3 {
  font-size: clamp(2.8rem, 2.8rem + 0.25vw, 3.2rem) !important;
}
.h4 {
  font-size: clamp(2.4rem, 2.4rem + 0.25vw, 2.8rem) !important;
}
.h5 {
  font-size: clamp(2rem, 2rem + 0.25vw, 2.4rem) !important;
}
.h6 {
  font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem) !important;
}

p {
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  line-height: 1.8;
  padding: 0;
  margin: 0px;
}

.small {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: #333;
  text-decoration-style: dotted;
}
a:hover {
  color: hsl(0, 65%, 50%);
  text-decoration-style: dotted;
  -webkit-text-underline-offset: 5px;
  -moz-text-underline-offset: 5px;
  -ms-text-underline-offset: 5px;
  text-underline-offset: 5px;
}

hr {
  border-color: hsla(0, 0%, 0%, 0.1);
  margin-top: 30px;
  margin-bottom: 30px;
  opacity: 1;
}

.text-primary {
  color: hsl(215, 50%, 40%) !important;
}
.text-secondary {
  color: #666 !important;
}
.text-info {
  color: hsl(180, 50%, 45%) !important;
}
.text-info:hover, .text-info:focus, .text-info:active {
  color: hsl(180, 50%, 45%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.text-success {
  color: hsl(110, 45%, 45%) !important;
}
.text-warning {
  color: hsl(50, 100%, 50%) !important;
}
.text-danger {
  color: hsl(0, 65%, 50%) !important;
}
.text-gray {
  color: #999 !important;
}
.text-red {
  color: #F00 !important;
}
.text-dark {
  color: #000 !important;
}

.img_16by9 {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.img_16by9 img {
  width: 100%;
  height: auto;
}
.img_9by16 {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  position: relative;
  overflow: hidden;
}
.img_9by16 img {
  width: 100%;
  height: auto;
}
.img_4by3 {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.img_4by3 img {
  width: 100%;
  height: auto;
}
.img_1by1 {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}
.img_1by1 img {
  width: auto;
  height: 100%;
  max-width: 1000%;
}

.bg-primary {
  background-color: hsl(215, 50%, 40%) !important;
}
.bg-secondary {
  background-color: #666 !important;
}
.bg-info {
  background-color: hsl(180, 50%, 45%) !important;
}
.bg-success {
  background-color: hsl(110, 45%, 45%) !important;
}
.bg-warning {
  background-color: hsl(50, 100%, 50%) !important;
}
.bg-danger {
  background-color: hsl(0, 65%, 50%) !important;
}
.bg_1 {
  background-color: hsl(45, 80%, 92%);
}
.btn {
  display: inline-block;
  color: #333;
  padding: 10px 20px;
  font-size: 1.6rem;
  line-height: 2rem;
  border-radius: 16px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, 0.3);
  position: absolute;
  top: 0;
  left: -100%;
  z-index: -1;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.btn:hover {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.btn:hover::before {
  left: 100%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.btn:not(:last-child) {
  margin-right: 5px;
}
.btn-lg {
  padding: 10px 60px;
  font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem);
  line-height: 1.5;
  border-radius: 50px;
}
.btn-link {
  color: hsl(215, 50%, 40%);
}
.btn-link:hover, .btn-link:focus, .btn-link:active {
  color: hsl(215, 50%, 40%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-primary {
  background-color: hsl(215, 50%, 40%);
  color: #FFF;
  border-color: hsl(215, 50%, 40%);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  background-color: hsl(215, 50%, 40%);
  color: #FFF;
  border-color: hsl(215, 50%, 40%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-outline-primary {
  color: hsl(215, 50%, 40%);
  font-weight: 600;
  border-color: hsl(215, 50%, 40%);
  border-width: 2px;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active {
  background-color: hsl(215, 50%, 40%);
  color: #FFF;
  border-color: hsl(215, 50%, 40%);
}
.btn-secondary {
  background-color: #666;
  color: #FFF;
  border-color: #666;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #666;
  color: #FFF;
  border-color: #666;
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-info {
  background-color: hsl(180, 50%, 45%);
  color: #FFF;
  border-color: hsl(180, 50%, 45%);
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
  background-color: hsl(180, 50%, 45%);
  color: #FFF;
  border-color: hsl(180, 50%, 45%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-success {
  background-color: hsl(110, 45%, 45%);
  color: #FFF;
  border-color: hsl(110, 45%, 45%);
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: hsl(110, 45%, 45%);
  color: #FFF;
  border-color: hsl(110, 45%, 45%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-warning {
  background-color: hsl(50, 100%, 50%);
  color: #000;
  border-color: hsl(50, 100%, 50%);
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background-color: hsl(50, 100%, 50%);
  color: #FFF;
  border-color: hsl(50, 100%, 50%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-danger {
  background-color: hsl(0, 65%, 50%);
  color: #FFF;
  border-color: hsl(0, 65%, 50%);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background-color: hsl(0, 65%, 50%);
  color: #FFF;
  border-color: hsl(0, 65%, 50%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}

.border-primary {
  border-color: hsl(215, 50%, 40%) !important;
}
.border-secondary {
  border-color: #666 !important;
}
.border-info {
  border-color: hsl(180, 50%, 45%) !important;
}
.border-success {
  border-color: hsl(110, 45%, 45%) !important;
}
.border-warning {
  border-color: hsl(50, 100%, 50%) !important;
}
.border-danger {
  border-color: hsl(0, 65%, 50%) !important;
}

.left_sec {
  min-height: 85vh;
  padding: 10px 50px 30px 30px;
}

.right_sec {
  height: calc(100vh - 93px);
  padding: 10px 30px 0px 30px;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .left_sec {
    min-height: unset;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 5px calc(var(--bs-gutter-x) * 0.5);
  }
  .right_sec {
    padding: 0 calc(var(--bs-gutter-x) * 0.5);
  }
}
@media (min-width: 1680px) {
  .navbar .container,
  .navbar .container-lg,
  .navbar .container-md,
  .navbar .container-sm,
  .navbar .container-xl,
  .navbar .container-xxl {
    max-width: 1480px;
  }
}
.navbar#nav {
  background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0.3)), to(hsla(0, 0%, 100%, 0)));
  background-image: linear-gradient(to bottom, hsla(0, 0%, 100%, 0.3), hsla(0, 0%, 100%, 0));
  background-color: hsla(0, 0%, 100%, 0);
  backdrop-filter: blur(0px);
  padding: 0px 15px;
  margin-left: auto;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar#nav:hover, .navbar#nav:active, .navbar#nav:focus, .navbar#nav.active {
  background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0.8)), to(hsla(0, 0%, 100%, 0.1)));
  background-image: linear-gradient(to bottom, hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0.1));
  backdrop-filter: blur(10px);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar#nav:hover .nav-link, .navbar#nav:active .nav-link, .navbar#nav:focus .nav-link, .navbar#nav.active .nav-link {
  padding: 30px 20px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar-brand {
  display: inline-block;
  width: clamp(150px, 15%, 200px);
  aspect-ratio: 5/1;
  padding: 0;
}
.navbar-brand img {
  display: block;
}
@media (max-width: 576px) {
  .navbar#nav {
    background-image: none;
    background-color: hsla(0, 0%, 100%, 0.5);
    backdrop-filter: blur(10px);
    padding: 5px 0px;
  }
  .navbar#nav:hover .nav-link {
    padding: 20px;
  }
}

#mainMenu {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  padding: 0;
  margin: 0;
}
#mainMenu .navbar-nav .nav-link {
  display: block;
  background-color: transparent;
  color: #333;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  line-height: 40px;
  padding: 10px 20px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#mainMenu .navbar-nav .nav-link:hover, #mainMenu .navbar-nav .nav-link:active, #mainMenu .navbar-nav .nav-link:focus, #mainMenu .navbar-nav .nav-link.active {
  color: #fff;
  background-color: hsl(0, 65%, 50%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media (max-width: 576px) {
  #mainMenu {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    height: calc(100vh - 50px);
    background-color: hsla(0, 0%, 100%, 0.9);
    padding-top: 50px;
    left: 0;
    top: 50px;
    bottom: 0;
    right: 0;
    z-index: 9999;
  }
  #mainMenu.show {
    position: fixed;
  }
  #mainMenu .navbar-nav .nav-link {
    width: 100%;
    font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem);
    text-align: center;
    padding: 20px;
  }
}

.navbar-light .navbar-toggler {
  width: 40px;
  height: 40px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
  border-radius: none;
  padding: 4px 4px;
  position: relative;
}
@media screen and (max-width: 991px) {
  .navbar-light .navbar-toggler {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
  }
}
.navbar-light .navbar-toggler-icon {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow: visible;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.navbar-light .navbar-toggler-icon::before, .navbar-light .navbar-toggler-icon::after {
  content: "";
  width: 32px;
  height: 2px;
  background-color: hsla(0, 0%, 0%, 0.5);
  position: absolute;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.navbar-light .navbar-toggler-icon::before {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotateZ(45deg);
          transform: translate(-50%, -50%) rotateZ(45deg);
}
.navbar-light .navbar-toggler-icon::after {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotateZ(-45deg);
          transform: translate(-50%, -50%) rotateZ(-45deg);
}
.navbar-light .collapsed .navbar-toggler-icon {
  background-color: hsla(0, 0%, 0%, 0.3);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.navbar-light .collapsed .navbar-toggler-icon::before, .navbar-light .collapsed .navbar-toggler-icon::after {
  content: "";
  width: 32px;
  height: 2px;
  background-color: hsla(0, 0%, 0%, 0.3);
  position: absolute;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.navbar-light .collapsed .navbar-toggler-icon::before {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -10px) rotateZ(0deg);
          transform: translate(-50%, -10px) rotateZ(0deg);
}
.navbar-light .collapsed .navbar-toggler-icon::after {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, 10px) rotateZ(0deg);
          transform: translate(-50%, 10px) rotateZ(0deg);
}

.header {
  position: relative;
  aspect-ratio: 64/25;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
  overflow: hidden;
}
.header::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 100%, 0.3);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.header_img {
  width: 100%;
  height: 100%;
  background-image: url(../images/header.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.header_txt {
  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;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.header_txt h1 {
  display: inline-block;
  color: hsl(0, 65%, 50%);
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  line-height: 1;
  font-weight: 400;
  padding: 6px 16px;
  border: 1px solid hsla(0, 65%, 50%, 0.5);
  border-radius: 50px;
  margin-bottom: 15px;
}
.header_txt h2 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(clamp(3.6rem, 3.6rem + 0.25vw, 4rem), 4rem + 1.25vw, 7.2rem);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 3px 3px 5px hsla(0, 0%, 0%, 0.1);
  margin-bottom: 24px;
}
.header_txt h2 span {
  color: hsl(0, 65%, 50%);
  font-family: "Noto Serif TC", serif;
}
.header_txt p {
  display: block;
  width: 55%;
  color: #666;
  font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem);
  font-weight: 300;
}
@media (max-width: 576px) {
  .header {
    aspect-ratio: 4/7;
  }
  .header_txt {
    width: 90%;
  }
  .header_txt p {
    width: 80%;
  }
}

.footer {
  background-color: hsl(0, 65%, 96%);
  color: #666;
  font-size: 1.4rem;
  line-height: 1.5;
  padding-block: 60px;
}
.footer_img {
  width: auto;
  height: 40px;
}
.footer_img img {
  display: block;
  width: auto;
  height: 100%;
}
.footer p {
  color: #666;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 5px;
}
.footer a {
  color: #666;
}
.footer a:hover {
  color: hsl(215, 50%, 40%);
}

.copyright {
  color: #555;
  font-size: 1.4rem;
  line-height: 1.5;
}

.p_sec {
  padding-top: 100px;
  padding-bottom: 100px;
}

.page_head {
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 70px;
  position: relative;
}
.page_head::after {
  content: "";
  display: block;
  width: 6em;
  height: 4px;
  background-color: hsl(0, 65%, 50%);
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.page_head .page_title {
  margin-bottom: 10px;
}
.page_title {
  display: inline-block;
  color: #333;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(3.2rem, 3.2rem + 0.25vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 30px;
}
.page_title.dec_1 {
  position: relative;
  z-index: 1;
}
.page_title.dec_1::after {
  content: "";
  display: block;
  width: 8em;
  height: 10px;
  background-color: hsla(50, 100%, 50%, 0.3);
  position: absolute;
  left: -0.2em;
  bottom: 2px;
  z-index: -1;
}
.page_subtitle {
  display: inline-block;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.8rem, 2.8rem + 0.25vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.title {
  display: block;
  color: #000;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.4rem, 2.4rem + 0.25vw, 2.8rem);
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.subtitle {
  color: #000;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem);
  font-weight: 700;
  margin-top: 10px;
}

.highlight {
  color: hsl(0, 65%, 50%);
  font-family: "Noto Serif TC", serif;
  font-size: clamp(3.2rem, 3.2rem + 0.25vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 0;
}

.lead_sec {
  position: relative;
}
.lead_pic {
  border-radius: 16px;
  -webkit-box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
  overflow: hidden;
  -webkit-transform: rotateZ(3deg);
          transform: rotateZ(3deg);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.lead_pic:hover {
  -webkit-transform: rotateZ(0deg);
          transform: rotateZ(0deg);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.lead_text {
  width: clamp(300px, 45%, 340px);
  background-color: #fff;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  border-radius: 16px;
  -webkit-box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
  padding: 1.5em;
  position: absolute;
  left: -1em;
  bottom: -1em;
  z-index: 2;
}
@media (max-width: 576px) {
  .lead_sec {
    position: static;
    margin-bottom: 60px;
  }
  .lead_pic:hover {
    -webkit-transform: rotateZ(3deg);
            transform: rotateZ(3deg);
  }
  .lead_text {
    display: none;
  }
}

.modal-content {
  border-radius: 16px;
  overflow: hidden;
}
.modal-header {
  background-color: hsl(215, 50%, 40%);
  color: #FFF;
}
.modal-title {
  font-size: clamp(2rem, 2rem + 0.25vw, 2.4rem);
}
.modal .btn-close {
  background-image: none;
  color: #fff;
  margin-top: -1em;
  margin-right: 0.1em;
}

.col-form-label {
  color: #000;
  font-weight: 600;
  text-align: right;
  padding-top: 7px;
  padding-bottom: 7px;
}
@media screen and (max-width: 576px) {
  .col-form-label {
    text-align: left;
  }
}

.form-control {
  min-height: 40px;
  color: #333;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  vertical-align: middle;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 5px 10px;
  margin-bottom: 10px;
}
.form-control:disabled {
  background-color: #FFF;
  color: #333;
}
.form-control:disabled:hover {
  cursor: not-allowed;
}
.form-control.input_money {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  text-align: right;
}

.form-select {
  min-height: 40px;
  color: #333;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  vertical-align: middle;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 5px 30px 5px 10px;
  margin-bottom: 10px;
}
.form-select:disabled {
  background-color: #FFF;
  color: #333;
}
.form-select:disabled:hover {
  cursor: not-allowed;
}

.input-group {
  margin-bottom: 10px;
}
.input-group-text {
  min-height: 40px;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  color: #333;
  border-radius: 0;
  border-inline: none;
}
.input-group-text img {
  display: inline-block;
  width: auto;
  height: 100%;
}
.input-group .btn {
  border-radius: 4px;
  padding: 0 5px !important;
}
.input-group .form-control {
  background-color: #FFF;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 0;
}

.form-check-input {
  display: inline-block;
  float: none !important;
  width: 1.5em;
  height: 1.5em;
}
.form-check-input[type=checkbox] {
  border-radius: 4px;
}
.form-check-input:checked {
  background-color: hsl(180, 50%, 45%);
  border-color: hsl(180, 50%, 45%);
}
.form-check-input:checked ~ .form-check-label::before {
  color: #fff;
  border-color: hsl(180, 50%, 45%);
  background-color: hsl(180, 50%, 45%);
}
.form-check-input:focus ~ .form-check-label::before {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.form-check-inline {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.form-check-label {
  margin-left: 10px;
  margin-bottom: 10px;
  padding-top: 5px;
}
.form-check-label::before {
  width: 1.5em;
  height: 1.5em;
  top: 0;
  left: -2.5rem;
}
.form-check-label::after {
  width: 1.5em;
  height: 1.5em;
  top: 0;
  left: -2.5rem;
}
.form-check .form-check-label::before {
  border-radius: 0;
}
.form-check .form-control {
  display: inline-block;
  width: auto;
  vertical-align: top;
  margin-left: 3px;
}
.form-check textarea.form-control {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 80%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/*---------- Y/N ----------*/
.toggleGroup {
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}
.toggleInput {
  display: none;
}
.toggleInput:checked + .toggleBtn.switch {
  background-color: hsl(50, 100%, 50%);
}
.toggleInput:checked + .toggleBtn.switch:after {
  left: calc(2em + 0.2rem);
}
.toggleInput:checked + .toggleBtn.switch span.on {
  opacity: 1;
}
.toggleInput:checked + .toggleBtn.switch span.off {
  opacity: 0;
}
.toggleBtn {
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  display: block;
  position: relative;
  width: 3em;
  height: 2em;
  border-radius: 1em;
  cursor: pointer;
}
.toggleBtn.switch {
  width: 4em;
  background-color: #AAA;
  padding: 0.2rem;
}
.toggleBtn.switch span {
  display: block;
  position: absolute;
  width: calc(4em - 0.8rem);
  color: #fff;
  line-height: calc(2em - 0.4rem);
  font-weight: 600;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.toggleBtn.switch span.on {
  opacity: 0;
  text-align: right;
  padding-right: 2em;
}
.toggleBtn.switch span.off {
  opacity: 1;
  text-align: left;
  padding-left: 2em;
}
.toggleBtn.switch:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 50%;
  top: 0.4rem;
  left: 0.4rem;
  -webkit-transition: left 0.2s ease;
  transition: left 0.2s ease;
  width: calc(1.8em - 0.4rem);
  height: calc(1.8em - 0.4rem);
  background-color: #fff;
}

.card {
  color: #333;
  text-decoration: none;
  border: none;
  border-radius: 16px;
  -webkit-box-shadow: 3px 3px 5px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 5px hsla(0, 0%, 0%, 0.1);
  overflow: hidden;
  margin: 0 0 30px;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card-img, .card-img-top {
  background-color: hsl(30, 75%, 95%);
  aspect-ratio: 1/1;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px 16px 0 0;
  border: none;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card-img img, .card-img-top img {
  content-visibility: auto;
  z-index: 2;
  -webkit-filter: brightness(100%);
          filter: brightness(100%);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card:hover {
  -webkit-box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card:hover img {
  -webkit-filter: brightness(90%);
          filter: brightness(90%);
  -webkit-transform: translate(-50%, -50%) scale(1.1);
          transform: translate(-50%, -50%) scale(1.1);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card-body {
  padding: 20px 20px 20px;
  position: relative;
}
.card-foot {
  border-top: 1px solid #eee;
  padding: 20px 20px 20px;
}
.card-title {
  color: #000;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem);
  margin-bottom: 10px;
}
.card-subtitle {
  color: hsl(0, 65%, 50%);
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
}
.card-text {
  color: #666;
  font-size: 1.6rem;
  margin-bottom: 0;
}
.card-text p {
  color: #666;
  font-size: 1.6rem;
  margin-bottom: 0;
}
.card .price {
  color: hsl(0, 65%, 50%);
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.8rem, 1.8rem + 0.125vw, 2rem);
  font-weight: 600;
}
.card .price::before {
  content: "$";
}
.card .price::after {
  content: "元";
}
.card .more {
  background-color: transparent;
  color: #333;
  font-size: 1.4rem;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 50px;
  padding: 10px 10px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card .more:hover {
  color: #fff;
  background-color: hsl(0, 65%, 50%);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.card .tags {
  margin-bottom: 5px;
}
.card .tags .badge::before {
  content: "#";
  margin-right: 2px;
}
.card .tags .badge:not(:last-child) {
  margin-right: 5px;
}

.text-bg-primary {
  background-color: hsl(215, 50%, 40%) !important;
  color: #FFF !important;
}
.text-bg-info {
  background-color: hsl(180, 50%, 45%) !important;
  color: #FFF !important;
}
.text-bg-success {
  background-color: hsl(110, 45%, 45%) !important;
  color: #FFF !important;
}
.text-bg-warning {
  background-color: hsl(50, 100%, 90%) !important;
  color: #333 !important;
  font-weight: 400;
  padding: 5px 10px;
}
.text-bg-danger {
  background-color: hsl(0, 65%, 50%) !important;
  color: #FFF !important;
}

.nav {
  background-color: #eee;
  padding: 10px;
}
.nav-pills {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 30px;
}
.nav .nav-item {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 110px;
          flex: 1 0 110px;
}
.nav .nav-item:not(:last-child) {
  margin-right: 10px;
}
.nav .nav-item .nav-link {
  color: #333;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  line-height: 30px;
  padding: 5px 10px;
  border-radius: 20px;
}
.nav .nav-item .nav-link:hover {
  background-color: hsl(180, 50%, 45%);
  color: #eee;
}
.nav .nav-item .nav-link:active, .nav .nav-item .nav-link.active {
  background-color: hsl(215, 50%, 40%);
  color: #fff;
}
@media (max-width: 768px) {
  .nav-pills {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-top: 20px;
  }
  .nav-pills .nav-item {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 150px;
            flex: 1 0 150px;
    margin: 0 10px 10px;
  }
}
@media (max-width: 576px) {
  .nav-pills .nav-item {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 40%;
            flex: 1 1 40%;
  }
}

.img_slider {
  border: 10px solid #fff;
  border-radius: 16px;
  -webkit-box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 20px hsla(0, 0%, 0%, 0.1);
  overflow: visible;
}
.img_slider img {
  border-radius: 14px;
}

.slick-arrow {
  z-index: 10;
}
.slick-prev {
  left: 10px;
}
.slick-prev::before {
  font-size: clamp(3.2rem, 3.2rem + 0.25vw, 3.6rem);
}
.slick-next {
  right: 30px;
}
.slick-next::before {
  font-size: clamp(3.2rem, 3.2rem + 0.25vw, 3.6rem);
}
.slick-dots {
  bottom: -40px;
}

.list {
  padding: 0 0 0 0;
  margin: 0 0 10px 30px;
}
.list li {
  text-indent: 0;
  line-height: 1.8;
}

.pic_fullscreen {
  position: relative;
}
.pic_fullscreen span {
  display: block;
  width: 15px;
  height: 15px;
  color: #fff;
  position: absolute;
  right: 10px;
  bottom: 10px;
  opacity: 0.8;
  z-index: 1;
}
.pic_fullscreen span img {
  display: block;
  -webkit-filter: drop-shadow(0px 0px 3px hsla(0, 0%, 0%, 0.3));
          filter: drop-shadow(0px 0px 3px hsla(0, 0%, 0%, 0.3));
}

#lightboxOverlay {
  position: fixed !important;
  top: 0;
  left: 0;
  height: 100% !important;
  width: 100% !important;
}

#lightbox {
  position: fixed !important;
  top: 50% !important;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.lb-outerContainer {
  background-color: transparent;
}

.lb-nav {
  position: fixed;
  pointer-events: auto;
  z-index: 0;
}
.lb-nav a.lb-prev, .lb-nav a.lb-next {
  float: none;
  width: 50px;
  height: 50px;
  background-size: contain;
  position: absolute;
  top: 48%;
  opacity: 0.8;
}
.lb-nav a.lb-prev {
  left: 0;
}
.lb-nav a.lb-next {
  right: 0;
}
@media (max-width: 576px) {
  .lb-nav a.lb-prev, .lb-nav a.lb-next {
    width: 30px;
    height: 30px;
    top: 38%;
  }
}

.lightbox .lb-image {
  border: none;
}

.lb-data .lb-details {
  width: 100%;
  color: #fff;
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  text-align: center;
  padding: 10px 15px;
}
.lb-data .lb-caption {
  font-size: clamp(1.6rem, 1.6rem + 0.125vw, 1.8rem);
  font-weight: 400;
}
.lb-data .lb-close {
  position: fixed;
  right: 10px;
  top: 0px;
}
@media (max-width: 991px) {
  .lb-data .lb-close {
    top: -35px;
  }
}

.lb-cancel {
  width: 50px;
  height: 50px;
  background: url(../images/loading_new.gif) no-repeat;
  background-size: contain;
  opacity: 0.8;
}

.lb-loader {
  position: fixed;
}

.gotop {
  width: 40px;
  height: 40px;
  background-color: #000;
  color: #FFF;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  position: fixed;
  right: 15px;
  bottom: 15px;
  opacity: 0.5;
}
.gotop a {
  color: #FFF;
  font-size: 20px;
  line-height: 40px;
}
.gotop:hover {
  opacity: 0.8;
}