/* 마이메일러 공통 스타일: 글꼴, 초기화, 머리글, 바닥글, 여러 페이지가 함께 쓰는 블록 */
:root {
  --point-color: #137546;
  --point-dark: #0c2239;
  --point-navy: #0a325a;
  --text: #666666;
  --text-dark: #333333;
  --line: #dddddd;
  --footer-bg: #eeeeee;
  --font: noto, dotum, gullim, Tahoma, Arial, Helvetica, sans-serif;
  --header-h: 65px;
  --header-h-mo: 50px;
  --inner: 1280px;
}

/* 글꼴: 원본과 같은 굵기 대응 (300=medium, 600=bold) */
@font-face { font-family: noto; src: url(/font/notokr-regular.woff) format('woff'); }
@font-face { font-family: noto; font-weight: 100; src: url(/font/notokr-light.woff) format('woff'); }
@font-face { font-family: noto; font-weight: 200; src: url(/font/notokr-demilight.woff) format('woff'); }
@font-face { font-family: noto; font-weight: normal; src: url(/font/notokr-regular.woff) format('woff'); }
@font-face { font-family: noto; font-weight: 300; src: url(/font/notokr-medium.woff) format('woff'); }
@font-face { font-family: noto; font-weight: 600; src: url(/font/notokr-bold.woff) format('woff'); }
@font-face { font-family: axicon; src: url(/font/axicon.woff) format('woff'); font-weight: 400; font-style: normal; }

.axi { font-family: axicon; font-style: normal; font-weight: normal; speak: none; line-height: 1; -webkit-font-smoothing: antialiased; display: inline-block; }
.axi-phone:before { content: "\e77d"; }
.axi-keyboard-arrow-up:before { content: "\e851"; }

