/*@font-face {
   font-family: 'Noto Sans TC';
   font-style: normal;
   font-weight: 400;
   src: url(../fonts/NotoSansTC-Regular.woff2) format('woff2'),
          url(../fonts/NotoSansTC-Regular.woff) format('woff'),
          url(../fonts/NotoSansTC-Regular.otf) format('opentype');
 }*/

 @font-face {
   font-family: 'GenYoGothicTW';
   font-style: normal;
   font-weight: 400;
   src: url(../fonts/GenYoGothicTW-Regular-TTF.woff2) format('woff2'),
          url(../fonts/GenYoGothicTW-Regular-TTF.woff) format('woff'),
          url(../fonts/GenYoGothicTW-Regular.ttf) format('truetype');
 }

/* body{
	font-family: 'Noto Sans TC', "Microsoft JhengHei", "Microsoft Yahei", Arial, sans-serif;
	background: #ffffff;
	margin: 0;
	padding: 0;
	color: #231815;
  letter-spacing: 0.08em; 
  overflow-x: hidden;  
}*/

 body{
  font-family: 'GenYoGothicTW', "Microsoft JhengHei", "Microsoft Yahei", Arial, sans-serif;
  background: #eeeeef;
  margin: 0;
  padding: 0;
  color: #231815;
  letter-spacing: 0.06em; /* 調整文字字母間距 */
  overflow-x: hidden;  /* 禁止橫向滾動 */
}


#myVideo {
    width: 100vw; /* 確保佔滿整個視窗寬度 */
    height: auto;
    display: block;
}




*/
a:focus, a:hover{
  text-decoration: none;
}

 #wrapper{
    display: block;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.content{
	margin: 0;
	padding: 0;
}

.link-btn img{
  max-width: 100%;
}
/*==================================================================
[ Form ]*/
/* Logo 容器 */
.logo-box {
  margin-bottom: 30px; /* Logo 與文字的距離 */
  opacity: 0;
  transform: scale(0.9); /* 稍微縮小，準備進場動畫 */
  animation: logoFadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 圖片型 Logo 控制 */
.main-logo {
  width: auto;
  height: 80px;      /* 調整 Logo 高度 */
  max-width: 200px;  /* 限制最大寬度防止跑版 */
  object-fit: contain;
}

/* 暫時性 Logo (圓形徽章感) - 若沒圖片可用這個 */
.temp-logo-circle {
  width: 60px;
  height: 60px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: var(--accent-color);
  font-family: serif;
  font-size: 1.5rem;
}

/* Logo 進場動畫：淡入並緩慢放大回原位 */
@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 調整原本的文字間隔，讓整體重心更平衡 */
.brand-name {
  margin-top: 10px;
  /* 保持之前的居中設定... */
}



:root {
  /* 使用米白或極淺灰，增加柔和感 */
  --bg-color: #fcfbf9;      
  /* 品牌文字顏色，使用深碳灰而非純黑 */
  --text-color: #2d2d2d;    
  /* 麗寶/鵬程建設可用的香檳金或雅緻金 */
  --accent-color: #b08e4f;  
  /* 輔助灰色，用於進度條底色 */
  --light-gray: #e0e0e0;    
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  /* 這裡改用 Fade Out 淡出效果，白底配淡出比向上抽離更優雅 */
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

/* 1. 確保最外層容器是滿寬且置中的 */
.loader-wrapper {
  width: 100%;
  max-width: 600px; /* 這裡加大，確保 8 個中文字不會斷行 */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 確保所有子元素水平置中 */
  text-align: center;
}

#loader-number {
  font-family: "Montserrat", "Noto Sans TC", sans-serif; /* 建議用精緻的無襯線體 */
  font-size: 1.2rem;       /* 稍微放大一點點 */
  font-weight: 300;        /* 使用纖細體感（Light），高級感會提升 */
  letter-spacing: 0.2rem;  /* 增加一點點字距 */
  color: var(--accent-color); /* 使用金色，讓數字成為視覺焦點 */
}


/* 文字樣式修正 */
.brand-name {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  
  /* 解決跑版的關鍵組合 */
  letter-spacing: 0.6rem;    
  text-indent: 0.6rem;       /* 抵銷最後一個字的右間距，達成幾何置中 */
  white-space: nowrap;       /* 強制不換行，防止中文掉下去 */
  display: inline-block;     /* 確保 text-indent 生效 */
  width: 100%;               /* 佔滿容器寬度以利置中 */

  /* 動畫 */
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 1.2s ease-out forwards;
}

.subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.4rem;
  text-indent: 0.4rem;
  color: var(--accent-color);
  margin-top: 12px;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 1.2s 0.4s ease-out forwards;
}

/* 進度條樣式：極細且精緻 */
.loading-info {
  margin-top: 50px;
  width: 280px;              /* 稍微加寬一點點比較大器 */
  margin-left: auto;         /* 靠這兩行達成置中 */
  margin-right: auto;
}

.progress-container {
  width: 100%;
  height: 1px; /* 極細線條 */
  background: var(--light-gray);
  position: relative;
}

#progress-line {
  position: absolute;
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.number-wrapper {
  margin-top: 15px;
  display: flex;
  justify-content: center; /* 改為置中 */
  align-items: center;
}

/* 動畫定義 */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 載入完成後的消失類別 */
.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}


/*==================================================================
[ Form ]*/





.contact100-form {
  width: 100%;
}

.contact100-form-title {
  display: block;
  font-size: 30px;
  color: #403866;
}

.contact100-form2 {
  width: 100%;
  margin-top: 0px;
}

.contact100-form2-title {
  display: block;
  font-size: 30px;
  color: #403866;
}


/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}


/*---------------------------------------------*/

/*------------------------------------------------*/

