/* ==========================================================================
   anyanggoodchois.mycafe24.com 스키마 페이지 공용 스타일
   굿초이스치과(Good Choice Dental Clinic)
   ========================================================================== */

:root {
  --gcdc-point: #0066b3;
  --gcdc-ink: #1c1e22;
  --gcdc-ink-soft: #4c5158;
  --gcdc-paper: #ffffff;
  --gcdc-sand: #eef2f6;
  --gcdc-sand-soft: #f5f8fb;
  --gcdc-muted: #767c85;
  --gcdc-line: #e3e8ee;
  --gcdc-main-soft: #e5f0f9;

  --gcdc-radius: 18px;
  --gcdc-maxw: 1160px;
}

* { box-sizing: border-box; word-break: keep-all; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gcdc-paper);
  color: var(--gcdc-ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.en { font-family: 'Montserrat', 'Pretendard Variable', sans-serif; letter-spacing: 0.04em; }
.wrap { max-width: var(--gcdc-maxw); margin: 0 auto; padding: 0 24px; }

.a11y-txt { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- header ---------- */
.gcdc-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 248, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gcdc-line);
}
.gcdc-topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.gcdc-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.gcdc-brand img { height: 30px; width: auto; }
.gcdc-brand .gcdc-brandswap {
  position: relative; display: inline-block; height: 1.3em; overflow: hidden;
  line-height: 1.3em; min-width: 140px;
}
.gcdc-brand .gcdc-brandswap .line { display: block; transition: transform .4s cubic-bezier(.65, 0, .35, 1); }
.gcdc-brand .gcdc-brandswap .line.ko { position: absolute; top: 0; left: 0; transform: translateY(100%); }
.gcdc-brand:hover .gcdc-brandswap .line.en { transform: translateY(-100%); }
.gcdc-brand:hover .gcdc-brandswap .line.ko { transform: translateY(0); }

/* ---------- nav 텍스트 더블 슬라이드(text-flip) ---------- */
.labelroll { position: relative; display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3em; vertical-align: top; }
.labelroll .line { display: block; transition: transform .35s cubic-bezier(.65,0,.35,1); white-space: nowrap; }
.labelroll .line:last-child { position: absolute; top: 0; left: 0; transform: translateY(100%); }
a:hover .labelroll .line:first-child { transform: translateY(-100%); }
a:hover .labelroll .line:last-child { transform: translateY(0); }

.gcdc-gnb { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--gcdc-ink-soft); }
.gcdc-gnb a { display: inline-block; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.gcdc-gnb a:hover, .gcdc-gnb a.on { color: var(--gcdc-ink); border-color: var(--gcdc-point); }
.gcdc-gnb .gcdc-askbtn { color: var(--gcdc-paper); padding-inline: 18px; }
.gcdc-gnb .gcdc-askbtn:hover { color: var(--gcdc-paper); border-color: transparent; }
.gcdc-gnb .gcdc-gohome { display: inline-flex; align-items: center; padding: 6px 0; }

/* ---------- 모바일 햄버거 메뉴 ---------- */
.gcdc-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; padding: 0; border: none; background: transparent; cursor: pointer;
  position: relative; z-index: 210;
}
.gcdc-burger span { display: block; width: 22px; height: 2px; background: var(--gcdc-ink); border-radius: 2px; }

.gcdc-drawer {
  position: fixed; inset: 0; height: 0; overflow: hidden;
  background: #0c0c0c; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  transition: height .5s cubic-bezier(.65, 0, .35, 1);
}
.gcdc-drawer.opened { height: 100vh; height: 100dvh; }

