/*@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: #138594;
  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: #eeeeef; /* 建議給個底色 */
    width: 100%;
    height: auto;        /* 關鍵：高度自動 */
    aspect-ratio: auto;  /* 關鍵：移除 16/9 的限制 */
    position: relative;
    display: block;      /* 改回 block，讓圖片自然堆疊 */
    z-index: 15;
}

/* 確保內部的 Logo 容器也能自適應 */
.page01logo {
    position: relative; 
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.page01logo img.base-img {
    display: block;
    width: 100%;        /* 寬度撐滿 */
    height: auto;       /* 高度隨圖片比例縮放 */
}

/*------------------------------------------------------------------
以下為電腦版動畫圖片*/



/* --- 電腦版 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: 43% !important;   /* 只有這裡會變小 */
    height: auto !important;
    left: 68% !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/case/shinruenn2025/img2/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/case/shinruenn2025/img2/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: 20px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    /* 加入底圖 */
    background-image: url('https://ar3d.idv.tw/case/PINELAND/img/t10-1.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* 隨頁面捲動 */
}

.page14logo {
    position: absolute;              /* 絕對定位，控制居中 */
    top: 13%;                        /* 從頂部偏移 50% */
    text-align: center;
    width: 20%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.page14logo img {
    width: 100%;
    height: auto;
}




/* 電腦版表單容器優化 */
.container-desktop-form {
    width: 80%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 150px 0 60px 0; /* 依序為：上、右、下、左 */
    color: #4b3621; /* 統一使用深咖啡色 */
}

.form-main-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* 左側欄位 */
.form-left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* 新增這行：讓內部元素（Logo 和地圖）水平置中對齊 */
    align-items: center; 
    gap: 215px;
}

/* 修改此區塊：調整 LOGO 的大小與位置 */
.desktop-logo {
    width: 100%; /* 讓 Logo 的容器佔滿左側欄位 */
    text-align: center; /* 讓圖片在容器內置中 */
    display: flex; /* 使用 flex 方便對齊 */
    justify-content: center; /* 水平置中 */
    align-items: center; /* 垂直置中（如果 Logo 後方有設計高度） */
    
    /* 若您想控制 Logo 與地圖之間的距離，也可以調整這裡 */
    margin-bottom: 10px; 
}

/* 修改此區塊：直接控制 LOGO 圖片本身的大小 */
.desktop-logo img {
    /* 1. 用高度控制 (最推薦，可保持 Logo 形狀) */
    height: 160px; /* 將原本的 80px 加大到 100px (可依需求調整) */
    width: auto;   /* 寬度自動縮放，保持比例 */

    /* 2. 或者，您想用寬度控制 (不推薦同時用 height 和 width，會變形) */
    /* width: 80%; */ /* 讓 Logo 佔地圖寬度的 80% */
    /* height: auto; */

    display: block; /* 移除圖片下方空白間隙 */
}

.desktop-map-box {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #d1d1d1;
    background: #ccc; /* 模擬圖中的灰色地圖區域 */
}

/* 右側欄位 */
.form-right-col {
    flex: 2;
}

.desktop-form-title {
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 0;
    margin-bottom: 40px;

    /* 核心修改：使用 Flex 佈局達成自動等距散開 */
    display: flex;
    justify-content: space-between; 
    
    /* 確保容器寬度撐滿右側欄位 */
    width: 100%; 
}

/* 底線輸入框樣式 */
.d-form-row, .d-form-row-flex {
    margin-bottom: 50px;
    border-bottom: 1px solid #4b3621;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5px;
}

.d-label {
    font-weight: bold;
    white-space: nowrap;
    margin-right: 10px;
    font-size: 16px;
    padding-bottom: 8px;
}

/* main.css */

.d-input-line {
    background: transparent !important;
    border: none !important;
    width: 100%;
    outline: none;
    font-size: 16px;
    color: #4b3621;
    
    /* 核心調整：修改這裡的數值 */
    padding-top: 5px;    /* 增加此數值會讓文字「往下」靠近底線 */
    padding-bottom: 2px;  /* 減少此數值會讓文字離底線更近 */
    
    /* 確保輸入框總高度足夠 */
    height: 40px; 
    display: flex;
    align-items: center;
}

.d-form-row-flex {
    display: flex;
    justify-content: space-between;
}

.d-flex-item {
    display: flex;
    align-items: flex-end;
}

/* 性別選擇微調 */
.d-gender-group {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    white-space: nowrap;
}

/* 針對電腦版單選鈕圓點進行位移 */
.d-gender-group input[type="radio"] {
    position: relative;
    /* 負值代表往上移，正值代表往下移 */
    top: -1px; 
    
    /* 確保圓點大小一致 (選擇性) */
    width: 16px;
    height: 16px;
    
    /* 消除預設的外邊距干擾 */
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
}

/* 確保後方的「先生/小姐」文字對齊 */
.d-gender-group label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin-right: 15px; /* 先生與小姐之間的間距 */
}

