@charset "utf-8";

/* 3단계: 랜딩 섹션 구조 (디테일 추후) */
body.syou-landing-page #header .gnb {
    display: none;
}

body.syou-landing-page .diet_btn,
body.syou-landing-page #footer .quick {
    display: none !important;
}

.syou-landing {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

.syou-sec {
    padding: 32px 16px;
    border-bottom: 1px solid #eee;
}

.syou-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.syou-sec-head__title {
    margin: 0;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.syou-sec-head__more {
    flex-shrink: 0;
    margin-left: 8px;
    white-space: nowrap;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.syou-sec-lead {
    margin: -8px 0 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 메인 비주얼 → css/syou-hero.css (#sec-visual 전용) */

/* 이벤트 그리드 — event.php 와 동일 카드(syou-ev-item) 2×2, 최대 4개 */
.syou-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.syou-event-grid .syou-ev-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.syou-event-grid .syou-ev-item__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.syou-event-grid .syou-ev-item__toggle {
    margin-top: auto;
}

/* 진료과목: 상단 통이미지 → 2열 메뉴 */
.syou-sec--clinic .syou-sec-head {
    margin-bottom: 12px;
}

.syou-clinic-visual {
    display: block;
    margin: 0 -16px 12px;
    overflow: hidden;
    text-decoration: none;
    background: #f0ece8;
}

.syou-clinic-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 430 / 240;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
}

@container syouframe (max-width: 740px) {
    .syou-clinic-visual {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: calc(100cqw * 12 / 430);
    }
}

@media (max-width: 740px) {
    body.syou-layout:not(.syou-proportional-scale) .syou-clinic-visual {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: calc(100cqw * 12 / 430);
    }
}

/* 진료과목 2열 버튼 */
.syou-clinic-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.syou-clinic-grid__item {
    min-width: 0;
}

.syou-clinic-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 12px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
    transition:
        background-color 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.syou-clinic-card:focus-visible {
    outline: 2px solid var(--syou-primary, #c49a6b);
    outline-offset: 2px;
}

.syou-clinic-card__label {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.02em;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
    transition: color 0.28s ease, font-weight 0.28s ease;
}

/* 진료과목 2열×4행 — 과목별 호버 색상 */
@media (hover: hover) and (pointer: fine) {
    .syou-clinic-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
    }

    .syou-clinic-card:hover .syou-clinic-card__label {
        font-weight: 600;
    }

    .syou-clinic-card--hair-removal:hover {
        background: #eef1ff;
        border-color: #8b9ad4;
        color: #3a4678;
    }

    .syou-clinic-card--hair-removal:hover .syou-clinic-card__label {
        color: #3a4678;
    }

    .syou-clinic-card--face-lifting:hover {
        background: #fff0f4;
        border-color: #e09ab0;
        color: #8a3d55;
    }

    .syou-clinic-card--face-lifting:hover .syou-clinic-card__label {
        color: #8a3d55;
    }

    .syou-clinic-card--body-contouring:hover {
        background: #ecf7f2;
        border-color: #6db59a;
        color: #2d6b52;
    }

    .syou-clinic-card--body-contouring:hover .syou-clinic-card__label {
        color: #2d6b52;
    }

    .syou-clinic-card--skin-booster:hover {
        background: #edf5fc;
        border-color: #6a9ec8;
        color: #2f5f82;
    }

    .syou-clinic-card--skin-booster:hover .syou-clinic-card__label {
        color: #2f5f82;
    }

    .syou-clinic-card--pigment:hover {
        background: #faf3eb;
        border-color: var(--syou-primary, #c49a6b);
        color: #7a5a32;
    }

    .syou-clinic-card--pigment:hover .syou-clinic-card__label {
        color: #7a5a32;
    }

    .syou-clinic-card--pore-scar:hover {
        background: #f5eefb;
        border-color: #a88bc8;
        color: #5c4578;
    }

    .syou-clinic-card--pore-scar:hover .syou-clinic-card__label {
        color: #5c4578;
    }

    .syou-clinic-card--blemish:hover {
        background: #fff8ee;
        border-color: #d4a574;
        color: #7a5528;
    }

    .syou-clinic-card--blemish:hover .syou-clinic-card__label {
        color: #7a5528;
    }

    .syou-clinic-card--esthetic:hover {
        background: #fdf5ef;
        border-color: #c49a6b;
        color: #6b4a30;
    }

    .syou-clinic-card--esthetic:hover .syou-clinic-card__label {
        color: #6b4a30;
    }
}

.syou-clinic-grid--page {
    margin-bottom: 20px;
}

/* 진료장비 (1대씩 썸네일 롤링 — 의료진안내와 동일) */
.syou-equipment-landing {
    position: relative;
}

.syou-equipment-landing__slider {
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    background: #f8f6f3;
}

.syou-equipment-landing__slider .swiper-slide {
    height: auto;
}

.syou-equipment-landing__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.syou-equipment-landing__figure {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}

.syou-equipment-landing__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.syou-equipment-landing__figure.is-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: #e8e4df;
}

.syou-equipment-landing__placeholder {
    padding: 16px;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    color: #888;
}

.syou-equipment-landing__info {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 2px 4px;
}

.syou-equipment-landing__category {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--syou-primary, #c49a6b);
    letter-spacing: -0.02em;
}

.syou-equipment-landing__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #222;
}

.syou-equipment-landing__name-en {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #666;
}

.syou-equipment-landing__pager {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
    color: #888;
}

/* 의료진안내 (1명 썸네일 롤링) */
.syou-doctor-landing {
    position: relative;
}

.syou-doctor-landing__slider {
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    background: #f8f6f3;
}

.syou-doctor-landing__slider .swiper-slide {
    height: auto;
}

.syou-doctor-landing__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.syou-doctor-landing__figure {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    aspect-ratio: 3 / 4;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #e8e4df;
    line-height: 0;
}

.syou-doctor-landing__figure img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    transform: scale(1.16);
    transform-origin: center 32%;
}

.syou-doctor-landing__figure.is-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.syou-doctor-landing__placeholder {
    padding: 16px;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    color: #888;
}

.syou-doctor-landing__info {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 2px 4px;
}

.syou-doctor-landing__role {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--syou-primary, #c49a6b);
    letter-spacing: -0.02em;
}

.syou-doctor-landing__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #222;
}

.syou-doctor-landing__name span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.syou-doctor-landing__pager {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
    color: #888;
}

/* 둘러보기 — tour 서브와 동일 본문(syou_tour_render_page) */
body.syou-landing-page .syou-sec--tour {
    padding-left: 0;
    padding-right: 0;
}

body.syou-landing-page .syou-sec--tour .syou-sec-head {
    padding-left: var(--syou-frame-pad-x, 20px);
    padding-right: var(--syou-frame-pad-x, 20px);
}

body.syou-landing-page .syou-sec--tour .syou-tour--landing {
    margin: 0;
    padding: 0;
    background: transparent;
}

body.syou-landing-page .syou-sec--tour .syou-tour-banner {
    padding-left: var(--syou-frame-pad-x, 20px);
    padding-right: var(--syou-frame-pad-x, 20px);
}

/* 메인 오시는길 — location 서브와 동일 본문(syou_location_render_page) */
body.syou-landing-page .syou-sec--location .syou-sec-head {
    padding-left: var(--syou-frame-pad-x, 20px);
    padding-right: var(--syou-frame-pad-x, 20px);
}

body.syou-landing-page .syou-sec--location .syou-location {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}

/* 메인: 하단 불필요 여백만 축소 (헤더 고정·프레임 레이아웃은 syou-viewport-scroll 유지) */
body.syou-layout.is-pc-shell.syou-landing-page .syou-sec--location .syou-location {
    padding-bottom: 0;
}

.syou-location-preview .maps {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.syou-location-preview__item--hours {
    --syou-loc-icon-col: 36px;
    display: grid;
    grid-template-columns: var(--syou-loc-icon-col) 1fr;
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
}

.syou-location-preview__hours-head {
    display: contents;
    margin-bottom: 0 !important;
}

.syou-location-preview__hours-head .syou-location-preview__icon {
    grid-column: 1;
    grid-row: 1;
}

.syou-location-preview__hours-head .syou-location-preview__subject-text {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.syou-location-preview__hours-body {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.syou-location-preview__hours-body .dl {
    margin-left: 0;
    padding-left: 0;
}

.syou-location-preview__item--hours .syou-location__hours-label {
    font-weight: 400;
    font-size: 18px;
}

.syou-location-preview__hours-check .syou-location__svg--check {
    width: 12px !important;
    height: 12px !important;
}

.syou-location-preview__item--hours .syou-location__hours-label {
    align-items: center;
    gap: 5px;
}

.syou-location-preview__item--hours .syou-location__hours-item dd,
.syou-location-preview__hours-body .dl .dd {
    padding-left: 17px;
}

.syou-location-preview__icon .syou-location__svg {
    display: block;
    width: 36px;
    height: 36px;
}

.syou-location-preview .holiday_pill {
    display: inline-block;
    background-color: var(--syou-primary, #c49a6b);
    color: #fff;
    padding: 6px 22px;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 15px;
    font-size: 14px;
}

/* 하단 퀵메뉴: css/syou-bottom-quick.css */

@media (max-width: 380px) {
    .syou-event-grid {
        grid-template-columns: 1fr;
    }
}
