@charset "utf-8";

/* 시술 후 주의사항 — 치료철학(philosophy-page) 스타일 재사용 */

body.syou-sub-page.syou-caution-page #container.syou-sub {
    padding: 0;
}

body.syou-sub-page.syou-caution-page .syou-sub__body:has(.syou-caution-page) {
    padding: 0 0 32px;
    background: #fff;
}

body.syou-sub-page.syou-caution-page .syou-content {
    margin: 0;
    padding: 0;
    max-width: none;
}

.syou-caution-page.syou-philosophy {
    color: #1a1a1a;
    background: #fff;
}

/* 상단 배너 sub1.png — 원본 비율 유지(상단 메뉴에 잘리지 않도록 crop 제거) */
body.syou-caution-page .syou-caution-hero {
    margin: 0;
    padding: 0;
    background: #fff;
}

body.syou-caution-page .syou-caution-hero__media {
    position: relative;
    overflow: visible;
    line-height: 0;
}

body.syou-caution-page .syou-caution-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    vertical-align: top;
}

/* 제목·소개 — 배너 하단 베이지 영역 오버레이(배경 없음) */
body.syou-caution-page .syou-caution-hero__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 14px 18px 20px;
    text-align: center;
    background: transparent;
    pointer-events: none;
    line-height: normal;
}

body.syou-caution-page .syou-caution-hero__title {
    margin: 0 0 8px;
    font-size: var(--syou-frame-title, 2rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    word-break: keep-all;
}

body.syou-caution-page .syou-caution-hero__lead {
    margin: 0 auto;
    max-width: 28em;
    font-size: var(--syou-frame-caption, 1.6rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.02em;
    color: #444;
    word-break: keep-all;
}

/* 본문 영역 */
body.syou-caution-page .syou-caution-page__main {
    padding: 20px 16px 8px;
}

/* 카테고리 — FAQ와 동일 사각 카드 버튼 */
body.syou-caution-page .syou-caution__cats {
    margin: 0 0 20px;
}

body.syou-caution-page .syou-caution__cats-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

body.syou-caution-page .syou-caution__cats-item {
    display: flex;
    margin: 0;
    min-width: 0;
    height: 100%;
}

body.syou-caution-page .syou-caution__cat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 52px;
    margin: 0;
    padding: 10px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-size: var(--syou-frame-meta, 1.4rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #444;
    text-align: center;
    word-break: keep-all;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

body.syou-caution-page .syou-caution__cat:hover {
    border-color: var(--syou-primary, #c49a6b);
    color: var(--syou-primary, #c49a6b);
}

body.syou-caution-page .syou-caution__cat.is-active {
    border-color: var(--syou-primary, #c49a6b);
    background: rgba(196, 154, 107, 0.08);
    color: var(--syou-primary, #c49a6b);
    font-weight: 600;
}

@media (max-width: 740px) {
    body.syou-layout:not(.syou-proportional-scale).syou-caution-page .syou-caution__cat {
        min-height: 56px;
    }
}

/* 목록 그룹 */
body.syou-caution-page .syou-caution__group {
    margin: 0 0 24px;
}

body.syou-caution-page .syou-caution__group:last-of-type {
    margin-bottom: 0;
}

body.syou-caution-page .syou-caution__group[hidden] {
    display: none !important;
}

body.syou-caution-page .syou-caution__group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 16px 0 8px;
    font-size: var(--syou-frame-sub, 1.7rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    word-break: keep-all;
}

body.syou-caution-page .syou-caution__group:first-child .syou-caution__group-title {
    padding-top: 4px;
}

body.syou-caution-page .syou-caution__group-title-icon {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

body.syou-caution-page .syou-caution__group-title-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* 부제목·머릿말(골드 톤) */
body.syou-caution-page .syou-caution__preface,
body.syou-caution-page .syou-caution__subtitle {
    margin: 0 0 10px;
    padding-left: 26px;
    font-size: var(--syou-frame-meta, 1.4rem);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--syou-primary, #c49a6b);
    word-break: keep-all;
}

body.syou-caution-page .syou-caution__preface + .syou-caution__subtitle {
    margin-top: 0;
}

/* 본문 목록 머릿글(·) */
body.syou-caution-page .syou-caution__items {
    margin: 0;
    padding: 0 0 0 26px;
    list-style: none;
}

body.syou-caution-page .syou-caution__item {
    position: relative;
    margin: 0;
    padding: 0 0 0 14px;
    font-weight: 400;
}

body.syou-caution-page .syou-caution__item::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--syou-primary, #c49a6b);
    font-weight: 700;
    line-height: 1.65;
}

body.syou-caution-page .syou-caution__item + .syou-caution__item {
    margin-top: 8px;
}

body.syou-caution-page .syou-caution__emph {
    font-weight: 600;
    color: #444;
    letter-spacing: -0.02em;
}

body.syou-caution-page .syou-caution__footnotes {
    margin-top: 16px;
    padding: 20px 0 0;
    border-top: 1px solid #e8e8e8;
}

body.syou-caution-page .syou-caution__note {
    margin: 0 0 6px;
    color: #888;
}

body.syou-caution-page .syou-caution__note:last-child {
    margin-bottom: 0;
}
