/* 메인 A안 '다듬기' (2026-10-18) — theme/new/index.php 에서만 불러온다
   - 한 화면씩 넘기는 구조(fullPage)와 5구간(처음·효성CMS란·결제수단·가입 안내·상담)은 그대로, 내용·모양은 새 서브페이지 틀(.cmsx)과 같은 색·글꼴 크기로
   - 이름은 모두 .hm- 로 시작해 옛 메인 스타일(layout.css .fp_inner·.txt_box 등)과 섞이지 않게 한다
   - 화면 높이가 내용보다 낮거나 폭이 768px 미만이면 일반 스크롤(body.fp-responsive) — 구간 속 가짜 스크롤 없음
   - 색: 남색(브랜드) #0b2f6b·#1f3a8a, 노랑(빠른상담 행동 색) #fdb813, 밝은 회청 배경 #f5f7fb */
.hm-home {
  --h-navy: #0b2f6b; --h-blue: #1f3a8a; --h-blue2: #2f5bd3; --h-ink: #1b2333; --h-muted: #5b6475; --h-line: #e3e8f0;
  --h-tint: #f5f7fb; --h-yellow: var(--cms-yellow, #fdb813); --h-radius: 18px;
}
.hm-home .hm-sec { color: var(--h-ink); letter-spacing: -0.02em; word-break: keep-all; font-family: inherit; }
/* reset.css 가 요소마다 word-break:break-all 을 직접 걸어 상속이 안 되므로 새 구간 안에서 낱말 단위 줄바꿈 */
.hm-home .hm-sec * { word-break: keep-all; overflow-wrap: break-word; box-sizing: border-box; }
.hm-home .hm-sec ul, .hm-home .hm-sec ol { list-style: none; margin: 0; padding: 0; }
.hm-home .hm-sec h1, .hm-home .hm-sec h2, .hm-home .hm-sec h3, .hm-home .hm-sec p { margin: 0; }
/* reset.css 'a:link { font-size:12px }' 대신 부모 글자 크기 */
.hm-home .hm-sec a, .hm-home .hm-sec a:link, .hm-home .hm-sec a:visited { color: inherit; font-size: inherit; text-decoration: none; }
.hm-home .hm-sec button { font-family: inherit; }
.hm-home svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hm-home a:focus-visible, .hm-home button:focus-visible { outline: 3px solid #4d7cff; outline-offset: 2px; }

/* 옛 배경 사진·세로줄 대신 새 바탕(구간마다) */
.fpWrap .fp_item.hm-sec { background-image: none; overflow: hidden; }
.fpWrap .fp_item.hm-sec:before { display: none; }
.hm-sec--hero { background: linear-gradient(180deg, #f3f6fb 0%, #f7f9fc 62%, #ffffff 100%); }
.hm-sec--white { background: #fff; }
.hm-sec--tint { background: var(--h-tint); }
.fpWrap .fp_item.hm-sec--navy { background: #0b2f6b linear-gradient(160deg, #0b2f6b 0%, #133d86 62%, #0a285c 100%); color: #fff; }

.hm-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; } /* 서브페이지 본문(.cmsx-in)·머리말 펼침 패널과 같은 왼쪽 선 */
/* 한 화면씩 넘기기가 모든 구간에 머리말 높이만큼 위 여백을 주므로, 맨 아래 정보(푸터)에서는 뺀다 */
.fpWrap .section_footer { padding-top: 0 !important; }

/* 머리말: 밝은 첫 화면이라 처음부터 흰 바탕(index.php 의 스크립트가 .open 을 유지). 아래 얇은 선 */
.header_wrap.hm-header { box-shadow: 0 1px 0 #e6eaf2; }
/* 모바일 머리말: 로고·전체 메뉴 버튼(아래 끝 75px)만 있으므로 흰 바탕을 80px 로(기존 110px 는 빈 공간) */
@media screen and (max-width: 767px) {
  .header_wrap.hm-header, .header_wrap.hm-header > .inner { height: 80px; }
  .header_wrap.hm-header.open:before { display: none; } /* navi.css 의 110px 위치 선 — 줄인 높이(80px)에서는 아래 그림자 선으로 대신 */
}
/* 일반 스크롤이 되면 사이트 공통 하단(#footer)이 메인 하단 정보(#footer2)와 겹쳐 두 번 보이므로 메인에서는 감춘다(한 화면씩 넘길 때도 보이지 않던 부분) */
body.hm-body #footer { display: none; }

/* 왼쪽 구간 메뉴: 점 + 마우스·키보드를 대면 이름. 본문(1160px)과 겹치지 않는 폭(1240px 이상)에서만 */
#fp-menu { position: fixed; width: auto; z-index: 20; }
#fp-menu.on { left: 28px; }
#fp-menu li { margin-bottom: 6px; }
#fp-menu li a, #fp-menu li a:link, #fp-menu li a:visited {
  display: flex; align-items: center; gap: 10px; opacity: 1; height: 26px; line-height: 26px; font-size: 0; color: transparent; white-space: nowrap;
}
#fp-menu li a:before { content: ''; display: block; width: 8px; height: 8px; border-radius: 4px; background: #c3cbda; transition: height .2s, background-color .2s; }
#fp-menu li.on a:before { height: 22px; background: var(--h-blue, #1f3a8a); }
#fp-menu li a:after, #fp-menu li a span { display: none; }
#fp-menu li a:hover, #fp-menu li a:focus-visible { font-size: 13px; color: #1f3a8a; }
#fp-menu li a:hover, #fp-menu li a:focus-visible { background: rgba(255,255,255,.92); border-radius: 13px; padding-right: 10px; }
#fp-nav { display: none !important; }
@media screen and (max-width: 1239px) { #fp-menu { display: none; } }
/* 옛 'Scroll' 표시는 쓰지 않는다 */
.hm-home .scrollDown { display: none !important; }

/* 공통 제목 */
.hm-kicker { font-size: 15px; font-weight: 700; color: var(--h-blue); }
.hm-kicker--light { color: #ffd76a; }
.hm-h2 { margin-top: 8px !important; font-size: 34px; line-height: 1.3; font-weight: 800; color: var(--h-ink); letter-spacing: -0.035em; }
.hm-h2--light { color: #fff; }
.hm-sub { margin-top: 10px !important; font-size: 17px; line-height: 1.7; color: var(--h-muted); }

/* 버튼 */
.hm-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px;
  border-radius: 14px; border: 1px solid transparent; font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.hm-home .hm-sec a.hm-btn { font-size: 17px; }
.hm-btn svg { font-size: 18px; }
.hm-btn--primary { background: var(--h-yellow); color: #231a00; box-shadow: 0 6px 16px rgba(253,184,19,.32); }
.hm-btn--primary:hover { background: #f2a900; }
.hm-btn--line { background: #fff; border-color: var(--h-blue); color: var(--h-blue) !important; }
.hm-btn--line:hover { background: #eef2fb; }
.hm-btn--light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff !important; }
.hm-btn--light:hover { background: rgba(255,255,255,.1); }
.hm-btn--tel { background: transparent; color: #fff !important; padding: 0 12px; }
.hm-btn--tel-light { background: transparent; color: #fff !important; padding: 0 12px; }

/* ---------- 1. 첫 화면 ---------- */
.hm-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hm-nw { white-space: nowrap; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #e8eefb; font-size: 14px; font-weight: 700; color: var(--h-blue); }
.hm-hero__title { margin-top: 18px !important; font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -0.045em; color: var(--h-ink); }
.hm-hero__title strong { color: var(--h-blue); font-weight: 800; }
.hm-hero__lead { margin-top: 18px !important; max-width: 580px; font-size: 18px; line-height: 1.7; color: #3b4456; }
.hm-hero .hm-cta { margin-top: 28px; align-items: center; }
/* 가입신청 옆 전화 상담 카드(오른쪽 배너 전화 버튼과 같은 모양). 높이는 왼쪽 버튼과 같은 56px(운영자 요청: 시간 줄 빼고 크기 맞춤) */
.hm-telcard { display: inline-flex; flex-direction: column; justify-content: center; height: 56px; padding: 0 20px 0 18px; border-radius: 14px; background: #eef3fd; box-shadow: inset 0 0 0 1px #d6e0f5; line-height: 1.2; }
.hm-telcard:hover { background: #e3ebfc; }
.hm-telcard__t { font-size: 13px; font-weight: 700; color: #1b2333; }
.hm-telcard__n { margin-top: 1px; font-size: 22px; font-weight: 800; color: #2f5bd3; letter-spacing: -0.03em; }
.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 540px; margin-top: 28px !important; }
.hm-stats li { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--h-line); box-shadow: 0 4px 14px rgba(15,35,80,.05); }
.hm-stats span { display: block; font-size: 13px; color: var(--h-muted); }
.hm-stats b { display: block; margin-top: 4px; font-size: 25px; line-height: 1.2; font-weight: 800; color: var(--h-navy); letter-spacing: -0.04em; white-space: nowrap; }
.hm-stats small { margin-left: 2px; font-size: 14px; font-weight: 700; }

.hm-hero__visual { position: relative; }
.hm-hero__visual picture { display: block; aspect-ratio: 1.22 / 1; border-radius: 28px; overflow: hidden; background: #e9eef7; box-shadow: 0 24px 50px rgba(15,35,80,.12); }
.hm-hero__visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-chip { position: absolute; display: grid; grid-template-columns: 32px auto; column-gap: 10px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15,35,80,.16); }
.hm-chip__ok { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--h-blue); position: relative; }
.hm-chip__ok:after { content: ''; position: absolute; left: 11px; top: 8px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hm-chip b { font-size: 15px; font-weight: 800; color: var(--h-ink); line-height: 1.3; }
.hm-chip em { font-style: normal; font-size: 13px; color: var(--h-muted); line-height: 1.3; }
.hm-chip--1 { top: 12%; left: -28px; }
.hm-chip--2 { bottom: 10%; right: 16px; }

/* 업종 바로가기 띠 */
.hm-ind { margin-top: 32px; padding: 16px 18px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--h-line); box-shadow: 0 10px 30px rgba(15,35,80,.06); }
.hm-ind__title { margin: 0 0 8px 6px !important; font-size: 15px; font-weight: 700; color: var(--h-ink); }
.hm-ind ul { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.hm-ind li { font-size: 14px; }
.hm-ind a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 2px 6px; border-radius: 12px; text-align: center; font-weight: 600; color: #2c3446 !important; line-height: 1.3; }
.hm-ind a:hover { background: #f1f5fd; color: var(--h-blue) !important; }
.hm-ind__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #eef2fb; color: var(--h-blue); font-size: 21px; }
.hm-ind a:hover .hm-ind__ico { background: var(--h-blue); color: #fff; }

/* ---------- 2. 효성CMS란 ---------- */
.fp_item2 .hm-in { text-align: center; }
.fp_item2 .hm-sub { max-width: 880px; margin-left: auto !important; margin-right: auto !important; }
.hm-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px !important; counter-reset: none; }
.hm-flow li { position: relative; padding: 24px 20px 22px; border-radius: var(--h-radius); background: var(--h-tint); text-align: left; }
.hm-flow li + li:before {
  content: ''; position: absolute; left: -13px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-top: 2px solid #9fb0d3; border-right: 2px solid #9fb0d3; transform: rotate(45deg);
}
.hm-flow__ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; color: var(--h-blue); font-size: 22px; }
.hm-flow b { position: absolute; right: 20px; top: 22px; font-size: 14px; font-weight: 800; color: #9fb0d3; letter-spacing: 0; }
.hm-flow strong { display: block; margin-top: 16px; font-size: 19px; font-weight: 800; color: var(--h-ink); }
.hm-flow p { margin-top: 6px !important; font-size: 15px; line-height: 1.6; color: var(--h-muted); }
.hm-flow li.is-key { background: var(--h-blue); }
.hm-flow li.is-key .hm-flow__ico { background: rgba(255,255,255,.14); color: #fff; }
.hm-flow li.is-key b { color: #ffd76a; }
.hm-flow li.is-key strong { color: #fff; }
.hm-flow li.is-key p { color: #dbe4f7; }
.hm-merits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px !important; }
.hm-merits li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--h-line); border-radius: var(--h-radius); text-align: left; background: #fff; }
.hm-merits__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #eef2fb; color: var(--h-blue); font-size: 20px; flex: none; }
.hm-merits strong { display: block; font-size: 17px; font-weight: 800; color: var(--h-ink); }
.hm-merits p { margin-top: 4px !important; font-size: 15px; line-height: 1.55; color: var(--h-muted); }
.hm-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; }
.hm-more a, .hm-more button { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 4px; font-size: 16px; font-weight: 700; color: var(--h-blue) !important; background: none; border: 0; cursor: pointer; }
.hm-home .hm-sec .hm-more a { font-size: 16px; }
.hm-more a:hover, .hm-more button:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-more .hm-more__consult { color: #8a5a00 !important; }

/* ---------- 3. 결제수단 ---------- */
.fp_item3 .hm-in > .hm-kicker, .fp_item3 .hm-in > .hm-h2, .fp_item3 .hm-in > .hm-sub { text-align: center; }
.hm-pays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px !important; }
.hm-pays a { display: flex; gap: 16px; align-items: center; height: 100%; padding: 14px; border-radius: var(--h-radius); background: #fff; border: 1px solid var(--h-line); transition: border-color .15s, box-shadow .15s, transform .15s; }
.hm-pays a:hover { border-color: #b8c6e6; box-shadow: 0 12px 28px rgba(15,35,80,.10); transform: translateY(-2px); }
.hm-pays__img { flex: none; width: 150px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #eef2fb; }
.hm-pays__img picture, .hm-pays__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-pays__txt { display: block; min-width: 0; }
.hm-pays__txt strong { display: flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 800; color: var(--h-ink); }
.hm-pays__txt strong:after { content: '›'; font-size: 22px; line-height: 1; font-weight: 400; color: #9fb0d3; transform: translateY(-1px); }
.hm-pays__txt > span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--h-muted); }
.hm-addons { margin-top: 22px !important; text-align: center; font-size: 15px; color: var(--h-muted); }
.hm-addons a { display: inline-block; margin: 2px 4px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--h-line); font-weight: 600; color: #2c3446 !important; }
.hm-home .hm-sec .hm-addons a { font-size: 14px; }
.hm-addons a:hover { border-color: var(--h-blue); color: var(--h-blue) !important; }

/* ---------- 4. 가입 안내(남색) ---------- */
.fp_item_guide .hm-in { text-align: center; }
.hm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 32px !important; text-align: left; }
.hm-steps li { padding: 20px 18px; border-radius: var(--h-radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.hm-steps b { display: block; font-size: 13px; font-weight: 800; color: #ffd76a; letter-spacing: .02em; }
.hm-steps strong { display: block; margin-top: 8px; font-size: 18px; font-weight: 800; color: #fff; }
.hm-steps p { margin-top: 8px !important; font-size: 14.5px; line-height: 1.6; color: #d6def0; }
.hm-guide-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 20px 24px; border-radius: var(--h-radius); background: #fff; text-align: left; }
.hm-guide-notes li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.75; color: #2c3446; }
.hm-guide-notes li:before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--h-blue2); }
.hm-guide-bottom .hm-cta { flex: none; }
.hm-guide-bottom .hm-btn--light { border-color: var(--h-blue); color: var(--h-blue) !important; background: #fff; }
.hm-guide-bottom .hm-btn--light:hover { background: #eef2fb; }
.hm-guide-bottom .hm-btn--tel { color: var(--h-navy) !important; }
.hm-guide-link { margin-top: 16px !important; font-size: 15px; }
.hm-guide-link a { display: inline-flex; align-items: center; gap: 2px; color: #fff !important; font-weight: 600; opacity: .9; }
.hm-guide-link a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 5. 상담 + 이용 중인 고객 ---------- */
.hm-final { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(120deg, #1f3a8a 0%, #2f5bd3 100%); color: #fff; }
.hm-final__title { font-size: 28px; line-height: 1.35; font-weight: 800; color: #fff; letter-spacing: -0.035em; }
.hm-final p { margin-top: 8px !important; font-size: 15.5px; line-height: 1.6; color: #dfe7fb; }
.hm-final .hm-cta { flex: none; }
.hm-h3 { margin-top: 44px !important; font-size: 22px; font-weight: 800; color: var(--h-ink); letter-spacing: -0.03em; }
.hm-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px !important; }
.hm-quick a { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; height: 100%; padding: 18px; border-radius: var(--h-radius); border: 1px solid var(--h-line); background: #fff; }
.hm-quick a:hover { border-color: #b8c6e6; box-shadow: 0 10px 24px rgba(15,35,80,.08); }
.hm-quick__ico { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #eef2fb; color: var(--h-blue); font-size: 21px; }
.hm-quick strong { font-size: 16px; font-weight: 800; color: var(--h-ink); line-height: 1.35; }
.hm-quick a > span:last-child { font-size: 13.5px; color: var(--h-muted); line-height: 1.4; }

/* ---------- 결제 제휴사 띠(2026-10-18, 운영자 요청 — cmsbill.co.kr 서비스제휴사 로고) ---------- */
.hm-partners { margin-top: 36px; padding: 18px 20px 12px; border: 1px solid var(--h-line); border-radius: var(--h-radius); background: #fff; } /* 5번 구간이 연한 회청 배경이라, 흰 바탕 로고(jpg)가 네모로 보이지 않게 흰 카드 안에 */
.hm-partners__head { display: flex; align-items: baseline; gap: 12px; }
.hm-partners__title { font-size: 17px; font-weight: 800; color: var(--h-ink); letter-spacing: -0.03em; }
.hm-partners__sub { font-size: 14px; color: var(--h-muted); }
.hm-partners__box { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.hm-partners__view { flex: 1 1 auto; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hm-partners__view::-webkit-scrollbar { display: none; }
.hm-partners__list { display: flex; }
.hm-partners__list li { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 176px; height: 68px; padding: 0 14px; scroll-snap-align: start; }
.hm-partners__list picture { display: contents; }
.hm-partners__list img { display: block; width: auto; height: auto; max-width: 148px; max-height: 36px; }
.hm-partners__nav { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--h-line); background: #fff; color: var(--h-ink); font-size: 20px; cursor: pointer; box-shadow: 0 4px 12px rgba(15,35,80,.08); }
.hm-partners__nav:hover { border-color: #b8c6e6; color: var(--h-blue); }
.hm-partners__nav--prev svg { transform: rotate(180deg); }

/* ---------- 한 화면씩 넘길 때(PC): 머리말·하단 바 높이를 뺀 공간 안에서 가운데 ---------- */
/* 높이가 넉넉하지 않은 PC(실제 보이는 높이 820px 이하, 예 1440×900 노트북 ≈ 790px) — 간격·크기만 한 단계 줄인다 */
@media screen and (min-width: 768px) and (max-height: 820px) {
  .hm-hero__title { font-size: 44px; margin-top: 14px !important; }
  .hm-hero__lead { font-size: 17px; margin-top: 14px !important; }
  .hm-hero .hm-cta { margin-top: 22px; }
  .hm-stats { margin-top: 22px !important; }
  .hm-stats li { padding: 11px 14px; }
  .hm-stats b { font-size: 23px; }
  .hm-ind { margin-top: 22px; padding: 12px 14px 10px; }
  .hm-ind__title { margin-bottom: 4px !important; }
  .hm-ind a { gap: 6px; padding: 6px 2px 4px; }
  .hm-ind__ico { width: 40px; height: 40px; font-size: 19px; }
  .hm-hero__visual picture { aspect-ratio: 1.36 / 1; }
  .hm-h2 { font-size: 30px; }
  .hm-flow { margin-top: 26px !important; }
  .hm-flow li { padding: 18px 18px 16px; }
  .hm-flow strong { margin-top: 12px; }
  .hm-merits li { padding: 16px; }
  .hm-more { margin-top: 18px; }
  .hm-pays { margin-top: 24px !important; gap: 12px; }
  .hm-steps { margin-top: 24px !important; }
  .hm-steps li { padding: 16px; }
  .hm-final { padding: 28px 32px; }
  .hm-h3 { margin-top: 32px !important; }
}

/* ---------- 일반 스크롤(화면이 낮거나 좁을 때, body.fp-responsive) ---------- */
/* 한 화면씩 넘기기가 준 높이(인라인)를 풀어 내용 높이대로 */
body.fp-responsive .fpWrap > .section, body.fp-responsive .fpWrap > .section > .fp-tableCell { height: auto !important; }
body.fp-responsive .fpWrap .hm-sec { padding: 72px 0 !important; }
body.fp-responsive .fpWrap .hm-sec--hero { padding: calc(var(--hm-head, 110px) + 28px) 0 56px !important; }
body.fp-responsive .fpWrap .fp_item4.hm-sec { padding-bottom: 80px !important; }

/* 태블릿·좁은 PC(768~1239px) */
@media screen and (min-width: 768px) and (max-width: 1239px) {
  .hm-hero { gap: 28px; }
  .hm-hero__title { font-size: 40px; }
  .hm-hero__lead { font-size: 17px; }
  .hm-chip--1 { left: -12px; }
  .hm-chip--2 { right: 12px; }
  .hm-ind ul { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 6px; }
  .hm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-flow li:nth-child(3):before { display: none; }
  .hm-merits { grid-template-columns: 1fr; }
  .hm-pays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-guide-bottom, .hm-final { flex-direction: column; align-items: flex-start; }
  .hm-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 모바일(767px 이하): 일반 스크롤, 아래 [전화][빠른상담] 바가 늘 보이므로 첫 화면 버튼은 감춘다 ---------- */
@media screen and (max-width: 767px) {
  .hm-in { padding: 0 16px; }
  body.fp-responsive .fpWrap .hm-sec { padding: 48px 0 !important; }
  body.fp-responsive .fpWrap .hm-sec--hero { padding: calc(var(--hm-head, 80px) + 20px) 0 36px !important; }
  body.fp-responsive .fpWrap .fp_item4.hm-sec { padding-bottom: 48px !important; }
  .hm-hero { grid-template-columns: 1fr; gap: 22px; }
  .hm-eyebrow { padding: 6px 12px; font-size: 13px; }
  .hm-hero__title { margin-top: 12px !important; font-size: 30px; line-height: 1.28; }
  .hm-hero__lead { margin-top: 12px !important; font-size: 16px; line-height: 1.65; }
  .hm-hero .hm-cta { display: none; }
  .hm-stats { gap: 6px; margin-top: 18px !important; }
  .hm-stats li { padding: 10px 10px; border-radius: 12px; }
  .hm-stats span { font-size: 12px; }
  .hm-stats b { font-size: 18px; }
  .hm-stats small { font-size: 12px; margin-left: 1px; }
  .hm-hero__visual picture { aspect-ratio: 1.3 / 1; border-radius: 20px; }
  .hm-chip { padding: 8px 12px 8px 8px; grid-template-columns: 26px auto; column-gap: 8px; border-radius: 12px; }
  .hm-chip__ok { width: 26px; height: 26px; }
  .hm-chip__ok:after { left: 9px; top: 6px; width: 6px; height: 10px; border-width: 0 2px 2px 0; }
  .hm-chip b { font-size: 13px; }
  .hm-chip em { font-size: 12px; }
  .hm-chip--1 { top: 10px; left: 10px; }
  .hm-chip--2 { bottom: 10px; right: 10px; }
  .hm-ind { margin-top: 24px; padding: 14px 12px 10px; border-radius: 16px; }
  .hm-ind__title { margin: 0 0 8px 4px !important; font-size: 16px; }
  .hm-ind ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .hm-ind li { font-size: 14px; }
  .hm-ind a { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 8px 8px; text-align: left; background: #f6f8fc; border-radius: 10px; }
  .hm-ind__ico { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; background: #fff; }

  .hm-kicker { font-size: 14px; }
  .hm-h2 { font-size: 24px; line-height: 1.35; }
  .hm-sub { font-size: 15.5px; line-height: 1.65; }
  .fp_item2 .hm-in, .fp_item3 .hm-in > .hm-kicker, .fp_item3 .hm-in > .hm-h2, .fp_item3 .hm-in > .hm-sub, .fp_item_guide .hm-in { text-align: left; }
  .hm-flow { grid-template-columns: 1fr; gap: 8px; margin-top: 22px !important; }
  .hm-flow li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; }
  .hm-flow li + li:before { left: 34px; top: -7px; margin-top: 0; width: 8px; height: 8px; transform: rotate(135deg); }
  .hm-flow__ico { grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 20px; }
  .hm-flow b { top: 14px; right: 16px; font-size: 12px; }
  .hm-flow strong { margin-top: 0; font-size: 17px; }
  .hm-flow p { margin-top: 2px !important; font-size: 14.5px; line-height: 1.5; }
  .hm-merits { grid-template-columns: 1fr; gap: 8px; margin-top: 10px !important; }
  .hm-merits li { padding: 14px 16px; border-radius: 14px; }
  .hm-more { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 0; margin-top: 14px; }

  .hm-pays { grid-template-columns: 1fr; gap: 10px; margin-top: 20px !important; }
  .hm-pays a { gap: 14px; padding: 10px; border-radius: 14px; }
  .hm-pays__img { width: 112px; border-radius: 10px; }
  .hm-pays__txt strong { font-size: 16.5px; }
  .hm-pays__txt > span { margin-top: 4px; font-size: 14px; line-height: 1.5; }
  .hm-addons { text-align: left; font-size: 14px; }
  .hm-addons a { margin: 4px 4px 0 0; }

  .hm-steps { grid-template-columns: 1fr; gap: 8px; margin-top: 20px !important; }
  .hm-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; padding: 14px 16px; border-radius: 14px; }
  .hm-steps b { grid-row: 1 / span 2; padding-top: 3px; font-size: 12px; }
  .hm-steps strong { margin-top: 0; font-size: 16.5px; }
  .hm-steps p { margin-top: 4px !important; font-size: 14.5px; }
  .hm-guide-bottom { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; border-radius: 14px; }
  .hm-guide-notes li { font-size: 14.5px; line-height: 1.65; }
  .hm-cta .hm-btn { flex: 1 1 calc(50% - 5px); min-height: 50px; padding: 0 12px; font-size: 16px; }
  .hm-home .hm-sec a.hm-btn { font-size: 16px; }
  .hm-cta .hm-btn--tel, .hm-cta .hm-btn--tel-light { flex-basis: 100%; }

  .hm-final { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 18px; border-radius: 18px; }
  .hm-final__title { font-size: 21px; }
  .hm-final p { font-size: 14.5px; }
  .hm-h3 { margin-top: 32px !important; font-size: 19px; }
  .hm-quick { grid-template-columns: 1fr; gap: 8px; margin-top: 12px !important; }
  .hm-quick a { padding: 14px 16px; border-radius: 14px; }
  .hm-partners { margin-top: 28px; padding: 14px 12px 8px; border-radius: 14px; }
  .hm-partners__title { font-size: 16px; }
  .hm-partners__sub { font-size: 13px; }
  .hm-partners__box { gap: 6px; }
  .hm-partners__list li { width: 128px; height: 56px; padding: 0 10px; }
  .hm-partners__list img { max-width: 108px; max-height: 28px; }
  .hm-partners__nav { width: 34px; height: 34px; font-size: 16px; }
}
