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

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

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

body {
  font-family: "Noto Sans TC", "Tenor Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 32px;
  font-size: 0.9rem;
  color: #111;
  overflow-x: hidden;
}

.bg {
  background: url(../img/body-bg.png) 70% 0 repeat;
}

p {
  margin: unset;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.sb {
  font-weight: 600;
}

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

/*========================================================
                         導航列
=========================================================*/

/* 桌機版：Logo 靠左，選單靠右 */
.rd-navbar-static .rd-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 3%;
}

/* 手機版導覽從右側出現 */
.rd-navbar-fixed .rd-navbar-nav-wrap {
  transform: translateX(100%);
  right: 0;
  left: auto;
  transition: transform 0.3s ease-in-out;
}
.rd-navbar-fixed .rd-navbar-nav-wrap.active {
  transform: translateX(0);
}

/* 固定於頂部 */
.rd-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* 漢堡排樣式 */
.rd-navbar-toggle {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 10001;
}

.rd-navbar-toggle span,
.rd-navbar-toggle span::before,
.rd-navbar-toggle span::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: #604330;
  left: 0;
  transition: 0.3s ease-in-out;
}

.rd-navbar-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.rd-navbar-toggle span::before {
  top: -6px;
}

.rd-navbar-toggle span::after {
  top: 6px;
}

/* 漢堡排展開變成X動畫 */
.rd-navbar-toggle.active span {
  background-color: transparent;
}

.rd-navbar-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.rd-navbar-toggle.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* 內部容器左右分布 */
.rd-navbar-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  width: 100%;
}

/* LOGO置左 */
.rd-navbar-brand {
  flex: 1;
}
.rd-navbar-brand img {
  height: 33px;
}

/* 導覽按鈕（手機版時顯示） */
.rd-navbar-toggle {
  display: block;
}

/* 隱藏 PC 導覽選單 */
.rd-navbar-nav-wrap {
  display: none;
  position: fixed;
  top: 60px;
  right: 0;
  width: 150px;
  background-color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.rd-navbar-nav-wrap.active {
  transform: translateX(0);
  display: block;
}

/* 手機選單列表樣式 */
.rd-navbar-nav {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.rd-navbar-nav li {
  margin-bottom: 16px;
  font-size: 0.8rem;
}

.rd-navbar-nav li a {
  text-decoration: none;
  color: #604330;
  font-family: "Noto Serif TC";
  font-weight: 600;
  transition: color 0.2s;
}

.rd-navbar-nav li a:hover {
  color: #60433093;
}

.icon {
  width: 18px;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 初始狀態（關閉時） */
.rd-navbar-fixed .rd-navbar-nav li {
  opacity: 0;
  transform: translateX(30px);
}

/* 開啟選單時依序進場 */
.rd-navbar-fixed .rd-navbar-nav-wrap.active .rd-navbar-nav li {
  animation: slideInRight 0.4s ease forwards;
}

/* 依序延遲每個 <li> 的進場 */
.rd-navbar-fixed .rd-navbar-nav-wrap.active .rd-navbar-nav li:nth-child(1) {
  animation-delay: 0.1s;
}
.rd-navbar-fixed .rd-navbar-nav-wrap.active .rd-navbar-nav li:nth-child(2) {
  animation-delay: 0.2s;
}
.rd-navbar-fixed .rd-navbar-nav-wrap.active .rd-navbar-nav li:nth-child(3) {
  animation-delay: 0.3s;
}
.rd-navbar-fixed .rd-navbar-nav-wrap.active .rd-navbar-nav li:nth-child(4) {
  animation-delay: 0.4s;
}

/* 桌機版時自動顯示導覽選單 */
@media screen and (min-width: 1200px) {
  .rd-navbar-toggle {
    display: none;
  }

  .rd-navbar-nav-wrap {
    display: flex !important;
    position: static;
    height: auto;
    width: auto;
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .rd-navbar-nav {
    display: flex;
    gap: 54px;
    padding: 15px;
    align-items: center;
  }

  .rd-navbar-nav li {
    position: relative;
    font-size: 0.75rem;
    margin: 0;
  }

  .rd-navbar-nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -27px;
    top: 50%;
    transform: translateY(-50%);
    height: 23px;
    width: 1px;
    background-color: #b1844a;
  }

  .rd-navbar-panel {
    flex: 1;
    padding: 12px 40px;
  }

  .icon {
    width: 15px;
  }
}

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

.section1 {
  position: relative;
  width: 100%;
  background: url(../img/banner-bg.png) no-repeat center center;
  background-size: cover;
  min-height: 750px;
}
.s1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #231815;
}
.s1 .text-block,
.s1 .img-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.s1 .text-block {
  width: 80%;
  flex: 1;
  align-items: center;
}
.s1 .text-block .box {
  text-align: center;
}
.s1 .text-block img {
  margin: 5% 0 2.5% 0;
}
.logo {
  width: 55%;
  margin: 12% 0 0 0;
}
.s1-t1,
.s1-t2 {
  width: 90%;
}
.s1 .img-block {
  flex: 1;
  justify-content: end;
  align-items: end;
  width: 100%;
  height: 50%;
}
.s1-p1 {
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
/* 只針對右側人像容器加特效 */
.portrait {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100%;
  text-align: end;
}
/* 光束 */
.portrait::after {
  content: "";
  position: absolute;
  inset: -10% -30%; /* 稍微超出邊界，掃光更自然 */
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(246, 216, 92, 0.08) 40%,
    rgba(246, 216, 92, 0.45) 50%,
    rgba(246, 216, 92, 0.08) 60%,
    transparent 100%
  );
  mix-blend-mode: screen; 
  transform: translateX(60%); 
  animation: sweep 4s ease-in-out 1.2s both;
  opacity: 0;
  will-change: transform, opacity;
  filter: blur(1px);
  border-radius: 6px;
}
/* 掃光動畫（你也可改成 infinite 變成循環） */
@keyframes sweep {
  0% {
    transform: translateX(60%) skewX(-8deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  60% {
    transform: translateX(-60%) skewX(-8deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-80%) skewX(-8deg);
    opacity: 0;
  }
}
.paint-dust {
  position: absolute;
  right: -4%;
  top: 10%;
  width: 18%;
  height: 55%;
  pointer-events: none;
  overflow: visible;
}
.paint-dust span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(
    circle,
    rgba(246, 216, 92, 0.9),
    rgba(246, 216, 92, 0) 70%
  );
  filter: blur(0.6px);
  border-radius: 50%;
  opacity: 0;
  animation: drift 5s ease-in-out infinite;
}

/* 隨機初始位置（可多複製幾個 span） */
.paint-dust span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0.2s;
}
.paint-dust span:nth-child(2) {
  left: 35%;
  top: 40%;
  animation-delay: 1.1s;
}
.paint-dust span:nth-child(3) {
  left: 60%;
  top: 15%;
  animation-delay: 0.6s;
}
.paint-dust span:nth-child(4) {
  left: 20%;
  top: 70%;
  animation-delay: 1.8s;
}
.paint-dust span:nth-child(5) {
  left: 75%;
  top: 55%;
  animation-delay: 0.9s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 0.65;
  }
  50% {
    transform: translate(-30px, -20px) scale(1);
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-60px, -40px) scale(1.1);
    opacity: 0;
  }
}

