@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafeAutumnTrip';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/HakgyoansimGaeulsopungL.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafeAutumnTrip';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/HakgyoansimGaeulsopungL.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafeAutumnTrip';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/HakgyoansimGaeulsopungB.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* css reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	vertical-align: baseline;
    color: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}
:focus {outline: none;}


sub, sup {font-size: 1em;}


/*초기 설정*/
html {
   font-size: 10px;
   color: #333;
   scroll-behavior: smooth;
}

* {
	font-family: "Pretendard Variable", Pretendard;
	word-break: keep-all;
    box-sizing: border-box;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

b {font-weight: 700;}

/* 텍스트 컬러 및 폰트 class  */
.ff-paper {font-family: 'Paperozi';}


/*공통css*/
.flx1 {display: flex; flex-flow: row wrap;}
.flx2 {display: flex; flex-flow: column wrap;}
.inner {width: 100%; max-width: 1200px; margin: 0 auto;}

img {max-width: 100%; object-fit: cover;}


.show-768 {display: none;}
.show-500 {display: none;}

@media (max-width: 1240px) {
    html {font-size: 9px;}
    .inner {padding-inline: 4%;}
}
@media (max-width: 1024px) {
    html {font-size: 8px;}
}
@media (max-width: 900px) {
    .hide-900 {display: none;}
}
@media (max-width: 768px) {
    html {font-size: 7px;}
    .show-768 {display: block;}
    .hide-768 {display: none;}
}
@media (max-width: 500px) {
    .show-500 {display: block;}
    .hide-500 {display: none;}
}



/* 헤더 */
header {
    position: fixed; 
    top:0; 
    left:0; 
    width: 100%; 
    transition: all 0.3s; 
    z-index: 99;
}
.header_t {
    align-items: center; 
    justify-content: space-between;
}
.header_t .logo {
    width: min(239px,20%);
}

.header_t .gnb {
    width: calc(80% - 35px); 
}
.header_t .gnb::before {
    content:""; 
    position: absolute; 
    top:8rem; 
    height:0 ; 
    left:0; 
    width: 100%; 
    transition: all 0.3s; 
    border-top: 1px solid #d5d5d5;
}
header.on .header_t .gnb::before {
    border-top: 1px solid #d5d5d5;
}
.header_t .gnb > ul {
    justify-content: flex-end; 
    /* gap: 7rem; */
}
.header_t .gnb > ul > li { 
    position: relative;
    padding-right: 7rem;
}
.header_t .gnb > ul > li:last-child {
    padding-right: 0;
}
.header_t .gnb > ul > li > a {
    font-size: 2rem; 
    font-weight: 500; 
    line-height: 8rem; 
    position: relative;
    display: block;
} 
.header_t .gnb > ul > li > a::before {
    content: ""; 
    position: absolute; 
    bottom:-1px; 
    left:0; 
    width: 0; 
    height: 2px; 
    background: #3d99c3; 
    transition: all 0.3s;
}
.header_t .gnb > ul > li:hover > a::before {
    width: 100%;
}

.header_t .gnb ul ul {
    position: absolute; 
    top:100%; 
    padding-top: 3rem;
    left:0; 
    z-index: 4; 
    width: max-content; 
    justify-content: center; 
    align-items: center; 
    visibility: hidden; 
    opacity: 0;  
    transition: all 0.1s;
}
.header_t .gnb ul ul.active {
    visibility: visible; 
    opacity: 1; 
}
.header_t .gnb ul ul li:not(:first-child) {
    margin-top: 2rem;
}
.header_t .gnb ul ul li a {
    font-size: 2rem; 
    color: #828282; 
    font-weight: 500;
    transition: all 0.3s;
}
.header_t .gnb ul ul li a:hover,
.header_t .gnb ul ul li.active a {
    color: #3d99c3;
    font-weight: 600;
}
header.on .header_t .gnb::before {
    height: 24rem; 
    background: #fff; 
}
header.f-nav {
    background: #fff;
    color: #333;
}
header.f-nav .header_t .logo img {
    filter: none;
}
header.f-nav .header_t .gnb::before {
    border-top: 1px solid #d5d5d5;
}


header .menu-btn {
    display: none;
    gap: 7px;
    cursor: pointer;
    align-items: flex-end;
}
header .menu-btn span {
    width: 28px; 
    height: 2px;
    background: #000;
}
header.f-nav .menu-btn span {
    background: #000;
}
header .menu-btn span:nth-child(2) {
    width: 24px;
}

header .mo-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99;
    color: #333;
    padding-top: 8%;
    transform: translateX(100%);
    transition: all 0.3s;
}
.open header .mo-menu {
    transform: translateX(0);
}
header .mo-menu .top {
    padding-inline: 4%;
    position: relative;
    margin-bottom: 4rem;
}
header .mo-menu .top .logo {
    width: min(239px, 100%);
}
header .mo-menu .top .close-btn {
    position: absolute;
    top: 2rem;
    right: 6%;
    width: 24px;
    cursor: pointer;
}
header .mo-menu .top .link {
    margin-top: 4.5rem;
    padding: 2rem 2rem 2rem 6.5rem;
    border-radius: 2rem;
    background: url(../images/common/ico_home.svg) #3d99c3 no-repeat 2rem 50% / 2.8rem;
    color: #fff;
    font-size: 2.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
header .mo-menu .top .link img {
    width: 3rem;
}
header .mo-menu .bottom {
    padding-top: 4%;
    border-top: 1px solid #d5d7d8;
}
header .mo-menu .bottom > ul > li > p {
    padding: 2.5rem 4%;
    font-size: 3rem;
    font-weight: 600;
    position: relative;
}
header .mo-menu .bottom > ul > li > p::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 8%);
    height: 1px;
    background: #d5d7d8;
}
header .mo-menu .bottom > ul > li > p::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4%;
    width: 2.6rem;
    height: 1.5rem;
    background: url(../images/common/arr2.svg) no-repeat center / 100%;
    filter: grayscale(1);
}
header .mo-menu .bottom .depth2 {
    display: none;
    padding: 4.5rem 4% 0;
    background: linear-gradient(180deg, rgba(219, 236, 244, 1) 10%, rgba(255, 255, 255, 1) 100%);
}
header .mo-menu .bottom .depth2 li {
    font-size: 2.4rem;
    font-weight: 500;
    padding-left: 3rem;
    position: relative;
    margin-bottom: 2rem;
}
header .mo-menu .bottom .depth2 li::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0;
    width: 1rem;
    height: 1rem;
    background: #3d99c3;
    border-radius: 50%;
    display: none;
}
header .mo-menu .bottom .depth2 li.active::before {
    display: block;
}
header .mo-menu .bottom > ul > li:has(.depth2 li.active) > p,
header .mo-menu .bottom > ul > li > p.slide,
header .mo-menu .bottom .depth2 li.active {
    color: #0073a8;
}
header .mo-menu .bottom > ul > li > p.slide::after {
    filter: grayscale(0);
}