.container-contact100 {
  width: 100%;  
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.wrap-contact100 {
  width: 65%;
  background: transparent;
}

.wrap-contact1002 {
  width: 85%;
  background: transparent;
}

.wrap-input100-gender {
    width: 100%;               /* 寬度設為父容器的 100% */
    max-width: 588px;          /* 確保與鄉政市區下拉選單一致的寬度 (根據實際需求調整此值) */
}


.wrap-input100-gender label {
    font-size: 16px; /* 文字大小 */
    margin-right: 15px; /* 與按鈕的距離 */
}

.wrap-input1002-gender {
    width: 100%;               /* 寬度設為父容器的 100% */
    max-width: 588px;          /* 確保與鄉政市區下拉選單一致的寬度 (根據實際需求調整此值) */
}


.wrap-input1002-gender label {
    font-size: 16px; /* 文字大小 */
    margin-right: 15px; /* 與按鈕的距離 */
}


/* 外層容器 */
.form-container {
    display: flex;               /* 使用 Flexbox 排列 */
    justify-content: space-between; /* 將內容推到兩側 */
    align-items: flex-start;     /* 讓選單和標籤靠齊頂部 */
    width: 100%;                /* 設定容器寬度 */
    margin: 0;                  /* 移除容器的外邊距 */
    padding: 0;                 /* 移除容器的內邊距 */
    gap: 70px;                  /* 兩個選單之間的間隔 */
    flex-wrap: wrap;              /* 當容器寬度不足時，讓元素換行 */
}

/* 外層容器 */
.form-container2 {
    align-items: flex-start;     /* 讓選單和標籤靠齊頂部 */
    width: 100%;                /* 設定容器寬度 */
    margin: 0;                  /* 移除容器的外邊距 */
    padding: 0;                 /* 移除容器的內邊距 */
    flex-wrap: wrap;              /* 當容器寬度不足時，讓元素換行 */
}

/* 單個選單區塊 */
.form-group {
    display: flex;
    flex-direction: column;      /* 讓標籤與輸入框垂直排列 */
    flex: 1;                     /* 每個區塊的寬度均分 */
    word-wrap: break-word;       /* 讓長文字自動換行 */

}



/* 選單樣式 */
.input100 {
    width: 100%;                /* 讓選單寬度佔滿區塊 */
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.BOXXX {
    display: flex;
    flex-direction: column;
    /* 1. 將寬度設為 100% 填滿容器 */
    width: 100%; 
    /* 2. 移除或加大 max-width */
    max-width: 100%; 
    /* 3. 確保 flex 不會限制寬度 */
    flex: none; 
    
    word-wrap: break-word;
    text-align: left;
    line-height: 1.6;
    overflow-wrap: break-word;
    /* 增加一點上方間距，避免跟欄位黏在一起 */
    margin-top: 20px; 
}

.BOXXX2 {
    display: flex;
    flex-direction: column;       /* 垂直排列標籤 */
    flex: 1;                      /* 讓每個區塊寬度均分 */
    word-wrap: break-word;        /* 讓文字自動換行 */
    max-width: 100%;               /* 設定最大寬度限制，保持適當的比例 */
    text-align: left;             /* 文字靠左對齊 */
    line-height: 1.6;             /* 行高，讓文字間隔稍微寬一些 */
    overflow-wrap: break-word;    /* 確保長單詞也會換行 */
}



/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  margin-bottom: 16px;
  position: relative;
}

.input100 {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
  font-family: 'Noto Sans TC';
  font-size: 18px;
  color: #333;
  line-height: 1.2;
}


.link-btn{
  background-color: transparent;
  position: fixed;
  right: 10px;
  bottom: 0;
  width: 45px;
  text-align: center;
  z-index: 100;
}

.link-btn.hide{
  display: none;
}

.link-btn ul{
  padding: 20px 0;
}

.link-btn ul li{
  display: block;
}

.linkbtn{
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  width: 55px;
  height: 55px;
  background-color: transparent;
  border-radius: 3px;
  z-index: 1;
  margin:0 0 0 -10px;
}

button.linkbtn.icon1{

  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

button.linkbtn.icon2{

  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


button.linkbtn.icon3{

  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


/*---------------------------------------------*/

/*--------------輸入欄打的字-------------------*/
input.input100 {
  font-family: 'Noto Sans TC', serif;
  padding: 10px 0 10px 9px;
  border: 0.5px solid;
  border-color: #C9C9CA;
  color: #595757;
  /*border-radius: 5px;*/
}

textarea.input100-area {
  font-family: 'Noto Sans TC', serif;
  padding: 10px 0 160px 9px;
  border: 0.5px solid;
  border-color: #C9C9CA;
  color: #595757;
  /*border-radius: 5px;*/
  position: relative;
}

textarea.input100 {
  min-height: 120px;
  padding: 19px 35px 0 35px;

}

textarea.input100 a{
  min-height: 200px;
  padding: 19px 35px 0 35px;
}

.input100-area{
  position: relative;
  display: block;
  width: 100%;
  min-height: 15vh;
  font-size: 15px;
  line-height: 1.2;
  box-sizing: border-box;
}


  .g-recaptcha{
    z-index: 4;
    padding-top: 20px;
    width: 100%;
  }

.contact100-form-btn,.contact100-form-btn2{
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  min-width: 100%;
  height: 55px;
  background-color: transparent;
  border-radius: 31px;

  font-family: 'Noto Sans TC';
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 1px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}

.contact100-form-btn::before,.contact100-form-btn2::before{
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #003399;
  pointer-events: none;
/*  border: 2px solid #000000;*/
  
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

/*.contact100-form-btn:hover:before,.contact100-form-btn2:hover:before{
  background-color: #e9422c;
  width: calc(100% + 20px);
}

*/


/*img{
    max-width: 100%;
    height: auto;
}
*/
/*------------------------------------------------------------------
[ Button ]*/
.container-contact100-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}


/*------------------------------------------------------------------
[ Alert validate ]以下為電腦版圖片*/

.page01 {
    margin: 0;
    background: url(https://ar3d.idv.tw/data/LihPaoMetro/img/BG01.jpg) center center no-repeat;
    background-size: contain;       /* 根據需求改為 cover */
    width: 100%; /* 改用 100% 會自動扣除滾動條寬度 */
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
}

.page01logo {
    position: relative; /* 或者直接移除 position 屬性 */
    width: 100%;
    margin: 0 auto;    /* 確保水平置中 */
}

.page01logo img {
    display: block;
    margin: 0 auto; /* 強制圖片在容器內水平置中 */
    max-width: 100%;
}

/*------------------------------------------------------------------
以下為電腦版動畫圖片*/



/* --- 電腦版 16:9 多層動態修正 --- */

/* 1. 容器：鎖定比例 */
.content.pp1.t1-dynamic-show.hidden-xs {
    width: 100% !important;
    height: 0 !important;
    padding-top: 56.25% !important; /* 核心修正：16:9 比例 */
    position: relative !important;
    overflow: hidden !important;
    background-color: #eeeeef; /* 預防載入前的底色 */
}

/* 2. 內容包裝層：撐滿容器 */
.t1-dynamic-show .page01logo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}


/* 3. 底圖：確保完全覆蓋 */
.t1-dynamic-show .lotus-base {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover !important; /* 確保圖片不變形地填滿 */
    z-index: 1 !important;
}

/* 4. 動態層（蓮花與標題）：居中對齊 */
.t1-dynamic-show .lotus-ani {
    position: absolute !important;
    width: 100% !important; /* 如果你的 PNG 是 1920x1080，這裡設 100% */
    height: auto !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
}

/* --- 2. 標題：單獨設定縮小 --- */
.t1-dynamic-show .ppp-img-desktop {
    position: absolute !important;
    width: 39% !important;   /* 只有這裡會變小 */
    height: auto !important;
    left: 50% !important;
    
    /* 調整 top 可以改變標題的高低位置，例如 45% 會偏上一點 */
    top: 35% !important; 
    
    /* 標題通常不浮動，所以這裡可以用 !important 鎖死置中 */
    transform: translate(-50%, -50%) !important; 
    z-index: 20 !important;
}

/* 6. 蓮花各層動畫：確保 translate(-50%, -50%) 起始位置正確 */
#lotus-pp-1 { z-index: 6; /*animation: t1-float-1 4s ease-in-out infinite alternate;*/ }
#lotus-pp-2 { z-index: 5; animation: t1-float-2 6s ease-in-out infinite alternate-reverse; }
#lotus-pp-3 { z-index: 4; animation: t1-float-3 5s ease-in-out infinite alternate; }
#lotus-pp-4 { z-index: 3; animation: t1-float-4 8s ease-in-out infinite alternate-reverse; }
#lotus-pp-5 { z-index: 2; animation: t1-float-5 7s ease-in-out infinite alternate; }

/* 修正 Keyframes：必須包含 -50% 的位移，否則圖片會跳走 */
@keyframes t1-float-1 { 
    from { transform: translate(-50%, -48%); } 
    to { transform: translate(-50%, -43%); } 
}
@keyframes t1-float-2 { 
    from { transform: translate(-50%, -48%); } 
    to { transform: translate(-50%, -43%); } 
}

@keyframes t1-float-3 { 
    from { transform: translate(-50%, -48%); } 
    to { transform: translate(-50%, -43%); } /* 向下移動 1.5% */
}

@keyframes t1-float-4 { 
    from { transform: translate(-50%, -48%); } 
    to { transform: translate(-50%, -43%); } /* 向下移動 2.5% */
}

@keyframes t1-float-5 { 
    from { transform: translate(-50%, -48%); } 
    to { transform: translate(-50%, -43%); } /* 向下移動 2.5% */
}

/*------------------------------------------------------------------
以下為電腦版動畫圖片*/

.page03 {
    margin: 0;
    background: url(https://ar3d.idv.tw/data/LihPaoMetro/img/BG01.jpg) center center no-repeat;
    background-size: contain;       /* 根據需求改為 cover */
    width: 100vw;
    height: auto;
    aspect-ratio: 1920 / 1485;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 16;
}

.page03logo {
    position: absolute;               /* 絕對定位，控制位置 */
    width: 100%;                      /* 寬度滿版 */
    height: auto;                     /* 高度自適應 */
    text-align: center;               /* 保持內容居中 */
    z-index: 1;                       /* 確保 logo 在最上層 */
}

.page03logo img {
    width: 100%;                      /* 圖片寬度滿版 */
    height: auto;                     /* 保持圖片比例 */
    object-fit: cover;                /* 如果圖片比例與容器不同，可使用 cover 填滿 */
}

.page04 {
    margin: 0;
    background: url(https://ar3d.idv.tw/data/LihPaoMetro/img/BG01.jpg) center center no-repeat;
    background-size: contain;       /* 根據需求改為 cover */
    width: 100vw;
    height: auto;
    aspect-ratio: 1920 / 1200;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 17;
}

.page04logo {
    position: absolute;               /* 絕對定位，控制位置 */
    width: 100%;                      /* 寬度滿版 */
    height: auto;                     /* 高度自適應 */
    text-align: center;               /* 保持內容居中 */
    z-index: 1;                       /* 確保 logo 在最上層 */
}

.page04logo img {
    width: 100%;                      /* 圖片寬度滿版 */
    height: auto;                     /* 保持圖片比例 */
    object-fit: cover;                /* 如果圖片比例與容器不同，可使用 cover 填滿 */
}



.page14 {
    margin: 0;           /* 取消負邊距，避免壓到上方圖片 */
    padding-top: 50px;   /* 改用內距來留白 */
    width: 100%;
    height: auto;        /* 讓高度隨內容撐開 */
    z-index: 1;
    position: relative;
}

.page14logo {
    position: absolute;              /* 絕對定位，控制居中 */
    top: 13%;                        /* 從頂部偏移 50% */
    text-align: center;
    width: 20%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.page14logo img {
    width: 100%;
    height: auto;
}



/*------------------------------------------------------------------
[ Alert validate ]以下為手機版圖片*/


.S01 {
    width: 100vw;
    height: auto;          /* 讓高度自動 */
    aspect-ratio: auto;    /* 移除強制的比例 */
    display: block;        /* 改回塊級元素 */
}

.S01logo {
    position: relative;    /* 改回相對定位，讓圖片能撐開容器 */
    width: 100%;
}

.S01logo img {
    width: 100%;
    height: auto;
}

/* --- 修正後的手機版 V1 動態層：確保比例與 V2/V3 一致 --- */

.title-img{
    position:absolute !important;
    left:48% !important;
    top:40% !important;
    transform:translateX(-50%) !important;
    width:66% !important;
    z-index:20;
}

.content.S01.v1-dynamic.visible-xs {
    width: 100vw !important;
    height: 0 !important;
    padding-top: 169.5% !important;   /* ← 改這裡 */
    position: relative !important;
    overflow: hidden !important;
}

.v1-dynamic .S01logo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* 修正圖片大小：確保 1456x900 的圖片按比例縮放且置中 */
.v1-dynamic .S01logo img {
    position: absolute;
    width: 112%;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 底圖 (v1-1) 必須剛好鋪滿 1356x800 的容器範圍 */
.v1-dynamic .S01logo img.lotus-base {
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    z-index: 1 !important;
}

/* 蓮花層級 */
.v1-dynamic .S01logo img.lotus-ani {
    z-index: 2 !important;
}

/* 蓮花層級重新分配 */
#lotus-layer-1 { /* v1-2 */
    z-index: 5 !important; /* 最大，疊在最上面 */
    /*animation: v1-float-1 3s ease-in-out infinite alternate !important;*/
}

#lotus-layer-2 { /* v1-3 */
    z-index: 4 !important;
    animation: v1-float-2 5s ease-in-out infinite alternate-reverse !important;
}

#lotus-layer-3 { /* v1-4 */
    z-index: 3 !important;
    animation: v1-float-3 7s ease-in-out infinite alternate !important;
}

#lotus-layer-4 { /* v1-5 */
    z-index: 2 !important; /* 最小，疊在蓮花層的最下面（但在底圖之上） */
    animation: v1-float-4 10s ease-in-out infinite alternate-reverse !important;
}

@keyframes v1-float-1 { 
    from { transform: translate(-50%, -50%); } 
    to { transform: translate(-50%, -44%); } /* 向下移動 2% */
}

@keyframes v1-float-2 { 
    from { transform: translate(-50%, -50%); } 
    to { transform: translate(-50%, -45%); } /* 向下移動 3% */
}

@keyframes v1-float-3 { 
    from { transform: translate(-50%, -50%); } 
    to { transform: translate(-50%, -46%); } /* 向下移動 1.5% */
}

@keyframes v1-float-4 { 
    from { transform: translate(-50%, -50%); } 
    to { transform: translate(-50%, -48%); } /* 向下移動 2.5% */
}


/*------------------------------------------------------------------
[*/

/* 容器確保不溢出 */
.t-dynamic-show {
    width: 100% !important; /* 改為 100%，不再使用 100vw */
    position: relative !important;
    line-height: 0;
    overflow: hidden; /* 關鍵：確保底圖變大時不會撐破螢幕 */
}



/* 容器確保不溢出 */
.v-dynamic-show {
    width: 100vw !important;
    position: relative !important;
    line-height: 0;
    overflow: hidden; /* 關鍵：確保底圖變大時不會撐破螢幕 */
}

.v-dynamic-show .S01logo {
    position: relative !important;
    width: 100% !important;
}

/* 1. 底圖縮放：從 1.15 倍縮回 1 倍 */
.v-zoom-out {
    animation-name: zoomOutCustom;
    width: 100% !important;
    height: auto !important;
    display: block;
}

@keyframes zoomOutCustom {
    from { 
        transform: scale(1.2); /* 初始比例，可以從 1.15 或 1.2 開始 */
        opacity: 0;            /* 一開始透明度為 0 */
    }
    to { 
        transform: scale(1);   /* 回到原始大小 */
        opacity: 1;            /* 透明度變為 1 (100%) */
    }
}
/* 2. 文字遮色片容器 */
.mask-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%; /* 調整文字寬度 */
    z-index: 10;
    line-height: 0;
}


.mask-layer-v1-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 90%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 88% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v1-2 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-v2-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 90%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 88% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v2-2 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-v3-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 80%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 88% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v3-2 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-v4-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 75%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 88% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v4-2 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t1-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 14.5%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 18%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}
/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t1-2 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-t2-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 85.5%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 16%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}
/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t2-2 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-t3-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 85.5%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 16%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}
/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t3-2 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-t4-2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 30%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 69%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 15% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t4-2 .overlay-img {
    width: 100%;
    height: auto;
}
.mask-layer-t4-3 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 88.5%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 13%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t4-3 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer .overlay-img {
    width: 100%;
    height: auto;
}