@media screen and (min-width: 768px) {
  .s1 .text-block {
    width: 65%;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .section1 {
    min-height: unset;
  }
  .s1 {
    flex-direction: row;
  }
  .s1 .text-block {
    flex: unset;
    width: 50%;
  }
  .s1 .text-block .box {
    width: 70%;
    margin-left: 30%;
  }
  .s1 .img-block {
    width: 50%;
    height: 100%;
  }
  .s1-p1 {
    object-fit: cover;
  }
  .portrait {
    height: 100%;
  }
}

@media screen and (min-width: 1500px) {
  .s1 .text-block .box {
    width: 65%;
    margin-left: 40%;
  }
}

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

.section2 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  background: url(../img/s2-bg.png) no-repeat center center;
  background-size: cover;
}
.s2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 85%;
  height: 100%;
}
.s2 p {
  color: #497d80;
  letter-spacing: 5px;
  font-family: "Noto Serif TC";
  font-weight: 500;
  font-size: 1.5rem;
}
.s2 .eng {
  font-family: "Tenor Sans";
  font-size: 1rem;
  letter-spacing: 1.5px;
}
.s2 .line-div {
  margin: 5% 0 5% 2px;
  width: 1px;
  height: 80px;
  background-color: #497d80;
}
.s2 .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
}

.s2 span {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
}

@media screen and (min-width: 768px) {
  .s2 p {
    font-size: 1.8rem;
    line-height: 56px;
  }
  .s2 .eng {
    font-size: 1.3rem;
    line-height: 40px;
  }
  .s2 span {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .s2 {
    justify-content: center;
  }
  .s2 .text-block {
    flex-direction: row;
    justify-content: center;
    width: 90%;
    height: unset;
  }
  .s2 .p-box {
    width: 50%;
  }
  .s2 .span-box {
    display: flex;
    align-self: end;
  }
  .s2 p {
    font-size: 2rem;
    line-height: 64px;
  }
  .s2 .eng {
    font-size: 1.5rem;
    line-height: 48px;
  }
  .s2 span {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }
}

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

.section3 {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: url(../img/s3-bg.png) no-repeat center center;
  background-size: cover;
}
.s3 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 85%;
  height: 100%;
  color: #231815;
}
.s3 .text-block {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
}
.s3 .img-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s3-p1 {
  width: 100%;
  margin-bottom: 10%;
}

