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

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

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

/* 基礎重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  line-height: 32px;
  font-size: 1rem;
  color: #111;
  overflow-x: hidden;
  background-color: #fff;
}
h3 {
  font-family: "SweiSpringCJKtc-Regular", "Noto Serif TC";
  font-weight: 700;
  color: #366743;
  letter-spacing: 1.2px;
}
p {
  font-family: "SweiSpringCJKtc-Regular", "Noto Sans TC";
  font-weight: 600;
  margin: unset;
}
span {
  font-family: "SweiSpringCJKtc-Regular", "Noto Sans TC";
  font-weight: 600;
  letter-spacing: 1.2px;
}
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(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 {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.section1::after {
  content: "";
  background: linear-gradient(
    to right,
    #3e7548 0%,
    #33633e 28%,
    #285033 60%,
    #1e3c28 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.section1 img {
  pointer-events: none;
}
.section1 .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 70%;
  height: 60%;
}
.style2 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.logo {
  position: relative;
  width: 100%;
  background-color: #f2f4bd;
  -webkit-mask: url("../img/logo.svg") no-repeat center;
  mask: url("../img/logo.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  overflow: hidden;
}
.logo img {
  display: block;
  opacity: 0;
}
.logo::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -80%;
  width: 45%;
  height: 160%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: logoShine 3.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes logoShine {
  0% {
    left: -80%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  45% {
    left: 130%;
    opacity: 1;
  }

  60%,
  100% {
    left: 130%;
    opacity: 0;
  }
}
.tree {
  position: absolute;
  top: -4%;
  left: -6%;
  width: 80%;
  pointer-events: none;
  z-index: 0;
  transform-origin: left top;
  animation: sway 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes sway {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.section1 .shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
}
.section1 .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.section1 .kv-t1 {
  width: 100%;
}
.section1 .p {
  margin-top: 12%;
  align-self: flex-start;
}
.section1 p {
  font-family: "Noto Sans TC";
  font-size: 26px;
  line-height: 36px;
  font-weight: 700;
  color: #759e67;
  opacity: 0.7;
}

@media screen and (min-width: 540px) {
  .section1 .box {
    width: 55%;
    height: 65%;
  }
  .section1 .shape {
    width: 27%;
  }
  .tree {
    width: 75%;
  }
}

@media screen and (min-width: 768px) {
  .section1 p {
    margin-top: 10%;
    font-size: 36px;
    line-height: 48px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section1 {
    align-items: start;
  }
  .section1 .box {
    margin-left: 7%;
    width: 45%;
    height: 75%;
    align-items: start;
  }
  .tree {
    top: -25%;
    left: -2;
    width: 50%;
  }
  .section1 .logo {
    width: 50%;
  }
  .section1 .shape {
    width: 22%;
  }
  .section1 .kv-t1 {
    position: absolute;
    right: 15%;
    bottom: 12%;
    width: 30%;
  }
  .section1 p {
    margin-top: 0;
    font-size: 32px;
    line-height: 44px;
  }
}
@media screen and (min-width: 1500px) {
  .section1 p {
    font-size: 44px;
  }
}

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

.section2 {
  background: linear-gradient(to bottom, #f7faf5, #fff 50%, #f7faf5 100%);
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 30% 0;
}
.s2 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 90%;
  height: 100%;
}
.s2 .img-block {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 5% 0;
}
.s2 .img-text {
  text-align: center;
  margin-bottom: 10%;
}
.s2 .title {
  margin-bottom: 5%;
}
.s2 h3 {
  font-size: 32px;
}
.s2 p {
  font-size: 18px;
  color: #b3b3b3;
}
.s2 span {
  color: #3e3a39;
}
.swiper-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.swiper-container.swiper1 {
  width: 100%;
  position: relative;
  overflow: hidden !important;
}
.swiper1 .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper1 .swiper-slide {
  position: relative !important;
}
.swiper1 .swiper-pagination {
  position: relative;
  bottom: unset !important;
  top: 0 !important;
  left: 0 !important;
}
.swiper1 .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
}
.swiper1 .swiper-pagination-bullet-active {
  background: #999999 !important;
}
.swiper1 .swiper-slide .pic-txt,
.s3 .pic-txt {
  position: absolute;
  font-size: 14px;
  font-weight: 400;
  bottom: 4px;
  right: 12px;
  color: #fff;
  text-shadow:
    1px 1px 2px #000,
    1px 1px 2px #000;
}

.leaf {
  position: absolute;
  width: 45%;
  max-width: 320px;
}
.leaf1 {
  top: 0;
  right: 0;
}
.leaf2 {
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 540px) {
  .section2 {
    padding: 25% 0;
  }
  .leaf {
    width: 37.5%;
  }
}

@media screen and (min-width: 768px) {
  .section2 {
    padding: 20% 0;
  }
  .leaf {
    width: 32.5%;
  }
  .s2 {
    width: 85%;
  }
  .s2 h3 {
    font-size: 36px;
    line-height: 48px;
  }
  .s2 p {
    font-size: 20px;
    line-height: 36px;
  }
  .s2 span {
    font-size: 18px;
    line-height: 24px;
  }
  .swiper1 .swiper-slide .pic-txt {
    font-size: 16px;
  }
  .swiper1 .swiper-pagination {
    top: 4px !important;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section2 {
    padding: 10% 0;
  }
  .leaf {
    width: 22.5%;
  }
  .s2 .img-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5% 0;
  }
  .s2 {
    width: 90%;
  }
  .s2 .img-text {
    flex: 1;
    margin-bottom: 0;
  }
  .swiper1 {
    flex: 1;
  }
  .reverse {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 1500px) {
  .section2 {
    padding: 7.5% 0;
  }
  .leaf {
    width: 20%;
  }
  .s2 h3 {
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 3%;
  }
}

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

.section3 {
  background: url(../img/s3-bg.png) no-repeat left top;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.s3 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 90%;
  height: 100%;
}
.s3 .text-block {
  align-self: start;
}
.s3 .img-block {
  position: relative;
  width: 100%;
}
.s3 .pic-txt {
  top: 1px;
  bottom: unset;
  right: 6px;
  font-size: 12px;
}
.s3 h3 {
  margin-bottom: 10%;
}
.s3 p {
  font-family: "Noto Sans TC";
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: #c9d1c4;
  align-self: start;
  display: block;
}

@media screen and (min-width: 768px) {
  .s3 {
    width: 85%;
  }
  .s3 h3 {
    font-size: 36px;
    line-height: 48px;
  }
  .s3 p {
    font-size: 36px;
    line-height: 48px;
  }
  .s3 span {
    font-size: 18px;
    line-height: 24px;
  }
  .s3 .pic-txt {
    top: 4px;
    right: 12px;
    font-size: 14px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section3 {
    align-items: center;
  }
  .s3 {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 85%;
  }
  .s3 .text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 57.5%;
    height: 100%;
    margin-left: 5%;
  }
  .s3 .img-block {
    width: 100%;
  }
  .s3 span {
    font-size: 18px;
    line-height: 36px;
  }
  .s3 p {
    position: absolute;
    left: 5%;
    bottom: -5%;
  }
}

/* ================= 格局區塊 mobile first ================= */

