*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    font-family: 'Pretendard';
    -webkit-text-size-adjust:none;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../font/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../font/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NanumMyeongjo';
    src: url('../font/NanumMyeongjo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NanumMyeongjo';
    src: url('../font/NanumMyeongjoExtraBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html, body {
    height: 100%;
    font-size: 30px;
    color: #282828;
    letter-spacing: 1px;
}
li{list-style: none;}
a{text-decoration: none;}
img{vertical-align: middle;}


.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


#wrap{width: 100%;}
#wrap .inner{
    width: 100%; height: 100px; margin: 0 auto; position: relative; display: flex; max-width: 1760px;
    justify-content: space-between; align-items: center; padding: 0 20px;
}

body::-webkit-scrollbar{width: 6px;}
body::-webkit-scrollbar-thumb{background-color: #969696; padding: 0 10px;}
body::-webkit-scrollbar-thumb:hover{background-color: #696969;}
body::-webkit-scrollbar-track{background-color: #eee; box-shadow: 0 0 6px rgba(0,0,0,0.1);}
.myeong{font-family: 'NanumMyeongjo';}




#wrap header{
    z-index: 10; width: 100%; height: 100px; background-color: rgba(255,255,255,0.0);
    position: fixed; transition: background-color 0.5s ease;
}
header .inner h1{position: relative; display: flex; align-items: center; height: 100%;}
header .inner h1 a{    
    display: flex; align-items: center; font-size: 24px;  justify-content: center;
    color: #fff; position: relative; padding-left: 100px; height: 100%;
}
header .inner h1 a span{margin-left: 10px;}
header .inner h1 img{
    width: 90px; height: 54px; position: absolute; left: 5px; vertical-align: middle;
    }
header .inner h1 img:nth-child(1) {opacity: 1; visibility: visible;}
header .inner h1 img:nth-child(2) {opacity: 0; visibility: hidden;}

header .inner ul {display: flex; justify-content: center; padding: 0; margin: 0;}
header .inner li {
    display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600;
    color: #fff; width: 143px; height: 45px; border: 1px solid #fff; border-radius: 10px; margin: 0 5px;
}
header .inner li:nth-child(2) {width: 195px;}
header .inner li a {color: #fff; display: flex; align-items: center;}
header .inner li img {margin-right: 10px;}
header .inner li:first-child img {width: 19.9px;}
header .inner li:last-child img {width: 19.9px;}


#wrap header.white{background-color: rgba(255,255,255,0.7); backdrop-filter: blur(3px); box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);}
#wrap header.white .inner h1 img:nth-child(1) {visibility: hidden; opacity: 0;}
#wrap header.white .inner h1 img:nth-child(2) {visibility: visible; opacity: 1;}
#wrap header.white .inner h1 a{color: #282828;}
#wrap header.white .inner li{background-color: #282828; border: none;}
#wrap header.white .inner li:first-child{background-color: #FFCB21;}
#wrap header.white .inner li:first-child a{color: #282828;}




#banner {width: 100%; height: 980px; position: relative; overflow: hidden;}
#banner img {width: 100%; height: 100%; object-fit: cover; object-position: 20% center;}
#banner .bn_text {
    width: 100%; max-width: 1328px; position: absolute; top: 50%; left: 45%; transform: translate(-50%, -50%);
    color: white; text-align: left; z-index: 2; padding: 0 20px;
}
#banner .bn_text h1 {font-size: 50px; font-weight: bold; margin-bottom: 30px;}
#banner .bn_text p{font-size: 30px;}


.b_inner{
    display: block; position: relative; width: 100%; max-width: 1328px; padding: 150px 20px;
    margin: 0 auto; text-align: center;
}




#maeil_law{width: 100%; height: 780px; overflow: hidden; position: relative; text-align: center;}
.l_inner{
    display: flex; justify-content: space-between; align-items: flex-start; position: relative;
    width: 100%; height: auto; max-width: 1328px; padding: 65px 20px; margin: 0 auto; text-align: center;
}
#maeil_law .l_law{width: 45%; display: flex; justify-content: center; align-items: center;}
#maeil_law .l_law img{width: 500px; object-fit: contain; display: block;}
#maeil_law .l_law .l_law_2{display: none;}
#maeil_law .l_law h2{display: none;}
#maeil_law .l_info{width: 50%; height: 100%; text-align: left; padding: 100px 0 20px;}
#maeil_law .l_info h1{font-size: 50px; margin-bottom: 120px;}
#maeil_law .l_info h1 span{font-size: 30px; font-weight: bold; font-family: 'NanumMyeongjo';}
#maeil_law .l_info li{line-height: 50px;}
#maeil_law .l_info li:first-child{margin-bottom: 86px;}
#maeil_law .l_info li:nth-child(2){display: none;}
#maeil_law .l_info li:nth-child(3){display: none;}
#maeil_law .l_info li span{font-weight: bold; color: #E65100;}
#maeil_law .l_info li .bold{font-weight: bold; color: #282828;}
#maeil_law #l_bg{
    position: absolute; bottom: 0; width: 100%; height: 500px; z-index: -1;
    background-image: url(../img/first.jpg); background-size: cover; background-repeat: no-repeat;
}
#maeil_law #l_bg .maeil_c{width: 600px; height: 600px; margin-top: 100px; float: right;}
#maeil_law #l_bg .maeil_c img{
    width: 100%; height: 100%; object-fit: contain; opacity: 70%;
    animation: rotate_image 20s linear infinite; transform-origin: 50% 50%;
}
@keyframes rotate_image{
    100%{
        transform: rotate(360deg);
    }
}




