@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 {
  background: url(../img/kv-bg.png) center center repeat;
  background-size: 1920px;
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  line-height: 32px;
  font-size: 1rem;
  color: #fff;
  overflow-x: hidden;
}
h2 {
  font-weight: 600;
  letter-spacing: 3px;
}
p {
  font-weight: 600;
  margin: unset;
}
span {
  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: 768px) {
  .pc {
    display: block;
  }
  .mb {
    display: none;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
}
/*========================================================
                          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;
  }
}
/*========================================================
                          kv
=========================================================*/

.kv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kv-inner {
  position: relative;
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kv-title {
  color: #e9b982;
  font-size: 9.2vw;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0;
  white-space: nowrap;
}
.kv-logo {
  position: relative;
  width: 65%;
  margin: 10% 0;
}
.kv-logo img {
  display: block;
  height: auto;
  object-fit: contain;
  animation: kv-logo-glow 4.6s ease-in-out infinite;
  will-change: filter;
}
.kv-logo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 226, 151, 0.18) 42%,
    rgba(255, 250, 220, 0.95) 49%,
    rgba(255, 213, 112, 0.28) 56%,
    transparent 68%
  );
  background-position: 160% center;
  background-size: 260% 100%;
  -webkit-mask: url(../img/kv-logo.svg) center / contain no-repeat;
  mask: url(../img/kv-logo.svg) center / contain no-repeat;
  animation: kv-logo-shine 5.8s ease-in-out infinite;
  mix-blend-mode: screen;
}
.kv-decor {
  position: relative;
  pointer-events: none;
  margin: 5% 0 10% 0;
}
.kv-decor > img:not(.kv-dot) {
  display: block;
  height: auto;
  object-fit: contain;
  animation: kv-decor-glow 4.8s ease-in-out infinite;
  will-change: filter;
}
.kv-decor::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255, 210, 111, 0.12) 39%,
    rgba(255, 248, 210, 0.9) 48%,
    rgba(255, 205, 92, 0.18) 58%,
    transparent 72%
  );
  background-position: 170% center;
  background-size: 280% 100%;
  -webkit-mask: url(../img/kv-decor.png) center / 100% 100% no-repeat;
  mask: url(../img/kv-decor.png) center / 100% 100% no-repeat;
  animation: kv-decor-shine 6.5s ease-in-out infinite 0.8s;
  mix-blend-mode: screen;
}
.kv-slogan {
  width: 100%;
  text-align: center;
  font-family: "Noto Serif TC", serif;
  line-height: 1.25;
}
.kv-distance {
  font-size: 7.1vw;
  font-weight: 500;
}
.kv-distance small {
  font-size: 4.6vw;
  font-weight: 500;
  margin: 0 1vw;
}
.kv-distance strong {
  font-size: 11vw;
  font-weight: 500;
}
.kv-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5vh;
}
.kv-product span {
  position: relative;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 5.5px;
}
.kv-product span::before,
.kv-product span::after {
  position: absolute;
  top: 0;
  display: block;
  content: "";
  width: 1.5px;
  height: 100%;
  background-color: #fff;
}
.kv-product span::before {
  left: -6%;
}
.kv-product span::after {
  right: -6%;
}
.kv-product strong {
  color: #e9b982;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
}
.kv-dot {
  height: auto;
  position: absolute;
  mix-blend-mode: color-dodge;
  object-fit: contain;
  transform-origin: center;
  animation: kv-dot-glow 3.8s ease-in-out infinite;
  will-change: opacity, filter, transform;
}
.kv-dot1 {
  width: 12%;
  bottom: 50%;
  left: -2%;
  animation-delay: -1.4s;
}
.kv-dot2 {
  width: 15%;
  top: -15%;
  right: 10%;
  animation-delay: -2.7s;
}

@keyframes kv-dot-glow {
  0%,
  100% {
    opacity: 0.55;
    filter: brightness(0.9);
    transform: scale(0.9);
  }
  45% {
    opacity: 1;
    filter: brightness(1.45);
    transform: scale(1.14);
  }
  65% {
    opacity: 0.75;
    filter: brightness(1.1);
    transform: scale(1);
  }
}

@keyframes kv-logo-glow {
  0%,
  100% {
    filter: brightness(0.98) drop-shadow(0 0 2px rgba(255, 205, 112, 0.2));
  }
  50% {
    filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 218, 148, 0.55));
  }
}

