@charset "UTF-8";
/* ==========================================================
   neroweb19 layout.css
   공통 토큰 · 기본 · 헤더 · 메뉴 · 서브 공통 · 푸터
   기준 : 의료기관 홈페이지 테마 디자인 정의서
   ========================================================== */

:root {
  /* 색상 (여성의원 벤치마킹 정의서 5.1) */
  --n19-primary: #6E409A;
  --n19-primary-dark: #482E62;
  --n19-primary-light: #9070AF;
  --n19-purple-soft: #F3EDF6;
  --n19-gold: #B48644;
  --n19-gold-light: #D3AE79;
  --n19-ivory: #FFFCF7;
  --n19-beige: #F8F6F1;
  --n19-care-bg: #F7F3EC;
  --n19-ink: #111111;
  --n19-gray: #787878;
  --n19-line: #E4DFE7;
  --n19-white: #FFFFFF;
  --n19-footer: #1F1B22;
  --n19-notice: #F6F0DC;
  --n19-notice-h: 36px;
  /* 게시판 스킨 호환 이름 */
  --n19-accent: #6E409A;
  --n19-accent-d: #482E62;
  --n19-accent-l: #F3EDF6;
  --n19-strong: #111111;
  --n19-text: #55505A;
  --n19-muted: #787878;
  --n19-surface: #F8F6F1;
  --n19-error: #C0392B;
  --n19-success: #2E7D57;
  --n19-dark: #1F1B22;
  /* 규격 (정의서 5.2) */
  --n19-hd-h: 80px;
  --n19-hd-top: 33px;
  --n19-hd-inset: 61px;
  --n19-gutter: 40px;
  --n19-max: 1640px;
  --n19-gap: 24px;
  --n19-radius: 20px;
  --n19-radius-top: 103px;
  --n19-shadow: 0 18px 44px rgba(31, 27, 34, .10);
  /* 폰트 (정의서 6장) */
  --n19-font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  --n19-serif: "Nanum Myeongjo", "NanumMyeongjo", "Batang", serif;
  --n19-display: "Cormorant Garamond", "Nanum Myeongjo", serif;
  --n19-ease: cubic-bezier(.22, 1, .36, 1);
  --n19-ease-soft: cubic-bezier(.33, 1, .32, 1);
}