#maeil_ad{
    width: 100%; height: auto; position: relative; overflow: hidden; text-align: center; color: #fff;
    background-image: url(../img/maeil_ad.jpg); background-size: cover; background-repeat: no-repeat;
    background-position: center center;
}
#maeil_ad .start{width: 43px; height: 32px; position: relative; margin-bottom: 86px;}
#maeil_ad p{line-height: 68px; margin-bottom: 114px; font-size: 35px;}
#maeil_ad .ad_t_2{display: none;}
#maeil_ad .ad_t_3{display: none;}
#maeil_ad .ad_sub{width: 100%; position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 54px;}
#maeil_ad .ad_sub ul{width: 100%; height: 70px; display: flex; flex-direction: row; align-items: center; justify-content: center;}
#maeil_ad .ad_sub li{display: flex; justify-content: center; align-items: center; height: 70px;}
#maeil_ad .ad_sub li:nth-child(2){font-size: 38px; font-weight: bold; white-space: nowrap; margin: 0 15px;}
#maeil_ad .ad_sub .ad_line{width: 30px; height: 1px; background-color: #fff;}

#maeil_ad form {
    max-width: 1130px; min-height: 90px; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; z-index: 15; margin: 0 auto;
}
#maeil_ad form input{
    width: 33%; height: 80px; font-size: 20px; padding: 10px 20px; margin-bottom: 10px; background-color: rgba(255,255,255,0.7);
    border: none; box-sizing: border-box; border-radius: 2px; color: #282828; font-weight: 600;
}
#maeil_ad form input {margin: 0;}
#maeil_ad form input::placeholder{color: #282828; font-weight: 600;}
#maeil_ad form #submit_btn {background-color: #ff8800; font-weight: bold; height: 80px; cursor: pointer; color: #fff;}
#maeil_ad form label {
    display: flex; font-size: 16px; color: #fff; margin: 10px 4px 0 0;
    align-items: center; line-height: 1.5; font-weight: 600; letter-spacing: 0.1px;
}
#maeil_ad form .checkbox {display: flex; justify-content: flex-end; width: 100%; accent-color: #ff8800;}
#maeil_ad form .checkbox label:hover{cursor: pointer;}
#maeil_ad form label > input {width: 18px; height: 18px; margin-left: 10px; vertical-align: middle; cursor: pointer;}




#maeil_area{
    width: 100%; height: auto; background-color: #f4f4f6; position: relative; overflow: visible; text-align: center;
    background-image: url(../img/maeil_b.png); background-repeat: no-repeat; background-position: bottom -1600px right -600px; 
    background-size: 2000px auto; 
}
#maeil_area h1{font-size: 38px; font-weight: normal; line-height: 58px; margin-bottom: 154px;}
#maeil_area h1 span{font-weight: bold;}
#maeil_area .area_mtxt{display: none;}
#maeil_area .area_t{text-align: left; position: relative;}
#maeil_area .area_t p, #maeil_area h2{color: #e65100;}
#maeil_area .area_t p{font-size: 18px; margin-left: 3px; margin-bottom: 10px;}
#maeil_area .area_t h2{font-size: 48px; margin-bottom: 50px;}
#maeil_area .area_t h3{font-size: 38px; font-weight: normal; line-height: 58px; margin-bottom: 65px;}
#maeil_area .area_t h3 span{font-weight: bold;}
#maeil_area .area_t .area_t_m2, #maeil_area .area_t .area_t_m3{display: none;}
#maeil_area .area_l{width: 100%; height: 302px;}
#maeil_area .area_l ul{display: flex; height: 302px; align-items: center; justify-content: space-between;}
#maeil_area .area_l li{
    width: 302px; height:100%; background-color: #fff; border-radius: 150px;
    font-size: 26px; padding: 50px 0; color: #361D00;
}
#maeil_area .area_l li .l_img{width: 100%; display: block; text-align: center; margin-bottom: 20px;}
#maeil_area .area_l li .l_bold{font-weight: bold;}
#maeil_area .area_l li .l_text2{display: none;}
#maeil_area .area_line{
    position: absolute; bottom: -70px; left: 50%; transform: translateX(-50%) rotate(65deg);
    width: 1px; height: 140px; border-right: 1px solid #282828;
}




