* {
  box-sizing: border-box;
}
:root {
  --ink: #173345;
  --accent: #258980;
  --paper: #fff;
  --soft: #f2f7f7;
  --line: #dce5e7;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    18px/1.75 "Pretendard",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}
body.large-text {
  font-size: 20px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.35;
}
h1 {
  font-size: clamp(36px, 4vw, 56px);
}
h2 {
  font-size: clamp(29px, 3vw, 42px);
}
h3 {
  font-size: 24px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 92px;
}
.section.soft {
  background: var(--soft);
}
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent);
}
.lead {
  margin-top: 24px;
  font-size: 19px;
  opacity: 0.75;
  max-width: 720px;
}
.note {
  font-size: 14px;
  color: #657480;
  margin-top: 22px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 40px;
}
.section-title > a {
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.split > * {
  min-width: 0;
}
.split .photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 15px 25px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  font-size: 16px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-3px);
  filter: brightness(0.94);
}
.button.outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #fff;
  color: #152b3e;
  padding: 14px 24px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.font-button {
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff40;
  font-size: 12px;
  padding: 1px 9px;
}
.header {
  background: #fff;
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 88px;
}
.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand small {
  display: block;
  font:
    9px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.23em;
  margin-top: 5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 16px;
}
.main-nav > a {
  padding: 25px 0;
}
.main-nav > a[aria-current="page"] {
  color: var(--accent);
  font-weight: 800;
}
.main-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 7px 12px;
  background: transparent;
}
.sub-hero {
  padding: 65px 0 55px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.breadcrumb {
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 15px;
}
.sub-hero .lead {
  margin: 20px auto 0;
  font-size: 17px;
}
.local-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}
.local-nav a {
  padding: 8px 15px;
  font-size: 14px;
  border: 1px solid var(--line);
}
.local-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.feature-card {
  border: 1px solid var(--line);
  padding: 30px;
  background: #fff;
}
.feature-card .number {
  display: block;
  font:
    36px Georgia,
    serif;
  color: var(--accent);
  margin-bottom: 30px;
}
.feature-card h3 {
  margin-bottom: 15px;
}
.feature-card p {
  font-size: 16px;
  opacity: 0.72;
}
.image-card {
  border: 1px solid var(--line);
  background: #fff;
  display: block;
  overflow: hidden;
}
.image-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s;
}
.image-card:hover img {
  transform: scale(1.025);
}
.image-card .card-body {
  padding: 28px;
}
.image-card p {
  font-size: 16px;
  margin-top: 12px;
  opacity: 0.75;
}
.text-link {
  display: inline-block;
  color: var(--accent);
  font-size: 15px;
  margin-top: 22px;
}
.photo-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 580px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink);
  isolation: isolate;
}
.photo-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.photo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #09233666;
  z-index: -1;
}
.photo-banner h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.35;
  font-weight: 500;
}
.photo-banner .eyebrow {
  color: #fff;
  opacity: 0.8;
}
.photo-banner .lead {
  color: #fff;
  opacity: 0.85;
  margin: 24px auto 0;
}
.hero-inner {
  padding-block: 65px;
}
.hero-inner .button {
  margin-top: 30px;
}
.hero-control {
  position: absolute;
  right: 48px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.hero-control button {
  border: 1px solid #ffffff66;
  background: transparent;
  color: #fff;
  width: 36px;
  height: 36px;
}
.hero-control .slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  background: #ffffff60;
  border: 0;
}
.hero-control .slide-dot[aria-pressed="true"] {
  background: #fff;
  width: 25px;
  border-radius: 10px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 23px;
  font-size: 16px;
}
.tabs button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.link-grid a {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 7px;
  background: #fff;
}
.link-grid a:hover {
  background: var(--soft);
}
.link-grid strong {
  font-size: 21px;
}
.link-grid span {
  font-size: 15px;
  opacity: 0.65;
}
.callout {
  background: var(--ink);
  color: #fff;
  padding: 55px 0;
}
.callout .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.callout p {
  margin-top: 12px;
  opacity: 0.7;
  font-size: 16px;
}
.callout .button {
  white-space: nowrap;
}
.footer {
  padding: 55px 0 85px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 45px;
}
.footer h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.footer p,
.footer a {
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.footer-bottom {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #71808a;
}
.quick-rail {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 66px;
  box-shadow: 0 8px 25px #00172715;
}
.quick-rail a {
  background: var(--accent);
  color: #fff;
  padding: 17px 8px;
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
  border-bottom: 1px solid #ffffff33;
}
.quick-rail a:last-child {
  background: var(--ink);
}
.timeline {
  border-top: 1px solid var(--line);
}
.timeline article {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  gap: 35px;
}
.timeline b {
  font:
    30px Georgia,
    serif;
  color: var(--accent);
}
.timeline h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.timeline p {
  font-size: 16px;
  opacity: 0.7;
}
.detail-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.detail-list li {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 17px;
}
.detail-list b {
  display: inline-block;
  min-width: 110px;
  margin-right: 15px;
}
.board-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.board-tools label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.board-tools input,
.board-tools select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: 0;
}
.board-tools label.search-label {
  margin-left: auto;
}
.board-row {
  display: grid;
  grid-template-columns: 55px 80px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 25px 10px;
}
.board-row:first-child {
  border-top: 2px solid var(--ink);
}
.board-row .post-category {
  font-size: 13px;
  color: var(--accent);
}
.board-row h3 {
  font-size: 19px;
  font-weight: 500;
}
.board-row time,
.board-row .post-number {
  font-size: 14px;
  opacity: 0.55;
}
.board-row:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.board-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.pagination {
  display: flex;
  gap: 8px;
}
.pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
}
.pagination button[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}
.empty-message {
  padding: 70px 20px;
  text-align: center;
  background: var(--soft);
}
.article {
  max-width: 900px;
  margin: auto;
}
.article-head {
  text-align: center;
  padding-bottom: 35px;
  border-bottom: 2px solid var(--ink);
}
.article-head h2 {
  font-size: 34px;
}
.article-head p {
  margin-top: 20px;
  font-size: 14px;
  color: #71808a;
}
.article-body {
  padding: 45px 0;
  min-height: 280px;
}
.article-body p {
  margin-bottom: 22px;
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.form-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.demo-form {
  border: 1px solid var(--line);
  padding: 38px;
  background: #fff;
  color: var(--ink);
}
.demo-form h2 {
  font-size: 28px;
  margin-bottom: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 16px;
}
.demo-form label.full {
  grid-column: 1 / -1;
}
.demo-form input,
.demo-form textarea,
.demo-form select {
  padding: 12px 14px;
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  min-width: 0;
  border-radius: 0;
}
.demo-form textarea {
  resize: vertical;
  min-height: 140px;
}
.demo-form .note {
  margin: 0 0 22px;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
dialog {
  width: min(510px, calc(100% - 36px));
  border: 0;
  padding: 35px;
  color: var(--ink);
  background: #fff;
}
dialog h2 {
  font-size: 26px;
}
dialog p {
  margin: 22px 0;
  font-size: 17px;
}
dialog::backdrop {
  background: #0a2039aa;
  backdrop-filter: blur(3px);
}
dialog .button {
  width: 100%;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
summary {
  font-size: 20px;
  font-weight: 600;
}
details p {
  padding-top: 18px;
  font-size: 17px;
  opacity: 0.7;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
  font-size: 16px;
}
caption {
  text-align: left;
  font-size: 15px;
  margin-bottom: 18px;
  color: #6e7980;
}
th,
td {
  padding: 22px;
  border: 1px solid var(--line);
  text-align: left;
}
thead {
  background: var(--soft);
}
.illustrative-map {
  min-height: 320px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(0deg, #e9efeb 0, #e9efeb 70px, #fff 70px, #fff 91px),
    repeating-linear-gradient(90deg, transparent 0, transparent 80px, #fff 80px, #fff 100px);
  border: 1px solid var(--line);
  position: relative;
}
.map-label {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 22px 30px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 12px 25px #10263720;
}
.map-label small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}
.map-road {
  position: absolute;
  background: #fff;
  width: 30px;
  height: 100%;
  transform: rotate(30deg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.gallery-grid img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.gallery-grid figcaption {
  font-size: 17px;
  margin-top: 14px;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.js [data-reveal].visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 15px;
    font-size: 14px;
  }
  .brand {
    font-size: 22px;
  }
  .quick-rail {
    width: 54px;
  }
  .cards.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 62px;
  }
  .header-row {
    min-height: 76px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav > a {
    padding: 12px 5px;
    font-size: 17px;
  }
  .main-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }
  .split,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cards,
  .cards.four,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    align-items: start;
  }
  .section-title > a {
    font-size: 13px;
  }
  .photo-banner {
    min-height: 530px;
  }
  .photo-banner h1 {
    font-size: 42px;
  }
  .hero-control {
    right: 20px;
    bottom: 20px;
  }
  .hero-inner {
    padding-block: 50px 80px;
  }
  .sub-hero {
    padding: 44px 0 38px;
  }
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }
  .link-grid a {
    padding: 20px 15px;
  }
  .link-grid strong {
    font-size: 18px;
  }
  .link-grid span {
    font-size: 13px;
  }
  .callout .wrap {
    align-items: start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .quick-rail {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
  }
  .quick-rail a {
    flex: 1;
    padding: 10px;
    font-size: 13px;
  }
  .timeline article {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }
  .timeline b {
    font-size: 25px;
  }
  .board-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .board-tools label.search-label {
    margin-left: 0;
  }
  .board-tools input {
    flex: 1;
    width: 100%;
  }
  .board-row {
    grid-template-columns: 55px 1fr;
    gap: 7px;
    padding-block: 20px;
  }
  .board-row .post-number {
    display: none;
  }
  .board-row time {
    grid-column: 2;
  }
  .board-row h3 {
    font-size: 17px;
  }
  .board-bottom {
    flex-wrap: wrap;
  }
  .demo-form {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-head h2 {
    font-size: 27px;
  }
  .split .photo {
    height: 340px;
  }
  .topbar {
    font-size: 11px;
  }
  .topbar-links {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.clinic-slider {
  position: relative;
}
.clinic-slider .photo-banner {
  min-height: 580px;
}
.clinic-slider .photo-banner > img {
  object-position: center 48%;
}
.clinic-slider [data-slide]:nth-child(2)::after,
.clinic-slider [data-slide]:nth-child(3)::after {
  background: #082b4280;
}
.clinic-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  margin-top: -1px;
}
.clinic-quick > a {
  background: #f1f6f6;
  padding: 34px 25px;
  border-right: 1px solid #dce7e7;
}
.clinic-quick > a:first-child {
  background: #35998f;
  color: #fff;
}
.clinic-quick small {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.clinic-quick h2 {
  font-size: 24px;
  margin-top: 20px;
}
.clinic-quick p {
  font-size: 15px;
  margin: 15px 0 22px;
  opacity: 0.7;
}
.clinic-quick span {
  font-size: 14px;
}
.clinic-news {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: start;
}
.home-posts > a {
  display: grid;
  grid-template-columns: 55px 1fr 85px 15px;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.home-posts > a:first-child {
  border-top: 2px solid var(--ink);
}
.home-posts span {
  color: var(--accent);
  font-size: 12px;
}
.home-posts h3 {
  font-size: 18px;
  font-weight: 500;
}
.home-posts time {
  font-size: 12px;
  opacity: 0.55;
}
.home-posts b {
  font-size: 17px;
  font-weight: 400;
}
.doctor-preview img {
  height: 440px;
  width: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.split .button {
  margin-top: 30px;
}
.department-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 45px 0;
  scroll-margin-top: 120px;
}
.department-detail .number {
  font:
    45px Georgia,
    serif;
  color: #76ada6;
}
.department-detail p {
  margin-top: 20px;
  max-width: 800px;
}
.department-actions {
  display: flex;
  gap: 25px;
  margin-top: 25px;
  color: var(--accent);
  font-size: 16px;
}
.profile {
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.profile:last-child {
  margin-bottom: 0;
}
.profile img {
  object-position: center 25%;
}
.profile small {
  font-size: 18px;
  font-weight: 400;
}
.wide-photo {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}
.space-top {
  padding-bottom: 0;
}
.clinic .form-layout .photo {
  max-height: 260px;
  object-fit: cover;
  margin-top: 30px;
}
@media (max-width: 800px) {
  .clinic-quick {
    grid-template-columns: 1fr 1fr;
  }
  .clinic-quick > a {
    padding: 22px 17px;
    border-bottom: 1px solid var(--line);
  }
  .clinic-quick h2 {
    font-size: 20px;
  }
  .clinic-quick p {
    font-size: 14px;
  }
  .clinic-news {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-posts > a {
    grid-template-columns: 48px 1fr 15px;
    gap: 10px;
  }
  .home-posts time {
    grid-column: 2;
  }
  .home-posts b {
    grid-column: 3;
    grid-row: auto;
  }
  .home-posts h3 {
    font-size: 17px;
  }
  .department-detail {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }
  .department-detail .number {
    font-size: 32px;
  }
  .doctor-preview img {
    height: 330px;
  }
  .clinic-slider .photo-banner {
    min-height: 510px;
  }
  .clinic-slider h1 {
    font-size: 37px;
  }
}