.plan-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 874px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 5% 0;
}
.plan-section .bg {
  position: absolute;
  left: 0;
  right: auto;
  bottom: auto;
  top: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(
    to right,
    rgba(239, 242, 176, 0.85) 0%,
    rgba(218, 230, 163, 0.7) 35%,
    rgba(48, 104, 56, 0.95) 100%
  );
  z-index: 0;
}
.plan-section.reverse .bg {
  left: auto;
  right: 0;
}
.plan-wrap {
  position: relative;
  z-index: 2;
  width: 86%;
  margin: 0 auto;
}
.plan-swiper {
  width: 100%;
  overflow: visible;
}
.plan-grid,
.plan-section.reverse .plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10vw;
}
.plan-content,
.plan-section.reverse .plan-content {
  position: relative;
  order: 2;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-pic,
.plan-section.reverse .plan-pic {
  position: relative;
  z-index: 2;
  order: 1;
}
.plan-pic img {
  width: 100%;
  display: block;
}
/* 文字區 */
.plan-text {
  width: 100%;
  color: #2f6542;
}

/* title + room badge */
.plan-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 4vw;
}

.plan-title-row h2 {
  flex: 1;
}

.plan-text h2 {
  font-family: "SweiSpringCJKtc-Regular", "Noto Serif TC";
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  margin: 0;
}

