/* /email 이메일 서비스 페이지
   시안(email\kp-email.html, 2026-11-19) 값 그대로. 시안 규칙을 .em-page 안으로 묶어
   사이트 공통 머리말·바닥글과 겹치지 않게 한다. 시안 전용 목업 띠·자리표시·메모 규칙은 뺐다.
   하단 주황 띠(.service-introduction-box)·버튼은 globals.css 가 태블릿·모바일에서 바꾸는 값을 시안 값으로 고정한다.
   화면 효과(첫 화면 순차 등장, 스크롤 등장, 카드 마우스 올림, FAQ 펼침)는 /ums 와 같은 값 — 스크롤 등장은 js/email.js */

/* KP 솔루션 페이지 토큰 그대로. 사이트가 라이트 전용이라 단일 테마. */
.em-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));
}
.em-page, .em-page * { box-sizing: border-box; }
.em-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; }
.em-page h1, .em-page h2, .em-page h3, .em-page p { margin: 0; }
.em-page a { color: inherit; text-underline-offset: 3px; }
.em-page ::selection { background: var(--btn-box-bg-orange); color: var(--font-white); }
.em-page :focus-visible { outline: 3px solid var(--bg-btn-black); outline-offset: 3px; }

/* 틀 */
.em-page { padding-inline: var(--gutter); }
.em-page .wrap { width: 100%; max-width: 1200px; margin-inline: auto; }
.em-page .btn-orange, .em-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); }
.em-page .btn-orange { background-color: var(--btn-box-bg-orange); }
.em-page .btn-orange:hover { background-color: var(--btn-box-bg-orange-hover); }
.em-page .btn-black { background-color: var(--bg-btn-black); }
.em-page .btn-black:hover { background-color: var(--bg-btn-black-hover); }
.em-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); }
.em-page .h2 { font-size: 34px; font-weight: 700; line-height: 48px; text-align: center; text-wrap: balance; }
.em-page .h2-sub { font-size: 20px; font-weight: 500; line-height: 28px; text-align: center; margin-top: 16px; }
.em-page .src { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--nonactivated-btn-txt-gray); }

.em-page .sec { margin-top: 160px; }

/* 1. 첫 화면 */
.em-page .hero { padding: 70px 0 0; text-align: center; }
.em-page .hero h1 { font-size: 40px; font-weight: 700; line-height: 52px; text-wrap: balance; }
.em-page .hero .sub { font-size: 20px; font-weight: 500; line-height: 30px; margin: 16px auto 0; max-width: 36em; }
.em-page .hero .inquiry-btn { margin-top: 30px; }

/* 2. PHP 이슈: 검정 판 */
.em-page .issue { margin-top: 100px; background: var(--bg-btn-black); color: var(--font-white); border-radius: var(--radius); padding: 64px 72px 56px; }
.em-page .issue .date { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--btn-box-bg-orange); font-size: 15px; font-weight: 700; line-height: 20px; }
.em-page .issue h2 { margin-top: 18px; font-size: 34px; font-weight: 700; line-height: 46px; text-wrap: balance; }
.em-page .issue h2 span { color: var(--font-orange); }
.em-page .issue .lead { margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 28px; color: var(--on-dark-sub); max-width: 46em; }
.em-page .issue dl { margin: 36px 0 0; display: grid; grid-template-columns: 9em minmax(0, 1fr); border-top: 1px solid var(--line-on-dark); }
.em-page .issue dt, .em-page .issue dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 18px; line-height: 28px; }
.em-page .issue dt { font-weight: 500; color: var(--on-dark-sub); }
.em-page .issue dd { font-weight: 700; }
.em-page .issue .src { margin-top: 18px; color: var(--on-dark-sub); }

/* 2-2. PHP 기반 메일과 비교: 표 */
.em-page .cmp { max-width: 1100px; margin: 72px auto 0; }
.em-page .cmp h3 { font-size: 28px; font-weight: 700; line-height: 38px; text-align: center; }
.em-page .cmp-table { width: 100%; margin-top: 36px; border-collapse: collapse; table-layout: fixed; }
.em-page .cmp-table th, .em-page .cmp-table td { padding: 20px 16px; border-bottom: 1px solid var(--input-border-color); text-align: left; vertical-align: top; font-size: 17px; line-height: 26px; }
.em-page .cmp-table thead th { border-bottom: 2px solid var(--font-black); font-size: 16px; font-weight: 700; }
.em-page .cmp-table thead th.kp { color: var(--font-orange); }
.em-page .cmp-table tbody th { font-size: 18px; font-weight: 700; width: 9em; }
.em-page .cmp-table td.risk { color: var(--nonactivated-btn-txt-gray); font-weight: 500; }
.em-page .cmp-table td.kp { font-weight: 700; background: var(--box-bg-whiteorange); }
.em-page .cmp-table col.c1 { width: 9em; }

