/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 09 2026 | 08:22:43 */
@charset "utf-8";

/* ============================
   Buttons
============================ */
.btn-primary,
.btn-secondary,
.btn-more,
.btn-outline,
.btn-text {
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 32px;
    border: 0;
    border-radius: 4px;
    background: var(--main-color);
    color: var(--white-color);
    font-size: var(--one-body);
    font-weight: 600;
    transition: filter 0.3s ease;
}

.btn-primary:hover {
    filter: brightness(0.9);
}

.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 31px;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    background: transparent;
    color: var(--main-color);
    font-size: var(--one-body);
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.btn-more,
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 2px;
    color: var(--main-color);
    font-size: var(--one-caption);
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.btn-more:hover,
.btn-text:hover {
    opacity: 0.7;
}

.btn-group {
    align-items: center;
    gap: var(--one-gap-lg);
}

/* ============================
   Sub hero / banner
============================ */
.bnr-wrap {
    position: relative;
    overflow: hidden;
    max-width: var(--one-outer-layout);
    margin: 0 auto;
}

.bnr-bg {
    display: block;
    width: 100%;
    height: auto;
}

.bnr-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bnr-label {
    margin-bottom: var(--one-gap-sm);
    color: var(--white-color);
    font-size: var(--one-caption);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
}

.bnr-title {
    color: var(--white-color);
    font-size: var(--one-hd2);
    font-weight: 700;
    line-height: var(--one-lh-lg);
}

.bnr-bread {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--one-gap-sm);
    margin-top: var(--one-gap-lg);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--one-caption);
}

.bnr-bread a {
    color: inherit;
    text-decoration: none;
}

.bnr-bread a:hover {
    color: #fff;
}

/* ============================
   Sub navigation
============================ */
.tab-lnb {
    border-radius: 8px;
    background: var(--sub-color02);
}

.tab-lnb-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab-lnb-link {
    display: block;
    border-left: 3px solid transparent;
    padding: 12px 20px;
    color: var(--one-txt-color);
    font-size: var(--one-body);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tab-lnb-link:hover,
.tab-lnb-link.is-active {
    border-left-color: var(--main-color);
    background: var(--sub-color01);
    color: var(--main-color);
    font-weight: 600;
}

.sec-subcontent {
    display: flex;
    align-items: flex-start;
    gap: var(--one-gap-xl);
    padding-top: var(--one-space-r);
}

.sec-subbody {
    flex: 1;
    min-width: 0;
}

/* ============================
   CTA
============================ */
.sec-cta {
    max-width: var(--one-outer-layout);
    margin: 0 auto;
    padding: var(--one-space-lg) var(--one-space-safe);
    background: var(--main-color);
    text-align: center;
}

.sec-cta-label {
    margin-bottom: var(--one-gap-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--one-caption);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.sec-cta-title {
    margin-bottom: var(--one-space-s);
    color: #fff;
    font-size: var(--one-hd3);
    font-weight: 700;
    line-height: var(--one-lh-lg);
}

.sec-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--one-gap-lg);
}

.sec-cta .btn-primary {
    background: #fff;
    color: var(--main-color);
}

.sec-cta .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.sec-cta .btn-secondary:hover {
    background: #fff;
    color: var(--main-color);
}

/* ============================
   FAQ
============================ */
.sec-faq {
    border-top: 1px solid var(--sub-color02);
}

.sec-faq-item {
    border-bottom: 1px solid var(--sub-color02);
}

.sec-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    padding: var(--one-gap-lg) 0;
    background: transparent;
    color: var(--one-txt-color);
    text-align: left;
    cursor: pointer;
}

.sec-faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sec-faq-icon::before,
.sec-faq-icon::after {
    position: absolute;
    content: "";
    background: var(--main-color);
    transition: transform 0.3s ease;
}

.sec-faq-icon::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.sec-faq-icon::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.sec-faq-q[aria-expanded="true"] .sec-faq-icon::after {
    transform: rotate(90deg);
}