.plan-text .subtitle {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: #111;
  margin: 0 0 7vw;
}

/* 說明 + 坪數 */
.plan-info {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 3vw;
  padding-bottom: 5vw;
  border-bottom: 1px solid rgba(47, 101, 66, 0.3);
}
.plan-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-info li {
  position: relative;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #2f6542;
  padding-left: 1em;
}
.plan-info li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
}
.case-name {
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #333;
  margin: 0;
  text-align: right;
}
/* Room 圓章 */
.room-badge {
  flex: 0 0 auto;
  width: 72px;
  aspect-ratio: 1 / 1;
  border: 1px solid #2f6542;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2f6542;
  letter-spacing: 0.02em;
  margin: 0;
}
.room-badge span {
  font-family: "Noto Sans TC";
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.room-badge small {
  font-family: "Noto Sans TC";
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1;
}
/* 下方三張小圖 */
.plan-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  margin-top: 5vw;
}
.plan-thumbs.is-empty {
  pointer-events: none;
  visibility: hidden;
}
.plan-thumbs .thumb-placeholder {
  width: 100%;
  aspect-ratio: 1201 / 798;
}
.plan-thumbs a {
  display: block;
  overflow: hidden;
}
.plan-thumbs a::focus {
  outline: unset !important;
  border: unset !important;
}
.plan-thumbs img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}
.plan-thumbs a:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}
/* pagination */
.plan-swiper .swiper-pagination {
  position: relative;
  bottom: 0 !important;
  top: auto !important;
}
.plan-swiper .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
}
.plan-swiper .swiper-pagination-bullet-active {
  background: #999999 !important;
}

/* ================= min-width: 540px 平板前段 ================= */

@media screen and (min-width: 540px) {
  .plan-section {
    height: 100%;
    min-height: auto;
    padding: 12vw 0;
  }
  .plan-wrap {
    width: 85%;
  }
  .plan-grid,
  .plan-section.reverse .plan-grid {
    gap: 7vw;
  }
  .plan-title-row {
    margin-bottom: 2.5vw;
  }
  .plan-text h2 {
    font-size: 34px;
  }
  .plan-text .subtitle {
    font-size: 14px;
    margin-bottom: 4vw;
  }
  .plan-info {
    gap: 3vw;
    padding-bottom: 3vw;
  }
  .plan-info li {
    font-size: 14px;
  }
  .room-badge {
    width: 82px;
  }
  .room-badge span {
    font-size: 28px;
  }
  .room-badge small {
    font-size: 16px;
  }
  .plan-thumbs {
    gap: 1.2vw;
    margin-top: 3vw;
  }
  .plan-section .bg {
    height: 25%;
  }
}

/* ================= min-width: 768px iPad ================= */

@media screen and (min-width: 768px) {
  .plan-section {
    padding: 10vw 0;
  }
  .plan-grid,
  .plan-section.reverse .plan-grid {
    gap: 6vw;
  }
  .plan-title-row {
    margin-bottom: 2vw;
  }
  .plan-text {
    max-width: 660px;
  }
  .plan-text h2 {
    font-size: 40px;
  }
  .plan-text .subtitle {
    font-size: 15px;
    margin-bottom: 3vw;
  }
  .plan-info {
    grid-template-columns: 1fr auto;
    gap: 3vw;
    padding-bottom: 2.4vw;
  }
  .plan-info li {
    font-size: 14px;
    line-height: 2;
  }
  .case-name {
    font-size: 15px;
    text-align: right;
  }
  .room-badge {
    width: 90px;
  }
  .plan-pic {
    width: 88%;
    margin: 0 auto;
  }
  .plan-thumbs {
    gap: 1vw;
    margin-top: 2.4vw;
  }
}

