:root {
  --color0: #000;
  --color1: #111;
  --color2: #222;
  --color3: #333;
  --color4: #444;
  --color5: #555;
  --color6: #666;
  --color7: #777;
  --color8: #888;
  --color9: #999;
  --colora: #aaa;
  --colorb: #bbb;
  --colorc: #ccc;
  --colord: #ddd;
  --colore: #eee;
  --colorf: #fff;
  --colorz: #002f5e;
  --colorr: #c2212b;
}

:root {
  --font: "Microsoft JhengHei", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  margin: 0;
}

body {
  font-family: var(--font);
  background-color: var(--colorf);
  font-size: 16px;
  color: var(--color0);
  margin: 0;
  padding: 0;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1040px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1170px;
  }
}

.header {
  background-color: var(--colorz);
}

@media (min-width: 992px) {
  .header {
    height: auto;
  }
}

.header-box {
  position: relative;
}

.logo {
  display: inline-block;
  position: relative;
}

.logo img {
  width: auto;
  height: 70px;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex;
    justify-content: center;
  }

  .logo {
    position: absolute;
    top: 0;
    z-index: 9;
  }

  .logo img {
    width: 140px;
    height: auto;
  }
}

@media (max-width: 991px) {
  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .navbar {
    padding: 0;
  }

  .logo a {
    display: inline-block;
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 999;
  }

  .navbar-toggler {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  /* .header-box {
    padding: 10px 0;
  } */
}

.nav-link {
  color: #fff;
  font-size: 16px;
  position: relative;
  text-transform: capitalize;
}

.nav-link.active,
.nav-link:hover {
  color: var(--colorr) !important;
}

@media (min-width: 992px) {
  .nav-link {
    font-size: 20px;
    font-weight: bold;
    padding: 12px 20px !important;
  }

  .nav-link::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--colorr);
    position: absolute;
    left: 0;
    bottom: -8px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }

  .nav-link.active::before {
    opacity: 1;
  }
}

@media (min-width: 992px) {
  .web-language {
    position: absolute;
    right: 0;
  }
}

.web-language a {
  text-transform: capitalize;
  text-decoration: none;
  color: var(--colorf);
  font-size: 16px;
  font-family: serif;
}

.web-language a::after {
  content: "|";
  margin: 0 10px;
  color: var(--colorf);
}

.web-language a:last-child::after {
  content: "";
}

.web-language a.active {
  color: var(--colorr);
}

.navbar-toggler {
  border: none;
  color: var(--colorf);
}