/* 3. 도입 방식 */
.em-page .plan-grid { margin: 60px auto 0; max-width: 1100px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.em-page .plan { border: 1px solid var(--input-border-color); border-radius: var(--radius); padding: 40px 40px 36px; display: flex; flex-direction: column; }
.em-page .plan.main { border: 2px solid var(--font-orange); }
.em-page .plan h3 { font-size: 30px; font-weight: 700; line-height: 40px; }
.em-page .plan.main h3 { color: var(--font-orange); }
.em-page .plan .fit { margin-top: 8px; font-size: 17px; font-weight: 500; line-height: 26px; color: var(--nonactivated-btn-txt-gray); }
.em-page .plan dl { margin: 24px 0 0; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); border-top: 1px solid var(--input-border-color); }
.em-page .plan dt, .em-page .plan dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--input-border-color); font-size: 17px; line-height: 26px; }
.em-page .plan dt { font-weight: 500; color: var(--nonactivated-btn-txt-gray); }
.em-page .plan dd { font-weight: 700; }
.em-page .pack { max-width: 1100px; margin: 24px auto 0; background: var(--box-bg-gray); border-radius: var(--radius); padding: 36px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.em-page .pack h4 { margin: 0; font-size: 18px; font-weight: 700; line-height: 26px; padding-bottom: 12px; border-bottom: 2px solid var(--font-black); }
.em-page .pack ul { list-style: none; margin: 0; padding: 0; }
.em-page .pack li { padding: 10px 0; border-bottom: 1px solid var(--input-border-color); font-size: 16px; font-weight: 500; line-height: 24px; }
.em-page .pack li b { font-weight: 700; }
.em-page .plan-note { text-align: center; margin-top: 24px; font-size: 17px; font-weight: 500; line-height: 26px; }

/* 4. 주요 기능: 여섯 칸 */
.em-page .feat { list-style: none; margin: 60px auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.em-page .feat li { border-top: 2px solid var(--font-orange); padding-top: 22px; }
.em-page .feat b { display: block; font-size: 22px; font-weight: 700; line-height: 30px; }
.em-page .feat span { display: block; margin-top: 10px; font-size: 17px; font-weight: 500; line-height: 26px; color: var(--nonactivated-btn-txt-gray); }
.em-page .feat-note { max-width: 1100px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid var(--input-border-color); text-align: center; font-size: 17px; font-weight: 700; line-height: 26px; }

/* 5. 대량 메일: 연주황 판 */
.em-page .bulk { background: var(--box-bg-whiteorange); border-radius: var(--radius); padding: 80px 72px 72px; }
.em-page .bulk-ways { max-width: 1100px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.em-page .bulk-ways article { background: var(--bg-btn-black); color: var(--font-white); border-radius: var(--radius); padding: 36px 40px; }
.em-page .bulk-ways h3 { font-size: 26px; font-weight: 700; line-height: 34px; color: var(--font-orange); }
.em-page .bulk-ways p { margin-top: 10px; font-size: 18px; font-weight: 500; line-height: 28px; color: var(--on-dark-sub); }
.em-page .bulk-feat { list-style: none; max-width: 1100px; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.em-page .bulk-feat li { padding: 4px 28px; border-left: 1px solid rgba(221, 94, 30, 0.35); }
.em-page .bulk-feat li:first-child { padding-left: 0; border-left: 0; }
.em-page .bulk-feat b { display: block; font-size: 20px; font-weight: 700; line-height: 28px; }
.em-page .bulk-feat span { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 24px; color: var(--nonactivated-btn-txt-gray); }

/* 6. 보안·관리 */
.em-page .sec-groups { margin: 60px auto 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.em-page .sec-groups h3 { font-size: 20px; font-weight: 700; line-height: 28px; padding-bottom: 12px; border-bottom: 2px solid var(--font-black); }
.em-page .sec-groups ul { list-style: none; margin: 0; padding: 0; }
.em-page .sec-groups li { padding: 12px 0; border-bottom: 1px solid var(--input-border-color); font-size: 16px; font-weight: 500; line-height: 24px; }

/* 7. 도입 절차 */
.em-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; }
.em-page .proc-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 2px; background: var(--btn-box-bg-orange); }
.em-page .proc-steps li { position: relative; padding: 0 10px; text-align: center; counter-increment: s; }
.em-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; }
.em-page .proc-steps b { display: block; font-size: 20px; font-weight: 700; line-height: 28px; margin-top: 18px; }
.em-page .proc-steps span { display: block; font-size: 16px; font-weight: 500; line-height: 24px; margin-top: 6px; color: var(--nonactivated-btn-txt-gray); }
.em-page .proc-note { text-align: center; margin-top: 36px; font-size: 17px; font-weight: 500; line-height: 26px; }

/* 6-2. ISMS 인증: 메인 페이지(index-stn-6)와 같은 값 */
.em-page .isms-title { font-size: 34px; font-weight: 700; line-height: 48px; text-align: center; }
.em-page .isms-title .f-orange { color: var(--font-orange); }
.em-page .isms-wrapper { display: flex; justify-content: center; margin-top: 50px; }
.em-page .isms-img { display: block; width: 238px; height: auto; }
.em-page .isms-text-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; margin-left: 38px; }
.em-page .isms-text-title { font-size: 34px; font-weight: 700; line-height: 48px; }
.em-page .isms-text { font-size: 18px; font-weight: 500; line-height: 21px; }
/* 8. 자주 묻는 질문 */
.em-page .faq { max-width: 1000px; margin: 60px auto 0; border-top: 2px solid var(--font-black); }
.em-page .faq details { border-bottom: 1px solid var(--input-border-color); }
.em-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; }
.em-page .faq summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .em-page .faq summary:hover { color: var(--font-orange); } }
.em-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; }
.em-page .faq details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.em-page .faq .answer { padding: 0 48px 24px 0; font-size: 18px; font-weight: 500; line-height: 28px; }

