/* ===============================================================================

    COMMON STYLESHEET: 마루 패밀리 사이트

=============================================================================== */

/* ========== COMMON ========== */
body { position: relative; line-height: 18px; font-family: "NanumSquare", 'Roboto', sans-serif; font-size: 14px; color: #212121; font-weight: 300;}
.container { position: relative; width: 100%; margin-top: 0; padding: 0; }
@media all and (min-width: 768px) {
  .container { width: 100%; }
}
@media all and (min-width: 1024px) {
  .container { width: 1024px; }
}

a { color: initial; }
a:hover, a:active, a:focus { text-decoration: none; color: inherit; }

/* ========== GLOBAL NAVIGATION ========== */
.gnb { position: relative; width: 100%; height: 30px; line-height: 30px; background-color: #000; }
.gnb .language-set { position: absolute; right: 0; }
.gnb .language-set button { display: block; width: 100px; height: 30px; line-height: 30px; margin: 0; padding: 0 20px; border: 1px solid #414141; border-top: 0;  border-bottom: 0; background-color: transparent; font-size: 11px; font-weight: 300; color: #e1e1e1; text-align: center; }
.gnb .language-set .dropdown-menu { width: 100%; min-width: inherit; padding: 0; margin: 0; border-radius: 0; font-size: 11px; box-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.gnb .language-set .dropdown-menu li { background-color: #1d1d1d; border-bottom: 1px dotted #414141; text-align: center; }
.gnb .language-set .dropdown-menu li a:hover { background-color: #000; color: #e1e1e1; }
.gnb .language-set .dropdown-menu li:last-child { border-bottom: 0; }
.gnb .language-set .dropdown-menu li a { display: block; line-height: 30px; color: #e1e1e1; }
.gnb .login-set { display: none; }
@media all and (min-width: 1024px) {
    .gnb .language-set { position: absolute; right: 165px; }
    .gnb .language-set button { font-size: 11px; }
    .gnb .login-set { display: block; position: absolute; right: 0; font-size: 0; }
    .gnb .login-set a { display: inline-block; min-width: 80px; padding: 0 10px; font-size: 11px; font-weight: 400; color: #c1c1c1; text-align: center; }
    .gnb .login-set a:first-of-type { color: #F6DD55; }
    .gnb .login-set a:hover { color: #f0f0f0; }
}

/* ========== HEADER ========== */
header .maru-top { position: fixed; top: 30px; z-index: 100; width: 100%; height: 60px; background-color: #1d1d1d; transition: all 0.2s; }
header .maru-top .container { height: 60px; }
header h1 { line-height: 60px; text-align: center; }
header h1 img { position: absolute; top: 18px; left: 20px; height: 21px; }
header h1 > a { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; }
header h1 > a:hover { color: #fff; }
@media all and (min-width: 768px) {
    header h1 img { left: 30px; }
    header h1 > a { font-size: 15px; }
}
@media all and (min-width: 1024px) {
    header .maru-top { text-align: center; }
    header h1 { display: inline-block; line-height: initial; }
    header h1 img { height: 24px; }
    header h1 > a span { position: absolute; top: 23px; left: 55px; font-size: 14px; }
}

/* Menus : 메뉴 */ 
.nav-pc { display: none; }
.dialogs { overflow: hidden; position: fixed; top: 0; right: -50000px; bottom: 0; left: 0; z-index: -1; white-space: nowrap; margin: 0; border-radius: 0; background-color: rgba(13,68,72,0.8); }
.dialogs .dialogs-contents { position: absolute; top: 20px; right: 20px; bottom: 20px; width: calc(100% - 40px); max-width: 360px; background-color: #1d1d1d; }
.dialogs.active { z-index: 9; }
.dialogs-trigger { position: absolute; top: 22px; right: 20px; z-index: 8; font-size: 14px; cursor: pointer; color: #60CCD2; }
.nav-header { height: 60px; line-height: 60px; }
.nav-header h2 { font-size: 14px; font-weight: 700; color: #fff; }
.nav-header h2 img { position: relative; top: 5px; height: 20px; margin-left: 20px; margin-right: 8px; }
.nav-header h2 small { margin-left: 8px; font-size: 11px; color: #979797; text-transform: uppercase; }
.nav-header h2 small span { color: #60CCD2; }
.dialogs-btn__close { display: block; position: absolute; top: 0; right: 0; width: 24px; height: 24px; line-height: 24px; background-color: #60CCD2; font-size: 14px; cursor: pointer; text-align: center; }
.nav-group { height: calc(100vh - 270px); overflow-y: scroll; }
nav.nav > ul > li { float: none; display: block; height: auto; line-height: 34px; background-color: #1f1f21; }
nav.nav > ul > li > a { display: block; line-height: 34px; padding: 0 30px; font-size: 12px; color: #e1e1e1; cursor: pointer; font-weight: 500;}
nav.nav > ul > li > a > img { position: relative; top: 3px; margin-right: 10px; }
nav.nav > ul > li > a > i { position: relative; top: 2px; float: right; height: initial; line-height: initial; font-size: initial; }
nav.nav > ul > li > a > i.ion-ios-arrow-up { display: none; color: #60CCD2; }
nav.nav > ul > li > .sub-menu { display: none; }
nav.nav > ul > li > a.active > i.ion-ios-arrow-up { display: block; }
nav.nav > ul > li > a.active > i.ion-ios-arrow-down { display: none; }
nav.nav > ul > li > a.active { color: #60CCD2; }
nav.nav > ul > li > a.active ~ .sub-menu { display: block; }
nav.nav > ul > li > .sub-menu > a { display: block; height: 33px; line-height: 33px; padding: 0 40px; background-color: #161616; font-size: 11px; color: #a1a1a1; box-shadow: 0 -4px 4px 0 rgba(0,0,0,0.2); transition: all 0.2s; }
nav.nav > ul > li > .sub-menu > a:hover { background-color: #101010; color: #fff; }
.dialogs .console-set { position: absolute; bottom: 60px; width: 100%; text-align: center; }
.dialogs .console-set a { display: inline-block; width: 100px; height: 100px; border: 1px solid #414141; border-radius: 8px; font-size: 11px; color: #c1c1c1; text-align: center; }
.dialogs .console-set a i { display: block; margin-top: 25px; margin-bottom: 5px; font-size: 18px; color: #60CCD2; }
.dialogs .login-set { position: absolute; bottom: 0; width: 100%; }
.dialogs .login-set a { float: left; display: inline-block; width: 50%; height: 50px; line-height: 50px; background-color: #161616; color: #a1a1a1; font-size: 12px; text-align: center; }
.dialogs .login-set a.active { background-color: #000; color: #fff; }
.console-set-pc { display: none; }
/* 상단 고정 */
header .maru-fixed { position: fixed; top: 0px; width: 100%; height: 60px; background-color: rgba(29,29,29,0.8); }
@media all and (min-width: 768px) {
    .dialogs-trigger { right: 30px; }
    .dialogs .dialogs-contents { top: 30px; right: 30px; bottom: 30px; width: calc(100% -60px); }
}
@media all and (min-width: 1024px) { 
    .dialogs-trigger { display: none !important; }
    .dialogs { display: none; }
    .nav-pc { display: inline-block; position: relative; z-index: 10; margin: 0 auto; }
    .nav-pc:after { content: ""; display: block; width: 100%; height: 1px; }
    .menu-item { position: relative; float: left; }
    .menu-item:hover > .sub-menu { -webkit-transform: scale(1); transform: scale(1); opacity: 1;}
    .menu-item a { display: block; height: 60px; line-height: 60px; padding: 0 10px; transition: .3s ease; color: #fff; font-size: 13px; font-weight: 400; text-align: center; }
    .sub-menu:before { content: ""; position: absolute; top: -9px; left: 45%; margin-left: 5px; display: block; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid #fff;}

    .sub-menu { z-index: 15; position: absolute; top: 50px; left: -105px; width: 310px; padding: 5px 0; background-color: #fff; transition: .3s ease; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: scale(0); transform: scale(0); opacity: 0; -webkit-box-shadow: 0 50px 100px -20px rgba(50,50,93,.25), 0 30px 60px -30px rgba(0,0,0,.3), 0 -18px 60px -10px rgba(0,0,0,.025); box-shadow: 0 50px 100px -20px rgba(50,50,93,.25), 0 30px 60px -30px rgba(0,0,0,.3), 0 -18px 60px -10px rgba(0,0,0,.025); border-radius: 3px; }

    .sub-menu > .menu-item { overflow: hidden; float: none; padding: 8px 0; transition: .3s ease; -webkit-transform: translateY(-20px); transform: translateY(-20px); opacity: 0; text-align: left; border-bottom: 1px solid #f4f4f4;}
    .sub-menu > .menu-item:last-child { border-bottom: 0; }
    .sub-menu > .menu-item > a { height: auto; line-height: 28px; white-space: nowrap; color: #101010; padding: 0 30px; font-size: 13px; text-align: left; }
    .sub-menu > .menu-item > a:hover { color: #282828; transition: .3s ease; }
    .sub-menu > .menu-item > a > span { overflow: hidden; display: block; line-height: 1.6; font-size: 12px; color: #6d6d6d; font-weight: 300;}
    .sub-menu .sub-menu { left: 100%; top: 0; }
    .menu-item:hover > .sub-menu > .menu-item { -webkit-transform: translateY(0);
              transform: translateY(0); opacity: 1;}
    .sub-menu .menu-item:nth-child(1) { transition-delay: 100ms; }
    .sub-menu .menu-item:nth-child(2) { transition-delay: 150ms; }
    .sub-menu .menu-item:nth-child(3) { transition-delay: 200ms; }
    .sub-menu .menu-item:nth-child(4) { transition-delay: 250ms; }
    .sub-menu .menu-item:nth-child(5) { transition-delay: 300ms; }
    .sub-menu .menu-item:nth-child(6) { transition-delay: 350ms; }

    .console-set-pc { display: block; position: absolute; top: 12px; right: 0; }
    .console-set-pc button { display: block; width: 150px; height: 36px; line-height: 34px; margin: 0; border: 1px solid #60CCD2; border-radius: 18px; background-color: transparent; font-size: 11px; font-weight: 800; color: #60CCD2; text-align: center; text-transform: uppercase; }
    .console-set-pc .dropdown-menu { width: 100%; min-width: inherit; padding: 0; margin: 0; border-radius: 0; font-size: 11px; box-shadow: 0 0 0 rgba(0,0,0,0); background-color: transparent; }
    .console-set-pc .dropdown-menu > li { margin: 2px 0; background-color: #1d1d1d; text-align: center; border-bottom: 1px dashed #414141; }
    .console-set-pc .dropdown-menu > li > a:hover { background-color: #000; color: #F6DD55; }
    .console-set-pc .dropdown-menu > li:last-child { border-bottom: 0; }
    .console-set-pc .dropdown-menu > li > a { display: block; line-height: 30px; color: #e1e1e1; }
    .console-set-pc .dropdown-menu > li > a ~ .dropdown-submenu { display: none; }
    .console-set-pc .dropdown-menu > li > a:hover ~ .dropdown-submenu { display: none; }
    .console-set-pc .dropdown-menu .dropdown-submenu li a { color: #c1c1c1; }

    /* 상단 고정 */
    header .maru-fixed { position: fixed; top: 0px; width: 100%; height: 60px; background-color: rgba(0,0,0,0.8); transition: all 0.2s; }
}

/* ========== FOOTER ========== */
footer { position: relative; background-color: #232323;}
.footer-menu-group { position: relative; border-bottom: 1px solid #414141; }
.footer-menu { text-align: center; }
.footer-menu > a { display: inline-block; padding: 15px 0; margin: 0 20px; text-align: center; color: #fff; opacity: 0.7; transition: all 0.8s; font-size: 12px; }
.footer-menu > a:hover { opacity: 1; }

.company-info-group { padding: 30px 0; }
.company-info > dl { padding: 0 30px 20px; color: #fff; }
.company-info > dl > dt { display: block; font-size: 20px; margin-bottom: 20px; text-align: center;}
.company-info > dl > dt > img { display: block; height: 20px; }
.company-info > dl > dd { line-height: 24px; letter-spacing: 0; font-size: 12px; font-weight: 300;}
.company-info > dl > dd label { display: inline-block; padding-right: 5px; font-size: 13px; color: #c1c1c1; }
.copyright { font-size: 12px; font-weight: 300; color: #979797; text-align: center; }
.copyright span { color: #60CCD2; }

@media all and (min-width: 768px) {
    .company-info-group { padding: 40px 0 60px; }
    .company-info > dl { text-align: center; }
    .company-info > dl > dd { display: inline-block; line-height: 28px; padding: 0 10px; font-size: 12px; color: #e1e1e1; }
    .company-info > dl > dt > img { height: 24px; margin: 0 auto 30px; }
}
@media all and (min-width: 1024px) {
    .company-info-group { padding: 70px 0; }
    .company-info > dl { width: 768px; margin: 0 auto 40px; }
    .company-info > dl > dd { font-size: 14px; }
    .company-info > dl > dt > img { height: 28px; margin: 0 auto 45px; }
}

/*---------- Back To Top ----------*/
.show-on-scroll { visibility: hidden; }
.show-on-scroll.shown { visibility: visible; }
.back-to-top { z-index: 8; cursor: pointer; background: rgba(0, 0, 0, 0.9); -webkit-border-radius: 50% !important; -moz-border-radius: 50% !important; border-radius: 50% !important; width: 45px; height: 45px; line-height: 45px; bottom: 45px; right: 15px; overflow: hidden; position: fixed; display: block; text-align: center; opacity: 1; -webkit-transition: all 0.5s ease-in-out 0s; -moz-transition: all 0.5s ease-in-out 0s; transition: all 0.5s ease-in-out 0s; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); border: 0;}
.back-to-top i { font-size: 16px; margin: 1px 0 0 0 !important; color: #fff; display: inline-block; }
button:focus { outline: none !important; }

@media (max-width:767px) {
    .back-to-top { bottom: 15px; }
}

/* 개인정보취급방침 */
.privacy-viewer { display: flex; justify-content: center; align-items: center; background-color: #1d1d1d; }
.privacy-viewer h2 { margin-top: 60px; padding: 80px; font-size: 18px; color: #fff; text-align: center; }
.privacy-viewer h2 small { display: block; margin-top: 10px; color: #a1a1a1; }
.privacy { line-height: 24px; padding: 50px 0; font-size: 14px; text-align: left; }
.privacy blockquote { margin-bottom: 20px; padding: 30px; background-color: #f7f7f7; }
.privacy dl { margin-bottom: 30px; }
.privacy dt { margin-bottom: 8px; font-weight: 700; }
.privacy table { width: 100%; margin-bottom: 20px; border: 1px solid #c1c1c1; }
.privacy table th, .privacy table td { padding: 8px 10px; border-right: 1px dotted #c1c1c1; border-bottom: 1px solid #c1c1c1; font-size: 13px; }
.privacy table th, .privacy table td:first-child { border-right: 1px solid #c1c1c1; font-weight: 500; }

/* 이용약관 */
.agreement-viewer { display: flex; justify-content: center; align-items: center; background-color: #1d1d1d; }
.agreement-viewer h2 { margin-top: 60px; padding: 80px; font-size: 18px; color: #fff; text-align: center; }
.agreement-viewer h2 small { display: block; margin-top: 10px; color: #a1a1a1; }
.agreement { line-height: 24px; padding: 50px 0; font-size: 14px; text-align: left; }
.agreement dl { padding: 20px 0; }
.agreement dl > dt { margin-bottom: 10px; font-weight: 700; }
.agreement dl > dd { margin-bottom: 20px;}