/* /registration 등록 컨설팅 페이지
   시안(registration\kp-registration.html, 2026-11-19) 값 그대로. 시안 규칙을 .rg-page 안으로 묶어
   사이트 공통 머리말·바닥글과 겹치지 않게 한다. 시안 전용 목업 띠·자리표시·메모 규칙은 뺐다.
   하단 주황 띠(.service-introduction-box)·버튼은 globals.css 가 태블릿·모바일에서 바꾸는 값을 시안 값으로 고정한다. */

/* KP 솔루션 페이지 토큰 그대로. 사이트가 라이트 전용이라 단일 테마. */
.rg-page {
  color-scheme: light;
  --font-black: #1e1e1e;
  --font-white: #ffffff;
  --font-orange: #dd5e1e;
  --font-gray: #767676;
  --bg-btn-black: #0e0207;
  --btn-box-bg-orange: #dd5e1e;
  --box-bg-whiteorange: #fff7f2;
  --box-bg-gray: #fafafa;
  --nonactivated-btn-txt-gray: #4e4e4e;
  --input-border-color: #e0e0e0;
  --btn-box-bg-orange-hover: #ff8d54;
  --bg-btn-black-hover: #5c5c5c;
  --on-dark-sub: #d9d6d5;
  --line-on-dark: rgba(255, 255, 255, 0.22);
  --radius: 15px;
  --pretendard: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}
.rg-page, .rg-page * { box-sizing: border-box; }
.rg-page { margin: 0; background: #ffffff; color: var(--font-black); font-family: var(--pretendard); font-size: 16px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.rg-page h1, .rg-page h2, .rg-page h3, .rg-page p { margin: 0; }
.rg-page a { color: inherit; text-underline-offset: 3px; }
.rg-page ::selection { background: var(--btn-box-bg-orange); color: var(--font-white); }
.rg-page :focus-visible { outline: 3px solid var(--bg-btn-black); outline-offset: 3px; }

/* 틀 */
.rg-page { padding-inline: var(--gutter); }
.rg-page .wrap { width: 100%; max-width: 1200px; margin-inline: auto; }
.rg-page .btn-orange, .rg-page .btn-black { display: inline-flex; align-items: center; justify-content: center; border: 0; text-decoration: none; color: var(--font-white); font-family: var(--pretendard); cursor: pointer; transition: background-color 0.3s ease; touch-action: manipulation; -webkit-tap-highlight-color: rgba(221, 94, 30, 0.2); }
.rg-page .btn-orange { background-color: var(--btn-box-bg-orange); }
.rg-page .btn-orange:hover { background-color: var(--btn-box-bg-orange-hover); }
.rg-page .btn-black { background-color: var(--bg-btn-black); }
.rg-page .btn-black:hover { background-color: var(--bg-btn-black-hover); }
.rg-page .inquiry-btn { width: auto; line-height: normal; min-width: 220px; height: 51px; padding: 0 28px; font-size: 20px; font-weight: 700; border-radius: var(--radius); }
.rg-page .h2 { font-size: 34px; font-weight: 700; line-height: 48px; text-align: center; text-wrap: balance; }
.rg-page .h2-sub { font-size: 20px; font-weight: 500; line-height: 28px; text-align: center; margin-top: 16px; }
.rg-page .src { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--nonactivated-btn-txt-gray); }

/* 1. 첫 화면 */
.rg-page .hero { padding: 70px 0 0; text-align: center; }
.rg-page .hero h1 { font-size: 40px; font-weight: 700; line-height: 52px; text-wrap: balance; }
.rg-page .hero .sub { font-size: 20px; font-weight: 500; line-height: 30px; margin: 16px auto 0; max-width: 34em; }
.rg-page .hero .inquiry-btn { margin-top: 30px; }
.rg-page .hero .aside-note { margin-top: 14px; font-size: 16px; font-weight: 500; color: var(--nonactivated-btn-txt-gray); }

/* 2. 요건 여섯 줄 */
.rg-page .req { margin-top: 160px; }
.rg-page .req-head, .rg-page .req-list li { display: grid; grid-template-columns: 8em minmax(0, 5fr) minmax(0, 6fr); gap: 8px 40px; }
.rg-page .req-head { max-width: 1100px; margin: 60px auto 0; padding: 0 8px 12px; border-bottom: 2px solid var(--font-black); font-size: 16px; font-weight: 700; line-height: 24px; }
.rg-page .req-head span:last-child { color: var(--font-orange); }
.rg-page .req-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; }
.rg-page .req-list li { padding: 26px 8px; border-bottom: 1px solid var(--input-border-color); align-items: start; }
.rg-page .req-list .k { font-size: 20px; font-weight: 700; line-height: 30px; }
.rg-page .req-list .q { font-size: 18px; font-weight: 700; line-height: 28px; padding-top: 1px; }
.rg-page .req-list .kp { font-size: 17px; font-weight: 500; line-height: 27px; color: var(--nonactivated-btn-txt-gray); padding-top: 1px; }
.rg-page .req .src { text-align: center; margin-top: 20px; }

