/*
Theme Name: 도어웹 원페이지 — 가맹점 모집형
Theme URI: https://doorweb.net
Author: 도어오브웹
Description: 프랜차이즈 본사 가맹점 모집 원페이지. 창업 비용 계산 · 정보공개서 가맹 현황 · 출점 지역 · 가맹 상담 신청(Contact Form 7). 모든 화면은 블록 편집기 본문 그대로입니다.
Version: 1.0.23
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: doorweb-onepage
*/

body { margin: 0; }
.op-skip { position: absolute; left: -9999px; }
.op-skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.op-plain { max-width: 800px; margin: 0 auto; padding: 64px 24px; }

/* ── 공통 값 ─────────────────────────────── */
.op {
	--c-bg: #ffffff; --c-ink: #1a1d21; --c-sub: #5b636c; --c-line: #e1e5e9;
	--c-alt: #f3f5f7; --c-dark: #131a22; --c-acc: #0b63c5; --c-acc-ink: #ffffff;
	--r: 0px; --ff-h: inherit; --h-weight: 800;
	background: var(--c-bg); color: var(--c-ink);
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
	font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}
.op *, .op *::before, .op *::after { box-sizing: border-box; }
.op .wp-block-column, .op .wp-block-group, .op p, .op li, .op td, .op summary { word-break: keep-all; overflow-wrap: break-word; }
.op :where(h1, h2, h3, p, ul, figure, table) { margin: 0; }
.op h1, .op h2, .op h3 { font-family: var(--ff-h); font-weight: var(--h-weight); line-height: 1.3; letter-spacing: -0.02em; }
.op h3 { font-size: 20px; }
.op a { color: inherit; }
.op img { display: block; width: 100%; height: auto; }
.op .op-img img { border-radius: var(--r); aspect-ratio: auto; object-fit: cover; }
.op > .wp-block-group, .op > section { margin: 0; }

