/*@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 ]*/

.contact100-form {
  width: 100%;
  margin-top: 23%;
}

.contact100-form-title {
  display: block;
  font-size: 30px;
  color: #403866;
}

.contact100-form2 {
  width: 100%;
  margin-top: 65%;
}

.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;       /* 垂直排列標籤 */
    flex: 1;                      /* 讓每個區塊寬度均分 */
    word-wrap: break-word;        /* 讓文字自動換行 */
    max-width: 48%;               /* 設定最大寬度限制，保持適當的比例 */
    text-align: left;             /* 文字靠左對齊 */
    line-height: 1.6;             /* 行高，讓文字間隔稍微寬一些 */
    overflow-wrap: break-word;    /* 確保長單詞也會換行 */
}

.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: #920783;
  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/case/shinruenn2025/img2/BG01.jpg) center center no-repeat;
    background-size: contain;       /* 根據需求改為 cover */
    width: 100vw;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
}

.page01logo {
    position: absolute;               /* 絕對定位，控制位置 */
    width: 100%;                      /* 寬度滿版 */
    height: auto;                     /* 高度自適應 */
    text-align: center;               /* 保持內容居中 */
    z-index: 1;                       /* 確保 logo 在最上層 */
}

.page01logo img {
    width: 100%;                      /* 圖片寬度滿版 */
    height: auto;                     /* 保持圖片比例 */
    object-fit: cover;                /* 如果圖片比例與容器不同，可使用 cover 填滿 */
}


.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: -12% 0 0 0;
    border-style: dashed;
    border-top: none;
    background-size: cover;
    width: 100%;
    height: 1080px;
    z-index: 1;
    position: relative;
    gap: 50px;                   /* 子元素之間的間距 */
}

.page14logo {
    position: absolute;              /* 絕對定位，控制居中 */
    top: 13%;                        /* 從頂部偏移 50% */
    text-align: center;
    width: 20%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.page14logo img {
    width: 100%;
    height: auto;
}



/*------------------------------------------------------------------
[ Alert validate ]以下為手機版圖片*/


.S01 {
    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: 59 / 100;          /* 根據圖片的實際比例 */
    position: relative;              /* 讓內部元素可以絕對定位 */
    display: flex;                   /* Flexbox 布局 */
    justify-content: center;         /* 水平居中 */
    align-items: center;             /* 垂直居中 */
}

.S01logo {
    position: absolute;              /* 絕對定位，控制居中 */
    text-align: center;
    width: 100%;                       /* 調整寬度，增大整個容器 */
    z-index: 1;                      /* 確保 S01logo 在最上層 */
}

.S01logo img {
    width: 100%;
    height: auto;
}

.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: -50% 0 0 0;
    border-style: dashed;
    border-top: none;
    background-size: cover;
    width: 100%;
    height: 1000px;
    z-index: 1;
    position: relative;
    gap: 50px;                   /* 子元素之間的間距 */
}

.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;
}




/*------------------------------------------------------------------
[ 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;
}

/*@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%;
}
*/




/*------------------------------------------------------------