/* 3. 등록이 필요 없는 경우 */
.rg-page .skip { margin-top: 160px; background: var(--box-bg-gray); border-radius: var(--radius); padding: 80px 72px 72px; }
.rg-page .skip-list { max-width: 1100px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rg-page .skip-item { background: #ffffff; border-radius: var(--radius); padding: 40px 40px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.rg-page .skip-item h3 { font-size: 30px; font-weight: 700; line-height: 40px; color: var(--font-orange); }
.rg-page .skip-item .eg { margin-top: 8px; font-size: 17px; font-weight: 500; line-height: 26px; color: var(--nonactivated-btn-txt-gray); }
.rg-page .skip-item dl { align-self: stretch; flex: 1; margin: 24px 0 0; display: grid; grid-template-columns: 7em minmax(0, 1fr); border-top: 1px solid var(--input-border-color); }
.rg-page .skip-item dt, .rg-page .skip-item dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--input-border-color); font-size: 18px; line-height: 26px; }
.rg-page .skip-item dt { font-weight: 500; color: var(--nonactivated-btn-txt-gray); }
.rg-page .skip-item dd { font-weight: 700; }
.rg-page .skip-item dd.no { color: var(--font-orange); }
.rg-page .skip-item .btn-orange { margin-top: 28px; height: 48px; padding: 0 24px; font-size: 17px; font-weight: 700; border-radius: var(--radius); white-space: nowrap; }
.rg-page .skip-note { max-width: 1100px; margin: 24px auto 0; font-size: 17px; font-weight: 500; line-height: 26px; }
.rg-page .skip-note b { color: var(--font-orange); }
.rg-page .skip .src { max-width: 1100px; margin: 10px auto 0; }

/* 4. 컨설팅 절차 */
.rg-page .proc { margin-top: 160px; }
.rg-page .proc-steps { list-style: none; margin: 64px auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; counter-reset: s; }
.rg-page .proc-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; background: var(--btn-box-bg-orange); }
.rg-page .proc-steps li { position: relative; padding: 0 10px; text-align: center; counter-increment: s; }
.rg-page .proc-steps li::before { content: counter(s); box-sizing: border-box; width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: var(--btn-box-bg-orange); color: #ffffff; font-size: 20px; font-weight: 700; display: grid; place-content: center; box-shadow: 0 0 0 8px #ffffff; }
.rg-page .proc-steps li.self::before { background: var(--bg-btn-black); }
.rg-page .proc-steps b { display: block; font-size: 20px; font-weight: 700; line-height: 28px; margin-top: 18px; }
.rg-page .proc-steps span { display: block; font-size: 16px; font-weight: 500; line-height: 24px; margin-top: 6px; color: var(--nonactivated-btn-txt-gray); }
.rg-page .proc-legend { text-align: center; margin-top: 32px; font-size: 15px; font-weight: 500; line-height: 22px; color: var(--nonactivated-btn-txt-gray); }
.rg-page .proc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin: 0 6px 0 14px; }
.rg-page .proc-legend i.o { background: var(--btn-box-bg-orange); margin-left: 0; }
.rg-page .proc-legend i.b { background: var(--bg-btn-black); }

/* 5. 자주 묻는 질문 */
.rg-page .faq-wrap { margin-top: 160px; }
.rg-page .faq { max-width: 1000px; margin: 60px auto 0; border-top: 2px solid var(--font-black); }
.rg-page .faq details { border-bottom: 1px solid var(--input-border-color); }
.rg-page .faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-size: 20px; font-weight: 700; line-height: 28px; transition: color 0.3s ease; touch-action: manipulation; }
.rg-page .faq summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .rg-page .faq summary:hover { color: var(--font-orange); } }
.rg-page .faq summary::after { content: ""; position: absolute; right: 12px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--font-black); border-bottom: 2px solid var(--font-black); transform: rotate(45deg); transition: transform 0.3s ease; }
.rg-page .faq details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.rg-page .faq .answer { padding: 0 48px 24px 0; font-size: 18px; font-weight: 500; line-height: 28px; }