/* 3. 遮色片動畫：由上而下漸變出現 */
.v-mask-down {
    animation-name: maskDown;
    backface-visibility: hidden;
}

@keyframes maskDown {
    from {
        /* 使用 clip-path 做出從上往下的遮色片效果 */
        clip-path: inset(0 0 100% 0); /* 底部縮進 100%，表示全隱藏 */
        opacity: 0;
        transform: translate(-50%, -55%); /* 稍微帶點由下往上的位移，增加秀感 */
    }
    to {
        clip-path: inset(0 0 0 0); /* 全部顯示 */
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}



.S02 {
    margin: 0;
    border-style: dashed;
    border-top: none;
    background: url(https://ar3d.idv.tw/case/shinruenn2025/img2/SG01.jpg) center center no-repeat;
    background-size: contain;        /* 等比例顯示背景 */
    width: 100vw;                    /* 全寬 */
    height: auto;                    /* 高度根據內容調整 */
    aspect-ratio: 800 / 1000;          /* 根據圖片的實際比例 */
    position: relative;              /* 讓內部元素可以絕對定位 */
    display: flex;                   /* Flexbox 布局 */
    justify-content: center;         /* 水平居中 */
    align-items: center;             /* 垂直居中 */
}

.S02logo {
    position: absolute;              /* 絕對定位，控制居中 */
    text-align: center;
    width: 100%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.S02logo img {
    width: 100%;
    height: auto;
}


/* 滾動區域 */
.scrollable-content {
  display: flex;
  overflow-x: auto; /* 啟用橫向滾動 */
  scroll-behavior: smooth; /* 滑動平滑效果 */
  white-space: nowrap; /* 禁止換行 */
  width: 100%; /* 填滿容器寬度 */
  height: 77%; /* 高度為背景的2/3 */
  position: absolute; /* 絕對定位於背景區域內 */
  top: 0; /* 貼齊頂部 */
}


/* 箭頭樣式 */
.arrow {
  position: absolute;
  top: 38%; /* 垂直置中 */
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  color: white; /* 箭頭文字顏色 */
  border: none;
  padding: 8px 13px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif; /* 使用 Arial 字體 */
}


/* 左右箭頭位置 */
.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* 隱藏滾動條 */
.scrollable-content::-webkit-scrollbar {
  display: none; /* 隱藏 Webkit 滑動條 */
}



.S03 {
  margin: 0;
  border-style: dashed;
  border-top: none;
  background: url(https://ar3d.idv.tw/case/shinruenn2025/img2/v3.jpg) center center no-repeat;
  background-size: contain;        /* 等比例顯示背景 */
  width: 100vw; /* 全寬 */
  height: auto;                    /* 高度根據內容調整 */
  aspect-ratio: 59 / 100;          /* 根據圖片的實際比例 */
  position: relative; /* 讓內部元素可以絕對定位 */
  display: flex; /* Flexbox 布局 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  overflow: hidden; /* 隱藏超出部分 */
}


.S14 {
    margin: 0;           /* 取消原本的 -50% 負邊距 */
    padding-top: 20px;   /* 根據需要給一點上方的呼吸空間 */
    width: 100%;
    height: auto;        /* 讓高度自動撐開，不要鎖死 1000px */
    position: relative;
    z-index: 1;
}

.S14logo {
    position: absolute;              /* 絕對定位，控制居中 */
    top: 13%;                        /* 從頂部偏移 50% */
    text-align: center;
    width: 60%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.S14logo img {
    width: 100%;
    height: auto;
}

/* 影片容器樣式 */
.video-container {
    width: 100%;
    overflow: hidden;
    line-height: 0; /* 消除影片下方的微小間隙 */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}



.footer-info {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #666;
    padding: 30px 15px;
    line-height: 2;         /* 稍微增加行高，垂直排列時才不會太擠 */
    margin-top: 40px;
    border-top: 1px solid #eee;
}

/* 電腦版：讓 span 之間有間距 */
.footer-info span {
    display: inline-block;  /* 預設橫向排列 */
    margin: 0 10px;         /* 左右留一點間距 */
}

/* 手機版 (螢幕寬度小於 768px) */
@media (max-width: 768px) {
    .footer-info span {
        display: block;      /* 強制每個 span 單獨佔據一行 */
        margin: 5px 0;       /* 上下留一點間距，左右歸零 */
        font-size: 12px;     /* 手機版字體稍微再縮小一點點 */
    }
}

.disclaimer-text {
    font-size: 16px;           /* 縮小字體，營造精緻感 */
    color: #666;            /* 使用中灰色，減少視覺負擔 */
    font-weight: 300;          /* 設定為細體 (前提是字體庫有支援) */
    line-height: 1.6;          /* 增加行高，讓文字呼吸 */
    margin-top: 10px;          /* 與上方的勾選框保持一點距離 */
    text-align: justify;       /* 文字左右對齊，看起來更整齊 */
    letter-spacing: 0.5px;     /* 微調字距 */
    opacity: 0.85;             /* 稍微增加透明度，讓視覺更輕盈 */
}

/* 如果是手機版，字體可以微調 */
@media (max-width: 768px) {
    .disclaimer-text {
        font-size: 11px;
        line-height: 1.6;
    }
}



.map-container {
    width: 100%;
    margin-bottom: 30px; /* 與下方姓名欄位的距離 */
    border-radius: 10px;  /* 讓地圖轉角圓滑一點，看起來更精緻 */
    overflow: hidden;    /* 配合圓角使用 */
    line-height: 0;      /* 消除 iframe 下方可能的微小縫隙 */
}

.map-container iframe {
    width: 100% !important; /* 強制寬度 100% */
    display: block;
}

/* 手機版微調 */
@media (max-width: 768px) {
    .map-container {
        height: 250px;    /* 手機版可以稍微矮一點 */
        margin-bottom: 20px;
    }
    .map-container iframe {
        height: 250px;
    }
}
/*------------------------------------------------------------------
[ Alert validate ]*/



/*-----------------------------------------------------------------*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  z-index: 1000;
  max-width: 100%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 14px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 10px;
  pointer-events: none;

  font-family: 'Noto Sans TC';
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

/*  visibility: hidden;
  opacity: 0;*/

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  z-index: 1100;
  color: #c80000;
  font-size: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 16px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}



/*-----------------------------------------------------/*
/* 地圖容器質感升級 */
.map-container {
    width: 100%;
    margin-bottom: 40px; 
    border-radius: 15px;      /* 圓角加大更親和 */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* 極輕微的陰影 */
    border: 1px solid #ffffff; /* 白色邊框營造精品感 */
}

/* 輸入框質感升級 */
input.input100, textarea.input100 {
    font-family: 'GenYoGothicTW', sans-serif;
    padding: 15px 20px;       /* 加大內距，讓文字不擁擠 */
    border: 1px solid #e0e0e0; /* 顏色調淺 */
    background-color: #ffffff;
    border-radius: 8px;       /* 增加一點圓角 */
    color: #333;
    transition: all 0.3s ease; /* 增加過渡動畫 */
}

/* 輸入框聚焦時的效果 */
input.input100:focus, textarea.input100:focus {
    border-color: #138594;    /* 變成建案的主題色 */
    box-shadow: 0 0 0 3px rgba(19, 133, 148, 0.1); /* 淡淡的外光暈 */
    outline: none;
}

/* 欄位間距加大 */
.wrap-input100 {
    margin-bottom: 25px; 
}

/* 標籤字體優化 */
.wrap-input100 label, .wrap-input100-gender label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 8px;      /* 標籤與輸入框的距離 */
    letter-spacing: 1px;
}

/* 姓名性別選單排版 */
.wrap-input100-gender {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;               /* 讓先生小姐之間有固定間距 */
}

.wrap-contact100 {
    width: 65%;
    background: rgba(255, 255, 255, 0.4); /* 降低透明度，讓背景更輕盈 */
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3); /* 增加細邊框提升精緻度 */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.wrap-contact1002 {
    width: 85%;
    background: rgba(255, 255, 255, 0.4); /* 降低透明度，讓背景更輕盈 */
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3); /* 增加細邊框提升精緻度 */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}


/* 姓名性別選單容器優化 */
.wrap-input100-gender {
    display: flex;             /* 確保使用 flex 佈局 */
    align-items: center;       /* 核心：讓容器內所有元素垂直置中 */
    flex-wrap: wrap;           /* 避免手機版擠壓 */
    gap: 10px;                 /* 設定元素間的固定間距 */
    margin-bottom: 20px;
}

/* 針對單選鈕圈圈的微調 */
.wrap-input100-gender input[type="radio"] {
    margin: 0;                 /* 清除瀏覽器預設的外邊距 */
    cursor: pointer;
    width: 18px;               /* 稍微加大圈圈更好點擊 */
    height: 18px;
    vertical-align: middle;    /* 雙重保險：垂直對齊 */
}

/* 針對標籤文字的微調 */
.wrap-input100-gender label {
    margin: 0 20px 0 -5px;      /* 設定文字與圈圈、以及下一組選單的間距 */
    font-size: 16px;
    line-height: 1;            /* 讓行高不影響置中 */
    cursor: pointer;
    display: flex;
    align-items: center;       /* 確保文字內部的對齊也是置中的 */
}



.panosq,.panosq div,.panosq span,.panosq p,.panosq img,.panosq a { 
  margin: 0;padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; 
}

.panosq {
  width: 100%; height: 400px; 
} 

.panosq2,.panosq2 div,.panosq2 span,.panosq2 p,.panosq2 img,.panosq2 a { 
  margin: 0;padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; 
}

.panosq2 {
  width: 100%; height: 400px; 
} 

img{
  max-width: 100%;
}

.img-m{
  display: none;
}

.img-m {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;  /* 讓子元素絕對定位以這為參考 */
}


/*@media (max-width: 990px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
  .wrap-contact100{
    width: 45%;
  }
  input.input100{
    height: 40px;
  }
  .input100{
    font-size: 16px;
  }
  .contact100-form-btn,.contact100-form-btn2{
    font-size: 17px;
  }
  .map{
  	padding: 0px 20px 20px 20px;
  }
}

@media (max-width: 550px) {
  .wrap-contact100{
    width: 90%;
  }
  input.input100{
    height: 40px;
  }
  .input100{
    font-size: 16px;
  }
  .contact100-form-btn,.contact100-form-btn2{
    font-size: 16px;
  }
}*/

input[type="radio"] {
   accent-color: #000;
  }

input[type="checkbox"] {
   accent-color: #000;
  }


/*-----------------------------------------------------------*/
/* 基本樣式 */


/* 1440px 以下，頁面縮放至 75% */
@media (max-width: 1440px) {

}

/* 1024px 以下，頁面縮放至 53.33% */
@media (max-width: 1024px) {

}

/* 1024px 以下，頁面縮放至 53.33% */
/*@media (max-width: 768px) {

.contact100-form{
  width: 100%;
  display:grid;
  place-content: center;
}

  .page14{
    margin:-3% 0 0 0;
    width: 100%;
    height: 850px;
}

  .page14logo img{
    margin-top:12%;
    width: 60%;
}
*/




/*------------------------------------------------------------

/* 是否購買過建案 */
.bought-question {
    display: block;
}

.bought-question .question-title {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.bought-question .radio-options {
    display: flex;
    align-items: center;
    gap: 30px;
}

.bought-question .radio-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    cursor: pointer;
}

.bought-question .radio-item input {
    margin: 0;
}

/* 考慮因素複選 */
.checkbox-title {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.checkbox-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;

    width: 100%;
    padding: 18px 20px;

    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkbox-item span {
    color: #666;
}

/* 手機版 */
@media screen and (max-width: 767px) {
    .checkbox-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 12px;
        padding: 16px;
    }
}

/* =========================================================
   深藍金色預約表單｜電腦版
========================================================= */

@media screen and (min-width: 768px) {

    /* 整個表單頁背景 */
    .page14 {
        position: relative;
        overflow: hidden;

        padding: 70px 0;

        /*漸層*/
        /*background:
            radial-gradient(
                circle at 82% 28%,
                rgba(208, 164, 87, 0.13) 0,
                transparent 24%
            ),
            radial-gradient(
                circle at 16% 90%,
                rgba(208, 164, 87, 0.10) 0,
                transparent 28%
            ),
            linear-gradient(
                135deg,
                #081831 0%,
                #06132b 48%,
                #020b1d 100%
            );*/
    }

    /* 淡淡的金色光點 */
    /*.page14::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;

        opacity: 0.35;

        background-image:
            radial-gradient(
                circle,
                rgba(222, 184, 113, 0.8) 0 1px,
                transparent 1.5px
            );

        background-size: 70px 70px;
        mask-image: linear-gradient(
            to left,
            #000,
            transparent 65%
        );
    }*/

    #form-desktop {
        position: relative;
        z-index: 2;

        width: 100%;
        padding: 0 30px;
    }

    /* 取代原本白色玻璃卡片 */
    #form-desktop .wrap-contact100 {
        position: relative;

        width: min(94%, 1500px);
        margin: 0 auto;
        padding: 60px 70px;

        background: rgba(5, 19, 45, 0.65);
        backdrop-filter: blur(4px);

        border: 1px solid rgba(205, 158, 78, 0.85);
        border-radius: 0;

        box-shadow:
            inset 0 0 40px rgba(0, 0, 0, 0.15),
            0 25px 60px rgba(0, 0, 0, 0.25);
    }

    /* 內側第二道細框 */
    #form-desktop .wrap-contact100::before {
        content: "";
        position: absolute;
        inset: 12px;

        border: 1px solid rgba(205, 158, 78, 0.25);
        pointer-events: none;
    }

    /* 標題 */
    #form-desktop .booking-header {
        display: flex;
        align-items: center;
        gap: 28px;

        margin-bottom: 50px;
        padding-bottom: 24px;

        border-bottom: 1px solid rgba(205, 158, 78, 0.45);
    }

    #form-desktop .booking-svip {
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(70px, 7vw, 125px);
        line-height: 0.8;
        letter-spacing: 0.02em;

        color: #e4c18a;

        text-shadow:
            0 2px 2px rgba(255, 255, 255, 0.25),
            0 0 18px rgba(222, 175, 94, 0.2);
    }

    #form-desktop .booking-heading h2 {
        margin: 0 0 6px;

        font-size: 38px;
        font-weight: 400;
        letter-spacing: 0.18em;

        color: #e5c58f;
    }

    #form-desktop .booking-heading span {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 17px;
        letter-spacing: 0.22em;

        color: #d8b67d;
    }

    /* 左表單＋右地圖 */
    #form-desktop .booking-layout {
        display: grid;
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(360px, 0.85fr);

        gap: 70px;
        align-items: start;
    }

    /* 左側欄位再分兩欄 */
    #form-desktop .booking-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 20px 24px;
    }

    #form-desktop .form-cell {
        width: 100%;
        margin: 0;
    }

    #form-desktop .form-cell.full {
        grid-column: 1 / -1;
    }

    /* 欄位標題 */
    #form-desktop .wrap-input100 label,
    #form-desktop .wrap-input100-gender label,
    #form-desktop .checkbox-title {
        display: block;

        margin: 0 0 8px;

        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.08em;

        color: rgba(255, 255, 255, 0.78);
    }

    /* 輸入框、下拉選單、備註框 */
    #form-desktop input.input100,
    #form-desktop select.input100,
    #form-desktop textarea.input100 {
        width: 100% !important;

        background: rgba(12, 36, 72, 0.72) !important;

        border: 1px solid rgba(205, 158, 78, 0.9) !important;
        border-radius: 4px !important;

        color: #ffffff !important;

        font-family: "GenYoGothicTW",
                     "Microsoft JhengHei",
                     sans-serif;

        font-size: 15px !important;
        letter-spacing: 0.04em;

        box-shadow:
            inset 0 0 12px rgba(0, 0, 0, 0.16);

        transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            background-color 0.25s ease;
    }

    #form-desktop input.input100,
    #form-desktop select.input100 {
        height: 52px !important;
        padding: 0 18px !important;
    }

    #form-desktop textarea.input100 {
        min-height: 110px !important;
        padding: 16px 18px !important;

        resize: vertical;
    }

    /* Placeholder */
    #form-desktop input.input100::placeholder,
    #form-desktop textarea.input100::placeholder {
        color: rgba(255, 255, 255, 0.52);
    }

    /* 選取時 */
    #form-desktop input.input100:focus,
    #form-desktop select.input100:focus,
    #form-desktop textarea.input100:focus {
        outline: none;

        background: rgba(16, 44, 84, 0.92) !important;
        border-color: #edc77e !important;

        box-shadow:
            0 0 0 2px rgba(221, 177, 96, 0.13),
            0 0 16px rgba(221, 177, 96, 0.10);
    }

    /* 下拉選單項目 */
    #form-desktop select.input100 option {
        color: #ffffff;
        background: #0c2347;
    }

    /* 右側標題 */
    #form-desktop .booking-side-title {
        margin-bottom: 25px;
        text-align: center;
    }

    #form-desktop .booking-side-title strong {
        display: block;

        margin-bottom: 8px;

        font-family: Georgia, "Times New Roman", serif;
        font-size: 23px;
        font-weight: 400;
        letter-spacing: 0.18em;

        color: #e2c08a;
    }

    #form-desktop .booking-side-title span {
        font-size: 16px;
        letter-spacing: 0.22em;

        color: rgba(255, 255, 255, 0.78);
    }

    /* 地圖 */
    #form-desktop .map-container {
        width: 100%;
        margin: 0 0 28px;

        border: 1px solid rgba(205, 158, 78, 0.9);
        border-radius: 4px;

        background: #081a38;

        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.25);

        overflow: hidden;
    }

    #form-desktop .map-container iframe {
        display: block;

        width: 100% !important;
        height: 390px !important;
    }

    /* 複選區 */
    #form-desktop .checkbox-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 12px 18px;

        padding: 18px 20px;

        background: rgba(12, 36, 72, 0.72);
        border: 1px solid rgba(205, 158, 78, 0.9);
        border-radius: 4px;
    }

    #form-desktop .checkbox-item {
        display: flex;
        align-items: center;
        gap: 8px;

        margin: 0;
    }

    #form-desktop .checkbox-item span {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
    }

    #form-desktop input[type="radio"],
    #form-desktop input[type="checkbox"] {
        accent-color: #d4a654;
    }

    /* 姓名性別 */
    #form-desktop .wrap-input100-gender {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 10px 14px;
        margin-bottom: 0;
    }

    #form-desktop .wrap-input100-gender > label:first-child {
        width: 100%;
        margin-bottom: 4px;
    }

    #form-desktop .wrap-input100-gender input[type="radio"] {
        width: 17px;
        height: 17px;
        margin: 0;
    }

    #form-desktop .wrap-input100-gender label:not(:first-child) {
        display: inline-flex;
        align-items: center;

        margin: 0 20px 0 -8px;

        color: rgba(255, 255, 255, 0.78);
    }

    /* 隱私權 */
    #form-desktop .BOXXX {
        margin-top: 0;

        color: rgba(255, 255, 255, 0.68);
    }

    #form-desktop .form-check {
        display: flex;
        align-items: center;
        gap: 8px;

        margin-bottom: 10px;
    }

    #form-desktop .form-check label {
        margin: 0;

        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
    }

    #form-desktop .disclaimer-text {
        margin: 0;

        font-size: 12px;
        line-height: 1.8;
        letter-spacing: 0.04em;

        color: rgba(255, 255, 255, 0.58);
    }

    /* 送出按鈕 */
    #form-desktop .booking-submit {
        margin: 28px 0 0;
    }

    #form-desktop .contact100-form-btn {
        min-width: 220px;
        width: 220px;
        height: 52px;

        margin-left: 0;

        border: 1px solid #d3a557;
        border-radius: 4px;

        color: #f7e5c4;
    }

    #form-desktop .contact100-form-btn::before {
        border-radius: 3px;

        background:
            linear-gradient(
                135deg,
                #9a6a27,
                #c8994f 50%,
                #8f6021
            );
    }

    #form-desktop .contact100-form-btn:hover::before {
        filter: brightness(1.13);
    }
}


