/* ==========================================================================
   AILO SmallBiz S34 — 우리동네 햇살가정의원 (동네 의원 · 내과·가정의학과)
   원형: C 분할 대형 사진형 — 상단 진료 상태 줄 + 흰 헤더, 글 44% + 사진 56%(화면 끝까지) + 사진 위 "오늘 진료" 카드 1개.
         주간 진료시간표(오늘 열 강조), 진료과목 3, 검진·예방접종 표, 원장 사실형 경력, 시간대별 혼잡도(예시), 공지 + FAQ
   타이포: Pretendard + Atkinson Hyperlegible(시간·숫자·영문 eyebrow — 읽기 쉬운 숫자)
   컬러: 화이트 + 클린 블루 #2a6fb0, 딥 네이비 #10263d(상단 줄·푸터), 진료 중 그린 #1e8a5a
   의료광고 규정: 효과 보장·최고·전후 사진·할인·치료 후기 없음, 경력은 사실형
   ========================================================================== */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #14212e;
  --ailo-muted: #4a5765;
  --ailo-line: #e1e7ee;
  --ailo-accent: #2a6fb0;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 80px;
  --ailo-max: 1320px;

  --s34-blue: #2a6fb0;
  --s34-blue-d: #1f5a92;
  --s34-navy: #10263d;
  --s34-tint: #eef4fa;
  --s34-soft: #f5f8fb;
  --s34-green: #1e8a5a;
  --s34-red: #b2483b;
  --s34-num: "Atkinson Hyperlegible", "Pretendard Variable", Pretendard, sans-serif;
  --s34-sec: clamp(80px, 8.5vw, 128px);
  --s34-util-h: 40px;
  --ailo-chip-radius: 8px;
}

body { font-size: 17px; line-height: 1.7; font-synthesis: none; }
section[id] { scroll-margin-top: calc(var(--ailo-header-h) + var(--s34-util-h)); }
.sec { padding-block: var(--s34-sec); position: relative; }

