@charset "utf-8"; 

/* =====================================
                RESET
===================================== */
* { outline:0 !important; } 
html,body,h1,h2,h3,h4,h5,h6,div,p,blockquote,pre,code,address,ul,ol,li,menu,nav,section,article,aside,
html,body p,h2,h3,h4,h5,h6,div,p,blockquote,pre,code,address,ul,ol,li,menu,nav,section,article,aside,
dl,dt,dd,table,thead,tbody,tfoot,label,caption,th,td,form,fieldset,legend,hr,input,button,textarea,object,figure,figcaption,select { margin:0; padding:0; font-family:'pretendard','pretendard-subset',sans-serif; /* line-height: 120%;*/ font-weight: 300; color: var(--secondary); word-break: keep-all; } 
html, body { width:100%; } 
html { -webkit-touch-callout:none; -webkit-user-select:none; -webkit-tap-highlight-color:rgba(0, 0, 0, 0); } 
body { width:100%; background:#fff; min-width:280px; -webkit-text-size-adjust:none; word-wrap:break-word; word-break:break-all; } 
body,input,select,textarea,button { border:none; -webkit-border-radius: 0; font-weight: 300; 
-webkit-appearance: none; 
-moz-appearance: none; 
appearance: none; } 
ul,ol,li { list-style:none; } 
table { width:100%; border-spacing:0; border-collapse:collapse; -webkit-user-select:text;  } 
img,fieldset { border:0; -webkit-user-select:none;} 
address,cite,code,em { font-style:normal; font-weight:normal; } 
label,img,input,select,textarea,button { vertical-align:middle; } 
main,header,section,nav,footer,aside,article,figure { display:block; } 
a { text-decoration:none; color: var(--secondary); cursor: pointer; } 
b {font-weight: 700;} 
button { cursor: pointer; background:none; } 
/* Scroll bar hidden */
body { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } 
body::-webkit-scrollbar { display: none; /* Chrome, Safari, Opera*/ } 
::selection, ::-webkit-selection {background-color: #866acc; color:#fff; } /* #f5f1ff, #f0ebff   #fff9ce */  

.pc { display: block; } 
.mobile { display: none; } 

xmp {font-family:inherit;font-size:15px;text-align:left;}

label span{padding-left: 10px; font-size:14px; font-weight:500;}
label.param{border:none; font-weight:600;}

 :root { 
 --max-width :1240px;
 } 

/* =====================================
                body
===================================== */
.wrap { display: grid; grid-template-areas: "gnb gnb gnb" "main_section main_section main_section" "contents contents contents" "footer footer footer"; gap: 20px; min-height: 100vh; }

.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: none; cursor: pointer; z-index: 100; }

/* =====================================
                Header
===================================== */
/* header { grid-area: gnb; display: flex; justify-content: center; align-items: center; background-color: rgba(255, 255, 255,0.8); position: fixed; top: 0; left: 0; width: 100%; transition: .4s ease-in-out; z-index: 100; padding: 0 20px;  box-sizing: border-box; } */

header { grid-area: gnb; width: 100%; background-color: rgba(255, 255, 255, 0.8); position: fixed; top: 0; left: 0; z-index: 100; padding: 0 20px; box-sizing: border-box; }
.gnb { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; width: 100%; padding: 10px 0; }
.h_logo img { display: block; height: 40px; }
.nav { display: flex; justify-content: center; align-items: center; flex-grow: 1; }
.nav_list { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.nav_list li a { text-decoration: none; font-size: 16px; color: #333; }
.gnb_right { display: flex; align-items: center; }
.gnb_right .sitemap a { margin-left: 20px; text-decoration: none; font-size: 16px; color: #333; font-weight: 700; }

header .nav { text-align: center; } 
header .nav > ul {display: flex; list-style: none; }
header .nav > ul > li { display: inline-block; vertical-align: top; min-width: 140px; position: relative; margin-right: 20px; } 
header .nav > ul > li.sel > a { font-weight: 700; opacity: 1} 
header .nav > ul > li > a { color: #141523; font-size: 17px; font-weight: 600; padding: 20px; display: block; opacity: 0.7;} 
header .nav > ul > li > a:hover {opacity: 1;}

header .m-btn { display: none; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; width: 22px; height: 22px; z-index: 1001;}

header .m-btn span { display: block; height: 3px; width: 100%; background-color: #666; margin: 5px 0; transition: all 0.3s ease; }

header .m-btn.active span:nth-child(1) { transform: rotate(45deg); top: 8px; position: relative; }
header .m-btn.active span:nth-child(2) { opacity: 0; }
header .m-btn.active span:nth-child(3) { transform: rotate(-45deg); top: -8px; position: relative; }




/* =====================================
                Main
===================================== */
section.main_section { grid-area: main_section; display: grid; grid-template-columns: auto auto auto; gap: 80px; align-items: center; justify-content: center; margin: 40px auto; margin-top: 110px; justify-content: space-between; padding: 0 20px; max-width: 1240px; }
.main_txt { grid-column: 1 / 2; padding: 20px; }
.main_txt h1 { font-size: 2.2em; margin-bottom: 10px; order: 1; }
.main_txt p { font-size: 1.18em; color: #555; order: 3; line-height: 1.4em; margin-top:20px;}

.visual_img { grid-column: 2 / 3; width: 100%; max-width: 520px; margin-left: 75px;}
.visual_img img { max-width: 100%; position: relative; animation: main_img01 1.5s ease-in-out ; -webkit-animation: main_img01 1.5s ease-in-out; } 
@keyframes main_img01 { 
    from { top:50px }  
    to { top:0 } 
    }   

.main_btn { display: flex; grid-column: 3 / 4; justify-content: center; align-items: center; flex-direction: row; order: 4; margin-top: 50px; gap: 8px; }
.main_btn a { padding: 20px 16px; background:linear-gradient(to right, #8A71EF, #975AED); color: white; text-decoration: none; font-size: 18px; font-weight: bold; text-align: center; border-radius: 14px; transition: background-color 0.3s; justify-content: space-between; flex: 1; max-width: 190px; min-width: 100px; }
.main_btn a:hover { color: white; }
.main_btn img { margin-left: 9px; height:18px; }


/* =====================================
                Contents
===================================== */
section.contents { grid-area: contents; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); justify-content: center; max-width: 1240px; width: 100%; padding: 0 20px; margin: 0 auto; }
.contents .cards {display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contents .card { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 266px; margin: 0 auto; padding: 24px 0px; box-shadow: 0 8px 25px rgba(106, 98, 124, 0.17); text-align: center; border-radius: 14px; }
.contents .card .card-img { width: 75px; object-fit: cover; display: block; margin: 0 auto; }
.contents .card h4 { font-size:17px; font-weight:500 ; margin-top:10px;}
.contents .card .card-text { flex-grow: 1; padding: 10px 10px; font-size:15px;}
.contents .card .card-btn { border: 2px solid #7A5BCA; color: #7A5BCA; margin: auto; padding: 7px 12px; border-radius: 21px; font-size: 15px; display: inline-block; text-align: center; max-width: 131px; max-height: 41px; font-weight: 600; transition: background-color 0.3s ease; }
.contents .card .card-btn img { margin-left: 3px; margin-bottom:1px; height: 14px; } 


/* =====================================
                Footer
===================================== */
footer { grid-area: footer; background-color: #f6f6f6; margin-top: 80px; padding: 40px; color: #000; text-align:left; width: 100%; }
footer img { margin: 15px 0; width: 80px; } 
footer p { font-size: 14px; margin: 12px 0; line-height: 1.5em; } 
@media screen and (max-width:1240px) {
    footer { text-align: center; }
}
.inner {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
	padding: 0px 50px;
}

/* =====================================
                반응형
===================================== */
@media screen and (max-width:992px) {
    header { width: 100%; height: 70px; }
    header .h_logo img { display: block; position: absolute; top: 20px; left: 20px; } 
    header .m-btn { display: block; position: absolute; top: 20px; right: 20px; }
    .nav .nav_list { display: none; flex-direction: column; position: fixed; top: 0; right: 0; background: #ffffff; height: 100vh; padding-top: 68px; padding-left: 30px; min-width: 248px; box-shadow: -10px 0 30px rgba(0,0,0,0.05); z-index: 200; text-align: left; }
    .nav .nav_list.active { display: flex; }
    .gnb_right { display: none;}

    section.main_section { grid-template-columns: 1fr; margin-top: 100px; }
    .main_txt { grid-column: 1; text-align: center; padding: 0; }
    .visual_img { grid-column: 1; width: 100%; max-width: 540px; margin: 0 auto; text-align: center; }
    .visual_img img { width: 100%; height: auto; }
    .main_txt h1 { font-size: 3.1em; }
    .main_txt p { font-size: 1.4rem; margin-top: 20px; line-height: 1.4em; }

    .main_btn { grid-column: 1; justify-content: center; align-items: center; flex-direction: row; order: 4; margin-top: 25px; }
    .main_btn a { padding: 20px; border-radius: 14px; }
    .main_btn img { margin-left: 20px; height:18px }

    section.contents { max-width: 580px; margin: 0 auto; }
    .contents div { padding: 0; }
    .contents .cards { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    /* .contents .card { margin-bottom: 20px; } */

    footer { padding: 20px; margin-top: 50px;}
	
}
@media screen and (min-width: 456px) and (max-width: 576px) {
    .main_btn img { margin-left: 26px; height:18px; }
}
@media screen and (min-width: 371px) and (max-width: 455px) {
    .main_btn img { margin-left: 20px; height:16px; }
}
@media screen and (max-width: 576px) {
    section.main_section { margin-bottom: 20px;}
    .visual_img { max-width: 536px; }
    .visual_img img { width: 100%; height: auto; }

    .main_btn a { font-size: 16px; font-weight: 700; width: auto;}
    .main_btn img { margin-left: 16px; }
    .main_txt h1 { font-size: 2.25em; }
    .main_txt p { font-size: 1.1rem;}

    .contents .card { min-height: 260px; }
    .contents .card .card-img { width: 50px; }
    .contents .card .card-text { font-size: 15px; margin-bottom: 5px; }
    .contents .card .card-btn {margin: 0; border: 2px solid #7A5BCA; color: #7A5BCA; margin: 0; border-radius: 20px; font-size: 13px; width: 100px; max-height: 34px; font-weight: 600; padding: 5px 2px 7px 5px; margin: 0 auto;}
    .contents .card .card-btn img { margin-left: 6px; height: 12px; } 

    footer { padding: 20px; margin-top: 40px;}
    footer p { color: #777; font-size: 12px; }
}
@media screen and (max-width:404px) {
    .contents .card { min-height: 280px; }
}
@media screen and (max-width:370px) {
    /* .main_txt { padding: 25px 10px 15px 10px;} */
    .main_txt h1 { font-size: 1.6rem; margin-top: 15px; font-weight: 400; width: auto;}
    .main_txt p { font-size: .88rem; margin-top: 12px; }

    section.main_section { margin-top: 60px; }
    .main_btn a { padding: 20px 6px; border-radius: 12px; font-size: 15px; }
    .main_btn img { height: 14px !important; margin-left: 6px; }

    .contents .card { min-height: 300px; }
    footer p { margin: 12px; }
}