.gcdc-drawer-close {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
}
.gcdc-drawer-close span {
  position: absolute; top: 50%; left: 50%; width: 26px; height: 2px; background: #fff;
}
.gcdc-drawer-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.gcdc-drawer-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.gcdc-drawer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  max-height: 82vh; overflow-y: auto; padding: 40px 24px;
}
.gcdc-drawer-inner a { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.gcdc-drawer-inner a.home { font-size: 22px; }
.gcdc-drawer-inner a.on { text-decoration: underline; text-underline-offset: 6px; }
.gcdc-drawer-inner a.gcdc-pill { margin-top: 10px; background: #fff; color: #0c0c0c; font-size: 15px; }
body.gcdc-lock { overflow: hidden; }

/* ---------- buttons ---------- */
.gcdc-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: 999px; background: var(--gcdc-ink); color: var(--gcdc-paper);
  font-weight: 600; font-size: 15px; transition: transform .2s ease, opacity .2s ease;
}
.gcdc-pill:hover { transform: translateY(-2px); opacity: .88; }
.gcdc-pill.outline { background: transparent; color: var(--gcdc-ink); border: 1px solid var(--gcdc-ink); }
.gcdc-gnb .gcdc-askbtn.gcdc-pill,
.gcdc-closing .gcdc-pill { background: var(--gcdc-point); }

/* ---------- hero(top) ---------- */
.gcdc-top { padding: 96px 0 64px; }
.gcdc-top .top-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.gcdc-top .top-visual {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1;
}
.gcdc-top .top-visual img { width: 100%;border-radius: 30px; border: 1px solid rgba(0,0,0,0.1);}
.gcdc-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--gcdc-point);
  border: 1px solid var(--gcdc-line); background: var(--gcdc-main-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.gcdc-hits { display: inline-block; margin-left: 10px; font-size: 12px; color: var(--gcdc-muted); }
.gcdc-top h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.28; margin: 0 0 20px; letter-spacing: -0.01em; word-break: keep-all; }
.gcdc-top p.subcopy { font-size: 18px; color: var(--gcdc-ink-soft); max-width: 640px; margin: 0 0 30px; }
.gcdc-crumbs { font-size: 13px; color: var(--gcdc-muted); margin-bottom: 18px; }
.gcdc-crumbs a:hover { color: var(--gcdc-ink); }

/* ---------- sections ---------- */
.gcdc-block { padding: 64px 0; border-top: 1px solid var(--gcdc-line); }
.gcdc-block.flatline { border-top: none; }
.gcdc-block.tint { background: var(--gcdc-sand-soft); }
.gcdc-block h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; letter-spacing: -0.01em; word-break: keep-all; }
.gcdc-block .s-desc { color: var(--gcdc-ink-soft); font-size: 16px; max-width: 680px; margin: 0 0 40px; }
.gcdc-block .block-head { display: grid; grid-template-columns: 1fr 88px; gap: 24px; align-items: flex-start; }
.gcdc-block .block-head .title-icon {
  width: 88px; height: 88px; border-radius: 20px; background: var(--gcdc-sand-soft);
  border: 1px solid var(--gcdc-line); display: flex; align-items: center; justify-content: center; padding: 16px;
}

/* ---------- card grid (index page) ---------- */
.gcdc-tilegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gcdc-tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 28px;
  background: var(--gcdc-paper); border: 1px solid var(--gcdc-line); border-radius: var(--gcdc-radius);
  min-height: 260px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gcdc-tile:hover { transform: translateY(-6px); border-color: var(--gcdc-point); box-shadow: 0 18px 40px rgba(0, 102, 179, 0.14); }
.gcdc-tile .num { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--gcdc-muted); }
.gcdc-tile h3 { font-size: 19px; margin: 0; line-height: 1.4; }
.gcdc-tile p { font-size: 14px; color: var(--gcdc-muted); margin: 0; }
.gcdc-tile ul.hl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.gcdc-tile ul.hl-list li { font-size: 13px; color: var(--gcdc-ink-soft); padding-left: 14px; position: relative; }
.gcdc-tile ul.hl-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--gcdc-point); }
.gcdc-tile .enter { align-self: flex-start; color: var(--gcdc-point); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.gcdc-tile .enter .chev { transition: transform .2s ease; }
.gcdc-tile:hover .enter .chev { transform: translateX(4px); }

/* ---------- feature / info grid ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcdc-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.point-card { padding: 28px; border: 1px solid var(--gcdc-line); border-radius: var(--gcdc-radius); background: var(--gcdc-paper); }
.point-card .chip { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gcdc-point); margin-bottom: 12px; }
.point-card h3 { font-size: 18px; margin: 0 0 10px; }
.point-card p { font-size: 14px; color: var(--gcdc-ink-soft); margin: 0; }

/* 아이콘이 포함된 피처 카드 */
.gcdc-symcard { padding: 28px; border: 1px solid var(--gcdc-line); border-radius: var(--gcdc-radius); background: var(--gcdc-paper); }
.gcdc-symcard .sym {
  width: 44px; height: 44px; margin-bottom: 16px; padding: 9px;
  border-radius: 12px; background: var(--gcdc-main-soft); color: var(--gcdc-point);
}
.gcdc-symcard .sym svg { width: 100%; height: 100%; display: block; }
.gcdc-symcard h3 { font-size: 17px; margin: 0 0 8px; }
.gcdc-symcard p { font-size: 14px; color: var(--gcdc-ink-soft); margin: 0; }

/* ---------- process steps ---------- */
.gcdc-flow { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--gcdc-line); }
.flow-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--gcdc-line); }
.flow-item .seq { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--gcdc-point); font-size: 15px; }
.flow-item h4 { margin: 0 0 8px; font-size: 17px; }
.flow-item p { margin: 0; color: var(--gcdc-ink-soft); font-size: 14px; }