#maeil_a{width: 100%; height: auto; margin: 0 auto; overflow: hidden; position: relative;}
#maeil_a h1{color: #ff8800; font-size: 42px; margin: 80px 0 87px;}
#maeil_a h4{font-size: 34px; font-weight: normal; margin:87px 0 53px;}
#maeil_a h2{font-size: 42px; line-height: 72px;}
#maeil_a h2 span{color:#ff8800}
#maeil_a h3{display: none;}
#maeil_a h5{display: none;}

#maeil_a .a_list{
    width: 100%; max-width: 1130px; height: 400px; overflow: hidden; position: relative;
    margin: 0 auto; background-color: rgba(255,255,255,0.3);
}
#maeil_a .a_list .a_header{
    display: flex; justify-content: space-between; position: relative; padding: 0 49px; height: 70px; line-height: 70px; font-size: 24px; font-weight: bold;
    border-top: 2px solid #ff8800; border-bottom: 1px solid #c2c2c2; background-color: #f6f6f6; z-index: 5;
}
#maeil_a .a_list .a_listbg{width: 100%; height: 400px; overflow: hidden; position: relative;}
#maeil_a .a_list .a_header span{flex:0 0 15%;}
#maeil_a .a_list ul{position: absolute; left: 0; width: 100%;}
#maeil_a .a_list .a_listbg li{
    display: flex; align-items: center; justify-content: space-between; padding: 0 49px; height: 55px; line-height: 55px; border-bottom: 1px solid #ddd;
    font-size: 18px; color: #424242;
}
#maeil_a .a_list .a_listbg li .state{
    width: 80%; height: 35px; line-height: 35px; text-align: center; background-color: #575757; border-radius: 23px;
    color:#fff; font-weight: 500; flex: 0 0 15%;
}
#maeil_a .a_list .a_listbg li .fullname{flex:1;}
#maeil_a .a_list .a_listbg li .day{flex:0 0 15%; letter-spacing: 0.1px;}

#maeil_a .a_maeil_c{overflow: hidden; position: absolute; width: 500px; height: 500px; right: 0; transform: translateY(450px);}
#maeil_a .a_maeil_c img{
    width: 100%; height: 100%;  object-fit: contain; 
    animation: rotate_image 20s linear infinite; transform-origin: 50% 50%;
}




#last{
    width: 100%; height: auto; overflow: hidden; position: relative; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start;
    background-image: url(../img/law.jpg); background-size: cover; background-repeat: no-repeat; background-position: center center;
}
#last .last_wrap{display: flex; justify-content: space-between; align-items: flex-start; gap:20px;}

#last .last_info{position: relative; overflow: hidden; width: 558px; height: auto; padding: 100px 35px; border: 1px solid #fff; color: #fff;}
#last .last_info::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: rgba(28, 28, 28, 0.6);
    z-index: 1;
}
#last .last_info h1{display: block; position: relative; font-size: 40px; z-index: 2; margin-bottom: 40px; letter-spacing: 2px;}
#last .last_info h2{
    display: block; position: relative; font-size: 28px; z-index: 2; font-weight: normal; line-height: 48px;
    margin-bottom: 60px; letter-spacing: 0.5px;
}
#last .last_info h3{display: block; position: relative; font-size: 48px; z-index: 2;  letter-spacing: 0.5px;}
#last .last_info hr{display: block; position: relative; z-index: 2; margin: 32px 10px 22px;}
#last .last_info ul{display: flex; flex-wrap: wrap; position: relative; z-index: 2; padding: 0 10px;}
#last .last_info li{font-size: 24px;}
#last .last_info li:first-child{width: 38%; text-align: left; font-weight: 600; letter-spacing: 0.5px;}
#last .last_info li:nth-child(2){width: 62%; text-align: right; font-weight:300; letter-spacing: 0.5px;}
#last .last_info li:nth-child(2) span{font-size: 18px;}

