@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/ggg.png);
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 32px;
  font-size: 1rem;
  color: #111;
  overflow-x: hidden;
  background-color: #fff;
  position: relative;
}

p {
  margin: unset;
}

/* google recaptcha 隱藏 */
.grecaptcha-badge {
  visibility: hidden;
}
.pc {
  display: none;
}
.mb {
  display: block;
}
@media screen and (min-width: 768px) {
  body {
    background: url(../img/ggg-pc.png);
    background-size: cover;
    background-position: center center;
  }
  .pc {
    display: block;
  }
  .mb {
    display: none;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  body {
    background: url(../img/ggg-pc.png);
    background-size: cover;
    background-position: bottom center;
  }
}

/*========================================================
  區塊1
=========================================================*/
.section1 {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 9 / 16;
}
.top-video {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}
.section1 .text {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.section1 p {
  display: block;
  margin: 5% 0 2.5% 0;
}
.sound-toggle {
  position: absolute;
  right: 20px;
  bottom: 50px;
  z-index: 20;
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;

  font-size: 18px;
  cursor: pointer;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: 0.3s ease;
}

.sound-toggle:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
}
.sound-toggle i {
  pointer-events: none;
}
.sound-toggle:active {
  transform: scale(0.9);
}

@media screen and (min-width: 768px) {
  .section1 {
    aspect-ratio: 16 / 9;
  }
  .top-video {
    height: 100%;
    aspect-ratio: 16 / 9;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section1 {
    height: 100vh;
  }
  .top-video {
    height: 100vh;
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 87.5%,
      transparent 100%
    );
    mask-image: linear-gradient(to bottom, black 87.5%, transparent 100%);
  }
}

/*========================================================
  區塊2
=========================================================*/
.reservation .text {
  padding-bottom: 30px;
  width: 100%;
  text-align: center;
  color: #222222;
}
.reservation .t1 {
  color: #538303;
  font-weight: 700;
  font-size: 26px;
}
.reservation .t2 {
  margin: 10% 0 8% 0;
}
.reservation .t3 {
  margin: 0 0 10% 0;
}
.reservation .info {
  width: 52.5%;
}
.reservation .wj-logo {
  width: 60%;
  margin: 5% 0 12% 0;
}

@media screen and (min-width: 768px) {
  .reservation .text {
    padding-bottom: unset;
    margin: 5% 0;
    width: 100%;
    text-align: center;
    color: #222222;
    max-width: 600px;
  }
  .reservation .t1 {
    color: #538303;
    font-weight: 700;
    font-size: 32px;
  }
  .reservation .text p {
    font-size: 20px;
    line-height: 40px;
  }
  .reservation .t2 {
    margin: 10% 0 8% 0;
  }
  .reservation .t3 {
    margin: 0 0 10% 0;
  }
  .reservation .info {
    width: 100%;
    max-width: 325px;
  }
  .reservation .wj-logo {
    width: 40%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .reservation .wj-logo {
    width: 15%;
    margin: 3% 0 6% 0;
  }
  .reservation .wj-logo {
    width: 20%;
  }
}

@media screen and (min-width: 1500px) {
  .reservation .wj-logo {
    width: 15%;
  }
  .reservation .t1 {
    font-size: 34px;
  }
  .reservation .text p {
    font-size: 22px;
    line-height: 42px;
  }
  .reservation .info {
    max-width: 350px;
  }
}

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

input,
select {
  background-color: #fff;
  border-radius: unset;
  color: #000;
  outline-color: #c79a45;
  border: 1px solid #c5c2c2;
  padding-left: 15px;
  opacity: 0.9;
}
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: rgba(0, 0, 0, 0.6) !important;
}
:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.6) !important;
}
::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.6) !important;
}
.reservation {
  width: 100%;
  height: 100%;
  min-height: 750px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.reservation .box {
  max-width: 800px;
  width: 90%;
  margin-top: 15%;
}
.reservation .input-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
#myform {
  text-align: center;
}
/* 所有欄位預設一列寬 */
.reservation .input-block input,
.reservation .input-block select {
  flex: 1 1 100%;
}
.reservation .form_check_txt {
  color: #fff;
  font-size: 14px;
  margin-left: 3px;
  line-height: 1.8;
}
.reservation .form_check_txt a {
  text-decoration: none;
  color: #fff;
}
.reservation .reg_btn {
  width: 100%;
  background-color: #fef159;
  color: #222222;
  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: rgb(222 183 116 / 90%);
  color: #565555;
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: rgb(222 183 116 / 90%);
  opacity: 0.6;
}
.reservation .msgerror {
  color: rgb(130 34 30);
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}
.input-error {
  border: 2px solid #ee7878 !important;
}
.input-error:focus {
  outline: 0;
  box-shadow: 0 0 10px 3px rgb(149 149 149) !important;
}
.reservation .map {
  width: 90%;
  height: 350px;
  margin-bottom: 5%;
}

