/* ═══════════════════════════════════════════════════════════════
   style.css — 화면 꾸밈 (색 · 글씨 · 모양)
   ───────────────────────────────────────────────────────────────
   이 파일은 고치지 않아도 됩니다.
   색과 글씨는 아토니아트 로고 · 현수막 · 안내문 · 출석부와 똑같이 맞췄어요.
     크림색 종이 + 빨강 크레파스 + 카키 붓자국 + 분홍 형광펜
     제목 = 손글씨(개구체) / 읽는 글 = 폰에 들어 있는 고딕
   꾸밈은 조용하게: 넓은 여백, 테두리 없는 카드.
   검정 크레파스 선은 누르는 버튼에만 남겼어요.
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* 종이 */
  --paper: #f6f4e8;
  --paper-2: #ece9d8;
  --card: #fffefa;
  /* 선 · 글씨 */
  --ink: #1d1b18;
  --ink-2: #3f3b33;
  --sub: #5a5547;
  --line: #d6d1b8;
  /* 아토니 색 */
  --red: #e0412b;
  --cta: #d93a24;          /* 신청 버튼 (흰 글씨가 잘 읽히게 로고 빨강보다 살짝 진하게) */
  --cta-deep: #bf331f;
  --pink: #f5c5b8;
  --pink-soft: #fce7e0;
  --khaki: #d8d2b4;
  --khaki-deep: #b3ac86;
  --note: #fbf3c2;
  /* 모양 */
  --body: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;
  --hand: 'Gaegu', var(--body);
  --wob: 15px 19px 16px 20px / 19px 15px 20px 16px;      /* 손으로 그린 듯 살짝 삐뚤한 모서리 */
  --wob-sm: 9px 12px 10px 13px / 12px 9px 13px 10px;
  --blob: 47% 53% 51% 49% / 60% 46% 54% 40%;             /* 붓자국 모양 */
  --wave-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='7' viewBox='0 0 60 7'%3E%3Cpath d='M0 3.5 C 5 1.2, 10 1.2, 15 3.5 S 25 5.8, 30 3.5 S 40 1.2, 45 3.5 S 55 5.8, 60 3.5' fill='none' stroke='%23e0412b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ── 바탕 ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;          /* 한글이 낱말 중간에서 끊기지 않게 */
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { position: relative; max-width: 560px; margin: 0 auto; padding: 0 20px; }
.sec { position: relative; padding: 92px 0 76px; }
/* 색이 다른 칸은 위아래를 비스듬히 잘라, 색종이를 겹쳐 놓은 것처럼 */
.sec.alt {
  background: var(--paper-2);
  clip-path: polygon(0 18px, 36% 0, 100% 22px, 100% calc(100% - 14px), 60% 100%, 0 calc(100% - 20px));
}

/* 섹션 제목: 손글씨 + 빨강 크레파스 물결 */
.sec-title {
  margin-bottom: 34px;
  font-family: var(--hand); font-weight: 700; font-size: 1.95rem; line-height: 1.3;
  text-align: center; text-wrap: balance;
}
.sec-title::after {
  content: ''; display: block; width: 72px; height: 7px; margin: 12px auto 0;
  background: var(--wave-red) repeat-x left center;
}
.sec-lead { margin: -16px 0 26px; text-align: center; color: var(--sub); }

.item-title { font-size: 1.06rem; font-weight: 700; line-height: 1.5; }
/* 글 안의 <작게>…</작게> : 옆에 붙는 작은 보충 글 */
small.aside { font-size: 0.82em; font-weight: 500; color: var(--sub); white-space: nowrap; }
.item-text { margin-top: 4px; font-size: 0.97rem; color: var(--ink-2); }

/* 카드: 테두리 없이 조용하게. 밝은 칸에서는 아주 가는 선만 둘러요 */
.card { background: var(--card); border-radius: var(--wob); }
.sec:not(.alt) .card, .sec:not(.alt) .rows li, .sec:not(.alt) .info-row { box-shadow: 0 0 0 1px var(--line); }

/* 화면을 내리면 아래에서 천천히 떠오르는 움직임 (script.js 가 붙여 줘요) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }

/* 아직 채우지 않은 [ ] 빈칸은 노랗게 표시 */
mark.todo {
  padding: 0 2px; border-radius: 3px;
  background: var(--note); color: inherit;
  outline: 1.5px dashed #8a6400; outline-offset: 1px;
}

