@import url("reset.css");
*{
  margin:0;
  padding:0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  font-family: "Noto Sans TC", sans-serif,"Microsoft JhengHei","Heiti TC","sans-serif" !important;
}

img { border: 0; width: 100%; height: auto; }

html,body{
    width: 100%;
  height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a{
  text-decoration: none;
}
a:hover{
  text-decoration: none;
}
ol, ul {
    list-style: none;}

/* header */
header > nav{
    width: 1200px;
    height: 50px;
    margin: 0 auto;
}

header > nav > a{
    line-height: 50px;
    color: #333;
    font-size: 14px;
    float: left;
}   

header > nav > a > img{
    width: 250px;
    padding: 12px 0 12px 5px;
} 

header > nav > div{
    color: #333;
    font-size: 14px;
    float: right;
    padding-left: 20px;
}

header > nav > div > a{
    display: block;
    line-height: 50px;
    padding: 0 10px;
    float: left;
    font-weight: bold;
    color: #333;
}

header > nav > div > a:hover{
    color: #00a19b;
}


@media screen and (max-width: 1024px) {

    header > nav > a > img{
        padding: 12px 0 12px 5px;
    }
}

@media screen and (max-width: 640px) {
    header > nav > div{
        clear: both;
        float: none;
        padding-left: 0;
    }

    header > nav > div > a{
        width: 50%;
        text-align: center;
    }
}
/* h1 */
.seo-h1{
height: 0;
width: 0;
padding: 0;
margin: 0;
transform: scale(0);
}
/* h2 */
h2{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 60px 5px 40px 5px;
}
/*主視覺*/
.KV-PC{
  width: 100%;
  margin-top: 40px;
  display: block;
}
.KV-M{
  width: 100%;
  margin-top: 40px;
  display: none;
}
@media(max-width:700px){
.KV-PC{
  display: none;
}
.KV-M{
  display: block;
}
}
/*FAQ*/
main{
    flex: 1;
}
.FAQ-h2{
  font-size: 28px;
  margin-top: 100px
}
.faq {
  width: 90%;
  margin: 0 auto;
  max-width: 1100px;
  background-size: cover;
  background-position: center;
  padding: 0px 0; 
  margin-bottom: 40px;
  margin-top: 100px;
}

.faq .qa-section {
  max-width: 1100px;
  cursor: pointer;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border:0.65px solid #d9d9d9;
}

.faq .qa-section p {
  text-align: left;
  font-size: 16px;
  line-height: 28px;
  margin: 0; 
}

.faq .qa-section p span {
  display: block;
  font-size: 16px; 
}

.faq .qa-section .answer {
  background-color: #dfeceb61;
  padding: 20px 30px;
  display: none; 
}
.faq .qa-section .answer a {
    color: #00a19b;
text-decoration: underline; }

.faq .qa-section .answer ul {
  padding:10px 40px 20px 40px ;
  line-height: 24px; }
.faq .qa-section .answer ol {
  padding-left: 54px;
  line-height: 28px;
  font-size: 16px;
  margin-bottom: 0; 
}

.faq .qa-section h3 {
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  position: relative; 
  margin-bottom: 0px;
  color: #414040;
  padding: 20px 0px;
  margin-left: 30px;
  letter-spacing: 1px;
}

.faq .qa-section h3 span {
  color: #333333; 
}

.faq .qa-section .open {
  width: 35px;
  float: right;
  padding-right: 20px;
  font-size: 22px;
}

.faq .active-qa h3 {
  padding: 20px 0px;
  color: #00a19b;
}
.faq .active-qa h3 span{
  color: #00a19b;
}

.faq .main-title h2 img {
  display: inline-block;
  width: 30px;
  vertical-align: middle;
  margin-bottom: 2px;
  margin-right: 5px; 
}

.faq .qa-section .answer ul {
  padding:10px 15px 20px 15px ; 
}

.faq .qa-section .answer ol {
  padding-left: 0px; 
}

/* 針對新增的 FAQ-footerwarning 進行黏性底部設定 */
.FAQ-footerwarning {
    margin-top: auto; /* 當內容不足時，自動將上方空間填滿，壓在底部 */
    width: 100%;
    box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .FAQ-h2{
    margin-top: 60px
  }
  .faq .qa-section {
    text-align: left;
  }
  .faq .qa-section p {
    padding-left: 0px;
    font-size: 14px; 
    text-align: left;
  }
  .faq .qa-section h3 {
    font-size: 16px;
    text-align: left;
    line-height: 28px;
    text-align: left; 
  }
  .faq .qa-section .answer {
    padding-right: 30px;
  }
}

@media(max-width:540px){
    .faq .qa-section h3 {
    padding-right: 40px;
    position: relative;
  }
  .faq .qa-section .open {
  position: absolute;
  right: -5px;
  top: 25%;
}
.faq {
  margin-top: 40px;
}
}

@media screen and (max-width: 420px) {
  .faq .qa-section h3 {
    padding-right: 40px;
  }
  .faq .qa-section .answer {
    padding-right: 20px;
    text-align: justify;
  }
}


/* ==========================================================================
  社群分享按鈕
   ========================================================================== */
/* 全局遮罩外框 */
.share-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999; /* 確保疊在網頁最上層，包括導覽列 */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 手機版預設靠底 */
  visibility: hidden; /* 預設完全隱藏（不影響點擊） */
  transition: visibility 0.3s ease;
}