/* 9. 하단 주황 띠(사이트 공통) */
.em-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; }
.em-page .service-introduction-box-text { text-align: left; font-size: 20px; font-weight: 700; line-height: 30px; color: var(--font-white); }
.em-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) {
  .em-page .sec { margin-top: 120px; }
  .em-page .hero h1 { font-size: 34px; line-height: 44px; }
  .em-page .h2 { font-size: 30px; line-height: 40px; }
  .em-page .issue { padding: 48px 40px; margin-top: 80px; }
  .em-page .issue h2 { font-size: 28px; line-height: 38px; }
  .em-page .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .em-page .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-page .bulk { padding: 56px 40px; }
  .em-page .bulk-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .em-page .bulk-feat li:nth-child(3) { padding-left: 0; border-left: 0; }
  .em-page .sec-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-page .isms-title { font-size: 20px; line-height: 24px; }
  .em-page .isms-wrapper { margin-top: 30px; }
  .em-page .isms-img { width: 115px; }
  .em-page .isms-text-title { font-size: 20px; line-height: 24px; margin-bottom: 5px; }
  .em-page .isms-text { font-size: 14px; line-height: 17px; }
  .em-page .proc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .em-page .proc-steps::before { display: none; }
  .em-page .service-introduction-box { margin-top: 120px; padding: 40px; flex-wrap: wrap; }
}
@media screen and (max-width: 767px) {
  .em-page .sec { margin-top: 90px; }
  .em-page .hero { padding-top: 44px; }
  .em-page .hero h1 { font-size: 26px; line-height: 36px; }
  .em-page .hero .sub, .em-page .h2-sub { font-size: 16px; line-height: 24px; }
  .em-page .h2 { font-size: 24px; line-height: 32px; }
  .em-page .inquiry-btn { width: 100%; }
  .em-page .issue { margin-top: 56px; padding: 32px 20px; }
  .em-page .issue h2 { font-size: 22px; line-height: 32px; }
  .em-page .issue .lead { font-size: 15px; line-height: 23px; }
  .em-page .issue dl { grid-template-columns: 1fr; margin-top: 24px; }
  .em-page .issue dt { padding: 14px 0 2px; border-bottom: 0; font-size: 14px; line-height: 20px; }
  .em-page .issue dd { padding: 0 0 14px; font-size: 16px; line-height: 24px; }
  .em-page .cmp { margin-top: 48px; }
  .em-page .cmp h3 { font-size: 21px; line-height: 30px; }
  .em-page .cmp-table, .em-page .cmp-table tbody, .em-page .cmp-table tr, .em-page .cmp-table th, .em-page .cmp-table td { display: block; width: auto; }
  .em-page .cmp-table thead { display: none; }
  .em-page .cmp-table tr { padding: 16px 0; border-bottom: 1px solid var(--input-border-color); }
  .em-page .cmp-table th, .em-page .cmp-table td { border: 0; padding: 4px 0; font-size: 15px; line-height: 23px; }
  .em-page .cmp-table tbody th { font-size: 17px; width: auto; }
  .em-page .cmp-table td.risk::before { content: "PHP 기반 메일: "; font-weight: 700; }
  .em-page .cmp-table td.kp { margin-top: 6px; padding: 10px 14px; border-radius: 10px; }
  .em-page .cmp-table td.kp::before { content: "KP 웹메일: "; }
  .em-page .plan-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .em-page .plan { padding: 26px 20px; }
  .em-page .plan h3 { font-size: 24px; line-height: 32px; }
  .em-page .plan dl { grid-template-columns: 7em minmax(0, 1fr); }
  .em-page .plan dt, .em-page .plan dd { font-size: 15px; line-height: 23px; padding: 12px 0; }
  .em-page .pack { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .em-page .pack li { font-size: 15px; line-height: 22px; }
  .em-page .plan-note, .em-page .proc-note { font-size: 15px; line-height: 22px; }
  .em-page .feat { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .em-page .feat b { font-size: 19px; line-height: 27px; }
  .em-page .feat span { font-size: 15px; line-height: 23px; margin-top: 6px; }
  .em-page .feat-note { margin-top: 32px; font-size: 15px; line-height: 22px; }
  .em-page .bulk { padding: 36px 16px; }
  .em-page .bulk-ways { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .em-page .bulk-ways article { padding: 24px 20px; }
  .em-page .bulk-ways h3 { font-size: 21px; line-height: 29px; }
  .em-page .bulk-ways p { font-size: 15px; line-height: 23px; }
  .em-page .bulk-feat { grid-template-columns: 1fr; margin-top: 20px; }
  .em-page .bulk-feat li, .em-page .bulk-feat li:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(221, 94, 30, 0.35); }
  .em-page .bulk-feat b { font-size: 17px; line-height: 25px; }
  .em-page .bulk-feat span { font-size: 15px; line-height: 22px; margin-top: 2px; }
  .em-page .sec-groups { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .em-page .sec-groups h3 { font-size: 18px; line-height: 26px; }
  .em-page .isms-title { font-size: 16px; line-height: 18px; }
  .em-page .isms-wrapper { flex-direction: column; align-items: center; }
  .em-page .isms-text-wrapper { align-items: center; margin-left: 0; }
  .em-page .isms-text-title { margin-bottom: 6px; }
  .em-page .isms-text { text-align: center; }
  .em-page .sec-groups li { font-size: 15px; line-height: 22px; }
  .em-page .proc-steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 32px; max-width: 340px; }
  .em-page .proc-steps::before { display: block; left: 19px; right: auto; top: 20px; bottom: 40px; width: 2px; height: auto; }
  .em-page .proc-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .em-page .proc-steps li::before { width: 40px; height: 40px; margin: 0; font-size: 17px; grid-row: span 2; }
  .em-page .proc-steps b { margin-top: 6px; font-size: 18px; line-height: 26px; }
  .em-page .proc-steps span { margin-top: 2px; font-size: 15px; line-height: 22px; }
  .em-page .faq { margin-top: 30px; }
  .em-page .faq summary { font-size: 17px; line-height: 26px; padding-right: 40px; }
  .em-page .faq .answer { font-size: 16px; line-height: 24px; padding-right: 0; }
  .em-page .service-introduction-box { margin-top: 90px; padding: 30px 24px; }
  .em-page .btn-si { width: 100%; }
  .em-page br.pc { display: none; }
}
/* ── 화면 효과(/ums와 같은 값) ── */
.em-page { --ease-out: cubic-bezier(.2, .75, .2, 1); }
@keyframes em-up { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: none; } }
.em-page .hero > * { animation: em-up .7s var(--ease-out) both; }
.em-page .hero > :nth-child(1) { animation-delay: .05s; }
.em-page .hero > :nth-child(2) { animation-delay: .15s; }
.em-page .hero > :nth-child(3) { animation-delay: .28s; }
.em-page .rv { transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); transition-delay: var(--d, 0s); }
.em-page .rv.pre { opacity: 0; transform: translateY(28px); }
.em-page .rv.pre.fl { transform: translateX(-32px); }
.em-page .rv.pre.fr { transform: translateX(32px); }
.em-page .rv.pre.pop { transform: translateY(16px) scale(.95); }
@media (max-width: 1279px) { .em-page .rv.pre.fl, .em-page .rv.pre.fr { transform: translateY(28px); } }
.em-page .plan, .em-page .bulk-ways article { transition: transform .3s var(--ease-out), box-shadow .3s ease, opacity .75s var(--ease-out); }
@media (hover: hover) {
  .em-page .plan:hover, .em-page .bulk-ways article:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14, 2, 7, .10); }
}
.em-page .faq details[open] .answer { animation: em-up .35s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .em-page, .em-page * { transition: none !important; animation: none !important; }
  .em-page .rv.pre { opacity: 1 !important; transform: none !important; }
}