.sec-faq-a {
    padding: 0 0 var(--one-gap-lg);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--one-gap-sm);
    border: 1px solid var(--sub-color03);
    border-radius: 4px;
    padding: 4px 10px;
    background: #fff;
    color: var(--main-color);
    font-size: var(--one-caption);
    cursor: pointer;
}

@media all and (min-width: 1025px) {
    .tab-lnb {
        position: sticky;
        top: 80px;
        width: 200px;
        flex-shrink: 0;
    }
}

@media all and (max-width: 1024px) {
    .tab-lnb {
        width: 100%;
        border-bottom: 2px solid var(--sub-color01);
        border-radius: 0;
        background: none;
    }

    .tab-lnb-list {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-lnb-link {
        border-left: 0;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
    }

    .tab-lnb-link:hover,
    .tab-lnb-link.is-active {
        border-bottom-color: var(--main-color);
        background: none;
    }

    .sec-subcontent {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
    }
}

@media all and (max-width: 639px) {

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .bnr-title {
        font-size: var(--one-hd3);
    }

    .sec-cta-btns {
        flex-direction: column;
    }
}

/* ============================
   이미지 자리표시 유틸리티
   span.img-ph — 개발 중 회색 블록 / 실제 img 교체 시 span 삭제
   컨테이너가 크기·형태 정의, img는 object-fit:cover로 가변 대응
============================ */
.img-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: #B0BEC5;
}

/* 이미지 컨테이너 내 실제 img 삽입 시: 어떤 비율이든 자동 크롭 */
.img-box > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


/* ============================
   오시는길 공통 (서브페이지 하단 고정)
   레이아웃: 지도(좌) + 정보패널(우)
   지도: border-radius 4군데 / 정보: 전화+예약 한 줄 / 진료시간 2컬럼
============================ */
.sec-contact {
    padding: var(--one-space-lg) 0;
}

.sec-contact-inner {
    display: flex;
    align-items: stretch;
    gap: var(--one-space-r);
    min-height: 520px;
}

/* ── 지도 영역 (좌 50%) ──
   border-radius 4군데 / overflow:hidden으로 내부 iframe·SVG 클리핑 */
.sec-contact-map {
    flex: 0 0 50%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-color03);
}

.sec-contact-frame {
    width: 100%;
    height: 100%;
}

/* SVG placeholder 또는 실제 지도 iframe */
.sec-contact-map-img,
.sec-contact-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* ── 정보 패널 (우) ── */
.sec-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: var(--one-gap-xl) 0;
    min-width: 0;
}

/* 제목 */
.sec-contact-title {
    font-size: clamp(var(--one-hd3), 2.8vw, var(--one-hd2));
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--one-space-s);
}

/* 위치 정보 */
.sec-contact-loc {
    display: flex;
    flex-direction: column;
    gap: var(--one-gap-sm);
    margin: 0 0 var(--one-gap-xl);
}

.sec-contact-loc-row {
    display: flex;
    gap: var(--one-gap-r);
    font-size: var(--one-body);
    align-items: flex-start;
}

.sec-contact-loc-row dt {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--gray-color01);
    white-space: nowrap;
}

.sec-contact-loc-row dd {
    margin: 0;
    color: var(--one-txt-color);
}

/* 지도 링크 버튼 (pill 스타일) */
.sec-contact-map-btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--one-gap-sm);
    margin-bottom: var(--one-gap-xl);
}

.sec-contact-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border: 1px solid var(--one-txt-color);
    border-radius: 20px;
    background: #fff;
    color: var(
    --one-txt-color);
    font-size: var(
    --one-caption);
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.sec-contact-map-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

/* 전화 + 예약 버튼 한 줄 */
.sec-contact-reservation {
    display: flex;
    align-items: center;
    gap: var(--one-gap-lg);
    padding: var(--one-gap-xl) 0;
    border-top: 1px solid var(--gray-color03);
    border-bottom: 1px solid var(--gray-color03);
    margin-bottom: var(--one-gap-xl);
}