/* ---------- table ---------- */
.gcdc-infotable { width: 100%; border-collapse: collapse; font-size: 14px; }
.gcdc-infotable th, .gcdc-infotable td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--gcdc-line); }
.gcdc-infotable th { color: var(--gcdc-muted); font-weight: 600; width: 30%; }
.gcdc-infotable td.hl { color: var(--gcdc-point); font-weight: 700; }

.datatable { width: 100%; border-collapse: collapse; font-size: 14px; }
.datatable th, .datatable td { text-align: center; padding: 14px 12px; border-bottom: 1px solid var(--gcdc-line); }
.datatable th { color: var(--gcdc-muted); font-weight: 600;}
.datatable td.hl { color: var(--gcdc-point); font-weight: 700; }
.blog-latest-table { table-layout: fixed; width: 100%; }
.blog-latest-table col.col-writer {width: 20%;}
.blog-latest-table col.col-subject {width: 70%;}
.blog-latest-table col:not(.col-subject) {width: 10%;}

/* ---------- FAQ ---------- */
.gcdc-qa { border-bottom: 1px solid var(--gcdc-line); padding: 22px 0; }
.gcdc-qa .ques { display: flex; gap: 12px; font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.gcdc-qa .ques .sign { color: var(--gcdc-point); font-family: 'Montserrat', sans-serif; }
.gcdc-qa .ans { display: flex; gap: 12px; color: var(--gcdc-ink-soft); font-size: 15px; margin: 0; }
.gcdc-qa .ans .sign { color: var(--gcdc-ink); font-weight: 700; font-family: 'Montserrat', sans-serif; }

/* ---------- CTA(closing) ---------- */
.gcdc-closing { background: var(--gcdc-ink); color: var(--gcdc-paper); border-radius: 28px; padding: 64px 48px; text-align: center; }
.gcdc-closing h2 { color: var(--gcdc-paper); }
.gcdc-closing p { color: rgba(255,255,255,.72); margin: 0 auto 30px; }
.gcdc-closing .gcdc-pill { background: var(--gcdc-point); color: var(--gcdc-paper); }

/* ---------- 관련 페이지 유도 카드 ---------- */
.gcdc-nextgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gcdc-nextcard {
  display: flex; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--gcdc-line);
  border-radius: var(--gcdc-radius); background: var(--gcdc-paper); transition: border-color .2s, transform .2s;
}
.gcdc-nextcard:hover { border-color: var(--gcdc-point); transform: translateY(-4px); }
.gcdc-nextcard .sym { width: 40px; height: 40px; flex: none; padding: 8px; background: var(--gcdc-main-soft); color: var(--gcdc-point); border-radius: 10px; }
.gcdc-nextcard .sym svg { width: 100%; height: 100%; display: block; }
.gcdc-nextcard h3 { margin: 0 0 4px; font-size: 16px; }
.gcdc-nextcard p { margin: 0; font-size: 13px; color: var(--gcdc-muted); }

/* ---------- footer ---------- */
.gcdc-foot { border-top: 1px solid var(--gcdc-line); padding: 40px 0; font-size: 13px; color: var(--gcdc-muted); }
.gcdc-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.gcdc-foot address { font-style: normal; line-height: 1.8; }
.gcdc-foot address a { text-decoration: none; }
.gcdc-foot address strong a { color: var(--gcdc-ink); }
.gcdc-foot .chan a { margin-left: 14px; }
.gcdc-foot .chan a:hover { color: var(--gcdc-point); }

@media (max-width: 960px) {
  .gcdc-tilegrid { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: repeat(2, 1fr); }
  .gcdc-grid-2, .gcdc-nextgrid { grid-template-columns: 1fr; }
  .gcdc-gnb { display: none; }
  .gcdc-burger { display: flex; }
  .gcdc-top .top-grid { grid-template-columns: 1fr; }
  .gcdc-top .top-visual { order: -1; max-width: 240px; margin: 0 auto; }
  .gcdc-block .block-head { grid-template-columns: 1fr; }
  .gcdc-block .block-head .title-icon { order: -1; }
.gcdc-top { padding-top: 10vw;}
  .gcdc-blogtop {padding-top: 0;}
  .col-writer, .col-date, .tb-writer, .tb-date {display: none;}
}

@media (min-width: 961px) {
  .gcdc-drawer { display: none; }
}

@media (max-width: 620px) {
  .gcdc-tilegrid { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .flow-item { grid-template-columns: 1fr; }
  .gcdc-closing { padding: 48px 24px; }
  .datatable td.tb-subject {text-align: left;}
}