/* ---------- 공통 글자 ---------- */
.eb { font-family: var(--s34-num); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--s34-blue); }
.eb--light { color: #9cc4ea; }
.tt { margin-top: 10px; font-size: clamp(30px, 2.2vw + 14px, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.lead { font-size: 17px; color: var(--ailo-muted); max-width: 32em; }
.head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.head-split--tight { margin-bottom: 28px; }
.more { font-size: 16px; font-weight: 600; color: var(--s34-blue); display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: "\2192"; transition: transform .25s var(--ailo-ease); }
.more:hover { color: var(--s34-blue-d); }
.more:hover::after { transform: translateX(4px); }

/* ---------- 버튼 ---------- */
.btn-m { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.btn-m--blue { background: var(--s34-blue); color: #fff; }
.btn-m--blue:hover { background: var(--s34-blue-d); color: #fff; }
.btn-m--line { border-color: #c5d1dd; color: var(--ailo-fg); background: #fff; }
.btn-m--line:hover { border-color: var(--s34-blue); color: var(--s34-blue); }
.btn-m--white { background: #fff; color: var(--s34-navy); }
.btn-m--white:hover { background: var(--s34-tint); color: var(--s34-navy); }
.btn-m--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-m--block { width: 100%; }

/* ---------- 상태 점 ---------- */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #9aa5b1; flex: none; position: relative; }
.dot.is-open { background: var(--s34-green); box-shadow: 0 0 0 4px rgba(30, 138, 90, .18); }
.dot--lg { width: 14px; height: 14px; }
.dot--lg.is-open { box-shadow: 0 0 0 6px rgba(30, 138, 90, .16); }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 38, 61, .35); }
.util { background: var(--s34-navy); color: #dbe6f1; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--s34-util-h); }
.util__now { display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; overflow: hidden; }
.util__now b { color: #fff; font-weight: 700; }
.util__sub { color: #b8c9da; overflow: hidden; text-overflow: ellipsis; }
.util__fix { display: flex; gap: 20px; font-size: 14px; color: #b8c9da; }
.util__fix b { color: #fff; font-family: var(--s34-num); font-weight: 700; }
.hd__in { display: flex; align-items: center; gap: 28px; height: var(--ailo-header-h); border-bottom: 1px solid var(--ailo-line); }
.hd .ailo-wrap.hd__in { max-width: none; padding-inline: max(var(--ailo-gutter), calc((100% - var(--ailo-max)) / 2 + var(--ailo-gutter))); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--s34-blue); color: #fff; padding: 5px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__mark svg path:last-child { fill: var(--s34-blue); }
.logo__txt { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.logo__txt small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--s34-blue); margin-bottom: 2px; }
.gnb { margin-left: auto; }
.gnb__list { display: flex; gap: clamp(16px, 2vw, 30px); }
.gnb__list a { font-size: 16.5px; font-weight: 600; padding: 28px 0; position: relative; }
.gnb__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--s34-blue); transform: scaleX(0); transition: transform .25s var(--ailo-ease); }
.gnb__list a:hover { color: var(--s34-blue); }
.gnb__list a:hover::after { transform: scaleX(1); }
.hd__aux { display: flex; align-items: center; gap: 16px; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--s34-num); font-size: 19px; font-weight: 700; color: var(--s34-navy); white-space: nowrap; }
.hd__tel i { font-size: 14px; color: var(--s34-blue); }
@media (max-width: 1279.98px) { .hd__tel { display: none; } }
@media (max-width: 991.98px) {
  .gnb, .util__fix { display: none; }
  .hd__aux { margin-left: auto; }
}
@media (max-width: 575.98px) {
  :root { --ailo-header-h: 64px; --s34-util-h: 36px; }
  .hd__aux { display: none; }
  .ailo-burger { margin-left: auto; }
  .util__now, .util__fix { font-size: 13px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__txt { font-size: 18px; }
}

.mnav { background: #fff; }
.mnav__in { padding: calc(var(--ailo-header-h) + var(--s34-util-h) + 20px) var(--ailo-gutter) 48px; }
.mnav__list a { display: flex; justify-content: space-between; align-items: center; font-size: 21px; font-weight: 700; padding: 15px 0; border-bottom: 1px solid var(--ailo-line); }
.mnav__list a::after { content: "\203A"; color: var(--s34-blue); font-size: 24px; }
.mnav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 56%); min-height: clamp(600px, calc(100svh - 120px), 780px); background: var(--s34-soft); }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(32px, 4vw, 72px) 64px max(var(--ailo-gutter), calc((100vw - var(--ailo-max)) / 2 + var(--ailo-gutter))); }
.hero__eb { font-family: var(--s34-num); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--s34-blue); }
.hero__title { margin-top: 18px; font-size: clamp(36px, 3.6vw + 6px, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.hero__title em { font-style: normal; color: var(--s34-blue); }
.hero__sub { margin-top: 24px; font-size: 18px; color: var(--ailo-muted); max-width: 30em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #d7e0ea; }
.hero__facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ailo-muted); line-height: 1.5; }
.hero__facts i { margin-top: 3px; color: var(--s34-blue); font-size: 17px; }
.hero__facts b { display: block; font-size: 16px; color: var(--ailo-fg); }
.hero__media { position: relative; min-height: 100%; }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.today { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); width: min(340px, calc(100% - 40px)); padding: 24px; border-radius: 10px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(16, 38, 61, .45); }
.today__h { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; color: var(--s34-blue); }
.today__h time { color: var(--ailo-muted); font-weight: 600; }
.today__time { margin-top: 8px; font-family: var(--s34-num); font-size: 34px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--s34-navy); font-variant-numeric: tabular-nums; }
.today__note { margin-top: 6px; font-size: 14px; color: var(--ailo-muted); }
.today__wait { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--s34-tint); }
.today__lbl { font-size: 14px; font-weight: 600; }
.today__lbl em { font-style: normal; margin-left: 4px; padding: 1px 7px; border-radius: 4px; background: #fff; color: var(--s34-blue); font-size: 13px; }
.today__num { font-size: 15px; color: var(--ailo-muted); }
.today__num b { font-family: var(--s34-num); font-size: 22px; color: var(--s34-navy); }
@media (max-width: 1199.98px) { .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
@media (max-width: 991.98px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__text { padding: 48px var(--ailo-gutter) 40px; }
  .hero__media { min-height: 0; }
  .hero__media > img { position: static; aspect-ratio: 16 / 10; height: auto; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .hero__title { font-size: clamp(30px, 8.4vw, 36px); }
  .hero__sub { font-size: 17px; }
  .hero__btns .btn-m { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; padding-top: 22px; }
  .hero__facts li { flex-direction: column; gap: 6px; font-size: 14px; }
  .hero__facts b { font-size: 15px; }
  .hero__media > img { aspect-ratio: 4 / 3; }
  .today { position: relative; left: auto; bottom: auto; width: auto; margin: -48px var(--ailo-gutter) 0; }
}

/* ---------- Quick ---------- */
.quick { border-bottom: 1px solid var(--ailo-line); }
.quick__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick a { display: flex; align-items: center; gap: 16px; padding: 28px 24px; border-right: 1px solid var(--ailo-line); transition: background-color .2s; }
.quick a:first-child { border-left: 1px solid var(--ailo-line); }
.quick a i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--s34-tint); color: var(--s34-blue); font-size: 19px; flex: none; }
.quick a span { font-size: 15px; color: var(--ailo-muted); line-height: 1.45; }
.quick a b { display: block; font-size: 17px; color: var(--ailo-fg); }
.quick a:hover { background: var(--s34-soft); }
@media (max-width: 991.98px) { .quick__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quick a:nth-child(3) { border-left: 1px solid var(--ailo-line); } .quick a:nth-child(-n+2) { border-bottom: 1px solid var(--ailo-line); } }
@media (max-width: 575.98px) {
  .quick__in { padding-inline: 0; }
  .quick a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 16px; }
  .quick a:first-child, .quick a:nth-child(3) { border-left: 0; }
}

/* ---------- Hours ---------- */
.hours { background: var(--s34-soft); }
.hours__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hours__now { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 20px 22px; border-radius: 10px; background: #fff; border: 1px solid var(--ailo-line); }
.hours__state { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.hours__sub { font-size: 15px; color: var(--ailo-muted); }
.hours__notes { margin-top: 24px; }
.hours__notes li { position: relative; padding-left: 16px; margin-top: 10px; font-size: 16px; color: var(--ailo-muted); }
.hours__notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--s34-blue); }
.hours__notes b { color: var(--ailo-fg); }
.hours__notes a { color: var(--s34-blue); text-decoration: underline; text-underline-offset: 3px; }
.hours__info { margin-top: 20px; font-size: 14px; color: var(--ailo-muted); }
.tt-wrap { overflow-x: auto; background: #fff; border-radius: 12px; border: 1px solid var(--ailo-line); padding: 8px 20px 20px; }
.tbl { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.tbl thead th { padding: 14px 0 10px; font-size: 16px; font-weight: 700; text-align: center; color: var(--ailo-fg); }
.tbl thead th:first-child { width: 118px; }
.tbl thead th[data-d="6"] { color: var(--s34-blue); }
.tbl thead th[data-d="0"] { color: var(--s34-red); }
.tbl tbody th { padding: 12px 8px 12px 0; text-align: left; font-size: 16px; font-weight: 700; line-height: 1.3; }
.tbl tbody th small { display: block; margin-top: 2px; font-family: var(--s34-num); font-size: 13px; font-weight: 400; color: var(--ailo-muted); }
.tbl td { height: 64px; padding: 6px; border-radius: 6px; text-align: center; vertical-align: middle; font-size: 15px; font-weight: 700; background: var(--s34-tint); color: var(--s34-blue-d); }
.tbl td small { display: block; margin-top: 2px; font-family: var(--s34-num); font-size: 13px; font-weight: 400; color: var(--ailo-muted); line-height: 1.35; }
.tbl .is-lunch td { height: 40px; background: #f1f3f6; color: var(--ailo-muted); font-weight: 500; font-size: 14px; }
.tbl .is-off { background: #f6f2f1; color: #9a6f69; font-weight: 600; }
.tbl .is-night .is-on { background: var(--s34-blue); color: #fff; }
.tbl thead th.is-today { color: #fff; background: var(--s34-navy); border-radius: 6px; }
.tbl td.is-today { box-shadow: inset 0 0 0 1px var(--s34-navy); }
.tbl__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 14px; color: var(--ailo-muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 6px; }
.lg:first-child { margin-left: 0; }
.lg--on { background: var(--s34-tint); box-shadow: inset 0 0 0 1px #c7d9ec; }
.lg--night { background: var(--s34-blue); }
.lg--off { background: #f6f2f1; box-shadow: inset 0 0 0 1px #e6d8d5; }
@media (max-width: 991.98px) { .hours__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) { .tt-wrap { padding: 4px 12px 16px; } }

/* ---------- Departments ---------- */
.dept__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dc { padding: 36px 32px; border-radius: 12px; border: 1px solid var(--ailo-line); background: #fff; transition: box-shadow .3s, border-color .3s; }
.dc:hover { border-color: #c7d9ec; box-shadow: 0 18px 36px -24px rgba(16, 38, 61, .35); }
.dc__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--s34-tint); color: var(--s34-blue); font-size: 22px; }
.dc h3 { margin-top: 24px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.dc > p { margin-top: 10px; font-size: 16px; color: var(--ailo-muted); }
.dc ul { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ailo-line); }
.dc li { position: relative; padding: 7px 0 7px 26px; font-size: 16px; }
.dc li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 8px; font-size: 13px; color: var(--s34-blue); }
.dc li small { font-size: 14px; color: var(--ailo-muted); }
.care { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px 40px; align-items: center; margin-top: 24px; padding: 28px 32px; border-radius: 12px; background: var(--s34-navy); color: #e3ecf5; }
.care h3 { font-size: 20px; font-weight: 800; color: #fff; }
.care ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.care li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.care li i { margin-top: 4px; color: #8fbde8; }
@media (max-width: 1199.98px) { .care { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991.98px) { .dept__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .care ul { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
@media (max-width: 575.98px) { .dc { padding: 28px 22px; } .care { padding: 24px 20px; } }

/* ---------- Checkup ---------- */
.checkup { background: var(--s34-soft); }
.checkup__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.ck, .vx { background: #fff; border-radius: 12px; border: 1px solid var(--ailo-line); padding: clamp(24px, 3vw, 40px); }
.ck h3, .vx h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; gap: 10px; align-items: center; }
.ck h3 i, .vx h3 i { color: var(--s34-blue); }
.ck__list { margin: 20px 0 0; }
.ck__list div { padding: 14px 0; border-top: 1px solid var(--ailo-line); }
.ck__list dt { font-size: 17px; font-weight: 700; }
.ck__list dd { margin: 2px 0 0; font-size: 15.5px; color: var(--ailo-muted); }
.ck__prep { margin-top: 12px; padding: 20px 22px; border-radius: 10px; background: var(--s34-tint); }
.ck__prep-h { font-size: 16px; font-weight: 800; color: var(--s34-blue-d); }
.ck__prep li { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; font-size: 16px; }
.ck__prep li b { flex: none; width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--s34-blue); color: #fff; font-family: var(--s34-num); font-size: 13px; }
.vx__tbl { width: 100%; margin-top: 16px; border-collapse: collapse; }
.vx__tbl th, .vx__tbl td { padding: 14px 10px; border-bottom: 1px solid var(--ailo-line); text-align: left; vertical-align: top; }
.vx__tbl thead th { padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--ailo-muted); border-bottom: 1px solid var(--ailo-fg); }
.vx__tbl th:first-child { padding-left: 0; }
.vx__tbl td:last-child, .vx__tbl th:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.vx__tbl tbody th { font-size: 16px; font-weight: 700; }
.vx__tbl td { font-size: 15.5px; color: var(--ailo-muted); }
.vx__tbl td:last-child { font-family: var(--s34-num); font-weight: 700; color: var(--s34-navy); font-size: 16px; }
.vx__note { margin-top: 16px; font-size: 15px; color: var(--ailo-muted); }
.vx__note a { color: var(--s34-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) { .checkup__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) {
  .vx__tbl thead th:nth-child(2) { display: none; }
  .vx__tbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; border-bottom: 1px solid var(--ailo-line); }
  .vx__tbl tbody th, .vx__tbl tbody td { border: 0; padding: 0; }
  .vx__tbl tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .vx__tbl tbody td:last-child { grid-column: 2; grid-row: 1; }
}

/* ---------- Doctor ---------- */
.doctor__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.doctor__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.doctor__name { margin-top: 24px; font-size: 18px; }
.doctor__name b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-right: 4px; }
.doctor__name span { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: var(--s34-tint); color: var(--s34-blue-d); font-size: 14px; font-weight: 700; vertical-align: 3px; }
.doctor__msg { margin-top: 18px; font-size: 17px; color: #36424f; line-height: 1.8; }
.doctor__cv { margin-top: 28px; border-top: 1px solid var(--ailo-fg); }
.doctor__cv li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ailo-line); font-size: 16px; }
.doctor__cv span { font-size: 14px; font-weight: 700; color: var(--s34-blue); padding-top: 2px; }
.doctor__rule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.doctor__rule li { padding: 18px; border-radius: 10px; background: var(--s34-soft); font-size: 15px; color: var(--ailo-muted); line-height: 1.6; }
.doctor__rule b { display: block; margin-bottom: 6px; font-size: 16px; color: var(--ailo-fg); }
@media (max-width: 991.98px) { .doctor__grid { grid-template-columns: minmax(0, 1fr); } .doctor__pic img { aspect-ratio: 16 / 10; } }
@media (max-width: 767.98px) { .doctor__rule { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* ---------- Flow ---------- */
.flow { background: var(--s34-soft); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: 12px; background: #fff; border: 1px solid var(--ailo-line); }
.steps li:not(:last-child)::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -14px; top: 36px; z-index: 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--s34-blue); color: #fff; font-size: 10px; }
.steps__no { font-family: var(--s34-num); font-size: 15px; font-weight: 700; color: var(--s34-blue); }
.steps h3 { margin-top: 8px; font-size: 20px; font-weight: 800; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--ailo-muted); line-height: 1.65; }
.crowd { margin-top: 24px; padding: clamp(24px, 3vw, 36px); border-radius: 12px; background: #fff; border: 1px solid var(--ailo-line); }
.crowd__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.crowd__head h3 { font-size: 20px; font-weight: 800; }
.crowd__head h3 small { margin-left: 6px; padding: 2px 8px; border-radius: 4px; background: var(--s34-tint); color: var(--s34-blue); font-size: 13px; font-weight: 700; vertical-align: 2px; }
.crowd__legend { display: flex; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--ailo-muted); }
.lg--low { background: #bcd6ee; } .lg--mid { background: #6ea2d4; } .lg--high { background: var(--s34-blue-d); }
.crowd__bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: end; height: 180px; margin-top: 24px; }
.crowd__bars li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.crowd__bars i { display: block; width: 100%; max-width: 52px; height: calc(var(--v) * 140px); min-height: 4px; border-radius: 6px 6px 2px 2px; background: #bcd6ee; transition: height .6s var(--ailo-ease); }
.crowd__bars .is-mid i { background: #6ea2d4; }
.crowd__bars .is-high i { background: var(--s34-blue-d); }
.crowd__bars .is-lunch i { background: #e3e8ee; }
.crowd__bars b { font-family: var(--s34-num); font-size: 14px; font-weight: 700; color: var(--ailo-muted); }
.crowd__bars .is-now b { color: #fff; background: var(--s34-navy); border-radius: 4px; padding: 0 6px; }
.crowd__bars .is-now i { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--s34-navy); }
.crowd__tip { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ailo-line); font-size: 15.5px; color: var(--ailo-muted); }
.crowd__tip i { color: var(--s34-blue); margin-right: 4px; }
.tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tour img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.tour span { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; }
@media (max-width: 991.98px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
  .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps li::after { display: none; }
  .crowd__bars { gap: 3px; height: 150px; }
  .crowd__bars i { height: calc(var(--v) * 110px); }
  .crowd__bars b { font-size: 13px; }
  .crowd__bars .is-now b { padding: 0 2px; }
  .tour { gap: 10px; }
}

/* ---------- Notice + FAQ ---------- */
.board__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.nt__list { border-top: 1px solid var(--ailo-fg); }
.nt__list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ailo-line); }
.nt__cat { padding: 3px 10px; border-radius: 6px; background: var(--s34-tint); color: var(--s34-blue-d); font-size: 14px; font-weight: 700; white-space: nowrap; }
.nt__cat--red { background: #f8ebe9; color: var(--s34-red); }
.nt__t { font-size: 16.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.nt__list time { font-family: var(--s34-num); font-size: 14px; color: var(--ailo-muted); white-space: nowrap; }
.nt__list a:hover .nt__t { color: var(--s34-blue); }
.faq details { border-bottom: 1px solid var(--ailo-line); }
.faq details:first-of-type { border-top: 1px solid var(--ailo-fg); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--s34-num); color: var(--s34-blue); margin-right: -4px; }
.faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; font-size: 14px; color: var(--s34-blue); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq details p { padding: 0 0 20px 26px; font-size: 16px; color: var(--ailo-muted); }
@media (max-width: 991.98px) { .board__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) {
  .nt__list a { grid-template-columns: auto minmax(0, 1fr); row-gap: 4px; }
  .nt__list time { grid-column: 2; }
  .nt__t { white-space: normal; }
}

/* ---------- Visit ---------- */
.visit { background: var(--s34-soft); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.map { position: relative; height: 420px; border-radius: 12px; overflow: hidden; background: #e4ebf2; }
.map__road { position: absolute; background: #fff; }
.map__road--a { left: 0; right: 0; top: 54%; height: 26px; }
.map__road--b { top: 0; bottom: 0; left: 30%; width: 20px; rotate: 8deg; }
.map__blk { position: absolute; border-radius: 6px; background: #d3dde8; }
.map__blk--a { left: 6%; top: 10%; width: 18%; height: 34%; }
.map__blk--b { left: 40%; top: 14%; width: 26%; height: 32%; background: #c6d8ea; }
.map__blk--c { left: 72%; top: 8%; width: 20%; height: 38%; }
.map__blk--d { left: 42%; top: 66%; width: 30%; height: 24%; }
.map__pin { position: absolute; left: 53%; top: 32%; transform: translate(-50%, -50%); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--s34-blue); color: #fff; font-size: 22px; box-shadow: 0 0 0 10px rgba(42, 111, 176, .2); }
.map__label { position: absolute; left: 53%; top: calc(32% + 44px); transform: translateX(-50%); white-space: nowrap; padding: 6px 14px; border-radius: 6px; background: var(--s34-navy); color: #fff; font-size: 14px; font-weight: 700; }
.map__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.map__btns .btn-m { min-height: 44px; font-size: 15px; padding: 0 18px; }
.vi { margin: 24px 0 0; }
.vi div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ailo-line); }
.vi dt { font-size: 15px; font-weight: 700; color: var(--s34-blue-d); display: flex; gap: 8px; align-items: baseline; }
.vi dt i { width: 16px; color: var(--s34-blue); }
.vi dd { margin: 0; font-size: 16px; }
.visit__tel { display: block; margin-top: 24px; }
.visit__tel small { display: block; font-size: 14px; font-weight: 600; color: var(--ailo-muted); }
.visit__tel span { font-family: var(--s34-num); font-size: 36px; font-weight: 700; color: var(--s34-navy); }
@media (max-width: 991.98px) { .visit__grid { grid-template-columns: minmax(0, 1fr); } .visit__info { order: -1; } }
@media (max-width: 575.98px) { .map { height: 280px; } .vi div { grid-template-columns: 84px minmax(0, 1fr); } }

/* ---------- Reserve ---------- */
.reserve { background: var(--s34-navy); color: #dbe6f1; }
.reserve__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.reserve .tt { color: #fff; }
.reserve__lead { margin-top: 16px; font-size: 17px; color: #c3d3e3; }
.emerg { display: flex; gap: 14px; margin: 28px 0; padding: 20px 22px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.emerg i { color: #f2b8a8; font-size: 20px; margin-top: 3px; }
.emerg p { font-size: 15.5px; color: #c3d3e3; }
.emerg b { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.rf { background: #fff; color: var(--ailo-fg); border-radius: 12px; padding: clamp(24px, 3.4vw, 44px); }
.rf__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: block; margin: 0 0 18px; }
.fld > span { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.fld > span i { font-style: normal; color: var(--s34-red); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #ccd6e0; border-radius: 8px; background: #fff; color: var(--ailo-fg); font: inherit; font-size: 16px; }
.fld textarea { resize: vertical; min-height: 100px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--s34-blue); box-shadow: 0 0 0 3px rgba(42, 111, 176, .18); }
.rf__set { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.rf__set legend { float: none; width: auto; margin: 0 0 8px; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.rf__set .ailo-chip > span { font-weight: 600; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; font-size: 15px; color: var(--ailo-muted); line-height: 1.6; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--s34-blue); }
.agree a { color: var(--s34-blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) { .reserve__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) { .rf__row { grid-template-columns: minmax(0, 1fr); gap: 0; } .reserve__intro .btn-m { width: 100%; } }

/* ---------- Footer ---------- */
.ft { background: #0b1b2c; color: #b5c4d3; padding: 56px 0 36px; }
.ft__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ft__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.ft__logo .logo__mark { width: 34px; height: 34px; }
.ft__logo .logo__mark svg path:last-child { fill: var(--s34-blue); }
.ft__info { margin-top: 20px; font-size: 15px; line-height: 1.9; }
.ft__right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.ft__sns { display: flex; gap: 8px; }
.ft__sns a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #e3ecf5; }
.ft__sns a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.ft__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft__links a { font-size: 15px; color: #c9d5e1; }
.ft__links a:hover { color: #fff; }
.ft__links strong { color: #fff; }
.ft__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #93a5b7; }
.ft__copy { margin-top: 10px; font-size: 13px; color: #8396aa; }
@media (max-width: 767.98px) { .ft__right { align-items: flex-start; } }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--ailo-line); box-shadow: 0 -8px 24px -16px rgba(16, 38, 61, .3); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; font-size: 14px; font-weight: 700; color: var(--ailo-fg); }
  .mbar a i { font-size: 18px; color: var(--s34-blue); }
  .mbar .mbar__main { background: var(--s34-blue); color: #fff; }
  .mbar .mbar__main i { color: #fff; }
}