.sec-contact-reserve-label {
    font-size: var(--one-caption);
    color: var(--gray-color01);
    white-space: nowrap;
    flex-shrink: 0;
}

.sec-contact-tel {
    flex: 1;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    color: var(--one-txt-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.sec-contact-tel:hover { color: var(--main-color); }

/* 네이버예약 버튼 */
.sec-contact-reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    background: #03c75a;
    color: #fff;
    font-size: var(--one-caption);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: filter 0.2s ease;
}

.sec-contact-reserve-btn:hover { filter: brightness(0.88); }

/* 진료시간 */
.sec-contact-hours-wrap { flex: 1; }

.sec-contact-hours-title {
    font-size: var(--one-p-tit);
    font-weight: 700;
    margin-bottom: var(--one-gap-lg);
    color: var(--one-txt-color);
}

/* 2컬럼 진료 구분 그리드 */
.sec-contact-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--one-gap-xl);
    margin-bottom: var(--one-gap-lg);
}

.sec-contact-hours-cat {
    font-size: var(--one-caption);
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: var(--one-gap-sm);
    line-height: var(--one-lh-r);
}

/* 시간표 dt/dd 그리드 */
.sec-contact-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px var(--one-gap-r);
    font-size: var(--one-caption);
    margin: 0;
}

.sec-contact-hours dt {
    color: var(--gray-color01);
    font-weight: 500;
    white-space: nowrap;
}

.sec-contact-hours dd { margin: 0; color: var(--one-txt-color); }

/* 점심·휴진 행 */
.sec-contact-hours-sub {
    padding-top: var(--one-gap-lg);
    border-top: 1px solid var(--gray-color03);
}

.sec-contact-hours .is-holiday,
.sec-contact-hours-sub .is-holiday { color: #e53935; font-weight: 600; }


/* ============================
   오시는길 반응형
============================ */
@media all and (max-width: 1024px) {

    .sec-contact-inner {
        flex-direction: column;
        gap: var(--one-gap-xl);
        min-height: auto;
    }

    .sec-contact-map {
        flex: none;
        height: 320px;
    }

    .sec-contact-info {
        padding: 0 0 var(--one-gap-xl);
    }
}

@media all and (max-width: 639px) {

    .sec-contact { padding: var(--one-space-r) 0; }
    .sec-contact-map { height: 240px; border-radius: 12px; }

    .sec-contact-reservation {
        flex-wrap: wrap;
        gap: var(--one-gap-sm);
    }

    .sec-contact-tel { flex: none; width: 100%; }
    .sec-contact-reserve-btn { width: 100%; justify-content: center; }

    .sec-contact-hours-grid { grid-template-columns: 1fr; gap: var(--one-gap-lg); }
}


/* ============================
   워터마크 텍스트 (txt-watermark)
   배경에 깔리는 대형 반투명 텍스트 데코 요소
   anim-scroll-right 와 함께 사용 시 PC에서 좌→우 스크롤 효과
   부모 섹션에 overflow-x: hidden 필수
============================ */
.txt-watermark {
    position: relative;
    z-index: -1;
    display: inline-flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: #c1c1c114;
    font-size: 13em;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 -1.2em -0.5em auto;
    user-select: none;
    pointer-events: none;
}


/* ============================
   이미지+본문 카드 레이아웃 (device-card)
   다양한 서브페이지에서 공통 사용:
     교정 장치 종류 / 소재 비교 / 미백 종류 / 치주치료 방법 등
   구조: 이미지(좌) + 번호·제목·태그·설명·특징3열(우)
   수식자: is-reversed (이미지 우측), is-highlight (강조)
============================ */
.device-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 카드 사이 구분 — txt-watermark 스크롤 애니메이션
   height: 3em → 텍스트 절반만 노출 */
.device-sep {
    width: 100%;
    height: 10em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

/* 카드 */
.device-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-color03);
}