#last .last_form{width: 550px; height: auto; padding-top: 40px;}
#last .last_form .maeil_logo{margin-bottom: 50px;}
#last .last_form .maeil_logo img{width: 180px; height: auto; object-fit: cover;}
.last_form form{
    width: 100%; min-height: 90px; display: flex; align-items: flex-start;
    justify-content: space-between; flex-direction: column; text-align: right;
}
.last_form form input::placeholder{color: #282828; font-weight: 600;}
.last_form form input{
    width: 100%; height: 80px; font-size: 20px; padding: 10px 20px; background-color: rgba(255,255,255,0.7);
    border: none; box-sizing: border-box; border-radius: 2px; color: #282828; font-weight: 600;
}
.last_form form input {margin: 0 0 20px;}
.last_form form #submit_btn2 {display: inline-block; background-color: #ff8800; font-weight: bold; width: 310px; height: 80px;
margin: 60px 0 0; cursor: pointer; align-self: flex-end; color: #fff; font-weight: 600;}

.last_form  form label {
    display: flex; font-size: 16px; color: #fff; margin: 10px 4px 0 0;
    align-items: center; line-height: 1.5; font-weight: 600; letter-spacing: 0.1px;
}
.last_form  form .checkbox2 {display: flex; justify-content: flex-end;  width: 100%; accent-color: #ff8800;}
.last_form  form .checkbox2 label:hover{cursor: pointer;}
.last_form  form .checkbox2 label >input{width: 18px; height: 18px; margin-left: 10px; margin-bottom: 0; vertical-align: middle; cursor: pointer;}



#topbt{
    position: fixed; right: 30px; top:50%; transform: translateY(-50%); width: 90px; height: auto; background-color: #fff;
    border-radius: 14px; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); display: none;
    z-index: 100; justify-content: center; text-align: center; align-items: center; padding: 25px 7px;
}
#topbt li img{margin-bottom: 5px;}
#topbt li{
    font-size: 16px; font-weight: bold; display: flex; flex-direction: column;
    align-items: center; justify-content: center; margin-bottom: 25px; 
}
#topbt li:first-child img{width: 30px; object-fit: cover;}
#topbt li:nth-child(2){cursor: pointer;}
#topbt li:last-child{border-top: 1px solid #e6e6e6; margin-bottom: 0; padding: 20px 0 0;}
#topbt li a{display: flex; flex-direction: column; align-items: center; justify-content: center; color: #282828; font-size: 16px;}
#topbt li .up{flex-direction: row; align-items: center; justify-content: center;}
#topbt li a .material-symbols-outlined{
    font-size: 20px; line-height: 1; vertical-align: middle;
    display: inline-flex; align-items: center;
}




#topbt_m{
    width: 90px; position: fixed; right: 30px; bottom: 4%; z-index: 10; font-size: 15px;
    align-items: center; justify-content: center; text-align: center; padding: 20px 5px; display: none;
}
#topbt_m .quick_l{width: 100%; height: auto; background-color: #fff; border-radius: 40px; padding: 25px 5px;
     box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); margin-bottom: 80px;
     display: none; opacity: 0; transition: opacity 0.3s ease;
}
#topbt_m .quick_l.show{opacity: 1;}
#topbt_m .quick_l li img{margin-bottom: 8px; width: 25px; object-fit: cover;}
#topbt_m .quick_l li{
    font-weight: bold; display: flex; flex-direction: column; align-items: center; justify-content: center; 
    margin-bottom: 20px; letter-spacing: 0.2px;
}
#topbt_m .quick_l li:nth-child(2){cursor: pointer;}
#topbt_m .quick_l li:last-child{margin-bottom: 0; padding-top:10px ; border-top: 1px solid #e6e6e6; }
#topbt_m .quick_l li a{display: flex; flex-direction: column; align-items: center; justify-content: center; color: #282828;}
#topbt_m .quick_l li .up{flex-direction: row; align-items: center; justify-content: center;}
#topbt_m .quick_l li a .material-symbols-outlined{
    font-size: 20px; line-height: 1; vertical-align: middle;
    display: inline-flex; align-items: center; 
}
#topbt_m .quick{
    position: fixed; right: 30px; width: 90px; height: 45px; border-radius: 45px; bottom: 7%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
}
#topbt_m .quick:hover{cursor: pointer;}
#topbt_m .quick span{
    width: 45px; height: 100%; background-color: #ff8800; color: #fff; font-weight: 600;  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5); 
    display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 25px;
}




