@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

html {
    font-size:10px;
    --default : #111; /*기본 텍스트 컬러*/
    --point: #203c92;
    --border: #ddd
}

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;
    color: var(--default); 
	vertical-align: middle;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
* {
	line-height: 1.4;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
}
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,
a:link, 
a:visited {text-decoration:none}
:root{
}

.img {
    max-width: 100%;
    object-fit: cover;
}

.img.bd img{
    border:1px solid #999;
}

.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.s-inner{
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.thin{
    font-weight:200 !important;
}

.bold{
    font-weight:700 !important;
}

.pt-0{
    padding-top:0 !important;
}

.pb-0{
    padding-bottom:0 !important;
}

.pl-0{
    padding-left:0 !important;
}

.pl-2dot5{
    padding-left:2.5rem !important;
}

.mt-0{
    margin-top:0 !important;
}

.mt-0{
    margin-top:0 !important;
}

.mt-1{
    margin-top:1rem !important;
}

.mb-1{
    margin-bottom:1rem !important;
}

.ml-1{
    margin-left:1rem !important;
}

.mr-1{
    margin-right:1rem !important;
}

.mt-2{
    margin-top:2rem !important;
}

.mb-2{
    margin-bottom:2rem !important;
}

.ml-2{
    margin-left:2rem !important;
}

.mr-2{
    margin-right:2rem !important;
}

.mb-0{
    margin-bottom:0 !important;
}

.hide-768{
    display:block !important;
}

.show-768{
    display:none !important;
}

.tit-box{
    text-align: center;
    margin-bottom:12rem;
}

.tit-box > h2 + p.sm-txt{
    margin-top:3.5rem;
}

.tit-box h2.tit{
    font-size:4.5rem;
}

.tit-box p.sm-txt{
    font-size:2rem;
    font-weight:200;
}

.boxes-grid{
    display: grid;
    justify-content: center;
}

.boxes-grid .box{
    position:relative;
}

.boxes-grid .box .img{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.boxes-grid .box .txt-box{
    margin-top:3.5rem;
}

.caption{
    width:85%;
    margin-top:3rem;
    text-align:center;
    font-size:1.8rem;
    color:#555;
    margin-inline:auto;
}

.t-center{
    text-align:center !important;
}

.t-left{
    text-align:left !important;
}

/* .boxes-grid .box .txt-box .txt{
    margin-top:0;
} */

.grid-5{
    grid-template-columns: repeat(5, 1fr);
}

.grid-4{
    grid-template-columns: repeat(4, 1fr);
}

.grid-3{
    grid-template-columns: repeat(3, 1fr);
}

.grid-2{
    grid-template-columns: repeat(2, 1fr);
}

.w-full{
    width:100% !important;
}

/* 1400 = inner size */
@media screen and (max-width:1400px){
    html{
        font-size:9px;
    }
}

@media screen and (max-width:1200px){
    .inner {
        padding-inline: 5%;
    }
    .img img{
        width:100%;
    }
    /* .grid-4{
        grid-template-columns: repeat(2, 1fr);
    } */
}

@media screen and (max-width:900px){
    .inner .s-inner{
        padding-inline: 0;
    }
    .s-inner {
        padding-inline: 5%;
    }
}

@media screen and (max-width:992px){
    html{
        font-size:8px;
    }
    .tit-box{
        margin-bottom:8rem;
    }
    .tit-box h2.tit{
        font-size:4rem;
    }
}

@media screen and (max-width:768px){
    .m-grid-2{
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .m-grid-3{
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .m-flex-col{
        flex-direction: column !important;
    }

    html{
        font-size:7px;
    }

    .hide-768{
        display:none !important;
    }
    
    .show-768{
        display:block !important;
    }

    .tit-box{
        margin-bottom:6rem;
    }

    .grid-2,
    .grid-3,
    .grid-5{
        grid-template-columns: repeat(1, 1fr);
    }
    .caption{
        width:95%;
    }
}

@media screen and (max-width:480px){
    .grid-2,
    .grid-4{
        grid-template-columns: repeat(1, 1fr);
    }
    .sm-grid-1{
        grid-template-columns: repeat(1, 1fr) !important;
    }
}