body::-webkit-scrollbar {width: 5px;height:5px;}
body::-webkit-scrollbar-thumb {height: 30%;background: rgba(128, 117, 105, .5);border-radius: 3px;}
body::-webkit-scrollbar-track {background: rgba(128, 117, 105, .3);}

* {
    --header-height-1 : 5.5rem;
    --footer-height-1 : 6.5rem;
    --common-width : 720px;
}
main {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    max-width: var(--common-width);
    padding-top: var(--header-height-1);
    /* padding-bottom: var(--footer-height-1); */
}
header {
    top: 0;
    left: 50%;
    width: 100%;
    z-index: 100;
    position: fixed;
    background-color: #fff;
    transform: translateX(-50%);
    height: var(--header-height-1);
    max-width: var(--common-width);
    border-bottom: 1px solid #f3f3f3;
    display: flex;align-items: center;justify-content: space-between;
}
header h1 img {
    height: calc(var(--header-height-1) - 3.7rem);
    margin: 0 1.5rem;
    display: block;
}
header .dummy {
    width: var(--header-height-1);
    height: var(--header-height-1);
}
header .menu {
    cursor: pointer;
    width: var(--header-height-1);
    height: var(--header-height-1);
    background: url(../img/menu.png) no-repeat calc(40%) center / 2rem;
}



/* 햄버거 기능 */
nav .inner {
    transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1);
    background: #ffffff url(../img/nav.png) no-repeat 300% 97% / 90%;
    overflow-y: scroll;
    position:fixed;
    z-index: 1000;
    left:-100%;
    height:100%;
    width:75%;
    top:0;
    padding-bottom: 2rem;
}
nav .outer {
    background-color:rgba(0, 0, 0, .5);
    backdrop-filter: blur(1px);
    min-height: 100vh;
    position:fixed;
    display: none;
    z-index: 999;
    width:100%;
    left:0;
    top:0;
}
nav.on .inner {
    display: block;
    left: 0;
}
nav.on .outer {
    display: block;
}
.nav_header {
    height: var(--header-height-1);
    border-bottom: 1px solid #f3f3f3;
    display: flex;align-items: center;justify-content: space-between;
}
.nav_header a img {
    height: calc(var(--header-height-1) - 3.7rem);
    margin: 0 1.5rem;
    display: block;
}
.nav_header .dummy {
    width: var(--header-height-1);
    height: var(--header-height-1);
}
.nav_header .close {
    cursor: pointer;
    width: var(--header-height-1);
    height: var(--header-height-1);
    background:url('../img/prev.png') no-repeat center / 2rem;
}


/* 햄버거 내부 */
nav .content {
    padding: 1.5rem 1.5rem 7rem;
}
nav .content li a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0054e9;
    display: block;
    width: 100%;
    margin: 0 0 1rem;
    padding: 1rem;
    font-family: 'Jalnan', sans-serif;
    width: fit-content;
}
nav .content {
    margin-top: 10%;
}
nav .content li.mini a {
    font-size: 1.4rem;
    color: #686767;
    font-weight: 500;
    border: none;
    margin: 1rem 0;

    font-family: 'NanumSquareNeo', sans-serif;

    display: block;
    border-radius: 10rem;
    padding: .7rem .8rem;
}
nav .content li.mini.on a {
    background-color: #0054e9;
    color: #fff;
}
nav .content li.mini:last-of-type a {
    margin-bottom: 2rem;
}


/* ================================== */
.commonh2 {
    font-size: 1.8rem;
    color: #595757;
    font-weight: 800;
    line-height: 1.4;
}
section {
    /* padding: 3rem 1.5rem; */
}


.home_banner .commonh2 {
    margin: 3rem 1.5rem 1rem;
}
.home_list {padding: 1.5rem 1.5rem 0;}
.home_list a {
    padding: 2rem 1rem;
    background: url(../img/right2.png) no-repeat calc(100% - 1rem) center / 1rem;
    display: flex;align-items: center;
}
.home_list a img {
    width: 5rem;
    margin-right: 2rem;
}
.home_list a p {
    font-size: 1.6rem;
    font-weight: 800;
    color: #565454;
    line-height: 1.4;
}