footer{display: block; position: relative; text-align: center; width: 100%; height:auto; background-color: #212121; padding: 60px 0;}
.bh_dark_no .f_inner .f_logo {
    display: flex; justify-content: center; align-items: center; width: 100%;
    height: 30.2px; margin: 0 0 25px;
}
.bh_dark_no .f_inner .f_logo p {font-size: 14px; color: #fff; white-space: nowrap; font-weight: 500; letter-spacing: 0.5px;}
.bh_dark_no .f_inner .f_logo img {display: block; width: 120px; height: auto; margin-right: 10px;}

.f_inner .f_g{font-size: 12px; color: #bdbdbd; margin-bottom: 10px;}
.f_inner .f_j{font-size: 12px; color: #bdbdbd;}
.f_inner .f_g span, .f_j span{letter-spacing: -0.5px;  font-weight: 500; color: #fff; margin-right: 15px;}
.f_inner .lastment{font-size: 11px; color: #757575; margin-top: 10px;}



@media screen and (min-width: 1589px) {
    #topbt_m {
      display: none !important;
    }
  }
@media (min-width:1290px) and (max-width: 1588px) {
    #wrap #banner {
        height: 60vw;
    }
    #banner .bn_text{left: 50%; padding: 0 40px;}
    #banner .bn_text h1{font-size: 38px; line-height: normal;}
    #banner .bn_text p{font-size: 24px; line-height: normal;}
    #topbt{display: none;}
    #topbt_m {
        display: block !important;
      }
}
@media (min-width:1046px) and (max-width:1289px){

    #wrap #banner {
        height: 60vw;
    }
    .b_inner{padding: 120px 40px;}
    #banner .bn_text{left: 50%; padding: 0 40px;}
    #banner .bn_text h1{font-size: 38px; line-height: normal;}
    #banner .bn_text p{font-size: 24px; line-height: normal;}
    #banner img{object-position: 60% center;}

    #maeil_law{height: 650px;}
    #maeil_law .l_law{ height: 600px; margin-left: 30px;}
    #maeil_law .l_law img{width: 450px;}
    #maeil_law .l_info{height: auto; font-size: 28px; padding: 90px 0 10px; align-items: end;}
    #maeil_law .l_info h1{margin-bottom: 90px; font-size: 48px;}
    #maeil_law .l_info h1 span{font-size: 25px;}
    #maeil_law .l_info li{font-size: 28px; line-height: 48px;}
    #maeil_law .l_info li:first-child{margin-bottom: 40px;}
    #maeil_law #l_bg{height: 410px;}
    #maeil_law #l_bg .maeil_c{width: 400px; height: 400px;}

    #maeil_ad img{margin-bottom: 50px;}
    #maeil_ad p{font-size: 30px; line-height: 50px;}
    #maeil_ad .ad_sub{margin-bottom: 35px;}
    #maeil_ad .ad_sub li:nth-child(2){font-size: 34px;}
    #maeil_ad form input, #maeil_ad form #submit_btn{height: 65px; font-size: 16px;}
    
    #maeil_area{background-position: bottom -1400px right -800px;}
    #maeil_area h1, #maeil_area .area_t h3{font-size: 32px; line-height: 52px;}
    #maeil_area .area_t h2{font-size: 45px;}
    #maeil_area .area_t p{font-size: 16px;}
    #maeil_area .area_l{height: 420px;}
    #maeil_area .area_l ul{height: 420px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;}
    #maeil_area .area_l li{
        width: 48%; height: 200px; padding: 10px 50px; display: flex; justify-content: center;
        text-align: center; align-items: center; gap:20px;
    }
    #maeil_area .area_l li .l_img{
        width: 120px; display: flex; align-items: center; justify-content: center;
        height: 100%; margin: 0 10px 0 0;
    }
    #maeil_area .area_l li .l_img img{width: 100%;}
    #maeil_area .area_l li .l_text{width: 280px; text-align: left;}

    #maeil_a h1{font-size: 38px; margin: 30px 0 80px;}
    #maeil_a h4{font-size: 34px; margin: 80px 0 30px;}
    #maeil_a h2{ font-size: 38px; line-height: 60px;}
    #maeil_a h5 span{color: #ff8800;}    
    #maeil_a .a_list{height: 405px;}
    #maeil_a .a_list .a_header{font-size: 20px;}
    #maeil_a .a_list .a_listbg li{font-size: 18px; height: 55px; line-height: 55px;}
    #maeil_a .a_list .a_listbg li .state{height: 40px; line-height: 40px; margin: 0;}
    #maeil_a .a_maeil_c{width: 300px; height: 300px; transform: translateY(700px);}

    #last .last_info h1{font-size: 38px;}
    #last .last_info h2{font-size: 24px; line-height: 44px;}
    #last .last_info h3{font-size: 40px;}
    #last .last_info li{font-size: 20px;}
    #last .last_info li:nth-child(2) span{font-size: 16px;}
    #last .last_form{padding: 50px 0 0 20px;}
    #last .last_form .maeil_logo img{width: 150px;}
    #last .last_form form input{height: 65px; font-size: 18px;}
    #last .last_form form #submit_btn2{height: 65px; width: 280px; margin-top: 60px;}
    #last form .checkbox2 label{height: 30px; font-size: 16px; line-height: 30px;}
    #last form .checkbox2 label input{height: 30px;}
}
@media (min-width:768px) and (max-width:1045px){
    #wrap header{height: 80px;}
    #wrap header .inner{height: 80px; padding: 0 30px;}
    #wrap header .inner li{width: 125px; font-size: 15px;}
    #wrap header .inner li:last-child{width: 160px;}
    #wrap header .inner h1 a span{display: none;}
    #wrap header .inner h1 a{height: 80px; padding-left: 80px;}
    #wrap header .inner h1 a img{width: 70px; object-fit: contain;}

    #wrap #banner {
        height: 100vw;
    }
    #banner .bn_text{left: 50%; padding: 0 40px;}
    #banner .bn_text h1{font-size: 38px; line-height: normal;}
    #banner .bn_text p{font-size: 24px; line-height: normal;}

    .l_inner{padding: 40px 15px 80px; display: block; position: relative;}
    .b_inner{padding: 100px 40px;}
    
    #maeil_law{height: auto;}
    #maeil_law .l_law{width: 100%; height: auto; display: block; position: relative; text-align: right;}
    #maeil_law .l_law img{display: none;}
    #maeil_law .l_law .l_law_2{display: block; width: 50%; position: relative; left: 50%; transform: translateX(-50%);}
    #maeil_law .l_law h2{
        width: 100%; display: inline-block; font-size: 32px; right: 20px; position: absolute;
        bottom: -50px;
    }
    #maeil_law .l_law h2 span{font-size: 18px; font-weight: bold; font-family: 'NanumMyeongjo'; line-height: 10px;}
    #maeil_law .l_info h1{display: none;}
    #maeil_law .l_info{width: 100%; height: auto; display: block; position: relative; text-align: center; padding: 110px 0 20px;}
    #maeil_law .l_info li{font-size: 24px; line-height: 44px; letter-spacing: -0.5px;}
    #maeil_law .l_info li:first-child{margin-bottom: 30px;}
    #maeil_law #l_bg{height: 100%;}
    #maeil_law #l_bg .maeil_c{width: 300px; height: 300px; margin-top: 380px; margin-right: -120px;}

    #maeil_ad .b_inner{padding: 100px 60px;}
    #maeil_ad .start{margin-bottom: 50px; width: 35px; height: 26px;}
    #maeil_ad p{display: none;}
    #maeil_ad .ad_t_2{display: block; font-size: 26px; letter-spacing: -0.2px; margin-bottom: 100px; line-height: 46px;}
    #maeil_ad .ad_sub{margin-bottom: 20px;}
    #maeil_ad .ad_sub li:nth-child(2){font-size: 28px;}
    #maeil_ad form input{width: 100%; margin-bottom: 20px; height: 55px; font-size: 18px;}
    #maeil_ad form input:last-child{margin-bottom: 0;}
    #maeil_ad form #submit_btn {width: 100%; height: 55px; margin-bottom: 0; margin-left: auto;}

    #maeil_area{background-position: bottom -1400px right -900px;}
    #maeil_area h1{font-size: 28px; line-height: 42px; margin-bottom: 120px;}
    #maeil_area .area_t h2{font-size: 35px; margin-bottom: 40px;}
    #maeil_area .area_t h3{font-size: 28px; line-height: 42px;}
    #maeil_area .area_l{height: 420px;}
    #maeil_area .area_l ul{height: 420px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;}
    #maeil_area .area_l li{
        width: 48%; height: 170px; padding: 10px 30px; display: flex; align-items: center; justify-content: center; text-align: center;
        gap:20px;
    }
    #maeil_area .area_l li .l_img{
        width: 100px; display: flex; align-items: center; justify-content: center;
        height: 100%; margin: 0 10px 0 0;
    }
    #maeil_area .area_l li .l_img img{width: 100%;}
    #maeil_area .area_l li .l_text{display: none;}
    #maeil_area .area_l li .l_text2{display: block; text-align: left; width: 130px; font-size: 22px;}
    
    #maeil_a .a_maeil_c{width: 300px; height: 300px; transform: translateY(650px);}
    #maeil_a h1{font-size: 32px; margin: 60px 0 60px;}
    #maeil_a h4{font-size: 28px; margin-top: 80px;}
    #maeil_a h2{display: none;}
    #maeil_a h5{display: block; font-size: 32px; line-height: 58px;}
    #maeil_a h5 span{color: #ff8800;}
    #maeil_a .a_list{height: 360px;}
    #maeil_a .a_list .a_header{height: 60px; font-size: 20px; line-height: 60px;}
    #maeil_a .a_list .a_listbg li{height: 50px; line-height: 50px; font-size: 16px;}
    #maeil_a .a_list .a_listbg li .state{height: 38px; width: 90px; line-height: 38px; margin: 0;}
    
    #last .b_inner{padding: 100px 60px;}
    #last .last_wrap {display: flex; flex-direction: column; align-items: center;}
    #last .last_wrap .last_info, #last .last_form{width: 100%;}
    #last .last_info{padding: 80px 35px;}
    #last .last_info h1{font-size: 32px;}
    #last .last_info h2{font-size: 22px; line-height: normal;}
    #last .last_info h3{font-size: 42px;}
    #last .last_info li{font-size: 18px;}
    #last .last_info li:nth-child(2) span{font-size: 14px;}
    #last .last_form{padding: 80px 0 0;}
    #last .last_form .maeil_logo img{width: 150px;}
    #last .last_form form input{height: 55px; font-size: 18px; margin-bottom: 15px;}
    #last .last_form form input:last-child{margin-bottom: 0;}
    #last .last_form form #submit_btn2{height: 55px; width: 100%; margin-top: 0;}
    #last form .checkbox2 label{height: 30px; font-size: 16px; margin-top: 0px;}
}