/* 초기화 */
html { overflow-y: scroll; min-width: var(--inner); }
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, a, address, em, img, strong, dl, dt, dd, ol, ul, li, form, label, table, tbody, thead, tr, th, td, button, select, textarea { margin: 0; padding: 0; }
body, td, th, form, select, input, button, textarea, div, option, p, span, li, dt, dd, label, h1, h2, h3, h4, h5, h6 {
  font-family: var(--font); font-size: 14px; color: var(--text); letter-spacing: -0.025em; word-break: keep-all;
}
body { padding-top: var(--header-h); }
ul, ol { list-style: none; }
/* 원본과 같이 목록 사이 공백을 없앤다 (inline-block 항목 간격) */
ul { font-size: 0; }
li { display: block; }
img { border: 0; vertical-align: middle; }
table { border-collapse: collapse; border-spacing: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
hr { border: 0; }
a, input, select, textarea, button, label { vertical-align: top; outline: none; }
a { text-decoration: none; color: var(--text); }
a:hover { text-decoration: underline; color: #000000; }
button { cursor: pointer; }
main { display: block; overflow: hidden; }
* { -webkit-text-size-adjust: none; }

/* 머리글 */
#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 90; background-color: #fff; }
#header .inner { position: relative; width: var(--inner); height: var(--header-h); margin: 0 auto; }
#header .logo { position: absolute; bottom: 0; left: 0; line-height: var(--header-h); width: 180px; padding-bottom: 3px; }
#header .logo img { width: 100%; vertical-align: middle; }
#gnb { text-align: left; margin: 0 185px 0 230px; }
#gnb > li { position: relative; display: inline-block; vertical-align: top; }
#gnb > li > a { display: block; padding: 0 25px; line-height: var(--header-h); font-size: 16px; color: var(--text-dark); text-decoration: none; font-weight: 500; }
#gnb > li > ul { position: absolute; top: var(--header-h); left: 50%; width: 200px; margin-left: -100px; padding: 15px; border: 1px solid var(--line); border-top: 2px solid #2ba56a; background: #fff; box-sizing: border-box; visibility: hidden; opacity: 0; transition: all 0.2s; }
#gnb > li > ul li a { display: block; font-size: 14px; color: #000; line-height: 25px; text-align: center; }
#gnb > li > ul li.active a { font-weight: bold; }
#gnb > li:hover > ul, #gnb > li:focus-within > ul { visibility: visible; opacity: 1; }
#gnb > li.hidden-gnb { display: none; }
#tnb { position: absolute; top: 20px; right: 0; }
#tnb > li { display: inline-block; vertical-align: middle; }
#tnb > li:before { display: inline-block; vertical-align: middle; content: ""; width: 1px; height: 10px; background: var(--line); margin: 0 16px; }
#tnb > li:first-child:before { display: none; }
#tnb > li a { display: inline-block; vertical-align: middle; color: #777; font-size: 14px; }
#slide-btn { display: none; width: 30px; height: 20px; position: absolute; bottom: 35px; right: 0; }
#slide-btn button { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; background: none; cursor: pointer; outline: none; }
#slide-btn button span, #slide-btn button:before, #slide-btn button:after { border-radius: 2px; overflow: hidden; position: absolute; left: 0; width: 100%; height: 2px; background: #282828; }
#slide-btn button span { display: block; top: 50%; margin-top: -1px; }
#slide-btn button:before { content: ""; display: block; top: 0; }
#slide-btn button:after { content: ""; display: block; bottom: 0; }
#slide-bg, #slide-menu { display: none; }

/* 바닥글 */
#footer { background: var(--footer-bg); }
#footer .fnbWrap .inner { position: relative; width: var(--inner); margin: 0 auto; }
#footer .ftWrap { position: relative; width: var(--inner); margin: 0 auto; padding: 90px 0; }
#footer h2 { position: absolute; top: 50px; left: 0; }
#footer address { margin-left: 250px; font-size: 15px; line-height: 23px; color: #777; font-style: normal; }
#footer address hr { width: 20px; border: none; display: inline-block; vertical-align: middle; }
#footer address .copyright { display: block; margin-top: 10px; color: #777777; }
#fnb { margin-left: 250px; margin-top: -50px; }
#fnb > li { display: inline-block; padding: 0 10px; }
#fnb > li:first-child { padding-left: 0; }
#fnb > li a { font-size: 15px; color: #777; letter-spacing: -1px; line-height: 70px; }
#ft-cc { position: absolute; top: 50px; right: 0; margin-top: 30px; }
#ft-cc dl { font-size: 0; }
#ft-cc dl > * { display: inline-block; vertical-align: middle; height: 34px; }
#ft-cc dl dt, #ft-cc dl dt a { font-size: 21px; color: var(--text-dark); font-weight: normal; letter-spacing: -0.05em; line-height: 34px; }
#ft-cc dl dt a:hover { text-decoration: none; }
#ft-cc dl dd { margin-left: 20px; padding-left: 40px; position: relative; font-size: 30px; }
#ft-cc dl dd i { position: absolute; top: 2px; left: 0; font-size: 24px; line-height: 34px; color: var(--text-dark); }
#ft-cc dl dd a { display: block; font-size: 24px; color: var(--text-dark); font-weight: 600; line-height: 34px; text-decoration: none; }
#ft-cc p { margin-top: 10px; color: var(--text-dark); line-height: 1em; }
#gotop { position: fixed; bottom: 50px; right: 5%; z-index: 80; display: block; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; overflow: hidden; background: var(--point-color); color: #fff; font-size: 26px; text-align: center; }
#gotop i { line-height: 50px; color: #fff; }
#gotop:hover { text-decoration: none; }

/* 기능 비교표 (첫 화면, 요금제) */
.compareChart { width: 90%; max-width: 1200px; margin: 80px auto 0; }
.compareChart table { width: 100%; }
.compareChart tr th { font-size: 20px; color: #178843; border-bottom: 3px solid #178843; padding: 15px 0; }
.compareChart tr td { font-size: 16px; background-color: #fff; color: #000; text-align: center; padding: 15px 0; border-right: 1px solid #9ddab4; }
.compareChart tr td:last-child { border: 0; }
.compareChart tr:nth-child(even) td { background-color: #f3f3f3; }
.compareChart tr td:first-child { text-align: left; padding-left: 2%; text-decoration: underline dashed 1px; text-underline-offset: 4px; }
.comY { background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 21.8L20.6 37.4L45 13' stroke='%230A897B' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.comN { background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 40L40 10M10 10L40 40' stroke='%23E6331E' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.comM { background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25.5 10L8 39.3H43L25.5 10Z' stroke='%23FDA023' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.comY, .comN, .comM { background-size: 25px; background-repeat: no-repeat; background-position: center center; }
.compareChart_info { width: 90%; max-width: 1200px; padding: 30px; margin: 20px auto 0; background-color: #fff; border-radius: 10px; box-sizing: border-box; }
.compareChart_info > ul { display: flex; }
.compareChart_info li { margin: 10px; }
.compareChart_info > div, .compareChart_info li span { font-size: 18px; }
.compareChart_info li span { background-position: left center; padding-left: 35px; }
.chartFlip { height: 570px; overflow: hidden; position: relative; }
.chartFlip::after { content: ''; width: 100%; height: 300px; position: absolute; bottom: 0; left: 0; background: linear-gradient(180deg, #fff0 0%, #fff 100%); }
.chartFlip_btn { display: none; font-size: 20px; color: #666; position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 1; }
.chartFlip_btn:hover { color: #666; text-decoration: underline solid 1px; text-underline-offset: 3px; }
.chartFlip .chartFlip_btn { display: block; }
.chart_down_btn { display: none; width: 90%; margin: 30px auto 0; text-align: center; }
.chart_down_btn a { display: block; width: 100%; }
.chart_down_btn button { width: 100%; padding: 15px; border-radius: 10px; font-size: 14px; color: var(--point-color); font-weight: 300; background-color: #fff; transition: all .3s; border: 2px solid var(--point-color); }
.chart_down_btn a:hover button { background-color: var(--point-color); color: #fff; }

/* 서비스 경험하기 띠 (첫 화면, 기능 미리보기) */
#main_exp { padding: 100px 0; text-align: center; background: var(--point-color); }
#main_exp h3 { text-align: center; font-size: 35px; color: #fff; font-weight: 700; margin-bottom: 65px; }
#main_exp a { display: inline-block; width: 200px; height: 50px; line-height: 50px; font-size: 16px; font-weight: 300; color: #fff; border: 1px solid #fff; border-radius: 10px; transition: all .3s; margin: 5px; }
#main_exp a:hover { text-decoration: none; background: #fff; color: var(--point-color); }
#main_exp p { font-size: 14px; color: #ddd; margin-top: 10px; }

/* 스크롤에 따라 나타나는 요소: 첫 값은 site.js 가 정한다 */
[data-scrub] { will-change: opacity, transform; }

/* ---------- 1200px 이하: 모바일 머리글/바닥글 ---------- */
@media screen and (max-width: 1200px) {
  html { min-width: 320px; overflow-x: hidden; }
  body { padding-top: var(--header-h-mo); }
  #header { box-shadow: 0 3px 3px rgba(0,0,0,0.05); }
  #header .inner { width: auto; height: var(--header-h-mo); }
  #header .logo { top: 0; left: 10px; height: 100%; line-height: var(--header-h-mo); padding-bottom: 0; width: auto; }
  #header .logo img { width: 100px; height: 45px; object-fit: cover; }
  #header:after { content: ''; display: block; position: absolute; bottom: -1px; width: 100%; height: 1px; background: rgba(0,0,0,0.05); }
  #gnb, #tnb { display: none; }
  #slide-btn { top: 50%; bottom: auto; margin-top: -8px; right: 10px; display: block; width: 25px; height: 16px; }
  #slide-bg { position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: none; }
  #slide-bg.on { display: block; }
  #slide-close { position: absolute; top: 0; right: 0; width: 50px; height: 50px; background: url('/images/layout/slide-close.png') no-repeat center center; background-size: 20px auto; }
  #slide-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100%; display: block; background: #fff; z-index: 201; overflow-y: auto; transition: all 0.3s cubic-bezier(0.930, 0.635, 0.650, 0.970); }
  #slide-menu .tit { height: 50px; position: relative; background: #088ac8; }
  #slide-menu.on { right: 0; }
  #tnb-mo { text-align: center; line-height: 40px; background: #f7f7f7; }
  #tnb-mo > li { display: inline-block; margin: 0 10px; }
  #tnb-mo > li a { font-size: 12px; color: var(--text-dark); }
  #gnb-mo > li { border-bottom: 1px solid #e1e1e1; }
  #gnb-mo > li > a { display: block; line-height: 40px; padding: 0 15px; font-size: 14px; letter-spacing: -1px; color: var(--text-dark); text-decoration: none; }
  #gnb-mo > li > ul { padding: 10px 15px; border-top: 1px solid #e1e1e1; background: #f7f7f7; display: none; }
  #gnb-mo > li.open > ul { display: block; }
  #gnb-mo > li > ul li a { line-height: 30px; font-size: 14px; color: #666; text-decoration: none; }
  #gnb-mo > li.hidden-gnb { display: none; }
  #gnb-mo li.active > a { color: #088ac8; }

  #footer .fnbWrap .inner { width: auto; }
  #footer .ftWrap { width: auto; padding: 15px 0; }
  #footer h2 { display: none; }
  #footer address { margin-left: 0; font-size: 10px; line-height: 13px; color: #b3b3b3; text-align: center; }
  #footer address hr { display: block; border: none; margin: 0; }
  #footer address .copyright { display: block; margin-top: 10px; font-size: 10px; color: #777777; }
  #gotop { bottom: 10px; right: 10px; width: 42px; height: 42px; line-height: 42px; }
  #gotop i { height: 42px; line-height: 42px; }
  #fnb { text-align: center; margin-left: 0; margin-top: 0; }
  #fnb > li { display: inline-block; padding: 0 5px; }
  #fnb > li:first-child { padding-left: 0; }
  #fnb > li a { font-size: 11px; color: #b3b3b3; letter-spacing: -1px; line-height: 35px; }
  #ft-cc { position: static; margin-top: 30px; }
  #ft-cc dl > * { display: block; text-align: center; }
  #ft-cc dl dd { margin-left: 0; margin-top: 3px; padding-left: 0; }
  #ft-cc dl dd i { display: none; }
  #ft-cc dl dd a { font-size: 18px; }
  #ft-cc p { display: none; }
}

@media (max-width: 700px) {
  .compareChart tr th:nth-child(3), .compareChart tr th:nth-child(4), .compareChart tr th:nth-child(5),
  .compare_line td:nth-child(3), .compare_line td:nth-child(4), .compare_line td:nth-child(5) { display: none; }
  .compareChart tr th:first-child { width: 85%; }
  .compareChart tr td { border-right: 0; }
  .compareChart tr th { font-size: 18px; }
  .chartFlip { height: 400px; }
  .chartFlip::after { height: 150px; }
  .compareChart_info { padding: 20px 30px; }
  .compareChart_info > ul { display: block; }
  .compareChart_info > div, .compareChart_info li span { font-size: 16px; }
  .chartFlip_btn { font-size: 16px; }
  .chart_down_btn { display: block; }
}
