/* 공통 색상과 본문 최대 폭. 화면 크기별 --page 값은 아래 미디어 쿼리에서 조정합니다. */
:root {
  --black: #111111;
  --gray: #777777;
  --line: #e5e5e5;
  --blue: #163f65;
  --pale: #edf3f6;
  --yellow: #ecff00;
  --page: min(100% - 112px, 1600px);
}

/* 기본 스타일 초기화와 공통 레이아웃·접근성 도구. sr-only는 화면에만 숨깁니다. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--black); background: #fff; font-family: Arial, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif; word-break: keep-all; }
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.page-width { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 9px 12px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.utility-bar { height: 38px; font-size: 10px; }
.utility-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; color: #777; letter-spacing: .03em; }
.utility-inner nav { display: flex; gap: 22px; }
.utility-inner a:hover { color: #000; }

/* 상단 고정 헤더 및 데스크톱 교육과정·게시판 메뉴. 펼침 상태는 script.js와 연동됩니다. */
.site-header { position: sticky; z-index: 900; top: 0; height: 92px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; height: 100%; grid-template-columns: 120px 1fr 144px; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.logo > img { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.logo span { font-size: 8px; font-weight: 800; line-height: 1.13; letter-spacing: .09em; }
.desktop-nav { display: flex; height: 100%; align-items: center; justify-content: center; gap: clamp(30px, 3.4vw, 68px); }
.desktop-nav > a, .desktop-nav > .nav-dropdown > a { position: relative; padding: 33px 0; font-size: 15px; letter-spacing: -.03em; }
.desktop-nav > a::after, .desktop-nav > .nav-dropdown > a::after { position: absolute; right: 0; bottom: 25px; left: 0; height: 1px; background: #111; content: ""; transform: scaleX(0); transition: transform .25s ease; }
.desktop-nav > a:hover::after, .desktop-nav > a.current::after, .desktop-nav > .nav-dropdown:hover > a::after, .desktop-nav > .nav-dropdown:focus-within > a::after, .desktop-nav > .nav-dropdown.open > a::after { transform: scaleX(1); }
.home-page .utility-bar { font-size: 11px; }
.home-page .logo span { font-size: 9px; }
.home-page .desktop-nav > a, .home-page .desktop-nav > .nav-dropdown > a { font-size: 17px; }
.nav-dropdown { position: static; display: flex; height: 100%; align-items: center; }
.course-mega-menu { position: absolute; z-index: 890; top: 100%; right: 0; left: 0; visibility: hidden; padding: 48px 0 54px; background: rgba(255,255,255,.985); border-top: 1px solid #ececec; box-shadow: 0 22px 38px rgba(0,25,48,.1); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
.nav-dropdown:hover .course-mega-menu, .nav-dropdown:focus-within .course-mega-menu, .nav-dropdown.open .course-mega-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.course-mega-inner { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: clamp(28px, 3vw, 56px); }
.course-mega-intro { padding-right: clamp(28px, 3vw, 56px); border-right: 1px solid #dce2e5; }
.course-mega-intro > span { color: #6b8090; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.course-mega-intro h2 { margin-top: 15px; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.3; letter-spacing: -.06em; }
.course-mega-intro p { margin-top: 16px; color: #778188; font-size: 10px; line-height: 1.75; }
.course-mega-intro > a { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding: 13px 0; border-top: 1px solid #87949c; border-bottom: 1px solid #87949c; font-size: 10px; }
.course-mega-intro > a b { font-size: 18px; font-weight: 300; }
.course-mega-column { display: flex; flex-direction: column; align-items: flex-start; }
.course-mega-column strong { font-size: 13px; letter-spacing: .03em; }
.course-mega-column small { margin: 7px 0 18px; color: #98a1a7; font-size: 8px; }
.course-mega-column a { position: relative; width: 100%; padding: 7px 0; color: #545e64; font-size: 11px; transition: color .18s ease, padding-left .18s ease; }
.course-mega-column a::before { position: absolute; top: 50%; left: 0; width: 0; height: 1px; background: #1a4e73; content: ""; transition: width .18s ease; }
.course-mega-column a:hover, .course-mega-column a:focus-visible { color: #123f64; padding-left: 14px; }
.course-mega-column a:hover::before, .course-mega-column a:focus-visible::before { width: 8px; }
.course-mega-column .course-mega-heading { padding: 0; }
.course-mega-column .course-mega-heading::before { display: none; }
.course-mega-column .course-mega-heading:hover, .course-mega-column .course-mega-heading:focus-visible { padding-left: 0; color: #123f64; }
.course-mega-heading strong, .course-mega-heading small { display: block; }
.board-dropdown { position: relative; }
.board-dropdown-menu { position: absolute; z-index: 895; top: 100%; left: 50%; display: grid; visibility: hidden; width: 210px; padding: 13px; background: rgba(255,255,255,.99); border: 1px solid #e6ebee; box-shadow: 0 18px 38px rgba(0,25,48,.13); opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-dropdown:hover .board-dropdown-menu, .nav-dropdown:focus-within .board-dropdown-menu, .nav-dropdown.open .board-dropdown-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.board-dropdown-menu a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 13px; color: #37464f; border-bottom: 1px solid #edf0f2; font-size: 12px; transition: color .18s ease, background .18s ease, padding-left .18s ease; }
.board-dropdown-menu a:last-child { border-bottom: 0; }
.board-dropdown-menu a::after { color: #8b9aa3; content: "＋"; font-size: 15px; font-weight: 300; }
.board-dropdown-menu a:hover, .board-dropdown-menu a:focus-visible { padding-left: 18px; color: #123f64; background: #f3f7f9; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.header-actions a, .header-actions button { position: relative; display: block; width: 24px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.person-icon::before { position: absolute; top: 3px; left: 8px; width: 7px; height: 7px; border: 1.5px solid #111; border-radius: 50%; content: ""; }
.person-icon::after { position: absolute; bottom: 3px; left: 3px; width: 17px; height: 10px; border: 1.5px solid #111; border-radius: 11px 11px 0 0; content: ""; }
.bag-icon::before { position: absolute; right: 2px; bottom: 2px; left: 2px; height: 19px; border: 1.5px solid #111; content: ""; }
.bag-icon::after { position: absolute; top: 1px; left: 8px; width: 8px; height: 8px; border: 1.5px solid #111; border-bottom: 0; border-radius: 8px 8px 0 0; content: ""; }
.search-icon::before { position: absolute; top: 3px; left: 2px; width: 15px; height: 15px; border: 1.5px solid #111; border-radius: 50%; content: ""; }
.search-icon::after { position: absolute; top: 18px; left: 17px; width: 8px; height: 1.5px; background: #111; content: ""; transform: rotate(48deg); transform-origin: left center; }
.mobile-menu-button { display: none; }

/* 모바일 전체 메뉴와 검색 패널: 일반 콘텐츠·헤더보다 위에 표시하는 전체 화면 레이어입니다. */
.mobile-menu, .search-panel { position: fixed; z-index: 1200; inset: 0; visibility: hidden; background: #fff; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.mobile-menu.open, .search-panel.open { visibility: visible; opacity: 1; }
.mobile-menu-head { display: flex; height: 72px; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .14em; }
.mobile-menu-head button, .search-panel > button { border: 0; background: none; font-size: 31px; font-weight: 200; cursor: pointer; }
.mobile-menu nav { display: flex; max-height: calc(100vh - 135px); overflow-y: auto; flex-direction: column; padding: 36px 24px; }
.mobile-menu nav > a, .mobile-course-group > button { display: flex; width: 100%; align-items: baseline; gap: 18px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: clamp(26px, 7vw, 39px); font-weight: 650; letter-spacing: -.06em; text-align: left; cursor: pointer; }
.mobile-menu nav small { color: #999; font-size: 9px; font-weight: 400; }
.mobile-course-group > button span { flex: 1; }
.mobile-course-group > button b { font-size: 25px; font-weight: 300; transition: transform .22s ease; }
.mobile-course-group > button:focus { outline: none; }
.mobile-course-group > button:focus-visible { outline: 1px solid #59758a; outline-offset: -1px; }
.mobile-course-group.open > button b { transform: rotate(45deg); }
.mobile-course-submenu { display: grid; max-height: 0; grid-template-columns: 1fr 1fr; overflow: hidden; background: #f3f6f7; transition: max-height .28s ease, padding .28s ease; }
.mobile-course-group.open .mobile-course-submenu { max-height: 360px; padding: 13px 16px 17px; }
.mobile-course-submenu a { padding: 9px 5px; color: #4f5d65; font-size: 13px; font-weight: 500; letter-spacing: -.03em; }
.menu-instagram { position: absolute; bottom: 38px; left: 24px; padding-bottom: 4px; border-bottom: 1px solid #111; font-size: 11px; }
.search-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.search-panel > button { position: absolute; top: 25px; right: 35px; }
.search-panel > p { margin-bottom: 35px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.quick-search { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.quick-search a { padding: 13px 22px; border: 1px solid #111; border-radius: 30px; font-size: 12px; }

/* 메인 첫 화면: 데스크톱에서는 3열 사진, 모바일에서는 대표 사진 한 장을 표시합니다. */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-tile { position: relative; height: clamp(520px, 43vw, 720px); overflow: hidden; background: #0b3150; }
.hero-tile img { height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.hero-tile:hover img { transform: scale(1.035); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,25,47,.12), rgba(0,17,37,.63)); }
.hero-overlay.soft { background: rgba(15,55,82,.1); }
.hero-overlay.right { background: linear-gradient(90deg, rgba(2,24,45,.35), transparent); }
.hero-copy { position: absolute; right: 8%; bottom: 8%; left: 8%; color: #fff; text-align: center; }
.hero-copy small { display: block; margin-bottom: 15px; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.hero-copy h1 { font-size: clamp(31px, 3.1vw, 54px); line-height: 1.17; letter-spacing: -.07em; }
.hero-copy p { margin-top: 13px; font-size: 12px; }
.hero-center-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; text-align: center; }
.hero-center-mark img { width: clamp(94px, 10vw, 150px); height: auto; border-radius: 50%; object-fit: cover; box-shadow: 0 16px 36px rgba(0,20,40,.2); transition: none; }
.hero-tile:hover .hero-center-mark img { transform: none; }
.hero-center-mark span { margin-top: 17px; font-size: 9px; font-weight: 800; letter-spacing: .22em; line-height: 1.4; }
.hero-side-copy { position: absolute; right: 7%; bottom: 9%; left: 8%; color: #fff; }
.hero-side-copy span { font-size: 9px; letter-spacing: .2em; }
.hero-side-copy b { display: block; margin-top: 13px; font-size: clamp(34px, 4.2vw, 70px); line-height: .92; letter-spacing: -.05em; }
.hero-mobile-dots { display: none; }

/* BEST COURSE 가로 카드 목록. 카드 간격(20px)은 script.js의 이동 거리와 맞춰 주세요. */
.product-section { padding-top: 118px; overflow: hidden; }
.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-title-row h2 { font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #bdbdbd; border-radius: 50%; background: #fff; font-size: 30px; font-weight: 200; line-height: 1; cursor: pointer; transition: color .2s, background .2s; }
.slider-controls button:hover { color: #fff; background: #111; }
.course-viewport { width: calc(100% - 56px); margin-top: 30px; margin-left: 56px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.course-viewport::-webkit-scrollbar { display: none; }
.course-track { display: flex; gap: 20px; width: max-content; padding-right: 56px; }
.product-card { width: calc((100vw - 152px) / 3); max-width: 540px; scroll-snap-align: start; }
.product-card[data-course-detail] { cursor: pointer; }
.product-image { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #174467; }
.product-image img { height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); transition: transform .65s ease; }
.product-image:hover img { transform: scale(1.035); }
/* 어드밴스드 원본의 위쪽 여백을 가리기 위한 확대·위치 보정입니다. 사진 교체 시 확인하세요. */
#course-advanced .product-image img { object-position: center; transform: scale(1.1) translateY(-5%); }
#course-advanced .product-image:hover img { transform: scale(1.135) translateY(-5%); }
.product-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,19,39,.63)); content: ""; }
.image-frame { position: absolute; z-index: 2; inset: 12px; border: 2px solid rgba(255,255,255,.8); pointer-events: none; }
.card-brand { position: absolute; z-index: 3; top: 34px; right: 34px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.card-title { position: absolute; z-index: 3; right: 9%; bottom: 8%; left: 9%; color: #fff; }
.card-title b { display: block; color: var(--yellow); font-size: clamp(31px, 3.4vw, 59px); line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.card-title strong { display: block; margin-top: 7px; font-size: clamp(21px, 2.2vw, 38px); line-height: 1.1; letter-spacing: -.06em; }
.product-info, .program-card > p, .program-card > strong { font-size: 11px; }
.product-info { padding-top: 17px; line-height: 1.8; }
.product-info p { color: #666; }
.product-info strong { display: block; font-weight: 500; }
.tag { display: inline-block; margin: 8px 5px 0 0; padding: 2px 5px; color: #fff; background: #67aee8; font-size: 8px; line-height: 1.2; }
.tag.line { color: #6387a9; background: #fff; border: 1px solid #91aac0; }
.tag.dark { background: #233c56; }
.section-progress { height: 2px; margin-top: 78px; background: #e4e4e4; }
.section-progress span { display: block; width: 36%; height: 2px; background: #2f4d6b; }

/* HOT PROGRAM: 체험 다이빙·중성부력 특강·팀 펀다이빙 카드입니다. */
.hot-section { padding-bottom: 150px; }
.hot-heading { align-items: center; }
.filter-tabs { display: flex; gap: 26px; }
.filter-tabs button { position: relative; padding: 10px 0; color: #aaa; border: 0; background: none; font-size: 12px; cursor: pointer; }
.filter-tabs button::before { position: absolute; top: 0; left: 0; width: 0; height: 1px; background: #1d3c5d; content: ""; transition: width .2s; }
.filter-tabs button.active { color: #183650; }
.filter-tabs button.active::before { width: 42px; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.program-card { transition: opacity .2s, transform .2s; }
.program-card.hidden { display: none; }
.program-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.program-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,25,48,.72)); content: ""; }
.program-image img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.program-image:hover img { transform: scale(1.035); }
.program-label { position: absolute; z-index: 2; right: 7%; bottom: 8%; left: 7%; color: #fff; }
.program-label small { display: block; margin-bottom: 8px; font-size: 9px; letter-spacing: .17em; }
.program-label b { font-size: clamp(25px, 2.2vw, 40px); letter-spacing: -.06em; }
.program-card > p { margin-top: 16px; color: #666; }
.program-card > strong { display: block; margin-top: 7px; font-weight: 500; }

/* 브랜드 소개와 세로 영상. contain으로 영상 전체를 보존하고 플레이어 영역은 9:16으로 유지합니다. */
.brand-story { padding: 145px 0 0; border-top: 1px solid #eee; }
.story-heading { padding: 0 0 75px; text-align: center; }
.story-heading span { font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.story-heading h2 { margin-top: 20px; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.35; letter-spacing: -.06em; }
.story-media { position: relative; display: block; width: min(100% - 112px, 675px); aspect-ratio: 9 / 16; overflow: hidden; background: #0c3154; }
.story-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0c3154; }

/* 메인 대표강사 소개: 사진과 소개글의 2열 배치를 태블릿 이하에서 1열로 전환합니다. */
.about-panel { display: grid; grid-template-columns: 1.05fr .95fr; margin-top: 120px; background: var(--pale); }
.founder-visual { position: relative; min-height: 680px; overflow: hidden; background: #163f65; }
.founder-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,54,90,.32), transparent); content: ""; }
.founder-visual > img { height: 100%; object-fit: cover; object-position: center; filter: saturate(.72); }
.founder-brand { position: absolute; z-index: 2; top: 40px; left: 42px; display: flex; align-items: center; gap: 13px; color: #fff; }
.founder-brand img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.founder-brand span { font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.founder-visual > strong { position: absolute; z-index: 2; right: 40px; bottom: 36px; color: #fff; font-size: clamp(36px, 4.5vw, 68px); line-height: .9; text-align: right; letter-spacing: -.06em; }
.founder-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 112px); }
.founder-title { font-size: clamp(22px, 2.3vw, 35px); font-weight: 700; letter-spacing: -.05em; }
.since { display: block; margin: 42px 0 14px; color: #63717b; font-size: 11px; letter-spacing: .08em; }
.founder-copy h3 { font-size: 42px; letter-spacing: -.06em; }
.founder-copy h3 small { margin-left: 10px; color: #7a8993; font-size: 10px; font-weight: 500; letter-spacing: .15em; }
.founder-copy ul { margin: 29px 0; padding: 0; list-style: none; border-top: 1px solid #cfd9df; }
.founder-copy li { padding: 12px 0; color: #55616a; border-bottom: 1px solid #cfd9df; font-size: 12px; }
.founder-copy > p:last-of-type { color: #64717a; font-size: 12px; line-height: 1.9; }
.founder-copy > a { display: flex; align-items: center; justify-content: space-between; margin-top: 38px; padding: 17px 0; border-top: 1px solid #798b98; border-bottom: 1px solid #798b98; font-size: 11px; }
.founder-copy > a b { font-size: 20px; font-weight: 300; }

/* 이전 메인 후기 섹션용 스타일. 현재 후기 게시판은 아래 qa-* / review-list-* 스타일을 사용합니다. */
.review-section { padding: 110px 0 125px; background: #f7f7f7; }
.review-heading > div p { margin-top: 10px; color: #777; font-size: 12px; }
.review-heading > span { color: #999; font-size: 9px; letter-spacing: .16em; }
.review-board { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 35px; border-top: 1px solid #bbb; border-bottom: 1px solid #bbb; }
.review-board article { min-height: 300px; padding: 32px; border-right: 1px solid #d0d0d0; }
.review-board article:last-child { border-right: 0; }
.review-board article > span { font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.review-board h3 { margin-top: 70px; font-size: 19px; line-height: 1.55; letter-spacing: -.04em; }
.review-board p { margin-top: 18px; color: #777; font-size: 11px; line-height: 1.8; }
.review-board small { display: block; margin-top: 28px; color: #aaa; font-size: 8px; letter-spacing: .07em; }
.sample-note { margin-top: 15px; color: #aaa; font-size: 9px; }

/* 메인·센터소개 페이지에서 공유하는 교육 예약 신청 영역입니다. */
.reservation-section { padding: 120px 0; color: #fff; background: #183d5e; }
.reserve-layout { display: grid; grid-template-columns: 1fr 440px; align-items: end; gap: 70px; }
.reserve-layout > div > span { font-size: 9px; letter-spacing: .17em; }
.reserve-layout h2 { margin-top: 18px; font-size: clamp(32px, 4vw, 60px); line-height: 1.2; letter-spacing: -.07em; }
.reserve-layout p { max-width: 570px; margin-top: 25px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.8; }
.reserve-layout > a { display: flex; align-items: center; justify-content: space-between; padding: 25px 29px; color: #111; background: #fff; transition: background .2s; }
.reserve-layout > a:hover { background: var(--yellow); }
.reserve-layout > a span { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; }
.reserve-layout > a small { margin-bottom: 5px; color: #777; font-size: 8px; letter-spacing: .13em; }
.reserve-layout > a b { font-size: 28px; font-weight: 300; }

/* 페이지 공통 하단 정보·SNS·메뉴 링크입니다. */
.site-footer { padding: 80px 0 35px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1.1fr; gap: 60px; }
.footer-logo { margin-bottom: 20px; }
.footer-grid > div:first-child > p { color: #999; font-size: 9px; letter-spacing: .13em; }
.footer-grid > div:not(:first-child) { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; }
.footer-grid h3 { margin-bottom: 7px; font-size: 9px; letter-spacing: .15em; }
.footer-grid a, .footer-grid p { color: #777; font-size: 10px; line-height: 1.7; }
.footer-grid a:hover { color: #000; }
.footer-grid .footer-kakao-button { display: inline-flex; align-items: center; width: auto; margin-top: 0; padding: 0; color: #777; background: transparent; font-size: 10px; font-weight: 400; line-height: 1.7; transition: color .2s; }
.footer-grid .footer-kakao-button span { display: none; }
.footer-grid .footer-kakao-button b { margin-left: 4px; font-size: 12px; font-weight: 400; }
.footer-grid .footer-kakao-button:hover { color: #000; background: transparent; transform: none; }
.copyright { margin-top: 70px; padding-top: 19px; color: #aaa; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: .1em; }

/* 모바일 하단 바로가기와 일시적인 안내 메시지. 토스트는 메뉴보다 위에 표시합니다. */
.mobile-dock { display: none; }
.toast { position: fixed; z-index: 1500; right: 25px; bottom: 25px; visibility: hidden; padding: 15px 20px; color: #fff; background: #111; box-shadow: 0 10px 35px rgba(0,0,0,.2); opacity: 0; transform: translateY(8px); transition: .25s ease; font-size: 11px; }
.toast.show { visibility: visible; opacity: 1; transform: none; }

/* 센터·강사 소개에 사용하는 상단 사진과 제목 영역입니다. */
.subpage-main { overflow: hidden; }
.subpage-hero { position: relative; height: min(46vw, 650px); min-height: 440px; overflow: hidden; background: #123f64; }
.subpage-hero > img { height: 100%; object-fit: cover; }
.center-hero { height: min(34vw, 480px); min-height: 360px; }
.center-hero > img { object-position: center 48%; }
.trainer-hero > img { object-position: center 42%; }
.subpage-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,31,55,.12), rgba(4,31,55,.57)); }
.subpage-title { position: absolute; top: 50%; left: 50%; color: #fff; text-align: center; transform: translate(-50%,-42%); }
.subpage-title small { font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.subpage-title h1 { margin-top: 17px; font-size: clamp(42px, 5.5vw, 82px); letter-spacing: -.07em; }
.subpage-title p { margin-top: 9px; font-size: 10px; letter-spacing: .18em; }
.breadcrumb { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 66px; color: #aaa; border-bottom: 1px solid var(--line); font-size: 9px; }
.breadcrumb b { color: #333; font-weight: 500; }

/* 교육과정 카테고리 탭과 카드 그리드. hidden 속성으로 선택하지 않은 카드를 숨깁니다. */
.course-catalog-main { overflow: hidden; }
.course-catalog { padding: 90px 0 155px; }
.course-catalog-heading { text-align: center; }
.course-catalog-heading > span { color: #678093; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.course-catalog-heading h1 { margin-top: 18px; font-size: clamp(36px, 4.2vw, 61px); line-height: 1.25; letter-spacing: -.075em; }
.course-catalog-heading p { margin-top: 20px; color: #7d878d; font-size: 11px; }
.course-category-tabs { display: grid; margin-top: 72px; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #1f2e38; border-bottom: 1px solid #d6dde1; }
.course-category-tabs button { position: relative; display: grid; min-height: 128px; padding: 24px 20px 20px; border: 0; border-right: 1px solid #e1e5e7; background: #fff; text-align: left; cursor: pointer; transition: color .22s ease, background .22s ease; }
.course-category-tabs button:last-child { border-right: 0; }
.course-category-tabs button::before { position: absolute; top: -1px; right: 0; left: 0; height: 3px; background: var(--yellow); content: ""; transform: scaleX(0); transition: transform .22s ease; }
.course-category-tabs small { color: #94a0a7; font-size: 8px; letter-spacing: .15em; }
.course-category-tabs strong { align-self: end; font-size: 16px; font-weight: 650; letter-spacing: -.04em; }
.course-category-tabs span { position: absolute; right: 18px; bottom: 19px; color: #a7afb4; font-size: 9px; }
.course-category-tabs button:hover, .course-category-tabs button.active { color: #fff; background: #082f4e; }
.course-category-tabs button:hover::before, .course-category-tabs button.active::before { transform: scaleX(1); }
.course-category-tabs button:hover small, .course-category-tabs button:hover span, .course-category-tabs button.active small, .course-category-tabs button.active span { color: rgba(255,255,255,.62); }
.course-result-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 95px 0 30px; padding-bottom: 18px; border-bottom: 1px solid #172c3b; scroll-margin-top: 120px; }
.course-result-head small { color: #778894; font-size: 8px; letter-spacing: .18em; }
.course-result-head h3 { margin-top: 9px; font-size: 27px; letter-spacing: -.055em; }
.course-result-head p { color: #8b969d; font-size: 10px; }
.course-result-head p b { color: #0b3556; font-size: 18px; }
.course-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 22px; }
.catalog-course-card { min-width: 0; scroll-margin-top: 130px; }
.catalog-course-card[hidden] { display: none; }
.catalog-course-card a { display: block; }
.catalog-course-card figure { position: relative; aspect-ratio: 1 / 1.06; overflow: hidden; background: #123f64; }
.catalog-course-card figure::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(0,20,39,.65)); content: ""; }
.catalog-course-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.catalog-course-card:hover figure img { transform: scale(1.04); }
/* 교육과정 목록용 어드밴스드 사진 보정: 메인 카드와는 별도의 비율을 사용합니다. */
.catalog-course-card .advanced-course-thumb img { object-position: center; transform: scale(1.12) translateY(-4%); }
.catalog-course-card:hover .advanced-course-thumb img { transform: scale(1.16) translateY(-4%); }
.catalog-course-card figure em { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; color: #fff; font-size: 8px; font-style: normal; letter-spacing: .17em; }
.catalog-course-card figure span { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; width: 34px; height: 34px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; font-size: 8px; }
.catalog-course-card > a > div { padding: 22px 2px 0; }
.catalog-course-card > a > div small { color: #698092; font-size: 8px; letter-spacing: .15em; }
.catalog-course-card h3 { margin-top: 9px; font-size: 26px; letter-spacing: -.06em; }
.catalog-course-card p { min-height: 46px; margin-top: 14px; color: #737d83; font-size: 10px; line-height: 1.75; }
.catalog-course-card > a > div b { display: flex; align-items: center; justify-content: flex-start; gap: .3em; margin-top: 20px; padding: 13px 0; border-top: 1px solid #d9dfe2; border-bottom: 1px solid #d9dfe2; font-size: 10px; font-weight: 500; }
.catalog-course-card > a > div b::before { content: "교육비 :"; }
.catalog-course-card > a > div i { display: none; }
/* 메인·교육과정 목록이 공유하는 상세보기. 내용이 길면 창 내부에서 스크롤됩니다. */
.course-detail-dialog { width: min(calc(100% - 40px), 920px); max-height: 88vh; padding: 0; overflow-y: auto; color: #172c3b; border: 0; background: #fff; box-shadow: 0 34px 100px rgba(0,19,36,.34); overscroll-behavior: contain; }
.course-detail-dialog::backdrop { background: rgba(3,22,38,.76); backdrop-filter: blur(4px); }
.course-detail-dialog article { position: relative; padding: 62px 64px 58px; }
.course-detail-close { position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; padding: 0; color: #314652; border: 0; background: transparent; font-size: 32px; font-weight: 200; cursor: pointer; }
.course-detail-category { color: #638198; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.course-detail-dialog h2 { max-width: 720px; margin-top: 18px; font-size: clamp(32px, 4vw, 48px); line-height: 1.25; letter-spacing: -.065em; }
.course-detail-summary { display: grid; margin-top: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #17364c; border-bottom: 1px solid #dce3e7; }
.course-detail-summary > div { display: grid; min-height: 92px; align-content: center; padding: 18px 24px; gap: 8px; }
.course-detail-summary > div + div { border-left: 1px solid #dce3e7; }
.course-detail-summary small { color: #7c8e99; font-size: 8px; letter-spacing: .12em; }
.course-detail-summary strong { color: #0b3859; font-size: 19px; font-weight: 650; }
.course-detail-sections { display: grid; margin-top: 42px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.course-detail-sections section { min-width: 0; }
.course-detail-sections h3 { padding-bottom: 14px; border-bottom: 2px solid #17364c; font-size: 17px; letter-spacing: -.035em; }
.course-detail-sections ol { margin: 22px 0 0; padding-left: 21px; color: #566a76; }
.course-detail-sections li { padding-left: 5px; font-size: 11px; line-height: 1.85; }
.course-detail-sections li + li { margin-top: 10px; }
.course-detail-note { margin-top: 34px; padding-top: 18px; color: #8b979e; border-top: 1px solid #e1e6e9; font-size: 9px; line-height: 1.75; }
.course-detail-actions { display: flex; justify-content: flex-end; margin-top: 28px; gap: 10px; }
.course-detail-actions a { display: grid; min-width: 150px; min-height: 48px; place-items: center; padding: 0 22px; color: #fff; background: #0b3859; font-size: 10px; transition: background .18s ease; }
.course-detail-actions a:last-child { color: #17364c; border: 1px solid #aab8c1; background: #fff; }
.course-detail-actions a:hover, .course-detail-actions a:focus-visible { background: #061f33; }
.course-detail-actions a:last-child:hover, .course-detail-actions a:last-child:focus-visible { color: #fff; border-color: #17364c; background: #17364c; }
.course-catalog-cta { padding: 95px 0; color: #fff; background: #082f4e; }
.course-catalog-cta > div { display: grid; grid-template-columns: 1fr minmax(280px, 420px); align-items: end; gap: 90px; }
.course-catalog-cta small { color: #92aec1; font-size: 8px; letter-spacing: .2em; }
.course-catalog-cta h2 { margin-top: 17px; font-size: clamp(36px, 4vw, 58px); line-height: 1.2; letter-spacing: -.07em; }
.course-catalog-cta p { margin-top: 19px; color: #afc0cb; font-size: 11px; line-height: 1.8; }
.course-catalog-cta a { display: flex; align-items: center; justify-content: space-between; padding: 25px 0; border-top: 1px solid #7e96a7; border-bottom: 1px solid #7e96a7; font-size: 13px; }
.course-catalog-cta a b { font-size: 25px; font-weight: 300; }
/* 센터 소개 본문: 사진·설명, 교육 원칙, 단계별 훈련 과정 순서로 구성합니다. */
.center-intro { padding: 90px 0 105px; }
.trainer-profile-page { padding: 130px 0 150px; }
.intro-heading, .trainer-page-heading { margin-bottom: 75px; text-align: center; }
.center-intro .intro-heading { margin-bottom: 50px; }
.intro-heading > span, .trainer-page-heading > span, .subsection-heading > span { font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.intro-heading h2, .trainer-page-heading h2, .subsection-heading h2 { margin-top: 17px; font-size: clamp(31px, 3.7vw, 56px); line-height: 1.32; letter-spacing: -.07em; }
.intro-feature { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(60px, 8vw, 130px); }
.intro-feature figure { position: relative; height: min(44vw, 560px); overflow: hidden; }
.intro-feature figure img { height: 100%; object-fit: cover; }
.intro-feature figcaption { position: absolute; bottom: 18px; left: 20px; color: #fff; font-size: 8px; letter-spacing: .14em; }
.intro-feature > div h3 { font-size: clamp(27px, 3vw, 44px); line-height: 1.35; letter-spacing: -.06em; }
.intro-feature > div p { margin-top: 25px; color: #67727a; font-size: 12px; line-height: 1.95; }
.intro-feature > div a { display: flex; align-items: center; justify-content: space-between; margin-top: 38px; padding: 17px 0; border-top: 1px solid #89959d; border-bottom: 1px solid #89959d; font-size: 11px; }
.intro-feature > div a b { font-size: 20px; font-weight: 300; }
.center-principles, .trainer-philosophy { padding: 125px 0 140px; background: #f2f5f6; }
.subsection-heading { margin-bottom: 60px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #9aa5ac; border-bottom: 1px solid #9aa5ac; }
.principle-grid article { min-height: 330px; padding: 30px; border-right: 1px solid #ccd3d7; }
.principle-grid article:first-child { padding-left: 0; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid small { color: #6a7d89; font-size: 9px; }
.principle-grid h3 { margin-top: 80px; font-size: 22px; letter-spacing: -.03em; }
.principle-grid p { margin-top: 20px; color: #6c777e; font-size: 11px; line-height: 1.85; }
.training-flow, .trainer-gallery { padding: 145px 0 155px; }
.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.training-grid article img { aspect-ratio: 1 / .9; object-fit: cover; }
.training-grid article > div { padding: 22px 4px; }
.training-grid small { color: #65809a; font-size: 8px; letter-spacing: .13em; }
.training-grid h3 { margin-top: 12px; font-size: 20px; }
.training-grid p { margin-top: 13px; color: #777; font-size: 11px; line-height: 1.8; }
.subpage-cta { padding: 100px 0; color: #fff; background: #173f61; }
.subpage-cta > div { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 80px; }
.subpage-cta span { font-size: 9px; letter-spacing: .15em; }
.subpage-cta h2 { margin-top: 16px; font-size: clamp(32px, 4vw, 58px); line-height: 1.25; letter-spacing: -.07em; }
.subpage-cta a { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; color: #111; background: #fff; }
.subpage-cta a span { font-size: 14px; font-weight: 700; letter-spacing: 0; }
.subpage-cta a b { font-size: 27px; font-weight: 300; }

.trainer-list-page { background: #fff; }
/* 강사 소개 카드 목록. 대표 프로필과 아직 등록되지 않은 팀 프로필의 표현을 구분합니다. */
.trainer-catalog { padding: 70px 0 135px; }
.trainer-catalog-title { text-align: center; }
.trainer-catalog-title span { color: #75838c; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.trainer-catalog-title h1 { margin-top: 20px; font-size: clamp(31px, 3vw, 42px); font-weight: 500; letter-spacing: -.055em; }
.instructor-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); margin-top: 100px; }
.instructor-card { position: relative; overflow: hidden; aspect-ratio: .76 / 1; color: #fff; background: #173f62; isolation: isolate; }
.instructor-card > a, .instructor-card > div { position: absolute; inset: 0; display: block; }
.instructor-card-photo { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.instructor-card-featured .instructor-card-photo { object-position: 50% 48%; }
.instructor-card-pending .instructor-card-photo { filter: saturate(.62) contrast(.94); }
.instructor-card:hover .instructor-card-photo { transform: scale(1.035); }
.instructor-card-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(18,58,93,.95) 0%, rgba(26,70,108,.78) 47%, rgba(21,58,91,.54) 100%); }
.instructor-card-pending .instructor-card-overlay { background: linear-gradient(180deg, rgba(19,58,91,.3), rgba(16,52,82,.88)); }
.instructor-card-brand { position: absolute; top: 7.5%; left: 7.5%; display: flex; align-items: center; gap: 10px; }
.instructor-card-brand img { width: clamp(40px, 4vw, 60px); height: auto; flex: 0 0 auto; border-radius: 50%; }
.instructor-card-brand small { font-size: clamp(5px, .52vw, 8px); font-weight: 800; line-height: 1.15; letter-spacing: .1em; }
.instructor-card-portrait { position: absolute; top: 23%; left: 7%; width: 36%; height: 44%; object-fit: cover; object-position: center 24%; box-shadow: 0 16px 35px rgba(0,19,36,.2); }
.instructor-card-copy { position: absolute; top: 33%; right: 6%; left: 48%; display: flex; flex-direction: column; }
.instructor-card-copy > small { margin-bottom: 9px; color: rgba(255,255,255,.8); font-size: clamp(7px, .7vw, 10px); }
.instructor-card-copy > strong { margin-bottom: 22px; font-size: clamp(19px, 2vw, 31px); font-weight: 750; line-height: 1.2; letter-spacing: -.065em; }
.instructor-card-copy > strong em { margin-left: 4px; color: rgba(255,255,255,.7); font-size: .52em; font-style: normal; font-weight: 400; }
.instructor-card-copy > span { position: relative; margin-top: 8px; padding-left: 8px; color: rgba(255,255,255,.88); font-size: clamp(7px, .66vw, 10px); line-height: 1.35; }
.instructor-card-copy > span::before { position: absolute; top: .55em; left: 0; width: 2px; height: 2px; border-radius: 50%; background: currentColor; content: ""; }
.instructor-card-bottom { position: absolute; right: 7%; bottom: 5.8%; left: 7%; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.35); padding-top: 15px; }
.instructor-card-bottom b { font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2.15vw, 34px); font-weight: 400; letter-spacing: -.025em; }
.instructor-card-bottom small { padding-bottom: 3px; font-size: clamp(6px, .55vw, 9px); letter-spacing: .08em; }
.pending-card-copy { position: absolute; right: 8%; bottom: 19%; left: 8%; display: flex; flex-direction: column; }
.pending-card-copy small { margin-bottom: 13px; color: rgba(255,255,255,.68); font-size: 8px; letter-spacing: .14em; }
.pending-card-copy strong { font-size: clamp(24px, 2.7vw, 42px); line-height: 1.22; letter-spacing: -.065em; }
.pending-card-copy span { margin-top: 18px; color: rgba(255,255,255,.75); font-size: clamp(8px, .75vw, 11px); line-height: 1.65; }
.trainer-pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 62px; color: #a2a2a2; font-size: 11px; }
.trainer-pagination b { display: grid; width: 28px; height: 28px; place-items: center; color: #111; border: 1px solid #111; font-weight: 500; }
.trainer-selected-profile { padding: 130px 0 145px; background: #f2f5f6; scroll-margin-top: 90px; }
.trainer-profile-heading { margin-bottom: 65px; text-align: center; }
.trainer-profile-heading span { color: #587188; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.trainer-profile-heading h2 { margin-top: 18px; font-size: clamp(34px, 4vw, 58px); line-height: 1.3; letter-spacing: -.065em; }
.trainer-profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 9vw, 140px); }
.trainer-profile-grid figure { position: relative; aspect-ratio: .92 / 1; overflow: hidden; background: #123f64; }
.trainer-profile-grid figure img { height: 100%; object-fit: cover; }
.trainer-profile-grid figcaption { position: absolute; right: 17px; bottom: 15px; left: 17px; color: #fff; font-size: 8px; letter-spacing: .12em; }
.trainer-label { color: #55758e; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.trainer-detail h3 { margin-top: 19px; font-size: clamp(40px, 4.4vw, 67px); letter-spacing: -.07em; }
.trainer-detail h3 small { margin-left: 13px; color: #89969e; font-size: 10px; font-weight: 500; letter-spacing: .16em; }
.trainer-lead { margin-top: 32px; font-size: 17px; line-height: 1.85; letter-spacing: -.03em; }
.trainer-detail ul { margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid #9aa5ac; }
.trainer-detail li { display: grid; grid-template-columns: 45px 1fr; padding: 14px 0; color: #59666e; border-bottom: 1px solid #d4dadd; font-size: 11px; }
.trainer-detail li small { color: #52738b; }
.trainer-detail > a { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; padding: 17px 0; border-top: 1px solid #7d8990; border-bottom: 1px solid #7d8990; font-size: 10px; letter-spacing: .1em; }
.trainer-detail > a b { font-size: 20px; font-weight: 300; }
.philosophy-list { border-top: 1px solid #9aa5ac; }
.philosophy-list article { display: grid; grid-template-columns: 80px .65fr 1fr; gap: 30px; align-items: start; padding: 32px 0; border-bottom: 1px solid #cbd3d7; }
.philosophy-list article > span { color: #54738a; font-size: 10px; }
.philosophy-list h3 { font-size: 22px; }
.philosophy-list p { color: #68757d; font-size: 11px; line-height: 1.85; }
.trainer-gallery > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trainer-gallery figure { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; }
.trainer-gallery figure::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(0,26,49,.6)); content: ""; }
.trainer-gallery img { height: 100%; object-fit: cover; }
.trainer-gallery figcaption { position: absolute; z-index: 2; bottom: 15px; left: 16px; color: #fff; font-size: 8px; letter-spacing: .13em; }

/* 이전 문의·후기 안내 레이아웃용 스타일. 현재 목록 화면의 규칙은 아래 게시판 영역에 있습니다. */
.board-hero > img { object-position: center 52%; }
.review-hero > img { object-position: center 38%; }
.board-page { padding: 110px 0 135px; }
.board-page-heading { display: grid; grid-template-columns: .72fr 1.28fr; margin-bottom: 65px; gap: clamp(35px, 6vw, 100px); }
.board-page-heading > span { padding-top: 8px; color: #6b8090; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.board-page-heading h2 { font-size: clamp(32px, 3.2vw, 50px); line-height: 1.28; letter-spacing: -.065em; }
.board-page-heading p { max-width: 650px; margin-top: 20px; color: #68737a; font-size: 13px; line-height: 1.85; }
.inquiry-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #1a2d3b; border-bottom: 1px solid #d9e0e4; }
.inquiry-card { min-height: 330px; padding: 38px 34px; border-right: 1px solid #d9e0e4; }
.inquiry-card:last-child { border-right: 0; }
.inquiry-card > small { color: #748996; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.inquiry-card h3 { margin-top: 54px; font-size: 25px; letter-spacing: -.05em; }
.inquiry-card p { margin-top: 17px; color: #6f7a80; font-size: 11px; line-height: 1.8; }
.inquiry-card ul { padding: 0; margin: 27px 0 0; list-style: none; }
.inquiry-card li { padding: 9px 0; color: #394952; border-top: 1px solid #e7ebed; font-size: 10px; }
.inquiry-guide { display: grid; grid-template-columns: .85fr 1.15fr; margin-top: 100px; background: #edf3f6; }
.inquiry-guide-copy { padding: clamp(48px, 6vw, 92px); }
.inquiry-guide-copy > span { color: #5e7789; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.inquiry-guide-copy h3 { margin-top: 18px; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.35; letter-spacing: -.06em; }
.inquiry-guide-copy p { margin-top: 20px; color: #65737c; font-size: 11px; line-height: 1.85; }
.inquiry-guide-copy > a { display: flex; width: min(100%, 310px); align-items: center; justify-content: space-between; margin-top: 36px; padding: 18px 20px; color: #fff; background: #123f64; font-size: 11px; }
.inquiry-guide-copy > a b { font-size: 20px; font-weight: 300; }
.inquiry-steps { display: grid; align-content: center; padding: 50px clamp(35px, 5vw, 78px); background: #143f63; color: #fff; }
.inquiry-step { display: grid; grid-template-columns: 42px 1fr; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); gap: 20px; }
.inquiry-step:last-child { border-bottom: 0; }
.inquiry-step > span { color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .13em; }
.inquiry-step h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.inquiry-step p { color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.65; }
.review-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #1a2d3b; }
.review-page-card { min-height: 300px; padding: 40px 36px 42px; border-right: 1px solid #dce2e5; border-bottom: 1px solid #dce2e5; }
.review-page-card:nth-child(2n) { border-right: 0; }
.review-page-card > span { color: #607c8e; font-size: 8px; font-weight: 700; letter-spacing: .17em; }
.review-page-card h3 { max-width: 520px; margin-top: 38px; font-size: clamp(21px, 2vw, 29px); line-height: 1.45; letter-spacing: -.05em; }
.review-page-card p { max-width: 580px; margin-top: 18px; color: #68747a; font-size: 11px; line-height: 1.85; }
.review-page-card small { display: block; margin-top: 35px; color: #9aa3a8; font-size: 8px; letter-spacing: .08em; }
.board-sample-note { margin-top: 18px; color: #a0a6aa; font-size: 8px; text-align: right; }
.board-link-strip { display: grid; grid-template-columns: 1fr 1fr; margin-top: 90px; border: 1px solid #dce2e5; }
.board-link-strip a { display: flex; min-height: 132px; align-items: center; justify-content: space-between; padding: 30px 34px; }
.board-link-strip a:first-child { border-right: 1px solid #dce2e5; }
.board-link-strip small { display: block; margin-bottom: 11px; color: #81909a; font-size: 8px; letter-spacing: .16em; }
.board-link-strip strong { font-size: 20px; letter-spacing: -.04em; }
.board-link-strip b { font-size: 24px; font-weight: 300; }
.board-link-strip a:hover { background: #f2f6f8; }

/* 현재 교육문의·후기 게시판: 제목, 작성 버튼, 표, 상태 메시지, 페이지 이동을 공유합니다. */
.qa-main { min-height: 670px; border-top: 0; }
.qa-location { display: flex; height: 72px; align-items: center; justify-content: flex-end; gap: 8px; color: #9aa0a4; font-size: 9px; }
.qa-location b { color: #222; font-weight: 600; }
/* 삭제된 경로 안내(홈/게시판) 대신 제목 위 여백을 이 padding으로 확보합니다. */
.qa-board-page { width: min(calc(100% - 112px), 1165px); padding: 104px 0 115px; }
.qa-page-title { margin-bottom: 56px; text-align: center; }
.qa-page-title h1 { font-size: 34px; font-weight: 500; letter-spacing: -.055em; }
.qa-page-title p { margin-top: 24px; color: #7c858a; font-size: 11px; }
.qa-board-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.qa-board-toolbar-end { justify-content: flex-end; }
.qa-board-toolbar select { height: 43px; padding: 0 15px; color: #222; border: 1px solid #d8dde0; border-radius: 0; background: #fff; font: inherit; font-size: 10px; }
.qa-board-toolbar select { width: 152px; }
.qa-write-button { display: grid; min-width: 112px; height: 43px; place-items: center; color: #fff; background: #123f64; font-size: 10px; letter-spacing: .02em; transition: background .2s ease; }
.qa-write-button:hover, .qa-write-button:focus-visible { background: #092d49; }
.qa-table-wrap { overflow-x: auto; }
.qa-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10px; }
.qa-table caption { position: absolute; overflow: hidden; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); }
.qa-table .qa-col-number { width: 90px; }
.qa-table .qa-col-category { width: 150px; }
.qa-table .qa-col-author { width: 105px; }
.qa-table .qa-col-date { width: 110px; }
.qa-table th { height: 62px; padding: 0 14px; background: #f7f7f7; font-weight: 500; text-align: center; }
.qa-table td { padding: 17px 14px; border-bottom: 1px solid #eceff1; text-align: center; }
.qa-table th:nth-child(2), .qa-table td:nth-child(2) { text-align: left; }
.qa-table .qa-empty-row td { height: 155px; color: #8b9296; border-bottom: 1px solid #dedfe0; text-align: center; }
.qa-table .qa-loading-row td { color: #72818a; }
.qa-pagination { display: flex; height: 86px; align-items: center; justify-content: center; gap: 5px; }
.qa-pagination[hidden] { display: none; }
.qa-pagination button, .qa-pagination b { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; color: #8c9499; border: 0; background: transparent; font-size: 11px; font-weight: 400; }
.qa-pagination b { color: #fff; background: #123f64; }
.qa-pagination button:disabled { opacity: .28; cursor: default; }
.qa-pagination .page-count { margin: 0 8px; color: #8c9499; font-size: 9px; }
.qa-body .site-footer { background: #edf3f6; }
.review-list-table .review-col-number { width: 90px; }
.review-list-table .review-col-rating { width: 105px; }
.review-list-table .review-col-author { width: 120px; }
.review-list-table .review-col-date { width: 130px; }
.review-list-table td { height: 78px; color: #6b7378; }
.review-list-table td:nth-child(2) { color: #313b41; font-size: 12px; }
.review-list-table td:nth-child(2) span { vertical-align: middle; }
.review-title-button { padding: 0; color: inherit; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; vertical-align: middle; }
.review-title-button:hover, .review-title-button:focus-visible { color: #123f64; text-decoration: underline; text-underline-offset: 4px; }
/* 후기 제목 아래 썸네일: 고정 폭·4:3 비율로 표시하고 좁은 영역에서는 가로 스크롤합니다. */
.review-list-photos { display: flex; overflow-x: auto; max-width: 100%; margin-top: 16px; padding-bottom: 2px; gap: 10px; scrollbar-width: none; }
.review-list-photos::-webkit-scrollbar { display: none; }
.review-list-photo-button { position: relative; display: block; overflow: hidden; width: 120px; flex: 0 0 auto; padding: 0; border: 0; background: #e9eff2; cursor: pointer; aspect-ratio: 4 / 3; }
.review-list-photo-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.review-list-photo-button:hover img, .review-list-photo-button:focus-visible img { transform: scale(1.06); }
.review-list-photo-button span { position: absolute; right: 0; bottom: 0; display: grid; width: 30px; height: 24px; place-items: center; color: #fff; background: rgba(5, 31, 50, .78); font-size: 9px; }
/* 별점과 관리자 답변 배지. 실제 별 수와 배지 표시 여부는 script.js에서 결정합니다. */
.review-star-rating { display: inline-flex; color: #123f64; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.review-star-rating .is-empty { color: #d9e1e5; }
.review-list-rating { font-size: 11px; }
.review-board-badge { display: inline-block; margin-left: 8px; padding: 4px 8px; color: #fff; background: #6f91a8; font-size: 7px; font-style: normal; letter-spacing: .07em; vertical-align: middle; }
.board-answer-badge { display: inline-block; margin-left: 8px; padding: 4px 8px; color: #fff; background: #123f64; font-size: 7px; font-style: normal; letter-spacing: .04em; vertical-align: middle; }
.review-board-actions { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.review-board-actions p { color: #a0a6aa; font-size: 8px; }
.review-board-actions a { display: grid; min-width: 98px; height: 41px; place-items: center; color: #fff; background: #123f64; font-size: 10px; }
.review-board-actions a:hover, .review-board-actions a:focus-visible { background: #092d49; }
.review-board-toolbar p { color: #929ba0; font-size: 8px; }
/* 문의·후기 공통 상세 창: 본문 줄바꿈과 후기 사진, 관리자 답변 영역을 표시합니다. */
.review-detail-dialog { width: min(calc(100% - 40px), 720px); max-height: min(86vh, 780px); padding: 0; color: #182832; border: 0; background: #fff; box-shadow: 0 32px 90px rgba(0,19,36,.3); }
.review-detail-dialog::backdrop { background: rgba(4,24,40,.7); backdrop-filter: blur(3px); }
.review-detail-dialog article { position: relative; padding: 64px 62px 68px; }
.review-dialog-close { position: absolute; top: 22px; right: 25px; width: 38px; height: 38px; padding: 0; color: #314652; border: 0; background: transparent; font-size: 30px; font-weight: 200; cursor: pointer; }
.review-detail-course { color: #607d90; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.review-detail-dialog h2 { max-width: 570px; margin-top: 25px; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; letter-spacing: -.06em; }
.review-detail-meta { display: flex; margin-top: 30px; padding-bottom: 22px; color: #839099; border-bottom: 1px solid #dfe5e8; gap: 18px; font-size: 9px; }
.review-detail-rating { margin-top: -2px; font-size: 13px; }
.review-detail-body { margin-top: 34px; color: #53646e; font-size: 13px; line-height: 2; white-space: pre-line; }
.review-image-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; gap: 10px; }
.review-photo-link { display: block; overflow: hidden; background: #edf3f6; aspect-ratio: 4 / 3; }
.review-photo-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.review-photo-link:hover img, .review-photo-link:focus-visible img { transform: scale(1.04); }
.review-detail-dialog article > small { display: block; margin-top: 42px; color: #a1a8ac; font-size: 8px; }
.inquiry-detail-answer { margin-top: 34px; padding: 28px 30px; background: #f0f5f7; }
.inquiry-detail-answer strong { color: #123f64; font-size: 9px; letter-spacing: .08em; }
.inquiry-detail-answer p { margin-top: 14px; color: #53646e; font-size: 12px; line-height: 1.9; white-space: pre-line; }

/* 태블릿 이하: 모바일 메뉴로 전환하고 주요 2열 콘텐츠를 세로로 배치합니다. */
@media (max-width: 1020px) {
  :root { --page: min(100% - 48px, 1200px); }
  .utility-bar { display: none; }
  .site-header { height: 68px; }
  .header-inner { grid-template-columns: 54px 1fr 54px; }
  .mobile-menu-button { display: grid; width: 34px; height: 34px; place-content: center; gap: 5px; padding: 0; border: 0; background: none; cursor: pointer; }
  .mobile-menu-button span { display: block; width: 22px; height: 1.5px; background: #111; }
  .header-inner > .logo { justify-self: center; }
  .header-inner > .logo img { width: 44px; height: 44px; }
  .header-inner > .logo span { display: none; }
  .desktop-nav, .person-icon, .search-icon { display: none !important; }
  .header-actions { gap: 0; }
  .header-actions .bag-icon { display: block; margin-left: auto; }
  .hero-tile { height: 66vw; min-height: 500px; }
  .product-card { width: 42vw; }
  .about-panel { grid-template-columns: 1fr; }
  .founder-visual { min-height: 680px; }
  .founder-copy { padding: 70px; }
  .reserve-layout { grid-template-columns: 1fr; }
  .reserve-layout > a { max-width: 500px; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid article:nth-child(2) { border-right: 0; }
  .principle-grid article:nth-child(-n+2) { border-bottom: 1px solid #ccd3d7; }
  .subpage-cta > div { grid-template-columns: 1fr; }
  .subpage-cta a { max-width: 500px; }
  .instructor-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instructor-card { aspect-ratio: .78 / 1; }
  .instructor-card-copy > strong { font-size: 27px; }
  .instructor-card-bottom b { font-size: 27px; }
  .board-page-heading { grid-template-columns: 1fr; gap: 18px; }
  .inquiry-card-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-card:last-child { grid-column: span 2; border-top: 1px solid #d9e0e4; }
  .inquiry-guide { grid-template-columns: 1fr; }
  .qa-board-page { width: min(calc(100% - 48px), 1165px); }
}

/* 휴대폰: 글자·여백·카드·게시판을 좁은 화면에 맞추고 하단 고정 메뉴 공간을 확보합니다. */
@media (max-width: 640px) {
  :root { --page: calc(100% - 30px); }
  html { scroll-padding-top: 62px; }
  body { padding-bottom: 58px; }
  .site-header { height: 58px; }
  .header-inner { width: 100%; padding: 0 13px; }
  .mobile-menu-button { justify-self: start; }
  .header-inner > .logo img { width: 40px; height: 40px; }
  .header-actions .bag-icon { transform: scale(.9); }

  .hero-grid { display: block; }
  .hero-tile { display: none; height: 580px; min-height: 0; }
  .hero-tile.hero-primary { display: block; }
  .hero-primary img { object-position: center; }
  .hero-copy { right: 22px; top: 74px; bottom: auto; left: 22px; }
  .hero-copy small { color: rgba(255,255,255,.76); font-size: 8px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.28; text-shadow: 0 2px 14px rgba(0,0,0,.22); }
  .hero-copy p { display: none; }
  .hero-mobile-dots { display: flex; height: 24px; align-items: center; justify-content: center; gap: 7px; }
  .hero-mobile-dots b, .hero-mobile-dots i { width: 5px; height: 5px; border-radius: 50%; background: #b4b4b4; }
  .hero-mobile-dots b { width: 15px; border-radius: 6px; background: #222; }

  .product-section { padding-top: 55px; }
  .section-title-row h2 { font-size: 22px; }
  .slider-controls { display: none; }
  .course-viewport { width: 100%; margin-top: 18px; margin-left: 15px; }
  .course-track { gap: 9px; padding-right: 30px; }
  .product-card { width: 74vw; }
  .image-frame { inset: 7px; border-width: 1px; }
  .card-brand { top: 20px; right: 20px; font-size: 7px; }
  .card-title { bottom: 8%; }
  .card-title b { font-size: 34px; }
  .card-title strong { font-size: 23px; }
  .product-info { padding-top: 12px; }
  .section-progress { width: calc(100% - 30px); margin-top: 45px; }

  .hot-section { padding-bottom: 80px; }
  .hot-heading { display: block; }
  .filter-tabs { gap: 17px; margin-top: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .filter-tabs button { font-size: 10px; }
  .program-grid { display: flex; width: 100%; margin-top: 18px; padding-left: 15px; gap: 9px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .program-card { width: 74vw; flex: 0 0 auto; scroll-snap-align: start; }
  .program-card:last-child { margin-right: 30px; }
  .program-label b { font-size: 25px; }

  .brand-story { padding-top: 75px; }
  .story-heading { padding-bottom: 35px; }
  .story-heading span { font-size: 7px; }
  .story-heading h2 { font-size: 25px; }
  .story-media { width: min(100% - 30px, 675px); height: auto; }

  .about-panel { width: calc(100% - 30px); margin-top: 60px; }
  .founder-visual { min-height: 420px; }
  .founder-brand { top: 22px; left: 22px; }
  .founder-brand img { width: 44px; height: 44px; }
  .founder-visual > strong { right: 20px; bottom: 20px; font-size: 38px; }
  .founder-copy { padding: 38px 24px 44px; }
  .founder-title { font-size: 21px; }
  .since { margin-top: 28px; }
  .founder-copy h3 { font-size: 34px; }

  .review-section { padding: 70px 0 80px; }
  .review-heading > span { display: none; }
  .review-board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .review-board article { width: 85vw; min-height: 310px; flex: 0 0 auto; border-right: 1px solid #d0d0d0; scroll-snap-align: start; }
  .review-board h3 { margin-top: 55px; }

  .reservation-section { padding: 75px 0; }
  .reserve-layout { gap: 35px; }
  .reserve-layout h2 { font-size: 34px; }
  .reserve-layout > a { width: 100%; padding: 21px; }

  .site-footer { padding: 60px 0 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 22px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: span 2; }
  .copyright { margin-top: 45px; }

  .mobile-dock { position: fixed; z-index: 850; right: 0; bottom: 0; left: 0; display: grid; height: 58px; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.98); border-top: 1px solid #ddd; }
  .mobile-dock a, .mobile-dock button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; padding: 0; border: 0; background: none; cursor: pointer; }
  .mobile-dock span { height: 27px; font-size: 24px; font-weight: 300; line-height: 1; }
  .mobile-dock small { font-size: 7px; }
  .toast { right: 15px; bottom: 73px; left: 15px; text-align: center; }
  .subpage-hero { height: 390px; min-height: 0; }
  .subpage-title { width: 100%; }
  .subpage-title h1 { font-size: 42px; }
  .breadcrumb { height: 48px; }
  .center-hero { height: 315px; min-height: 0; }
  .course-catalog { padding: 55px 0 95px; }
  .course-catalog-heading { text-align: left; }
  .course-catalog-heading h1 { font-size: 32px; }
  .course-catalog-heading p { line-height: 1.7; }
  .course-category-tabs { display: flex; margin-top: 42px; overflow-x: auto; border-bottom: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .course-category-tabs button { min-width: 148px; min-height: 104px; flex: 0 0 auto; padding: 18px 16px 16px; scroll-snap-align: start; }
  .course-category-tabs strong { font-size: 14px; }
  .course-result-head { margin: 60px 0 22px; }
  .course-result-head h3 { font-size: 23px; }
  .course-catalog-grid { grid-template-columns: 1fr; gap: 48px; }
  .catalog-course-card figure { aspect-ratio: 1 / 1; }
  .catalog-course-card h3 { font-size: 25px; }
  .catalog-course-card p { min-height: 0; }
  .course-detail-dialog { width: calc(100% - 20px); max-height: 92vh; }
  .course-detail-dialog article { padding: 54px 24px 34px; }
  .course-detail-close { top: 10px; right: 12px; }
  .course-detail-dialog h2 { margin-top: 16px; font-size: 29px; }
  .course-detail-summary { margin-top: 25px; }
  .course-detail-summary > div { min-height: 76px; padding: 14px 15px; }
  .course-detail-summary strong { font-size: 16px; }
  .course-detail-sections { margin-top: 34px; grid-template-columns: 1fr; gap: 34px; }
  .course-detail-sections h3 { font-size: 16px; }
  .course-detail-sections ol { margin-top: 17px; }
  .course-detail-sections li { font-size: 10px; line-height: 1.8; }
  .course-detail-actions { align-items: stretch; flex-direction: column; }
  .course-detail-actions a { min-height: 46px; }
  .course-catalog-cta { padding: 70px 0; }
  .course-catalog-cta > div { grid-template-columns: 1fr; gap: 42px; }
  .course-catalog-cta h2 { font-size: 34px; }
  .center-intro { padding: 55px 0 68px; }
  .trainer-profile-page { padding: 72px 0 85px; }
  .intro-heading, .trainer-page-heading { margin-bottom: 38px; text-align: left; }
  .center-intro .intro-heading { margin-bottom: 30px; }
  .intro-heading h2, .trainer-page-heading h2, .subsection-heading h2 { font-size: 29px; }
  .intro-feature, .trainer-profile-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-feature figure { height: 90vw; max-height: 430px; }
  .intro-feature > div h3 { font-size: 27px; }
  .center-principles, .trainer-philosophy { padding: 75px 0 85px; }
  .subsection-heading { margin-bottom: 35px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 250px; padding: 25px 0; border-right: 0; border-bottom: 1px solid #ccd3d7; }
  .principle-grid article:first-child { padding-left: 0; }
  .principle-grid h3 { margin-top: 55px; }
  .training-flow, .trainer-gallery { padding: 80px 0 90px; }
  .training-grid { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .training-grid article { width: 78vw; flex: 0 0 auto; scroll-snap-align: start; }
  .subpage-cta { padding: 70px 0; }
  .subpage-cta > div { gap: 35px; }
  .subpage-cta a { width: 100%; }
  .trainer-profile-grid figure { aspect-ratio: 1 / 1.15; }
  .trainer-detail h3 { font-size: 42px; }
  .trainer-lead { font-size: 15px; }
  .philosophy-list article { grid-template-columns: 35px 1fr; gap: 16px; }
  .philosophy-list article > div { grid-column: 2; }
  .philosophy-list h3 { margin-bottom: 12px; }
  .trainer-gallery > div:last-child { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .trainer-gallery figure { width: 75vw; flex: 0 0 auto; scroll-snap-align: start; }
  .trainer-catalog { padding: 55px 0 82px; }
  .trainer-catalog-title span { font-size: 7px; }
  .trainer-catalog-title h1 { margin-top: 15px; font-size: 31px; }
  .instructor-card-grid { margin-top: 55px; }
  .instructor-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .instructor-card { aspect-ratio: .79 / 1; }
  .instructor-card-brand img { width: 48px; }
  .instructor-card-brand small { font-size: 7px; }
  .instructor-card-copy > small { font-size: 8px; }
  .instructor-card-copy > strong { font-size: 27px; }
  .instructor-card-copy > span { font-size: 8px; }
  .instructor-card-bottom b { font-size: 28px; }
  .instructor-card-bottom small { font-size: 7px; }
  .pending-card-copy strong { font-size: 32px; }
  .pending-card-copy span { font-size: 9px; }
  .trainer-pagination { margin-top: 40px; }
  .trainer-selected-profile { padding: 78px 0 88px; scroll-margin-top: 58px; }
  .trainer-profile-heading { margin-bottom: 38px; text-align: left; }
  .trainer-profile-heading h2 { font-size: 30px; }
  .board-page { padding: 72px 0 90px; }
  .board-page-heading { margin-bottom: 40px; }
  .board-page-heading h2 { font-size: 30px; }
  .board-page-heading p { font-size: 11px; }
  .inquiry-card-grid, .review-page-grid { grid-template-columns: 1fr; }
  .inquiry-card { min-height: 0; padding: 30px 22px 34px; border-right: 0; border-bottom: 1px solid #d9e0e4; }
  .inquiry-card:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }
  .inquiry-card h3 { margin-top: 32px; font-size: 22px; }
  .inquiry-guide { margin-top: 58px; }
  .inquiry-guide-copy { padding: 42px 24px 48px; }
  .inquiry-steps { padding: 28px 24px; }
  .review-page-card { min-height: 0; padding: 32px 22px 36px; border-right: 0; }
  .review-page-card h3 { margin-top: 26px; font-size: 22px; }
  .board-link-strip { grid-template-columns: 1fr; margin-top: 58px; }
  .board-link-strip a { min-height: 108px; padding: 24px 22px; }
  .board-link-strip a:first-child { border-right: 0; border-bottom: 1px solid #dce2e5; }
  .qa-location { width: calc(100% - 30px); height: 48px; font-size: 8px; }
  .qa-board-page { width: calc(100% - 30px); padding: 82px 0 78px; }
  .qa-page-title { margin-bottom: 42px; }
  .qa-page-title h1 { font-size: 30px; }
  .qa-page-title p { margin-top: 18px; font-size: 10px; }
  .qa-board-toolbar { align-items: stretch; gap: 8px; }
  .qa-board-toolbar label { flex: 1; }
  .qa-board-toolbar select { width: 100%; }
  .qa-write-button { min-width: 92px; }
  .qa-table .qa-col-number, .qa-table .qa-col-author, .qa-table .qa-col-date { width: 0; }
  .qa-table th:nth-child(1), .qa-table th:nth-child(4), .qa-table th:nth-child(5), .qa-table tbody tr:not(.qa-empty-row) td:nth-child(1), .qa-table tbody tr:not(.qa-empty-row) td:nth-child(4), .qa-table tbody tr:not(.qa-empty-row) td:nth-child(5) { display: none; }
  .qa-table .qa-col-category { width: 105px; }
  .qa-table th { height: 54px; padding: 0 9px; }
  .qa-table .qa-empty-row td { height: 135px; }
  .qa-pagination { height: 72px; }
  .review-list-table .review-col-number, .review-list-table .review-col-author, .review-list-table .review-col-date { width: 0; }
  .review-list-table th:nth-child(1), .review-list-table th:nth-child(4), .review-list-table th:nth-child(5), .review-list-table tbody tr:not(.qa-empty-row) td:nth-child(1), .review-list-table tbody tr:not(.qa-empty-row) td:nth-child(4), .review-list-table tbody tr:not(.qa-empty-row) td:nth-child(5) { display: none; }
  .review-list-table th:nth-child(2) { text-align: left; }
  .review-list-table td { height: 70px; padding: 14px 12px; }
  .review-list-table td:nth-child(2) { font-size: 11px; line-height: 1.5; }
  .review-list-photos { margin-top: 13px; gap: 7px; }
  .review-list-photo-button { width: 92px; }
  .review-list-rating { font-size: 10px; }
  .review-board-actions { align-items: flex-start; flex-direction: column; padding: 16px 0 22px; gap: 15px; }
  .review-board-actions a { align-self: flex-end; }
  .review-detail-dialog { width: calc(100% - 24px); }
  .review-detail-dialog article { padding: 54px 24px 46px; }
  .review-dialog-close { top: 12px; right: 14px; }
  .review-detail-dialog h2 { margin-top: 20px; font-size: 27px; }
  .review-detail-body { margin-top: 26px; font-size: 12px; line-height: 1.85; }
  .review-image-gallery { grid-template-columns: 1fr; margin-top: 24px; }
}

/* 운영체제의 동작 줄이기 설정을 존중해 스크롤·전환 효과를 최소화합니다. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