/* 隱私權部分 */
.d-privacy-box {
    margin-top: 20px;
}

.d-privacy-header {
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.d-privacy-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #4b3621;
    margin-left: 10px;
}

.d-privacy-content {
    font-size: 13.5px;
    line-height: 1.8;
    margin-top: 10px;
}

.d-agree-wrap {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 底部 Partner 與 按鈕 */
.form-footer-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 20px;
}

.partner-label {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
}

.partner-logos {
    height: 40px;
}

.contact-info-box {
    margin-left: 30px;
    display: flex;
    flex-direction: column;
}

.tel-label { font-size: 12px; }
.tel-number { font-size: 24px; font-weight: bold; }

/* 送出按鈕 */
/* main.css */

.d-submit-btn {
    background-color: #003a42;
    color: white;
    padding: 15px 60px; /* 稍微縮小內距，增加適應性 */
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 3px;
    
    /* 關鍵：防止變形 */
    width: auto;         /* 寬度隨字數調整 */
    min-width: 280px;    /* 設定最小寬度 */
    white-space: nowrap; /* 強制文字不換行 */
    flex-shrink: 0;      /* 禁止被壓縮 */
    
    transition: background 0.3s;
}

/* 調整底部容器排版，避免按鈕被擠到下面 */
.form-footer-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* 底部對齊 */
    gap: 20px;
}
.d-submit-btn:hover {
    background-color: #00252b;
}


/* 針對電腦版隱私權打勾框進行位移 */
.d-agree-wrap input[type="checkbox"] {
    position: relative;
    /* 負值代表往上移 */
    top: -2px; 
    
    /* 確保方框大小 (選擇性，依視覺需求調整) */
    width: 16px;
    height: 16px;
    
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
}

/* 確保後方的文字對齊 */
.d-agree-wrap label {
    cursor: pointer;
    font-size: 12px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    color: #4b3621;
}


/*------------------------------------------------------------------
[ 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:32% !important;
    transform:translateX(-50%) !important;
    width:75% !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: 53%;
    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: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; /* 調整文字寬度 */
    z-index: 10;
    line-height: 0;
}

/* 讓 v3 專用的容器繼承基礎樣式，並修改位置 */
.mask-layer-v3 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 49%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 75%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 28% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v3 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v4 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 49%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 75%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 73% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v4 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v5 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 67%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 24% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v5 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v6 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 55%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 51% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v6 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v7 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 82%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 92% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v7 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v8 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 60%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 34% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v8 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-v8-1 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 61%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 43%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 78% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v8-1 .overlay-img {
    width: 100%;
    height: auto;
}



.mask-layer-v9 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 80%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v9 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v10 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 49%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 40%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 18% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v10 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-v11 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 49%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 55%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 32% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v11 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-v12 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 49%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 61%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 21% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-v12 .overlay-img {
    width: 100%;
    height: auto;
}

/* 圖片容器：不再浮動，而是佔據空間 */
.logo-v10 {
    width: 70%;            /* 控制 Logo 大小 */
    margin-top: 15% !important;  /* 數值越大，離上面越遠 */
    margin-bottom: 10%;    /* 這裡控制「圖片與下方文字」的間距 */
    display: block;
}

.logo-v10 img {
    width: 100%;
    height: auto;
}



.mask-layer-t2 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 35.5%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 40%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 29% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t2 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t3 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 48.5%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 86%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 46% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t3 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t3-1 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 75%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 65%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 43% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t3-1 .overlay-img {
    width: 100%;
    height: auto;
}



.mask-layer-t4 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 90%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t4 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t6 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 90%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 65% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t6 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t7 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 85%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 20%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 53% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t7 .overlay-img {
    width: 100%;
    height: auto;
}

.mask-layer-t7-1 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 46.2%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 26.8%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 53% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t7-1 .overlay-img {
    width: 100%;
    height: auto;
}




.mask-layer-t8 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 52%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 82%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 50% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t8 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t9 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 85%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 6%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 30% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t9 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t10 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 86%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 16%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 39.5% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t10 .overlay-img {
    width: 100%;
    height: auto;
}


.mask-layer-t12 {
    /* 複製原本 mask-layer 的基礎屬性 */
    position: absolute;
    left: 26%;
    transform: translate(-50%, -50%); /* 這裡維持 -50% 確保定位基準正確 */
    width: 20%; 
    z-index: 10;
    line-height: 0;

    /* 這裡就是您可以自由調整的高度處 */
    top: 42% !important; /* 例如改為 45% 或您要的數值，!important 確保覆蓋 */
}

