@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", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 32px;
  font-size: 0.9rem;
  color: #111;
  overflow-x: hidden;
  background-color: #fff;
}

p {
  margin: unset;
}

section {
  background-image: url(../img/form-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

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

/* 飛鳥動畫 */
.bird-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.bird {
  background-image: url(../img/bird-cells-new.svg);
  filter: invert(1) brightness(1.8);
  opacity: 0.8;
  background-size: auto 100%;
  width: 88px;
  height: 125px;
  will-change: background-position;
  animation-name: fly-cycle;
  animation-timing-function: steps(10);
  animation-iteration-count: infinite;
}

.bird--one {
  animation-duration: 1s;
  animation-delay: -0.5s;
}
.bird--two {
  animation-duration: 0.9s;
  animation-delay: -0.75s;
}
.bird--three {
  animation-duration: 1.25s;
  animation-delay: -0.25s;
}
.bird--four {
  animation-duration: 1.1s;
  animation-delay: -0.5s;
}

.bird-container {
  position: absolute;
  top: 20%;
  left: -10%;
  transform: scale(0) translateX(-10vw);
  will-change: transform;
  animation-name: fly-right-one;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.bird-container--one {
  animation-duration: 15s;
  animation-delay: 0;
}
.bird-container--two {
  animation-duration: 16s;
  animation-delay: 1s;
}
.bird-container--three {
  animation-duration: 14.6s;
  animation-delay: 9.5s;
}
.bird-container--four {
  animation-duration: 16s;
  animation-delay: 10.25s;
}

@keyframes fly-cycle {
  100% {
    background-position: -900px 0;
  }
}

@keyframes fly-right-one {
  0% {
    transform: scale(0.3) translateX(-10vw);
  }
  10% {
    transform: translateY(2vh) translateX(10vw) scale(0.4);
  }
  20% {
    transform: translateY(0vh) translateX(30vw) scale(0.5);
  }
  30% {
    transform: translateY(4vh) translateX(50vw) scale(0.6);
  }
  40% {
    transform: translateY(2vh) translateX(70vw) scale(0.6);
  }
  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.6);
  }
  60%,
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
}

.pc {
  display: none;
}

.mb {
  display: block;
}

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

.section1 {
  width: 100%;
  height: calc(100vh);
  background: url(../img/s1-bg.png) no-repeat center center;
  background-size: cover;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.s1-p1 {
  height: 15%;
  pointer-events: none;
  margin: 6% 0;
}

.s1-p2 {
  width: 50%;
  align-self: end;
  pointer-events: none;
}

.box1 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  width: 75%;
  height: 22.5%;
  margin: 12.5% 0;
}

.box1 img {
  width: 100%;
  object-fit: contain;
}

.banner-logo {
  position: absolute;
  left: 6%;
  bottom: 5%;
  width: 22%;
}

.logo {
  margin: 0 0 12.5% 0;
  width: 25%;
  align-self: end;
}

@media screen and (min-width: 768px) {
  .logo {
    width: 18%;
    margin: 6% 8% 12% 0;
  }

  .box1 {
    width: 70%;
    height: 25%;
    margin: 12.5% 0 0 0;
  }

  .s1-p1 {
    height: 16%;
    margin: 5% 0 0 0;
  }

  .s1-p2 {
    width: 35%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section1 {
    width: 100%;
    min-height: unset;
  }

  .s1 {
    flex-direction: row;
    width: 85%;
  }

  .logo {
    position: absolute;
    top: 8%;
    right: 12%;
    width: 8%;
    margin: unset;
  }

  .s1-p1 {
    position: relative;
    flex: 3;
    order: 2;
    height: 27%;
    object-fit: contain;
    align-self: end;
    bottom: 18%;
  }

  .s1-p2 {
    position: relative;
    flex: 2;
    order: 3;
    object-fit: contain;
    height: 15%;
    bottom: 5%;
    right: 10%;
  }

  .box1 {
    flex: 4;
    order: 1;
    margin-top: unset;
    margin-left: 3%;
    height: 33%;
  }

  .box1 img {
    width: 18%;
  }

  .pc {
    display: block;
  }

  .mb {
    display: none;
  }
}

@media screen and (min-width: 1500px) {
}

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

.section2 {
  background: unset;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 101%;
  z-index: -1;
  background-image: url(../img/form-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: scaleY(-1);
}
.sky {
  width: 100%;
  overflow-x: auto;
  -ms-overflow-style: none; /* IE / Edge */
  scrollbar-width: none; /* Firefox */
}
.sky::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}
.sky .pic {
  position: relative;
  width: fit-content;
}
.sky img {
  width: auto;
  height: auto;
  max-height: 80vh;
  display: block;
  pointer-events: none;
}
.aerial_light_wrapper {
  position: absolute;
  left: 37.25%;
  top: 65%;
  transform: translate(-50%, -50%);
  width: 3%;
  height: 30%;
  pointer-events: none;
}
.aerial_light_col {
  position: absolute;
  width: 75%;
  height: 85%;
  background: linear-gradient(
    0deg,
    rgba(255, 251, 177, 0.3),
    rgba(255, 251, 177, 0.1)
  );
  border-radius: 0 0 10px 10px;
  animation: flash 2s linear infinite;
}
.aerial_light_content {
  position: relative;
  width: 75%;
  height: 75%;
}
.aerial_light {
  position: absolute;
  top: 100%;
  width: 2px;
  height: 2px;
  background-color: #fffbb1;
}
.aerial_light:before {
  content: "";
  position: absolute;
  width: 3px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 251, 177, 1);
  box-shadow: 0 0 15px 3px #fffbb1, 0 0 10px 2px #fffbb1, 0 0 15px 3px #fffbb1,
    0 0 5px 1px #fff, 0 0 15px 3px #fff, 0 0 10px 2px #fff;
}
.aerial_light1 {
  left: 0;
  animation: light 4s linear infinite;
  animation-delay: -1s;
}
.aerial_light2 {
  left: 20%;
  animation: light 6s linear infinite;
  animation-delay: -2s;
}
.aerial_light3 {
  left: 40%;
  animation: light 8s linear infinite;
  animation-delay: -3s;
}
.aerial_light4 {
  left: 80%;
  animation: light 10s linear infinite;
  animation-delay: -4s;
}
.aerial_light5 {
  left: 100%;
  animation: light 12s linear infinite;
  animation-delay: -5s;
}

@keyframes flash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes light {
  0% {
    opacity: 1;
    margin-top: 0%;
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    margin-top: -800%;
    opacity: 0;
  }
}

.section2 h2 {
  width: 100%;
  color: #fff;
  font-size: 18px;
  text-align: center;
  z-index: 1;
  position: absolute;
  top: 5%;
  font-weight: 700;
}

.section2 .text {
  width: 85%;
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5% 3%;
}

.section2 p {
  line-height: 28.8px;
}

.section2 .p1 {
  margin-bottom: 5%;
}

@media screen and (max-width: 361px) {
  .section2 h2 {
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) {
  .section2 .text {
    text-align: center;
    padding: 3%;
  }

  .section2 h2 {
    font-size: 24px;
    top: 7%;
  }

  .section2 p {
    font-size: 16px;
    line-height: 32px;
  }

  .section2 .p1 {
    margin-bottom: unset;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section2 {
    height: 100%;
  }

  .sky {
    overflow: hidden; /* 滿版就不需要橫向捲動 */
  }

  .sky .pic {
    width: 100%;
    height: 100%;
  }

  .sky img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片鋪滿但不變形 */
    max-height: unset;
  }
}

/*========================================================
                         幻燈片區塊
=========================================================*/

section {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  border-top: 0.5px solid #9fa0a0;
}
.title {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  color: #9fa0a0;
  position: relative;
  flex: 7.5;
  text-align: end;
  right: 6%;
}
.line {
  height: 75px;
  flex: 2.5;
  border-left: 0.5px solid #9fa0a0;
}
.swiper-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
}

/* === Swiper 結構基本設定 === */

.block-div {
  width: 100%;
  height: 80px;
  background-color: #898989;
}
.swiper-container.swiper1 {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.swiper1 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ 滿版不變形 */
  display: block;
}
.swiper1 .swiper-slide {
  position: relative !important;
}
.swiper1 .swiper-slide span {
  position: absolute;
  font-size: 12px;
  font-weight: 400;
  bottom: 3px;
  right: 10px;
}

/* === 分頁圓點在圖片上 === */

.swiper1 .swiper-pagination {
  position: absolute;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 10;
}
.swiper1 .swiper-pagination-bullet-active {
  opacity: 1;
  background: #65a994 !important;
}

/* === 導航按鈕區塊（文字下方） === */
.swiper-text {
  text-align: center;
  background-color: #3e5e5e;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.swiper-text span {
  letter-spacing: 3px;
  font-weight: 700;
  margin: 8% 0 5% 0;
}
.custom-next,
.custom-prev {
  position: relative;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  cursor: pointer;
}
.custom-next:hover,
.custom-prev:hover {
  opacity: 0.7;
}
.swiper-button {
  display: flex;
  gap: 10px;
  margin-bottom: 5%;
}
.custom-next {
  background-image: url("../img/arrow-right.svg");
}
.custom-prev {
  background-image: url("../img/arrow-left.svg");
}

@media screen and (min-width: 768px) {
  .title {
    font-size: 1.2rem;
  }
  .line {
    height: 100px;
  }
  .block-div {
    height: 120px;
  }
  .swiper-text span {
    letter-spacing: 5px;
    font-size: 1rem;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  section {
    height: 100vh;
  }
  .title {
    font-size: 1.3rem;
  }
  .line {
    height: 100%;
  }
  .swiper-box {
    flex-direction: row;
    flex: 8;
  }
  .text-box {
    flex: 2;
  }
  .block-div {
    flex: 1;
    height: 100%;
  }
  .swiper1 {
    flex: 6.5;
  }
  .swiper-text {
    flex: 2.5;
    justify-content: center;
  }
}

/*========================================================
                         區塊4、6、8
=========================================================*/

.section4 .text-box,
.section6 .text-box,
.section8 .text-box {
  flex-direction: row-reverse;
}
.section4 .line,
.section6 .line,
.section8 .line {
  border-left: unset;
  border-right: 0.5px solid #9fa0a0;
}
.section4 .title,
.section6 .title,
.section8 .title {
  text-align: start;
  right: unset;
  left: 6%;
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section4 .swiper-box,
  .section6 .swiper-box,
  .section8 .swiper-box {
    flex-direction: row-reverse;
  }
}

/*========================================================
                         區塊9
=========================================================*/

.section9 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.s9-bg {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 103%;
  object-fit: cover;
  opacity: 0.5;
}
.s9 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 85%;
  height: 100%;
}
.s9-pic {
  position: relative;
  width: 100%;
  margin-top: 15%;
}
.s9-p1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s9-pic span {
  position: absolute;
  top: 5%;
  left: 8%;
  writing-mode: vertical-lr;
  font-weight: 700;
  color: #514f4eb0;
  font-size: 1.1rem;
  letter-spacing: 3px;
}
.s9-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
  font-weight: 400;
}
.s9-logo {
  width: 35%;
  margin: 5% 0 0 15%;
}
.s9 .line-div {
  content: "";
  width: 1.2px;
  height: 60px;
  background-color: #231815;
  margin: 8% 0;
}
.s9-text p {
  color: #3e5e5e;
  font-size: 22px;
  letter-spacing: 2.5px;
}
.s9-text .span1 {
  letter-spacing: 1.5px;
  margin-top: 5%;
}
.section9 .s9-text .title {
  right: unset;
  font-size: 18px;
  margin: 15% 0;
}