/* ── 버튼 (누르는 것만 검정 크레파스 선) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 10px 20px;
  border: 2px solid var(--ink); border-radius: var(--wob);
  font-weight: 700; font-size: 1.05rem; line-height: 1.3; text-decoration: none; text-align: center;
  cursor: pointer; -webkit-user-select: none; user-select: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.06s, box-shadow 0.06s, background 0.12s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn .ic { flex: none; width: 1.2em; height: 1.2em; }
.btn-apply { width: 100%; min-height: 60px; background: var(--cta); color: #fff; font-size: 1.2rem; }
.btn-apply:hover { background: var(--cta-deep); }
/* 체험수업 신청하기 버튼은 아래 그림자 없이 */
.btn.btn-apply, .btn.btn-apply:active, .bar .btn.btn-apply, .bar .btn.btn-apply:active { box-shadow: none; }
.btn.btn-apply:active, .bar .btn.btn-apply:active { transform: none; background: var(--cta-deep); }
/* [전화] 버튼도 그림자 없이 */
.btn.btn-call, .btn.btn-call:active, .bar .btn.btn-call, .bar .btn.btn-call:active { box-shadow: none; transform: none; }
.btn.btn-call:active { background: var(--paper-2); }
.btn-line { width: 100%; background: var(--card); color: var(--ink); }
/* "미술학원 보내면서…" 칸 맨 위의 "체험수업 설명 보기" 버튼과 내려가 멈추는 자리 */
.hero-jump {
  margin: -36px 0 44px; flex-direction: column; gap: 2px; padding-top: 12px; padding-bottom: 12px;
  border-width: 1.5px; box-shadow: none;
}
/* 설명 보기 버튼과 "미술학원 보내면서…" 제목 사이의 "아토니아트 소개" */
/* 대주제: 크게 + 빨간 물결 밑줄 두 줄 */
.intro-title {
  margin: 0 0 40px; text-align: center;
  font-family: var(--hand); font-weight: 700; font-size: 2.9rem; line-height: 1.2; color: var(--cta);
}
.intro-title::after {
  content: ''; display: block; width: 120px; height: 16px; margin: 14px auto 0;
  background: var(--wave-red) repeat-x left top, var(--wave-red) repeat-x left bottom;
}
/* 대주제 아래의 "미술학원 보내면서…"는 한 단계 작게, 밑줄 없이 */
.intro-title + .sec-title { font-size: 1.75rem; margin-bottom: 26px; }
.intro-title + .sec-title::after { display: none; }
@media (min-width: 720px) {
  .intro-title { font-size: 3.4rem; }
  .sec .intro-title + .sec-title { font-size: 2rem; }
}
.hero-jump:active { transform: none; box-shadow: none; background: var(--paper-2); }
.hero-jump .jump-main { display: inline-flex; align-items: center; gap: 8px; }
.hero-jump .jump-note { font-size: 0.82rem; font-weight: 500; color: var(--sub); text-wrap: balance; }
#s-mid { scroll-margin-top: 8px; }
.btn-line:hover { background: var(--paper); }
.btn-call { flex: none; min-width: 88px; padding: 8px 14px; background: var(--card); color: var(--ink); font-size: 1rem; }

/* 신청 버튼 + "신청 후 ○시간 안에 연락드려요" */
.apply { margin-top: 26px; }
.apply-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; font-size: 0.95rem; font-weight: 500; line-height: 1.6; color: var(--ink-2); text-align: center;
}
.apply-note .ic { flex: none; width: 1.1em; height: 1.1em; }

/* ── 1. 첫 화면 ── */
.hero { padding: 40px 0 60px; text-align: center; overflow: hidden; }
/* 처음 들어오면 로고가 왼쪽에서 데구르르 굴러 와서, 크게 → 중간 → 작게 통통 튀다가 제자리에 앉아요.
   옆으로 오기 · 위아래로 튀기 · 빙글 돌기를 따로 움직여서 부드럽게 이어져요.
   로고 그림을 다 불러온 뒤에 시작해요 (script.js 가 .go 를 붙여 줘요) */
