/* 원장 강조형 — 원장 얼굴과 한 문장으로 신뢰를 주는 구성. 차콜 + 와인 레드 + 로즈 샴페인 + 아이보리 */
:root { --black: #17181c; --gold: #ecc1b0; --gold-d: #9c2a42; --ink: #18191c; --muted: #707278; --cream: #f8f4ef; }

header.gnb { position: absolute; left: 0; right: 0; top: 0; z-index: 10; color: #fff; }
header.gnb .wrap { display: flex; align-items: center; height: 82px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.5px; }
.logo .mark { width: 34px; height: 34px; border: 1.5px solid var(--gold); border-radius: 8px; display: grid; place-items: center; color: var(--gold); font-weight: 800; font-size: 15px; }
.logo em { font-style: normal; color: var(--gold); }
nav.menu { display: flex; gap: 46px; margin-left: auto; font-size: 15px; font-weight: 600; }
nav.menu a.on { color: var(--gold); }
.blog { margin-left: 34px; background: var(--gold); color: var(--black); font-weight: 800; font-size: 13px; padding: 8px 18px; border-radius: 999px; }

.hero { position: relative; height: 760px; background: radial-gradient(ellipse 60% 75% at 72% 55%, #6a1d30 0%, #331219 42%, #17181c 78%); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px); }
.hero .glow { position: absolute; inset: 0; opacity: .55; }
.hero .glow::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 35% 40%, rgba(12,12,14,0) 0%, rgba(12,12,14,.6) 55%, rgba(12,12,14,.95) 100%); }
.hero .person { position: absolute; right: 150px; bottom: 0; width: 540px; height: 690px; }
.hero .person img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); filter: drop-shadow(0 0 50px rgba(236,120,140,.22)); }
.hero .copy { position: relative; padding-top: 220px; }
.hero h1 { font-size: 66px; line-height: 1.22; font-weight: 200; letter-spacing: -2px; }
.hero h1 b { font-weight: 700; color: var(--gold); }
.hero p { margin-top: 30px; font-size: 18px; line-height: 1.7; font-weight: 300; opacity: .88; }
.hero .sign { margin-top: 34px; display: flex; align-items: center; gap: 14px; font-size: 15px; }
.hero .sign::before { content: ''; width: 50px; border-top: 1px solid var(--gold); }
.hero .sign b { font-size: 22px; font-weight: 700; letter-spacing: 2px; }

