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

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", "微軟正黑體", Arial, Helvetica;
  font-weight: 500;
  line-height: 32px;
  font-size: 0.9rem;
  color: #fff;
  overflow-x: hidden;
  background-color: #e6e4d9;
}

/* google recaptcha 隱藏 */
.grecaptcha-badge {
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  section {
    height: calc(100vh - 70.5px);
  }
}

.amin-01 {
  transform: skew(-2deg);
  transform-origin: 100% 80%;
}
@keyframes amin-01 {
  0% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(30px);
  }
  100% {
    transform: translateY(-20px);
  }
}

/*========================================================
                         區塊1
=========================================================*/

.section1 {
  position: relative;
  width: 100%;
  height: 100vh;
}

.s1 {
  position: relative;
  display: flex;
  justify-content: center;
  background: url(../img/s1-bg.png) no-repeat bottom center;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.s1-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 60%;
  height: 100%;
  text-align: center;
}

.s1-p1 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.s1-p1-mb,
.s1-p1-tb {
  display: none;
}

.s1-t1 img {
  width: 75%;
}

.s1-t2 {
  margin: 6.5% 0 1.8% 0;
}

@media screen and (max-width: 992px) {
  .section1 {
    position: relative;
    width: 100%;
    height: calc(100vh - 175px);
  }

  .s1 {
    background: url(../img/s1-bg-mb.png) no-repeat center center;
    background-size: cover;
  }

  .s1-p1-tb {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .s1-p1-pc {
    display: none;
  }

  .s1-group {
    width: 85%;
  }

  .s1-t1 {
    margin-bottom: 5%;
  }

  .s1-t1 img {
    width: 75%;
  }
}

@media screen and (max-width: 450px) {
  .s1 {
    background: url(../img/s1-bg-mb.png) no-repeat center center;
    background-size: cover;
  }

  .s1-p1-mb {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .s1-p1-tb {
    display: none;
  }

  .s1-group {
    width: 80%;
  }

  .s1-t1 {
    margin-bottom: 3%;
  }

  .s1-t1 img {
    width: 70%;
  }
}

/*========================================================
                         區塊2
=========================================================*/

.section2 {
  position: relative;
  width: 100%;
  height: 100vh;
}

.s2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url(../img/s2-bg.png) no-repeat bottom center;
  background-size: cover;
  width: 100%;
  height: 100%;
  text-align: center;
}

.s2-group {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  position: relative;
  width: 75%;
  height: 100%;
  margin-top: 5%;
}

.s2-t1 {
  width: 30%;
  margin-bottom: 1%;
}

.s2-t2,
.s3-t2 {
  margin-bottom: 3%;
}

.s2-t2 img,
.s3-t2 img {
  width: 200px;
}

.s2-t3 {
  width: 25%;
}

.s2-t4 {
  width: 35%;
}

@media screen and (max-width: 992px) {
  .section2 {
    height: calc(100vh - 70.5px);
  }

  .s2-group {
    margin-top: 12%;
  }

  .s2-t1 {
    width: 60%;
    margin-bottom: 3%;
  }

  .s2-t2,
  .s3-t2 {
    margin-bottom: 6%;
  }

  .s2-t2 img,
  .s3-t2 img {
    width: 280px;
  }

  .s2-t3 {
    width: 50%;
  }

  .s2-t4 {
    width: 70%;
  }
}

@media screen and (max-width: 450px) {
  .s2 {
    background-position: 63% 100%;
  }

  .s2-group {
    width: 80%;
    margin-top: 25%;
  }

  .s2-t1 {
    width: 75%;
    margin-bottom: 2.5%;
  }

  .s2-t2,
  .s3-t2 {
    margin-bottom: 6%;
  }

  .s2-t2 img,
  .s3-t2 img {
    width: 200px;
  }

  .s2-t3 {
    width: 65%;
  }

  .s2-t3 img {
    width: 100%;
  }

  .s2-t4 {
    width: 90%;
  }
}

/*========================================================
                         區塊3
=========================================================*/

.section3 {
  position: relative;
  width: 100%;
  height: 100vh;
}

.s3 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  background: url(../img/s3-bg.png) no-repeat bottom center;
  background-size: cover;
  width: 100%;
  height: 100%;
  text-align: center;
}

.s3-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  position: relative;
  width: 50%;
  height: 100%;
  text-align: start;
}

.s3-t1 {
  width: 48%;
}

.s3-t1,
.s3-t2 {
  margin-left: 8%;
  padding-left: 5%;
}

.s3-span1,
.s3-span2 {
  display: flex;
  margin-left: 8.5%;
}

.s3-span1 > div {
  padding: 1% 5% 0 5%;
}

.s3-span2 > div {
  padding: 0.5% 5% 0 5%;
}

.s3-span1 > div,
.s3-span2 > div {
  width: 35%;
}

.s3-span1 img,
.s3-span2 img {
  width: 80%;
}

