@charset "utf-8";

/* common */
body.fixed { overflow: hidden; }
.inner { width: calc(100% - 40px); max-width: 1600px; height: 100%; margin: 0 auto; }
.text-up { overflow: hidden; position: relative; }
.text-up > span { display: block; transition: 0.4s; }
.text-up::after { content: attr(data-text); position: absolute; left: 0; bottom: 100%; display: block; transition: 0.4s; }
.text-up:hover > span { transform: translateY(100%); } 
.text-up:hover::after { bottom: 0; } 
.color-main { font-family: inherit; font-weight: inherit; letter-spacing: inherit; color: var(--main-color); }
.color-main2 { font-family: inherit; font-weight: inherit; letter-spacing: inherit; color: var(--main-color2); }
.color-point { font-family: inherit; font-weight: inherit; letter-spacing: inherit; color: var(--point-color); }
.font-pt { font-family: var(--font-Pretendard); }
.font-rd { font-family: var(--font-Readex-Pro); }
.button__wrap { display: flex; justify-content: center; align-items: center; }
.btn { display: flex; justify-content: center; align-items: center; }
.btn-list { display: flex; justify-content: center; align-items: center; width: 240px; height: 80px; border-radius: 100px; font-size: 20px; font-weight: 500; color: #fff; background-color: var(--main-color); }

/* header */
.header { position: fixed; left: 0; top: 0; width: 100%; height: var(--header-H); background-color: #fff; z-index: 900; }
.header__inner { display: flex; justify-content: space-between; align-items: center; width: calc(100% - 40px); max-width: 1800px; height: 100%; margin: 0 auto; }
.header .logo { width: 172px; }
.logo a { display: block; }
.logo img { width: 100%; }
.lnb__list > li > a > br { display: none; }
.header .gnb { position: relative; left: -42px; }
.header .gnb__list { display: flex; }
.header .gnb__list > li { position: relative; }
.header .gnb__list > li:hover .text-up > span { transform: translateY(100%); } 
.header .gnb__list > li:hover .text-up::after { bottom: 0; } 
.header .gnb__list > li > a { display: flex; justify-content: center; align-items: center; height: var(--header-H); padding: 0 40px; font-size: 22px; font-weight: 500; text-align: center; }
.header .lnb__box { position: absolute; left: 50%; top: 100%; width: 140px; padding-top: 10px; transform: translateX(-50%); text-align: center; visibility: hidden; opacity: 0; transition: 0.2s; }
.header .lnb__list { border-radius: 5px; padding: 15px 0; box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08); background-color: #fff; }
.header .lnb__list > li + li { margin-top: 15px; }
.header .lnb__list > li > a { display: block; font-size: 18px; font-weight: 500; color: #333; }
.header .lnb__list > li > a > br { display: inline; }
.header .lnb__list > li > a.font-readex { font-weight: 300; }
.header .gnb__list > li:hover .lnb__box { visibility: visible; opacity: 1; }
.header-btn { display: flex; align-items: center; gap: 36px; }
.btn-lang__box { position: relative; }
.btn-lang__box .btn-lang { height: var(--header-H); border: none; background-color: transparent; }
.btn-lang__box .lang-list__box { position: absolute; left: 50%; top: 100%; padding-top: 10px; transform: translateX(-50%); visibility: hidden; opacity: 0; transition: 0.2s; }
.btn-lang__box .lang__list { padding: 15px 12px; border-radius: 5px; background-color: var(--main-color); }
.btn-lang__box .lang__list > li + li { margin-top: 8px; }
.btn-lang__box .lang__list > li > a { font-size: 17px; font-weight: 500; color: #fff; opacity: 0.3; transition: 0.2s; }
.btn-lang__box .lang__list > li > a.on, .btn-lang__box .lang__list > li > a:hover { opacity: 1; }
.btn-lang__box:hover .lang-list__box { visibility: visible; opacity: 1;  }
.btn-all-menu { overflow: hidden; position: relative; display: flex; width: 24px; height: 21px; border: none; background-color: transparent; }
.btn-all-menu .icon { display: flex; gap: 4px; transform: translateX(calc(-50% - 2px)); transition: 0.3s; }
.btn-all-menu .icon::before, .btn-all-menu .icon::after { content: ""; display: block; width: 24px; height: 21px; background: url("/img/common/icon_menu.svg") no-repeat center center/contain; transition: 0.3s; }
.btn-all-menu:hover .icon { transform: translateX(0); }

#allMenu { position: fixed; left: 0; top: -100%; width: 100%; height: 100%; background-color: #fff; z-index: 950; transition: top ease-out; }
#allMenu > .wrap { display: flex; height: 100%; }
#allMenu .btn-menu-close { position: absolute; right: 60px; top: 40px; width: 40px; height: 40px; border: none; background: url("/img/common/icon_close.svg") no-repeat center center/contain; }
#allMenu .img-box { width: 33.3%; height: 100%; background: url("/img/common/all_menu_bg.jpg") no-repeat center center/cover; }
#allMenu .menu__inner { overflow: hidden; display: flex; align-items: center; width: 66.7%; }
#allMenu .gnb__list { position: relative; width: 100%; }
#allMenu .gnb__list::after { content: ""; position: absolute; left: 50%; top: 50%; display: block; width: 1px; height: 100vh; background-color: #DDD; transform: translateY(-50%); pointer-events: none; }
#allMenu .gnb__list > li { position: relative; width: 50%; }
#allMenu .gnb__list > li > a { display: block; padding: 21px 100px; font-size: clamp(24px,3.125vw,60px); color: #111; transition: 0.4s ease-out, font-size 0s ease-out; }
#allMenu .lnb__box { position: absolute; left: 100%; top: 50%; display: flex; align-items: center; width: 100%; height: 100%; padding: 0 100px; background-color: #F5F5F5; visibility: hidden; opacity: 0; transform: translateY(-50%); transition: 0.4s ease-out; }
#allMenu .lnb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 60px; }
#allMenu .lnb__list > li > a { font-size: 20px; color: #999999; transition: color 0.4s ease-out; }
#allMenu .text-up::after { display: none; } 
#allMenu .text-up:hover > span { transform: none; } 
#allMenu .gnb__list > li:hover > a { color: var(--main-color); background-color: rgba(224, 237, 253, 0.4); }
#allMenu .gnb__list > li:hover .lnb__box { visibility: visible; opacity: 1; }
#allMenu .lnb__list > li > a:hover { color: #333; }

/* footer */
.footer { padding: 40px 60px 50px; border-radius: 20px; background-color: #fff; }
.footer__inner { position: relative; display: flex; justify-content: space-between; }
.footer .logo { width: 218px; }
.footer-info { margin-top: 60px; }
.footer-info .company-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #333; }
.footer-info .address-info { margin-top: 20px; }
.footer-info .address-info dl { display: flex; }
.footer-info .address-info dl + dl { margin-top: 8px; }
.footer-info .address-info dt { width: 60px; font-size: 17px; color: #555; }
.footer-info .address-info dd { display: flex; align-items: center; gap: 5px 30px; width: calc(100% - 60px); font-size: 17px; font-weight: 200; color: #555; }
.footer-info .address-info dd .font-pt { font-weight: 300; }
.footer-info .address-info dd span { position: relative; }
.footer-info .address-info dd span::before { content: ""; position: absolute; display: block; width: 1px; height: 12px; background-color: #BBB; left: -15px; top: 50%; transform: translateY(-50%); }
.footer-info .address-info dd span:first-child::before { display: none; }
.footer__inner .right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.btn-top { overflow: hidden; position: relative; width: 160px; height: 160px; border:none; border-radius: 50%; background-color: rgba(224, 237, 253, 0.6); }
.btn-top::before { content: ""; position: absolute; left: 50%; top: 50%; display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(139deg, #003A82 14.06%, #51AFE2 86.73%); transform: translate(-50%, -50%) scale(0.01); transition: 0.3s ease-out; }
.btn-top > .icon { overflow: hidden; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.btn-top > .icon::before, .btn-top > .icon::after { content: ""; display: block; width: 24px; height: 32px;  background: url("/img/common/icon_top.svg") no-repeat center center/contain; transition: 0.3s ease-out; }
.btn-top > .icon::after { position: absolute; top: calc(100% + 6px); left: 0; -webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1); }
.btn-top:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn-top:hover > .icon::before { transform: translateY(calc(-100% - 6px)); }
.btn-top:hover > .icon::after { top: 0; }
.f-btn-text { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: #333; transition: 0.2s ease-out; }
.f-btn-text:hover { color: var(--main-color); }
.copyright { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 15px; color: #BBBBBB; }

/* privacy */
.privacy { color:#666; width: 100%; overflow: hidden; box-sizing:border-box; font-size:18px; line-height: 1.6; word-break:break-all; }
.privacy * { font-family: var(--font-Pretendard); font-weight: 300; }
.privacy h2 { font-size:18px; font-weight:bold; color:#000; text-align: left; margin:50px 0 30px; }
.privacy h2:first-child { margin-top: 0; }
.privacy > p { margin:15px 0; }
.privacy > p+dl { margin-top: 30px; }
.privacy > dl + dl { margin-top: 60px; }
.privacy > dl > dt{ font-size:20px;color:#111;font-weight:600;padding-bottom:1em;}
.privacy > dl > dd{ padding-bottom:10px;text-align:justify; font-size:18px; line-height:1.6;}
.privacy > dl > dd ul li{ line-height: 1.6; }
.privacy > dl > dd ul li:first-child { margin-top: 0; }
.privacy > dl > dd ul li p { margin:0 10px 5px; line-height: 1.6; }
.sTxt h3 { font-size:16px; color: #333; font-weight: 700; margin: 20px 0 10px; }
.sTxt p { margin-top: 10px; }
.sTxt dt { margin-top: 10px; }
.sTxt dd { margin:0 8px; }

/* modal */
.modal { position: fixed; left: 0; top: 0; display: none; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 900;}
.modal-layer { position: absolute; left: 50%; top: 50%; width: calc(100% - 40px); max-width: 1200px; height: calc(100% - 100px); max-height: 725px; border-radius: 10px; transform: translate(-50%, -50%); padding-top: 100px; background-color: #fff; }

.modal-cert .modal-content { overflow-y: auto; position: relative; display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: 40px; padding: 0 100px 100px; height: 100%; }
.modal-cert .modal-content::-webkit-scrollbar { width: 8px; }
.modal-cert .modal-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #BBB; }
.modal-cert .modal-content::-webkit-scrollbar-track { border-radius: 10px;background-color: #F5F5F5; }
.modal-cert .modal-content::-webkit-scrollbar-button:vertical:start:decrement,
.modal-cert .modal-content::-webkit-scrollbar-button:vertical:start:increment { display: block; height: 2px;}
.modal-cert .modal-content::-webkit-scrollbar-button:vertical:end:decrement { display: block; width: 2px; height: 4px; }
.modal-cert .img-box { overflow: hidden; width: calc(40% - 40px); height: fit-content; border-radius: 10px; border: 1px solid #D8D8D8; text-align: center; }
.modal-cert .text-box { width: 60%; }
.modal-cert .title-box { padding-bottom: 1.04em; margin-bottom: 1.04em; border-bottom: 1px solid #D8D8D8; font-size: clamp(18px,2.5vw,48px); }
.modal-cert .title-box .title { font-size: inherit; font-weight: 600; color: #111; }
.modal-cert .dot-type-list dt { margin-bottom: 5px; font-size: 20px; font-weight: 500; color: #111; }
.modal-cert .dot-type-list > li + li { margin-top: 2em; }
.btn-modal-close { position: absolute; right: 30px; top: 30px; width: 40px; height: 40px; border: none; background: url("/img/sub/icon_modal_close.svg") no-repeat center center/contain; }

@media screen and (max-width:1400px) {
    .header .gnb__list > li > a { font-size: 18px; padding: 0 30px; }
    .header .lnb__box { width: 120px; }
    .header .lnb__list > li > a { font-size: 16px; }

    #allMenu .gnb__list > li > a { padding: 10px 50px; }
    #allMenu .lnb__box { padding: 0 50px; }
    #allMenu .lnb__list { gap: 10px 30px; }

}
@media screen and (max-width:1260px) {
    .modal-layer { max-height: clamp(400px,57.54vw,725px); }
}
@media screen and (max-width:1200px) {
    .header .gnb { display: none; }
    #allMenu .lnb__list > li > a { font-size: 18px; }
    .btn-top {  width: 80px; height: 80px; }
    .btn-top > .icon::before, .btn-top > .icon::after { width: 18px; height: 24px; }

    .modal-layer { padding-top: 80px; }
    .modal-cert .modal-content { padding: 0px 50px 80px; }
    .btn-modal-close { right: 15px; top: 15px; }
}
@media screen and (max-width:1024px) {
    :root {
        --header-H: 70px;
    }
    .header .logo { width: 150px; }
    .header-btn { gap: 14px; }

    #allMenu .btn-menu-close { right: 15px; top: 20px; }
    #allMenu .img-box { display: none; }
    #allMenu .menu__inner { width: 100%; }
    #allMenu .gnb__list::after { left: 300px; }
    #allMenu .gnb__list > li { width: 300px; }
    #allMenu .lnb__box { width: calc(100vw - 300px); }

    .footer { padding: 20px; }
    .footer__inner { flex-direction: column; }
    .footer .logo { width: 150px; }
    .btn-top {  position: absolute; right: 0; top: 0; }
    .footer-info { margin-top: 40px; }
    .footer-info .company-name { font-size: 16px; }
    .footer-info .address-info dt { font-size: 14px; }
    .footer-info .address-info dd { font-size: 14px; }
    .copyright { position: static; margin-top: 40px; font-size: 14px; transform: none; }
    .f-btn-text { font-size: 16px; }
    .footer__inner .right { align-items: flex-start; margin-top: 20px; }

    .privacy > dl + dl { margin-top: 30px; }
    .privacy, .privacy > dl > dt { font-size: 16px; }
    .privacy > dl > dd { font-size: 14px; }
    
    .modal-cert .dot-type-list dt { font-size: 18px; }

}
@media screen and (max-width: 768px) {
    .btn-lang__box .lang__list { padding: 12px 10px; }
    .btn-lang__box .lang__list > li > a { font-size: 14px;}
 
    #allMenu > .wrap { background: url("/img/common/all_menu_mo_bg.jpg") no-repeat center 100%/100%; }
    #allMenu .menu__inner { overflow-y: auto; align-items: flex-start; margin-top: 100px; scrollbar-width: none; }
    #allMenu .menu__inner::-webkit-scrollbar { display: none; }
    #allMenu .gnb__list::after { display: none; }
    #allMenu .gnb__list > li { width: 100%; }
    #allMenu .gnb__list > li + li { margin-top: 10px; }
    #allMenu .gnb__list > li > a { padding: 10px 20px; font-weight: 500; }
    #allMenu .lnb__box { position: static; width: 100%; padding: 10px 50px; background-color: transparent; visibility: visible; opacity: 1; transform: none; }
    #allMenu .lnb__list > li > a  { color: #666; }

    .btn-top { width: 50px; height: 50px; }
    .btn-top > .icon::before, .btn-top > .icon::after { width: 14px; height: 18px; }

    .modal-layer { max-height: 700px; padding-top: 60px; }
    .modal-cert .modal-content { padding: 0px 20px 60px; }
    .modal-cert .img-box { width: 100%; max-width: 370px; margin: 0 auto; }
    .modal-cert .text-box { width: 100%; }
    .modal-cert .dot-type-list dt { font-size: 16px; }
    .btn-modal-close { right: 10px; top: 10px; width: 30px; height: 30px; }
}