@charset "UTF-8";
/* ================================================================
   Main Popup Group
================================================================ */

.main-popup-group {
    position: fixed;
    top: 110px;
    right: 40px;
    left: 40px;
    z-index: 5000;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    max-height: calc(100vh - 140px);
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
}

/* 팝업이 하나도 없으면 그룹도 숨김 */
.main-popup-group[hidden] {
    display: none !important;
}

/* ================================================================
   Main Layer Popup
================================================================ */

.main-layer-popup {
    position: relative;
    /*
     * HTML의
     * style="--popup-width: 500px"
     * 값이 적용됩니다.
     */
    flex: 0 0 var(--popup-width, 500px);
    width: var(--popup-width, 500px);
    max-width: 100%;
    pointer-events: auto;
}

.main-layer-popup[hidden] {
    display: none !important;
}

.main-layer-popup__box {
    width: 100%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

/* ------------------------------------------------
   이미지  height를 고정하지 않습니다.
   이미지 원본 비율에 따라 자동으로 결정됩니다.
------------------------------------------------ */
.main-layer-popup__image {
    width: 100%;
    overflow: hidden;
}

.main-layer-popup__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ------------------------------------------------
   main-layer-popup Footer
------------------------------------------------ */
.main-layer-popup__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 52px;
    border-top: 1px solid #DCDDE3;
    background: #fff;
}

.main-layer-popup__footer button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border: 0;
    background: #fff;
    color: #30323A;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.main-layer-popup__today {
    border-right: 1px solid #DCDDE3 !important;
}
.main-layer-popup__close {
    font-weight: 600 !important;
    letter-spacing: 0.04em;
}
.main-layer-popup__footer button:hover,
.main-layer-popup__footer button:focus-visible {
    background: #22242A;
    color: #fff;
}

/* ================================================================
   Main visual
   - section 전체 높이는 100vh / 100svh
   - header가 fixed이므로 내부 콘텐츠만 header 높이만큼 아래로 배치
================================================================ */
.main-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 680px;
    padding-top: var(--header-height);
    overflow: hidden;
    background: #E9EFF0;
}

.visual-media {
    position: absolute;
    inset: var(--header-height) 0 0;
    overflow: hidden;
}

.visual-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.visual-dim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(247, 247, 249, 0.18) 0%, rgba(247, 247, 249, 0.02) 48%, rgba(34, 36, 42, 0.08) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.06) 100%);
    pointer-events: none;
}

.visual-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 80px, 1220px);
    margin: 0 auto;
    padding-top: 2vh;
    text-align: center;
}

.visual-eyebrow {
    margin-bottom: 19px;
    color: var(--point);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.visual-title {
    color: var(--dark);
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 400;
    line-height: 1.35;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.visual-text {
    margin-top: 30px;
    color: var(--text);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
}

.visual-scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--sub-text);
    font-size: 9px;
    letter-spacing: 0.18em;
    transform: translateX(-50%);
}

.visual-scroll i {
    position: relative;
    width: 1px;
    height: 38px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(48, 50, 58, 0.22);
}

.visual-scroll i::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: var(--point);
    animation: visualScroll 1.7s ease-in-out infinite;
}

@keyframes visualScroll {
    0% {
        transform: translateY(-110%);
    }
    100% {
        transform: translateY(245%);
    }
}

/* ================================================================
   Main Signature
================================================================ */

.main-signature {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
    background: #F1F2F5;
}

.signature-layout {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
}

/* 좌측 타이틀 + 탭 */
.signature-side {
    flex: 0 0 calc(100% - 1165px);
    min-width: 560px;
    height: 100%;
    padding-top: 170px;
    padding-left: max(80px, calc((100vw - 1600px) / 2));
}

.signature-kor {
    margin-bottom: 12px;
    color: #30323A;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.signature-title {
    color: #22242A;
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
}

.signature-tab-wrap {
    width: 385px;
    margin-top: 110px;
}

.signature-tab-list {
    display: flex;
    flex-direction: column;
}