/* 6. 마지막 상담 */
.rg-page .service-introduction-box { width: 100%; max-width: 1200px; height: auto; min-height: 244px; flex-direction: row; margin: 160px auto 60px; padding: 0 122px 0 80px; background-color: var(--btn-box-bg-orange); border-radius: 15px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rg-page .service-introduction-box-text { text-align: left; font-size: 20px; font-weight: 700; line-height: 30px; color: var(--font-white); }
.rg-page .btn-si { margin: 0; width: 260px; height: 50px; font-size: 20px; font-weight: 700; line-height: 24px; border-radius: 15px; flex: none; }

@media screen and (max-width: 1279px) {
  .rg-page .hero h1 { font-size: 34px; line-height: 44px; }
  .rg-page .h2 { font-size: 30px; line-height: 40px; }
  .rg-page .req, .rg-page .skip, .rg-page .proc, .rg-page .faq-wrap { margin-top: 120px; }
  .rg-page .service-introduction-box { margin-top: 120px; }
  .rg-page .req-head, .rg-page .req-list li { grid-template-columns: 6.5em minmax(0, 1fr) minmax(0, 1fr); gap: 6px 24px; }
  .rg-page .req-list .k, .rg-page .req-list .q { font-size: 18px; line-height: 28px; }
  .rg-page .skip { padding: 48px 40px; }
  .rg-page .proc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .rg-page .proc-steps::before { display: none; }
  .rg-page .service-introduction-box { padding: 40px; flex-wrap: wrap; }
}
@media screen and (max-width: 767px) {
  .rg-page .hero { padding-top: 44px; }
  .rg-page .hero h1 { font-size: 26px; line-height: 36px; }
  .rg-page .hero .sub, .rg-page .h2-sub { font-size: 16px; line-height: 24px; }
  .rg-page .h2 { font-size: 24px; line-height: 32px; }
  .rg-page .inquiry-btn { width: 100%; }
  .rg-page .req, .rg-page .skip, .rg-page .proc, .rg-page .faq-wrap { margin-top: 90px; }
  .rg-page .req-head { display: none; }
  .rg-page .req-list { border-top: 2px solid var(--font-black); margin-top: 30px; }
  .rg-page .req-list li { grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; }
  .rg-page .req-list .k { font-size: 15px; line-height: 22px; color: var(--nonactivated-btn-txt-gray); }
  .rg-page .req-list .q { font-size: 17px; line-height: 25px; }
  .rg-page .req-list .kp { margin-top: 6px; padding: 10px 14px; background: var(--box-bg-whiteorange); border-radius: 10px; font-size: 15px; line-height: 22px; color: var(--font-black); }
  .rg-page .skip { padding: 32px 16px; }
  .rg-page .skip-list { margin-top: 28px; gap: 12px; grid-template-columns: 1fr; }
  .rg-page .skip-item { padding: 24px 20px; }
  .rg-page .skip-item h3 { font-size: 24px; line-height: 32px; }
  .rg-page .skip-item .eg { font-size: 15px; line-height: 22px; }
  .rg-page .skip-item dl { margin-top: 18px; grid-template-columns: 6em minmax(0, 1fr); }
  .rg-page .skip-item dt, .rg-page .skip-item dd { padding: 12px 0; font-size: 16px; line-height: 24px; }
  .rg-page .skip-item .btn-orange { margin-top: 20px; width: 100%; font-size: 16px; }
  .rg-page .skip-note { font-size: 15px; line-height: 22px; }
  .rg-page .proc-steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 32px; max-width: 340px; }
  .rg-page .proc-steps::before { display: block; left: 19px; right: auto; top: 20px; bottom: 40px; width: 2px; height: auto; }
  .rg-page .proc-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .rg-page .proc-steps li::before { width: 40px; height: 40px; margin: 0; font-size: 17px; grid-row: span 2; }
  .rg-page .proc-steps b { margin-top: 6px; font-size: 18px; line-height: 26px; }
  .rg-page .proc-steps span { margin-top: 2px; font-size: 15px; line-height: 22px; }
  .rg-page .proc-legend { margin-top: 12px; }
  .rg-page .faq { margin-top: 30px; }
  .rg-page .faq summary { font-size: 17px; line-height: 26px; padding-right: 40px; }
  .rg-page .faq .answer { font-size: 16px; line-height: 24px; padding-right: 0; }
  .rg-page .service-introduction-box { margin-top: 90px; padding: 30px 24px; }
  .rg-page .btn-si { width: 100%; }
}
@media screen and (max-width: 767px) { .rg-page br.pc { display: none; } }
@media (prefers-reduced-motion: reduce) { .rg-page, .rg-page * { transition: none !important; } }
