@charset "utf-8";

/* 공통 */
button{border:none}
input[type=text], input[type=password]{box-shadow:none;transition:none;font-family:'Noto Sans KR'}
input[type=text]:focus,input[type=text]:active, input[type=password]:focus, textarea:focus, select:focus, select:active{box-shadow:none;border:inherit!important;outline:none}
input[type=submit]:focus{outline:none}
input[type=submit]{border:none}
button:focus,button:active{outline:none}
.required, textarea.required{background-image:url(../../../img/require.png)!important}

/* 관리자 버튼 */
.sh_adm_btn{width:85px;height:38px;border-radius:2px;border:1px solid #ffd8e1;font-size:13.5px;line-height:36px;color:#ff567f;letter-spacing:-.7px;background-color:#fff7f9;-webkit-transition:all .2s;transition:all .2s;font-family:'Noto Sans KR';font-weight:500}
a.sh_adm_btn{display:block;text-align:center}
.sh_adm_btn:hover{border-color:#fdb6c6}

/* 버튼 공통 */
.btn_type01{display:inline-block;width:180px;height:55px;margin:0 auto;border-radius:2px;font-size:15px;color:#fff;text-align:center;line-height:55px;background-color:#0054a6;-webkit-transition:all .2s;transition:all .2s;font-family:'Noto Sans KR';font-weight:500}
.btn_type01:hover{background-color:#0064c5}
a.cancel_btn{display:inline-block;vertical-align:top;width:75px;height:55px;border:none;border-radius:2px;font-size:15px;text-align:center;color:#fff;line-height:55px;background-color:#bbb;font-family:'Noto Sans KR';font-weight:500}
a.btn_normal{display:inline-block;vertical-align:top;width:75px;height:55px;border:none;border-radius:2px;font-size:15px;text-align:center;color:#fff;line-height:55px;background-color:#bbb;font-family:'Noto Sans KR';font-weight:500}
a.btn_line{display:inline-block;vertical-align:top;width:75px;height:55px;border:none;border-radius:2px;border:1px solid #d1d1d1;font-size:15px;text-align:center;color:#777;line-height:53px;font-family:'Noto Sans KR';font-weight:500}

/* 페이지 */
.pg_wrap{display:block;float:none;margin:40px 0 0;text-align:center;font-family:'Noto Sans KR'}
.pg_wrap a{display:inline-block;vertical-align:middle}
.pg_page{min-width:30px;height:30px;padding:0 5px;border:none;border-radius:0;font-size:14px;line-height:30px;color:#999;background:none}
.pg_page:hover{background:none}
.pg_current{display:inline-block;vertical-align:middle;min-width:30px;height:30px;padding:0 5px;border:none;border-radius:0;font-size:15px;line-height:29px;color:#222;background:none;box-shadow:none;font-family:'Noto Sans KR';font-weight:500}
.pg_start, .pg_end{width:30px;height:30px;border-radius:2px;border:1px solid #e1e1e1;font-size:0;text-indent:0;background-color:#fff}
.pg_start{margin-right:5px}
.pg_next, .pg_prev{width:30px;height:30px;border-radius:2px;border:1px solid #e1e1e1;font-size:0;text-indent:0;background-color:#fff}
.pg_next:before,.pg_prev:before{content:"\f105";padding:0;font-size:12px;text-align:center;color:#555;line-height:28px;letter-spacing:.5px;font-family:'fontawesome'}
.pg_prev:before{content:"\f104"}
.pg_prev:hover, .pg_prev:hover{background-color:#f6f6f6}
.pg_end{margin-left:5px}
.pg_start:before, .pg_end:before{content:"\f104 \f104";padding:0;font-size:12px;text-align:center;color:#555;line-height:28px;letter-spacing:.5px;font-family:'fontawesome'}
.pg_end:before{padding-left:3px;content:"\f105 \f105"}
.pg_start:hover, .pg_end:hover{background-color:#f6f6f6}

/* 테이블 공통 */
.sh_tbl_common{width:100%;border-top:1px solid #555}
.sh_tbl_common table{width:100%}
.sh_tbl_common th{border-bottom:1px solid #e1e1e1;font-size:15px;color:#222;font-family:'Noto Sans KR';font-weight:500} 
.sh_tbl_common td{border-bottom:1px solid #e1e1e1;font-size:14px;color:#777}

/* -------- 리스트 시작 [s] */
#sh_faq{font-size:15px;letter-spacing:-.3px;line-height:1.8;color:#666;font-family:'Noto Sans KR'}

/* 게시판 분류 type1 */
#bo_cate_ul_box{margin-bottom:30px;padding-left:1px}
#bo_cate_ul_box:after{display:block;content:"";visibility:hidden;clear:both}
#bo_cate_ul_box li{float:left;min-width:20%;text-align:center}
#bo_cate_ul_box li a{display:block;height:47px;margin:-1px 0 0 -1px;padding:0 15px;border:1px solid #e1e1e1;font-size:15px;line-height:47px;color:#999;background-color:#f6f6f6}
#bo_cate_ul_box li a:hover{background-color:#fbfbfb}
#bo_cate_ul_box #bo_cate_on{border-top:2px solid #222;color:#222;line-height:45px;background-color:#fff;font-family:'Noto Sans KR';font-weight:500}

/* 게시판 분류 type2 */
#bo_cate_ul_line{margin-bottom:25px;text-align:center}
#bo_cate_ul_line:after{display:block;content:"";visibility:hidden;clear:both}
#bo_cate_ul_line li{display:inline-block;vertical-align:top;margin:0 15px}
#bo_cate_ul_line li a{display:block;padding:2px 3px;font-size:17px;color:#999}
#bo_cate_ul_line #bo_cate_on{border-bottom:2px solid #222;color:#222;font-family:'Noto Sans KR';font-weight:500}

/* rss */
#sh_faq .list_top{position:relative;margin-bottom:12px}
#sh_faq .list_top:after{display:block;content:"";visibility:hidden;clear:both}
#sh_faq .list_top a{display:block;position:absolute;left:0;bottom:0;width:50px;height:24px;margin-top:18px;border-radius:2px;border:1px solid #e1e1e1;font-size:12px;text-align:center;line-height:21px;color:#aaa;background-color:#f6f6f6}
#sh_faq .list_top a i{padding-right:5px}

/* 검색 */
/* select·입력창·돋보기 아이콘은 fieldset 안의 form 에 들어있으므로 form 을 flex 로.
   - align-items:center → 17px 아이콘이 40px 입력창 기준 세로 중앙에 위치(글자 위로 뜨던 문제)
   - inline 요소 사이 공백이 사라져 폭 합이 100%를 넘겨 아이콘이 글자와 겹치던 문제도 해소 */
#sh_bo_sch{float:right;padding-right:10px;border-radius:2px;border:1px solid #e1e1e1}
/* 돋보기를 검색폼 우측에 '절대위치'로 고정하고, 입력창엔 우측 패딩(34px)을 줘
   텍스트가 어떤 폭에서도 아이콘 밑으로 들어가지 않게 함(flex 축소 동작에 의존하지 않음) */
#sh_bo_sch form{display:flex;align-items:center;position:relative}
#sh_bo_sch input[type=image]{position:absolute;right:8px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:17px;height:17px;margin:0}
#sh_bo_sch select{flex:none;width:90px;height:40px;padding:0 0 0 10px;border:none;font-size:14px;color:#777;-webkit-appearance:none;appearance:none;background:url(../../../img/select_arr.png) 95% center no-repeat ;font-family:'Noto Sans KR'}
#sh_bo_sch select::-ms-expand {display:none}
#sh_bo_sch input[type=text]{width:150px;height:40px;padding:0 34px 0 5px;border:none;font-size:14px;color:#777}

/* 리스트 */
#sh_faq .faq_wrap{border-bottom:1px solid #e1e1e1}
#sh_faq .cont_faq{overflow:hidden;border-top:1px solid #e1e1e1}
#sh_faq .cont_q{display:block;position:relative;width:100%;padding:0 55px;background:none;border:none;text-align:left}
#sh_faq .cont_q:after{display:block;content:"\f107";position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:20px;color:#222;font-family:'fontawesome'}
#sh_faq .cont_q.open:after{content:"\f106";color:#aaa}
#sh_faq .cont_q .num{display:block;position:absolute;left:20px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:18px;font-weight:500;color:#0054a6;font-family:'Poppins'}
#sh_faq .cont_q p{display:inline-block;padding:16px 0;color:#222;font-family:'Noto Sans KR';font-weight:500}
#sh_faq .cont_a{display:none;padding:30px 55px;background-color:#f5f6f8}
#sh_faq .cont_faq:first-child .cont_a{display:block}
#sh_faq .cont_a .ps{margin-bottom:10px;color:#ff567f}
#sh_faq .cont_a img{max-width:100%}
#sh_faq .empty_table{border-top:1px solid #e1e1e1}

/* 리스트 버튼 */
#sh_faq .btn_area{position:relative;margin:20px 0}
#sh_faq .btn_area:after{display:block;content:"";visibility:hidden;clear:both}
#sh_faq .adm_btns{position:absolute;top:0;left:0}
#sh_faq .adm_btns li{display:inline-block;vertical-align:top;margin-right:2px}
#sh_faq .w_btn{float:right}
#sh_faq .w_btn:hover{background-color:#0064c5}
/* -------- 리스트 끝 [e] */

/* -------- 글쓰기 시작 [s] */
#sh_bo_w{font-size:15px;letter-spacing:-.3px;line-height:1.8;color:#666;font-family:'Noto Sans KR'}

/* 라이트 */
#sh_write_tbl label{font-size:15px}
#sh_write_tbl th{width:16%;padding:10px 0;line-height:1.6;background-color:#f5f6f8}
#sh_write_tbl td{padding:10px 0 10px 10px}
#sh_write_tbl .cate_wrap{display:inline-block;position:relative;min-width:181px;padding-left:10px;border-radius:2px;border:1px solid #e1e1e1}
#sh_write_tbl .cate_wrap:after{content:"\f107";position:absolute;right:10px;top:6px;font-size:15px;font-family:'fontawesome'}
#sh_write_tbl .sh_select{min-width:160px;height:40px;border:none;font-size:15px;color:#777;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:'Noto Sans KR'}
#sh_write_tbl .sh_select:focus, #sh_write_tbl .sh_select:active{border:none!important}
#sh_write_tbl .sh_input{height:40px;padding:0 20px 0 12px;border:1px solid #e1e1e1;border-radius:2px;font-size:15px;color:#777;font-family:'Noto Sans KR'}
#sh_write_tbl .sh_input:focus, #sh_write_tbl .sh_input:active{border:1px solid #e1e1e1!important;outline:none}
#sh_write_tbl textarea, #sh_write_tbl .txtarea{width:100%;height:100px;padding:12px;border:1px solid #e1e1e1;border-radius:2px;box-shadow:none}
#sh_write_tbl textarea:focus, #sh_write_tbl textarea:active{border:1px solid #e1e1e1!important}
#sh_write_tbl .ps{font-size:14px;color:#0b6ed0}
#sh_write_tbl span.ps{padding-left:10px}

/* 라이트 버튼 */
#sh_bo_w .btn_area{position:relative;margin:20px 0;text-align:center}
/* -------- 글쓰기 끝 [e] */

/* ===== BeyondCare FAQ 커스텀 — 카드형 아코디언 + 알약 카테고리 탭 (educeet 레이아웃 참고) ===== */
#sh_faq .faq_wrap{border-bottom:none}
#sh_faq .cont_faq{overflow:visible;margin-bottom:14px;border:1px solid #e5e8eb;border-radius:14px;background:#fff;transition:border-color .3s, box-shadow .3s}
#sh_faq .cont_faq:has(.cont_q.open){border-color:#F2B33D;box-shadow:0 8px 24px rgba(20,57,78,.08)}
#sh_faq .cont_q{padding:6px 60px 6px 66px;border-radius:14px}
#sh_faq .cont_q .num{left:18px;width:32px;height:32px;border-radius:50%;background:#14394E;font-size:15px;font-weight:700;line-height:32px;text-align:center;color:#fff}
#sh_faq .cont_q.open .num{background:#F2B33D;color:#14394E}
#sh_faq .cont_q p{padding:20px 0;font-size:16px;color:#14394E}
#sh_faq .cont_q:after{content:"\f067";right:22px;font-size:13px;color:#14394E}
/* 열림(－) 아이콘: 흰 카드 위라 #F2B33D 는 대비 1.86:1 로 거의 안 보였다.
   닫힘(＋)이 네이비 12:1 인 것과 균형을 맞춰 어두운 골드(4.92:1)로 */
#sh_faq .cont_q.open:after{content:"\f068";color:#A16207}
#sh_faq .cont_a{margin:0 18px 18px;padding:20px 26px;border-radius:10px;background:#f6f8fb}
/* 알약 필터(PC): flex-wrap+gap 으로 여러 줄이 되어도 상하·좌우 간격과 정렬을 균일하게 유지.
   1024px 이하에서는 아래 미디어쿼리에서 균등 폭 그리드로 바꾼다 */
#sh_faq #bo_cate_ul_line{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-bottom:30px}
#sh_faq #bo_cate_ul_line li{margin:0}
#sh_faq #bo_cate_ul_line li a{padding:9px 22px;border:1px solid #dfe5ea;border-radius:50px;font-size:15px;color:#667}
#sh_faq #bo_cate_ul_line #bo_cate_on{padding:10px 23px;border:none;border-radius:50px;background:#14394E;color:#fff}

/* FAQ 하단 상담 CTA */
#sh_faq .bc_faq_cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:15px 25px;margin-top:35px;padding:30px 25px;border-radius:16px;background:#14394E;text-align:center}
#sh_faq .bc_faq_cta p{font-size:17px;font-weight:600;color:#fff}
#sh_faq .bc_faq_cta a{display:inline-flex;align-items:center;gap:8px;padding:13px 32px;border-radius:60px;background:#F2B33D;color:#14394E;font-size:15px;font-weight:800;transition:all .3s}
#sh_faq .bc_faq_cta a:hover{background:#FFC44D;transform:translateY(-2px)}

/* 반응형 [s] */
@media (max-width:1024px){
.btn_type01{height:50px;font-size:14px;line-height:50px;-webkit-appearance:none;-moz-appearance:none;appearance:none}
a.cancel_btn{height:50px;line-height:50px}
.pg_current{min-width:20px;font-size:14px}
.pg_page{min-width:20px;font-size:13px;line-height:28px}
#sh_faq{padding:20px 0;font-size:14px}	
#sh_faq .list_top{padding:0 10px}
#sh_faq .list_top a{left:10px}
#sh_faq .btn_area{padding:0 10px}
#bo_cate_ul_line li{margin:0 10px}
#bo_cate_ul_line li a{padding:0 3px;font-size:14px}
/* 필터 알약(모바일): 카테고리 이름이 게시판별 DB 에서 오는데 영어·일본어가 한국어보다 길다.
   - flex + wrap 이면 줄바꿈은 되지만 마지막 줄만 가운데로 몰려 어긋나 보이고,
   - nowrap + 가로 스크롤은 항목이 화면 밖으로 나가 안 보인다.
   그래서 균등 폭 그리드로 바꿔 여러 줄이 되어도 열이 딱 맞게 한다.
   auto-fit 이라 카테고리 개수가 언어마다 달라도 폭에 맞춰 열 수가 자동으로 정해진다
   (375px 기준 3열, 768px 기준 6열). 화면 밖으로 나가는 일은 없다. */
#sh_faq #bo_cate_ul_line{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;padding:0 10px}
#sh_faq #bo_cate_ul_line li,
#sh_faq #bo_cate_ul_line li a{width:auto;margin:0}
/* 알약이 셀을 꽉 채우게 해서 열 폭을 맞춤. 라벨이 길면 알약 안에서 두 줄이 되고,
   그리드 행이 늘어나며 같은 줄 알약들의 높이가 함께 맞춰진다 */
#sh_faq #bo_cate_ul_line li a,
#sh_faq #bo_cate_ul_line #bo_cate_on{display:flex;align-items:center;justify-content:center;height:100%;min-height:40px;padding:7px 10px;text-align:center;line-height:1.3;word-break:keep-all}
#sh_faq .cont_q{padding:0 45px 0 60px}/* 왼쪽 60px: Q 원형아이콘(left18+폭32=50px)을 텍스트가 확실히 비켜가게 */
#sh_faq .cont_q p{font-size:14px}
#sh_faq .cont_q .num{font-size:16px}
#sh_faq .cont_a{padding:15px 45px}
#sh_faq .adm_btns{position:relative;margin-bottom:10px}
#sh_faq .w_btn{display:block;float:none;width:180px;margin:0 auto}
#sh_bo_w{padding:20px 0}
#sh_write_tbl .sh_select,#sh_write_tbl .sh_input{font-size:14px}
#sh_write_tbl input[type=text], #sh_write_tbl textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}
#sh_write_tbl label{font-size:14px}
#sh_write_tbl th{font-size:14px}
#sh_write_tbl td{padding:10px}
}
@media (max-width:480px){
.btn_type01{width:120px}
/* 좁은 화면에서는 열 최소폭을 더 줄여 3열이 확보되게 한다.
   좌우 패딩은 6px 까지만 — 그리드가 폭을 정하므로 알약 자체 패딩으로 넓힐 필요가 없다 */
#sh_faq #bo_cate_ul_line{grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:6px}
#sh_faq #bo_cate_ul_line li a,
#sh_faq #bo_cate_ul_line #bo_cate_on{padding:7px 6px;font-size:13px}
#sh_faq .list_top a{position:relative;left:0;margin-bottom:5px}
#sh_faq{padding:20px 0}	
#sh_bo_sch{float:none;width:100%}
/* 입력창을 flex 로 남는 폭만 채움(min-width:0 로 축소 허용). 우측 패딩 34px 는 base 유지 → 돋보기(절대위치)와 안 겹침 */
#sh_bo_sch input[type=text]{flex:1;width:auto;min-width:0}
#sh_bo_w{padding:0}
#sh_write_tbl .cate_wrap{width:100%}
#sh_write_tbl .sh_input{width:100%;padding-left:10px}
#sh_write_tbl .sh_select{width:100%}
#sh_write_tbl .ps{font-size:13px}
}
/* 반응형 [e] */