/* ── 머리(본문 맨 위 블록) ─────────────────── */
.op-head { display: flex; align-items: center; gap: 28px; padding: 0 max(24px, calc((100% - 1200px) / 2)); min-height: 72px; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.op .op-head > * { margin-top: 0; margin-bottom: 0; }
.op .op-head .op-logo { flex: none; margin: 0; line-height: 0; }
.op .op-head .op-logo a { display: block; }
.op .op-head .op-logo img { display: block; width: auto; height: 38px; max-width: 220px; object-fit: contain; object-position: left center; border-radius: 0; }
.op .op-head .op-nav { list-style: none; display: flex; flex-wrap: nowrap; gap: 0 clamp(14px, 1.8vw, 26px); padding: 0; margin: 0 0 0 auto; font-size: 16px; font-weight: 600; white-space: nowrap; }
.op .op-head .op-nav li { margin: 0; }
.op .op-head .op-nav > li { flex: none; }
.op .op-head .op-nav li ul { list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
.op .op-head .op-nav a { text-decoration: none; padding: 6px 0; display: block; }
.op .op-head .op-nav a:hover { color: var(--c-acc); }
.op .op-head .op-head-cta { margin: 0; flex: none; }
.op .op-head .op-head-cta .wp-block-button__link { padding: 10px 20px; font-size: 15px; white-space: nowrap; }

/* ── 구역 ─────────────────────────────────── */
.op-sec { padding: clamp(60px, 9vw, 104px) 24px; scroll-margin-top: 72px; }
.op-sec > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.op-sec.op-narrow > * { max-width: 800px; }
.op-sec > * + * { margin-top: 18px; }
.op-sec > .wp-block-columns { margin-top: 44px; margin-bottom: 0; }
.op-sec > .wp-block-columns:first-child { margin-top: 0; }
.op-alt { background: var(--c-alt); }
.op-dark { background: var(--c-dark); color: #fff; --c-line: rgba(255,255,255,.22); --c-sub: rgba(255,255,255,.72); }
.op-sec > .op-eyebrow, .op-sec > .op-title, .op-sec > .op-lead, .op-sec > .op-note, .op-sec > .op-badge, .op-sec > .op-hero-title, .op-sec > .op-hero-lead { text-align: center; }
.op-sec > .wp-block-buttons { justify-content: center; }
.op-sec > .op-lead, .op-sec > .op-hero-lead { max-width: 720px; }
.op-left .op-sec > .op-eyebrow, .op-left .op-sec > .op-title, .op-left .op-sec > .op-lead, .op-left .op-sec > .op-note, .op-left .op-sec > .op-hero-title { text-align: left; }
.op-left .op-sec > .wp-block-buttons { justify-content: flex-start; }
.op-left .op-sec > .op-lead { max-width: 1200px; padding-right: max(0px, calc(min(100%, 1200px) - 720px)); }
.op .wp-block-column > * + *, .op-box > * + *, .op-formcard > * + * { margin-top: 14px; }

.op-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--c-acc); }
.op-title { font-size: clamp(27px, 3.4vw, 40px); }
.op-lead { font-size: 18px; color: var(--c-sub); max-width: 720px; }
.op-note { font-size: 15px; color: var(--c-sub); }
.op-role { font-size: 15px; font-weight: 600; color: var(--c-acc); }
.op-badge { display: inline-block; font-size: 15px; font-weight: 700; color: var(--c-acc-ink); background: var(--c-acc); padding: 6px 14px; border-radius: var(--r); }
.op-sec > .op-badge { display: table; margin-left: auto; margin-right: auto; }

/* ── 버튼 ─────────────────────────────────── */
.op .wp-block-buttons { gap: 10px; margin-top: 30px; }
.op .wp-block-button__link { background: var(--c-acc); color: var(--c-acc-ink); border: 2px solid var(--c-acc); border-radius: var(--r); padding: 14px 28px; font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.op .wp-block-button__link:hover { filter: brightness(.93); }
.op .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-ink); border-color: currentColor; }
.op-dark .is-style-outline .wp-block-button__link, .op-hero-dark .is-style-outline .wp-block-button__link { color: #fff; }

/* ── 첫 화면 ──────────────────────────────── */
.op-hero { padding-top: clamp(48px, 7vw, 88px); }
.op-hero-title { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.22 !important; }
.op-hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--c-sub); max-width: 640px; }
.op-hero-cols { align-items: center; gap: clamp(28px, 5vw, 64px); }
.op-hero-form { background: var(--c-alt); }
.op-hero-dark { background: var(--c-dark); color: #fff; --c-sub: rgba(255,255,255,.76); padding-bottom: 0; }
.op-hero-dark .op-hero-cols { align-items: end; }
.op-hero-dark .wp-block-column:first-child { padding-bottom: clamp(48px, 7vw, 96px); }
.op-hero-center > .op-eyebrow, .op-hero-center > .op-badge, .op-hero-center > .op-hero-title, .op-hero-center > .op-hero-lead { text-align: center; margin-left: auto; margin-right: auto; }
.op-hero-center > .op-badge { display: table; }
.op-hero-center > .wp-block-buttons { justify-content: center; }
.op-hero-center > .op-hero-img, .op-hero-shop > .op-hero-img { margin-top: 48px; }
.op-hero-shop { padding-bottom: 0; }
.op-hero-shop > .op-hero-img { max-width: none; margin-left: -24px; margin-right: -24px; }
.op-hero-shop > .op-hero-img img { border-radius: 0; max-height: 620px; }
.op-hero-shop .op-hero-title { font-size: clamp(38px, 6.4vw, 76px); }

.op-check { list-style: none; padding: 0; }
.op-check li { position: relative; padding-left: 30px; font-weight: 600; }
.op-check li + li { margin-top: 8px; }
.op-check li::before { content: ""; position: absolute; left: 4px; top: .48em; width: 12px; height: 7px; border-left: 3px solid var(--c-acc); border-bottom: 3px solid var(--c-acc); transform: rotate(-45deg); }
.op-career { padding-left: 1.1em; color: var(--c-sub); }
.op-career li + li { margin-top: 6px; }

/* ── 상자 · 카드 ──────────────────────────── */
.op-box { height: 100%; padding: 30px 28px; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-bg); }
.op-dark .op-box { background: transparent; }
.op-box p { color: var(--c-sub); }
.op-cards, .op-steps, .op-people, .op-quotes, .op-gallery { align-items: stretch !important; }
.op-cards > .wp-block-column { display: flex; }
.op-cards > .wp-block-column > .op-box { flex: 1; }
.op .wp-block-column > .op-box:only-child { margin-top: 0; }
.op-step-no { font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--c-acc) !important; }
.op-steps .wp-block-column { padding-top: 22px; border-top: 2px solid var(--c-ink); }
.op-dark .op-steps .wp-block-column { border-top-color: #fff; }
.op-steps p:not(.op-step-no) { color: var(--c-sub); font-size: 16px; }

.op-statbar { padding-top: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--c-line); }
.op-num { font-family: var(--ff-h); font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--c-acc); }
.op-cap { font-size: 15px; color: var(--c-sub); margin-top: 4px !important; }
.op-hero .op-stats { margin-top: 32px; gap: 24px; }