/* 이미지 우측 */
.device-card.is-reversed { flex-direction: row-reverse; }

/* 강조 카드 */
.device-card.is-highlight {
    background: var(--sub-color02);
    border-color: var(--main-color);
}

/* 이미지 (고정 너비) */
.device-img {
    flex: 0 0 38%;
    position: relative;
    background: #c5d5e4;
    overflow: hidden;
}

.device-img > .img-ph { position: absolute; inset: 0; }

.device-img > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* 본문 */
.device-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--one-gap-lg);
    padding: var(--one-space-s);
}

/* 번호 */
.device-num {
    display: block;
    font-size: var(--one-caption);
    font-weight: 700;
    color: var(--main-color);
    letter-spacing: 0.15em;
}

/* 제목 */
.device-name { line-height: 1.2; margin: 0; }

/* 태그라인 */
.device-tag {
    font-size: var(--one-body);
    color: var(--gray-color01);
    margin-top: calc(-1 * var(--one-gap-sm));
}

.device-body > .ft-body { color: var(--gray-color02); line-height: var(--one-lh-lg); }

/* 특징 3열 */
.device-feats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--one-gap-lg);
    margin-top: auto;
    padding-top: var(--one-gap-xl);
    border-top: 1px solid var(--gray-color03);
}

.device-feat {
    display: flex;
    flex-direction: column;
    gap: var(--one-gap-sm);
}


.device-feat .p-tit { display: block; margin-bottom: 2px; }
.device-feat .ft-body { color: var(--gray-color02); font-size: var(--one-caption); line-height: var(--one-lh-lg); }

/* 하단 주석 */
.device-notice {
    margin-top: var(--one-gap-xl);
    text-align: center;
    font-size: var(--one-caption);
    color: var(--gray-color02);
}


/* ── CTA ── */
.sec-cta { position: relative; overflow: hidden; }
.sec-cta-bg { position: absolute; inset: 0; z-index: 0; }
.sec-cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,20,50,.68); z-index: 1; }
.sec-cta-bg > .img-ph,
.sec-cta-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-cta-inner { position: relative; z-index: 2; padding: var(--one-space-lg) var(--one-space-safe); color: #fff; }
.sec-cta-inner .cp-txt { display: block; color: rgba(255,255,255,.65); letter-spacing: .3em; margin-bottom: var(--one-gap-sm); }
.sec-cta-title { color: #fff; margin-bottom: var(--one-gap-xl); line-height: var(--one-lh-lg); }
.sec-cta-desc { color: rgba(255,255,255,.78); line-height: var(--one-lh-lg); }
.sec-cta-btns { display: flex; justify-content: center; gap: var(--one-gap-lg); flex-wrap: wrap; }
.btn-secondary--white { border-color: rgba(255,255,255,.6) !important; color: #fff !important; background: transparent !important; }
.btn-secondary--white:hover { border-color: #fff !important; background: rgba(255,255,255,.12) !important; }


/* ── 반응형 ── */
@media all and (max-width: 1024px) {
    .device-card,
    .device-card.is-reversed { flex-direction: column; }
    .device-img { flex: none; width: 100%; aspect-ratio: 16 / 9; }
    .device-feats { grid-template-columns: repeat(3, 1fr); }
}

@media all and (max-width: 639px) {
    .device-body { padding: var(--one-gap-lg); }
    .device-feats { grid-template-columns: 1fr; gap: var(--one-gap-r); }
    .device-img { aspect-ratio: 4 / 3; }
	
/* CTA	 */
	
	    .sec-cta-btns { flex-direction: column; align-items: center; }
    .sec-cta-btns .btn-primary,
    .sec-cta-btns .btn-secondary--white { width: 100%; max-width: 300px; text-align: center; }
	.sec-cta-bg > .img-ph, .sec-cta-bg > img {
    width: auto !important;
    height: 100% !important;
}
}