/* ===== 基本 ===== */
#content_wrap .page_subject,#content_wrap .page_subject .pag_tit { display: flex; flex-direction: column; align-items: flex-start; }
#content_wrap .page_subject { margin-bottom: 0; padding-top: 0; }
#content_wrap .page_subject .pag_tit,.faq_Box .subtitle { margin-bottom: 60px; font-size: 32px; font-weight: 700; line-height: 45px; }
#faq_area { display: grid; grid-template-columns: 240px 69%; justify-content: space-between; }
.faq_Box { margin: 0; }
/* ===== FAQ LIST ===== */
#faq_list { margin: 0; padding: 0; list-style: none; }
#faq_list > li { margin-bottom: 24px; border: 1px solid #bdbdbd; border-radius: 30px; overflow: hidden; background: #fff; transition: border-color 0.35s ease,box-shadow 0.35s ease,transform 0.35s ease; }
#faq_list > li:last-child { margin-bottom: 0; }
#faq_list > li.current { border-color: #aeb8c5; box-shadow: 0 12px 30px rgba(0,0,0,0.06); transform: translateY(-2px) scale(1.01); }
/* ===== 標題 ===== */
#faq_list .title { position: relative; display: flex; align-items: baseline; gap: 0 20px; padding: 24px 72px 24px 30px; background: #ececec; color: #333; cursor: pointer; text-decoration: none; transition: background-color 0.35s ease; }
#faq_list li.current .title { background: #e8e8e8; border-radius: 30px 30px 0 0; }
#faq_list .title label,#faq_list .info .text label { color: var(--primary); font-size: 24px; font-weight: 700; line-height: 1.2; }
#faq_list .title label { font-size: 27px; }
#faq_list .title font { font-size: 24px; font-weight: 500; line-height: 32px; word-break: break-word; }
/* ===== 內容區 ===== */
#faq_list .info { display: none; overflow: hidden; position: relative; padding: 24px 30px 30px; border: 1px solid #cbcbcb; border-top: 0; border-radius: 0 0 30px 30px; background: #fff; transition: background-color 0.35s ease; }
/* 滑開遮罩（增加質感） */
#faq_list .info::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 28px; background: linear-gradient(to bottom,rgba(255,255,255,0.95),transparent); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
#faq_list li.current .info::before { opacity: 1; }
/* ===== 文字滑出效果 ===== */
#faq_list .info .text { display: flex; gap: 0 20px; opacity: 0; transform: translateY(-18px); filter: blur(6px); will-change: opacity,transform,filter; transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),transform 0.55s cubic-bezier(0.22,1,0.36,1),filter 0.55s cubic-bezier(0.22,1,0.36,1); }
#faq_list .info .text.show { opacity: 1; transform: translateY(0); filter: blur(0); }
/* 文字內容 */
#faq_list .info .text font,#faq_list .info .text font * { font-size: 22px; line-height: 36px; letter-spacing: 3.5px; color: #333; }
/* 連結 */
#faq_list .info a { color: var(--primary); text-decoration: underline; }
#faq_list .title .faq_icon { position: absolute; top: 50%; right: 30px; width: 16px; height: 16px; transform: translateY(-50%); transition: transform 0.3s ease; }
#faq_list .title .faq_icon::before,#faq_list .title .faq_icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: #777; border-radius: 99px; transform: translate(-50%,-50%); transition: all 0.28s ease; }
#faq_list .title .faq_icon::before { width: 16px; height: 2px; }
#faq_list .title .faq_icon::after { width: 2px; height: 16px; }
#faq_list li.current .title .faq_icon { transform: translateY(-50%) rotate(180deg); }
#faq_list li.current .title .faq_icon::after { opacity: 0; transform: translate(-50%,-50%) scaleY(0.2); }


/* ===== RWD ===== */
@media screen and (min-width:981px) {
	  aside >ul >li:after { content: ""; position: absolute; display: block; width: 100%; height: 1px; background-color: #cbcbcb; bottom: 0px; left: 0 }
  aside >ul >li:last-child:after { display: none; }
  aside >ul >li.action .btnBox a { color: var(--primary); font-weight: 700; border-style: solid; border-width: 2px 2px 2px 2px; border-color: #1D5CB7; border-radius: 12px; }
aside >ul{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
}
@media (max-width:980px) {
  #content_wrap .page_subject .pag_tit,.faq_Box .subtitle { margin-bottom: 50px; font-size: 24px; }
  #content_wrap .page_subject .pag_tit { margin-bottom: 0; }
  #faq_area { grid-template-columns: 1fr; }
  #faq_list > li { border-radius: 20px; margin-bottom: 16px; }
  #faq_list .title { padding: 18px 52px 18px 18px; gap: 0 12px; }
  #faq_list li.current .title { border-radius: 20px 20px 0 0; }
  #faq_list .title label { font-size: 23px; }
  #faq_list .info .text font,#faq_list .info .text font * {   }
  #faq_list .title font { font-size: 20px; }
  #faq_list .info { padding: 18px; border-radius: 0 0 20px 20px; }
  #faq_list .info .text font,#faq_list .info .text font * { font-size: 17px; line-height: 1.9; letter-spacing: 0.5px; }
  #faq_list .title label,#faq_list .info .text label { font-size: 22px; }
  #faq_list .title .faq_icon { right: 18px; }
}
