/*
  [생성일] 2026-11-24
  [경위] 아임웹 전문가센터 「위브필라테스 웹사이트 신규 제작」 제안용 시안(메인 + 지도자교육) 공통 스타일
  [변경이력]
    - 2026-11-24: 최초 생성. 아임웹 기본 위젯으로 옮길 수 있는 것만 사용(단색 배경, 2~4칸, 칸 안 세로 쌓기, 그림자·그라데이션·사진 모서리 둥글림 없음)
    - 2026-11-24: 의뢰인 관점 점검(7.3) 반영 — 첫 화면 사진 위치, 첫 화면 글줄, 제작 메모, 지도, 지도자교육 구간, 휴대폰 로고
*/

/* 색과 글자 기준값: 오트 아이보리 바탕, 네이비 잉크 글자, 올리브는 주 버튼에만 */
:root {
  --bg: #F7F3EC;
  --bg-2: #EEE7DB;
  --paper: #FFFFFF;
  --ink: #1B2438;
  --ink-2: #485061;
  --ink-3: #666C7A;
  --line: rgba(27, 36, 56, 0.14);
  --accent: #4A5A3C;
  --accent-d: #3C4A30;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.7; font-weight: 400;
  word-break: keep-all; overflow-wrap: break-word;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[id] { scroll-margin-top: 88px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* 시안 안내 줄 (맨 위) */
.notice { background: var(--ink); color: #E9E4DA; font-size: 14px; line-height: 1.6; padding: 8px 0; }
.notice .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }
.notice b { font-weight: 600; color: #fff; }

/* 머리말: 로고, 메뉴 6개, 상담 예약 버튼 */
.head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-size: 19px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.logo span { font-weight: 400; color: var(--ink-2); }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a { text-decoration: none; font-size: 16px; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu a.btn { padding: 0 20px; border: 1px solid var(--accent); }
.menu-t { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; padding: 0; }
.menu-t span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 5px auto; }

/* 버튼: 주 버튼(올리브)과 보조 버튼(네이비 테두리) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 2px;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.white { background: transparent; color: #fff; border-color: #fff; }
.btn.white:hover { background: #fff; color: var(--ink); }
.btn.s { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.full { display: flex; width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-size: 15px; font-weight: 600; text-underline-offset: 4px; }

/* 구간 공통: 척추 눈금선 + 번호 + 제목 */
.sec { padding: 112px 0; }
.sec.alt { background: var(--bg-2); }
.sec.paper { background: var(--paper); }
.sh { margin-bottom: 56px; max-width: 760px; }
.sh .spine { width: 16px; height: 44px; margin-bottom: 16px; }
.sh .idx { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.sh h2 { font-size: 36px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.sh p.lead { margin-top: 16px; color: var(--ink-2); }
h3 { font-size: 21px; line-height: 1.45; font-weight: 600; }
.sub { font-size: 26px; line-height: 1.4; font-weight: 600; margin-bottom: 24px; }
.muted { color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.eg { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); padding: 0 8px; line-height: 22px; border-radius: 2px; vertical-align: middle; background: var(--bg); white-space: nowrap; }

/* 제작 메모: 사이트 운영 방식 설명. 고객용 제목과 분리해 작게 */
.memo { font-size: 13px; line-height: 1.6; color: var(--ink-3); margin-top: 12px; }
.memo::before { content: "제작 메모: "; font-weight: 600; }

/* 칸 나눔: 2칸, 3칸, 4칸 (아임웹 섹션 칸과 같음) */
.g2, .g3, .g4 { display: grid; gap: 40px; }
.g2 { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.g2.top { align-items: start; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.g2 > *, .g3 > *, .g4 > * { min-width: 0; }
.col > * + * { margin-top: 16px; }
.col p { color: var(--ink-2); }
.ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-2); }
.ph.wide { aspect-ratio: 16 / 9; }
.gap-t { margin-top: 96px; }

/* 첫 화면: 배경 영상 위 글자 (아임웹 섹션 배경 동영상 + 어둡게) */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; } /* 강사가 가운데 가까이 있어 중앙 기준 */
.hero-media .cover { transition: opacity .8s ease; }
.hero-media .cover.off { opacity: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(20, 27, 44, 0.54); }
.hero .wrap { position: relative; min-height: min(84vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 96px; }
/* 첫 화면 위 작은 글줄: 센터 + 교육 안내 */
.hero .kicker { font-size: 16px; font-weight: 600; color: #DAD5CB; margin-bottom: 16px; }
.hero h1 {; line-height: 1.28; font-weight: 600; letter-spacing: -0.015em; max-width: 720px; }
.hero .lead { margin-top: 24px; font-size: 19px; max-width: 480px; color: #F1EDE5; }
.hero .loc { margin-top: 8px; font-size: 16px; color: #DAD5CB; }
.hero .btns { margin-top: 40px; }

/* 신뢰 줄: 숫자 3개 + 인증·협약 */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.trust .g4 { align-items: start; grid-template-columns: 1fr 1fr 1fr 1.6fr; }
.trust .n { font-size: 40px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.trust .l { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.trust .cert li { font-size: 16px; font-weight: 600; line-height: 1.5; padding: 8px 0; border-top: 1px solid var(--line); }
.trust .cert li:first-child { border-top: 0; padding-top: 4px; }
.trust .muted { margin-top: 24px; }

/* 첫 방문 순서: 번호 + 글 세로 쌓기 */
.steps li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .no { flex: 0 0 32px; font-size: 15px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 4px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }

/* 리뷰 키워드 막대: 말, 숫자, 길이가 다른 선 */
.bars li { padding: 12px 0; }
.bars .row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; }
.bars .row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bars .meter { height: 4px; background: var(--ink); margin-top: 8px; }

/* 비워 둔 자리 (점선) */
.slot { border: 1.5px dashed rgba(27, 36, 56, 0.4); padding: 32px; color: var(--ink-2); }
.slot.box { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 600; }
.slot h3 { color: var(--ink); margin-bottom: 8px; }
.slot p { font-size: 16px; }
.g2.slots { grid-template-columns: 1fr 2fr; align-items: stretch; gap: 40px; }
.g2.slots .slot:last-child { display: flex; flex-direction: column; justify-content: center; }

/* 프로그램·과정 카드: 사진, 제목, 항목 세로 쌓기 */
.card h3 { margin-top: 20px; }
.card .cap { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.card dl { margin-top: 12px; border-top: 1px solid var(--line); }
.card dl div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.card dt { flex: 0 0 48px; color: var(--ink-3); }
.card dd { flex: 1; }
.card .more { display: inline-block; margin-top: 16px; }
.g3.cards { gap: 56px 40px; }
.note { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.note .g2 { grid-template-columns: 1fr 2fr; gap: 40px; }
.note p { color: var(--ink-2); margin-top: 8px; }

/* 센터시설: 층 표시 + 목록 + 사진 3칸 */
.floor { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; padding-top: 32px; border-top: 1px solid var(--ink); margin-bottom: 32px; }
.floor .f { font-size: 56px; line-height: 1; font-weight: 700; }
.floor ul { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.floor li { font-size: 15px; font-weight: 600; padding: 4px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); }
.fig p { font-size: 15px; font-weight: 600; margin-top: 12px; }
.fig span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-3); }
.tools h3 { font-size: 19px; padding-top: 16px; border-top: 1px solid var(--ink); }
.tools p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

/* 메인 지도자교육 구간: 제목, 과정 3개 목록 */
.h2s { font-size: 30px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.courses { border-top: 1px solid var(--ink); }
.courses li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }

/* 게시판 모양: 탭 + 목록 */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { min-height: 44px; padding: 0 20px; background: transparent; border: 1px solid var(--line); border-radius: 2px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.board { border-top: 1px solid var(--ink); }
.board li { display: flex; align-items: center; gap: 24px; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.board .cat { flex: 0 0 96px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.board .tit { flex: 1; font-size: 17px; font-weight: 600; }
.board .tit .eg { margin-left: 8px; }
.board .date { flex: 0 0 auto; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.board li[hidden] { display: none; }
.board-note { margin-top: 16px; }

/* 상담문의: 왼쪽 경로, 오른쪽 폼 */
.route { padding: 24px 0; border-top: 1px solid var(--line); }
.route:first-child { border-top: 1px solid var(--ink); }
.route h3 { font-size: 18px; margin-bottom: 12px; }
.route .tel { font-size: 28px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.route .btns { flex-direction: column; align-items: stretch; }
.info div { display: flex; gap: 16px; padding: 8px 0; font-size: 16px; }
.info dt { flex: 0 0 56px; color: var(--ink-3); }
.info dd { flex: 1; }
.form { background: var(--paper); border: 1px solid var(--line); padding: 40px; }
.form h3 { margin-bottom: 24px; }
.fld { margin-bottom: 20px; }
.fld label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: #fff; border: 1px solid rgba(27, 36, 56, 0.32); border-radius: 2px; font-size: 16px; }
.fld textarea { min-height: 112px; resize: vertical; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; margin-bottom: 24px; }
.agree input { width: 18px; height: 18px; margin: 4px 0 0; flex: 0 0 18px; accent-color: var(--ink); }

/* 지도: 주소 아래 한 칸 (아임웹 지도 위젯) */
.map { display: block; width: 100%; height: 260px; border: 0; border-radius: 0; margin-top: 24px; background: var(--bg-2); }

/* 아코디언 (자주 묻는 질문) */
.acc { border-top: 1px solid var(--ink); }
.acc-i { border-bottom: 1px solid var(--line); }
.acc-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; min-height: 64px; padding: 16px 8px; background: none; border: 0; text-align: left; font-size: 18px; font-weight: 600; cursor: pointer; }
.acc-q i { flex: 0 0 14px; height: 14px; position: relative; }
.acc-q i::before, .acc-q i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); }
.acc-q i::after { transform: rotate(90deg); transition: opacity .15s ease; }
.acc-q[aria-expanded="true"] i::after { opacity: 0; }
.acc-a { padding: 0 8px 24px; color: var(--ink-2); max-width: 760px; }
.acc-a[hidden] { display: none; }

/* 지도자교육 쪽 첫 구간 (사진 위에 글자를 올리지 않는 2칸) */
.page-top { padding: 80px 0 96px; }
.page-top h1 { font-size: 44px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.page-top .lead { margin-top: 20px; color: var(--ink-2); }
.page-top .btns { margin-top: 32px; }
.crumb { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.who h3 { padding-top: 16px; border-top: 1px solid var(--ink); }
.who p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.cur li { padding-top: 16px; border-top: 1px solid var(--ink); }
.cur .no { font-size: 15px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cur h3 { margin-top: 4px; }
.cur p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.card.add { display: flex; }
.card.add .slot { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.band { background: var(--ink); color: #fff; padding: 72px 0; }
.band h2 { font-size: 28px; line-height: 1.4; font-weight: 600; }
.band p { color: #DAD5CB; margin-top: 8px; }
.band .g2 { grid-template-columns: 2fr 1fr; }
.band .btns { justify-content: flex-end; }

/* 꼬리말 */
.foot { background: var(--ink); color: #DAD5CB; padding: 56px 0 48px; font-size: 15px; }
.foot .logo { color: #fff; }
.foot .logo span { color: #DAD5CB; }
.foot p { margin-top: 8px; }
.foot .g2 { align-items: start; }
.foot a { text-underline-offset: 4px; }
.foot .small { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; color: #B9B5AC; }

/* 휴대폰 하단 고정 줄 (코드 삽입 1곳) */
.bar { display: none; }

/* 태블릿 */
@media (max-width: 1080px) {
  .menu { gap: 20px; }
  .menu a { font-size: 15px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .trust .g4 { grid-template-columns: repeat(3, 1fr); }
  .trust .cert { grid-column: 1 / -1; }
  .hero h1 { font-size: 44px; }
  .g2 { gap: 40px; }
}

/* 휴대폰: 모든 칸을 한 줄로 쌓고, 메뉴는 버튼으로 접는다 */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  [id] { scroll-margin-top: 72px; }
  .notice { font-size: 13px; }
  .notice .wrap { display: block; }
  .notice span { display: block; }
  .head .wrap { height: 60px; }
  .logo { font-size: 17px; }
  .menu-t { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .menu.open { display: flex; }
  .menu a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu a.btn { margin-top: 16px; padding: 0 20px; border: 1px solid var(--accent); }

  .sec { padding: 72px 0; }
  .sh { margin-bottom: 40px; }
  .sh h2 { font-size: 27px; }
  .h2s { font-size: 24px; }
  .sub { font-size: 22px; }
  .gap-t { margin-top: 64px; }
  .g2, .g3, .g2.top, .note .g2, .band .g2, .g2.slots { grid-template-columns: 1fr; gap: 32px; }
  .g2.slots { gap: 16px; }
  .slot.box { aspect-ratio: 16 / 9; }
  .g3.cards { gap: 48px; }
  .g4 { gap: 32px 20px; }

  .hero .wrap { min-height: 560px; padding-top: 72px; padding-bottom: 72px; }
  .hero h1 { font-size: 31px; }
  .hero .lead { font-size: 17px; }
  .hero .loc { font-size: 15px; }
  .hero .btns .btn { flex: 1 1 100%; }
  .hero-media video, .hero-media img { object-position: 55% center; }
  .hero .kicker { font-size: 14px; }

  .trust { padding: 40px 0 32px; }
  .trust .n { font-size: 30px; }
  .trust .g4 { gap: 24px 12px; }
  .trust .l { font-size: 14px; }

  .floor { grid-template-columns: 1fr; gap: 12px; }
  .floor .f { font-size: 44px; }
  .board li { flex-wrap: wrap; gap: 4px 12px; padding: 16px 4px; }
  .board .cat { flex: 0 0 auto; }
  .board .tit { flex: 1 1 100%; order: 3; font-size: 16px; }
  .form { padding: 24px 20px; }
  .route .tel { font-size: 24px; }
  .page-top { padding: 48px 0 64px; }
  .page-top h1 { font-size: 30px; }
  .band { padding: 56px 0; }
  .band h2 { font-size: 23px; }
  .band .btns { justify-content: flex-start; }
  .acc-q { font-size: 16px; }
  /* 하단 고정 줄 높이(64px)만큼 꼬리말 아래를 비운다 */
  .foot { padding: 48px 0 104px; }

  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 64px; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .bar a { flex: 1; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, 0.16); }
  .bar a:first-child { border-left: 0; }
  .bar a.main { background: var(--accent); }
}

@media (max-width: 400px) {
  /* 휴대폰에서도 「& 바레」를 보이되 작게 (320px에서 넘치지 않게) */
  .logo { font-size: 15px; }
  .head .wrap { gap: 12px; }
  .tabs button { padding: 0 14px; }
  .g4 { grid-template-columns: 1fr; }
  .trust .g4 { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
