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

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

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

body {
  font-family: "Noto Serif TC", "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 32px;
  font-size: 0.9rem;
  color: #111;
  overflow-x: hidden;
}
p {
  margin: unset;
}
.mb {
  display: block;
}
.tb {
  display: none;
}
.pc {
  display: none;
}

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

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
}

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

/*========================================================
                         區塊1
=========================================================*/
.section1 {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 9 / 16;
}
.top-video {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}
.sound-toggle {
  position: absolute;
  right: 20px;
  bottom: 50px;
  z-index: 20;
  width: 44px;
  height: 44px;

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

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

  font-size: 18px;
  cursor: pointer;

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

  transition: 0.3s ease;
}
.sound-toggle:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
}
.sound-toggle i {
  pointer-events: none;
}
.sound-toggle:active {
  transform: scale(0.9);
}
.deco1,
.deco2,
.deco3,
.deco4 {
  position: absolute;
  left: -1px;
  width: 110%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.deco1 {
  top: 0;
  width: 115%;
}
.deco2,
.deco3,
.deco4 {
  bottom: -1px;
}
@media screen and (min-width: 768px) {
  .section1 {
    aspect-ratio: 16 / 9;
  }
  .top-video {
    height: 100%;
    aspect-ratio: 16 / 9;
  }
  .deco4 {
    width: 120%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .deco1,
  .deco2,
  .deco3,
  .deco4 {
    left: 0;
    width: 100%;
    object-fit: contain;
  }
  .section1 {
    height: 100vh;
  }
  .top-video {
    height: 100vh;
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 87.5%,
      transparent 100%
    );
    mask-image: linear-gradient(to bottom, black 87.5%, transparent 100%);
  }
}

@media screen and (min-width: 1500px) {
  .s1-p1 {
    margin: 2% 0 3% 0;
    max-width: 700px;
  }
  .s1 .text p {
    font-size: 18px;
    line-height: 36px;
  }
  .s1 .logo {
    max-width: 325px;
  }
}

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

.section2 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 85%;
  height: 100%;
  margin-bottom: 25%;
}
.s2 p {
  color: #40210d;
  font-size: 0.75rem;
}
@media screen and (max-width: 410px) {
  .s2 {
    width: 90%;
  }
  .s2 p {
    font-size: 11px;
    line-height: 24px;
  }
}
.s2 .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 15%;
}
.s2 .div {
  width: 40%;
}
.s2-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: url("../img/s2-logo.png") center/contain no-repeat;
  position: relative;
  display: inline-block;
  animation: bob 2.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* 高光流動層 */
.s2-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: url("../img/s2-logo.png") center/contain no-repeat;
  mask: url("../img/s2-logo.png") center/contain no-repeat;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(251, 249, 241, 0.85) 50%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  mix-blend-mode: screen;
  pointer-events: none;

  animation:
    flow 2.6s linear infinite,
    shimmer 3.6s ease-in-out infinite;
}

/* 左→右流動 */
@keyframes flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
/* 上下微幅擺動 */
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* 高光呼吸 */
@keyframes shimmer {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

.s2-t1 {
  width: 60%;
  margin: 5% 0;
}
.s2 .box {
  width: 100%;
  height: auto;
  margin: 5% 0;
}
.s2 .text-block {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 5%;
}
.s2 .slide-title {
  width: 50%;
  margin-bottom: 3%;
}
.s2-deco {
  width: 120%;
  margin: 8% 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;
  left: 10px;
  color: #fff;
}
.swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/shine.gif") center / cover no-repeat;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.3;
  border-radius: 50px;
  transform: scaleX(-1);
}
.reverse .swiper-slide::after {
  transform: scaleX(1);
}
.reverse {
  flex-direction: row-reverse;
}
.end {
  align-items: end;
  text-align: end;
}