@media (max-width: 1200px) {
    .header_t .gnb > ul > li {
        padding-right: 5rem;
    }
}
@media (max-width: 1024px) {
    header  {
        border-bottom: 1px solid #d5d5d5;
    }
    .header_t {
        height: 9rem;
    }
    .header_t .logo {
        width: min(239px, 50%);
    }
    .header_t .gnb {
        display: none;
    }
    header .menu-btn {
        display: flex;
    }
}
@media (max-width: 768px) {

}
@media (max-width: 500px) {

}


.top-btn {
    position: fixed;
    bottom: 5rem;
    right: calc(50% - 600px - 10rem);
    width: 8rem;
    height: 8rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 1px 3px 7px 1px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 99;
}
@media (max-width: 1400px) {
    .top-btn {
        right: 4%;
    }
}

footer {
    background: #333;
    color: #fff;
    padding-block: 5.5rem 6rem;
}
footer .inner {
    align-items: center;
}
footer .info {
    font-size: 1.8rem;
    line-height: 1.8;
}
footer .info span {
    display: inline-block;
}
footer .info i {
    font-style: normal;
}
footer .info i:has(+ br) {
    display: none;
}
footer .logo {
    width: 13%;
}
footer .info1 {
    width: 39%;
}
footer .info2 {
    width: 48%;
}
@media (max-width: 1200px) {
    
    footer .logo {
        width: 8%;
        padding-right: 2%;
    }
    footer .info1 {
        width: 39%;
    }
    footer .info2 {
        width: 53%;
    }
    footer .info {
        font-size: 1.7rem;
    }
} 
@media (max-width: 1024px) {
    footer .inner {
        position: relative;
    }
    footer .logo {
        width: 65px;
        padding-right: 0;
        position: absolute;
        top: 0;
        left: 4%;
    }
    footer .info1,
    footer .info2 {
        width: calc(100% - 80px);
        margin-inline: auto 0;
        font-size: 1.8rem;
    }
    footer .info2 {
        margin-top: 1rem;
    }
    footer .info br {
        display: none;
    }
    footer .info i:has(+ br) {
        display: inline-block;
    }

}