/* =========================================================
   bookingBG_a1920.jpg 作為電腦版表單底圖
========================================================= */

@media screen and (min-width: 768px) {

    /* 整個表單頁使用設計底圖 */
    .page14 {
        position: relative;

        width: 100%;
        min-height: 1072px;

        /* 留出底圖上方 SVIP 標題的位置 */
        padding:
            clamp(250px, 17vw, 330px)
            0
            clamp(90px, 8vw, 150px);

        background-color: #06132b;
        /*background-image: url("../img/bookingBG_a1920.jpg");*/
        background-image: url("https://ar3d.idv.tw/data/LihPaoMetro/img/bookingBG_a1920.jpg");
        background-repeat: no-repeat;
        background-position: center center;

        /*
         * 讓整張設計圖完整覆蓋表單區塊，
         * 金框、標題與底部建築都能保留。
         */
        /*background-size: 100% 100%;*/
        background-position: center top;
        background-size: 100% auto;

        overflow: hidden;
    }

    /* 關閉原本 CSS 產生的金色光點 */
    .page14::before {
        content: none !important;
        display: none !important;
    }

    /* 表單外層 */
    #form-desktop {
        position: relative;
        z-index: 2;

        width: 100%;
        padding: 0 3vw;
    }

    /*
     * 移除原本 wrap-contact100 自己的深藍面板、
     * 金框、陰影，改為直接顯示底圖。
     */
    #form-desktop .wrap-contact100 {
        width: 78%;
        max-width: 1380px;

        margin: 0 auto;
        padding: 0;

        background: transparent !important;
        backdrop-filter: none !important;

        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;
    }

    /* 移除原本的內層第二道框線 */
    #form-desktop .wrap-contact100::before {
        content: none !important;
        display: none !important;
    }

    /* 圖片已有 SVIP 標題，HTML 標題不再顯示 */
    #form-desktop .booking-header {
        display: none;
    }

    /* 左側表單與右側地圖 */
    #form-desktop .booking-layout {
        display: grid;

        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(320px, 0.8fr);

        gap: clamp(40px, 4vw, 75px);
        align-items: start;

        width: 100%;
    }

    /*
     * 避免右側內容與底圖右邊金色裝飾太靠近
     */
    #form-desktop .booking-right {
        padding-right: 10px;
    }

    /*
     * footer 目前沒有實際文字，避免它產生額外高度，
     * 導致底圖被拉得過長。
     */
    #form-desktop > .footer-info {
        display: none;
    }
}