@media screen and (min-width: 768px) {
  .s3-p1,
  .s3 .text-block {
    width: 85%;
  }
  .s3 .text-block p {
    font-size: 1rem;
    line-height: 32px;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .s3 {
    flex-direction: row;
  }
  .s3 .text-block,
  .s3 .img-block {
    width: 50%;
    align-items: center;
  }
  .s3 .text-block p {
    font-size: 1.1rem;
    letter-spacing: 3px;
    line-height: 35.4px;
  }
  .s3-p1 {
    width: 100%;
    margin-bottom: unset;
  }
}

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

.section4 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 16% 0;
}
.s4 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 85%;
  height: 100%;
}
.line-div {
  width: 1px;
  height: 40px;
  background-color: #111;
}
.s4 .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.s4 .text-block p {
  animation-name: fadeInUp;
  animation-delay: 0.4s;
}
.s4-t1,
.s5-t1,
.s6-t1,
.s6-t3 {
  width: 80%;
}
.s4-t2 {
  width: 100%;
  margin: 8% 0;
}
.s4-t4 {
  width: 66%;
  margin: 8% 0 15% 0;
}
.s4 .river {
  margin-top: 5%;
}
.s4 .img-block {
  position: relative;
  width: 100%;
  height: 100%;
}
.img-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5%;
}
.img-block .title {
  font-size: 1.1rem;
  margin: 12% 0 2% 0;
}
.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-slide span {
  position: absolute;
  font-size: 12px;
  font-weight: 400;
  bottom: 3px;
  right: 10px;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .section4 {
    padding: 16% 0 10% 0;
  }
  .s4-t1,
  .s5-t1,
  .s6-t1,
  .s6-t3 {
    width: 60%;
  }
  .s4-t2 {
    width: 80%;
  }
  .s4 p {
    font-size: 1.1rem;
  }
  .img-block .title {
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .section4 {
    padding: 8% 0 5% 0;
  }
  .s4 {
    width: 75%;
  }
  .s4-t1,
  .s5-t1,
  .s6-t1,
  .s6-t3 {
    width: 30%;
  }
  .s4-t2 {
    width: 40%;
    margin: 4% 0 8% 0;
  }
  .s4 .text-block {
    margin-bottom: 4%;
  }
  .s4 .img-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5% 0;
  }
  .s4 .img-text {
    flex: 1;
  }
  .swiper1 {
    flex: 1;
  }
  .s4 p {
    font-size: 1.1rem;
    letter-spacing: 3px;
    line-height: 35.4px;
  }
  .img-block .title {
    font-size: 1.3rem;
  }
  .reverse {
    flex-direction: row-reverse;
  }
}

/*========================================================
                         區塊5
=========================================================*/

.section5 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 8% 0;
}
.s5 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 85%;
  height: 100%;
}
.s5 .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.s5-t2 {
  width: 75%;
  margin: 8% 0;
}
.s5 .img-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin: 5% 0;
}
.s5 .img-block .title {
  margin: unset;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 1.2rem;
}
.s5 .img-text {
  width: 100%;
  align-items: start;
}
.helian {
  width: 60%;
  margin: 12% 0 6% 0;
}
.nthurc {
  width: 75%;
  margin: 12% 0 6% 0;
}
.uwa {
  width: 100%;
  margin: 12% 0 6% 0;
}
.s5 .line-div {
  height: 60px;
  margin: 3% 0 3% 3px;
}
.s5 .pic {
  width: 100%;
}
.s5 .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .s5-t2 {
    width: 52.5%;
  }
  .helian {
    width: 40%;
  }
  .nthurc {
    width: 55%;
  }
  .uwa {
    width: 75%;
  }
  .s5 .img-block .title {
    font-size: 1.3rem;
  }
  .s5 p {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .s5 {
    width: 75%;
  }
  .s5-t2 {
    width: 26%;
    margin: 4% 0;
  }
  .s5 .img-block {
    flex-direction: row;
  }
  .s5 .img-text,
  .s5 .pic {
    width: 50%;
    margin: 0 3%;
  }
  .helian,
  .nthurc,
  .uwa {
    margin: unset;
    margin-bottom: 5%;
  }
  .helian {
    width: 40%;
  }
  .nthurc {
    width: 55%;
  }
  .uwa {
    width: 75%;
  }
  .s5 .img-block .title {
    font-size: 1.3rem;
  }
  .s5 p {
    font-size: 1rem;
    width: 66%;
  }
  .s5 .reverse {
    flex-direction: row-reverse;
  }
}

