@charset "utf-8";
/* =========================================================
   자주 묻는 질문 (process/faq.html) — faq.css
   로드 순서: style.css → sub.css → faq.css
   - 아코디언 : <details>/<summary> 기본 동작 (JS 불필요)
   ========================================================= */
.faq-sec { padding: 110px 0 130px; }
.faq-sec .inner { max-width: 1040px; }
.faq-head { text-align: center; }

/* 검색 */
.faq-search { position: relative; max-width: 640px; margin: 36px auto 0; display: flex; align-items: center; height: 64px; padding: 0 8px 0 56px; border: 2px solid var(--navy); border-radius: 999px; background: #fff; transition: box-shadow .25s; }
.faq-search:focus-within { box-shadow: 0 0 0 4px rgba(36, 84, 198, .14); }
.faq-search__ico { position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--navy); }
.faq-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); }
.faq-search input:focus { outline: 0; }
.faq-search input::placeholder { color: #A3AEBF; }
.faq-search input::-webkit-search-cancel-button { cursor: pointer; }
.faq-search__btn { flex: none; height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: linear-gradient(100deg, #00316B, #2454C6); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }

.faq-bar { margin-top: 56px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.faq-bar__count { font-size: 15px; color: var(--sub); }
.faq-bar__count strong { font-weight: 800; color: var(--navy); }

/* 아코디언 */
.faq-item { border-bottom: 1px solid #E3E9F3; }
.faq-item summary { position: relative; display: flex; align-items: center; gap: 20px; padding: 28px 64px 28px 8px; cursor: pointer; list-style: none; transition: background .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #F8FAFD; }
.faq-item summary:focus-visible { outline: 2px solid var(--point); outline-offset: -2px; }
.faq-q { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #EEF3FC; font-size: 17px; font-weight: 800; color: #2454C6; transition: background .25s, color .25s; }
.faq-title { font-size: 19px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; color: var(--ink); }
.faq-toggle { position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), background .25s; }
.faq-toggle::after { transform: rotate(90deg); }

.faq-item details[open] summary { background: none; }
.faq-item details[open] .faq-q { background: var(--navy); color: #fff; }
.faq-item details[open] .faq-title { color: var(--navy); font-weight: 800; }
.faq-item details[open] .faq-toggle { border-color: var(--navy); background: var(--navy); transform: rotate(180deg); }
.faq-item details[open] .faq-toggle::before { background: #fff; }
.faq-item details[open] .faq-toggle::after { background: #fff; transform: rotate(0); }

.faq-a { display: flex; gap: 20px; margin: 0 0 28px; padding: 28px 32px 30px 8px; border-radius: 18px; background: #F4F6FA; animation: faqOpen .35s var(--ease); }
.faq-a__mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #D5DFF0; font-size: 17px; font-weight: 800; color: #6A9BFF; }
.faq-a__body { padding-top: 7px; }
.faq-a__body p { font-size: 16px; line-height: 1.85; color: var(--body); }
.faq-a__body p + p { margin-top: 6px; }
.faq-a__body a { font-weight: 700; color: #2454C6; text-decoration: underline; text-underline-offset: 3px; }
.faq-a__body .faq-num { padding-left: 1.2em; text-indent: -1.2em; }
.faq-a__body .faq-note { margin-top: 12px; font-size: 14px; color: var(--sub); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 검색 결과 없음 */
.faq-empty { padding: 72px 20px; text-align: center; border-bottom: 1px solid #E3E9F3; }
.faq-empty p { font-size: 16px; line-height: 1.8; color: var(--sub); }
.faq-empty strong { font-size: 19px; color: var(--ink); }
.faq-empty[hidden] { display: none; }


@media (max-width: 1024px) {
  .faq-sec { padding: 88px 0 96px; }
}

@media (max-width: 768px) {
  .faq-sec { padding: 64px 0 72px; }
  .faq-head { text-align: left; }
  .faq-search { height: 54px; margin-top: 24px; padding-left: 44px; padding-right: 5px; }
  .faq-search__ico { left: 16px; width: 18px; height: 18px; margin-top: -9px; }
  .faq-search input { font-size: 15px; }
  .faq-search__btn { height: 42px; padding: 0 18px; font-size: 14px; }
  .faq-bar { margin-top: 36px; }
  .faq-bar__count { font-size: 14px; }
  .faq-item summary { gap: 12px; align-items: flex-start; padding: 20px 48px 20px 0; }
  .faq-q, .faq-a__mark { width: 30px; height: 30px; font-size: 14px; }
  .faq-title { padding-top: 3px; font-size: 16px; }
  .faq-toggle { right: 2px; width: 28px; height: 28px; margin-top: -14px; }
  .faq-toggle::before, .faq-toggle::after { width: 10px; margin-left: -5px; }
  .faq-a { gap: 12px; margin-bottom: 20px; padding: 20px 18px 22px 14px; border-radius: 14px; }
  .faq-a__body { padding-top: 4px; }
  .faq-a__body p { font-size: 14px; }
  .faq-a__body .faq-note { font-size: 13px; }
}