@media (min-width:320px) and (max-width:767px){
    #wrap header{height: 60px;}
    #wrap header .inner{height: 60px; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; position: relative;}
    #wrap header .inner h1{position: absolute; left: 50%; transform: translateX(-50%); z-index: 4;}
    #wrap header .inner li{ display: none;}
    #wrap header .inner h1 a span{display: none;}
    #wrap header .inner h1 a{height: 60px; padding-left: 45px;}
    #wrap header .inner h1 a img{width: 40px; object-fit: contain;}


    #wrap #banner {
        height: 150vw;
    }
    #wrap #banner img{height: 100%; object-fit: cover;}
    #banner .bn_text{text-align: center; left: 50%;}
    #banner .bn_text h1{font-size: 24px; margin-bottom: 50px;}
    #banner .bn_text p{font-size: 16px; line-height: normal;}
    #banner img{object-position: 55% center;}


    .l_inner{padding: 40px 15px 80px; display: block; position: relative;}
    .b_inner{padding: 80px 15px;}


    #maeil_law{height: 100%;}
    #maeil_law .l_law{width: 100%; height: auto; display: block; position: relative; text-align: right;}
    #maeil_law .l_law img{display: none;}
    #maeil_law .l_law .l_law_2{display: block; width: 55%; position: relative; left: 50%; transform: translateX(-50%);}
    #maeil_law .l_law h2{
        width: 100%; display: inline-block; font-size: 22px; right: 20px; position: absolute;
        bottom: -50px;
    }
    #maeil_law .l_law h2 span{font-size: 12px; font-weight: bold; font-family: 'NanumMyeongjo'; line-height: 10px;}
    #maeil_law .l_info h1{display: none;}
    #maeil_law .l_info{width: 100%; height: auto; display: block; position: relative; text-align: center; padding: 130px 0 0;}
    #maeil_law .l_info li{font-size: 18px; line-height: 28px; letter-spacing: -0.5px;}
    #maeil_law .l_info li:first-child{display: none;}
    #maeil_law .l_info li:nth-child(2){display: none;}
    #maeil_law .l_info li:nth-child(3){display: block; margin-bottom: 50px;}
    #maeil_law #l_bg{height: 100%;}
    #maeil_law #l_bg .maeil_c{width: 200px; height: 200px; margin-top: 450px; margin-right: -50px;}


    #maeil_ad{height: auto;}
    #maeil_ad .start{width: 20px; height: 14px; margin-bottom: 40px;}
    #maeil_ad .start img{width: 100%; object-fit: cover;}
    #maeil_ad p,  #maeil_ad .ad_t_2{display: none;}
    #maeil_ad .ad_t_3{display: block; font-size: 18px; line-height: 28px; margin-bottom: 60px;}
    #maeil_ad .ad_sub{margin-bottom: 15px;}
    #maeil_ad .ad_sub .ad_line{width: 18px;}
    #maeil_ad .ad_sub li:nth-child(2){font-size: 24px; margin: 0 8px;}
    #maeil_ad form input{width: 100%; height: 50px; margin-bottom: 20px; font-size: 16px;}
    #maeil_ad form input:last-child{margin-bottom: 0;}
    #maeil_ad form .checkbox label{font-size: 14px; line-height: 18px;}
    #maeil_ad form #submit_btn {height: 50px; margin-top: 0; margin-bottom: 0;}

    #maeil_area{height: auto; background-position: bottom -100px right -500px; background-size: 1000px auto; }
    #maeil_area h1{display: none;}
    #maeil_area .area_mtxt{display: block; font-size: 18px; line-height: 28px; margin-bottom: 80px;}
    #maeil_area .area_t{text-align: center;}
    #maeil_area .area_t p{font-size: 12px; margin: 0 0 6px 2px;}
    #maeil_area .area_t h2 {font-size: 24px; margin-bottom: 25px; line-height: 42px;}
    #maeil_area .area_t h3, #maeil_area .area_t .area_t_m2{display: none;}
    #maeil_area .area_t .area_t_m3{display: block; font-size: 18px; line-height: 28px; margin-bottom: 45px;}
    #maeil_area .area_l{height: auto;}
    #maeil_area .area_l ul{height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;}
    #maeil_area .area_l li{
        width: 100%; height: 100px; padding: 10px 20px; display: flex; align-items: center; justify-content: center;
        gap:20px; text-align: center; font-size: 18px;
    }
    #maeil_area .area_l li:last-child{margin-bottom: 50px;}
    #maeil_area .area_l li .l_img{
        width: 60px; display: flex; align-items: center; justify-content: center;
        height: 100%; margin: 0 0;
    }
    #maeil_area .area_l li .l_img img{width: 100%;}
    #maeil_area .area_l li .l_text{display: none;}
    #maeil_area .area_l li .l_text2{display: block; text-align: left; width: 100px;}
    #maeil_area .area_line{height: 80px; bottom: -40px;}


    #maeil_a .b_inner{padding: 110px 15px 80px;}
    #maeil_a .a_maeil_c{width: 80px; height: 80px;  left: 50%; transform: translateX(-45%) translateY(490px);}
    #maeil_a .a_maeil_c img{filter: brightness(97%);}
    #maeil_a h1{font-size: 22px; margin-top: 15px; margin-bottom: 30px;}
    #maeil_a h2{display: none;}
    #maeil_a h3{display: block; font-size: 22px; line-height: normal;}
    #maeil_a h3 span{color:#ff8800}
    #maeil_a h4{font-size: 17px; margin: 120px 0 50px;}
    #maeil_a .a_list{height: 293px;}
    #maeil_a .a_list .a_header{height: 50px; font-size: 14px; line-height: 50px; padding: 0 10px;}
    #maeil_a .a_list .a_listbg li{height: 40px; line-height: 40px; font-size: 12px; padding: 0 10px;}
    #maeil_a .a_list .a_listbg li .state{font-size: 9px; height: 25px; line-height: 25px; border-radius: 12px; letter-spacing: 0.1px;}

    
    #last .last_wrap {display: flex; flex-direction: column; align-items: center;}
    #last .last_wrap .last_info, #last .last_form{width: 100%;}
    #last .last_wrap .last_info{padding: 40px 15px;}
    #last .last_wrap .last_info h1{font-size: 22px; margin-bottom: 28px;}
    #last .last_wrap .last_info h2{font-size: 14px; line-height: 24px; margin-bottom: 50px;}
    #last .last_wrap .last_info h2 b{font-weight: 500;}
    #last .last_wrap .last_info h3{font-size: 30px;}
    #last .last_wrap .last_info ul{padding: 0;}
    #last .last_wrap .last_info li{font-size: 14px;}
    #last .last_info li:nth-child(2) span{font-size: 12px;}
    #last .last_wrap .last_info hr{margin: 25px 0 15px;}
    #last .last_info::before{top: 5px; right: 5px; bottom: 5px; left: 5px;}
    
    #last .last_form .maeil_logo{margin-bottom: 40px;}
    #last .last_form .maeil_logo img{width: 100px;}
    #last .last_form form input{font-size: 16px; height: 50px;}
    #last form input, #last form{width: 100%; height: auto; margin-bottom: 20px; font-size: 20px;}
    #last form input:last-child{margin-bottom: 0;}
    #last form #submit_btn2{width: 100%; height: 50px; margin-top: 0;}
    #last form .checkbox2 input{width: 18px; height: 18px;}
    #last form .checkbox2 label{font-size: 14px; line-height: 18px;}

    #topbt_m{right: 10px; bottom: 1%; padding: 25px 10px; font-size: 11px;}
    #topbt_m .quick{right: 10px; bottom: 5%; height: 40px;}
    #topbt_m .quick span{width: 40px;}
    #topbt_m .quick_l{padding: 20px 5px; margin-bottom: 75px;}
    #topbt_m .quick_l li img{width: 18px; margin-bottom: 5px;}
    #topbt_m .quick_l li{margin-bottom: 10px;}
}
