@charset "utf-8";
/* ===================================================	共用 =================================================== */
html,
body {
  background:
    url("../images/fixed_bg.jpg") top center no-repeat fixed,
    url("../images/color_1.jpg") top center repeat;
  background-size:
    100% auto,
    auto;
}

@media screen and (max-width: 991px) {
  html,
  body {
    background: url("../images/color_1.jpg");
    background-size: auto;
  }
}

@media screen and (max-width: 991px) {
  .blk_bas .blk_body > * {
    margin: 0vw auto 6vw;
  }
  .block_other {
    margin: 0 auto;
  }
}

/* =================================================== 通用設定 =================================================== */
/* ------------------ bg ------------------ */
.blk_body {
  background: url("../images/color_2.jpg");
  border-radius: 0 0 1em 1em;
}

/* ------------------ COLOR ------------------ */
:root {
  --layout-color1: #ea4127;
}

.toptitle .font h4 {
  background: url("../images/color_5.jpg");
}
.toptitle .font .price big {
  color: var(--layout-color1);
}

/* ------------------ 架構標 ------------------ */
@font-face {
  font-family: 華康儷金黑;
  src: url("../font/DFFN_4.TTC");
}
.blk_head {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 300px auto 0;
  background: url("../images/btt.jpg") top center no-repeat;
  background-size: contain;
  aspect-ratio: 1200 / 178;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blk_head::before {
  content: "";
  position: absolute;
  width: min(80%, 968px); /* 跟著標題一起縮放 */
  aspect-ratio: 968 / 335;
  right: 120px;
  top: -65%;
  transform: translateY(-50%);
  background: url("../images/btt_deco.png") center/contain no-repeat;
  pointer-events: none;
  z-index: 1;
}

.block2 > .blk_head::before,
.block4 > .blk_head::before,
.block6 > .blk_head::before {
  background-image: url("../images/btt_deco_1.png");
}

h2.btt {
  font-family: 華康儷金黑;
  font-size: clamp(2rem, 4vw + 1rem, 4rem);
  color: #fff;
}

@media screen and (max-width: 991px) {
  .blk_head {
    width: 100%;
    margin: 25vw auto -2vw;
  }

  .blk_head::before {
    width: 80%;
    right: 8%;
    top: -60%;
  }

  h2.btt {
    top: 0;
    z-index: 99;
  }
}

/* =================================================== 版頭設定 =================================================== */
/* ------------------版頭動畫------------------ */
.kv-bg {
  width: 100%;
}

.kvitem {
  position: absolute;
}

.kv_title {
  top: calc((494 / 1920) * 100%);
  left: calc((421 / 1920) * 100%);
  width: calc((431 / 1920) * 100%);
  animation: bounceInDown 3s;
  animation-fill-mode: backwards;
}

.kv_sale {
  top: calc((1438 / 1920) * 100%);
  left: calc((401 / 1920) * 100%);
  width: calc((515 / 1920) * 100%);
  animation: bounceIn 3s;
  animation-fill-mode: backwards;
  animation-delay: 2s;
  z-index: 2;
}

.kv_people {
  top: calc((76 / 1920) * 100%);
  left: calc((846 / 1920) * 100%);
  width: calc((689 / 1920) * 100%);
  animation: backInUp 3s;
  animation-fill-mode: backwards;
  animation-delay: 2s;
  z-index: 0;
}

.kv_people img {
  animation: bounce 3s infinite;
}

.kv_deco {
  top: calc((355 / 1920) * 100%);
  left: calc((244 / 1920) * 100%);
  width: calc((1479 / 1920) * 100%);
  animation-fill-mode: backwards;
  z-index: 1;
}

.kv_dot {
  top: calc((0 / 1920) * 100%);
  left: calc((0 / 1920) * 100%);
  width: calc((1920 / 1920) * 100%);
  animation-fill-mode: backwards;
  z-index: 1;
}

.kv_bottom {
  top: calc((0 / 1920) * 100%);
  left: calc((0 / 1920) * 100%);
  width: calc((1920 / 1920) * 100%);
  animation-fill-mode: backwards;
  z-index: 1;
}

/*閃光*/
.lightSweep {
  pointer-events: none;
  -webkit-filter: brightness(1.5);
  -webkit-mask-size: 300% 200%;
  -webkit-mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  -webkit-transition: -webkit-mask-position;
  -webkit-animation-timing-function: linear;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-filter: brightness(1.5);
  -moz-mask-size: 300% 200%;
  -moz-mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  -moz-transition: -webkit-mask-position;
  -moz-animation-timing-function: linear;
  -moz-transform: translate3d(0, 0, 0);
  -o-filter: brightness(1.5);
  -o-mask-size: 300% 200%;
  -o-mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  -o-transition: -webkit-mask-position;
  -o-animation-timing-function: linear;
  -o-transform: translate3d(0, 0, 0);
  filter: brightness(1.5);
  mask-size: 300% 200%;
  mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  transition: -webkit-mask-position;
  animation-timing-function: linear;
  transform: translate3d(0, 0, 0);
  transition-duration: 3s;
  animation: move 1.5s ease-out infinite;
}

@keyframes move {
  from {
    -webkit-mask-position: 150% 0px;
    -moz-mask-position: 150% 0px;
    -o-mask-position: 150% 0px;
    mask-position: 150% 0px;
  }
  to {
    -webkit-mask-position: 0% 0px;
    -moz-mask-position: 0% 0px;
    -o-mask-position: 0% 0px;
    mask-position: 0% 0px;
  }
}

/* ------------------  攻略  ------------------ */
.block0 {
  position: relative;
  background:
    url("../images/bg0_m.png") center no-repeat,
    url("../images/bg_0.jpg") top center repeat;
  padding: 0px 0 30px;
  background-size:
    100% auto,
    100% cover;
}

.block0 .blk_head::before {
  background: none;
}
.blk_item {
  background: #fae8e2;
}

.block0 .blk_head {
  margin: 0 auto -12px;
}

.blk_pre .tips {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  --bs-gutter-x: -40px;
  --bs-gutter-y: 0px;
}

.a1 {
  animation: scale_A 3s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.a2 {
  animation: scale_A 3s;
  animation-delay: 0.5s;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.a3 {
  animation: scale_A 3s;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.a4 {
  animation: scale_A 3s;
  animation-delay: 1.5s;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

@keyframes scale_A {
  0% {
    transform: scale(0.93);
  }
  50% {
    transform: scale(0.99);
  }
  100% {
    transform: scale(0.93);
  }
}

@media screen and (max-width: 991px) {
  .block0 {
    padding: 0 0;
  }

  .block0 .blk_head {
    margin: 0 auto 0px;
  }

  .blk_pre .tips {
    --bs-gutter-x: 3%;
    --bs-gutter-y: 0;
  }
}

/* =================================================== 版身設定 =================================================== */

/* ------------------  menu  ------------------ */
.menustyle2 {
  width: 150px;
  border-radius: 99em;
  padding: 40px 0;
  background: url("../images/color_5.jpg");
  border: 1px solid var(--menu-color3);
}
.menustyle2 a {
  font-family: 華康儷金黑;
}
.menustyle2 .nav-link.active,
.menustyle2 .nav-link:hover {
  background: url("../images/color_3.jpg");
  color: #fff;
}

@media screen and (max-width: 991px) {
  .menustyle2 {
    width: 100%;
    border-radius: 0;
    padding: 0 0;
    border: none;
  }
}

/* ------------------  go_btn------------------ */
.go_btn {
  margin: 30px auto;
}

.go_btn a {
  display: block;
  width: fit-content;
  height: auto;
  margin: 0 auto;
  padding: 0 30px;
  font-family: 華康儷金黑;
  border: 2px solid #fff;
  border-radius: 999em;
  text-align: center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 2;
  letter-spacing: 1px;
  background: url("../images/color_3.jpg");
  box-shadow: 0 7px #5f2d20;
  transition: 0.2s;
}

.go_btn a:hover {
  filter: brightness(70%);
  transform: translateY(4px);
  box-shadow: 0 2px #ea4127;
}

@media screen and (max-width: 991px) {
  .go_btn {
    margin: 3vw auto;
  }

  .go_btn a {
    padding: 0 5vw;
    font-size: 2rem;
    line-height: 4rem;
  }

  .go_btn a:hover {
    transform: translateY(3px);
  }
}
