@charset "UTF-8";

/* =========================================================
   콧볼축소

   공통 시스템 사용:
   · 인트로 / 제목 / 타이포
   · 수술정보 6개 항목
   · 핵심 포인트 사진·텍스트 배치 및 항목 간격
   · 수술방법 단일 패널 / 좌우 설명형
   · 전후사진 / CASE / 더보기
   · FAQ / 진료 원칙 / 상담

   페이지 전용 관리:
   · 콘텐츠 섹션 배경
   · 핵심 포인트 사진 비율
   · 사진 안내 문구 색상과 그림자
   · 전후사진 하단 안내

   기존 공통 CSS·JS 수정 없음.
========================================================= */


/* =========================================================
   01. 페이지 변수
========================================================= */

.alar-reduction-page {
    --alar-reduction-warm-white: #fcfaf7;
    --alar-reduction-ivory: #f5f1eb;

    /*
       사진 안내 문구는 이 페이지 이미지에 맞춰 조정.
       다른 페이지에는 영향을 주지 않음.
    */
    --alar-reduction-photo-label-color: #f5f3ef;

    --alar-reduction-photo-label-shadow:
        0 1px 3px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   02. 콘텐츠 섹션 배경

   인트로 / 수술정보 / 진료 원칙 / 상담:
   기존 공통 설정 유지.

   핵심 포인트: 공통 계열 웜 화이트
   수술방법: 흰색
   전후사진: 웜 아이보리
   FAQ: 흰색

   섹션 상하 여백은 공통 시스템에서 관리.
========================================================= */

html body main#main-content.alar-reduction-page
section.alar-reduction-design {
    background: var(--alar-reduction-warm-white) !important;
}

html body main#main-content.alar-reduction-page
section.alar-reduction-method {
    background: #fff !important;
}

html body main#main-content.alar-reduction-page
section.alar-reduction-results {
    background: var(--alar-reduction-ivory) !important;
}

html body main#main-content.alar-reduction-page
section.revision-faq {
    background: #fff !important;
}


/* =========================================================
   03. 제목 영역과 콘텐츠 연결

   공통 간격 변수 사용.
   핵심 포인트의 가로 너비·열 간격·항목 간격은
   section-system.css의 공통 규칙 유지.
========================================================= */

html body main#main-content.alar-reduction-page
:is(
    .alar-reduction-design,
    .alar-reduction-method
)
> .revision-container
> .revision-section-heading {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body main#main-content.alar-reduction-page
:is(
    .alar-reduction-design,
    .alar-reduction-method
)
> .revision-container
> .revision-section-heading
+ :is(
    .key-points__layout,
    .surgery-method__list
) {
    margin-top: var(--content-media-gap, 72px) !important;
}


/* =========================================================
   04. 수술방법 제목 아래 설명

   제목 아래 설명만 중앙 정렬.
   패널 내부 설명은 공통 왼쪽 정렬 유지.
========================================================= */

html body main#main-content.alar-reduction-page
.alar-reduction-method
.revision-section-heading__description {
    text-align: center !important;
}


/* =========================================================
   05. 핵심 포인트 사진

   · 정사각형 원본 사용
   · 이미지 자르기·필터 없음
   · 텍스트 세로 중앙 정렬
========================================================= */

html body main#main-content.alar-reduction-page
.key-points__layout {
    align-items: center;
}

html body main#main-content.alar-reduction-page
.key-points__visual {
    position: relative;
}

html body main#main-content.alar-reduction-page
.key-points__visual > img {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    object-fit: contain;
    object-position: center;

    filter: none;
}


/* 사진 왼쪽 아래 안내 */

html body main#main-content.alar-reduction-page
.key-points__photo-label {
    position: absolute;
    inset: auto auto 14px 16px;
    z-index: 2;

    display: block !important;

    width: auto;
    max-width: calc(100% - 32px);

    margin: 0;
    padding: 0;

    border: 0;
    background: none;

    color: var(--alar-reduction-photo-label-color) !important;

    font-size: 10px !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
    letter-spacing: 0;

    text-align: left;

    text-shadow:
        var(--alar-reduction-photo-label-shadow) !important;

    opacity: 1;
    visibility: visible;

    pointer-events: none;
}


/* =========================================================
   06. 전후사진 하단 안내

   사진 간격·CASE·더보기는 공통 시스템 유지.
========================================================= */

.alar-reduction-page .alar-reduction-results__notice {
    margin: 22px 0 0;
    padding: 0;

    color: #81786f;

    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;

    text-align: left;

    word-break: keep-all;
    overflow-wrap: break-word;
}


/* =========================================================
   07. 태블릿
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.alar-reduction-page
    :is(
        .alar-reduction-design,
        .alar-reduction-method
    )
    > .revision-container
    > .revision-section-heading
    + :is(
        .key-points__layout,
        .surgery-method__list
    ) {
        margin-top: var(--content-media-gap, 52px) !important;
    }
}


/* =========================================================
   08. 모바일
========================================================= */

@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    :is(
        .alar-reduction-design,
        .alar-reduction-method
    )
    > .revision-container
    > .revision-section-heading
    + :is(
        .key-points__layout,
        .surgery-method__list
    ) {
        margin-top: var(--content-media-gap, 32px) !important;
    }

    html body main#main-content.alar-reduction-page
    .key-points__photo-label {
        bottom: 12px;
        left: 12px;

        max-width: calc(100% - 24px);

        font-size: 9px !important;
    }

    .alar-reduction-page .alar-reduction-results__notice {
        margin-top: 18px;
        font-size: 11px;
    }
}

/* =========================================================
   콧볼축소 — 4단계 진행 과정 + 설명 이미지
========================================================= */

/* 제목과 콘텐츠 사이 간격은 공통 변수로 관리 */
html body main#main-content.alar-reduction-page
.alar-reduction-method
> .revision-container
> .revision-section-heading
+ .alar-reduction-process {
    width: 100%;
    max-width: 1100px;

    margin: var(--content-media-gap, 72px) auto 0 !important;
}

/* 진행 과정 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__item {
    min-width: 0;

    margin: 0;
    padding: 8px 26px;

    border: 0;
    background: transparent;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__item:first-child {
    padding-left: 0;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__item:last-child {
    padding-right: 0;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__item
+ .alar-reduction-process__item {
    border-left: 1px solid #e0d8cf;
}

/* 단계 번호 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__number {
    display: block;

    margin: 0 0 16px;

    color: var(--section-eyebrow-color, #9f826e);

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

/* 소제목 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__title {
    margin: 0;
    padding: 0;

    color: #302c29;

    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;

    text-align: left;
    word-break: keep-all;
}

/* 설명 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__description {
    margin: 14px 0 0;
    padding: 0;

    color: #625b55;

    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.9 !important;

    text-align: left;

    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 아래 설명 이미지 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual {
    width: 100%;
    max-width: 1000px;

    margin: 52px auto 0;
    padding: 0;

    border: 0;
    background: transparent;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__visual > img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    object-fit: contain;

    transform: none;
    filter: none;
}

/* 이미지 하단 안내 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__notice {
    margin: 16px 0 0;
    padding: 0;

    color: #81786f;

    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;

    text-align: left;
    word-break: keep-all;
}

/* 태블릿 — 2열 */
@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-method
    > .revision-container
    > .revision-section-heading
    + .alar-reduction-process {
        margin-top: var(--content-media-gap, 52px) !important;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 0;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__item {
        padding: 4px 28px;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__item:nth-child(even) {
        padding-right: 0;
        border-left: 1px solid #e0d8cf;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__visual {
        margin-top: 40px;
    }
}

/* 모바일 — 2열 */
@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-method
    > .revision-container
    > .revision-section-heading
    + .alar-reduction-process {
        margin-top: var(--content-media-gap, 32px) !important;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 0;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__item {
        padding: 0 16px;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__item:nth-child(even) {
        padding-right: 0;
        border-left: 1px solid #e0d8cf;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__number {
        margin-bottom: 10px;
        font-size: 11px !important;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__title {
        font-size: 16px !important;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__description {
        margin-top: 10px;
        font-size: 13px !important;
        line-height: 1.85 !important;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__visual {
        margin-top: 32px;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__notice {
        margin-top: 12px;
        font-size: 11px !important;
    }
}

/* 콧볼축소 수술방법 — 단계와 이미지를 하나의 박스로 묶기 */
html body main#main-content.alar-reduction-page
.alar-reduction-process {
    box-sizing: border-box;
    padding: 48px;

    border: 1px solid #e0d8cf;
    border-radius: 0;
    background: #f5f1eb;
}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process {
        padding: 36px 30px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process {
        padding: 30px 20px;
    }
}

/* 콧볼축소 — 기존 페이지의 연한 배경으로 통일 */

/* 핵심 포인트·전후사진 */
html body main#main-content.alar-reduction-page
:is(
    section.alar-reduction-design,
    section.alar-reduction-results
) {
    background: #fcfaf7 !important;
}

/* 수술방법 바깥·FAQ */
html body main#main-content.alar-reduction-page
:is(
    section.alar-reduction-method,
    section.revision-faq
) {
    background: #fff !important;
}

/* 수술방법 박스 */
html body main#main-content.alar-reduction-page
.alar-reduction-process {
    background: #fcfaf7 !important;
    border-color: #e0d8cf;
}

/* 콧볼축소 — 수술방법 박스만 한 톤 진하게 */
html body main#main-content.alar-reduction-page
.alar-reduction-process {
    background: #f5f1eb !important;
    border-color: #e0d8cf;
}

/* 콧볼축소 수술방법 — 설명 이미지 크기 축소 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

/* 콧볼축소 수술방법 — 안내문 삭제 후 하단 여백 보정 */
html body main#main-content.alar-reduction-page
.alar-reduction-process {
    padding-bottom: 72px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process {
        padding-bottom: 56px;
    }
}

@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process {
        padding-bottom: 44px;
    }
}

/* 수술방법 비교 이미지 — BEFORE / AFTER */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin: 18px 0 0;
    padding: 0;

    color: var(--section-eyebrow-color, #9f826e);

    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: 0.12em;

    text-align: center;
}

@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process__comparison {
        margin-top: 12px;
        font-size: 10px !important;
    }
}

/* BEFORE / AFTER — 이미지 중앙 기준으로 안쪽 정렬 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 80%;
    margin-inline: auto;
    text-align: center;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span {
    transform: none;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:first-child {
    transform: translateX(19px);
}

/* 수술방법 — 이미지 축소 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual {
    position: relative;

    width: 100%;
    max-width: 640px;
    margin-inline: auto;
}

/* 이미지 가운데 — 전후 구분선 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual::after {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 1px;
    height: 0;
    padding-bottom: 0;

    pointer-events: none;
}

/* BEFORE / AFTER — 가운데 화살표를 포함한 3열 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    align-items: center;

    width: 100%;
    margin: 18px auto 0;

    text-align: center;
}

/* 이전 위치 보정 해제 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span {
    transform: none;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:first-child {
    grid-column: 1;
    grid-row: 1;

    color: #81786f;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:last-child {
    grid-column: 3;
    grid-row: 1;

    color: #8b6c55;
    font-weight: 500 !important;
}

/* 중앙 화살표 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison::before {
    content: "→";

    grid-column: 2;
    grid-row: 1;

    color: #9f826e;
    font-size: 18px;
    line-height: 1;
}

/* 이미지 위 세로선 — 이미지 영역 안에서만 표시 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual > img {
    box-sizing: border-box;
    border: 1px solid #e0d8cf;
}

@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process__comparison {
        margin-top: 12px;
        grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    }
}

/* 수술방법 전후 비교 — 장식 정리 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
}

/* 추가 장식선·화살표 제거 */
html body main#main-content.alar-reduction-page
:is(
    .alar-reduction-process__visual,
    .alar-reduction-process__image,
    .alar-reduction-process__comparison
)::before,
html body main#main-content.alar-reduction-page
:is(
    .alar-reduction-process__visual,
    .alar-reduction-process__image,
    .alar-reduction-process__comparison
)::after {
    content: none !important;
    display: none !important;
}

/* 이미지 테두리 제거 — 원본 비율 유지 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual img {
    display: block;
    width: 100%;
    height: auto;
    border: 0 !important;
}

/* 각 사진 아래 중앙에 배치 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;

    width: 100%;
    margin: 20px 0 0;
    padding: 0;

    text-align: center;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span {
    display: block;
    justify-self: stretch;

    margin: 0;
    padding: 0;

    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: 0.1em;

    text-align: center !important;
    transform: none !important;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:first-child {
    grid-area: 1 / 1;
    color: #81786f;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:last-child {
    grid-area: 1 / 2;
    color: #9f826e;
}

@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process__comparison {
        margin-top: 14px;
    }

    html body main#main-content.alar-reduction-page
    .alar-reduction-process__comparison > span {
        font-size: 10px !important;
    }
}

/* 전후 비교 — 이미지 하단에 붙는 라벨 바 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;

    width: 100%;
    margin: 0 !important;
    padding: 0;

    border: 0;
}

/* 이전 장식·위치 보정 해제 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison::before,
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison::after {
    content: none !important;
    display: none !important;
}

html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;

    min-width: 0;
    margin: 0;
    padding: 15px 12px;

    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.12em;

    text-align: center !important;
    transform: none !important;
}

/* BEFORE — 차분한 밝은 톤 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:first-child {
    grid-area: 1 / 1;

    color: #71675e;
    background: #e9e3da;
}

/* AFTER — 브라운 강조 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison > span:last-child {
    grid-area: 1 / 2;

    color: #fff;
    background: var(--section-eyebrow-color, #9f826e);
}

@media (max-width: 767px) {
    html body main#main-content.alar-reduction-page
    .alar-reduction-process__comparison > span {
        padding: 12px 8px;
        font-size: 10px !important;
    }
}

/* 전후 이미지와 라벨 바 — 동일한 너비로 정렬 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual {
    display: block !important;
    box-sizing: border-box;

    width: 100% !important;
    max-width: 640px !important;
    margin-inline: auto !important;
    padding: 0 !important;
}

/* 이미지 래퍼가 있는 경우에도 동일 너비 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__image {
    box-sizing: border-box;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 이미지가 비교 영역을 정확히 채우도록 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__visual img {
    display: block !important;
    box-sizing: border-box;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 라벨 바도 이미지와 같은 너비 */
html body main#main-content.alar-reduction-page
.alar-reduction-process__comparison {
    box-sizing: border-box;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
