@charset "utf-8";
#footer { background-color: #F8F8F8; color:#999; }
#footer a { color:#999; }


#footer .inner { display: flex; gap:9rem; }
#footer .top-btn { display: flex; align-items: center; justify-content: center; flex-direction: column; position: absolute; width: 7rem; aspect-ratio: 1/1; top: -1rem; right: 0; background: #303030; color:white; cursor: pointer; border-radius: 50%; }
#footer .top-btn span { display: block; text-align: center; }
#footer .top-btn .top-btn-txt { margin-top: 3px; font-weight: 600; }

#footer .footer-content { flex:1; position: relative; }
#footer .footer-bottom { padding: 4.2rem 0 4.6rem; }
#footer .logo { width: 28rem; }
#footer .footer-infos { font-weight: 700; }
#footer .footer-infos p { line-height: 1.6; }
#footer .footer-infos ul { display: flex; gap:1rem; }
#footer .footer-infos li { position: relative; padding-right: 1.8rem; margin-right: 1.8rem; line-height: 1.6; }
#footer .footer-infos li:not(:last-child)::after { content: ''; display: block; width: 2px; height: 13px; background-color: #999; position: absolute; top: 50%; right: 0; transform: translateY(-50%); }

#footer .footer-copyright { display: flex; justify-content: space-between; align-items: center; gap:1rem; margin-top: 2.2rem; }
#footer .footer-popup-buttons { display: flex; gap:1rem; }
#footer .footer-popup-buttons a { font-weight: 500; line-height: 1.6; }
#footer .copyright { font-weight: 500; line-height: 1.6; }
#footer .created-by { transition: .3s ease-out; } 
#footer .created-by:hover { color:var(--key-color); } 


@media screen and (max-width:1024px){
   #footer .logo { width: 200px; }
   #footer .inner { gap:4rem; }
}
@media screen and (max-width:768px){
   #footer .logo { width: 190px; }
   #footer .inner { gap:2rem; flex-direction: column; }
   #footer .footer-copyright { flex-direction: column; align-items: flex-start; gap:1rem; }
   #footer .footer-infos p { margin-bottom: 2rem; }
   #footer .footer-infos ul { flex-wrap:wrap; gap:0.5rem; }
   #footer .footer-infos li { margin-right: 0; }
   #footer .footer-infos li:not(:last-child)::after { display: none; }
   #footer .top-btn { top:-6.5rem; }
}

/*layer popup style s*/
body.noneScroll {overflow: hidden;}

.dim {display: none; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,0.5); z-index: 101;}
.dim.active {display: block;}

.popup {display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 102;}
.popup.active {display: block;}
.popup .inner {height: 100%;}
.popup .pop_wrap {background: #fff; position: absolute; width: 100%; height: 80%; top: 50%; left: 50%; transform: translate(-50%, -50%);}

.popup .title {position: relative; height: 80px; padding: 0 3%; border-bottom: 1px solid #ddd; background: #fff;}
.popup .title p {line-height: 80px; font-size: 30px; font-weight: 600;}
.popup .title .close {position: absolute; height: 100%; width: 80px; right: 0; top: 0; background-color: #ddd; cursor: pointer;}
.popup .title .close span {display: block; background-color: #333; position: absolute; width: 3px; height: 30px; top: 25px; left: 40px; transform: rotate(45deg);}
.popup .title .close span:last-child {transform: rotate(-45deg);}

.popup .cont {height: calc(100% - 80px); padding: 30px 3%; overflow-y: auto;}

.popup .cont::-webkit-scrollbar {width: 8px;}
.popup .cont::-webkit-scrollbar-thumb {background-color: #ccc; border-radius: 5px;}
.popup .cont::-webkit-scrollbar-track {background-color: #eee;}

@media screen and (max-width:768px){
   .popup .title {height: 60px;}
   .popup .title p {line-height: 60px; font-size: 20px;}
   .popup .title .close {width: 60px;}
   .popup .title .close span {height: 20px; top: 21px; left: 29px;}

   .popup .cont {height: calc(100% - 60px);}

}

/* 내부 스타일 */
:root {
   --big-tit : 21px;
   --dep1-tit: 18px;
   --pop-txt : 16px;
}
.tos-wrap { width: 100%; }
.dep1-wrap { margin-bottom: 60px; }
.dep1-wrap .big-tit { font-size: var(--big-tit); font-weight: 600; padding-bottom: 25px; }

.dep1-box { padding-bottom: 15px; }
.dep1-box .dep1-tit { font-size: var(--dep1-tit); font-weight: 500; line-height: 1.2; padding-bottom: 7px; }
.dep1-box p { font-size: var(--pop-txt); line-height: 1.3; }
.dep1-box .dep1-txt { padding-left: 10px; padding-bottom: 10px; }
.dep1-box .in-dep-list1 li { margin-bottom: 3px; padding-left: 15px; }
.dep1-box .in-dep-list1 > ul > li { margin-bottom: 5px; }
.dep1-box .in-dep-list1 li > p { padding-left: 20px; text-indent: -18px; }
.dep1-box .in-dep-list1 li > p.in-dep1-tit { padding-left: 10px; font-weight: 400; }
.dep1-box .in-dep-list2,
.dep1-box .in-dep-list3 { padding-top: 5px; }

@media screen and (max-width:768px){
   :root {
      --big-tit : 19px;
      --dep1-tit: 16px;
      --pop-txt : 14px;
   }
}



 /*layer popup style e*/