/* 黑色半透明背景襯底 */
.share-sheet-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* 預設透明 */
  transition: background-color 0.3s ease;
}

/* 彈出面板本體 (電腦版預設樣式：優雅的置中彈窗) */
.share-sheet-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  border-radius: 16px 16px 16px 16px;
  padding: 30px;
  box-sizing: border-box;
  margin-bottom: auto; /* 電報版垂直置中 */
  margin-top: auto;   /* 電報版垂直置中 */
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  
  /* 動態核心：電腦版預設用「縮放與淡入」登場 */
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* 當激活狀態時 (.active) 的轉場效果 */
.share-sheet-overlay.active {
  visibility: visible;
}
.share-sheet-overlay.active .share-sheet-bg {
  background-color: rgba(0, 0, 0, 0.5); /* 背景變半透明黑 */
}
.share-sheet-overlay.active .share-sheet-content {
  transform: scale(1);
  opacity: 1;
}

/* 裝飾線條與標題 */
.share-sheet-drag-handle {
  display: none; /* 電腦版不顯示 */
}

.share-sheet-title {
  font-size: 20px;
  color: #2F2F2F;
  font-weight: 500;
  text-align: center;
  margin: 0 0 25px 0;
}

/* 四個選項的 Grid 網格排版 */
.share-options-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.share-option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: 1;
  outline: none;
}

/* 圖示外圈圓圈 */
.share-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.share-option-item:hover .share-icon-wrap {
  transform: scale(1.08); /* 滑鼠懸庭微微放大 */
}

.share-icon-wrap img {
  width: 100%;
  height: auto;
}

.share-text {
  font-size: 14px;
  color: #5f6368;
  font-weight: 500;
}

/* 取消按鈕 */
.share-sheet-close {
  width: 100%;
  padding: 12px 0;
  background-color: #f1f3f4;
  color: #5f6368;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.share-sheet-close:hover {
  background-color: #e8eaed;
}

/* ==========================================================================
   RWD 手機版斷點變形 (768px 以下)：100% 轉為從頁面底部滑出的面板
   ========================================================================== */
@media (max-width: 768px) {
  .share-sheet-overlay {
    align-items: flex-end; /* 強制靠螢幕最底端 */
  }
  
  .share-sheet-content {
    max-width: 100%;
    border-radius: 20px 20px 0 0; /* 只留上方圓角 */
    padding: 20px 20px 30px 20px;
    margin-bottom: 0; /* 緊貼底部 */
    margin-top: 0;
    
    /* 核心變形：手機版改為從螢幕下方 100% 的位置往上滑入 */
    transform: translateY(100%);
    opacity: 1; /* 手機版不需要淡入，靠滑動即可 */
    transition: transform 0.35s cubic-bezier(0.15, 1, 0.3, 1);
  }
  
  /* 激活狀態覆寫 */
  .share-sheet-overlay.active .share-sheet-content {
    transform: translateY(0); /* 回歸原位，即滑出畫面 */
  }
  
  /* 手機版上方的拉條裝飾 */
  .share-sheet-drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    background-color: #e8eaed;
    border-radius: 2px;
    margin: 0 auto 15px auto;
  }
  
  .share-sheet-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .share-icon-wrap {
    width: 54px;
    height: 54px;
  }
}