/* =========================================================
   手機版｜深藍金色預約表單
========================================================= */

@media screen and (max-width: 767px) {

    /* 整個手機表單頁背景 */
    .content.S14.visible-xs {
        position: relative;
        width: 100%;
        padding: 45px 0 100px;

         /* 上方深色，往下逐漸變亮 */
        background:
            radial-gradient(
                circle at 50% 100%,
                rgba(45, 69, 103, 0.28) 0%,
                transparent 52%
            ),
            linear-gradient(
                180deg,
                #020a1c 0%,
                #06152f 38%,
                #0b1e3a 70%,
                #172b47 100%
            ) !important;

        overflow: hidden;
    }

    /* 淡金色裝飾光點 */
    /*.content.S14.visible-xs::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;

        opacity: 0.22;

        background-image:
            radial-gradient(
                circle,
                rgba(225, 185, 112, 0.9) 0 1px,
                transparent 1.5px
            );

        background-size: 55px 55px;
        mask-image:
            linear-gradient(
                to bottom left,
                #000,
                transparent 75%
            );
    }*/

    #form-mobile {
        position: relative;
        z-index: 2;

        width: 100%;
        padding: 0 18px;
    }

    /* 手機版表單外框 */
    #form-mobile .wrap-contact1002 {
        position: relative;

        width: 100%;
        max-width: 520px;

        margin: 0 auto;
        padding: 28px 22px 34px;

        background:
            linear-gradient(
                155deg,
                rgba(11, 31, 62, 0.97) 0%,
                rgba(5, 20, 45, 0.98) 58%,
                rgba(2, 11, 29, 0.99) 100%
            ) !important;

        border: 1px solid rgba(209, 165, 86, 0.78);
        box-shadow:
            inset 0 0 40px rgba(48, 77, 123, 0.12),
            0 18px 45px rgba(0, 0, 0, 0.32);
    }

    /* 內側第二層細框 */
    #form-mobile .wrap-contact1002::before {
        content: "";
        position: absolute;
        inset: 8px;

        border: 1px solid rgba(209, 165, 86, 0.20);
        pointer-events: none;
    }

    #form-mobile .contact100-form2 {
        position: relative;
        z-index: 2;
    }

    /* 原本手機版標題圖片區 */
    #form-mobile .form-header-img {
        width: 86% !important;

        margin:
            15px auto
            30px !important;

        padding-bottom: 20px;

        border-bottom:
            1px solid rgba(209, 165, 86, 0.35);
    }

    #form-mobile .form-header-img img {
        width: 100%;
        height: auto;
    }

    /* 欄位間距 */
    #form-mobile .wrap-input100 {
        width: 100%;
        margin-bottom: 22px;
    }

    /* 所有標題文字 */
    #form-mobile .wrap-input100 label,
    #form-mobile .wrap-input100-gender label,
    #form-mobile .checkbox-title {
        display: block;

        margin: 0 0 8px;

        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.08em;

        color: rgba(255, 255, 255, 0.80) !important;
    }

    /* 輸入框、下拉選單、備註 */
    #form-mobile input.input100,
    #form-mobile select.input100,
    #form-mobile textarea.input100 {
        display: block;

        width: 100% !important;

        background-color:
            rgba(12, 36, 72, 0.82) !important;

        border:
            1px solid
            rgba(207, 159, 75, 0.92) !important;

        border-radius: 4px !important;

        color: #ffffff !important;

        font-family:
            "GenYoGothicTW",
            "Microsoft JhengHei",
            sans-serif !important;

        font-size: 15px !important;
        letter-spacing: 0.04em;

        box-shadow:
            inset 0 0 10px rgba(0, 0, 0, 0.18);

        outline: none !important;

        transition:
            border-color 0.25s ease,
            background-color 0.25s ease,
            box-shadow 0.25s ease;
    }

    #form-mobile input.input100,
    #form-mobile select.input100 {
        height: 52px !important;
        padding: 0 16px !important;
    }

    #form-mobile textarea.input100 {
        min-height: 110px !important;

        padding: 15px 16px !important;

        resize: vertical;
    }

    /* Placeholder */
    #form-mobile input.input100::placeholder,
    #form-mobile textarea.input100::placeholder {
        color:
            rgba(255, 255, 255, 0.48) !important;
    }

    /* 點擊輸入框時 */
    #form-mobile input.input100:focus,
    #form-mobile select.input100:focus,
    #form-mobile textarea.input100:focus {
        background-color:
            rgba(16, 45, 86, 0.96) !important;

        border-color: #efc879 !important;

        box-shadow:
            0 0 0 2px rgba(226, 181, 99, 0.13),
            0 0 15px rgba(226, 181, 99, 0.12);
    }

    /* 下拉選單內容 */
    #form-mobile select.input100 option {
        color: #ffffff;
        background-color: #0c2347;
    }

    /* 姓名／性別 */
    #form-mobile .wrap-input100-gender {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        width: 100%;
        max-width: none;

        gap: 10px 13px;
        margin-bottom: 20px;
    }

    /* 第一個 label 單獨一整行 */
    #form-mobile .wrap-input100-gender > label:first-child {
        width: 100%;
        margin-bottom: 3px;
    }

    #form-mobile .wrap-input100-gender input[type="radio"] {
        width: 17px;
        height: 17px;

        margin: 0;

        accent-color: #d5a64f;
    }

    #form-mobile .wrap-input100-gender label:not(:first-child) {
        display: inline-flex;
        align-items: center;

        margin: 0 15px 0 -7px;

        color:
            rgba(255, 255, 255, 0.80) !important;
    }

    /* 複選考慮因素 */
    #form-mobile .checkbox-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 14px 10px;

        width: 100%;
        padding: 17px 14px;

        background:
            rgba(12, 36, 72, 0.82) !important;

        border:
            1px solid
            rgba(207, 159, 75, 0.92) !important;

        border-radius: 4px !important;
    }

    #form-mobile .checkbox-item {
        display: flex;
        align-items: center;
        gap: 7px;

        min-width: 0;
        margin: 0;
    }

    #form-mobile .checkbox-item input[type="checkbox"] {
        flex: 0 0 auto;

        width: 17px;
        height: 17px;

        margin: 0;

        accent-color: #d5a64f;
    }

    #form-mobile .checkbox-item span {
        font-size: 13px;
        line-height: 1.35;

        color:
            rgba(255, 255, 255, 0.80) !important;
    }

    /* 地圖 */
    #form-mobile .map-container {
        width: 100%;
        height: 260px;

        margin-bottom: 28px;

        background: #081a38;

        border:
            1px solid
            rgba(207, 159, 75, 0.92) !important;

        border-radius: 4px !important;

        box-shadow:
            0 16px 30px rgba(0, 0, 0, 0.25);

        overflow: hidden;
    }

    #form-mobile .map-container iframe {
        display: block;

        width: 100% !important;
        height: 260px !important;
    }

    /* 隱私權 */
    #form-mobile .BOXXX {
        width: 100%;

        margin-top: 25px;

        color:
            rgba(255, 255, 255, 0.70);
    }

    #form-mobile .form-check {
        display: flex;
        align-items: center;
        gap: 8px;

        margin-bottom: 9px;
    }

    #form-mobile .form-check input[type="checkbox"] {
        width: 17px;
        height: 17px;

        margin: 0;

        accent-color: #d5a64f;
    }

    #form-mobile .form-check label {
        margin: 0;

        font-size: 13px;

        color:
            rgba(255, 255, 255, 0.88);
    }

    #form-mobile .disclaimer-text {
        margin: 0;

        font-size: 11px;
        line-height: 1.75;
        letter-spacing: 0.04em;
        text-align: justify;

        color:
            rgba(255, 255, 255, 0.56) !important;
    }

    /* 送出按鈕 */
    #form-mobile .container-contact100-form-btn {
        width: 100%;

        margin-top: 32px !important;
        margin-bottom: 15px;
    }

    #form-mobile .contact100-form-btn {
        width: 100%;
        min-width: 100%;
        height: 52px;

        border:
            1px solid #d3a557;

        border-radius: 4px;

        color: #fff1d7;

        overflow: hidden;
    }

    #form-mobile .contact100-form-btn::before {
        border-radius: 3px;

        background:
            linear-gradient(
                135deg,
                #8f6021 0%,
                #c7984e 50%,
                #956526 100%
            );
    }

    #form-mobile .contact100-form-btn:active::before {
        filter: brightness(1.12);
    }

    /* 手機版 footer */
    #form-mobile .footer-info {
        border-top:
            1px solid rgba(209, 165, 86, 0.25);

        color:
            rgba(255, 255, 255, 0.55);
    }
}