/*========================================================
                         區塊6
=========================================================*/

.section6 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 8% 0;
}
.s6 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 85%;
  height: 100%;
}
.s6 .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.s6-t2 {
  width: 75%;
  margin: 8% 0;
}
.s6-t3 {
  margin-top: 8%;
}
.s6-t4 {
  width: 100%;
  margin: 8% 0;
}
.s6-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(165px, 1fr));
  gap: 15px;
  margin: 5% 0;
}
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
  text-align: center;
}
.item-logo {
  width: 100%;
}
.item-logo img {
  height: 50px;
}
.item-title {
  font-weight: 600;
  margin-bottom: 3%;
}
.item-content {
  display: inline;
  font-size: 11px;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .s6-t2 {
    width: 55%;
  }
  .s6-t4 {
    width: 80%;
  }
  .s6-list {
    grid-template-columns: repeat(3, minmax(200px, max-content));
    gap: 15px;
  }
  .item-logo img {
    height: 60px;
  }
  .item-text {
    width: 85%;
  }
  .item-title {
    font-size: 1.3rem;
    margin: 3% 0;
  }
  .item-content {
    font-size: 12px;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .s6-t1,
  .s6-t3 {
    width: 26.5%;
  }
  .s6-t2 {
    width: 25%;
    margin: 4% 0;
  }
  .s6-t4 {
    width: 40%;
    margin: 4% 0;
  }
  .s6-list {
    gap: 40px;
    max-width: 1000px;
  }
  .item-logo img {
    height: 80px;
  }
  .item-text {
    width: 100%;
  }
  .item-title {
    font-size: 1.3rem;
    margin: 5% 0;
  }
  .item-content {
    font-size: 14px;
  }
}

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

.rb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 85%;
  height: 100%;
}
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 5%;
}
.res-logo {
  width: 60%;
}
.reservation .line-div {
  width: 1px;
  height: 85px;
  background-color: #111;
  margin: 6% 0;
}
.contact {
  width: 38%;
}
.info {
  margin: 10% 0;
  color: #604330;
}
.info p {
  font-size: 14px;
}
.reservation span {
  color: #4d4d4d;
}
@media screen and (min-width: 768px) {
  .res-logo {
    width: 44%;
  }
  .contact {
    width: 28%;
  }
  .info p {
    font-size: 1rem;
    line-height: 40px;
    letter-spacing: 2px;
  }
  .reservation span {
    font-size: 0.9rem;
  }
}

input,
select {
  background-color: #fff;
  color: #4d4d4d;
  outline-color: #604330;
  border: 0px solid #333;
  padding-left: 10px;
}
input[type="text"],
input[type="phone"],
select {
  height: 45px;
  width: 100%;
  border: 1px solid #bebebe;
}
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;
}
textarea {
  width: 100%;
  color: #4d4d4d;
  margin-bottom: 15px;
  padding: 10px 0 0 10px;
}
::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}
.reservation {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.reservation .box {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  margin: 8% 0;
}
.reservation h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
}
.reservation .input-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}
/* 所有欄位預設一列寬 */
.reservation .input-block input,
.reservation .input-block select {
  flex: 1 1 100%;
}
.reservation .form_check_txt {
  color: #4d4d4d;
  margin-left: 3px;
  line-height: 1.8;
}
.reservation .form_check_txt a {
  text-decoration: none;
  color: #4d4d4d;
}
.reservation .reg_btn {
  background-color: #497d80;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  border: unset;
  margin-top: 20px;
  padding: 9px 30px;
  line-height: normal;
}
.reservation .reg_disabled {
  cursor: no-drop;
  opacity: 0.6;
}
.reservation .reg_btn:hover {
  background-color: #6ca9aded;
  color: #fff;
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: #6ca9aded;
  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;
}

.google-map {
  position: relative;
  width: 100%;
  height: 350px;
}

/* 平板以上：兩欄排版邏輯 */
@media screen and (min-width: 768px) {
  .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 .box {
    max-width: 475px;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .res-logo {
    width: 22%;
  }
  .reservation .line-div {
    margin: 3% 0;
  }
  .contact {
    width: 12%;
  }
  .reservation .box {
    flex-direction: row;
    max-width: 1000px;
  }
  .info {
    margin: unset;
    width: 50%;
  }
  form {
    width: 50%;
  }
  .google-map {
    height: 800px;
  }
}
/*========================================================
                         左側選單
=========================================================*/

.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: #03517c;
    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: #1ba1c6;
  }

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

@media (min-width: 992px) {
  .icon_Community {
    display: 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: #03517c;
    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;
}

@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 {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #b2b2b2;
  color: #fff;
}

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

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