/* 중곡점 링크 모음형 (2026-10-20) — 폰 폭 한 줄, 회색 바탕, 큰 배너·검정 버튼·카드 목록
   브랜드: 차콜 #17171a + 골드 #b5945c. 이모지 없음. */
:root { --ink:#17171a; --gold:#b5945c; --bg:#f2f2f4; --card:#fff; --muted:#6b6b72; --line:#e4e4e8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.6; word-break: keep-all; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.jl { max-width: 480px; margin: 0 auto; padding: 0 0 40px; background: var(--bg); min-height: 100vh; }

.jl-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--ink); }
.jl-top a { color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; }
.jl-top__place { display: inline-flex; align-items: center; gap: 6px; }
.nbadge, .nlogo { display: inline-grid; place-items: center; background: #03c75a; color: #fff; font-weight: 900; border-radius: 4px; }
.nbadge { width: 20px; height: 20px; font-size: .78rem; }

.jl-hero { padding: 52px 20px 64px; text-align: center; color: #fff;
  background: linear-gradient(180deg, #17171a 0%, #2a2620 70%, var(--bg) 100%); }
.jl-hero__tag { margin: 0 0 18px; font-size: .8rem; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.jl-hero__title { margin: 0; font-size: clamp(2rem, 9vw, 2.7rem); line-height: 1.25; font-weight: 900; letter-spacing: -.03em; }
.jl-hero__title em { font-style: normal; color: var(--gold); }

.jl-brand { text-align: center; margin: 4px 0 26px; font-weight: 700; font-size: .98rem; }
.jl-lines { text-align: center; padding: 0 20px; }
.jl-lines p { margin: 0 0 12px; font-size: .95rem; color: #3a3a40; }
.jl-lines__answer { margin-top: 22px !important; font-size: 1.02rem !important; line-height: 1.75; color: var(--ink) !important; }
.jl-lines__answer b { color: var(--ink); }

.jl-cta { display: block; margin: 22px 12px; padding: 17px 16px; text-align: center; background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 800; font-size: 1rem; border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.jl-cta--line { background: #fff; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }

.jl-card { margin: 16px 12px; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.jl-card--pad { padding: 22px 20px; }
.jl-card > img, .jl-card figure img { width: 100%; }
.jl-card figcaption, .jl-cap { margin: 0; padding: 14px 16px; text-align: center; font-size: .9rem; color: #3a3a40; }
figure.jl-card { padding: 0; }
.jl-h2 { margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; text-align: center; }

.jl-reasons { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.jl-reasons li { counter-increment: r; position: relative; padding: 12px 0 12px 40px; border-top: 1px solid var(--line); }
.jl-reasons li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-weight: 800; color: var(--gold); }
.jl-reasons b, .jl-programs b { display: block; font-size: .98rem; }
.jl-reasons span, .jl-programs span { display: block; font-size: .87rem; color: var(--muted); }

.jl-programs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jl-programs li { background: var(--bg); border-radius: 10px; padding: 12px; }

.strip { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px; -webkit-overflow-scrolling: touch; }
.strip a { flex: 0 0 62%; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.strip--sq img { aspect-ratio: 1/1; }

.jl-sec { margin: 30px 0 4px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.jl-item { display: flex; align-items: center; gap: 14px; margin: 10px 12px; padding: 10px; background: var(--card); border-radius: 16px;
  text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.jl-item img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 12px; flex: 0 0 64px; }
.jl-item > span:last-child { flex: 1; text-align: center; font-weight: 700; font-size: .98rem; }
.jl-item small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.nlogo { width: 64px; height: 64px; font-size: 2rem; border-radius: 14px; flex: 0 0 64px; background: linear-gradient(135deg, #03c75a, #00a84a); }
.jl-note { text-align: center; font-size: .86rem; color: var(--muted); margin: 10px 20px; }

.jl-addr { text-align: center; margin: 0 0 12px; font-size: .95rem; }
.jl-map { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--bg); }
.jl-map iframe { width: 100%; height: 100%; border: 0; }
#location .jl-cta { margin: 14px 0 0; }

.jl-branches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 12px 8px; }
.jl-branches a { padding: 8px 14px; background: #fff; border-radius: 999px; text-decoration: none; font-size: .85rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.jl-foot { text-align: center; font-size: .74rem; color: #9a9aa2; padding: 14px 16px 0; }
.jl-foot p { margin: 2px 0; }
.jl-addr small { color: var(--muted); font-size: .84rem; }

/* 누르면 펼치는 카드 (이런 분께 추천합니다, 2026-10-20) */
.jl-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.jl-acc > summary::-webkit-details-marker { display: none; }
.jl-acc > summary .jl-h2 { margin: 0; text-align: left; }
.jl-acc__btn::after { content: "열기 +"; display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--bg); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.jl-acc[open] .jl-acc__btn::after { content: "닫기 −"; background: var(--ink); color: #fff; }
.jl-acc .jl-programs { padding: 0 20px 20px; }

/* ===== 반응형 (2026-10-20 사장님 「전부 반응형으로」) =====
   폰: 한 줄 그대로 / 태블릿: 넓게, 목록 2칸 / PC: 1080px, 카드·목록 여러 칸 */
@media (min-width: 640px) {
  .jl { max-width: 760px; }
  .jl-top { padding: 16px 24px; }
  .jl-hero { padding: 72px 32px 88px; }
  .jl-lines p { font-size: 1rem; }
  .jl-cta { max-width: 520px; margin-left: auto; margin-right: auto; }
  .jl-card, .jl-item { margin-left: 20px; margin-right: 20px; }
  .strip a { flex-basis: 40%; }
  .jl-programs { grid-template-columns: repeat(3, 1fr); }
  #coaches { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; padding: 0 8px; }
  #coaches .jl-sec { grid-column: 1 / -1; }
  #coaches .jl-item { margin: 8px 12px; }
  #pt { display: grid; grid-template-columns: 1fr 1fr; padding: 0 8px; }
  #pt .jl-item { margin: 8px 12px; }
  #pt .jl-note { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  body { background: var(--bg); }
  .jl { max-width: 1080px; }
  .jl-hero { padding: 96px 40px 112px; border-radius: 0 0 28px 28px; }
  .jl-hero__title { font-size: 3.4rem; }
  .jl-lines { max-width: 720px; margin: 0 auto; }
  .jl-lines p { font-size: 1.05rem; }
  .jl-lines__answer { font-size: 1.15rem !important; }
  /* 사진 카드와 「부담 없는 이유」를 나란히 */
  figure.jl-card { float: left; width: calc(50% - 30px); margin: 16px 10px 16px 20px; }
  figure.jl-card img { aspect-ratio: 4/5; object-fit: cover; }
  figure.jl-card + .jl-card { float: right; width: calc(50% - 30px); margin: 16px 20px 16px 10px; }
  #gal-result { clear: both; }
  .strip a { flex-basis: 24%; }
  .jl-programs { grid-template-columns: repeat(4, 1fr); }
  #coaches { grid-template-columns: repeat(3, 1fr); }
  #pt { max-width: 860px; margin: 0 auto; }
  /* 오시는 길: 글 왼쪽, 지도 오른쪽 */
  #location { display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: auto auto auto 1fr; gap: 10px 28px; align-items: start; padding: 28px; }
  #location .jl-h2, #location .jl-addr { text-align: left; grid-column: 1; }
  #location .jl-map { grid-column: 2; grid-row: 1 / span 4; }
  #location .jl-cta, #location .jl-note { grid-column: 1; text-align: left; }
  #location .jl-cta { max-width: none; }
}

/* 트레이너: 누르면 그 줄 아래로 포스터 펼침 (2026-10-20) */
.jl-coach > summary { list-style: none; cursor: pointer; }
.jl-coach > summary::-webkit-details-marker { display: none; }
.jl-coach__btn::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font-style: normal; font-weight: 700; flex: 0 0 30px; }
.jl-coach[open] .jl-coach__btn::after { content: "−"; background: var(--ink); color: #fff; }
.jl-coach[open] > summary { border-radius: 16px 16px 0 0; margin-bottom: 0; }
.jl-coach__body { margin: 0 12px 10px; padding: 0 10px 12px; background: var(--card); border-radius: 0 0 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.06); }
.jl-coach__body img { width: 100%; border-radius: 10px; }
@media (min-width: 640px) { #coaches { align-items: start; } #coaches .jl-coach__body { margin: 0 12px 8px; } }

/* 운동 공간·바디프로필: 누르면 사진 격자 펼침 (2026-10-20) */
.jl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px; }
.jl-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
@media (min-width: 640px) { .jl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .jl-grid { grid-template-columns: repeat(5, 1fr); } }
/* 트레이너 +/− 버튼은 오른쪽 끝 */
.jl-coach > summary > span { text-align: left; padding-left: 4px; }
.jl-coach__btn { margin-left: auto; margin-right: 6px; }
@media (min-width: 640px) { #pt { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* 트레이너 전체도 「열기」 카드 안으로 (2026-10-20) — 이전 #coaches 격자 규칙 무효화 */
#coaches.jl-card { display: block; padding: 0; }
#coaches .jl-coaches { padding: 0 0 8px; }
#coaches .jl-coach > summary.jl-item { margin: 8px 12px; box-shadow: none; background: var(--bg); }
#coaches .jl-coach__body { background: var(--bg); box-shadow: none; }
#coaches .jl-coach__btn::after { background: #fff; }
@media (min-width: 640px) {
  #coaches .jl-coaches { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1024px) { #coaches .jl-coaches { grid-template-columns: repeat(3, 1fr); } }
/* 운동 공간·바디프로필 4장씩 (사장님) */
@media (min-width: 640px) { .jl-grid { grid-template-columns: repeat(4, 1fr); } }

/* 슬라이드: 폰 2장 · 640px 이상 4장씩 (2026-10-20) */
.jl-slider { position: relative; padding: 0 12px; }
.jl-slider__track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.jl-slider__track::-webkit-scrollbar { display: none; }
.jl-slider__track > a { flex: 0 0 calc((100% - 8px) / 2); scroll-snap-align: start; }
.jl-slider__track img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
#gal-result .jl-slider__track img { aspect-ratio: 1/1; }
.jl-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(23,23,26,.78); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.jl-slider__nav--prev { left: 4px; } .jl-slider__nav--next { right: 4px; }
@media (min-width: 640px) { .jl-slider__track > a { flex-basis: calc((100% - 24px) / 4); } }

/* 자주 묻는 질문 (2026-10-28) */
.jl-faq { padding: 0 20px 14px; }
.jl-qa { border-top: 1px solid var(--line); }
.jl-qa > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 0; font-weight: 700; font-size: .98rem; line-height: 1.5; }
.jl-qa > summary::-webkit-details-marker { display: none; }
.jl-qa > summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.2rem; line-height: 1.2; color: var(--muted); }
.jl-qa[open] > summary::after { content: "−"; }
.jl-qa p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.jl-qa p a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
/* 찾아오시는 길 안내 칸 (2026-10-28) — 접기 칸 머리와 같은 모양, 버튼만 「보기 →」 */
.jl-way { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; text-decoration: none; }
.jl-way .jl-h2 { margin: 0; text-align: left; }
.jl-way .jl-acc__btn::after { content: "보기 →"; }
.jl-way:hover .jl-acc__btn::after { background: var(--ink); color: #fff; }

/* 2026-11-07 자체 회원 앱 */
.app__lead { line-height: 1.8; letter-spacing: -.02em; }
.app__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.app__card { border: 1px solid rgba(127,127,127,.25); padding: 22px 20px; text-align: left; }
.app__no { display: block; font-weight: 700; font-size: .85rem; letter-spacing: .06em; opacity: .55; }
.app__card b { display: block; font-size: 1.15rem; margin: 6px 0; letter-spacing: -.02em; }
.app__card p { font-size: .93rem; line-height: 1.7; opacity: .75; letter-spacing: -.02em; margin: 0; }
.app__note { margin-top: 14px; font-size: .88rem; opacity: .65; }
.jl-app { padding: 0 20px 22px; }
@media (max-width: 640px) { .app__cards { grid-template-columns: 1fr; } }

/* 자체 회원 앱 화면 이미지 (2026-11-14) */
.app__shot { margin: 22px auto 0; max-width: 620px; }
.app__shot img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.45); }

/* 2026-11-20 톡톡 상담요청서 버튼: 바로 위 버튼과 붙여서 한 묶음으로 */
.jl-cta.jl-cta--req { margin-top: -12px; }
#pt .jl-cta.jl-cta--req { margin: 10px 12px 0; }
@media (min-width: 720px) { #pt .jl-cta.jl-cta--req { max-width: none; margin-left: 20px; margin-right: 20px; } }