@media screen and (min-width: 768px) {
  .s9-pic {
    width: 85%;
  }
  .s9 .line-div {
    height: 85px;
  }
  .s9-text p {
    font-size: 28px;
  }
  .s9-text .span1 {
    font-size: 16px;
  }
  .section9 .s9-text .title {
    font-size: 24px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section9 {
    height: 100vh;
  }
  .s9 {
    flex-direction: row;
    width: 90%;
  }
  .s9-pic {
    width: 50%;
    margin-top: unset;
  }
  .s9-text {
    width: 50%;
  }
  .s9-p1 {
    width: 85%;
  }
  .s9-pic span {
    font-size: 1.2rem;
    top: 9%;
    left: 15%;
  }
  .s9-logo {
    width: 18%;
    margin: 5% 0 0 7%;
  }
  .s9 .line-div {
    margin: 5% 0;
  }
}

/*========================================================
                         區塊10
=========================================================*/

.section10 {
  background-color: #545556;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: start;
  color: #fff;
}
.s10 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 85%;
  height: 100%;
  padding: 5% 0;
}
.s10-logo {
  width: 70%;
  margin: 8% 0;
}
.s10-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  letter-spacing: 2.5px;
  font-size: 14px;
}
.s10 .span2 {
  margin: 3% 0;
}
.s10 .cases {
  display: flex;
}
.s10 .case1 {
  margin-right: 10%;
}
.s10-pic {
  width: 100%;
}
.s10-pic span {
  display: block;
  margin: 10% 0 4% 0;
  font-weight: 700;
  font-size: 1rem;
}
.swiper2 {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.swiper2 .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .section10 {
    height: 100%;
  }
  .s10 {
    padding: 5%;
  }
  .s10-logo {
    width: 45%;
    margin: 4% 0;
  }
  .s10-text {
    font-size: 16px;
  }
  .s10-pic span {
    margin: 5% 0 4% 0;
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section10 {
    height: 100vh;
  }
  .s10 {
    flex-direction: row;
    padding: unset;
  }
  .s10-logo {
    margin: 0 0 8% 0;
  }
  .s10-text {
    width: 45%;
    margin-left: 3%;
  }
  .s10-pic {
    width: 55%;
    display: flex;
    justify-content: center;
  }
  .s10-pic span {
    margin: unset;
    margin-right: 5%;
    writing-mode: vertical-lr;
    letter-spacing: 5px;
  }
}

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

.res-t1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20%;
}