@media screen and (max-width: 992px) {
  .section3 {
    height: calc(100vh - 70.5px);
  }

  .s3 {
    background: url(../img/s3-bg-tb.png) no-repeat bottom center;
    background-size: cover;
    align-items: center;
  }

  .s3-t1 {
    width: 60%;
    margin-bottom: 3%;
  }

  .s3-group {
    width: 80%;
    justify-content: start;
    margin-top: 12%;
  }

  .s3-group > div {
    margin-left: unset;
  }
}

@media screen and (max-width: 450px) {
  .s3 {
    background: url(../img/s3-bg-mb.png) no-repeat bottom center;
    background-size: cover;
  }

  .s3-t1 {
    width: 75%;
  }

  .s3-group {
    margin-top: 25%;
  }

  .s3-span1 > div,
  .s3-span2 > div {
    width: 45%;
  }

  .s3-span1 img,
  .s3-span2 img {
    width: 100%;
  }
}

/*========================================================
                         區塊4
=========================================================*/

.section4 {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.section4::-webkit-scrollbar {
  display: none;
}

.s4 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 100%;
  height: 100%;
}

.s4-group {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: end;
  width: 50%;
  height: 100vh;
  text-align: end;
  margin: 8% 8% 20% 0;
}

.s4-logo {
  width: 30%;
  margin: 0 10% 2% 0;
}

.s4-span1,
.s4-span2 {
  display: flex;
  justify-content: end;
  margin-right: 5%;
}

.s4-span1 > div {
  padding: 1% 5% 0 5%;
}

.s4-span2 > div {
  padding: 0.5% 5% 0 5%;
}

.s4-span1 > div,
.s4-span2 > div {
  width: 35%;
}

.s4-span1 img,
.s4-span2 img {
  width: 80%;
}

.s4-landmark > div {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.s4-landmark .s4-p2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  animation: amin-01 6s ease-in-out infinite alternate;
}

.s4-landmark img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.s4 video {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  object-fit: cover;
  mix-blend-mode: screen;
}

@media screen and (max-width: 992px) {
  .section4 {
    height: calc(100vh - 70.5px);
  }
}

@media screen and (max-width: 850px) {
  .s4 {
    width: 1904px;
  }

  .s4-group {
    height: calc(100vh - 70.5px);
    justify-content: start;
    margin: 10% 8% 20% 0;
  }

  .s4-landmark img,
  .s4 video {
    max-width: unset;
    width: 1904px;
    overflow-x: scroll;
    white-space: nowrap;
  }
}

@media screen and (max-width: 450px) {
  .s4 {
    width: 1100px;
  }

  .s4-group {
    margin: 13.5% 3% 20% 0;
  }

  .s4-landmark img,
  .s4 video {
    width: 1100px;
  }
}

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

.res-img {
  width: 35%;
  margin-bottom: 15%;
}

input,
select {
  background-color: transparent;
  font-weight: 600;
  color: #000;
  outline-color: transparent;
  border: unset;
  border-bottom: 1px solid rgba(0, 0, 0, 0.654);
  padding-left: 10px;
  border-radius: 0;
}
input[type="text"],
input[type="phone"],
select {
  height: 45px;
  width: 100%;
}
input[type="text"]:focus,
input[type="phone"]:focus,
select:focus {
  outline: unset;
}
select {
  color: #006771;
  font-weight: 600;
  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.5) !important;
}
:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}
::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}
.reservation {
  font-family: "Noto Sans TC";
  height: calc(100vh - 60px);
  min-height: 800px;
  position: relative;
  background-image: url(../img/s5-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}
.reservation .box {
  max-width: 800px;
  width: 85%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.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: #333;
  margin-left: 3px;
  line-height: 1.8;
}
.reservation .form_check_txt a {
  text-decoration: none;
  color: #333;
}
.reservation .reg_btn {
  width: 100%;
  background-color: #ffe68b;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  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: #ffe68bb0;
  color: #000;
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: #ffe68bb0;
  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;
  box-shadow: 0 0 10px 3px rgb(149 149 149) !important;
}

/* 平板以上：兩欄排版邏輯 */
@media screen and (min-width: 768px) {
  .reservation {
    height: calc(100vh - 50px);
  }

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

  .res-img {
    width: 28%;
    margin-bottom: 10%;
  }
}

@media screen and (min-width: 1100px) {
  .reservation {
    min-height: unset;
  }

  .res-img {
    width: 20%;
    margin-bottom: 5%;
  }
}

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

.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: 3px;
  }

  .icon_img {
    display: block;
    background-color: #a69a94;
    overflow: hidden;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 12.5px 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: #c5b3aa;
  }

  .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: #a69a94;
    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;
    /*text-indent: -100px;*/
    font-family: Arial, "Microsoft JhengHei", sans-serif;
  }
}

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

.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;
  color: #000;
}

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

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

footer {
  font-family: "Noto Sans TC";
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #a69a94;
  color: #fff;
  margin-bottom: 68px;
}

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

@media screen and (min-width: 992px) {
  footer {
    height: 50px;
    margin-bottom: unset;
  }
}