@media screen and (min-width: 768px) {
  .reservation {
    min-height: 800px;
  }
  .reservation .input-block .field-group-half {
    flex: 1 1 calc(50% - 7px); /* 兩欄，中間 gap 是14px */
  }
  .reservation .input-block .field-group-full {
    flex: 1 1 100%;
  }
  .reservation .reg_btn {
    max-width: 300px;
  }
  .reservation .box {
    width: 70%;
    margin-top: 10%;
  }
  #myform {
    font-size: 16px;
  }
  .footer-text {
    font-size: 18px;
    line-height: 36px;
  }
  .footer-text .ftt {
    font-size: 14.4px;
  }
  .reservation .map {
    margin-top: 5%;
    width: 80%;
  }
}
@media screen and (min-width: 1024px) {
  .reservation {
    margin-bottom: unset;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .reservation {
    justify-content: center;
  }
  .reservation .box {
    width: 80%;
    max-width: 600px;
    margin-top: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .reservation .form_check_txt {
    font-size: 16px;
  }
  .reservation .reg_btn {
    font-size: 17.6px;
  }
  .reservation .map {
    margin-top: 2.5%;
    width: 75%;
    height: 450px;
  }
}
@media screen and (min-width: 1500px) {
  .reservation .box {
    max-width: 650px;
  }
}

/*========================================================
                         左側選單
=========================================================*/

.icon_Community a.js-btn-icon_Community {
  text-align: center;
  width: 50px;
  line-height: 47px;
  border-radius: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: #000;
  font-size: 22px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  height: 50px;
  pointer-events: auto;
  overflow: hidden;
}

.js-btn-icon_Community:hover,
.js-btn-icon_Community:focus {
  color: #fff;
  background-color: #451209;
  border-color: #451209;
}

.js-icon_Community .icon_li {
  position: relative;
  left: -100px;
}

.icon_li_img {
  max-width: 50px;
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  left: 0;
  z-index: 1;
}

.js-icon_Community.active .icon_li {
  left: 0;
  pointer-events: auto;
}

.js-icon_Community .icon_li:nth-child(1) {
  transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  -webkit-transition: all 0.1s ease-out;
}

.js-icon_Community .icon_li:nth-child(2) {
  transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
}

.js-icon_Community .icon_li:nth-child(3) {
  transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
}

.icon_li a:hover .icon {
  animation: go 3s linear infinite;
}

@keyframes go {
  10% {
    transform: rotate(15deg);
  }

  20% {
    transform: rotate(-10deg);
  }

  30% {
    transform: rotate(5deg);
  }

  40% {
    transform: rotate(-5deg);
  }

  50%,
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 991.98px) {
  .icon_Community {
    width: 100%;
    position: fixed;
    left: auto;
    bottom: 0;
    z-index: 999998;
    pointer-events: none;
  }

  .icon_Community_ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .icon_Community_ul .icon_li {
    width: 33.33%;
    border-right: 1px solid #fff;
  }

  .icon_Community_ul .icon_li:last-child {
    border-right: none;
  }

  .icon_Community_ul .icon_name {
    font-size: 0.75rem;
    padding-top: 2px;
  }

  .icon_img {
    display: block;
    background-color: #e15f28;
    overflow: hidden;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 11px 5px 3px 5px;
    text-decoration: none;
  }

  .icon_Community a {
    color: #fff;
    text-decoration: none;
  }

  .icon_Community a img {
    display: block;
    margin: 0 auto;
    width: 20px;
  }

  .icon_Community a:hover {
    background-color: #f3895b;
  }

  .icon_Community a:hover img {
    animation: go 3s linear infinite;
  }
}

@media (min-width: 992px) {
  .icon_Community {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 9998;
    pointer-events: none;
  }

  .icon_Community_ul {
    list-style: none;
    padding: 0;
    flex-direction: column;
    align-items: flex-end;
    display: flex;
    margin-bottom: 59px;
  }

  .icon_img {
    background-color: #e15f28;
    border: none;
    overflow: hidden;
    text-align: center;
    margin-bottom: 6px;
    width: 50px;
    text-decoration: none;
    border-radius: 100px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icon_img.active {
    width: 142px;
  }

  .icon_img.active .icon_name {
    text-indent: 0;
    opacity: 1;
  }

  .icon_img:hover {
    text-decoration: none;
    width: 142px;
  }

  .icon_img:before {
    opacity: 0;
  }

  .icon_img .icon {
    color: #fff;
    font-size: 22px;
    width: 50px;
    line-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    z-index: 1;
  }

  .icon_img:hover .icon {
    text-decoration: none;
  }

  .icon_img:hover .icon_name {
    opacity: 1;
    text-indent: 0;
  }

  .icon_name {
    position: relative;
    line-height: 50px;
    padding-left: 15px;
    padding-right: 50px;
    transition: all 0.3s ease;
    opacity: 0;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    border-radius: 100px;
    overflow: hidden;
  }
}

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

.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 {
  font-family: "HunInn";
  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(30px);
  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(-30px);
  opacity: 0;
  transition-property: transform, opacity;
}

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

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

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