@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;
  scroll-behavior: smooth;
}

p {
  margin: unset;
}

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

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

.section1 {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 65%;
  height: 100%;
}
.text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.logo {
  position: relative;
  align-self: flex-start;
  width: 35%;
  margin-top: 21%;
}
.s1 .text-box {
  width: 100%;
  margin-bottom: 10%;
}
.s1 .text-box img {
  width: 100%;
  margin: 2% 0;
}
.s1 .text-box .s1-t3 {
  width: 75%;
}
.s1-p1,
.s1-p2 {
  position: absolute;
}
.s1-p1 {
  width: 75%;
  right: 0;
  bottom: 20%;
  mix-blend-mode: multiply;
}
.s1-p2 {
  width: 12.5%;
  left: 20%;
  bottom: 30%;
}

@media screen and (min-width: 768px) {
  .section1 {
    height: 100vh;
  }
  .logo {
    width: 25%;
    margin-top: 20%;
  }
  .s1-p1 {
    width: 60%;
  }
  .s1-p2 {
    width: 10%;
    left: 40%;
    bottom: 35%;
  }
  .s1 .text-box img {
    width: 80%;
  }
  .s1 .text-box .s1-t3 {
    width: 60%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .s1 {
    flex-direction: row;
    width: 100%;
  }
  .s1 .text-block {
    width: 50%;
    justify-content: center;
  }
  .s1 .img-block {
    position: relative;
    width: 50%;
    height: 100vh;
  }
  .logo {
    width: 17.5%;
    margin: 5% 0 10% 27.5%;
  }
  .s1 .text-box {
    margin-bottom: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .s1 .text-box img {
    width: 45%;
  }
  .s1 .text-box .s1-t3 {
    width: 35%;
  }
  .s1-p1 {
    width: 65%;
    bottom: 0;
  }
  .s1-p2 {
    width: 9%;
    left: 22%;
    bottom: 25%;
  }
}

@media screen and (min-width: 1500px) {
  .s1-p1 {
    width: 60%;
  }
  .s1-p2 {
    left: 30%;
  }
}

/*========================================================
                         區塊2
=========================================================*/
.section3,
.section4,
.section5,
.section6,
.section8
.shuu {
  min-height: 932px;
}

.section2 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.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 .pic img {
  width: auto;
  height: auto;
  min-height: 950px;
  max-height: 100vh;
  display: block;
  pointer-events: none;
}
.section2 .text-box {
  width: 100%;
  color: #fff;
  text-align: center;
  z-index: 1;
  position: absolute;
  top: 5%;
  line-height: normal;
}
.s2-t1 {
  width: 60%;
}
.section2 .text-box h2 {
  font-family: "Noto Serif TC";
  font-size: 1.5rem;
  font-weight: 700;
  margin: 5% 0;
}
.section2 .text-box span {
  line-height: 24px;
}

@media screen and (min-width: 768px) {
  .s2-t1 {
    width: 40%;
  }
  .section2 .text-box h2 {
    font-size: 2rem;
    margin: 3% 0;
  }
  .section2 .text-box span {
    font-size: 1rem;
    line-height: 32px;
  }
  .sky .pic img {
    min-height: 1300px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section2 .text-box {
    text-align: start;
    top: 8%;
    left: 4%;
  }
  .s2-t1 {
    width: 25%;
  }
  .section2 .text-box h2 {
    margin: 1% 0;
  }
  .section2 .text-box span {
    font-size: 0.9rem;
    line-height: 24px;
    letter-spacing: 2px;
  }
  .sky {
    overflow: hidden; /* 滿版就不需要橫向捲動 */
  }
  .sky .pic {
    width: 100%;
    height: 100%;
  }
  .sky .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片鋪滿但不變形 */
    object-position: bottom;
    min-height: unset;
    max-height: 1080px;
  }
}
@media screen and (min-width: 1500px) {
  .s2-t1 {
    width: 20%;
  }
}

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

.section3 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s3 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}
.s3 .img-box {
  position: relative;
  width: 100%;
}
.s3 .s3-p1 {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.s3-t1,
.s3-t2,
.s3 .img-box span {
  position: absolute;
  z-index: 1;
}
.s3-t1,
.s3-t2 {
  left: 50%;
  transform: translate(-50%, -50%);
}
.s3-t1 {
  width: 50%;
  bottom: 12%;
}
.s3-t2 {
  width: 60%;
  bottom: 3%;
}
.s3 .img-box span {
  font-size: 0.7rem;
  color: #fff;
  bottom: 0;
  right: 15px;
}
.s3 .text-box {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.s3-t3 {
  width: 45%;
  margin: 10% 0;
}
.s3 .text-box p {
  color: #006771;
  letter-spacing: 1px;
  line-height: 28px;
  margin-bottom: 10%;
}
.s3 .box {
  display: flex;
}
.s3 .box img {
  width: 100%;
}
.s3-p2 {
  position: relative;
  margin-right: 2px;
}
.s3-p3 {
  position: relative;
  margin-left: 2px;
}
.s3-p2 span,
.s3-p3 span {
  position: absolute;
  bottom: 3px;
  right: 3px;
  font-size: 7px;
  line-height: 14px;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .section3 {
    height: 100%;
  }
  .s3-t3 {
    width: 35%;
  }
  .s3 .text-box p {
    line-height: 35.4px;
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section3 {
    justify-content: center;
    height: 100vh;
    min-height: unset;
  }
  .s3 {
    flex-direction: row;
  }
  .s3 .img-box {
    width: 40%;
    height: 100%;
  }
  .s3 .s3-p1 {
    object-fit: cover;
  }
  .s3 .text-box {
    width: 33%;
  }
  .s3-t3 {
    width: 40%;
  }
  .s3 .text-box p {
    font-size: 0.9rem;
    line-height: 32px;
  }
  .s3 .box {
    height: 100%;
    flex-direction: column;
  }
  .s3 .box .s3-p2,
  .s3 .box .s3-p3 {
    width: 100%;
    height: 50%;
    margin: unset;
  }
  .s3-p2 span,
  .s3-p3 span {
    font-size: 10px;
    line-height: 20px;
  }
  .s3 .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (min-width: 1500px) {
  .s3 .text-box p {
    font-size: 1rem;
  }
  .s3-t3 {
    width: 35%;
  }
}

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

.section4,
.section6 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #d9dedc;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.s4,
.s6 {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 100%;
}
.s4 .img-block,
.s4 .text-block,
.s6 .img-block,
.s6 .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 28px;
}
.s4 .text-block,
.s6 .text-block {
  justify-content: start;
}
.s4-t1 {
  width: 85%;
  margin: 15% 0;
}
.s6-t1 {
  width: 60%;
  margin: 15% 0;
}
.s4-t2 {
  width: 85%;
  margin: 8% 0 12% 0;
}
.s6-t2 {
  width: 75%;
  margin: 8% 0 12% 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;
}
.s4 .swiper1 .swiper-slide .span2 {
  left: 10px;
  right: unset;
}

@media screen and (min-width: 768px) {
  .section4,
  .section6 {
    height: 100%;
  }
  .s4-t1 {
    width: 70%;
    margin: 15% 0 10% 0;
  }
  .s6-t1 {
    width: 50%;
    margin: 15% 0 10% 0;
  }
  .s4-t2 {
    width: 65%;
    margin: 10% 0;
  }
  .s6-t2 {
    width: 60%;
    margin: 10% 0;
  }
  .s4 .span,
  .s6 .span {
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 35.4px;
    margin-bottom: 15%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section4,
  .section6 {
    height: 100vh;
    min-height: unset;
  }
  .s4 {
    flex-direction: row;
  }
  .s6 {
    flex-direction: row-reverse;
  }
  .s4 .img-block,
  .s4 .text-block,
  .s6 .img-block,
  .s6 .text-block {
    width: 50%;
  }
  .s4-t1 {
    width: 75%;
    margin: 0 0 8% 0;
  }
  .s6-t1 {
    width: 60%;
    margin: 0 0 8% 0;
  }
  .s4-t2 {
    width: 65%;
    margin: 8% 0;
  }
  .s6-t2 {
    width: 55%;
    margin: 8% 0;
  }
  .s4 .span,
  .s6 .span {
    font-size: 1rem;
    line-height: 32px;
    margin-bottom: unset;
  }
  .s4 .text-block,
  .s6 .text-block {
    justify-content: center;
  }
  .swiper-container.swiper1 {
    width: 85%;
  }
}

@media screen and (min-width: 1500px) {
  .s4-t1 {
    width: 70%;
  }
  .s4-t2 {
    width: 55%;
  }
  .s6-t1 {
    width: 55%;
  }
  .s6-t2 {
    width: 45%;
  }
}

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

.section5 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s5 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}
.s5 .img-block {
  width: 100%;
}
.s5 .img-block img {
  position: absolute;
  z-index: 0;
}
.s5-p1 {
  width: 38%;
  left: 5%;
  top: 5%;
}
.s5-p2 {
  width: 52%;
  top: 24%;
  right: 0;
}
.s5-t1 {
  width: 40%;
  top: 10%;
  right: 12.5%;
}
.s5 .text-block {
  width: 90%;
  justify-content: end;
}
.s5 .text-box {
  width: 100%;
}
.s5-t2 {
  width: 45%;
}
.s5 .text-block .span {
  color: #006771;
  line-height: 24px;
  margin: 8% 0;
}
.s5 .swiper1 {
  margin-bottom: 12%;
}

@media screen and (min-width: 768px) {
  .section5 {
    height: 100%;
  }
  .s5 .text-block {
    min-height: 1500px;
  }
  .s5-p1 {
    width: 30%;
  }
  .s5-p2 {
    width: 47%;
    top: 22.5%;
  }
  .s5-t1 {
    width: 35%;
    right: 20%;
  }
  .s5-t2 {
    width: 38%;
  }
  .s5 .text-block .span {
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 35.4px;
    margin: 5% 0;
  }
}

@media screen and (min-width: 992px) {
  .s5 .text-block {
    min-height: 1800px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section5 {
    height: 100vh;
    min-height: unset;
  }
  .s5 {
    position: unset;
    flex-direction: row-reverse;
    width: 90%;
  }
  .s5 .img-block {
    width: 50%;
    height: 100%;
  }
  .s5 .text-block {
    width: 50%;
    min-height: unset;
    justify-content: center;
  }
  .s5 .text-box {
    width: 85%;
    margin-top: 5%;
  }
  .s5 .swiper1 {
    margin-bottom: unset;
  }
  .s5-p1 {
    left: unset;
    width: 16%;
    top: 10%;
  }
  .s5-p2 {
    top: unset;
    bottom: 0;
    width: 25%;
  }
  .s5-t1 {
    width: 20%;
    top: 20%;
    right: 10%;
  }
  .s5-t2 {
    width: 40%;
  }
  .s5 .text-block .span {
    font-size: 1rem;
    line-height: 32px;
    margin: 3% 0;
  }
}

@media screen and (min-width: 1500px) {
  .s5-p1 {
    width: 13%;
  }
  .s5-p2 {
    width: 22%;
  }
  .s5-t1 {
    right: 12.5%;
  }
  .s5-t2 {
    width: 35%;
  }
}

/*========================================================
                         區塊7
=========================================================*/

.section7 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s7 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s7 .pic {
  position: relative;
  background-color: #d9dedc;
  width: 100%;
  height: 100%;
}
.s7-p1 {
  display: block;
  width: 100%;
  height: 100%;
}
.s7-t1 {
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45%;
}
.s7-sparkle {
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0;
  animation: sparkleBlink1 3s ease-in-out infinite;
  pointer-events: none;
}
.s7 .pic span,
.s7 .box .img-block span {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 3%;
  color: #fff;
  font-size: 12px;
}

.s7 .box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  height: 100%;
  margin: 10% 0;
}
.s7 .box .text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 28px;
  margin: 10% 0;
  text-align: center;
}
.s7-t2 {
  width: 55%;
}
.s7-t3 {
  width: 70%;
  margin: 10% 0;
}
.s7 .mb {
  display: block;
}
.s7 .pc {
  display: none;
}
.s7 .box .text-block span {
  color: #006771;
}
.s7 .box .img-block {
  position: relative;
  text-align: center;
  width: 100%;
  height: 100%;
  margin-bottom: 10%;
}
.s7-p2 {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .s7 .pic span,
  .s7 .box .img-block span {
    font-size: 14px;
  }
  .s7 .box .text-block {
    width: 75%;
    margin: 5% 0 10% 0;
    line-height: 35.4px;
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
  .s7 .box .img-block {
    width: 75%;
    margin-bottom: unset;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section7 {
    flex-direction: row;
    justify-content: center;
    height: 100%;
    min-height: unset;
  }
  .s7 {
    flex-direction: row;
  }
  .s7 .pic,
  .s7 .box {
    width: 50%;
    margin: unset;
    font-size: 1rem;
    line-height: 32px;
  }
  .s7 .box .text-block {
    margin: 8% 0 0 0;
    line-height: 24px;
    font-size: 0.75rem;
  }
  .s7 .box .img-block {
    display: flex;
    justify-content: center;
    width: 55%;
    margin: 5% 0;
  }
  .s7-p1,
  .s7-sparkle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
  }
  .s7-t2 {
    width: 40%;
  }
  .s7-t3 {
    margin: 5% 0;
  }
  .s7 .mb {
    display: none;
  }
  .s7 .pc {
    display: block;
  }
  .s7 .pic span,
  .s7 .box .img-block span {
    font-size: 12px;
  }
}

@media screen and (min-width: 1500px) {
  .s7 .box .text-block {
    font-size: 1rem;
    line-height: 32px;
  }
  .s7 .box .img-block {
    width: 50%;
  }
}

@media screen and (max-width: 390px) {
  .section4 span,
  .section7 span {
    font-size: 0.8rem;
  }
}

/*========================================================
                         區塊8
=========================================================*/

.section8 {
  background-color: #d9dedc;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.s8 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  height: 100%;
}
.s8 .text-block,
.s8 .img-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50%;
  line-height: 28px;
}
.s8-t1 {
  width: 60%;
}
.s8-t2 {
  margin: 8% 0;
}
.s8-t2,
.s8-t3 {
  width: 70%;
}
.s8 .text-block .span {
  margin-top: 12%;
}
.s8 .img-box {
  display: flex;
}
.s8-p1,
.s8-p2 {
  width: 100%;
}
.s8-p1 {
  padding-right: 2.5px;
}
.s8-p2 {
  padding-left: 2.5px;
}
.s8-t4 {
  width: 50%;
  margin-bottom: 10%;
}
.s8 .pic {
  display: flex;
  flex-direction: column;
}
.s8 .pic span {
  text-align: start;
  font-size: 12px;
  font-weight: 400;
}
.s8 .pic .sp2 {
  padding-left: 2.5px;
}

@media screen and (min-width: 768px) {
  .s8-t1 {
    width: 40%;
  }
  .s8-t2 {
    margin: 5% 0;
  }
  .s8-t2,
  .s8-t3 {
    width: 55%;
  }
  .s8 .text-block .span {
    margin: 8% 0;
    line-height: 35.4px;
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
  .s8-t4 {
    width: 36%;
    margin-bottom: 6%;
  }
  .s8-p1 {
    padding-right: 10px;
  }
  .s8-p2 {
    padding-left: 10px;
  }
  .s8 .pic span {
    font-size: 16px;
    line-height: 32px;
  }
  .s8 .pic .sp2 {
    padding-left: 10px;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section8 {
    height: 100vh;
    min-height: unset;
  }
  .s8 {
    flex-direction: row;
  }
  .s8 .img-block,
  .s8 .text-block {
    height: 100%;
  }
  .s8 .text-block .span {
    line-height: 32px;
    font-size: 1rem;
  }
}

@media screen and (min-width: 1500px) {
  .s8-t1 {
    width: 35%;
  }
  .s8-t2,
  .s8-t3 {
    width: 45%;
  }
  .s8 .pic span {
    font-size: 20px;
    line-height: 40px;
  }
}

/*========================================================
                         shuu
=========================================================*/

.shuu {
  background: url(../img/shuu-bg-mb.png) no-repeat bottom center;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.shuu .box {
  width: 85%;
  height: 100%;
}
.shuu .text-block {
  justify-content: start;
  color: #fff;
  font-weight: 300;
  line-height: 28px;
}
.shuu-logo {
  width: 18%;
  margin: 25% 0 8% 0;
}
.shuu-t1 {
  position: relative;
  width: 85%;
}
.shuu-title {
  display: block;
  width: 100%;
  height: 100%;
}
.shuu-sparkle {
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  transform-origin: 28%;
  opacity: 0;
  animation: sparkleBlink2 3s ease-in-out infinite;
  pointer-events: none;
}
.shuu-t2 {
  width: 60%;
  margin: 5% 0 8% 0;
}

@media screen and (min-width: 768px) {
  .shuu {
    height: 120vh;
  }
  .shuu .text-block {
    line-height: 32px;
    font-size: 1rem;
    letter-spacing: 2px;
  }
  .shuu-logo {
    width: 14%;
    margin: 8% 0 5% 0;
  }
  .shuu-t1 {
    width: 60%;
  }
  .shuu-t2 {
    width: 45%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .shuu {
    background: url(../img/shuu-bg-pc.png) no-repeat bottom center;
    background-size: cover;
    height: 100vh;
    flex-direction: row;
    justify-content: start;
  }
  .shuu .box {
    width: 50%;
  }
  .shuu .text-block {
    justify-content: center;
  }
  .shuu-logo {
    width: 10%;
    margin: 0 0 5% 0;
  }
  .shuu-t1 {
    width: 55%;
  }
  .shuu-t2 {
    width: 35%;
    margin: 3% 0 5% 0;
  }
  .shuu .span {
    margin-bottom: 10%;
  }
}

@media screen and (min-width: 1500px) {
  .shuu-logo {
    width: 9%;
  }
  .shuu-t1 {
    width: 50%;
  }
  .shuu-t2 {
    width: 32.5%;
  }
}

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

.form-p1,
.form-t1 {
  position: absolute;
}
.form-p1 {
  width: 85%;
  right: 0;
  top: 10%;
  mix-blend-mode: multiply;
}
.form-t1 {
  width: 12.5%;
  left: 20%;
  top: 10%;
}
.reservation .img-block {
  height: 55vh;
  margin-bottom: 10%;
}
.form-t2 {
  width: 40%;
  margin: 8% 0;
}

@media screen and (min-width: 768px) {
  .reservation .img-block {
    height: 70vh;
    margin-bottom: 10%;
  }
  .form-p1 {
    width: 75%;
  }
  .form-t1 {
    width: 12%;
    left: 22%;
    top: 10%;
  }
  .form-t2 {
    width: 25%;
    margin: 6% 0;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .reservation .img-block {
    position: relative;
    width: 100%;
    max-width: 1000px;
  }
  .form-p1 {
    width: 50%;
    top: 20%;
  }
  .form-t1 {
    width: 10%;
    left: 30%;
    top: 30%;
  }
  .form-t2 {
    width: 18%;
    margin: 4% 0;
  }
}

@media screen and (min-width: 1500px) and (min-height: 900px) {
  .reservation .img-block {
    height: 60vh;
    margin-bottom: 8%;
  }
}

input,
select {
  background-color: transparent;
  font-weight: 600;
  color: #006771;
  outline-color: #006771;
  border: 1px solid #006771;
  padding-left: 10px;
  border-radius: 0;
}
input[type="text"],
input[type="phone"],
select {
  height: 45px;
  width: 100%;
}
input[type="text"]:focus,
input[type="phone"]:focus,
select:focus {
  outline: 1px solid #006771;
}
select {
  color: #006771;
  font-weight: 600;
  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: #006771 !important;
}
:-ms-input-placeholder {
  color: #006771 !important;
}
::-ms-input-placeholder {
  color: #006771 !important;
}
.reservation {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  min-height: 800px;
  background-image: url(../img/s1-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.reservation .box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 85%;
  margin-bottom: 8%;
}
.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: #006771;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  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: #006871a6;
  color: #fff;
  opacity: 1;
}
.reservation .reg_btn:focus {
  outline: unset;
}
.reservation .reg_disabled:hover {
  background-color: #006871d9;
  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;
}

/* 平板以上：兩欄排版邏輯 */
@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 .reg_btn {
    max-width: 300px;
  }
}

@media screen and (min-width: 1100px) {
  .reservation {
    min-height: unset;
  }
  .reservation .box {
    margin-bottom: 3%;
  }
}

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

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

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

.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 {
  font-family: "Noto Sans TC";
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #006771;
  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;
  }
}

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

.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: #006771;
    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: #006871d9;
  }

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

.res-btn {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  background-color: #006771;
  position: fixed;
  right: 0;
  top: 15%;
  z-index: 999998;
  width: 70px;
  line-height: normal;
}

.res-btn:hover {
  background-color: #79c7ce;
}

.res-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  width: 70px;
  height: 70px;
  color: #fff;
}

/*========================================================
                         特效
=========================================================*/
.diamond {
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%; /* 關鍵 → 以圖片中心當旋轉中心 */
  animation: rotateDiamond 12s linear infinite;
  pointer-events: none;
}
.style2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.diamond-block {
  position: absolute;
  left: 50%;
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}
.diamond-block img {
  width: 300px;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .diamond-block img {
    width: 450px;
  }
}

@keyframes rotateDiamond {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes sparkleBlink1 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
}

@keyframes sparkleBlink2 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.7;
  }
}