.intro { padding: 130px 0; }
.intro .wrap { display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: center; }
.intro h2 { font-size: 36px; line-height: 1.4; font-weight: 800; letter-spacing: -1px; }
.intro p { margin-top: 26px; line-height: 1.85; color: #444; }
.btn-line { display: inline-block; margin-top: 34px; border: 1.5px solid var(--gold-d); color: var(--gold-d); border-radius: 999px; padding: 12px 36px; font-weight: 700; font-size: 14px; }
.intro .pic { height: 380px; border-radius: 18px; overflow: hidden; }

.campus { background: var(--cream); padding: 110px 0; }
.ttl-c { text-align: center; font-size: 42px; font-weight: 800; letter-spacing: -1.5px; }
.ttl-c span { color: var(--gold-d); }
.ttl-c + .sub { text-align: center; color: var(--muted); margin-top: 14px; }
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.cg { background: #fff; border: 1px solid #ece4e4; text-align: center; padding-bottom: 26px; }
.cg .ph { height: 200px; }
.cg h3 { margin-top: 22px; font-size: 20px; font-weight: 800; }
.cg p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.cg a { display: inline-block; margin-top: 16px; border: 1px solid var(--gold-d); color: var(--gold-d); border-radius: 999px; padding: 6px 22px; font-size: 13px; }

.boards { padding: 110px 0 130px; }
.boards .two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.board { border: 1px solid #e6e6ea; border-radius: 18px; padding: 30px 30px 20px; }
.board .bh { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; }
.board .bh span { color: #aaa; font-weight: 400; font-size: 22px; line-height: 1; }
.board table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.board th { border-bottom: 1px solid #ddd; padding: 10px 6px; font-weight: 600; }
.board td { border-bottom: 1px solid #f0f0f2; padding: 11px 6px; }
.board td.c { text-align: center; color: #666; }
.st { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 3px; color: #fff; background: #20315e; }
.st.wait { background: #9a9ca3; }

.why { background: var(--black); color: #fff; padding: 110px 0; }
.why .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid #333; }
.why .w { padding: 40px 36px; border-right: 1px solid #333; }
.why .w:last-child { border-right: 0; }
.why .w b { font-size: 46px; font-weight: 200; color: var(--gold); }
.why .w h4 { margin-top: 18px; font-size: 22px; font-weight: 700; }
.why .w p { margin-top: 12px; line-height: 1.75; opacity: .75; font-size: 15px; }

footer.ft { border-top: 1px solid #eee; padding: 34px 0; font-size: 12px; color: #666; line-height: 1.9; }

/* 서브 */
.subvis { position: relative; height: 300px; color: #fff; overflow: hidden; background: #111; }
.subvis .bg { position: absolute; inset: 0; filter: brightness(.38); }
.subvis h1 { position: relative; text-align: center; padding-top: 145px; font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.tabbar { width: 1200px; margin: -28px auto 0; position: relative; display: flex; }
.tabbar a { flex: 1; text-align: center; padding: 16px 0; background: #fff; border: 1px solid #e3e3e6; font-weight: 700; font-size: 15px; }
.tabbar a.on { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.tabbar.single a { flex: 0 0 100%; }
.stitle { text-align: center; margin-top: 90px; font-size: 32px; font-weight: 800; display: flex; align-items: center; gap: 24px; }
.stitle::before, .stitle::after { content: ''; flex: 1; border-top: 1px solid #e6e6ea; }
.greet { display: grid; grid-template-columns: 400px 1fr; gap: 60px; margin-top: 60px; }
.greet .ph { height: 520px; background: #e9e9ec; overflow: hidden; }
.greet h3 { font-size: 30px; font-weight: 800; }
.greet h3 small { font-size: 17px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.greet .msg { margin-top: 22px; line-height: 1.9; color: #333; font-size: 15px; }
.greet .msg + .msg { margin-top: 16px; }
.greet .signed { text-align: right; margin-top: 22px; color: var(--muted); font-size: 14px; }
.greet .signed b { color: var(--ink); font-size: 20px; margin-left: 8px; }
.greet .lists { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.greet .lists h4 { font-size: 18px; font-weight: 800; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.greet .lists li { font-size: 14px; line-height: 2.1; color: #444; }
.greet .lists li::before { content: '• '; color: var(--gold-d); }
.history { background: var(--cream); margin-top: 110px; padding: 20px 0 100px; }
.tl { display: grid; grid-template-columns: 360px 1fr; gap: 60px; margin-top: 60px; }
.tl .ph { height: 520px; overflow: hidden; filter: grayscale(1); opacity: .85; }
.tl ul { border-left: 1px solid #d9d2c3; padding-left: 40px; }
.tl li { background: #fff; border: 1px solid #ece6da; border-radius: 8px; padding: 18px 24px; margin-bottom: 16px; position: relative; }
.tl li::before { content: ''; position: absolute; left: -48px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold-d); }
.tl li b { font-size: 20px; font-weight: 800; }
.tl li p { font-size: 14px; color: #555; margin-top: 4px; }
.feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; padding-bottom: 120px; }
.feat3 .f { border: 1px solid #ececf0; border-radius: 14px; padding: 40px 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.04); }
.feat3 .f .ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #f7e7ea; display: grid; place-items: center; color: var(--gold-d); font-size: 26px; font-weight: 800; }
.feat3 .f h4 { margin-top: 20px; font-size: 22px; font-weight: 800; }
.feat3 .f h4 span { color: var(--gold-d); }
.feat3 .f .k { color: var(--gold-d); font-weight: 700; font-size: 14px; margin-top: 6px; }
.feat3 .f p { margin-top: 14px; font-size: 14px; color: #555; line-height: 1.8; }

.camp-h { margin-top: 70px; font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.camp-h::before { content: ''; width: 5px; height: 26px; background: var(--gold-d); }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.tg { border: 1px solid #ececf0; padding: 12px 12px 22px; text-align: center; }
.tg .ph { height: 270px; background: linear-gradient(#ececef, #d9d9de); overflow: hidden; }
.tg .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tg h5 { margin-top: 14px; font-size: 17px; font-weight: 800; }
.tg .slogan { color: var(--gold-d); font-weight: 700; font-size: 14px; margin-top: 4px; }
.tg p { color: var(--muted); font-size: 13px; margin-top: 6px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 50px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 14px; }
.form .in { border: 1px solid #ddd; border-radius: 8px; height: 50px; padding: 0 14px; display: flex; align-items: center; color: #aaa; font-weight: 400; }
.form .in.ta { height: 140px; align-items: flex-start; padding-top: 14px; }
.form .full { grid-column: 1 / -1; }
.form .agree { grid-column: 1 / -1; font-weight: 400; font-size: 14px; color: #555; }
.form .agree span { display: inline-block; width: 16px; height: 16px; border: 1px solid #bbb; border-radius: 3px; vertical-align: -3px; margin-right: 8px; }
.btn-gold { grid-column: 1 / -1; justify-self: center; background: var(--black); color: var(--gold); font-weight: 800; padding: 18px 80px; border-radius: 999px; margin-top: 10px; }
.consult-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 60px; padding-bottom: 120px; }
.side-card { background: var(--black); color: #fff; border-radius: 18px; padding: 36px; }
.side-card h4 { font-size: 20px; font-weight: 800; color: var(--gold); }
.side-card p { margin-top: 12px; line-height: 1.8; opacity: .85; font-size: 14px; }
.side-card .tel { margin-top: 20px; font-size: 30px; font-weight: 800; }
.side-card .hours { margin-top: 18px; border-top: 1px solid #333; padding-top: 16px; font-size: 14px; line-height: 1.9; opacity: .85; }

.greet .ph.director { background: radial-gradient(ellipse at 50% 35%, #7a2236, #2a1218 75%); display: flex; align-items: flex-end; justify-content: center; }
.greet .ph.director img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.tg .ph.empty { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; background: linear-gradient(#f3eeee, #e6e0e0); color: #9a9294; font-size: 12px; padding-top: 30px; }
.tg .ph.empty svg { display: block; }
.tg .ph.empty span { position: absolute; margin-bottom: 120px; }
.tg .ph { position: relative; }

/* 링크 · 추가 페이지 */
.cg a, .board td a, .board .bh a { color: inherit; }
.board .bh a { margin-left: auto; color: #aaa; font-weight: 400; font-size: 22px; line-height: 1; }
.board td a:hover { text-decoration: underline; }
.board.wide { margin-top: 30px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pager a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; color: inherit; }
.pager a.on { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.lead-c { text-align: center; color: var(--muted); margin-top: 18px; font-size: 18px; }
.cta-c { text-align: center; margin-top: 50px; }
.boards .one { max-width: 860px; margin: 50px auto 0; }
