@charset "UTF-8";
/* =========================================
    ACNE (여드름·흉터·모공) 전용
    - .about 프레임 + sub.scss(공통 섹션) + signature-common.scss(iconcards) 재사용
    - 섹션 순서 : intro / cards / benefits(2그룹 복합) / iconcards(4+3) / precaution / faq
    - 여기엔 이 페이지에만 있는 두 가지 복합 레이아웃만 정의
      1) BENEFITS : "여드름 종류(4개, --2)" + "여드름 흉터 종류(3개, --3)" 두 그룹이
         제목(도트+서브타이틀)과 함께 세로로 이어짐
      2) ICONCARDS : 치료 방법이 7개라 4개(1행) + 3개(2행, 가운데 정렬)로 나뉨
========================================= */
#contents {
  /* 시안(리에의원 2326:30943) 기준 PC 좌표
     · 헤드 설명 → 첫 라벨 60 · 라벨 → 그룹 상단 라인 20 · 그룹 하단 라인 → 다음 라벨 80
     · 항목 : 라인 → 번호 52 / 설명 → 라인 52, 번호·제목 18/30, 설명 14/22 */
}
#contents .about__sec.--benefits .sig__head:has(+ .acnetypes) {
  margin-bottom: 60px;
}
#contents .about__sec.--benefits .acnetypes {
  /* & + & 는 부모 체인까지 복제돼 (#contents … .acnetypes + #contents … .acnetypes) 매칭이 안 됨 → 클래스 직접 지정 */
}
#contents .about__sec.--benefits .acnetypes + .acnetypes {
  margin-top: 80px;
}
#contents .about__sec.--benefits .acnetypes .benefits__item {
  padding-block: 52px;
}
#contents .about__sec.--benefits {
  /* 라벨(도트) x = 항목 텍스트 시작 x (레일 + 100) — benefits__item 1열 padding-left 와 동일 */
}
#contents .about__sec.--benefits .acnetypes__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: var(--sec-pad-side);
}
#contents .about__sec.--benefits .acnetypes__head .--dot {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 4px;
  height: 4px;
  background: var(--white-color);
}
#contents .about__sec.--benefits .acnetypes__head h3 {
  font-size: 22px;
  line-height: 1.45;
  color: var(--white-color);
}
#contents .about__sec.--benefits {
  /* 그룹별 상/하 라인 : 화면 끝까지 풀블리드 (레일 넘어감), .benefits__grid::before/after와 동일 기법 */
}
#contents .about__sec.--benefits .benefits__list.--bordered {
  position: relative;
}
#contents .about__sec.--benefits .benefits__list.--bordered::before, #contents .about__sec.--benefits .benefits__list.--bordered::after {
  content: "";
  position: absolute;
  left: calc(var(--rail) * -1);
  right: calc(var(--rail) * -1);
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}
#contents .about__sec.--benefits .benefits__list.--bordered::before {
  top: 0;
}
#contents .about__sec.--benefits .benefits__list.--bordered::after {
  bottom: 0;
}
#contents .about__sec.--iconcards {
  /* 치료방법 4+3 : 2번째 줄(3개)은 1번째 줄(4열) 폭의 3/4만 써서 가운데로 옴 */
}
#contents .about__sec.--iconcards .iconcards__list.--offset {
  margin-top: 24px;
  width: 75%;
  margin-inline: auto;
  /* 2번째 줄 아이콘 관통 라인도 레일 ~ 레일
     리스트가 75% 폭으로 가운데 → 양쪽 12.5% 씩 모자람 = 리스트 폭의 1/6 */
}
#contents .about__sec.--iconcards .iconcards__list.--offset::before {
  left: -16.6666666667%;
  right: -16.6666666667%;
}

/* 번호·제목 줄높이 30 (시안 SUB TITLE 18/30) : 모바일은 sub.scss 640 값(22/32) 유지 위해 641 이상만 */
@media (min-width: 641px) {
  #contents .about__sec.--benefits .acnetypes .benefits__item .--num,
  #contents .about__sec.--benefits .acnetypes .benefits__item h3 {
    line-height: 30px;
  }
}
@media (max-width: 1200px) {
  #contents .about__sec.--iconcards .iconcards__list.--offset {
    width: 100%;
    margin-inline: 0;
  }
  /* sub.scss 1200 : benefits__item 1열 padding-left 60 → 라벨도 동일 */
  #contents .about__sec.--benefits .acnetypes__head {
    padding-left: var(--sec-pad-side);
  }
}
@media (max-width: 1024px) {
  #contents .about__sec.--benefits .acnetypes + .acnetypes {
    margin-top: 44px;
  }
}
@media (max-width: 640px) {
  #contents .about__sec.--benefits .acnetypes + .acnetypes {
    margin-top: 9.38vw; /* 60 */
  }
  /* BENEFITS 항목 : acne 는 .benefits__grid 없이 .acnetypes 안에 리스트가 있어 sub.scss 640 규칙이 안 걸림
     → 같은 규칙을 여기서 적용 (1열 · 항목 사이 풀블리드 가로선 · --2/--3 세로선 초기화)
     그룹 상/하 라인은 위의 .--bordered ::before/::after 가 담당 */
  #contents .about__sec.--benefits .acnetypes .benefits__list .benefits__item:nth-child(n) {
    position: relative;
    padding: 7.81vw 4.69vw; /* 50 / 30 */
    border: 0;
  }
  #contents .about__sec.--benefits .acnetypes .benefits__list .benefits__item:nth-child(n+2)::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--rail) * -1);
    right: calc(var(--rail) * -1);
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
  }
  /* PC 헤드 간격 60 (:has 로 우선순위가 높음) → 모바일 공통 헤드 간격 50 으로 되돌림 */
  #contents .about__sec.--benefits .sig__head:has(+ .acnetypes) {
    margin-bottom: 7.81vw; /* 50 */
  }
  /* 시안(16:34533) : 도트 x60 → 텍스트 x72 (도트4 + 8) · 라벨 → 리스트 20 */
  #contents .about__sec.--benefits .acnetypes__head {
    gap: 1.25vw; /* 8 */
    margin-bottom: 3.13vw; /* 20 */
    padding-left: 4.69vw; /* 30 : 레일 30 + 30 = x60, 항목 텍스트와 동일 */
  }
  #contents .about__sec.--benefits .acnetypes__head h3 {
    font-size: 3.44vw; /* 22 */
    line-height: 5vw; /* 32 */
  }
  /* ICONCARDS : 시안은 4+3 구분 없이 7개 한 열 → 두 리스트 사이도 카드 간격(60)으로 잇고,
     첫 리스트 마지막 카드에서 끊기던 아이콘 세로선을 다음 리스트 첫 아이콘까지 연결 */
  #contents .about__sec.--iconcards .iconcards__list + .iconcards__list {
    margin-top: 9.38vw; /* 60 */
  }
  #contents .about__sec.--iconcards .iconcards__list:has(+ .iconcards__list) .iconcards__card:last-child::after {
    content: "";
    position: absolute;
    top: 6.25vw;
    left: 6.25vw;
    width: 1px;
    height: calc(100% + 9.38vw);
    background: rgba(0, 0, 0, 0.08);
  }
}/*# sourceMappingURL=acne.css.map */