/* 서브페이지는 메인의 초록색 그라데이션 배경을 쓰지 않고 흰 배경 */
body { background: #fff; }

/* ===================== 애니메이션 ===================== */
@keyframes subFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes subFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes subFadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes subFadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes subPopIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes subBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===================== 서브 공통 컨테이너 ===================== */
.sub-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== 페이지 타이틀 + 브레드크럼 ===================== */
.subhead {
  position: relative;
  z-index: 100;
  padding: 156px 0 30px;
}
.subhead__inner {
  position: relative;
  z-index: 100;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.subhead__title {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -3px;
  color: var(--ink);
  animation: subFadeUp 0.6s ease both;
}

.breadcrumb {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  animation: subFadeUp 0.6s ease 0.1s both;
}
.breadcrumb__home-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.breadcrumb__home { width: 19px; height: 20px; object-fit: contain; display: block; }
.breadcrumb__select {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  color: #333;
  letter-spacing: -0.8px;
  background: none;
  border: none;
  cursor: pointer;
}
.breadcrumb__caret { width: 9px; height: auto; transition: transform 0.2s ease; }
.breadcrumb__divider { width: 1px; height: 17px; background: #ededed; }

/* 브레드크럼 드롭다운 */
.breadcrumb__dd { position: relative; z-index: 110; display: flex; align-items: center; }
.breadcrumb__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  min-width: 170px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.breadcrumb__dd.is-open .breadcrumb__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.breadcrumb__dd.is-open .breadcrumb__caret { transform: rotate(180deg); }
.breadcrumb__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: -0.6px;
  color: #333;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.breadcrumb__menu a:hover { background: #f2f7f3; color: var(--green); }
.breadcrumb__menu a[aria-current="page"] { color: var(--green); font-weight: 700; }

/* ===================== 인트로 비주얼 배너 ===================== */
.introvisual { padding: 0 0 40px; }
.introvisual__inner {
  position: relative;
  container-type: inline-size;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.introvisual__banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1842 / 585;
}
.introvisual__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.introvisual__dim {
  position: absolute;
  inset: 0;
  background: rgba(11, 36, 20, 0.6);
}
.introvisual__text {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
.introvisual__line1 {
  font-size: clamp(18px, 3.2vw, 50px);
  font-weight: 800;
  letter-spacing: -2px;
  animation: subFadeUp 0.7s ease 0.1s both;
}
.introvisual__line2 {
  font-size: clamp(16px, 2.8vw, 45px);
  font-weight: 300;
  letter-spacing: -1.5px;
  margin-top: 6px;
  animation: subFadeUp 0.7s ease 0.22s both;
}
/* couple(z-index:1)은 말풍선(z-index:2)보다 뒤에 위치 */
.introvisual__couple {
  position: absolute;
  z-index: 1;
  right: 12%;
  width: 30%;
  top: 0;
  min-width: 140px;
  animation: subFadeRight 0.7s ease 0.15s both;
}
.introvisual__quote {
  position: absolute;
  z-index: 2;
  right: 10%;
  top: 82.1%;
  width: 52%;
  padding: clamp(22px, 3.2cqw, 36px) clamp(22px, 4cqw, 40px);
  background: #fff;
  border: 2px solid #0cb14b;
  border-radius: clamp(14px, 2cqw, 20px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  animation: subPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both;
}
.introvisual__quote::after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: -9px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 2px solid #0cb14b;
  border-bottom: 2px solid #0cb14b;
  transform: rotate(45deg);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.04);
}
.introvisual__quote-bg {
  display: none;
}
.introvisual__quote-text {
  position: relative;
  z-index: 1;
  font-size: clamp(14px, 1.75cqw, 23px);
  font-weight: 800;
  letter-spacing: -1.25px;
  line-height: 1.5;
  color: var(--ink);
  word-break: keep-all;
}
.introvisual__heart {
  position: absolute;
  z-index: 3;
  right: 13.5%;
  bottom: 66.7%;
  width: clamp(14px, 2.1cqw, 40px);
  opacity: 0;
  animation: subFadeDown 0.6s ease 0.6s both, subBounce 2.4s ease-in-out 1.2s infinite;
}

/* ===================== 사업소개 본문 ===================== */
.introbody { padding: 90px 0 120px; }
.introbody__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.introbody__row {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 20px;
  align-items: start;
}
.introbody__deco {
  position: relative;
  aspect-ratio: 551.76 / 538.08;
}
.introbody__house {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: 37.07%;
  top: -168px;
  animation: subFadeUp 0.6s ease 0.2s both, subBounce 2.8s ease-in-out 0.9s infinite;
}
.introbody__bankbook {
  position: absolute;
  width: 64.84%;
}
.introbody__bankbook--main {
  z-index: 1;
  left: 0;
  top: 48.6%;
  opacity: 0.3;
}
.introbody__bankbook--blur {
  z-index: 0;
  left: 2.32%;
  top: 50.3%;
  opacity: 0.15;
  filter: blur(20px);
}
.introbody__text {
  font-size: 18px;
  letter-spacing: -0.9px;
  line-height: 1.65;
  color: var(--ink);
  word-break: keep-all;
}
.introbody__text p { margin-bottom: 26px; }
.introbody__thanks {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.25px;
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* ===================== 반응형 ===================== */
@media (max-width: 1385px) {
  .introvisual__quote-text-br { display: none; }
}

@media (max-width: 1280px) {
  .subhead__title { font-size: 42px; }
  .introbody__row { grid-template-columns: 30% 1fr; }
}

@media (max-width: 1024px) {
  .subhead { padding-top: 190px; }
  .introvisual__couple { width: 26%; right: 6%; }
  .introvisual__quote { right: 6%; width: 55%; padding: 24px 22px; }
  .introbody__row { grid-template-columns: 1fr; }
  .introbody__deco {
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
  }
  .introbody__house, .introbody__bankbook {
    position: static;
    width: auto;
    max-width: 90px;
  }
  .introbody__bankbook--blur { display: none; }
  .introbody__bankbook--main { max-width: 150px; opacity: 1; filter: none; }
}

@media (max-width: 768px) {
  .subhead { padding-top: 150px; }
  .subhead__inner { flex-direction: column; align-items: flex-start; }
  .subhead__title { font-size: 34px; }
  .breadcrumb {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 14px;
    gap: 10px;
  }
  .breadcrumb__select { font-size: 14px; }
  .breadcrumb__home { width: 16px; height: 17px; }
  .introvisual__couple { width: 30%; right: 4%; }
  .introvisual__heart { width: clamp(12px, 3cqw, 24px); }
  .introvisual__text { left: 24px; max-width: 62%; }
  /* 말풍선 살리고 신혼부부 사진 위로 올라오도록 */
  .introvisual__quote {
    z-index: 5;
    right: 4%;
    width: 64%;
    padding: 22px 18px;
  }
  .introbody { padding: 44px 0 80px; }
  .introbody__text { font-size: 16px; }
  .introbody__thanks { font-size: 20px; }
}

@media (max-width: 480px) {
  .introbody { padding: 32px 0 64px; }
  .subhead__title { font-size: 28px; }
  .breadcrumb { gap: 8px; padding: 0 12px; }
  .breadcrumb__select { font-size: 13px; gap: 6px; }
  .introvisual__banner { border-radius: 14px; }
  .introvisual__quote { padding: 18px 14px; }
  .introvisual__quote-text { font-size: 12px; }
  .introbody__deco { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .subhead { padding-top: 150px; }
  .subhead__title { font-size: 24px; }
  .breadcrumb { height: 40px; gap: 6px; padding: 0 10px; }
  .breadcrumb__select { font-size: 12px; }
  .breadcrumb__home { width: 15px; height: 16px; }
  .introvisual__quote-text { font-size: 14px; }
  .introbody__house { max-width: 70px; }
  .introbody__bankbook--main { max-width: 120px; }
  .introbody__text { font-size: 15px; }
  .introbody__thanks { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .subhead__title, .breadcrumb,
  .introvisual__line1, .introvisual__line2, .introvisual__couple,
  .introvisual__quote, .introvisual__heart, .introbody__house,
  .guide-hero__img {
    animation: none;
  }
}

/* ===================== 사업안내 페이지 (sub1_2) ===================== */
html, body { overflow-x: hidden; }

.guide { padding: 20px 0 90px; }
.guide__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 상단 그린 배너 ---------- */
.guide-hero {
  position: relative;
  background: var(--green);
  border-radius: 20px;
  padding: 40px 280px 40px 48px;
  overflow: visible;
  margin-bottom: 70px;
}
.guide-hero__text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.9;
  word-break: keep-all;
}
.guide-hero__row { display: inline; }
.guide-hero__hl {
  display: inline-block;
  background: #014c1d;
  border-radius: 0.36em;
  padding: 2px 14px;
  margin: 3px 0;
}
.guide-hero__deco {
  position: absolute;
  right: 24px;
  bottom: -36px;
  width: 220px;
  max-width: 30%;
  aspect-ratio: 210 / 157;
  pointer-events: none;
  z-index: 0;
}
.guide-hero__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  animation: subFadeUp 0.7s ease 0.15s both, guideFloatMoney 3s ease-in-out 0.9s infinite;
}
@keyframes guideFloatMoney {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 섹션(좌측 라벨 + 우측 콘텐츠) ---------- */
.guide-block {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0;
}
.guide-block__label {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--ink);
  padding-top: 4px;
}
.guide-block__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ---------- 카드 ---------- */
.gcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 30px 34px;
}
.gcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.gcard__head--inline {
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 100px;
}
.gcard__head--inline + .gbox { margin-top: 16px; }
.gcard__label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gcard__check { width: 30px; height: 30px; flex-shrink: 0; }
.gcard__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
  flex-shrink: 0;
}
.gcard__value {
  margin-left: 0;
}
.gcard__value > li {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.9px;
}
.gcard:has(> .gcard__head--inline:only-child) {
  padding-top: 28px;
  padding-bottom: 28px;
}

/* 회색 안내 박스 */
.gbox {
  background: #f8f8f8;
  border-radius: 15px;
  padding: 18px 22px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.8px;
  color: var(--ink);
  word-break: keep-all;
}
.gbox--plain { background: #f8f8f8; }
.gbox--white {
  background: #fff;
  border: 1px solid var(--line);
}
.gbox strong { font-weight: 800; }

/* 지원금 지급: 거주/혼인/적립 정렬 */
.gcond > li {
  display: grid;
  grid-template-columns: 2.2em auto 1fr;
  column-gap: 6px;
  align-items: start;
  padding-left: 18px;
  font-size: 20px;
  line-height: 2.2;
  letter-spacing: -1px;
}
.gcond > li::before { top: 18px; }
.gcond__label { white-space: nowrap; }
.gcond__sep { white-space: nowrap; }
.gcond__val { min-width: 0; word-break: keep-all; }
.gpay-note {
  margin: 18px 0;
  font-size: 16px;
  letter-spacing: -1px;
  color: var(--ink);
  word-break: keep-all;
}
.gpay-exclude {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.8px;
  color: var(--ink);
  word-break: keep-all;
}

/* 지원방식: 회색 칩 박스 가로 나열 */
.gways {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
}
.gways .gbox {
  display: flex;
  align-items: center;
  width: auto;
  min-height: 58px;
  padding: 14px 22px;
  margin: 0;
}
.gways .glist > li {
  font-size: 16px;
  letter-spacing: -0.8px;
  line-height: 1.7;
  padding-left: 16px;
}
.gways .glist > li::before {
  top: 11px;
  width: 5px;
  height: 5px;
}
.gnote { color: #777; font-size: 14px; line-height: 1.6; }
.gnote--block { display: block; margin-top: 6px; }

/* 불릿 리스트 */
.glist { list-style: none; margin: 0; padding: 0; }
.gbox.glist {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  min-height: 78px;
}
.glist > li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.9px;
  color: var(--ink);
  word-break: keep-all;
}
.glist > li + li { margin-top: 10px; }
.glist > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}
.glist--lg > li { font-size: 20px; line-height: 1.8; }

/* 3열/다열 컬럼 그리드 (카드 내부) */
.gcols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gcols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gcol { display: flex; flex-direction: column; min-width: 0; }
.gcol .gcard__head { margin-bottom: 12px; }
.gcol .gbox { flex: 1; }

/* ---------- 표 ---------- */
.gtable-wrap { width: 100%; overflow-x: auto; }
.gtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  letter-spacing: -0.4px;
  min-width: 560px;
}
.gtable th, .gtable td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.6;
  word-break: keep-all;
}
.gtable thead th { background: #f8f8f8; font-weight: 700; }
.gtable th:first-child,
.gtable td.is-strong {
  white-space: nowrap;
  min-width: 5.5em;
  font-weight: 700;
}
.gtable td.is-left { text-align: left; }
.gtable .is-orange { color: var(--orange); font-weight: 700; }
.gtable__small { display: block; font-size: 13px; color: #777; margin-top: 2px; }

/* 제출서류 5번: 라벨 / : / 내용 열 정렬 */
.gdocs {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
.gdocs__num { flex-shrink: 0; line-height: 1.7; }
.gdocs__body { flex: 1; min-width: 0; }
.gdocs__line {
  display: grid;
  grid-template-columns: 5.2em auto 1fr;
  column-gap: 6px;
  align-items: start;
  line-height: 1.7;
}
.gdocs__line + .gdocs__line { margin-top: 0; }
.gdocs__label { white-space: nowrap; }
.gdocs__sep { white-space: nowrap; }
.gdocs__val { min-width: 0; }

/* ---------- CTA 버튼 ---------- */
.guide-cta {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 46px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.gbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 340px;
  height: 72px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1.3px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.gbtn:hover { transform: translateY(-2px); }
.gbtn--fill { background: var(--green); color: #fff; }
.gbtn--fill:hover { box-shadow: 0 10px 22px rgba(12, 177, 75, 0.3); }
.gbtn--outline { background: #fff; color: var(--green); border: 1px solid var(--green); }
.gbtn--outline:hover { box-shadow: 0 10px 22px rgba(12, 177, 75, 0.18); }
.gbtn__icon { width: 26px; height: 26px; }
.gbtn--fill .gbtn__icon { transform: translateX(2px); }

/* ---------- 사업안내 반응형 ---------- */
@media (max-width: 1024px) {
  .guide-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }
  .guide-block__label {
    font-size: 26px;
    padding: 0 0 4px;
    border-bottom: 3px solid var(--green);
    align-self: flex-start;
  }
  .guide-hero {
    padding: 28px 160px 28px 28px;
    margin-bottom: 40px;
  }
  .guide-hero__deco { right: 8px; bottom: -24px; width: 150px; max-width: 34%; }
}

@media (max-width: 768px) {
  .guide { padding: 8px 0 48px; }
  .guide__inner { padding: 0 16px; }
  .guide-block { padding: 16px 0; gap: 12px; }
  .gcard { padding: 20px 16px; }
  .gcard__head--inline { gap: 16px; }
  .gcols,
  .gcols--2 { grid-template-columns: 1fr; gap: 12px; }
  .gways { flex-direction: column; gap: 10px; }
  .gways .gbox { width: 100%; }
  .guide-block__label { font-size: 22px; }
  .gbtn { min-width: 0; width: 100%; height: 62px; font-size: 18px; }
  .guide-cta { padding-top: 28px; }
  .glist > li { font-size: 16px; }
  .glist--lg > li { font-size: 17px; }
  .guide-hero {
    padding: 20px 16px 20px;
    margin-bottom: 28px;
    border-radius: 16px;
  }
  .guide-hero__br { display: none; }
  .guide-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-right: 88px;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: -0.5px;
  }
  .guide-hero__row { display: block; }
  .guide-hero__hl {
    margin: 0;
    padding: 5px 10px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    max-width: 100%;
    word-break: keep-all;
  }
  .guide-hero__deco {
    right: 6px;
    bottom: -14px;
    width: 108px;
    max-width: 32%;
  }
}

@media (max-width: 480px) {
  .guide__inner { padding: 0 14px; }
  .guide-hero {
    padding: 18px 14px 18px;
    margin-bottom: 24px;
  }
  .guide-hero__text {
    gap: 5px;
    padding-right: 76px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.4px;
  }
  .guide-hero__hl {
    padding: 4px 8px;
    font-size: 13px;
  }
  .guide-hero__deco {
    right: 2px;
    bottom: -12px;
    width: 90px;
    max-width: 28%;
  }
  .gcard { padding: 16px 14px; }
  .gbox { padding: 14px 16px; font-size: 15px; }
  .gtable { font-size: 14px; }
}

/* ===================== FAQ 페이지 (sub3_1) ===================== */
.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.faq {
  padding: 0 0 90px;
}
.faq__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.faq__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 24px;
  border-top: 1px solid var(--line);
}
.faq__count {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.9px;
  color: #222;
}
.faq__count span {
  color: var(--green);
}
.faq__search {
  position: relative;
  width: min(334px, 100%);
  height: 55px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.faq__search-input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 54px 0 26px;
  font: inherit;
  font-size: 18px;
  letter-spacing: -0.9px;
  color: #222;
}
.faq__search-input::placeholder {
  color: #999;
}
.faq__search-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.faq__search-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open {
  border-color: var(--green);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
}
.faq-item__q {
  margin: 0;
}
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 85px;
  padding: 24px 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.faq-item__title {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #222;
  word-break: keep-all;
}
.faq-item.is-open .faq-item__title {
  color: var(--green);
}
.faq-item__caret {
  flex-shrink: 0;
  width: 12px;
  height: auto;
  transform: rotate(-90deg);
  transition: transform 0.25s ease, filter 0.2s ease;
}
.faq-item.is-open .faq-item__caret {
  transform: rotate(90deg);
  filter: invert(48%) sepia(79%) saturate(467%) hue-rotate(87deg) brightness(95%) contrast(96%);
}
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}
.faq-item__a {
  overflow: hidden;
  min-height: 0;
  padding: 0 38px;
  font-size: 16px;
  letter-spacing: -0.8px;
  color: #222;
  word-break: keep-all;
  transition: padding 0.35s ease;
}
.faq-item.is-open .faq-item__a {
  padding: 4px 38px 28px;
}
.faq-item__a p {
  margin: 0;
  line-height: 2.0rem;
}

.faq__paging {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}
.faq__paging a {
  color: #222;
  text-decoration: none;
}
.faq__paging a.is-current {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1024px) {
  .faq__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 24px;
  }
  .faq__search { width: 100%; }
  .faq-item__btn { padding: 20px 22px; min-height: 72px; }
  .faq-item__title { font-size: 17px; }
  .faq-item__a { padding: 0 22px; font-size: 15px; }
  .faq-item.is-open .faq-item__a { padding: 4px 22px 22px; }
}

@media (max-width: 768px) {
  .faq { padding-bottom: 60px; }
  .faq__count { font-size: 16px; }
  .faq__search { height: 48px; }
  .faq__search-input { font-size: 15px; padding: 0 48px 0 18px; }
  .faq__search-btn { right: 14px; width: 22px; height: 22px; }
  .faq-item { border-radius: 12px; }
  .faq-item__btn { padding: 16px 16px; gap: 12px; min-height: 64px; }
  .faq-item__title { font-size: 15px; letter-spacing: -0.6px; }
  .faq-item__a { padding: 0 16px; font-size: 14px; }
  .faq-item.is-open .faq-item__a { padding: 4px 16px 16px; }
  .faq-item__caret { width: 9px; }
  .faq__paging { margin-top: 32px; font-size: 18px; gap: 20px; }
}
