/* INFINITH Design Tokens (docs/DESIGN_SYSTEM.md) 적용. 원색 금지 · 라인 아이콘 금지 · 이모지 금지 · 다크/라이트 섹션 리듬 · 다크 위 흰 카드 · 대각선 그림자 · 파스텔 상태색 */ :root { --primary-900: #0A1128; --primary-800: #1A2B5E; --primary-50: #F4F6FB; --accent: #6C5CE7; --grad-start: #4F1DA1; --grad-end: #021341; --slate-700: #334155; --slate-600: #475569; --slate-500: #64748B; --slate-200: #E2E8F0; --slate-100: #F1F5F9; --purple-200: #E9D5FF; --purple-300: #D8B4FE; --blue-300: #93C5FD; --st-critical-bg: #FFF0F0; --st-critical-text: #7C3A4B; --st-critical-border: #F5D5DC; --st-warning-bg: #FFF6ED; --st-warning-text: #7C5C3A; --st-warning-border: #F5E0C5; --st-good-bg: #F3F0FF; --st-good-text: #4A3A7C; --st-good-border: #D5CDF5; --st-info-bg: #EFF0FF; --st-info-text: #3A3F7C; --st-info-border: #C5CBF5; --shadow: 3px 4px 12px rgba(0,0,0,0.06); --shadow-hover: 4px 6px 16px rgba(0,0,0,0.09); --max: 760px; --wide: 1280px; font-size: 17px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: #fff; color: var(--primary-900); font-family: Pretendard, "Pretendard Variable", Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } img { max-width: 100%; height: auto; display: block; } h1, h2, h3 { line-height: 1.3; margin: 0; color: var(--primary-900); } h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; } h2 { font-size: 1.45rem; font-weight: 700; margin-top: 2.8rem; margin-bottom: 0.8rem; letter-spacing: -0.01em; } h3 { font-size: 1.12rem; font-weight: 700; margin-top: 1.8rem; margin-bottom: 0.5rem; } .serif { font-family: "Playfair Display", Georgia, serif; } p { margin: 0 0 1rem; color: var(--slate-700); } ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; color: var(--slate-700); } li { margin-bottom: 0.35rem; } table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.5rem; font-size: 0.95rem; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); } th, td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--slate-100); } tr:last-child td { border-bottom: 0; } th { background: var(--primary-900); color: #fff; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em; } td { color: var(--slate-700); } .table-wrap { overflow-x: auto; } .wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; } .wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; } /* sections: dark / light rhythm */ .section { padding: 4rem 0; } .section.dark { background: var(--primary-900); background-image: radial-gradient(ellipse at 20% 0%, rgba(108,92,231,0.18), transparent 55%); color: #fff; } .section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; } .section.dark p { color: rgba(255,255,255,0.8); } .section.light { background: #fff; } .section.tint { background: var(--primary-50); } .grad-text { background: linear-gradient(to right, var(--purple-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; } /* header */ .site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-100); } .site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; } .brand { display: flex; align-items: center; gap: 0.6rem; color: var(--primary-900); font-weight: 800; font-size: 1.1rem; } .brand .mark { display: none; } .brand-logo { height: 40px; width: auto; display: block; } .brand-name { height: auto; font-weight: 800; font-size: 1.05rem; color: var(--primary-900); letter-spacing: -0.01em; white-space: nowrap; } .brand-sep { width: 1px; height: 26px; background: var(--slate-200); margin: 0 0.35rem; } .brand-text { display: flex; align-items: baseline; gap: 0.45rem; } .brand small { font-family: "Playfair Display", Georgia, serif; font-weight: 700; color: var(--slate-500); font-size: 0.8rem; letter-spacing: 0.05em; } .nav a { color: var(--slate-600); margin-left: 1.3rem; font-size: 0.93rem; font-weight: 500; } .nav a:hover { color: var(--primary-900); text-decoration: none; } .sample-banner { background: var(--st-warning-bg); color: var(--st-warning-text); border-bottom: 1px solid var(--st-warning-border); font-size: 0.83rem; text-align: center; padding: 0.5rem 1rem; font-weight: 500; } /* pills & badges */ .pill { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; } .pill.grad { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; } .pill.ghost { background: rgba(255,255,255,0.1); color: var(--purple-200); border: 1px solid rgba(255,255,255,0.15); } .pill.soft { background: var(--st-good-bg); color: var(--st-good-text); border: 1px solid var(--st-good-border); } .badge { display: inline-block; font-size: 0.74rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; margin-left: 0.4rem; vertical-align: middle; border: 1px solid transparent; } .badge.reviewed { background: var(--st-good-bg); color: var(--st-good-text); border-color: var(--st-good-border); } .badge.pending { background: var(--st-warning-bg); color: var(--st-warning-text); border-color: var(--st-warning-border); } .btn { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.75rem 1.4rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; } .btn.primary { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; box-shadow: var(--shadow); } .btn.secondary { background: #fff; color: var(--grad-end); border: 1px solid var(--slate-200); } .btn:hover { text-decoration: none; box-shadow: var(--shadow-hover); } /* article */ .eyebrow { color: var(--accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.7rem; font-family: Inter, Pretendard, sans-serif; } .article-head { padding: 3rem 0 1.2rem; } .meta { color: var(--slate-500); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 1rem; } .summary { background: #F2F6FF; border: 1px solid #E3EAFB; border-radius: 16px; padding: 1.3rem 1.5rem; margin: 1.6rem 0 2.2rem; box-shadow: var(--shadow); } .summary h2 { margin: 0 0 0.6rem; font-size: 0.8rem; color: var(--grad-start); letter-spacing: 0.08em; text-transform: uppercase; font-family: Inter, Pretendard, sans-serif; } .summary ol { margin: 0; padding-left: 1.2rem; } .summary li { margin-bottom: 0.35rem; font-weight: 500; color: var(--primary-900); } .figure { margin: 1.8rem 0; } .figure img { border-radius: 16px; box-shadow: var(--shadow); } .figure figcaption { font-size: 0.83rem; color: var(--slate-500); margin-top: 0.6rem; } .video { position: relative; aspect-ratio: 16 / 9; background: var(--primary-900); border-radius: 16px; overflow: hidden; margin: 0.6rem 0 0.5rem; box-shadow: var(--shadow); } .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; } .video-note { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 1.4rem; } .faq details { background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 0.95rem 1.2rem; margin-bottom: 0.6rem; box-shadow: var(--shadow); } .faq summary { cursor: pointer; font-weight: 700; list-style: none; color: var(--primary-900); } .faq summary::-webkit-details-marker { display: none; } .faq summary::before { content: "Q"; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--st-good-bg); color: var(--accent); font-size: 0.75rem; margin-right: 0.6rem; font-family: Inter, sans-serif; } .faq details p { margin: 0.7rem 0 0 2.1rem; color: var(--slate-600); } .review-box { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1.1rem 1.25rem; margin: 2.4rem 0 1rem; font-size: 0.92rem; box-shadow: var(--shadow); color: var(--slate-700); } .review-box img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; } .review-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); display: grid; place-items: center; color: #fff; font-weight: 800; } .sources { font-size: 0.88rem; color: var(--slate-600); } .sources li { margin-bottom: 0.3rem; } .disclosure { font-size: 0.84rem; color: var(--slate-500); border-top: 1px solid var(--slate-100); padding-top: 1.1rem; margin-top: 2.2rem; } .fact-block { background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1.3rem 1.5rem; margin: 2.4rem 0; font-size: 0.93rem; box-shadow: var(--shadow); } .fact-block h2 { margin: 0 0 0.8rem; font-size: 1rem; } .fact-block dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 0.4rem 0.9rem; margin: 0; } .fact-block dt { color: var(--slate-500); } .fact-block dd { margin: 0; color: var(--slate-700); } .section.dark .fact-block { color: var(--slate-700); } /* home */ .hero { padding: 5rem 0 4rem; } .hero h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-top: 1rem; } .hero .lede { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-top: 1.2rem; max-width: 680px; } .hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; } .card { background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; } .card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); } .card .cat { font-size: 0.75rem; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; font-family: Inter, Pretendard, sans-serif; } .card h3 { margin: 0; font-size: 1.08rem; color: var(--primary-900); } .card h3 a { color: var(--primary-900); } .card p { color: var(--slate-600); font-size: 0.93rem; margin: 0; flex: 1; } .card .foot { font-size: 0.78rem; color: var(--slate-500); } .section.dark .card p, .section.dark .card h3, .section.dark .card h3 a { color: var(--primary-900); } .section.dark .card p { color: var(--slate-600); } .section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 1.4rem; } .section-title h2 { margin: 0; font-size: 1.7rem; } .section-title .sub { color: var(--slate-600); font-size: 1rem; margin: 0.3rem 0 0; } .section.dark .section-title .sub { color: var(--purple-200); } .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0 0; } .kpi { background: linear-gradient(to right, #fff3eb, #e4cfff, #f5f9ff); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); } .kpi b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--primary-900); font-family: "Playfair Display", Georgia, serif; } .kpi span { font-size: 0.8rem; color: var(--slate-600); font-weight: 500; } .notice { background: var(--st-warning-bg); color: var(--st-warning-text); border: 1px solid var(--st-warning-border); border-radius: 16px; padding: 0.95rem 1.2rem; font-size: 0.9rem; margin: 1.4rem 0; } /* footer */ .site-footer { margin-top: 0; background: var(--primary-900); color: rgba(255,255,255,0.75); padding: 3rem 0 3rem; font-size: 0.85rem; } .site-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } .site-footer p { margin-bottom: 0.5rem; color: rgba(255,255,255,0.75); } .site-footer strong { color: #fff; } .site-footer .notice-pending { color: #fff; border-left: 2px solid var(--purple-300); padding-left: 0.7rem; margin-bottom: 0.6rem; } .site-footer a { color: var(--purple-300); } .site-footer .powered { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.1); font-family: "Playfair Display", Georgia, serif; letter-spacing: 0.05em; color: var(--purple-300); font-size: 0.8rem; } @media (max-width: 720px) { .brand-logo { height: 32px; } .brand-text small { display: none; } :root { font-size: 16px; } h1 { font-size: 1.7rem; } .hero h1 { font-size: 1.9rem; } .hero { padding: 3.5rem 0 3rem; } .section { padding: 3rem 0; } .site-footer .cols { grid-template-columns: 1fr; } .nav a { margin-left: 0.9rem; font-size: 0.86rem; } .fact-block dl { grid-template-columns: 6em 1fr; } } /* ── INFINITH 실측 규격 보정 (plan/view-clinic · discovery 랜딩 기준) ── */ /* 히어로: 라이트 파스텔 라디얼 (PlanHeader.tsx 공식) */ .hero-light { position: relative; overflow: hidden; padding: 5rem 0 4.5rem; background: radial-gradient(ellipse at top left, #e0e7ff, transparent 50%), radial-gradient(ellipse at bottom right, #fce7f3, transparent 50%), radial-gradient(ellipse at center, #f5f3ff, transparent 60%); } .hero-light .blob { position: absolute; border-radius: 999px; filter: blur(60px); pointer-events: none; } .hero-light .blob.a { top: 2rem; left: 2rem; width: 18rem; height: 18rem; background: rgba(108,92,231,0.10); } .hero-light .blob.b { bottom: 2rem; right: 2rem; width: 24rem; height: 24rem; background: rgba(213,205,245,0.30); } .hero-light .inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; } .hero-light h1 { font-size: 2.86rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--primary-900); } .hero-light h1 .accent { color: var(--accent); } .hero-light .lede { font-size: 1.08rem; color: var(--slate-600); margin-top: 1.1rem; max-width: 640px; } .hero-light .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; } .chip { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 999px; background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.4); padding: 0.3rem 0.8rem; font-size: 0.85rem; font-weight: 500; color: var(--slate-700); } .chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); } .ring { width: 8.5rem; height: 8.5rem; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(2,19,65,0.25); } .ring b { font-family: "Playfair Display", Georgia, serif; font-size: 2.6rem; line-height: 1; font-weight: 700; } .ring span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-200); margin-top: 0.3rem; font-family: Inter, sans-serif; } /* 섹션 제목: 영문 Playfair + 한글 부제 (SectionWrapper 규격) */ .sec-head { margin-bottom: 1.6rem; } .sec-head h2 { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 700; margin: 0; letter-spacing: 0; } .sec-head .sub { margin: 0.35rem 0 0; color: var(--slate-600); font-size: 1rem; } .section.dark .sec-head h2 { background: linear-gradient(to right, var(--purple-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; } .section.dark .sec-head .sub { color: var(--purple-200); } .sec-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; } .sec-head .eyebrow { margin-bottom: 0.5rem; } /* 다크 섹션 KPI: 다크 글래스 카드 + Playfair 숫자 #AF90FF (WhyNow.tsx 규격) */ .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; } .stat { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(4px); border-radius: 16px; padding: 1.5rem 1.6rem; } .stat b { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2.6rem; font-weight: 700; line-height: 1.15; color: #AF90FF; } .stat .label { display: block; color: #fff; font-weight: 700; font-size: 0.98rem; margin-top: 0.4rem; } .stat .desc { display: block; color: rgba(255,255,255,0.7); font-size: 0.86rem; margin-top: 0.35rem; line-height: 1.6; } /* 라이트 섹션 카드: 표준 카드(bg-white · border-slate-100 · shadow-sm) */ .section.light .card { box-shadow: 0 1px 2px rgba(0,0,0,0.05); } .section.light .card:hover { box-shadow: var(--shadow-hover); } /* 헤더: INFINITH 헤더 규격 (흰 배경, 우측 그라디언트 pill CTA) */ .site-header .right { display: flex; align-items: center; gap: 1rem; } .site-header .lang-switch { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2rem; padding: 0 0.6rem; border-radius: 999px; border: 1px solid var(--slate-200); color: var(--slate-600); font-family: Inter, Pretendard, sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; } .site-header .lang-switch:hover { color: var(--primary-900); border-color: var(--primary-900); text-decoration: none; } .site-header .cta { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; border-radius: 999px; padding: 0.5rem 1.05rem; font-size: 0.86rem; font-weight: 600; } .site-header .cta:hover { text-decoration: none; box-shadow: var(--shadow); } .nav a, .site-header .cta, .brand-text { white-space: nowrap; } /* 720~1040px: 메뉴 5개가 한 줄에 들어가도록 간격·크기 축소, 브랜드 영문 서브 숨김 */ @media (max-width: 1040px) { .nav a { margin-left: 0.85rem; font-size: 0.86rem; } .site-header .right { gap: 0.7rem; } .site-header .cta { padding: 0.45rem 0.85rem; font-size: 0.82rem; } .brand-text small { display: none; } } @media (max-width: 720px) { .hero-light .inner { grid-template-columns: 1fr; } .hero-light h1 { font-size: 1.9rem; } .ring { display: none; } .site-header .cta { display: none; } .sec-head h2 { font-size: 1.6rem; } } /* ── 미디어: 라이트 유튜브 임베드 · 갤러리 · 썸네일 카드 ── */ .yt { margin: 1.4rem 0 1.8rem; } .yt-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--primary-900); box-shadow: var(--shadow); } .yt-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } .yt-btn:hover img { transform: scale(1.03); } .yt-btn .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(2,19,65,0.35); } .yt-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #000; } .yt-frame iframe { width: 100%; height: 100%; border: 0; display: block; } .yt figcaption { margin-top: 0.6rem; font-size: 0.86rem; color: var(--slate-500); display: flex; flex-direction: column; gap: 0.1rem; } .yt figcaption strong { color: var(--primary-900); font-size: 0.95rem; } .yt.compact { margin: 0; } .yt.compact .play { width: 48px; height: 48px; } .yt.compact figcaption strong { font-size: 0.9rem; } .video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; margin: 0.8rem 0 1.6rem; } .gallery { display: grid; gap: 1rem; margin: 1.4rem 0 1.8rem; } .gallery.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .gallery.cols-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .gallery .figure { margin: 0; } .gallery .figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; } .figure.portrait img { aspect-ratio: auto; } .card.has-thumb { padding: 0; overflow: hidden; } .card.has-thumb .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; } .card.has-thumb .thumb.thumb-logo { display: block; background: #F7F8FC; aspect-ratio: 16 / 9; } .card.has-thumb .thumb.thumb-logo img { object-fit: contain; padding: 18% 22%; box-sizing: border-box; } .card.has-thumb .body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; } .card.has-thumb .body p { flex: 1; } .doctor-strip { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1rem 1.2rem; margin: 1.4rem 0; box-shadow: var(--shadow); } .doctor-strip img { width: 72px; height: 92px; object-fit: cover; object-position: top; border-radius: 12px; } .doctor-strip .name { font-weight: 800; color: var(--primary-900); } .doctor-strip .creds { font-size: 0.85rem; color: var(--slate-600); margin: 0.2rem 0 0; } .hero-light .hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(2,19,65,0.18); max-width: 440px; } .hero-light .hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .hero-light .hero-img.square { max-width: 420px; } .hero-light .hero-img.collage { max-width: 500px; } .hero-light .hero-img.collage img { aspect-ratio: 500 / 425; } .hero-light .hero-img.square img { aspect-ratio: 1 / 1; } @media (max-width: 720px) { .hero-light .hero-img { max-width: 100%; } } /* ── 이전 페이지 버튼 · 플로팅 맨 위로 ── */ .backbar-wrap { background: #fff; border-bottom: 1px solid var(--slate-100); } .backbar { padding: 0.8rem 1.5rem; } .backbtn { display: inline-flex; align-items: center; gap: 0.35rem; background: #fff; border: 1px solid var(--slate-200); color: var(--grad-end); border-radius: 999px; padding: 0.4rem 0.95rem 0.4rem 0.7rem; font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow); } .backbtn:hover { text-decoration: none; box-shadow: var(--shadow-hover); } .totop { position: fixed; right: 1.4rem; bottom: 1.6rem; width: 48px; height: 48px; border: 0; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(2,19,65,0.30); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, box-shadow .2s; z-index: 20; } .totop.show { opacity: 1; transform: none; pointer-events: auto; } .totop:hover { box-shadow: 0 10px 28px rgba(2,19,65,0.40); } @media (max-width: 720px) { .totop { right: 1rem; bottom: 1.1rem; width: 44px; height: 44px; } } /* 태블릿·모바일 헤더 (≤900px): 첫 줄 브랜드 + 상담 예약, 둘째 줄 메뉴 가로 스크롤. 메뉴 6개가 두 줄로 겹치던 문제를 DOM 변경 없이 CSS만으로 해결한다 (2026-09-10) */ @media (max-width: 900px) { .site-header .bar { height: auto; flex-wrap: wrap; padding-top: 0.6rem; padding-bottom: 0; row-gap: 0.1rem; } .site-header .brand { flex: 1; } .site-header .right { display: contents; } .site-header .lang-switch { order: 2; margin-right: 0.5rem; } .site-header .cta { order: 2; } .site-header .nav { order: 3; display: flex; gap: 1rem; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0.35rem 0 0.7rem; width: 100%; } .site-header .nav::-webkit-scrollbar { display: none; } .site-header .nav a { margin-left: 0; flex: none; font-size: 0.9rem; } } /* ── /en/stay ── */ .stay { padding-bottom: 4rem; } .stay .lede { color: var(--slate-600, #475569); margin-top: 0.6rem; } .stay section { margin-top: 3.4rem; } .stay .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .stay .sec-head h2 { margin: 0; } .stay .upd { font-size: 0.8rem; color: var(--slate-500, #64748B); } .stay .sub { color: var(--slate-600, #475569); margin: 0.4rem 0 1rem; } .stay .src { font-size: 0.84rem; color: var(--slate-500, #64748B); margin-top: 1rem; } .stay .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.2rem 0 1.6rem; } .stay .chip { border: 1px solid var(--line, #E2E8F0); background: #fff; border-radius: 999px; padding: 0.36rem 0.85rem; font: inherit; font-size: 0.86rem; color: var(--slate-600, #475569); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; } .stay .chip b { font-weight: 700; opacity: 0.55; margin-left: 0.25em; } .stay .chip:hover { border-color: var(--primary-900, #0A1128); } .stay .chip.on { background: var(--primary-900, #0A1128); border-color: var(--primary-900, #0A1128); color: #fff; } .stay .chip.on b { opacity: 0.7; } .stay .grp { margin-bottom: 2.2rem; } .stay .grp h3 { margin: 0 0 0.9rem; } .stay .grp h3 small { font-weight: 400; font-size: 0.82rem; color: var(--slate-500, #64748B); margin-left: 0.45em; } .stay .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1rem; } .stay .card { background: #fff; border: 1px solid var(--line, #E2E8F0); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.05); } .stay .card .thumb { position: relative; height: 148px; background: #EEF1F6; display: flex; align-items: center; justify-content: center; } .stay .card .thumb img { width: 100%; height: 148px; object-fit: cover; display: block; } .stay .card .nophoto { font-size: 1.02rem; font-weight: 700; color: var(--slate-500, #64748B); padding: 0 1rem; text-align: center; line-height: 1.35; word-break: keep-all; } .stay .card .badge { position: absolute; left: 0.6rem; bottom: 0.6rem; background: rgba(10, 17, 40, 0.82); color: #fff; border-radius: 6px; padding: 0.18rem 0.45rem; font-size: 0.74rem; font-weight: 600; } .stay .card .badge em { font-style: normal; opacity: 0.7; margin-left: 0.25em; } .stay .card .badge.mono { letter-spacing: 0.06em; } .stay .card .body { padding: 0.85rem 0.95rem 1rem; display: flex; flex-direction: column; flex: 1; } .stay .card h4 { margin: 0 0 0.35rem; font-size: 0.98rem; } .stay .card .when { font-size: 0.8rem; color: var(--slate-600, #475569); margin: 0 0 0.4rem; } .stay .card .desc { font-size: 0.86rem; color: var(--slate-600, #475569); margin: 0 0 0.5rem; } .stay .card .addr { font-size: 0.78rem; color: var(--slate-500, #64748B); margin: 0 0 0.6rem; } .stay .card .go { font-size: 0.82rem; margin-top: auto; } .stay .route { border: 1px solid var(--line, #E2E8F0); border-radius: 16px; padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; background: #fff; } .stay .route-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; } .stay .route-head h3 { margin: 0; } .stay .route .who { font-size: 0.84rem; color: var(--slate-500, #64748B); margin: 0.15rem 0 0; } .stay .route .clock { font-size: 0.86rem; font-weight: 600; color: var(--primary-900, #0A1128); white-space: nowrap; } .stay .route .blurb { color: var(--slate-600, #475569); margin: 0.7rem 0 1rem; } .stay .route .map { width: 100%; height: auto; display: block; border-radius: 12px; } .stay .route .maphint { font-size: 0.76rem; color: var(--slate-500, #64748B); margin: 0.4rem 0 1rem; } .stay .timeline { list-style: none; padding: 0; margin: 0; } .stay .timeline .move { font-size: 0.8rem; color: var(--slate-500, #64748B); margin: 0.35rem 0 0.35rem 1.05rem; } .stay .timeline .stop { display: flex; gap: 0.8rem; align-items: flex-start; } .stay .timeline .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-900, #0A1128); color: #fff; font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; margin-top: 0.1rem; } .stay .timeline .stop-t { font-size: 0.8rem; color: var(--slate-500, #64748B); } .stay .timeline h4 { margin: 0.1rem 0 0.2rem; font-size: 0.98rem; } .stay .timeline p { margin: 0; font-size: 0.86rem; color: var(--slate-600, #475569); } .stay .botnote { margin-top: 1.6rem; } /* 시술 후 관리 안내(병원 원문 인용). 동선 카드(.route)·정차(.stop) 룩을 그대로 쓰고 접이식 동작만 더한다. 새 색·크기 없음. */ .stay details.recovery > summary.btn { list-style: none; cursor: pointer; } .stay details.recovery > summary.btn::-webkit-details-marker { display: none; } .stay details.recovery > summary.btn .hide { display: none; } .stay details.recovery[open] > summary.btn .show { display: none; } .stay details.recovery[open] > summary.btn .hide { display: inline; } .stay details.recovery[open] > summary.btn { margin-bottom: 1.1rem; } .stay details.recovery > .timeline { margin-top: 0.2rem; } .stay .recovery .timeline > li { border-top: 1px solid var(--line, #E2E8F0); padding: 0.7rem 0; } .stay .recovery .timeline > li:first-child { border-top: 0; padding-top: 0; } .stay .recovery summary { cursor: pointer; list-style: none; } .stay .recovery summary::-webkit-details-marker { display: none; } .stay .recovery summary .stop { display: flex; } .stay .recovery summary h4 { margin: 0.1rem 0 0; } .stay .recovery details[open] summary h4 { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--slate-200, #E2E8F0); } .stay .recovery details > ul { margin: 0.7rem 0 0.5rem 2.2rem; padding-left: 1.1rem; } .stay .recovery details > ul li { font-size: 0.9rem; color: var(--slate-700, #334155); margin-bottom: 0.35rem; } .stay .recovery details > p { margin: 0 0 0 2.2rem; font-size: 0.84rem; color: var(--slate-500, #64748B); } @media (max-width: 640px) { .cards { grid-template-columns: 1fr; } } /* 섹션 점프. 머리말 아래에 붙어 스크롤을 따라온다. 헤더(68px) 아래에 걸리게 top 을 맞춘다. */ .stay .jump { position: sticky; top: 68px; z-index: 9; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.4rem 0 2.4rem; padding: 0.62rem 0.68rem; background: rgba(255, 255, 255, 0.58); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 18px; box-shadow: 0 8px 28px rgba(10, 17, 40, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.7); } .stay .jump a { display: inline-flex; align-items: center; gap: 0.42rem; padding: 0.46rem 0.9rem; border-radius: 999px; font-size: 0.86rem; font-weight: 600; letter-spacing: -0.005em; color: var(--primary-900, #0A1128); text-decoration: none; white-space: nowrap; background: #fff; border: 1px solid var(--line, #E2E8F0); box-shadow: 0 1px 2px rgba(10, 17, 40, 0.06); transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s, border-color 0.14s, color 0.14s; } .stay .jump a:hover { text-decoration: none; transform: translateY(-1px); border-color: #C5CBF5; box-shadow: 0 4px 12px rgba(10, 17, 40, 0.12); } .stay .jump a:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(10, 17, 40, 0.08); } .stay .jump a b { font-weight: 700; font-size: 0.72rem; line-height: 1; padding: 0.2rem 0.4rem; border-radius: 999px; background: #EFF0FF; color: #3A3F7C; } /* 지금 보고 있는 섹션 */ .stay .jump a.on { background: linear-gradient(to right, #4F1DA1, #021341); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(79, 29, 161, 0.32); } .stay .jump a.on b { background: rgba(255, 255, 255, 0.22); color: #fff; } /* 점프로 이동했을 때 제목이 스티키 바에 가리지 않게 */ .stay section, .stay .grp { scroll-margin-top: 152px; } @media (max-width: 640px) { .stay .jump { top: 60px; gap: 0.35rem; padding: 0.5rem; border-radius: 14px; } .stay .jump a { padding: 0.4rem 0.72rem; font-size: 0.8rem; } } /* 필터 칩도 눌리는 것처럼 보이게 */ .stay .chip { box-shadow: 0 1px 2px rgba(10, 17, 40, 0.05); transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.15s, color 0.15s, border-color 0.15s; } .stay .chip:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10, 17, 40, 0.1); } .stay .chip:active { transform: translateY(0); } .stay .chip.on { box-shadow: 0 4px 14px rgba(10, 17, 40, 0.22); } /* 오늘 날씨. 값을 못 받으면 hidden 이라 아예 그려지지 않는다. */ .stay .wx { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; padding: 1rem 1.2rem; background: linear-gradient(to right, #fff3eb, #e4cfff, #f5f9ff); border-radius: 16px; } .stay .wx-now { display: flex; align-items: center; gap: 0.9rem; } .stay .wx-temp { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--primary-900, #0A1128); } .stay .wx-unit { font-size: 1.1rem; vertical-align: 0.9rem; margin-left: 0.06em; opacity: 0.6; } .stay .wx-cond { font-weight: 700; color: var(--primary-900, #0A1128); } .stay .wx-meta { font-size: 0.8rem; color: var(--slate-600, #475569); margin-top: 0.15rem; } .stay .wx-note { margin: 0; font-size: 0.88rem; color: var(--slate-700, #334155); max-width: 30rem; } /* 동선 지도. OSM 타일을 좌표로 깔고 그 위에 핀을 얹는다. 출처 표기는 OSM 정책상 필수다. */ .stay .route .map { position: relative; width: 100%; max-width: 680px; height: 340px; border-radius: 12px; overflow: hidden; background: #E8EDF3; border: 1px solid var(--line, #E2E8F0); } .stay .route .map-tiles { position: absolute; inset: 0; } .stay .route .map-tiles .tile { position: absolute; width: 256px; height: 256px; background-size: 256px 256px; background-repeat: no-repeat; } .stay .route .map-pins { position: absolute; inset: 0; width: 100%; height: 100%; } .stay .route .map-credit { position: absolute; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.82); color: var(--slate-600, #475569); font-size: 0.66rem; padding: 0.1rem 0.35rem; border-top-left-radius: 6px; }