/* 也要記得讓內部的圖片寬度正常 */
.mask-layer-t12 .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;
    padding-top: 20px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    /* 加入底圖 */
    background-image: url('https://ar3d.idv.tw/case/PINELAND/img/v9-1.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* 隨頁面捲動 */
}

.S14logo {
    position: absolute;              /* 絕對定位，控制居中 */
    top: 13%;                        /* 從頂部偏移 50% */
    text-align: center;
    width: 60%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.S14logo img {
    width: 100%;
    height: auto;
}

/* 尋找並修改您的 .video-container */
.video-container {
    width: 100%;
    overflow: hidden;
    line-height: 0; 
    font-size: 0;      /* 新增：消除潛在的字體間距 */
    background: #000;  /* 可選：將背景設為黑色，若有極小縫隙也會被遮掉 */
}

/* 確保 video 標籤沒有任何外邊距 */
.video-container video {
    width: 100%;
    height: auto;
    display: block;    /* 確保是塊級元素 */
    margin-bottom: -1px; /* 密技：稍微向上偏移 1px 覆蓋縫隙 */
}


.footer-info {
    width: 100%;
    text-align: center;
    background: transparent !important; /* 強制透明 */
    border-top: 1px solid rgba(75, 54, 33, 0.2); /* 改用淡淡的咖啡色線條 */
    color: #4b3621; /* 字體顏色改為與表單一致的咖啡色 */
}

/* 電腦版：讓 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;
    }
}


.FFFFFF {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #333;
    padding: 30px 15px;
    line-height: 2;         /* 稍微增加行高，垂直排列時才不會太擠 */
    margin-top: 40px;
    border-top: 1px solid #eee;
}

/* 電腦版：讓 span 之間有間距 */
.FFFFFF span {
    display: inline-block;  /* 預設橫向排列 */
    margin: 0 10px;         /* 左右留一點間距 */
}

/* 手機版 (螢幕寬度小於 768px) */
@media (max-width: 768px) {
    .FFFFFF span {
        display: block;      /* 強制每個 span 單獨佔據一行 */
        margin: 5px 0;       /* 上下留一點間距，左右歸零 */
        font-size: 12px;     /* 手機版字體稍微再縮小一點點 */
    }
}




.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: 150px;    /* 手機版可以稍微矮一點 */
        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: 70%;
    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% !important;     /* 佔螢幕寬度的 90% */
    max-width: 450px !important; /* 強制最寬不超過 450px，可依喜好調整數值 */
    
    /* 確保置中 */
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* 保持透明與內距 */
    background: transparent !important;
    padding: 20px 10px !important; 
    box-sizing: border-box;
}

/* 姓名性別選單容器優化 */
.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: 700px; 
} 

.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;  /* 讓子元素絕對定位以這為參考 */
}



/* 移除原本重複的背景設定 */
.custom-form-bg {
    background-image: none !important; /* 取消原本區塊的背景 */
    background-color: transparent !important;
    padding: 30px 20px !important;
    width: 100%;
}

.form-title-main {
    font-size: 24px;
    font-weight: bold;
    /* 核心修改：縮小內距讓文字靠近底線 */
    padding-bottom: 2px !important; 
    /* 增加外距，確保底線跟下方的姓名欄位還是有呼吸空間 */
    margin-bottom: 35px !important; 
    
    border-bottom: 1px solid #4b3621;
    
    /* 保持兩端對齊 */
    text-align: justify;
    display: block;
    width: 100%;
}

/* 圖片容器：不再浮動，而是佔據空間 */
.title-logo-wrap {
    width: 60%;            /* 控制 Logo 大小 */
    margin-bottom: 20%;    /* 這裡控制「圖片與下方文字」的間距 */
    display: block;
}

.title-logo-wrap img {
    width: 100%;
    height: auto;
}

/* 確保兩端對齊生效的偽元素 */
.form-title-main::after {
    content: "";
    display: inline-block;
    width: 100%;
}

.form-row-custom, .form-row-flex {
    margin-bottom: 25px;
    border-bottom: 1px solid #4b3621; /* 底線樣式 */
    display: flex;
    align-items: flex-end;
    padding-bottom: 5px;
}

.form-row-flex {
    justify-content: space-between;
}

.form-row-flex .field-label {
    padding-bottom: 0px !important; /* 增加底部內距，讓標籤往上彈一點或下移 */
    margin-bottom: 0;
    align-self: flex-end; /* 確保標籤也是貼著底邊 */
}

.form-half {
    display: flex;
    align-items: flex-end;
}

.field-label {
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 5px;
}