/* ── 인용(따옴표만, 상자 없음) ────────────── */
.op-quote { position: relative; padding: 46px 0 46px; }
.op-quote::before, .op-quote::after { position: absolute; font-family: Georgia, "Times New Roman", serif; font-size: 76px; line-height: 1; color: #c5cad0; }
.op-quote::before { content: "\201C"; left: 0; top: 0; }
.op-quote::after { content: "\201D"; right: 0; bottom: -30px; }
.op-quote-text { font-size: 19px; font-weight: 600; line-height: 1.65; }
.op-by { font-size: 15px; color: var(--c-sub); margin-top: 12px !important; }

.op-sec > .op-quote { max-width: 720px; margin-top: 48px; padding-left: 56px; padding-right: 56px; text-align: center; }
.op-left .op-sec > .op-quote { margin-left: max(0px, calc((100% - 1200px) / 2)); text-align: left; padding-left: 0; padding-top: 52px; }

/* ── 표 ───────────────────────────────────── */
.op .wp-block-table { margin-top: 26px; }
.op .wp-block-table table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--c-ink); }
.op-dark .wp-block-table table { border-top-color: #fff; }
.op .wp-block-table td { padding: 15px 6px; border: 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.op .wp-block-table td:first-child { font-weight: 700; width: 34%; }
.op .wp-block-table td:last-child:not(:first-child) { color: var(--c-sub); }
.op-menu td:first-child { width: auto !important; font-weight: 600 !important; }
.op-menu td:last-child { text-align: right; width: 96px; color: var(--c-ink) !important; font-weight: 700; }
.op .wp-block-column > h3 + .op-menu { margin-top: 10px; }
.op .wp-block-column > .op-menu + h3 { margin-top: 36px; }
.op-record td:first-child { width: 90px !important; color: var(--c-acc); }
.op-record td:last-child { width: 70px; text-align: right; }
.op-record td:nth-child(2) { color: var(--c-ink); font-weight: 600; }

/* ── 묻고 답하기 ──────────────────────────── */
.op .wp-block-details { border-bottom: 1px solid var(--c-line); margin-top: 0; }
.op .wp-block-details:first-of-type { border-top: 2px solid var(--c-ink); margin-top: 30px; }
.op .wp-block-details summary { padding: 20px 36px 20px 4px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.op .wp-block-details summary::-webkit-details-marker { display: none; }
.op .wp-block-details summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--c-sub); }
.op .wp-block-details[open] summary::after { content: "\2212"; }
.op .wp-block-details p { padding: 0 4px 22px; color: var(--c-sub); }

/* ── 사람 · 사진 ──────────────────────────── */
.op-people img { aspect-ratio: 4 / 5; }
.op-gallery img { aspect-ratio: 4 / 3; }
.op-gallery + .op-gallery { margin-top: 36px !important; }
.op-split { align-items: center; gap: clamp(28px, 5vw, 72px); }

/* ── 지도 버튼 ────────────────────────────── */
.op .op-mapbtns { margin-top: 28px; }
.op .op-mapbtns .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-size: 16px; border-width: 1px; }
.op .op-mapbtns .wp-block-button__link::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.op .op-btn-naver .wp-block-button__link { background: #00873f; border-color: #00873f; color: #fff; }
.op .op-btn-kakao .wp-block-button__link { background: #fee500; border-color: #fee500; color: #191919; }

/* ── 신청 폼 ──────────────────────────────── */
.op-formcard { background: #fff; color: #1a1d21; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--c-line); border-radius: var(--r); --c-sub: #5b636c; --c-line: #d5dae0; }
.op-form-title { font-size: 24px !important; }
.op-form-lead { font-size: 15px; color: var(--c-sub); margin-top: 6px !important; }
.op-form { display: grid; gap: 14px; position: relative; text-align: left; }
.op-form p { margin: 0; }
.op-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.op-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.op-field input, .op-field select { height: 52px; }
.op-field input, .op-field select, .op-field textarea { width: 100%; font: inherit; font-size: 16px; color: #1a1d21; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 13px 14px; }
.op-field input:focus, .op-field select:focus, .op-field textarea:focus { outline: 2px solid var(--c-acc); outline-offset: 1px; }
.op-agree { font-size: 14px; color: var(--c-sub); }
.op-agree input { margin-right: 6px; accent-color: var(--c-acc); }
.op-submit button { width: 100%; font: inherit; font-size: 18px; font-weight: 800; color: var(--c-acc-ink); background: var(--c-acc); border: 0; border-radius: var(--r); padding: 16px; cursor: pointer; }
.op-submit button:hover { filter: brightness(.93); }
.op-form-msg { padding: 12px 14px; font-weight: 700; border-radius: var(--r); }
.op-form-msg.is-ok { background: #e7f6ec; color: #17603a; }
.op-form-msg.is-err { background: #fdecea; color: #a12a1f; }
.op-formwide { max-width: 920px !important; margin-top: 36px !important; background: #fff; color: #1a1d21; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); --c-sub: #5b636c; --c-line: #d5dae0; }
.op-formwide .op-form { grid-template-columns: repeat(3, 1fr); }
.op-formwide .op-form > .op-agree, .op-formwide .op-form > .op-submit, .op-formwide .op-form > .op-form-msg, .op-formwide .op-form > .op-field-wide { grid-column: 1 / -1; }

/* ── 마무리 띠 ────────────────────────────── */
.op-cta { background: var(--c-acc); color: var(--c-acc-ink); --c-sub: var(--c-acc-ink); }
.op .op-cta.wp-block-cover { min-height: 0; align-items: stretch; }
.op .op-cta.wp-block-cover > * { max-width: none; margin: 0; }
.op .op-cta .wp-block-cover__background { background-color: var(--c-acc) !important; opacity: .86 !important; }
.op .op-cta .wp-block-cover__inner-container { width: 100%; max-width: 1200px; margin: 0 auto; color: var(--c-acc-ink); }
.op-cta .wp-block-cover__inner-container > * + * { margin-top: 18px; }
.op-cta .wp-block-cover__inner-container > .op-title, .op-cta .wp-block-cover__inner-container > .op-lead { text-align: center; margin-left: auto; margin-right: auto; }
.op-cta .wp-block-cover__inner-container > .wp-block-buttons { justify-content: center; }
.op-cta .wp-block-cover__inner-container > .op-formwide { margin-left: auto; margin-right: auto; }
.op-cta .wp-block-cover__inner-container > .wp-block-columns { margin: 0; }
.op-cta .op-lead { opacity: .88; }
.op-cta .wp-block-button__link { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.op-cta .is-style-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--c-acc-ink); }
.op-cta .op-check li::before { border-color: currentColor; }
.op-cta .op-formcard .op-submit button, .op-cta .op-formwide .op-submit button { background: var(--c-dark); color: #fff; }

/* ── 바닥글 · 고정 버튼 ───────────────────── */
.op-foot { padding: 40px 24px 48px; background: var(--c-dark); color: rgba(255,255,255,.7); font-size: 14px; text-align: center; }
.op-foot p + p { margin-top: 4px; }
.op-sticky { padding: 14px 24px; background: var(--c-alt); border-top: 1px solid var(--c-line); }
.op-sticky .wp-block-buttons { margin-top: 0; justify-content: center; }
.op-sticky .wp-block-button__link { padding: 11px 18px; font-size: 15px; }
.op .op-st-tel .wp-block-button__link { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.op .op-st-kakao .wp-block-button__link { background: #fee500; border-color: #fee500; color: #191919; }

/* ══ 스킨 1 — 병·의원 상담 신청형 ══════════ */
.op-skin-clinic { --c-acc: #0b63c5; --c-alt: #f1f5fa; --c-dark: #0d2238; --r: 10px; }
.op-skin-clinic .op-hero-form { background: #eaf2fb; }

/* ══ 스킨 2 — 전문직 상담 예약형 ═══════════ */
.op-skin-law { --c-acc: #85683f; --c-acc-l: #c9ab7c; --c-alt: #f5f3ef; --c-dark: #121a2a; --r: 0px; --ff-h: "Noto Serif KR", "Nanum Myeongjo", serif; --h-weight: 700; }
.op-skin-law .op-hero-dark .op-eyebrow, .op-skin-law .op-dark .op-eyebrow { color: var(--c-acc-l, #c9ab7c); }
.op-skin-law .op-dark .wp-block-button__link, .op-skin-law .op-hero-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--c-acc-l, #c9ab7c); border-color: var(--c-acc-l, #c9ab7c); color: #121a2a; }
.op-skin-law .op-dark .op-mapbtns .op-btn-naver .wp-block-button__link { background: #00873f; border-color: #00873f; color: #fff; }
.op-skin-law .op-dark .op-mapbtns .op-btn-kakao .wp-block-button__link { background: #fee500; border-color: #fee500; color: #191919; }
.op-skin-law .op-hero-dark img { border-radius: 0; aspect-ratio: 4 / 5; }
.op-skin-law .op-statbar { background: var(--c-alt); border-bottom: 0; }

/* ══ 스킨 3 — 학원·교육 모집형 ═════════════ */
.op-skin-academy { --c-acc: #d9481f; --c-alt: #fbf4ee; --c-dark: #2a1d16; --r: 8px; }
.op-skin-academy .op-hero-img img { aspect-ratio: 2 / 1; }

/* ══ 스킨 4 — 매장 소개형 ══════════════════ */
.op-skin-shop { --c-acc-l: #a9c4ae; --c-bg: #f6f5f2; --c-ink: #232321; --c-sub: #5c5b57; --c-line: #dcdad4; --c-alt: #ecebe6; --c-acc: #2f4a3a; --c-dark: #23261f; --r: 0px; --ff-h: "Noto Serif KR", "Nanum Myeongjo", serif; --h-weight: 700; }
.op-skin-shop .op-head .op-logo { font-weight: 700; }

/* ══ 스킨 5 — 시공·견적 문의형 ═════════════ */
.op-skin-estimate { --c-acc: #f2b100; --c-acc-ink: #141414; --c-ink: #141414; --c-alt: #f2f2ef; --c-dark: #141414; --r: 2px; }
.op-skin-estimate .op-eyebrow, .op-skin-estimate .op-role, .op-skin-estimate .op-step-no { color: #8a6500 !important; }
.op-skin-estimate .op-dark .op-eyebrow, .op-skin-estimate .op-dark .op-step-no { color: #f2b100 !important; }
.op-skin-estimate .op-num { color: var(--c-ink); }
.op-skin-estimate .op-hero-form { background: #f2f2ef; }

/* ══ 스킨 6 — 이벤트 프로모션형 ════════════ */
.op-skin-promo { --c-acc: #a8405f; --c-acc-l: #e3a9ba; --c-bg: #f5f3f2; --c-ink: #222120; --c-sub: #5d5856; --c-line: #e1dcd9; --c-alt: #ece9e7; --c-dark: #2a2224; --r: 10px; }
.op-was { font-size: 15px; color: var(--c-sub); text-decoration: line-through; }
.op-prices .op-box { text-align: center; }
.op-prices .op-num { margin-top: 2px !important; }
.op-skin-promo .op-hero-img img { aspect-ratio: 2 / 1; }

/* ══ 스킨 7 — 분양 홍보형 ══════════════════ */
.op-skin-franchise { --c-acc: #b23a09; --c-acc-l: #ffb48a; --c-acc-ink: #ffffff; --c-bg: #f8f4ec; --c-ink: #21160f; --c-sub: #655649; --c-line: #e4d9c9; --c-alt: #f0e7d8; --c-dark: #22150d; --r: 0px; }
.op-skin-franchise .op-dark .op-eyebrow { color: var(--c-acc-l); }
.op-skin-franchise .op-dark .op-badge { background: var(--c-acc-l); color: #1f1b18; }
.op-skin-franchise .op-hero-img img { aspect-ratio: 2 / 1; }
.op-skin-franchise .op-sec > .op-hero-img { margin-top: 44px; }
.op-unit td:first-child { width: 70px !important; color: var(--c-acc); }
.op-unit td:last-child { width: 90px; text-align: right; }
.op-unit td:nth-child(2) { color: var(--c-ink); }

/* ══ 스킨 8 — IT 서비스 소개형 ═════════════ */
.op-skin-saas { --c-acc: #16181d; --c-acc-ink: #ffffff; --c-alt: #f4f4f0; --c-dark: #16181d; --r: 6px; }
.op-skin-saas .op-eyebrow, .op-skin-saas .op-step-no { color: #5a6270 !important; }
.op-skin-saas .op-dark .op-eyebrow { color: #b8bec8 !important; }
.op-skin-saas .op-dark .op-check li::before { border-color: #fff; }
.op-skin-saas .op-sec > .op-split + .op-split { margin-top: clamp(48px, 7vw, 88px); }
.op-skin-saas .op-split img { border: 1px solid var(--c-line); }
.op-plans .op-box { display: flex; flex-direction: column; text-align: left; }
.op-plans .op-box .wp-block-buttons { margin-top: auto; padding-top: 24px; }
.op-plans .op-box .wp-block-button, .op-plans .op-box .wp-block-button__link { width: 100%; text-align: center; }
.op-plans .op-check { color: var(--c-ink); }
.op-plans .op-check li { font-weight: 500; }

/* ══ 스킨 9 — 체험 신청형(어두운 바탕) ═════ */
.op-skin-fit { --c-bg: #141618; --c-ink: #f3f3f1; --c-sub: #a9adb3; --c-line: #34383d; --c-alt: #1c1f22; --c-dark: #0c0d0e; --c-acc: #c9f23f; --c-acc-ink: #121212; --r: 4px; }
.op-skin-fit .op-cta .op-title, .op-skin-fit .op-cta .op-lead { color: #121212; }
.op-skin-fit .op-cta .op-mapbtns { margin-top: 24px; }
.op-skin-fit .op-quote::before, .op-skin-fit .op-quote::after { color: #4a4f55; }

/* ══ 스킨 10 — 무료 진단형 ═════════════════ */
.op-skin-tax { --c-acc: #24406b; --c-alt: #f5f2ec; --c-dark: #1a2740; --c-line: #dfdacf; --r: 4px; }
.op-skin-tax .op-hero-form { background: #f5f2ec; }
.op-compare td { width: auto !important; }
.op-compare td:first-child { width: 22% !important; }
.op-compare tr:first-child td { font-weight: 800; color: var(--c-ink) !important; background: var(--c-alt); }
.op-compare td:nth-child(2) { color: var(--c-sub); }
.op-compare td:last-child { color: var(--c-ink) !important; font-weight: 700; }

/* ── 좁은 화면 ────────────────────────────── */
@media (max-width: 781px) {
	.op { font-size: 16px; }
	.op-head { padding: 0 18px; min-height: 60px; gap: 12px; }
	.op .op-head .op-logo img { height: 30px; max-width: 170px; }
	.op-sec { padding-left: 20px; padding-right: 20px; scroll-margin-top: 60px; }
	.op-sec > .wp-block-columns { margin-top: 32px; }
	.op .wp-block-columns { gap: 28px; }
	.op .op-stats.wp-block-columns:not(.is-not-stacked-on-mobile) { gap: 22px 16px; }
	.op .op-stats.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: calc(50% - 8px) !important; flex-grow: 0; }
	.op .op-gallery.wp-block-columns:not(.is-not-stacked-on-mobile) { gap: 24px; }
	.op-formwide .op-form { grid-template-columns: 1fr; }
	.op-hero-shop > .op-hero-img { margin-left: -20px; margin-right: -20px; }
	.op-quote-text { font-size: 17px; }
	.op-record td:last-child { display: none; }
	.op-flip.wp-block-columns { flex-direction: column-reverse; }
	.op-compare td { padding: 12px 4px; font-size: 15px; }
	.op .wp-block-table td:first-child { width: 36%; }
}

/* 지도 */
.op-map { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #e9ecef; overflow: hidden; }
.op-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── 편집 화면: 보이는 화면과 같은 배열 ── */
.editor-styles-wrapper .is-root-container > .op { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
/* 머리 메뉴의 아래 메뉴(홈 > 사진 슬라이드 · 동영상)는 그 메뉴를 고를 때만 펼쳐 보임 */
.editor-styles-wrapper .op .op-head .op-nav > li { position: relative; }
.editor-styles-wrapper .op .op-head .op-nav li > ul { display: none; position: absolute; left: -12px; top: 100%; z-index: 30; min-width: 150px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid #dfe3e7; box-shadow: 0 8px 20px rgba(0,0,0,.08); font-size: 14px; font-weight: 500; }
.editor-styles-wrapper .op .op-head .op-nav li:focus-within > ul, .editor-styles-wrapper .op .op-head .op-nav li.is-selected > ul, .editor-styles-wrapper .op .op-head .op-nav li.has-child-selected > ul { display: block; }
.editor-styles-wrapper .op .op-head .op-nav li > ul a { display: block; padding: 7px 14px; }
.editor-styles-wrapper .op-map-ed .components-base-control { margin-bottom: 10px; }

/* 신청 폼 — Contact Form 7 일 때도 같은 모양 */
.op-cf7 .hidden-fields-container { display: none; }
.op-cf7 .op-field label { display: block; }
.op-cf7 .op-field .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.op-cf7 .op-agree .wpcf7-list-item { margin: 0; }
.op-cf7 .op-agree input { margin-right: 6px; accent-color: var(--c-acc); }
.op-cf7 .op-submit .wpcf7-submit { width: 100%; font: inherit; font-size: 18px; font-weight: 800; color: var(--c-acc-ink); background: var(--c-acc); border: 0; border-radius: var(--r); padding: 16px; cursor: pointer; }
.op-cf7 .op-submit .wpcf7-submit:hover { filter: brightness(.93); }
.op-cta .op-formcard .op-cf7 .wpcf7-submit, .op-cta .op-formwide .op-cf7 .wpcf7-submit { background: var(--c-dark); color: #fff; }
.op-cf7 .wpcf7-spinner { position: absolute; right: 12px; bottom: 18px; margin: 0; }
.op-cf7 .wpcf7-not-valid-tip { font-size: 13px; color: #a12a1f; margin-top: 4px; }
.op-cf7 .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 12px 14px !important; font-weight: 700; border-radius: var(--r); border: 0 !important; background: #fdecea; color: #a12a1f; }
.op-cf7.sent .wpcf7-response-output { background: #e7f6ec; color: #17603a; }
.op-cf7 .wpcf7-response-output:empty { display: none; }
.op-formwide .op-cf7 > .op-agree, .op-formwide .op-cf7 > .op-submit, .op-formwide .op-cf7 > .op-field-wide { grid-column: 1 / -1; }

/* 편집 화면: 치료 과정도 방문자 화면처럼 한 칸 펼침 (선택한 칸이 펼쳐짐) */
.editor-styles-wrapper .op-acc-list > .wp-block-column:first-child { flex-grow: 3.4 !important; }
.editor-styles-wrapper .op-acc-list > .wp-block-column:first-child .wp-block-image img { filter: none; }
.editor-styles-wrapper .op-acc-list:has(> .wp-block-column.is-selected, > .wp-block-column.has-child-selected) > .wp-block-column { flex-grow: 1 !important; }
.editor-styles-wrapper .op-acc-list:has(> .wp-block-column.is-selected, > .wp-block-column.has-child-selected) > .wp-block-column .wp-block-image img { filter: grayscale(1) brightness(.62); }
.editor-styles-wrapper .op-acc-list > .wp-block-column.is-selected,
.editor-styles-wrapper .op-acc-list > .wp-block-column.has-child-selected { flex-grow: 3.4 !important; }
.editor-styles-wrapper .op-acc-list > .wp-block-column.is-selected .wp-block-image img,
.editor-styles-wrapper .op-acc-list > .wp-block-column.has-child-selected .wp-block-image img { filter: none !important; }

/* 편집 화면 — 매장 대표 메뉴 3칸 · 이벤트 가격 4칸을 방문자 화면과 같은 배열로 (GPT 하1) */
.editor-styles-wrapper .op-menu-cards, .editor-styles-wrapper .op-ev-cards { display: grid !important; gap: 24px; }
.editor-styles-wrapper .op-menu-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editor-styles-wrapper .op-ev-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .editor-styles-wrapper .op-ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .editor-styles-wrapper .op-ev-cards { grid-template-columns: 1fr; } } /* GPT 5차 L1 — 휴대폰 편집 화면 카드 1열 */
.editor-styles-wrapper .op-menu-cards > *, .editor-styles-wrapper .op-ev-cards > * { margin: 0 !important; max-width: none !important; }
.editor-styles-wrapper .op-evcard[data-dw-off] { position: relative; }
.editor-styles-wrapper .op-evcard[data-dw-off]::after { content: attr(data-dw-off) " 할인"; position: absolute; top: 10px; right: 10px; z-index: 3; padding: 4px 9px; border-radius: 6px; background: var(--c-acc); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; pointer-events: none; }
.editor-styles-wrapper .op-mcard, .editor-styles-wrapper .op-evcard { border: 1px solid var(--c-line); background: #fff; }
.editor-styles-wrapper .op-mcard img, .editor-styles-wrapper .op-evcard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
/* F5 편집 화면 신청 구역 덮개 */
.editor-styles-wrapper .op .op-cta.op-dark .wp-block-cover__background { background: linear-gradient(90deg, color-mix(in srgb, var(--c-dark) 86%, transparent) 0%, color-mix(in srgb, var(--c-dark) 66%, transparent) 44%, color-mix(in srgb, var(--c-dark) 14%, transparent) 100%) !important; opacity: 1 !important; }
/* F9 편집 화면 좁은 폭 머리 메뉴 */
@media (max-width: 1023px) {
	.editor-styles-wrapper .op .op-head { flex-wrap: wrap; }
	.editor-styles-wrapper .op .op-head .op-nav { order: 4; flex-basis: 100%; flex-wrap: wrap; white-space: normal; gap: 2px 14px; margin: 8px 0 0; font-size: 14px; }
	.editor-styles-wrapper .op .op-head .op-head-cta { margin-left: auto; }
}
/* 상호 글자 로고(F19) */
.op .op-head .op-logo-text a { display: block; line-height: 38px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-ink); text-decoration: none; white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 781px) { .op .op-head .op-logo-text a { line-height: 30px; font-size: 18px; max-width: 200px; } }

/* 편집 화면 미리보기에도 「마감 임박」(공개 화면은 assets/front.css) */
.op-skin-promo .op-cd.is-soon .op-cd-label::after { content: " · 마감 임박"; color: #e3a9ba; font-weight: 700; }
.op-skin-promo .op-cd.is-soon .op-cd-u { border-color: #e3a9ba; }
/* 편집 화면 마감 시계 숫자 칸(공개 화면 assets/front.css 와 같게 — GPT 4차 L1) */
.editor-styles-wrapper .op-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.editor-styles-wrapper .op-cd .op-cd-label { margin: 0 !important; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.86) !important; }
.editor-styles-wrapper .op-cd-units { display: flex; gap: 10px; }
.editor-styles-wrapper .op-cd-u { position: relative; overflow: hidden; display: flex; align-items: baseline; gap: 4px; min-width: 76px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07) 50%, rgba(255,255,255,.02) 50%); }
.editor-styles-wrapper .op-cd-u::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.editor-styles-wrapper .op-cd-u b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.editor-styles-wrapper .op-cd-u small { font-size: 13px; color: rgba(255,255,255,.75); }
.editor-styles-wrapper .op-cd .op-cd-until { flex-basis: 100%; margin: 0 !important; font-size: 14.5px; color: rgba(255,255,255,.8) !important; }
.editor-styles-wrapper .op-cd.is-soon .op-cd-u { border-color: #e3a9ba; }
@media (max-width: 781px) { .editor-styles-wrapper .op-cd-units { gap: 6px; width: 100%; } .editor-styles-wrapper .op-cd-u { flex: 1; min-width: 0; justify-content: center; padding: 10px 6px; } }
/* 6번 이벤트 — 가격 카드 「이 가격으로 예약」 버튼: 포인트색 선 + 화살표, 마우스 올리면 왼쪽부터 색이 차오름 */
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link { position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border: 1.5px solid var(--c-acc); border-radius: 999px; background: color-mix(in srgb, var(--c-acc) 6%, #fff); color: var(--c-acc); font-size: 16px; letter-spacing: -0.01em; filter: none; transition: color .3s ease, box-shadow .3s ease, transform .3s ease; }
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-acc); border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s ease; }
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:hover, .op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:focus-visible { color: #fff; filter: none; transform: translateY(-2px); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--c-acc) 70%, transparent); }
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:hover::before, .op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:focus-visible::before { transform: scaleX(1); }
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:hover::after, .op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:focus-visible::after { transform: translateX(5px); }
.op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link, .op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link::before, .op-skin-promo .op-evcard .op-ev-cta .wp-block-button__link::after { transition: none; } }

/* 6번 이벤트 — 로고 크게(PC 52px · 휴대폰 40px) */
.op-skin-promo .op-head .op-logo img { height: 52px; max-width: 240px; }
@media (max-width: 781px) { .op-skin-promo .op-head .op-logo img { height: 40px; max-width: 180px; } }

/* F27 로고 크게(PC 52px · 휴대폰 40px) — 전 유형 */
.op .op-head .op-logo img { height: 52px; max-width: 240px; }
@media (max-width: 781px) { .op .op-head .op-logo img { height: 40px; max-width: 180px; } }