@media screen and (max-width: 767px) {

    #form-mobile .mobile-booking-header {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 14px;

        margin: 10px 0 30px;
        padding-bottom: 20px;

        border-bottom:
            1px solid rgba(209, 165, 86, 0.35);
    }

    #form-mobile .mobile-booking-header > strong {
        font-family:
            Georgia,
            "Times New Roman",
            serif;

        font-size: 47px;
        font-weight: 400;
        line-height: 0.9;

        color: #e3c089;

        text-shadow:
            0 0 12px
            rgba(224, 178, 96, 0.18);
    }

    #form-mobile .mobile-booking-header h2 {
        margin: 0 0 3px;

        font-size: 23px;
        font-weight: 400;
        letter-spacing: 0.14em;

        color: #e4c38c;
    }

    #form-mobile .mobile-booking-header span {
        font-family:
            Georgia,
            "Times New Roman",
            serif;

        font-size: 11px;
        letter-spacing: 0.15em;

        color: #d7b47b;
    }
}


@media screen and (max-width: 767px) {

    /* 外層金框改成直角 */
    #form-mobile .wrap-contact1002 {
        border-radius: 0 !important;
    }

    /* 內層第二道框線也改成直角 */
    #form-mobile .wrap-contact1002::before {
        border-radius: 0 !important;
    }
}
/*若加上後外框仍有一點圓弧，再補上*/
@media screen and (max-width: 767px) {

    #form-mobile,
    #form-mobile .wrap-contact1002,
    #form-mobile .contact100-form2 {
        border-radius: 0 !important;
    }
}