.home_swiper {padding: 0 1.5rem 1.5rem !important;}
.home_swiper .swiper-wrapper {
    height: min-content;
    padding-bottom: 4rem;
}
.home_swiper .swiper-wrapper .swiper-slide {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 0 #bababa;
}
.home_swiper .swiper-wrapper .swiper-slide img {
    display: block;
    width: 100%;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 !important;
    border-radius: 0;
    width: 2.4rem;
    height: .7rem;
    opacity: 1;
    background-color: #fafafb;
}
.swiper-pagination {
    border-radius: 10rem !important;
    left: 50% !important;
    overflow: hidden;
    transform: translateX(-50%) !important;
    width: fit-content !important;
}
.swiper-pagination-bullet-active {
    border-radius: 10rem !important;
    background-color: #76abe5 !important;
}



/* sub 페이지 */
.sub {
    padding: 1.5rem;
}
.sub h2 {
    font-family: 'Jalnan', sans-serif;
    font-size: 1.6rem;
    color: #005bea;
    line-height: 1.4;
    margin-bottom: 3rem;
}
.sub h3 {
    line-height: 1.4;
    font-size: 1.7rem;
    color: #595757;
    font-weight: 900;
    margin-bottom: 2rem;
}
.sub pre {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #616060;
    margin-bottom: 2rem;
}
.sub pre b {
    line-height: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: #0047e7;
}
.sub a {
    font-family: 'Jalnan', sans-serif;
    font-size: 1.6rem;
    border-radius: .5rem;
    width: 100%;
    height: 7rem;
    text-align: center;
    margin: 2rem 0;
    display: flex;justify-content: center;align-items: center;
}
.sub a img {width: 1rem;margin-left: 1rem;}
.sub a.design1 {background-color: #005bea;color: #ffffff;}
.sub a.design2 {background-color: #29958b;color: #ffffff;}
.sub a.design3 {background-color: #ffffff;color: #0054e9;border: 1px solid #005bea;}
.sub .grid {
    display: grid;grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.sub .grid .grid_el {
    border: 1px solid #7facf2;
    border-radius: .7rem;
    height: 8rem;
    width: 100%;
    gap: 1rem;
    padding-left: 1.5rem;
    box-shadow: .1rem .1rem .3rem #bababa63;
    display: flex;align-items: center;
}
.sub .grid .grid_el img {
    width: 3rem;
}
.sub .grid .grid_el p {
    font-size: 1.6rem;
    color: #676666;
}





/* qna */
.qna .box {
    margin: 1rem 0;
    border-radius: .8rem;
    background-color: #f0f8ff;
}
.qna .box:first-of-type {margin-top: 2.5rem;}
.qna .box span {display: block;}
.qna .box .ques {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    color: #4e4b4b;
    background: url(../img/qna-down.png) no-repeat calc(100% - 2rem) center / 1rem;
    padding: 1.8rem 4rem 1.8rem 1.5rem;
}
.qna .box .ans {
    display: none;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    line-height: 1.6;
    font-size: 1.4rem;
    color: #4a4747;
}
.qna .box.on .ques {
    background: url(../img/qna-open.png) no-repeat calc(100% - 2rem) center / 1rem;
}
.qna .box.on .ans {
    display: block;
}
.pages {
    display: flex;justify-content: center;align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0 3rem;
}
.pages a {
    font-size: 1.4rem;
    font-weight: 300;
    color: #bababa;
}
.pages a.on {
    font-weight: bold;
    color: #454545;
}

















.news .newslink {
    height: 10rem;
    display: flex;
    gap: 1rem;
}
.news .newslink img {
    width: 100%;
    display: block;
    height: 100%;
    margin-left: 0;
    object-fit: cover;
}
.news .newslink span {
    width: 50%;
}
.news .newslink span h3 {
    font-size: 1.4rem;
    text-align: left;
    font-weight: bold;
    word-break: break-all;
    color: #373332;
    line-height: 1.4;
}
.news .newslink span .date {
    font-size: 1.2rem;
    color: #393534;
    text-align: left;
    line-height: 1.2;
    margin-top: 1rem;
}