@keyframes kv-logo-shine {
  0%,
  18% {
    background-position: 160% center;
    opacity: 0;
  }
  28% {
    opacity: 1;
  }
  52%,
  100% {
    background-position: -75% center;
    opacity: 0;
  }
}

@keyframes kv-decor-glow {
  0%,
  100% {
    filter: brightness(0.95) saturate(0.95)
      drop-shadow(0 1px 2px rgba(85, 35, 0, 0.25));
  }
  50% {
    filter: brightness(1.18) saturate(1.12)
      drop-shadow(0 0 9px rgba(255, 207, 105, 0.45));
  }
}

@keyframes kv-decor-shine {
  0%,
  20% {
    background-position: 170% center;
    opacity: 0;
  }
  31% {
    opacity: 0.9;
  }
  58%,
  100% {
    background-position: -80% center;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kv-logo img,
  .kv-logo::after,
  .kv-decor > img:not(.kv-dot),
  .kv-decor::after,
  .kv-dot {
    animation: none;
  }
}

@media screen and (min-width: 768px) {
  .kv-title {
    font-size: 6.5vw;
  }
  .kv-logo {
    width: 48%;
  }
  .kv-distance {
    font-size: 5.2vw;
  }
  .kv-distance small {
    font-size: 3.6vw;
  }
  .kv-distance strong {
    font-size: 7.2vw;
  }
  .kv-product {
    flex-direction: row;
    justify-content: center;
    gap: 2vw;
  }
  .kv-product span,
  .kv-product strong {
    font-size: 5.5vw;
  }
  .kv-product span {
    letter-spacing: 0;
    padding-left: 0;
  }
  .kv-product span::before,
  .kv-product span::after {
    display: none;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .kv {
    height: 100vh;
  }
  .kv-inner {
    height: 90%;
  }
  .kv-title {
    font-size: 66px;
    line-height: 1.5;
  }
  .kv-logo {
    width: 22%;
    max-width: 500px;
    margin: 4% 0 0 0;
  }
  .kv-decor {
    width: 100%;
    margin: 0;
  }
  .kv-distance {
    font-size: 2.75vw;
  }
  .kv-distance small {
    font-size: 1.5vw;
    margin: 0 0.4vw;
  }
  .kv-distance strong {
    font-size: 4.25vw;
  }
  .kv-product {
    gap: 2.1vw;
    margin-top: 0;
  }
  .kv-product span,
  .kv-product strong {
    font-size: 2.75vw;
  }
}

/*========================================================
                          section2
=========================================================*/

.section2 {
  width: 100%;
  height: 100%;
}
.section2-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.section2-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section2-text {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.section2-title {
  width: 75%;
  margin: 0 auto;
  color: #e9b982;
  font-size: 7.4vw;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}
.section2-train {
  width: 90%;
  align-self: flex-end;
  margin: 8% 0;
}
.section2-content {
  width: 75%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4.5vh;
}
.section2-content p {
  font-size: 3.2vw;
  font-weight: 500;
  line-height: 2;
}
.section2-photo {
  width: 75%;
  display: flex;
  flex-direction: column;
  margin: 10% auto 0;
}
.section2-photo img {
  order: 2;
}
.section2-photo figcaption {
  order: 1;
  color: #e9b982;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
  margin-bottom: 0.6vh;
}

@media screen and (min-width: 768px) {
  .section2-title,
  .section2-content,
  .section2-photo {
    width: 70%;
  }
  .section2-title {
    font-size: 5vw;
  }
  .section2-train {
    width: 85%;
  }
  .section2-content p {
    font-size: 2.4vw;
  }
  .section2-photo figcaption {
    font-size: 14.4px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section2 {
    height: 100vh;
    padding: 0;
  }
  .section2-inner {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
  }
  .section2-box {
    width: 90%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .section2-text {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    height: 100%;
  }
  .section2-title {
    align-self: center;
    width: unset;
    margin: 0 0 5% 0;
    font-size: 36px;
    line-height: 1.3;
  }
  .section2-content {
    width: 85%;
    margin: 0;
    gap: 5vh;
  }
  .section2-content p {
    font-size: 17px;
    line-height: 34px;
  }
  .section2-train {
    order: 2;
    width: 100%;
    margin: 0;
  }
  .section2-photo {
    position: relative;
    order: 1;
    width: 50%;
    height: 100%;
    margin: 0 5% 0 0;
  }
  .section2-photo img {
    order: 1;
  }
  .section2-photo figcaption {
    order: 2;
    margin: 1% 0 0 0;
  }
}

@media screen and (min-width: 1500px) {
  .section2-title {
    font-size: 48px;
    line-height: 1.5;
  }
  .section2-content p {
    font-size: 20px;
    line-height: 40px;
  }
  .section2-photo figcaption {
    font-size: 16px;
  }
}

/*========================================================
                          section3
=========================================================*/

.section3 {
  width: 100%;
  height: 100%;
  padding: 100px 0 40px;
  overflow: hidden;
}
.section3-inner {
  width: 75%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.section3-title {
  color: #e9b982;
  font-size: 7.4vw;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 3.2vh;
}
.section3-content {
  display: flex;
  flex-direction: column;
}
.section3-content p {
  font-size: 3.2vw;
  font-weight: 500;
  line-height: 2;
}
.section3-gallery {
  width: 77.5%;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  margin-top: 2.5vh;
}
.section3-work {
  display: flex;
  flex-direction: column;
}
.section3-work img {
  height: auto;
  object-fit: cover;
}
.section3-work figcaption {
  color: #e9b982;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 0.7vh;
}

@media screen and (min-width: 768px) {
  .section3-inner {
    width: 70%;
  }
  .section3-title {
    font-size: 5vw;
  }
  .section3-content p {
    font-size: 2.4vw;
  }
  .section3-work figcaption {
    font-size: 14.4px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section3 {
    height: 100vh;
    padding: 0;
  }
  .section3-inner {
    width: 85%;
    max-width: 800px;
    height: 100%;
    justify-content: center;
  }
  .section3-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 5%;
  }
  .section3-content {
    width: 85%;
  }
  .section3-content p {
    font-size: 17px;
    line-height: 34px;
  }
  .section3-gallery {
    width: 100%;
    flex-direction: row;
    gap: 1.2%;
    margin-top: 4vh;
  }
  .section3-work {
    width: 50%;
  }
  .section3-work figcaption {
    font-size: 1.05vw;
    margin-top: 0.7vh;
  }
}

@media screen and (min-width: 1500px) {
  .section3-inner {
    max-width: 900px;
  }
  .section3-title {
    font-size: 48px;
    line-height: 1.5;
  }
  .section3-content p {
    font-size: 20px;
    line-height: 40px;
  }
  .section3-work figcaption {
    font-size: 16px;
  }
}

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

.form-text {
  width: 65%;
  margin-bottom: 8%;
}
input,
select {
  background-color: #eeeeef;
  border-radius: 0;
  color: #755635;
  outline-color: #755635;
  border: 1px solid #755635;
  padding-left: 15px;
  opacity: 0.8;
}
input:focus,
select:focus {
  scale: 1.01;
  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: #755635 !important;
}
:-ms-input-placeholder {
  color: #755635 !important;
}
::-ms-input-placeholder {
  color: #755635 !important;
}
.reservation {
  width: 100%;
  height: 100%;
  min-height: 800px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 60px 0;
}
.reservation .box {
  max-width: 800px;
  margin: 0 auto;
  width: 85%;
}
.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%;
}
.reservation .form_check_txt {
  color: #fff;
  font-size: 13px;
  margin-left: 3px;
  line-height: 1.5;
}
.reservation .form_check_txt a {
  text-decoration: none;
  color: #fff;
}
.reservation .reg_btn {
  width: 100%;
  background-color: #c47b2e;
  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: #e3c5a4;
  opacity: 0.8;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: #e3c5a4;
  opacity: 0.6;
}
.reservation .msgerror {
  color: #f6cebb;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}
.input-error {
  border: 2px solid #dbbbac !important;
}
.input-error:focus {
  outline: 0;
  box-shadow: 0 0 10px 3px rgb(149 149 149) !important;
}
.priv {
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
  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 .box {
    width: 80%;
  }
  .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 {
    height: 100vh;
    justify-content: center;
    padding: 80px 0;
  }
  .res {
    max-width: 900px;
    margin: 5% 0;
  }
  .reservation .box {
    display: flex;
    justify-content: center;
    max-width: 1100px;
    gap: 5%;
  }
  #myform {
    width: 50%;
  }
  .map-block {
    width: 50%;
    margin: unset;
  }
  .priv,
  .info {
    font-size: 16px;
  }
  .reservation .form_check_txt {
    font-size: 16px;
  }
  .form-text {
    width: 65%;
  }
}

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

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

footer {
  background-color: #e7b380;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.modal-body {
  overflow-y: auto;
  padding: 20px;
}
.fancybox-inner {
  color: #333;
}

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