.hero-logo-box {
  display: block; width: 92px; margin: 0 auto 8px; transform-origin: 50% 100%;
  animation: logo-x 1.5s cubic-bezier(.22, .61, .36, 1) both paused, logo-bounce 1.7s linear both paused;
}
.hero-logo-box .hero-logo { width: 100%; margin: 0; animation: logo-spin 1.5s cubic-bezier(.22, .61, .36, 1) both paused; }
.hero-logo-box.go, .hero-logo-box.go .hero-logo { animation-play-state: running; }
@keyframes logo-x { from { translate: -75vw 0; } to { translate: 0 0; } }
@keyframes logo-spin { from { rotate: -720deg; } to { rotate: 0deg; } }
@keyframes logo-bounce {      /* 올라갈 땐 점점 느리게, 내려올 땐 점점 빠르게 */
  0%   { transform: translateY(0);     animation-timing-function: cubic-bezier(.33, .66, .66, 1); }
  16%  { transform: translateY(-42px); animation-timing-function: cubic-bezier(.33, 0, .66, .34); }
  32%  { transform: translateY(0);     animation-timing-function: cubic-bezier(.33, .66, .66, 1); }
  43%  { transform: translateY(-19px); animation-timing-function: cubic-bezier(.33, 0, .66, .34); }
  54%  { transform: translateY(0);     animation-timing-function: cubic-bezier(.33, .66, .66, 1); }
  61%  { transform: translateY(-7px);  animation-timing-function: cubic-bezier(.33, 0, .66, .34); }
  68%  { transform: translateY(0);     animation-timing-function: ease-out; }
  77%  { transform: scale(1.07, 0.93); animation-timing-function: ease-in-out; }   /* 쿵 하고 살짝 눌렸다가 */
  88%  { transform: scale(0.98, 1.02); animation-timing-function: ease-in-out; }
  100% { transform: none; }
}
.hero-eyebrow { font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em; color: var(--sub); }
.hero-title {
  margin-top: 8px;
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.7rem, 7.5vw, 2.5rem); line-height: 1.3;
  text-wrap: balance;
}
.hero-sum { margin-top: 12px; font-size: 0.98rem; font-weight: 600; color: var(--ink-2); }
.hero-row { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 18px; }
.hero-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-badgecol { min-width: 0; }
.hero-note { margin-top: 8px; padding-left: 4px; text-align: left; font-size: 0.85rem; line-height: 1.45; color: var(--sub); text-wrap: balance; }
.badge {
  position: relative; z-index: 0; padding: 5px 16px 6px;
  font-family: var(--hand); font-weight: 700; font-size: 1.32rem; line-height: 1.25; white-space: nowrap;
}
.badge::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--khaki); border-radius: 7px 10px 8px 11px / 10px 7px 11px 8px;
  transform: rotate(-1.2deg); filter: url(#rough);
}
.badge:nth-child(even)::before { transform: rotate(1deg); }
.hero-char { flex: none; width: 96px; }
.hero .apply { margin-top: 20px; }