.input-underline {
    background: transparent !important;
    border: none !important;
    width: 100%;
    color: #4b3621;
    font-size: 16px;
    outline: none;

/* 核心調整：增加上方內距將文字壓低 */
    padding-top: 12px !important;  /* 數值可依視覺微調，10px~15px 之間 */
    padding-bottom: 2px !important;
    
    /* 調整高度確保文字不會被截斷 */
    height: 45px !important; 
    display: flex;
    align-items: center;

}

.gender-wrap {
    display: flex !important;
    flex-direction: row !important; /* 強制水平排列 */
    align-items: center !important; /* 垂直置中對齊 */
    gap: 15px;      /* 先生與小姐之間的間距 */
    font-size: 16px;
    white-space: nowrap;
}

.gender-wrap label {
    display: inline-flex !important; /* 改為 inline-flex 讓標籤橫向排列 */
    align-items: center !important;  /* 關鍵：強制內部元素垂直置中 */
    margin-right: 15px;              /* 先生與小姐之間的間距 */
    cursor: pointer;
    line-height: 1 !important;       /* 消除行高干擾 */
}

.gender-wrap input[type="radio"] {
    margin: 0 -10px 0 0 !important;    /* 只保留右邊間距，歸零上下外距 */
    padding: 0;
    width: 18px;
    height: 18px;
    vertical-align: middle;          /* 雙重保險 */
}
.gender-wrap input[type="radio"] {
    position: relative;
    top: -3px; /* 數值可正可負，1px 或 -1px 慢慢微調到肉眼覺得置中為止 */
}


/* 隱私權區塊樣式 */
.privacy-section {
    margin-top: 30px;
    font-size: 12px;
}

.privacy-title {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.privacy-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #4b3621;
    margin-left: 10px;
}

.privacy-detail {
    margin: 10px 0;
    line-height: 1.5;
}

.agree-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* 按鈕美化 */
.submit-btn-custom {
    margin-top: 30px;
    width: 100%;
    height: 50px;
    background-color: #4b3621;
    color: white;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 2px;
}


/*@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) {

}



/* 手機版細節優化 */
@media (max-width: 768px) {
    /* 1. 文字置中與高度 */
    .input-underline {
        height: 35px !important;
        line-height: 35px !important;
        padding-top: 15px !important; /* 視情況手動微調下移 */
        font-size: 16px;
    }

/* 左邊：行動電話 (第一個 .form-half) */
.form-row-flex .form-half:nth-child(1) {
    flex: 0 0 60% !important; /* 固定分配 65% 的寬度 */
    display: flex;
    align-items: center;
}

/* 右邊：預約人數 (啟動之後的 .form-half) */
.form-row-flex .form-half:nth-child(2) {
    flex: 0 0 40% !important; /* 固定分配 35% 的寬度 */
    display: flex;
    align-items: center;
}

    /* 3. 姓名與性別間距 */
    .gender-wrap {
    margin-left: 10px !important;
    display: flex;
    gap: 12px; /* 先生與小姐之間的距離 */
    }
    
    /* 避免標籤換行 */
    .field-label {
        white-space: nowrap;
    }
}
/* 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%;
}
*/

/* 1. 針對 WebKit 瀏覽器（Chrome/Edge/Safari）強制隱藏所有預設 UI */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

/* 2. 針對「相機圖案」或「播放鈕」閃現的修正 */
video {
    /* 讓影片在還沒跑出來前，背景保持完全透明 */
    background-color: transparent !important;
    /* 防止點擊觸發瀏覽器下載或選單 */
    pointer-events: none; 
}

/* 3. 針對你提到的透明影片區塊加強 */
.mask-layer-t7-1 video, .mask-layer-v8-1 video {
    outline: none;
    border: none;
    /* 確保沒有任何預設圖示撐開空間 */
    object-fit: contain;
}
/* 強制隱藏所有相關的自動生成按鈕 */
.ssBtnDefault, #ssRememberPlace {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}


/* 圖片右下角警語樣式 */
.img-disclaimer {
    position: absolute;
    right: 20px;          /* 距離右邊 20px */
    bottom: 20px;         /* 距離底部 20px */
    color: #ffffff;       /* 文字顏色（白色，可依背景深淺調整） */
    font-size: 14px;      /* 字體大小 */
    letter-spacing: 1px;  /* 字距 */
    z-index: 20;          /* 確保疊在圖片最上方 */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 加上陰影，防止背景太亮看不清楚字 */
    pointer-events: none; /* 讓滑鼠可以穿透文字，不影響點擊 */
    opacity: 0.8;         /* 稍微透明一點比較自然 */
}

/* 如果手機版 (v2-1) 也要加，可以共用此 class 或另外微調 */
@media (max-width: 768px) {
    .img-disclaimer {
        font-size: 11px;  /* 手機版縮小字體 */
        right: 10px;
        bottom: 10px;
    }
}





/*------------------------------------------------------------