@media screen and (min-width: 768px) {
  .s2 {
    width: 75%;
  }
  .s2 .div {
    width: 25%;
  }
  .s2-t1 {
    width: 45%;
  }
  .s2 .slide-title {
    width: 40%;
  }
  .s2-deco {
    margin: 0 0 4% 0;
  }
  .s2 p {
    font-size: 1rem;
  }
  .swiper1 .swiper-slide span {
    font-size: 14px;
    bottom: 5px;
    left: 15px;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .s2 {
    width: 90%;
  }
  .s2 .title {
    width: 55%;
    margin-top: 10%;
  }
  .s2 .slide-title,
  .s2 p {
    margin: 0 4% 3% 4%;
  }
  .s2 .box {
    display: flex;
    margin: 7.5% 0;
  }
  .s2 .text-block {
    margin-bottom: unset;
  }
  .swiper-container.swiper1 {
    width: 85%;
  }
  .swiper1 .swiper-slide span {
    font-size: 16px;
    bottom: 8px;
    left: 20px;
  }
}

@media screen and (min-width: 1500px) {
  .s2 {
    width: 85%;
  }
  .s2 .slide-title,
  .s2 p {
    font-size: 18px;
    line-height: 36px;
    margin: 0 6% 3% 6%;
  }
  .swiper-container.swiper1 {
    width: 80%;
  }
  .s2 .title {
    width: 50%;
  }
}

/*========================================================
                         master
=========================================================*/

.master {
  background: url(../img/banner-bg.png) no-repeat bottom center;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ma {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  height: 100%;
  margin-bottom: 25%;
}
.ma p {
  color: #40210d;
  font-size: 0.7rem;
  font-weight: 600;
}
@media screen and (max-width: 410px) {
  .ma {
    width: 90%;
  }
  .ma p {
    font-size: 11px;
    line-height: 24px;
  }
}
.ma .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 15%;
}
.ma .div {
  width: 40%;
}
.master-logo {
  width: 100%;
  aspect-ratio: 408 / 245;
  background: url("../img/master-logo.png") center/contain no-repeat;
  position: relative;
  display: inline-block;
  animation: bob 2.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* 高光流動層 */
.master-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: url("../img/master-logo.png") center/contain no-repeat;
  mask: url("../img/master-logo.png") center/contain no-repeat;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(251, 249, 241, 0.85) 50%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  mix-blend-mode: screen;
  pointer-events: none;

  animation:
    flow 2.6s linear infinite,
    shimmer 3.6s ease-in-out infinite;
}

.master-t1 {
  width: 60%;
  margin: 5% 0;
}
.ma .box {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  margin: 5% 0;
}
.ma .text-block {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-bottom: 5%;
}
.ma .text-block.rv {
  width: 60%;
}
.ma .slide-title {
  width: 85%;
  margin-bottom: 3%;
}
.ma .slide-title.rv {
  width: 75%;
}
.ma .pic {
  width: 50%;
  position: absolute;
  top: 0;
  left: 0;
}
.ma .pic.rv {
  width: 55%;
  left: unset;
  right: -5%;
}
.ma .pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .ma {
    width: 80%;
  }
  .ma .title {
    margin-bottom: 5%;
  }
  .ma .div {
    width: 30%;
  }
  .master-t1 {
    width: 45%;
  }
  .ma .text-block {
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-bottom: 5%;
  }
  .ma .text-block.rv {
    width: 50%;
  }
  .ma .pic {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
  }
  .ma .pic.rv {
    width: 50%;
    top: unset;
    left: unset;
    right: unset;
  }
  .ma .pic .master-p2 {
    object-position: top;
  }
  .ma .slide-title,
  .ma .slide-title.rv {
    width: 80%;
  }
  .ma p {
    font-size: 16px;
    line-height: 36px;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .ma {
    width: 90%;
    max-width: 1200px;
    margin-bottom: 15%;
  }
  .ma .title {
    width: 65%;
    margin-bottom: unset;
  }
  .ma .box {
    align-items: start;
    justify-content: center;
  }
  .ma .box.reverse {
    align-items: end;
    justify-content: space-between;
  }
  .ma .pic {
    width: 37.5%;
  }
  .ma .pic.rv {
    width: 35%;
  }
  .ma .text-block {
    margin-bottom: unset;
  }
  .ma .text-block.rv {
    width: 35%;
  }
  .ma .slide-title {
    width: 70%;
    margin-bottom: 8%;
  }
  .ma .slide-title.rv {
    width: 100%;
  }
}

@media screen and (min-width: 1500px) {
  .ma .title {
    width: 60%;
  }
  .ma p {
    font-size: 18px;
    line-height: 36px;
  }
}

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

.section3 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10%;
  background-color: #fff;
  color: #584446;
  font-weight: 500;
}
.section3 .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
}
.s3-logo {
  width: 30%;
}
.s3-t1 {
  width: 60%;
  margin: 5% 0;
}
.s3-t2 {
  width: 95%;
  margin: 5% 0 2.5% 0;
}
.s3-t3 {
  width: 55%;
  margin: 5% 0 1.5% 0;
}
.section3 .box {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  width: 85%;
  height: 100%;
  max-width: 1200px;
  margin-bottom: 15%;
}
.section3 .box-mb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  height: 100%;
  margin-bottom: 15%;
}
.section3 .pic {
  position: relative;
  width: 75%;
  margin: 8% 0;
}
.section3 .timeline {
  position: relative;
}
.section3 .cases {
  display: block;
  margin: 10% 0;
  width: 100%;
  font-weight: 600;
}
.section3 .text {
  width: 100%;
}
.section3 .brand {
  display: block;
  margin: 8% 0;
  line-height: 28px;
  font-size: 14px;
  width: 100%;
  font-weight: 700;
}
.section3 .pic img,
.section3 .timeline img {
  width: 100%;
  height: 100%;
}
.s3-p1,
.tl {
  display: block;
  max-width: 100%;
  height: auto;
}
.gm-logo {
  margin: 3% 0 15% 0;
  width: 35%;
}
.style2 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.year {
  font-size: 1.5rem;
  letter-spacing: 1px;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .s3-logo {
    width: 22.5%;
  }
  .s3-t1 {
    width: 45%;
  }
  .section3 .box {
    width: 90%;
    flex-direction: row;
    margin-bottom: 20%;
  }
  .s3-title {
    margin: 30% 0 5% 0;
  }
  .section3 .pic {
    width: 70%;
    margin: 0 8%;
  }
  .s3-t2 {
    width: 95%;
    margin: 2.5% 0;
  }
  .s3-t3 {
    width: 50%;
    margin: 3% 0 1.5% 0;
  }
  .section3 .box .cases {
    font-size: 16px;
    line-height: 32px;
    margin: unset;
  }
  .section3 .text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .section3 .title {
    width: 55%;
  }
  .s3-t2 {
    width: 90%;
    margin: 3% 0 8% 0;
  }
  .section3 .pic {
    width: 48%;
    margin: 0 10%;
  }
  .section3 .box-mb {
    display: none;
  }
  .section3 .box {
    display: flex;
    width: 75%;
  }
  .section3 .brand,
  .section3 .cases {
    width: 68%;
  }
  .section3 .pc {
    display: flex;
  }
  .gm-logo {
    margin: 10% 0 15% 0;
    width: 40%;
  }
}