/* 이벤트 상자: 빨간 크레파스 테두리 + 빨간 딱지 + 분홍 형광펜. 두 개면 나란히 */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; margin: 30px auto 6px; }
.promos.one { grid-template-columns: 1fr; max-width: 400px; }
.promo {
  position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0;
  padding: 26px 10px 16px;
  background: var(--card); border: 2px solid var(--red); border-radius: var(--wob);
  transform: rotate(-0.8deg);
}
.promo:nth-child(even) { transform: rotate(0.8deg); }
.promos.one .promo { padding: 24px 16px 15px; transform: rotate(-0.6deg); }
.promo-tag {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  padding: 2px 15px 3px; white-space: nowrap;
  background: var(--cta); color: #fff; font-size: 0.92rem; font-weight: 700; line-height: 1.5;
  border-radius: var(--wob-sm);
}
.promo-big {
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.15rem, 5vw, 1.6rem); line-height: 1.32;
  text-wrap: balance;
}
.promos.one .promo-big { font-size: clamp(1.7rem, 7.6vw, 2.3rem); line-height: 1.28; }
.promo-price {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 2px 6px;
  margin-top: 10px; font-weight: 700; line-height: 1.3;
}
.promo-price s { color: var(--sub); font-size: 0.98rem; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.promo-arrow { color: var(--red); font-size: 0.95rem; }
.promo-price b { color: var(--cta-deep); font-size: 1.25rem; }
.promo-text { margin-top: 8px; font-size: 0.97rem; font-weight: 500; color: var(--ink-2); text-wrap: balance; }

/* ── 2. 공감 ── */
.worries { display: flex; flex-direction: column; gap: 14px; }
.bubble {
  max-width: 88%; padding: 14px 18px;
  background: var(--card);
  border-radius: 18px 20px 19px 4px / 20px 18px 19px 4px;
  font-size: 1.02rem; font-weight: 500; line-height: 1.6;
}
.bubble:nth-child(even) { margin-left: auto; border-radius: 20px 18px 4px 19px / 18px 20px 4px 19px; }
.worry-close {
  margin-top: 38px; text-align: center; text-wrap: balance;
  font-family: var(--hand); font-weight: 700; font-size: 1.55rem; line-height: 1.4;
}

/* ── 3. 교육 철학 + 하지 않는 것 ── */
.phil { display: grid; gap: 10px; }
.phil-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 16px 19px; }
.num {
  position: relative; z-index: 0; flex: none; width: 42px; height: 42px;
  display: grid; place-items: center;
  font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1;
}
.num::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--khaki); border-radius: var(--blob); transform: rotate(-8deg);
}
.phil-item:nth-child(3n+2) .num::before { background: var(--pink); border-radius: var(--blob); }
.phil-item:nth-child(3n) .num::before { border-radius: var(--blob); transform: rotate(6deg); }
.no-box { margin-top: 30px; padding: 22px 18px 6px; background: var(--pink-soft); border-radius: var(--wob); }
.no-title { margin-bottom: 6px; text-align: center; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1.3; }
.no-list li { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; }
.no-list li + li { border-top: 1px solid rgba(29, 27, 24, 0.14); }
.no-x { flex: none; width: 30px; height: 30px; display: grid; place-items: center; color: var(--red); }
.no-x .ic { width: 26px; height: 26px; stroke-width: 3; }

/* ── 4. 수업 흐름 ── */
.flow { display: grid; gap: 26px; }
.flow li { position: relative; display: flex; align-items: flex-start; gap: 16px; }
.flow li:not(:last-child)::after {
  content: ''; position: absolute; left: 34px; top: 76px; bottom: -20px;
  border-left: 1px solid var(--khaki-deep);
}
.flow-ic {
  flex: none; width: 70px; height: 70px; display: grid; place-items: center;
  background: var(--card); border-radius: var(--blob);
}
.flow li:nth-child(4n+2) .flow-ic { border-radius: var(--blob); }
.flow li:nth-child(4n+3) .flow-ic { border-radius: var(--blob); }
.flow li:nth-child(4n) .flow-ic { border-radius: var(--blob); }
.flow-ic svg { width: 38px; height: 38px; }
.flow-num { font-family: var(--hand); font-weight: 700; font-size: 1.8rem; line-height: 1; }
.flow-tx { padding-top: 7px; }
.flow-n { display: inline-block; margin-right: 7px; font-family: var(--hand); font-size: 1.3rem; line-height: 1; color: var(--cta-deep); }
.flow-more { margin-top: 32px; padding-top: 20px; text-align: center; font-weight: 500; border-top: 1px solid var(--khaki-deep); }