.signature-tab {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 82px;
    border-bottom: 1px solid rgba(48, 50, 58, 0.85);
    color: #30323A;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.045em;
    text-align: left;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.signature-tab:first-child {
    border-top: 1px solid rgba(48, 50, 58, 0.85);
}

.signature-tab::before {
    content: "";
    width: 22px;
    height: 2px;
    margin-right: 28px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.signature-tab__name {
    flex: 1;
}

.signature-tab__view {
    margin-left: 18px;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.signature-tab:hover,
.signature-tab:focus-visible,
.signature-tab.is-active {
    color: #C6A66A;
    border-bottom-color: #C6A66A;
}

.signature-tab.is-active {
    border-bottom-width: 4px;
}

.signature-tab:hover::before,
.signature-tab:focus-visible::before,
.signature-tab.is-active::before {
    opacity: 1;
    transform: scaleX(1);
}

.signature-tab:hover .signature-tab__view,
.signature-tab:focus-visible .signature-tab__view,
.signature-tab.is-active .signature-tab__view {
    opacity: 1;
}

/* 우측 Swiper 콘텐츠 */
.signature-content {
    position: absolute;
    top: 145px;
    right: 0;
    width: 1165px;
    height: 600px;
}

.signature-swiper {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.signature-swiper .swiper-wrapper {
    height: 100%;
}

.signature-slide {   
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 95px 0 0 95px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.signature-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;   
    pointer-events: none;
}
.signature-slide__link {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    color: inherit;
}

.signature-slide__text {
    position: relative;
    z-index: 2;
    width: 420px;
    padding-top: 135px;
    padding-left: 78px;
}

.signature-slide__title {
    color: #22242A;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.26;
    letter-spacing: -0.055em;
}

.signature-slide__desc {
    margin-top: 32px;
    color: #30323A;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.045em;
}

.signature-slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 205px;
    height: 48px;
    margin-top: 64px;
    padding: 0 28px 0 50px;
    border: 3px solid #C6A66A;
    border-radius: 999px;
    color: #C6A66A;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.signature-slide__btn::after {
    content: "";
    width: 13px;
    height: 13px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.signature-slide__link:hover .signature-slide__btn,
.signature-slide__link:focus-visible .signature-slide__btn {
    background: #C6A66A;
    color: #fff;
}




/* Swiper가 로드되지 않았을 때 첫 번째 슬라이드만 표시 */
.signature-slide-list-fallback .signature-slide {
    display: none;
}

.signature-slide-list-fallback .signature-slide:first-child {
    display: block;
    opacity: 1 !important;
}



/* ================================================================
   Premium Laser
================================================================ */

.premium-laser {
    position: relative;
    width: 100%;
    padding: 95px 0 105px;
    overflow: hidden;
    background: #fff;
}

.premium-laser__inner {
    position: relative;
    width: min(100% - 160px, 1500px);
    margin: 0 auto;
}

.premium-laser__title {
    margin-bottom: 62px;
    color: #22242A;
    font-size: 60px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
    text-align: center;
}

.premium-laser__slider {
    position: relative;
    width: 100%;
    padding: 0 72px;
}

.premium-laser-swiper {
    width: 100%;
    overflow: hidden;
}

.premium-laser-swiper .swiper-wrapper {
    align-items: stretch;
}

.premium-laser-slide {
    width: 280px;
    height: auto;
}

.premium-laser-card {
    display: block;
    width: 100%;
    color: inherit;
    text-align: center;
}

.premium-laser-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    background: #F1F2F5;
}

.premium-laser-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.premium-laser-card:hover .premium-laser-card__image img,
.premium-laser-card:focus-visible .premium-laser-card__image img {
    transform: scale(1.045);
}

.premium-laser-card__title {
    margin-top: 30px;
    color: #C6A66A;
    font-size: 22px;
    font-weight: 500;
    font-family:Noto Serif KR;
    line-height: 1.25;
    letter-spacing: -0.045em;
}

.premium-laser-card__desc {
    margin-top: 12px;
    color: #30323A;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.045em;
}

/* navigation */
.premium-laser__arrow {
    position: absolute;
    top: 170px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    border: 1px solid #C6A66A;
    border-radius: 50%;
    background: #fff;
    color: #C6A66A;
    transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.premium-laser__arrow--prev {
    left: 0;
}

.premium-laser__arrow--next {
    right: 0;
}

.premium-laser__arrow span {
    display: block;
    width: 14px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.premium-laser__arrow--prev span {
    transform: translateX(3px) rotate(-45deg);
}

.premium-laser__arrow--next span {
    transform: translateX(-3px) rotate(135deg);
}

.premium-laser__arrow:hover,
.premium-laser__arrow:focus-visible {
    background: #C6A66A;
    color: #fff;
}

.premium-laser__arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}


/* ================================================================
   Main Doctors
================================================================ */

.main-doctors {
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
    background:
        radial-gradient(circle at 42% 32%, rgba(224, 229, 229, 0.95) 0%, rgba(151, 156, 158, 0.95) 34%, rgba(123, 125, 128, 1) 100%);
}

.main-doctors__image {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    width: 1257px;
    max-width: none;
    transform: translateX(-50%);
    pointer-events: none;
}

.main-doctors__image img {
    display: block;
    width: 100%;
    height: auto;
}

.main-doctors__content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: min(100% - 80px, 980px);
    text-align: center;
    transform: translate(-50%, -7%);
}

.main-doctors__title {
    color: #22242A;
    font-size: 62px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.main-doctors__lead {
    margin-top: 28px;
    color: #30323A;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.04em;
}

.main-doctors__text {
    margin-top: 12px;
    color: #30323A;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.045em;
}


/* ================================================================
   Main Youtube
================================================================ */

.main-youtube {
    position: relative;
    width: 100%;
    padding: 120px 0 130px;
    overflow: hidden;
    background: #fff;
}

.main-youtube__inner {
    width: min(100% - 160px, 1408px);
    margin: 0 auto;
}

.main-youtube__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 58px;
}

.main-youtube__title {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #22242A;
    font-size: 58px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}

.youtube-mark {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 48px;
    border-radius: 14px;
    background: #FF0000;
    flex: 0 0 auto;
}

.youtube-mark::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 19px solid #fff;
}

.main-youtube__channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 50px;
    border: 1px solid #C6A66A;
    border-radius: 999px;
    color: #C6A66A;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.main-youtube__channel:hover,
.main-youtube__channel:focus-visible {
    background: #C6A66A;
    color: #fff;
}

.main-youtube__body {
    display: grid;
    grid-template-columns: 1000px 1fr;
    gap: 34px;
    align-items: start;
}

/* 왼쪽 영상 영역: 요청 기준 1000 x 563 */
.main-youtube__player {
    width: 1000px;
    height: 563px;
    overflow: hidden;
    background: #F1F2F5;
}

.main-youtube__player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 오른쪽 썸네일 리스트 */
.main-youtube__side {
    position: relative;
    width: 100%;
    height: 563px;
}

.main-youtube__list {
    height: 563px;
    overflow-y: auto;
    padding-right: 16px;
}

/* 스크롤바 */
.main-youtube__list::-webkit-scrollbar {
    width: 7px;
}

.main-youtube__list::-webkit-scrollbar-track {
    background: transparent;
}

.main-youtube__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #B8B2AA;
}

.youtube-item {
    width: 100%;
}

.youtube-item + .youtube-item {
    border-top: 1px dashed rgba(48, 50, 58, 0.45);
}

.youtube-item__button {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: center;
    width: 100%;
    min-height: 105px;
    padding: 11px 0;
    color: #30323A;
    text-align: left;
}

.youtube-item__thumb {
    position: relative;
    width: 150px;
    height: 84px;
    overflow: hidden;
    background: #F1F2F5;
}

.youtube-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.youtube-item__thumb::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

.youtube-item__thumb::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #fff;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

.youtube-item__title {
    color: #30323A;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.045em;
    transition: color 0.25s ease;
}

.youtube-item__button:hover .youtube-item__thumb img,
.youtube-item__button:focus-visible .youtube-item__thumb img,
.youtube-item.is-active .youtube-item__thumb img {
    transform: scale(1.04);
}

.youtube-item__button:hover .youtube-item__thumb::before,
.youtube-item__button:hover .youtube-item__thumb::after,
.youtube-item__button:focus-visible .youtube-item__thumb::before,
.youtube-item__button:focus-visible .youtube-item__thumb::after,
.youtube-item.is-active .youtube-item__thumb::before,
.youtube-item.is-active .youtube-item__thumb::after {
    opacity: 1;
}

.youtube-item__button:hover .youtube-item__title,
.youtube-item__button:focus-visible .youtube-item__title,
.youtube-item.is-active .youtube-item__title {
    color: #C6A66A;
}


@media (prefers-reduced-motion: reduce) {
    .visual-scroll i::after {
        animation: none;
        transform: translateY(90%);
    }
}

/* ================================================================
   Visual content visibility
   - 배경 이미지/영상의 로드 여부와 관계없이 항상 표시
   - poster 전용 상태 클래스를 사용하지 않음
================================================================ */
.visual-inner,
.visual-scroll {
    opacity: 1;
    visibility: visible;
}

/* 퀵메뉴는 일반 화면에서 항상 표시됩니다.
   전체메뉴가 열린 경우에만 layout.css 설정에 따라 숨겨집니다. */
.quick-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.is-all-menu-open .quick-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