/* 기본 (요소 선택자만 사용 : 아래 클래스 스타일이 항상 우선하도록) */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body.n19 { margin: 0; font-family: var(--n19-font); font-size: 18px; line-height: 1.7; letter-spacing: -0.01em; color: var(--n19-text); background: var(--n19-white); word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
p { word-break: keep-all; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, select, textarea { font-family: inherit; font-size: 18px; }
body.n19 :focus-visible { outline: 2px solid var(--n19-primary); outline-offset: 3px; }
body.n19-lock { overflow: hidden; }
.sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.n19-skip { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--n19-accent); color: #fff; border-radius: 6px; transition: top .2s; }
.n19-skip:focus { top: 12px; }

.n19-wrapall { overflow-x: clip; }
.n19-wrap { width: 100%; max-width: calc(var(--n19-max) + var(--n19-gutter) * 2); margin: 0 auto; padding: 0 var(--n19-gutter); }
.n19-container { display: block; min-height: 50vh; }
.n19-center { text-align: center; }
.n19-mb8 { margin-bottom: 8px; }
.n19-pc { display: inline; }

/* 버튼 (정의서 4.3 : 라운드 999px) */
.n19-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; min-height: 48px; padding: 0 24px; border-radius: 48px; font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.n19-btn--point { background: var(--n19-accent); color: #fff; }
.n19-btn--point:hover { background: var(--n19-accent-d); }
.n19-btn--line { border-color: var(--n19-line); color: var(--n19-strong); background: #fff; }
.n19-btn--line:hover { border-color: var(--n19-strong); }
.n19-btn--line-w { border-color: rgba(255, 255, 255, .6); color: #fff; }
.n19-btn--line-w:hover { background: #fff; color: var(--n19-primary); }
.n19-btn--white { background: #fff; color: var(--n19-ink); }
.n19-btn--white:hover { background: var(--n19-teal); color: #fff; }
.n19-btn:active { transform: translateY(1px); }
.n19-btn small { font-size: 12px; font-weight: 400; opacity: .7; }
.n19-btn--sm { height: 44px; min-height: 44px; padding: 0 18px; font-size: 16px; }
.n19-btn i { font-size: .9em; line-height: 1; }
.n19-btn[disabled] { opacity: .55; cursor: default; }
.n19-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--n19-strong); }
.n19-more i { transition: transform .25s; }
.n19-more:hover i { transform: translateX(4px); }

/* 라벨 (Caption 14px / 500) · 상태 (색 + 글자 + 점 아이콘을 함께 사용) */
.n19-label { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--n19-accent-l); color: var(--n19-accent-d); font-size: 14px; font-weight: 500; line-height: 1.4; }
.n19-label--line { background: none; border: 1px solid var(--n19-line); color: var(--n19-muted); }
.n19-label--pin { background: var(--n19-primary); color: #fff; }
.n19-st { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: 14px; font-weight: 600; line-height: 1.4; border: 1px solid currentColor; background: #fff; }
.n19-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.n19-st--draft { color: #4B5563; }
.n19-st--review { color: #9A5B00; }
.n19-st--reviewing { color: #1D4ED8; }
.n19-st--revise { color: var(--n19-error); }
.n19-st--scheduled { color: #6D28D9; }
.n19-st--publish { color: var(--n19-success); }
.n19-st--private { color: #374151; }
.n19-st--archive { color: var(--n19-muted); }
.n19-st--main { color: var(--n19-primary); }


/* ---------- 상단 안내 띠 · 떠 있는 캡슐 헤더 (정의서 7장) ---------- */
.n19-notice { position: fixed; left: 0; right: 0; top: 0; z-index: 910; transition: transform .3s var(--n19-ease); display: flex; align-items: center; justify-content: center; height: var(--n19-notice-h); padding: 0 50px; background: var(--n19-notice); font-size: 14px; color: #5A4A2E; text-align: center; }
.n19-notice b { margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--n19-gold); color: #fff; font-size: 13px; }
.n19-notice__close { position: absolute; right: 14px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); color: #5A4A2E; }
body.is-notice-off .n19-notice { display: none; }
.n19-hd { position: fixed; left: var(--n19-hd-inset); right: var(--n19-hd-inset); top: var(--n19-hd-top); z-index: 900; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(31, 27, 34, .08); transition: left .9s var(--n19-ease), right .9s var(--n19-ease), top .3s var(--n19-ease), opacity .45s ease, transform .45s var(--n19-ease), box-shadow .3s, background .3s; }
/* 첫 진입 : 가운데에 로고만 있는 작은 캡슐 → 좌우로 펼쳐짐 */
.n19-hd:not(.is-in) { left: calc(50% - 140px); right: calc(50% - 140px); overflow: hidden; }
.n19-hd:not(.is-pop) { opacity: 0; transform: translateY(-12px) scale(.9); }
.n19-hd:not(.is-in) .n19-hd__bar { justify-content: center; padding: 0 20px; }
.n19-hd:not(.is-in) .n19-gnb, .n19-hd:not(.is-in) .n19-hd__util { display: none; }
/* 스크롤하면 좌우로 더 펼쳐지며 화면 맨 위에 붙음 */
body .n19-hd.is-scrolled, body.is-notice-off .n19-hd.is-scrolled.has-notice { left: 0; right: 0; top: 0; border-radius: 0; box-shadow: 0 6px 20px rgba(31, 27, 34, .08); }
.n19-hd.is-scrolled .n19-hd__bar { height: 72px; padding: 0 40px 0 46px; }
.n19-hd.is-scrolled .n19-mega { border-radius: 0 0 24px 24px; }
body.is-hd-fixed .n19-notice { transform: translateY(-100%); transition: transform .3s var(--n19-ease); }
.n19-hd.is-in .n19-gnb, .n19-hd.is-in .n19-hd__util { animation: n19HdIn .5s ease .45s both; }
@keyframes n19HdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.n19-hd.has-notice { top: calc(var(--n19-notice-h) + 14px); }
body.is-notice-off .n19-hd.has-notice { top: var(--n19-hd-top); }
.n19-hd__bar { display: flex; align-items: center; gap: 24px; height: var(--n19-hd-h); padding: 0 40px 0 46px; }
.n19-hd__logo { flex: 0 0 auto; }
.n19-hd__logo img { height: 34px; width: auto; }
.n19-gnb { margin: 0 auto; align-self: stretch; }
.n19-gnb__list { display: flex; height: 100%; }
.n19-gnb__link { position: relative; display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 18px; font-weight: 500; color: var(--n19-ink); letter-spacing: -0.02em; transition: color .2s; }
.n19-gnb__link::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 24px; height: 1px; background: var(--n19-gold); transform: scaleX(0); transition: transform .3s var(--n19-ease); }
.n19-gnb__item:hover .n19-gnb__link, .n19-gnb__item.is-on .n19-gnb__link { color: var(--n19-primary); }
.n19-gnb__item:hover .n19-gnb__link::after, .n19-gnb__item.is-on .n19-gnb__link::after { transform: scaleX(1); }
.n19-hd__util { display: flex; align-items: center; gap: 12px; }
.n19-hd__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--n19-ink); }
.n19-hd__tel i { color: var(--n19-primary); }
.n19-hd__cta { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--n19-primary); color: #fff; font-size: 16px; font-weight: 500; transition: background .2s; }
.n19-hd__cta:hover { background: var(--n19-primary-dark); }
.n19-hd__burger { display: flex; position: relative; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.n19-hd__burger span { display: block; width: 24px; height: 1px; background: var(--n19-ink); }

/* 메가 메뉴 */
.n19-mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 28px; box-shadow: 0 24px 50px rgba(31, 27, 34, .12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--n19-ease); }
.n19-hd.is-mega .n19-mega { opacity: 1; visibility: visible; transform: none; }
.n19-mega__in { display: grid; grid-template-columns: 1.3fr repeat(6, 1fr); gap: 24px; padding: 46px 50px 50px; }
.n19-mega__intro { padding-right: 20px; border-right: 1px solid var(--n19-line); }
.n19-mega__en { font-family: var(--n19-display); font-size: 22px; letter-spacing: .06em; color: var(--n19-primary); }
.n19-mega__tit { margin-top: 12px; font-family: var(--n19-serif); font-size: 24px; color: var(--n19-ink); }
.n19-mega__sub { margin-top: 6px; font-size: 14px; color: var(--n19-gray); }
.n19-mega__tel { display: inline-block; margin-top: 18px; font-size: 26px; font-weight: 700; color: var(--n19-primary); }
.n19-mega__dep1 { padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--n19-ink); font-family: var(--n19-serif); font-size: 19px; color: var(--n19-ink); }
.n19-mega__col a { display: block; padding: 7px 0; font-size: 16px; color: var(--n19-gray); transition: color .2s, padding .2s; }
.n19-mega__col a:hover, .n19-mega__col a:focus-visible, .n19-mega__col a.is-on { color: var(--n19-primary); padding-left: 4px; }

/* 모바일 메뉴 */
.n19-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000; display: flex; flex-direction: column; width: min(460px, 100%); background: var(--n19-ivory); color: var(--n19-ink); transform: translateX(100%); visibility: hidden; transition: transform .4s var(--n19-ease), visibility .4s; overflow-y: auto; }
.n19-drawer.is-open { transform: translateX(0); visibility: visible; }
.n19-drawer__top { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 12px 0 22px; border-bottom: 1px solid var(--n19-line); }
.n19-drawer__logo img { height: 28px; width: auto; }
.n19-drawer__close { position: relative; width: 50px; height: 50px; }
.n19-drawer__close span { position: absolute; left: 14px; top: 50%; width: 24px; height: 1px; background: var(--n19-ink); }
.n19-drawer__close span:nth-child(1) { transform: rotate(45deg); }
.n19-drawer__close span:nth-child(2) { transform: rotate(-45deg); }
.n19-drawer__body { flex: 1; padding: 22px 22px 40px; }
.n19-drawer__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.n19-drawer__quick .n19-btn { width: 100%; padding: 0 12px; font-size: 15px; }
.n19-drawer__menu { margin-top: 24px; }
.n19-drawer__dep1 { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--n19-line); font-family: var(--n19-serif); font-size: 20px; color: var(--n19-ink); text-align: left; }
.n19-drawer__dep1::after { content: "+"; font-family: var(--n19-font); font-weight: 300; }
.n19-drawer__item.is-open .n19-drawer__dep1::after { content: "\2212"; }
.n19-drawer__dep2 { display: none; padding: 10px 0 16px 10px; }
.n19-drawer__item.is-open .n19-drawer__dep2 { display: block; }
.n19-drawer__dep2 a { display: block; padding: 8px 0; font-size: 16px; color: var(--n19-gray); }
.n19-drawer__dep2 a:hover, .n19-drawer__dep2 a.is-on { color: var(--n19-primary); }
.n19-drawer__call { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.n19-drawer__util { margin-top: 24px; }
.n19-drawer__search { display: flex; border-bottom: 1px solid var(--n19-line); }
.n19-drawer__search input { flex: 1; height: 46px; border: 0; background: none; font-size: 16px; color: var(--n19-ink); }
.n19-drawer__search button { width: 46px; color: var(--n19-ink); }
.n19-drawer__member { display: flex; gap: 20px; margin-top: 18px; font-size: 15px; }
.n19-drawer__member a { color: var(--n19-gray); }
.n19-btn--line-w { border: 1px solid var(--n19-line); color: var(--n19-ink); background: #fff; }
.n19-btn--line-w:hover { background: var(--n19-primary); border-color: var(--n19-primary); color: #fff; }
.n19-dim { position: fixed; inset: 0; z-index: 990; background: rgba(31, 27, 34, .45); opacity: 0; visibility: hidden; transition: all .3s; }
.n19-dim.is-on { opacity: 1; visibility: visible; }

/* ---------- 서브 공통 : 서브 비주얼 → 현재 위치 → 탭 ---------- */
.n19-svisual { position: relative; display: flex; align-items: flex-end; min-height: 520px; margin-top: 0; padding-top: calc(var(--n19-hd-top) + var(--n19-hd-h) + 33px); padding-bottom: 90px; color: #fff; overflow: hidden; background: var(--n19-primary-dark); text-align: left; }
.n19-svisual__bg { position: absolute; inset: 0; }
.n19-svisual__bg img { width: 100%; height: 100%; object-fit: cover; }
.n19-svisual__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 27, 34, .5) 0%, rgba(31, 27, 34, .2) 40%, rgba(31, 27, 34, .62) 100%); }
.n19-svisual__txt { position: relative; z-index: 2; }
.n19-svisual__en { font-family: var(--n19-display); font-size: 22px; letter-spacing: .12em; color: var(--n19-gold-light); opacity: 0; transform: translateY(24px); transition: opacity .7s ease .25s, transform .7s var(--n19-ease) .25s; }
.n19-svisual__tit { margin-top: 10px; font-family: var(--n19-serif); font-size: 60px; font-weight: 400; line-height: 1.2; letter-spacing: -0.04em; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .7s ease .35s, transform .7s var(--n19-ease) .35s; }
.n19-svisual__desc { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(20px); transition: opacity .7s ease .5s, transform .7s var(--n19-ease) .5s; }
.n19-svisual__bg img { transform: scale(1.04); opacity: 0; transition: opacity 1.2s ease, transform 1.4s var(--n19-ease); }
.n19-svisual.is-in .n19-svisual__bg img { opacity: 1; transform: none; }
.n19-svisual.is-in .n19-svisual__en, .n19-svisual.is-in .n19-svisual__tit, .n19-svisual.is-in .n19-svisual__desc { opacity: 1; transform: none; }
.n19-svisual__cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--n19-display); font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .8); }
.n19-svisual__cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); animation: n19Cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes n19Cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.n19-path { position: relative; z-index: 530; border-bottom: 1px solid var(--n19-line); background: #fff; }
.n19-path__list { display: flex; flex-wrap: nowrap; align-items: center; height: 54px; font-size: 13px; color: rgba(17, 17, 17, .55); }
.n19-path__list > li { display: flex; align-items: center; height: 54px; flex: 0 0 auto; }
.n19-path__list > li + li::before { content: "/"; margin: 0 12px; color: rgba(17, 17, 17, .25); }
.n19-path__list a { color: var(--n19-gray); }
.n19-path__home a { display: flex; align-items: center; height: 54px; font-size: 14px; color: rgba(17, 17, 17, .45); }
.n19-lnb__dep { position: relative; }
.n19-lnb__btn { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0; font-size: 13px; line-height: 1; color: rgba(17, 17, 17, .6); white-space: nowrap; }
.n19-lnb__btn i { font-size: 10px; transition: transform .2s; }
.n19-lnb__dep.is-open .n19-lnb__btn i { transform: rotate(180deg); }
.n19-lnb__dep.is-open .n19-lnb__btn { color: var(--n19-primary); }
.n19-lnb__drop { position: absolute; left: -14px; top: 100%; z-index: 520; min-width: 190px; padding: 8px 0; border: 1px solid var(--n19-line); border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(31, 27, 34, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--n19-ease); }
.n19-lnb__dep.is-open .n19-lnb__drop { opacity: 1; visibility: visible; transform: none; }
.n19-lnb__drop li { display: block; }
.n19-lnb__drop li + li { border-top: 1px solid rgba(0, 0, 0, .05); }
.n19-lnb__drop li::before { content: none; }
.n19-lnb__drop a { display: block; padding: 10px 18px; font-size: 14px; color: var(--n19-gray); white-space: nowrap; }
.n19-lnb__drop a:hover, .n19-lnb__drop a.is-on { color: var(--n19-primary); background: var(--n19-purple-soft); }
.n19-tabs { position: relative; z-index: 1; background: #fff; border-bottom: 1px solid var(--n19-line); }
.n19-tabs__list { display: flex; flex-wrap: wrap; }
.n19-tabs__list a { display: flex; align-items: center; height: 62px; padding: 0 22px; font-size: 17px; color: var(--n19-gray); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.n19-tabs__list a:hover { color: var(--n19-primary); }
.n19-tabs__list a.is-on { color: var(--n19-primary); border-color: var(--n19-primary); font-weight: 600; }
.n19-subgap { height: 90px; }

/* ---------- 푸터 (정의서 18장) · 고정 상담 패널 ---------- */
.n19-ft { background: var(--n19-footer); color: rgba(255, 255, 255, .55); padding: 60px 0 70px; }
.n19-ft__logo img { height: 30px; width: auto; opacity: .9; }
.n19-ft__links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.n19-ft__links a { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: rgba(255, 255, 255, .75); transition: all .2s; }
.n19-ft__links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.n19-ft__links b { color: #fff; font-weight: 600; }
.n19-ft address { display: block; margin-top: 26px; font-style: normal; font-size: 15px; line-height: 1.9; }
.n19-ft address span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 12px; background: rgba(255, 255, 255, .2); }
.n19-ft__warn { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .42); }
.n19-ft__copy { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .38); letter-spacing: .04em; }

.n19-rail { position: fixed; right: 30px; bottom: 40px; z-index: 800; width: 76px; }
.n19-rail ul { padding: 22px 0; border-radius: 150px; background: #fff; box-shadow: var(--n19-shadow); }
.n19-rail li + li { margin-top: 18px; }
.n19-rail li a { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--n19-ink); }
.n19-rail li a i { font-size: 17px; color: var(--n19-primary); }
.n19-rail li a:hover { color: var(--n19-primary); }
.n19-rail__call { position: relative; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-top: 14px; border-radius: 50%; background: #423351; color: #fff; font-size: 22px; box-shadow: var(--n19-shadow); }
.n19-rail__call em { position: absolute; right: calc(100% + 10px); padding: 10px 18px; border-radius: 999px; background: #423351; color: #fff; font-size: 16px; font-style: normal; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .28s var(--n19-ease); }
.n19-rail__call:hover em, .n19-rail__call:focus-visible em { opacity: 1; transform: none; }
.n19-rail__top { display: flex; align-items: center; justify-content: center; width: 76px; height: 44px; margin-top: 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--n19-ink); box-shadow: var(--n19-shadow); }
.n19-mcta { display: none; }
.n19-top { display: none; }

/* 등장 효과 */
.n19-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--n19-ease), transform .8s var(--n19-ease); }
.n19-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .n19-reveal { opacity: 1; transform: none; transition: none; }
  .n19-svisual__bg img { animation: none; }
}


/* ---------- 반응형 (정의서 21장) ---------- */
html, body { overflow-x: clip; }
@media (max-width: 1400px) {
  :root { --n19-hd-inset: 30px; --n19-gutter: 30px; }
  .n19-hd__bar { padding: 0 24px 0 30px; gap: 14px; }
  .n19-gnb__link { padding: 0 14px; font-size: 17px; }
  .n19-gnb__link::after { left: 14px; right: 14px; }
  .n19-hd__tel span { display: none; }
  .n19-mega__in { grid-template-columns: repeat(6, 1fr); }
  .n19-mega__intro { display: none; }
}
@media (max-width: 1024px) {
  :root { --n19-hd-h: 60px; --n19-hd-top: 0px; --n19-hd-inset: 0px; --n19-gutter: 24px; }
  .n19-hd { border-radius: 0; left: 0; right: 0; box-shadow: 0 4px 16px rgba(31, 27, 34, .06); }
  .n19-hd.is-scrolled .n19-hd__bar { height: 60px; padding: 0 20px; }
  .n19-hd:not(.is-in) { left: 0; right: 0; overflow: visible; }
  .n19-hd:not(.is-pop) { opacity: 1; transform: none; }
  .n19-hd:not(.is-in) .n19-hd__bar { justify-content: flex-start; padding: 0 20px; }
  .n19-hd:not(.is-in) .n19-hd__util { display: flex; }
  .n19-hd.is-in .n19-gnb, .n19-hd.is-in .n19-hd__util { animation: none; }
  .n19-hd.has-notice { top: var(--n19-notice-h); }
  .n19-hd__bar { height: 60px; padding: 0 20px; }
  .n19-gnb, .n19-mega { display: none; }
  .n19-hd__util { margin-left: auto; }
  .n19-hd__cta { height: 40px; padding: 0 18px; font-size: 15px; }
  .n19-svisual { min-height: 460px; padding-bottom: 60px; }
  .n19-svisual__en { font-size: 18px; }
  .n19-svisual__tit { font-size: 40px; }
  .n19-svisual__desc { font-size: 16px; }
  .n19-rail { display: none; }
}
@media (max-width: 767px) {
  :root { --n19-gutter: 20px; --n19-gap: 14px; --n19-notice-h: 32px; --n19-radius-top: 20px; }
  body.n19 { font-size: 17px; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .n19-notice { font-size: 12px; padding: 0 40px 0 12px; justify-content: flex-start; white-space: nowrap; overflow: hidden; }
  .n19-hd__cta { display: none; }
  .n19-hd__logo img { height: 26px; }
  .n19-svisual { min-height: 380px; padding-bottom: 40px; }
  .n19-svisual__en { font-size: 15px; }
  .n19-svisual__tit { font-size: 32px; }
  .n19-svisual__desc { font-size: 15px; }
  .n19-svisual__cue { display: none; }
  .n19-tabs__list a { height: 52px; padding: 0 14px; font-size: 15px; }
  .n19-path__home { display: none; }   /* 모바일 : 현재 페이지와 상위 1단계만 */
  .n19-path__list > li + li::before { margin: 0 8px; }
  .n19-subgap { height: 50px; }
  .n19-ft { padding: 40px 0 50px; }
  .n19-ft address span { display: block; }
  .n19-ft address span + span::before { display: none; }
  .n19-mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; display: grid; grid-template-columns: 1fr 1fr; height: 62px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -6px 18px rgba(31, 27, 34, .12); }
  .n19-mcta a { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--n19-ink); }
  .n19-mcta a.is-main { background: var(--n19-primary); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .n19-hd, .n19-mega, .n19-drawer, .n19-gnb, .n19-hd__util { transition: none; }
  .n19-svisual__bg img, .n19-svisual__en, .n19-svisual__tit, .n19-svisual__desc { opacity: 1; transform: none; transition: none; }
  .n19-svisual__cue::after { animation: none; }
  .n19-hd:not(.is-in) { left: var(--n19-hd-inset); right: var(--n19-hd-inset); overflow: visible; }
  .n19-hd:not(.is-pop) { opacity: 1; transform: none; }
  .n19-hd:not(.is-in) .n19-hd__bar { justify-content: flex-start; }
  .n19-hd:not(.is-in) .n19-gnb { display: block; }
  .n19-hd:not(.is-in) .n19-hd__util { display: flex; }
  .n19-hd.is-in .n19-gnb, .n19-hd.is-in .n19-hd__util { animation: none; }
}