.navbar-toggler:focus {
  border: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.banner {
  min-height: 130px;
  height: auto;
  overflow: hidden;
}

.banner .swiper-slide img {
  min-height: 150px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1400px) {
  .banner .swiper-slide img {
    min-height: 480px;
  }
}

.inner-banner {
  min-height: 120px;
  height: auto;
}

.inner-banner img {
  min-height: 120px;
  width: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet-active {
  background: var(--colorz);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  color: var(--colorz);
}

@media (min-width: 768px) {
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  .banner .swiper-button-next,
  .banner .swiper-button-prev,
  .inner-banner .swiper-button-next,
  .inner-banner .swiper-button-prev {
    display: none;
  }
}

.banner .swiper-wrapper,
.inner-banner .swiper-wrapper {
  height: auto;
}

.main {
  margin-top: 30px;
}

@media (min-width: 992px) {
  .main {
    margin-top: 60px;
  }
}

.form-item {
  padding: 20px 20px 30px;
  border-radius: 10px;
  background: var(--colorf);
  box-shadow: 0 8px 20px 0 rgba(0, 47, 94, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .form-item {
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .form-item {
    padding: 25px 40px 35px;
  }
}

@media (min-width: 1024px) {
  .form-item {
    margin-bottom: 50px;
  }
}

.form-title {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--colorc);
}

.form-title-icon {
  width: 30px;
  height: 30px;
  background-color: var(--colorz);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.form-title h2 {
  font-size: 20px;
  font-weight: bold;
  color: var(--colorz);
}

@media (min-width: 992px) {
  .form-title-icon {
    width: 40px;
    height: 40px;
  }
  .form-title h2 {
    font-size: 24px;
  }
}

.form-label {
  font-size: 16px;
  color: var(--color3);
  margin-bottom: 5px;
}

.form-select,
.form-control {
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 6px 10px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.25rem;
  padding-left: 0.75rem;
  font-size: 15px;
}

.form-control {
  background-image: none;
}

@media (min-width: 768px) {
  .form-select,
  .form-control {
    padding: 10px 12px;
  }
}

select.form-select:disabled,
input.form-control:disabled {
  background-color: var(--colorf);
  border-color: var(--colore);
  color: var(--colore);
}

select.form-select:disabled {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23eeeeee' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

input.form-control:disabled::placeholder {
  color: var(--colore);
}

.form-check-inline {
  padding: 5px 20px;
  font-size: 14px;
  color: var(--color0);
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--colorf);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .form-check-inline {
    padding: 10px 30px;
    font-size: 16px;
  }
}

.form-check-inline.active {
  background-color: var(--colorz);
  border-color: var(--colorz);
  color: var(--colorf) !important;
}

.form-check-inline:hover {
  border-color: #002f5e;
  color: var(--colorz);
}

.form-check1 .form-check {
  width: 33.3333%;
}

.form-check-input:checked {
  background-color: var(--colorz);
  border-color: var(--colorz);
}

.form-label,
.form-check-label {
  text-transform: capitalize;
}

.v-code {
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media (max-width: 576px) {
  .v-code {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.v-code input {
  border: 1px solid var(--color9);
  border-radius: 5px;
  padding: 8px;
  margin-right: 10px;
}

@media (min-width: 768px) {
  .btn-box {
    display: flex;
    justify-content: flex-end;
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  outline: none;
  background-color: var(--colorz) !important;
  border-color: var(--colorz) !important;
  border-radius: 100px;
  padding: 8px 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  transform: skewX(-20deg);
  background-image: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.btn-primary:hover::after {
  animation: shine 1.6s ease;
}

.btn-primary.active {
  transform: translateY(1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@keyframes shine {
  100% {
    left: 200%;
  }
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 10px 60px;
    font-size: 18px;
  }
}

footer {
  margin-top: 40px;
  background-color: var(--colorz);
  padding: 6px 0;
  overflow: hidden;
}

.footer-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  footer {
    margin-top: 50px;
    padding: 20px 0;
  }
}

@media (min-width: 1024px) {
  footer {
    margin-top: 80px;
  }
}

@media (max-width: 575px) {
  footer {
    margin-bottom: 56px;
  }
}

.footer-text,
.footer-link a {
  color: var(--colorf);
  font-size: 14px;
}

.footer-link a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.footer-link a::after {
  content: " | ";
  margin: 0 5px;
}

.footer-link a:last-child::after {
  content: "";
}

.footer-link a:hover {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 576px) {
  .footer-text,
  .footer-link {
    width: 100%;
    text-align: center;
  }
}

#back-to-top {
  position: fixed;
  right: 8px;
  bottom: 8px;
  display: none;
  z-index: 999;
}

@media (max-width: 576px) {
  #back-to-top {
    bottom: 66px;
  }
}

#back-to-top.show {
  display: block;
}

.back-to-top {
  width: 35px;
  height: 35px;
  background-color: var(--colorf);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
  }
}

.back-to-top i.fa {
  color: var(--colorz);
}

.fixed-icon {
  position: fixed;
  width: auto;
  right: 0;
  left: 0;
  bottom: 0px;
  top: auto;
  background-color: var(--colorf);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.fixed-icon-item {
  margin: 0 20px;
  transition: all 0.3s ease-in-out;
}

.fixed-icon-item:hover {
  transform: translateY(-2px);
  transform: scale(1.1);
}

.fixed-icon-item svg {
  fill: var(--colorz);
  width: 36px;
  height: 36px;
}

@media (min-width: 576px) {
  .fixed-icon {
    position: fixed;
    width: auto;
    right: 0;
    left: auto;
    bottom: auto;
    top: 40%;
    background-color: var(--colorz);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 15px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    box-shadow: none;
  }

  .fixed-icon-item {
    margin: 8px 0;
  }

  .fixed-icon-item svg {
    fill: var(--colorf) !important;
    width: 30px;
    height: 30px;
  }
}

.accordion-button::after {
  transform: rotate(-90deg);
  transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(0deg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
  background-color: var(--colorz);
  color: var(--colorf);
}

.accordion-item {
  border: none;
  margin-bottom: 14px;
}

.accordion-button {
  border-radius: 10px !important;
  background: #f0f4f6;
  color: #002f5e;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

@media (min-width: 768px) {
  .accordion-button {
    font-size: 20px;
  }
}

.accordion-button:focus {
  box-shadow: none;
}

.about {
  overflow: hidden;
}

@media (min-width: 992px) {
  .about {
    margin-top: 30px;
  }
}

.inner-title {
  padding-top: 10px;
  padding-left: 0px;
  position: relative;
}

.inner-title::after {
  content: "";
  position: absolute;
  left: auto;
  top: -10px;
  width: 44px;
  height: 50px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #f0f4f6;
  z-index: -1;
}

.inner-title h2 {
  font-size: 22px;
  font-weight: bold;
  color: var(--colorz);
  padding-left: 26px;
}

@media (min-width: 768px) {
  .inner-title {
    padding-top: 25px;
    padding-left: 20px;
  }

  .inner-title::after {
    left: 0;
    top: 0;
    width: 64px;
    height: 70px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  .inner-title h2 {
    font-size: 26px;
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .inner-title {
    padding-top: 35px;
    padding-left: 25px;
  }

  .inner-title::after {
    width: 74px;
    height: 80px;
  }

  .inner-title h2 {
    font-size: 32px;
  }
}

.inner-text p {
  font-size: 16px;
  color: var(--color3);
}

@media (min-width: 768px) {
  .inner-text p {
    font-size: 18px;
  }

  .flex-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
}

.inner-text ul li {
  font-size: 16px;
  color: var(--colorz);
  margin-bottom: 6px;
}

.inner-text ul li svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .inner-text ul li {
    font-size: 17px;
    margin-bottom: 15px;
  }

  .inner-text ul li svg {
    width: 28px;
    height: 28px;
  }
}

.inner-img {
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .inner-img {
    border-top-right-radius: 100px;
    border-bottom-left-radius: 100px;
  }
}

.hr-line {
  height: 20px;
}

@media (min-width: 768px) {
  .hr-line {
    height: 40px;
  }
}

.discount {
  overflow: hidden;
}

.dis-img img {
  width: 100%;
}

.dis-text h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--colorz);
  margin-bottom: 14px;
}

.dis-text p,
.dis-text li {
  font-size: 16px;
  color: #666;
}

@media (min-width: 768px) {
  .dis-text h3 {
    font-size: 24px;
  }

  .dis-text p,
  .dis-text li {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .dis-text h3 {
    font-size: 28px;
  }
}

.more-dis-txt {
  position: relative;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.more-dis-txt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  transition: opacity 0.3s ease;
  opacity: 1;
}

.more-dis-txt.expanded::after {
  opacity: 0;
}

.contact {
  overflow: hidden;
}

.click-more {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--colorz) !important;
  transition: transform 0.3s ease;
}

.click-more svg {
  transition: transform 0.3s ease;
}

.map {
  height: 350px;
  border: 2px solid var(--colorf);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: var(--colorf);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  min-height: 500px;
  max-height: 80%;
  width: 80%;
  height: auto;
  position: relative;
  overflow-y: auto;
}

@media (max-width: 575px) {
  .popup-content {
    padding: 15px;
  }
}

.popup-close1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  padding: 5px;
  background-color: var(--colorz);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.popup-close1 svg {
  fill: var(--colorf) !important;
}

/* 後期去掉 */
@media (max-width: 767px) {
  .captcha-box img{
    max-width: 230px;
  }
}





.booking-box input[type="radio"] { 
  /*display: none;*/
  opacity:0;
  width:0.1px;
}
