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

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

/*========================================================
                         基本設定
=========================================================*/

/* 基礎重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 32px;
  font-size: 1rem;
  color: #111;
  overflow-x: hidden;
  background-color: #fff;
}
p {
  margin: unset;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.pc {
  display: none;
}

.mb {
  display: block;
}
section {
  min-height: 800px;
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  section {
    min-height: unset;
  }
  .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(31 105 66 / 62%);
    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 {
  min-height: unset;
  background: url(../img/kv-bg.png) no-repeat center center;
  background-size: cover;
  z-index: -2;
  width: 100%;
  height: 100vh;
  height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.section1 .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65%;
  height: 72.5%;
  gap: 6%;
}
.kv-t1 {
  position: relative;
  width: 85%;
}
.style2 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.kv-pic {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: -125%;
  width: 300%;
  pointer-events: none;
}
.kv-x {
  animation: breathe 2s ease-in-out infinite;
  transform-origin: center;
}
.kv-t3 {
  position: relative;
  transform-origin: center;
  animation: breathe2 2.5s ease-in-out 4;
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.7;
    scale: 1;
  }

  50% {
    opacity: 1;
    scale: 1.1;
  }
}
@keyframes breathe2 {
  0%,
  100% {
    scale: 1;
  }

  50% {
    scale: 1.05;
  }
}

@media screen and (min-width: 768px) {
  .section1 .box {
    width: 50%;
    height: 75%;
  }
  .kv-pic {
    left: -75%;
    width: 225%;
    height: unset;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section1 .box {
    width: 65%;
    height: 65%;
  }
  .kv-pic {
    left: 0;
    width: 100%;
  }
}

/*========================================================
                         預約賞屋
=========================================================*/

.form-text {
  width: 70%;
  margin-bottom: 8%;
}

input,
select {
  background-color: #fff;
  border-radius: 0;
  color: #226942;
  outline-color: #226942;
  border: 1px solid #226942;
  padding-left: 15px;
  opacity: 0.6;
}
input:focus,
select:focus {
  background-color: #fff;
  opacity: 1;
}
input[type="text"],
input[type="phone"],
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: #226942 !important;
}
:-ms-input-placeholder {
  color: #226942 !important;
}
::-ms-input-placeholder {
  color: #226942 !important;
}
.reservation {
  background: url(../img/kv-bg.png) no-repeat center center;
  background-size: cover;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 800px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 65% 0;
}
.reservation .box {
  max-width: 800px;
  margin: 0 auto;
  width: 90%;
}
.reservation .input-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
/* 所有欄位預設一列寬 */
.reservation .input-block input,
.reservation .input-block select {
  flex: 1 1 100%;
}
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: #226942;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  border: none;
  margin-top: 20px;
  padding: 10px 20px;
  line-height: normal;
}
.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;
}
.btn-block {
  color: #006e4b;
}
.priv {
  margin-bottom: 2%;
}
.info {
  margin-top: 4%;
}
.map-block {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 5% 0;
}
.map {
  width: 100%;
  height: 350px;
}

/* 平板以上：兩欄排版邏輯 */
@media screen and (min-width: 768px) {
  .reservation {
    padding: 80px 0 40% 0;
  }
  .reservation .input-block .field-group-half {
    flex: 1 1 calc(50% - 7px); /* 兩欄，中間 gap 是14px */
  }

  .reservation .input-block .field-group-full {
    flex: 1 1 100%;
  }
  .form-text {
    width: 55%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .reservation {
    justify-content: center;
    padding: 7.5% 0 25% 0;
  }
  .reservation .box {
    display: flex;
    max-width: 1100px;
    gap: 5%;
  }
  #myform {
    width: 50%;
  }
  .map-block {
    width: 50%;
    margin: unset;
  }
  .priv,
  .info {
    font-size: 17px;
  }
  .reservation .form_check_txt {
    font-size: 16px;
  }
  .form-text {
    width: 65%;
  }
}

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

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

.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;
  }
}

[data-aos="custom-zoom-out"] {
  transform: scale(1.2);
  opacity: 1;
  transition-property: transform, opacity;
  transition:
    transform 5s ease,
    opacity 3s ease !important;
}

[data-aos="custom-zoom-out"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

[data-aos="custom-fade-up"] {
  transform: translateY(20px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="custom-fade-down"] {
  transform: translateY(-20px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-down"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="custom-fade-right"] {
  transform: translateX(20px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="custom-fade-left"] {
  transform: translateX(-20px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade"] {
  opacity: 0;
  transition: opacity 2s ease;
}

[data-aos="fade"].aos-animate {
  opacity: 1;
}