/* ── 5. 연령별 목표 (안내문의 카키 붓자국 이름표) ── */
.ages { display: grid; gap: 34px 14px; margin-top: 44px; }
.age { position: relative; padding: 32px 16px 20px; text-align: center; }
.age-tag {
  position: absolute; top: -20px; left: 50%; z-index: 0; transform: translateX(-50%);
  padding: 3px 22px 4px; white-space: nowrap;
  font-family: var(--hand); font-weight: 700; font-size: 1.5rem; line-height: 1.25;
}
.age-tag::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--khaki); border-radius: var(--blob); filter: url(#rough);
}
.age-goal { font-size: 1.08rem; font-weight: 700; line-height: 1.55; }
.hl {   /* 분홍 형광펜 줄 */
  padding: 0 3px;
  background: linear-gradient(transparent 58%, var(--pink) 58%, var(--pink) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.age .item-text { margin-top: 7px; }

/* ── 6 · 7. 재료 / 안심 포인트 / 경력 (한 줄에 카드 하나씩) ── */
.rows, .sec .card.rows { display: grid; gap: 8px; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.rows li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--card); border-radius: var(--wob-sm); }
.dot { flex: none; width: 15px; height: 15px; margin-top: 7px; background: var(--red); border-radius: var(--blob); transform: rotate(12deg); }
.rows li:nth-child(3n+2) .dot { background: var(--khaki-deep); border-radius: var(--blob); }
.rows li:nth-child(3n) .dot { background: var(--pink); border-radius: var(--blob); transform: rotate(-8deg); }
.ck { flex: none; width: 28px; height: 28px; margin-top: 1px; display: grid; place-items: center; background: var(--khaki); border-radius: var(--blob); }
.rows li:nth-child(even) .ck { background: var(--pink); border-radius: var(--blob); }
.ck .ic { width: 16px; height: 16px; stroke-width: 3; }

/* ── 중간 신청 안내 (큰 카키 색종이 한 장) ── */
.sec.band {
  padding: 62px 0 66px; background: var(--khaki); text-align: center;
  clip-path: polygon(0 24px, 30% 0, 100% 18px, 100% calc(100% - 22px), 66% 100%, 0 calc(100% - 12px));
}
.mid-char { width: 88px; margin: 0 auto 6px; }
.mid-title { font-family: var(--hand); font-weight: 700; font-size: 1.95rem; line-height: 1.25; }
.mid-text { margin-top: 8px; font-weight: 500; text-wrap: balance; }
.band .apply-note { color: var(--ink); }

/* ── 8. 원장 소개 ── */
.dir { text-align: center; }
.dir-photo {
  position: relative; width: 200px; aspect-ratio: 4 / 5; margin: 8px auto 24px;
  display: grid; place-items: center;
  background: var(--card); border-radius: var(--wob); transform: rotate(-2deg);
}
.dir-photo::before {   /* 사진을 붙인 종이테이프 */
  content: ''; position: absolute; top: -12px; left: 50%; z-index: 1;
  width: 76px; height: 24px; margin-left: -38px;
  background: rgba(216, 210, 180, 0.88); border-radius: 2px; transform: rotate(3deg);
}
.dir-face { width: 96px; }
.dir-img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px 17px 14px 18px / 17px 13px 18px 14px; }
.dir-name { font-family: var(--hand); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.dir-hello { margin-top: 10px; font-size: 1.02rem; text-wrap: balance; }
.dir-career { margin-top: 24px; text-align: left; }
.dir-career li { font-weight: 500; }

/* ── 10 · 11. 표 (카키 이름표 + 내용, 한 줄에 카드 하나씩) ── */
.info, .sec .card.info { display: grid; gap: 8px; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px; background: var(--card); border-radius: var(--wob-sm); }
.info dt {
  flex: none; width: 5.7em; padding: 2px 6px; text-align: center;
  font-size: 0.93rem; font-weight: 700;
  background: var(--khaki); border-radius: 6px 8px 7px 9px / 8px 6px 9px 7px;
}
.info dt.empty { background: none; }
.info dd { flex: 1; min-width: 0; padding-top: 1px; font-weight: 500; }

/* ── 11. 체험수업 진행 순서 ── */
.steps { margin-bottom: 28px; }
.steps li { position: relative; display: flex; gap: 14px; padding-bottom: 24px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px;
  border-left: 1px solid var(--khaki-deep);
}
.step-n {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: var(--blob);
  font-family: var(--hand); font-weight: 700; font-size: 1.4rem; line-height: 1;
}
.steps li:nth-child(4n+2) .step-n { border-radius: var(--blob); }
.steps li:nth-child(4n+3) .step-n { border-radius: var(--blob); }
.steps li:nth-child(4n) .step-n { border-radius: var(--blob); }
.steps .item-title { padding-top: 6px; }

/* ── 11-1. 체험수업 시간표 (주 단추 + 날짜별 시간) ── */
.tt { margin-top: 48px; }
.sub-title { text-align: center; font-family: var(--hand); font-weight: 700; font-size: 1.7rem; line-height: 1.25; }
.tt-lead { margin-top: 8px; text-align: center; font-weight: 500; color: var(--ink-2); text-wrap: balance; line-height: 1.9; }
/* 글 안에 들어가는 작은 빨간 신청 버튼 (모양만) */
.inline-apply {
  display: inline-block; margin: 0 3px; padding: 1px 11px;
  background: var(--cta); color: #fff; font-weight: 700; line-height: 1.6; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: var(--wob);
}
.tt-tabs { display: flex; gap: 8px; margin-top: 18px; }
.tt-tab {
  flex: 1; min-width: 0; min-height: 58px; padding: 6px 4px 7px;
  background: var(--card); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--wob-sm);
  font: inherit; line-height: 1.25; cursor: pointer;
}
.tt-tab b { display: block; font-family: var(--hand); font-size: 1.35rem; }
.tt-tab small { display: block; margin-top: 1px; font-size: 0.8rem; font-weight: 500; color: var(--sub); }
.tt-tab.on { background: var(--ink); color: var(--paper); }
.tt-tab.on small { color: #d9d4c0; }
.tt-panel { margin-top: 12px; padding: 4px 16px; }
.tt-day { padding: 15px 0 16px; }
.tt-day + .tt-day { border-top: 1px solid var(--line); }
.tt-date { display: flex; align-items: center; gap: 7px; }
.tt-date b { font-size: 1.1rem; font-weight: 700; }
.tt-date span {
  min-width: 1.75em; padding: 1px 6px; text-align: center; font-size: 0.9rem; font-weight: 700; line-height: 1.5;
  background: var(--khaki); border-radius: 6px 8px 7px 9px / 8px 6px 9px 7px;
}
.tt-date.weekend span { background: var(--pink); }
.tt-group { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; }
.tt-ampm { flex: none; width: 2.2em; padding-top: 4px; font-size: 0.88rem; font-weight: 700; color: var(--sub); }
.tt-times { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tt-times li {
  padding: 4px 9px; white-space: nowrap;
  font-size: 0.97rem; font-weight: 600; line-height: 1.55; font-variant-numeric: tabular-nums;
  background: var(--paper-2); border-radius: var(--wob-sm);
}
.tt-notes { margin-top: 16px; display: grid; gap: 5px; font-size: 0.95rem; color: var(--ink-2); }
.tt-notes li { position: relative; padding-left: 14px; }
.tt-notes li::before { content: ''; position: absolute; left: 2px; top: 0.78em; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.tt + .apply { margin-top: 30px; }

/* ── 12. 자주 묻는 질문 ── */
.faq { display: grid; gap: 8px; }
/* 자주 묻는 질문 맨 아래 블로그 버튼 */
.faq-more { margin-top: 36px; }
.faq-more-lead { margin-bottom: 12px; text-align: center; font-weight: 700; font-size: 1.08rem; }
/* 블로그 버튼: 질문 칸과 같은 모양, 오른쪽 동그라미 안에 화살표 */
.faq-link {
  display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 12px 14px 12px 16px;
  font-size: 1.04rem; font-weight: 700; line-height: 1.45; color: var(--ink); text-decoration: none;
}
.faq-link:active { background: var(--paper-2); }
.faq-item { background: var(--card); border-radius: var(--wob-sm); box-shadow: 0 0 0 1px var(--line); }
.sec.alt .faq-item { box-shadow: none; }
.faq-item summary {
  display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 12px 14px 12px 16px;
  font-size: 1.04rem; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { border-radius: var(--wob-sm); }
.faq-q { flex: 1; min-width: 0; }
.faq-ic {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--khaki); border-radius: var(--blob); transition: transform 0.18s;
}
.faq-item:nth-child(even) .faq-ic { background: var(--pink); border-radius: var(--blob); }
.faq-ic .ic { width: 15px; height: 15px; stroke-width: 3; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-item[open] summary { padding-bottom: 6px; }
.faq-a { padding: 0 16px 18px; color: var(--ink-2); }

/* ── 13. 오시는 길 ── */
#s-location .sec-title { margin-bottom: 58px; }
.loc { position: relative; padding: 22px 16px 20px; }
.loc-dog { position: absolute; top: -45px; right: 16px; width: 84px; pointer-events: none; }
.loc-addr { display: flex; align-items: flex-start; gap: 8px; font-size: 1.06rem; font-weight: 700; line-height: 1.55; }
.loc-addr .ic { flex: none; width: 1.25em; height: 1.25em; margin-top: 0.18em; color: var(--red); }
.loc .btn { margin-top: 16px; }
/* 주소 바로 아래 블로그·인스타 버튼 */
.loc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.loc-links a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 99px;
  font-weight: 700; line-height: 1.4; text-decoration: none;
}
.loc-links a:hover { background: var(--paper); }
.loc-links .ic { width: 1.15em; height: 1.15em; }
/* 작은 제목 옆으로 가는 선이 이어져요 */
.loc-sub { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 0.95rem; font-weight: 700; color: var(--ink-2); }
.loc-sub::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips li { padding: 4px 13px; font-size: 0.97rem; font-weight: 500; background: var(--paper-2); border-radius: 99px; }

/* ── 14. 맨 아래 (푸터) ── */
.footer { padding: 52px 0 56px; background: var(--ink); color: var(--paper); font-size: 0.93rem; }
.has-bar .footer { padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)); }   /* 고정 바에 가리지 않게 */
.ft-name { font-family: var(--hand); font-weight: 700; font-size: 1.65rem; line-height: 1.2; }
.ft-intro { margin-top: 2px; color: #d9d4c0; }
.ft-info { display: grid; gap: 5px; margin-top: 18px; }
.ft-info div { display: flex; gap: 10px; }
.ft-info dt { flex: none; min-width: 7.4em; color: #c4bea6; }
.ft-info dd { min-width: 0; }
.ft-info a { text-underline-offset: 3px; }

/* ── 화면 맨 아래 고정 바 ── */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 14px calc(13px + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 2px solid var(--ink);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}
.bar.show { transform: none; visibility: visible; transition: transform 0.22s ease, visibility 0s; }
.bar-in { display: flex; align-items: stretch; gap: 10px; max-width: 560px; margin: 0 auto; }
.bar .btn { min-height: 54px; box-shadow: 0 3px 0 var(--ink); }
.bar .btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.bar .btn-apply { flex: 1; width: auto; min-width: 0; font-size: 1.12rem; }
.bar-in.only-call .btn-call { flex: 1; }

/* ── 안내 상자 (오타가 났을 때 / 주소 끝에 ?check) ── */
.notice { padding: 18px 20px 20px; font-size: 0.95rem; line-height: 1.6; }
.notice > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.notice h2 { margin-bottom: 6px; font-size: 1.2rem; }
.notice h3 { margin-top: 14px; margin-bottom: 4px; font-size: 1rem; }
.notice ul { padding-left: 20px; list-style: disc; }
.notice li { margin: 3px 0; }
.notice-error { background: #b92d19; color: #fff; }
.notice-check { background: var(--note); border-bottom: 2px solid var(--ink); }

/* ── 넓은 화면 (태블릿 · 컴퓨터) ── */
@media (min-width: 600px) {
  .ages { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .wrap { max-width: 620px; }
  .sec { padding: 116px 0 100px; }
  .sec.band { padding: 76px 0 80px; }
  .hero { padding: 36px 0 76px; }
  .hero-logo-box { width: 116px; }
  .hero-char { width: 116px; }
  .sec-title { font-size: 2.25rem; }
  .bar-in { max-width: 620px; }
}

/* 움직임을 줄이도록 설정한 기기에서는 움직임 없이 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .hero-logo-box, .hero-logo-box .hero-logo { animation: none; }
}

/* ───────── 폰에서 덜 답답하게: 글줄·칸 간격 넓히기 (2026-11-16) ───────── */
body { line-height: 1.85; }
.item-text { margin-top: 6px; }
.rows, .sec .card.rows, .info, .sec .card.info, .faq { gap: 12px; }
.rows li { padding: 20px 18px; gap: 14px; }
.info-row { padding: 17px 16px; gap: 16px; }
.phil { gap: 14px; }
.no-list li { padding: 18px 0; }
.worries { gap: 18px; }
.hero-badges { gap: 12px; }
.promos { gap: 16px; margin-top: 36px; }
.promo { padding: 30px 12px 20px; }
.sec-title { margin-bottom: 40px; }
.steps li { padding-bottom: 30px; }

/* ───────── 빨간 상자 테두리 얇게 (2026-11-16) ───────── */
.promo { border-width: 1px; }
.btn.btn-apply { border-width: 1px; }
.inline-apply { border-width: 1px; }

/* 첫 화면 다듬기 (2026-11-16): 요약 글 작고 연하게, 신청 버튼 위 간격 넓게 */
.hero-sum { font-size: 0.86rem; font-weight: 500; color: #7a7466; }
.hero .apply { margin-top: 36px; }