.res-t1 img {
  height: 216px;
}

.res-logo {
  display: flex;
  justify-content: center;
  margin-top: 10%;
}

.res-logo img {
  width: 65%;
}

@media screen and (min-width: 768px) {
  .res-t1 .pc {
    display: block;
  }

  .res-t1 .mb {
    display: none;
  }

  .res-t1 img {
    height: unset;
    width: 45%;
  }

  .res-logo img {
    width: 45%;
  }
}

@media screen and (min-width: 1100px) {
  .res-t1 {
    margin-bottom: 15%;
  }
  .res-t1 img {
    width: 40%;
  }
}

input,
select {
  background-color: #fff;
  border-radius: 25px;
  color: #000;
  outline-color: #9c9749;
  border: 0px solid #333;
  padding-left: 15px;
  opacity: 0.6;
}
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;
}
textarea {
  width: 100%;
  color: #000;
  margin-bottom: 15px;
  padding: 10px 0 0 10px;
}
::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 {
  height: calc(100vh - 60px);
  min-height: 800px;
  position: relative;
}
.reservation .box {
  max-width: 800px;
  width: 85%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.reservation h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
}
.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: #b5aa96;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  border: none;
  border-radius: 25px;
  margin-top: 20px;
  padding: 10px 20px;
  line-height: normal;
}
.reservation .reg_disabled {
  cursor: no-drop;
  opacity: 0.6;
}
.reservation .reg_btn:hover {
  background-color: rgba(202, 188, 164, 0.872);
  color: #565555;
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: #b5aa96;
  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;
}

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

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

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

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

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

.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: #3e5e5e;
    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: #4e8f8fd7;
  }

  .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: #9c9749;
    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: #9c9749;
  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;
  }
}
