@import url(../fonts/flaticon/flaticon.css);
@import url(../css/revise.css);

.wow {
  visibility: hidden;
}
.wow.animate__animated {
  visibility: visible;
}

/*========================================================
                         基本設定
=========================================================*/
@font-face {
  font-family: SweiFanSerifCJKtc-Regular;
  src:
    url(https://cdn.jsdelivr.net/gh/max32002/swei-fan-serif@1.1/WebFont/CJK%20TC/SweiFanSerifCJKtc-Regular.woff2)
      format("woff2"),
    url(https://cdn.jsdelivr.net/gh/max32002/swei-fan-serif@1.1/WebFont/CJK%20TC/SweiFanSerifCJKtc-Regular.woff)
      format("woff");
}

/* 基礎重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: rgba(216, 219, 203, 0.3);
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  line-height: 32px;
  font-size: 1rem;
  color: #111;
  overflow-x: hidden;
}
h2 {
  font-family: "SweiFanSerifCJKtc-Regular", "Noto Serif TC";
  font-weight: 600;
  letter-spacing: 3px;
}
p {
  font-family: "SweiFanSerifCJKtc-Regular", "Noto Sans TC";
  font-weight: 600;
  margin: unset;
}
span {
  font-family: "SweiFanSerifCJKtc-Regular", "Noto Sans TC";
  font-weight: 600;
  letter-spacing: 1.2px;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.style2 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* google recaptcha 隱藏 */
.grecaptcha-badge {
  visibility: hidden;
}

.pc {
  display: none;
}

.mb {
  display: block;
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .pc {
    display: block;
  }
  .mb {
    display: none;
  }
}
/*========================================================
                          nav
=========================================================*/

.navbar {
  padding: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  display: flex;
  justify-content: end;
  /* Sticky */
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s;
}
.navbar .navbar-Link {
  display: flex;
  flex-direction: column;
}
.navbar .navbar-Link .btn {
  flex: 1;
  font-size: 1rem;
  color: #fff;
  padding: 20px;
  text-align: center;
  background-color: transparent;
  border-color: transparent;
  transition: all 0.4s;
  box-shadow: 0 0 0;
  text-shadow: 0 0 10px rgba(67, 66, 66, 0.678);
}
.navbar .navbar-Link .btn:hover,
.navbar .navbar-Link .btn:active {
  border-color: transparent;
}
.navbar .navbar-Link .btn:hover i,
.navbar .navbar-Link .btn:active i {
  font-size: 2.2rem;
  transition: all 0.4s;
}
.navbar .navbar-Link .btn i {
  display: block;
  font-size: 1.5rem;
}
.navbar .navbar-Link .btn span {
  display: block;
  font-size: 0.8rem;
}
.navbar.Sticky {
  opacity: 1;
  transform: translateY(0px);
  transition: all 0.5s;
}
@media (max-width: 991px) {
  .navbar {
    box-shadow: 0px -6px 20px rgba(0, 0, 0, 0.1);
    bottom: 0;
    top: auto;
    width: 100%;
    background-color: rgba(252, 252, 252, 0.571);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
  .navbar .navbar-brand {
    display: none;
  }
  .navbar .navbar-Link {
    width: 100%;
    flex-direction: row;
  }
  .navbar .navbar-Link .btn {
    min-width: auto;
    font-size: 14px;
    padding: 10px 0;
    padding-bottom: 14px;
    text-shadow: 0 0 0;
    color: rgb(38 89 46 / 75%);
    border-left: 1px solid rgba(118, 114, 114, 0.1921568627);
  }
  .navbar .navbar-Link .btn:hover,
  .navbar .navbar-Link .btn:active {
    border-color: transparent;
    border-left: 1px solid rgba(118, 114, 114, 0.1921568627);
  }
  .navbar .navbar-Link .btn:hover i,
  .navbar .navbar-Link .btn:active i {
    font-size: 1rem;
  }
  .navbar .navbar-Link .btn i {
    display: block;
    font-size: 1rem;
  }
  .navbar .navbar-Link .btn span {
    display: none;
  }
}
/*========================================================
                          區塊1
=========================================================*/

.section1 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.kv-video {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background-color: #1c1c1c;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}
.section1 .box {
  width: 90%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section1 .box .text {
  width: 100%;
  margin-bottom: 10%;
}
.section1 h2 {
  font-size: 28px;
}
.section1 p {
  font-size: 14px;
}
.section1 a {
  display: block;
  color: #fff;
  font-family: "SweiFanSerifCJKtc-Regular", "Noto Serif TC";
  letter-spacing: 3px;
  text-wrap: nowrap;
}
.section1 .bi-play-circle-fill::before {
  animation: bounceRight 1.2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes bounceRight {
  0%,
  100% {
    transform: translateX(0); /* 起點與終點 */
  }
  50% {
    transform: translateX(3px);
  }
}
.grn {
  color: #a2b946;
}
.kv-prosco {
  width: 90%;
  position: absolute;
  left: 50%;
  bottom: 2.5%;
  transform: translate(-50%, 0);
}

@media screen and (min-width: 768px) {
  .section1 {
    aspect-ratio: 16 / 9;
  }
  .kv-video {
    aspect-ratio: 16 / 9;
  }
  .section1 .box .text {
    margin-bottom: 5%;
  }
  .section1 h2 {
    font-size: 40px;
    line-height: 1.5;
    letter-spacing: 6px;
  }
  .section1 p {
    font-size: 20px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section1 h2 {
    font-size: 64px;
    line-height: 2;
    letter-spacing: 10px;
  }
  .section1 p {
    font-size: 28px;
  }
  .section1 a {
    font-size: 20px;
  }
}
@media screen and (min-width: 1500px) {
}

/*========================================================
                         預約賞屋
=========================================================*/
.form-text {
  margin: 0 auto 10%;
  text-align: center;
  color: #344d2c;
}
.form-text h2 {
  font-size: 24px;
  letter-spacing: 4px;
}
.form-text p {
  letter-spacing: 5px;
}

input,
select {
  background-color: transparent;
  border-radius: 0;
  color: rgba(38, 33, 31, 0.8);
  outline-color: #c6c6c7;
  border: 1px solid #c6c6c7;
  padding-left: 15px;
  opacity: 0.8;
}
input:focus,
select:focus {
  opacity: 1;
  color: rgba(38, 33, 31, 1);
}
input[type="text"],
input[type="tel"],
select {
  height: 45px;
  width: 100%;
}
select {
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 24px auto;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}
::placeholder {
  color: rgba(38, 33, 31, 0.64) !important;
}
:-ms-input-placeholder {
  color: rgba(38, 33, 31, 0.64) !important;
}
::-ms-input-placeholder {
  color: rgba(38, 33, 31, 0.64) !important;
}
.reservation .input-block .field-group-half label,
.reservation .input-block .field-group-full label {
  display: block;
  line-height: 1;
  letter-spacing: 5px;
  color: #344d2c;
  font-family: SweiSpringCJKtc-Regular;
  font-weight: 400;
}
.reservation {
  width: 100%;
  height: 100%;
  min-height: 932px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}
.reservation .box {
  max-width: 800px;
  margin: 0 auto;
  width: 85%;
}
.reservation .input-block {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.reservation label {
  margin-bottom: 10px;
  font-weight: 600;
}
.reservation .radio-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.reservation .radio-item {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 5px;
  margin-bottom: 0 !important;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
}
.reservation .radio-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reservation .radio-item span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
}
.reservation .radio-item span::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1px solid #226942;
  border-radius: 50%;
  box-sizing: border-box;
  background-color: #fff;
}

.reservation .radio-item span::after {
  content: "";
  position: absolute;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: #226942;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.reservation .radio-item input:checked + span::after {
  opacity: 1;
  transform: scale(1);
}
.reservation .input-block .field-group-half,
.reservation .input-block .field-group-full {
  flex: 1 1 100%;
  min-width: 0;
}
/* 所有欄位預設一列寬 */
.reservation .input-block input,
.reservation .input-block select {
  width: 100%;
}
.reservation .input-block input[type="checkbox"] {
  appearance: none;
  background: transparent;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  opacity: 1;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border: 2px solid #226942;
}
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #226942;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.reservation .form_check_txt {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
  font-size: 14.4px;
  margin-left: 3px;
  line-height: 1.8;
}
.reservation .form_check_txt a {
  text-decoration: none;
}
.reservation .reg_btn {
  width: 100%;
  background-color: #00491f;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 5px;
  border: none;
  margin-top: 10px;
  padding: 8px 20px;
  line-height: 24px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}
.reservation .reg_btn i {
  color: #00491f;
  background-color: #fff;
  border-radius: 25px;
  padding: 0 10px 0 15px;
  line-height: 16px;
}
.reservation .reg_disabled {
  cursor: no-drop;
  opacity: 0.6;
}
.reservation .reg_btn:hover {
  background-color: #a4a3a3d2;
  color: #565555;
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: #a4a3a3d2;
  opacity: 0.6;
}
.reservation .msgerror {
  color: #c40101;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}
.input-error {
  border: 2px solid #ee7878 !important;
}
.input-error:focus {
  outline: 0;
}
.text-center {
  width: 100%;
  color: #344d2c;
}

/* 平板以上：兩欄排版邏輯 */
@media screen and (min-width: 768px) {
  .reservation .input-block .field-group-half {
    flex: 1 1 calc(50% - 14px); /* 兩欄，中間 gap 是14px */
  }
  .reservation .input-block .field-group-full {
    flex: 1 1 100%;
  }
  .reservation .reg_btn {
    width: unset;
    margin-top: 0;
  }
  .reservation .input-block {
    gap: 36px 28px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .reservation {
    padding: 80px 0 40px 0;
  }
  .form-text {
    margin-bottom: 3%;
  }
  .form-text h2 {
    font-size: 28px;
  }
  .form-text p {
    font-size: 18px;
  }
  .reservation .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 550px;
    gap: 5%;
  }
}

@media screen and (min-width: 1500px) {
  .reservation .box {
    max-width: 800px;
  }
}

/*========================================================
                         footer
=========================================================*/

footer {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: #26211f;
  border-top: 1px solid rgba(38, 33, 31, 0.3);
}

footer p {
  margin: unset;
  font-size: 0.75rem;
}

/*========================================================
                         隱私權聲明
=========================================================*/

.fancybox-container {
  z-index: 9999999;
}

.modal-body {
  overflow-y: auto;
  padding: 20px;
}

.modal-header {
  border-bottom: none;
}

.modal-body h2 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-body p span {
  font-weight: bold;
  font-size: 1.1rem;
}

.modal-dialog {
  margin-bottom: 80px;
}

@media (min-width: 576px) {
  .modal-body {
    padding: 20px 40px;
  }

  .modal-dialog {
    max-width: 1000px;
  }
}

@media (min-width: 1024px) {
  .modal-body {
    padding: 20px 80px;
  }

  .modal-dialog {
    max-width: 1200px;
    margin-bottom: 0;
  }
}