/* ================= desktop ================= */
/* 1100px 以上，或 1024px 以上但高度較矮的橫式裝置 */

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .plan-section {
    min-height: 100vh;
    padding: unset;
  }
  .plan-section .bg {
    background: linear-gradient(
      to bottom,
      rgba(239, 242, 176, 0.85) 0%,
      rgba(218, 230, 163, 0.7) 35%,
      rgba(48, 104, 56, 0.95) 100%
    );
  }
  .plan-section .bg {
    left: 0;
    right: auto;
    top: 0;
    bottom: auto;
    width: 28%;
    height: 100%;
  }
  .plan-section.reverse .bg {
    left: auto;
    right: 0;
    width: 28%;
    height: 100%;
  }
  .plan-wrap {
    width: min(90%, 1300px);
  }
  .plan-grid {
    grid-template-columns: 50% 42%;
  }
  .plan-section.reverse .plan-grid {
    grid-template-columns: 42% 50%;
  }
  .plan-content {
    order: 2;
    min-height: 420px;
  }
  .plan-pic {
    order: 1;
    width: 100%;
    margin: 0;
  }
  .plan-section.reverse .plan-content {
    order: 1;
  }
  .plan-section.reverse .plan-pic {
    order: 2;
  }
  .plan-title-row {
    margin-bottom: 1.2vw;
  }
  .plan-text h2 {
    font-size: clamp(28px, 36px, 46px);
  }
  .plan-text .subtitle {
    font-size: clamp(16px, 18px, 20px);
    margin: 0 0 2vw;
  }
  .plan-info {
    grid-template-columns: 1fr auto;
    gap: 2vw;
    padding-bottom: 1.4vw;
  }
  .plan-info li {
    font-size: clamp(16px, 18px, 20px);
  }
  .case-name {
    font-size: clamp(14px, 0.9vw, 16px);
    text-align: right;
  }
  .room-badge {
    width: clamp(72px, 5.5vw, 98px);
  }
  .room-badge span {
    font-size: clamp(24px, 2vw, 36px);
  }
  .room-badge small {
    font-size: 18px;
  }
  .plan-thumbs {
    gap: 0.6vw;
    margin-top: 1.4vw;
  }
}

@media screen and (min-width: 1500px) {
  .plan-wrap {
    width: min(90%, 1500px);
  }
}

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

.form-text {
  width: 45%;
  margin: 4% auto 10% auto;
}
input,
select {
  background-color: #fff;
  border-radius: 0;
  color: #226942;
  outline-color: #226942;
  border: 1px solid #226942;
  padding-left: 15px;
}
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: #226942 !important;
}
:-ms-input-placeholder {
  color: #226942 !important;
}
::-ms-input-placeholder {
  color: #226942 !important;
}
.reservation .input-block .field-group-half label,
.reservation .input-block .field-group-full label {
  display: block;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  font-family: SweiSpringCJKtc-Regular;
  font-weight: 400;
}
.reservation {
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 800px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
}
.reservation::after {
  content: "";
  background: linear-gradient(
    to top,
    rgba(239, 242, 176, 0.85) 0%,
    rgba(218, 230, 163, 0.7) 25%,
    rgba(48, 104, 56, 0.95) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.reservation .tree {
  z-index: -1;
}
.reservation .box {
  max-width: 800px;
  margin: 0 auto;
  width: 90%;
}
.reservation .input-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.reservation .field-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reservation label {
  margin-bottom: 10px;
  font-weight: 600;
}
.reservation .field-label-row > label {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.reservation .field-label-row .radio-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.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: #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: #fff;
  letter-spacing: 0.5px;
}
.reservation .logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 75%;
  margin: 15% auto;
}
.reservation .logo {
  background-color: #26592e;
}
.reservation .logo::after {
  content: unset;
}
.reservation .logo-txt {
  margin-top: 20%;
}
.form-shape {
  display: none;
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  height: 100%;
}

/* 平板以上：兩欄排版邏輯 */
@media screen and (min-width: 768px) {
  .reservation {
    min-height: unset;
  }
  .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: 30%;
  }
  .reservation .logo-block {
    width: 55%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .reservation {
    height: 100vh;
    justify-content: center;
    padding: 0;
  }
  .reservation .box {
    display: flex;
    align-items: center;
    max-width: 1100px;
    gap: 5%;
  }
  #myform {
    width: 45%;
  }
  .reservation .logo-block {
    width: 30%;
  }
  .reservation .form_check_txt {
    color: #000;
    font-size: 16px;
  }
  .form-text {
    width: 35%;
  }
  .form-shape {
    display: block;
    right: 0;
    z-index: -1;
  }
}

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

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

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