@media screen and (min-width: 1400px) {
  .section3 .brand,
  .section3 .cases {
    width: 60%;
  }
  .year {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }
}

@media screen and (min-width: 1500px) {
  .section3 .title {
    width: 50%;
  }
  .section3 .brand {
    font-size: 16px;
    line-height: 32px;
  }
  .section3 .text {
    margin-left: 0;
  }
  .section3 .box .cases {
    font-size: 18px;
    line-height: 36px;
  }
  .section3 .cases div {
    margin-bottom: 3%;
  }
  .gm-logo {
    width: 50%;
  }
}

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

input[type="text"],
input[type="phone"],
input[type="email"] {
  all: unset;
}

input,
select {
  background-color: #fff !important;
  color: #584446 !important;
  padding-left: 10px !important;
  border-radius: unset !important;
  border: 1px solid #333 !important;
}

input:focus,
select:focus {
  outline: 1px solid #f7c884 !important;
  box-shadow: 0 0 10px 5px rgb(149 149 149) !important;
}

.input-error {
  outline: 0;
  border: 3px solid #ff0000 !important;
  box-shadow: 0 0 10px 3px rgb(255, 255, 255) !important;
}

.input-error:focus {
  outline: 0;
}

input[type="text"],
input[type="phone"],
input[type="email"],
select {
  height: 45px;
  font-size: 0.9rem;
}

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: #584446 !important;
  font-size: 0.9rem !important;
}
:-ms-input-placeholder {
  color: #584446 !important;
}
::-ms-input-placeholder {
  color: #584446 !important;
}
.reservation {
  background-image: url(../img/banner-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}
.reservation .box {
  position: relative;
  z-index: 1;
  padding: 8% 5%;
  max-width: 550px;
  width: 100%;
}
.reservation .input-block {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.reservation .info {
  margin: 3% 0;
  color: #fff;
}
/* 所有欄位預設一列寬 */
.reservation .input-block input,
.reservation .input-block select {
  flex: 1 1 100%;
}
.reservation .form_check_txt {
  color: #40210d;
  font-size: 0.75rem;
  margin-left: 3px;
  line-height: 1.8;
}
.reservation .form_check_txt a {
  text-decoration: none;
  color: #40210d;
}
.reservation .reg_btn {
  background: #000;
  background: linear-gradient(
    270deg,
    #5d2c19 0%,
    #784029 25%,
    #946551 50%,
    #784029 75%,
    #5d2c19 100%
  );
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  border: unset;
  border-radius: 3.5px;
  margin-top: 30px;
  padding: 0 30px;
  height: 40px;
}
.reservation .reg_disabled {
  cursor: no-drop;
  opacity: 0.8;
}
.reservation .reg_btn:hover {
  background: linear-gradient(
    270deg,
    #946551 0%,
    #784029 25%,
    #5d2c19 50%,
    #784029 75%,
    #946551 100%
  );
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  opacity: 0.6;
}
.reservation .msgerror {
  color: #f34141;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

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

  .reservation .input-block .field-group-half {
    flex: 1 1 calc(50% - 7px);
  }

  .reservation .input-block .field-group-full {
    flex: 1 1 100%;
  }

  .reservation input,
  .reservation select,
  .reservation ::placeholder {
    font-size: 0.9rem !important;
  }

  input[type="text"],
  input[type="phone"],
  input[type="email"],
  select,
  .reservation .reg_btn {
    height: 45px;
  }

  .reservation .box {
    width: 75%;
    padding: 5% 5%;
  }
  .reservation .form_check_txt {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 1100px) {
  .reservation {
    height: 150vh;
  }
  .reservation .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    gap: 50px;
  }
  .reservation .reg_btn {
    font-size: 20px;
  }

  form {
    flex: 1;
    max-width: 500px;
  }
}

@media screen and (min-width: 1500px) {
  .reservation {
    min-height: 1300px;
  }
  .reservation .box {
    padding: 3% 5% 6% 5%;
  }
}

/*========================================================
                         form-info
=========================================================*/

.form-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3%;
}
.form-t1 {
  width: 85%;
  margin-top: 15%;
}
.form-t2 {
  width: 85%;
  margin-bottom: 15%;
}
.form-t3 {
  width: 80%;
  margin-bottom: 5%;
}
.form-t4 {
  width: 60%;
  margin: 5% 0 15% 0;
}
.map {
  position: relative;
  width: 100%;
  height: 350px;
}

@media screen and (min-width: 1100px) {
  .form-info {
    flex: 1;
    max-width: 450px;
    padding: unset;
  }
  .form-t1 {
    width: 75%;
  }
  .form-t2 {
    width: 75%;
  }
  .form-t3 {
    width: 70%;
  }
  .form-t4 {
    width: 40%;
    margin: 3% 0 20% 0;
  }
  .map {
    height: 500px;
  }
}

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

.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: #603813;
    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: #814d1d;
  }

  .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: #603813;
    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: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #593124;
  color: #fff;
  margin-bottom: 68px;
}

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

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