/* 공통 디자인 */
body {
    font-family: 'NanumSquareNeo';
    color: #333;
    padding-bottom:8rem;
}
* {
    box-sizing: border-box;
}
.inner {
    margin: 7rem 0 4rem;
}
#hanwhaB_font {
    color: #171c61;
    font-size: 2rem;
}

/* modal */
#logoutModal {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    z-index: 9999;
    top: 0;
}
#logoutModal .box {
    background: #fff;
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    margin: 0;
}
#logoutModal .box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #171c60;
}
#logoutModal .box > p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #666573;
    margin-bottom: 3rem;
}
#logoutModal .box .buttonWrap {
    display: flex;
    gap: 0.5rem;
}
#logoutModal .box .buttonWrap form {
    width: 50%;
}
#logoutModal .box .buttonWrap form button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2.5rem 0;
    background: #171c60;
    color: #fff;
    border-radius: 0.5rem;
}
#logoutModal .box .buttonWrap > button {
    width: 50%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2.5rem 0;
    border: 1px solid #a5a5a5;
    color: #5e5e5e;
    border-radius: 0.5rem;
}
#logoutModal .box > button {
    font-size: 1.4rem;
    border-bottom: 1px solid #333;
}
#logoutModal .withdraw {
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#logoutModal .withdraw p {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7b7b7b;
}
#logoutModal .withdraw p img {
    width: 1rem;
}
#logoutModal .withdraw button {
    font-size: 1.4rem;
}

#withdrawModal {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    z-index: 9999;
    top: 0;
}
#withdrawModal .box {
    background: #fff;
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
    padding: 3rem 1.5rem 3rem 1.5rem;
    margin: 0;
}
#withdrawModal .box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #171c60;
}
#withdrawModal .box > p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #666573;
    margin-bottom: 3rem;
}
#withdrawModal .box .buttonWrap {
    display: flex;
    gap: 1rem;
}
#withdrawModal .box .buttonWrap form {
    width: 50%;
}
#withdrawModal .box .buttonWrap form button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2.5rem 0;
    background: #171c60;
    color: #fff;
    border-radius: 0.5rem;
}
#withdrawModal .box .buttonWrap > button {
    width: 50%;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2.5rem 0;
    border: 1px solid #a5a5a5;
    color: #5e5e5e;
    border-radius: 0.5rem;
}

/* index */
#index {
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
#index .logo {
    width: 24rem;
    margin-bottom: 10rem;
}
#index .logo img {
    width: 100%;
}
#index .buttonWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}
#index .buttonWrap a {
    padding: 2.5rem 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background: #171c60;
    text-align: center;
}

/* header */
header {
    width: 100%; height: 6rem;
    position: fixed;
    left: 0; top: 0;
    text-align: center;
    /* padding-top: 1rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 100;
}
header a {
    display: block; height: 3.8rem;
}
header a img {
    display: block;
    height: 100%;
}
header button {
    width: 2rem;
    position: absolute;
    right: 1.5rem;
}
header button img {
    width: 100%;
}
footer {
    background-color: #fff;
    z-index: 100;
    height: 6rem;
    position: fixed;
    left: 0;bottom: 0;
    width: 100%;
    box-shadow: 0 .2rem .3rem rgba(0, 0, 0, .3);
}
footer ul {
    height: 100%;
    display: flex;justify-content: space-between;align-items: center;
}
footer ul li {
    width: 100%;
    height: 100%;
}
footer a {
    color: #0f1035;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    display: flex;justify-content: center;align-items: center;
    height: 100%;width: 100%;
    padding-top: 2.8rem;
}
footer ul li a::after {
    content: "";
    opacity: .3;
    position: absolute;
    width: 2rem;height: 2rem;
    left: 50%;top: 1rem;transform: translate(-50%, 0);
}
footer li:nth-of-type(1) a::after {background: url(../img/footer1-1.png) no-repeat center / contain;}
footer li:nth-of-type(2) a::after {background: url(../img/footer2-1.png) no-repeat center / contain;}
footer li:nth-of-type(3) a::after {background: url(../img/footer3-1.png) no-repeat center / contain;}
footer li:nth-of-type(4) a::after {background: url(../img/footer4-1.png) no-repeat center / contain;}

footer li:nth-of-type(1) a.on::after {background: url(../img/footer1.png) no-repeat center / contain;}
footer li:nth-of-type(2) a.on::after {background: url(../img/footer2.png) no-repeat center / contain;}
footer li:nth-of-type(3) a.on::after {background: url(../img/footer3.png) no-repeat center / contain;}
footer li:nth-of-type(4) a.on::after {background: url(../img/footer4.png) no-repeat center / contain;}

footer li a.on::after {opacity: 1;}


/* footer a.on {border-top: 2px solid #171c61;} */
/* home */
.home_top {
    padding: 2rem 1.5rem 2.5rem;
}
.home_info_title {
    font-size: 1.9rem;
    color: #171c61;
    margin-bottom: 1.5rem;
}
.home_info_cont {
    font-size: 1.5rem;
    line-height: 1.3;
    word-break: break-all;
}
.mid_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 1.5rem;
    margin-bottom: 2.5rem;
}
.mid_inner > li {
    width: 100%;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 7px;
}
.light_sky {
    background: #dcf2f1;
}
.sky {
    background: #7fc7d9;
}
.blue {
    background: #365486;
}
.deep_blue {
    background: #0f1035;
}
.yellow {
    background: #FEEC89;
}
.light {
    background-color: #D5E9FD;
}
.mid_inner > li > a {
    font-size: 1.7rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mid_inner > li > a .item_title p {
    font-size: 1.4rem;
    line-height: 1.3;
    color: #555;
}
.mid_inner > li > a .item_title h4 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}
.light_sky a , .sky a {
    color: #171c61;
    font-weight: 800;
}
.blue a .item_title h4, .deep_blue a .item_title h4 {
    color: #fff;
}
.mid_inner > .blue > a .item_title p, .mid_inner > .deep_blue > a .item_title p {
    color: #fff;
}
.home_ico {
    display: block;
    background: url(../img/btn.png) no-repeat center/contain;
    width: 1.8rem; height: 1.8rem;
}
.banner_inner {
    background: #feec89;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.mid_banner {
    font-size: 1.7rem;
    font-weight: 800;
    color: #595757;
}
.banner_inner > img {
    width: 15%;
}
.banner_ico {
    margin-top: 1.5rem;
}
.home-slide {
    padding: 0 1.5rem;
}
.home_news {
    margin-bottom: 2rem;
}
.news-link {
    display: flex;
    justify-content: space-between;
    max-height: 11rem;
}
.news-img {
    width: 48%;
    height: 100%;
}
.news-txt {
    width: 48%;
}
.news-txt > h2 {
    font-size: 1.6rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-weight: 700;
}
.news-txt > span {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 800;
    padding-top: 2rem;
}
.home_qna {
    margin-top: 2.5rem;
}
.home_qna-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem 1.5rem;
}
.home_qna-title .more {
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
    background: #DCDDDD;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
}
.home_qna_box {
    margin: 0 1.5rem;
    background: #d5e9fd;
    border-radius: .5rem;
}
.home_qna_top {
    font-size: 1.7rem;
    color: #606060;
    font-weight: 800;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
.home_qna_btm {
    font-size: 1.5rem;
    padding: 2rem 1.5rem;
    line-height: 1.4;
    font-weight: 700;
}
/* news */
.news-area2 {
    padding: 0 1.5rem 1rem;
}
.news-cont {
    margin-top: 1rem;
}
.news-link2 {
    height: 11rem;
}
.news-img2 {
    width: 48%;
    height: 100%;
    object-fit: cover;
}
.news-txt2 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 48%;
}
.news-txt2 > h2 {
    font-size: 1.5rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-weight: 700;
}
.news-txt2 > span {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 800;
}
/* qna */
.box {
    margin: 0 1.5rem;
    border: 1px solid #E8E8E8;
    margin-bottom: .2rem;
}
.box.open {
    background: #d5e9fd;
    border: none;
    border-radius: .5rem;
}
.question_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
}
.box.open .question_inner {
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
.question {
    color: #575655;
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1.3;
    max-width: 90%;
}
.qna_ico {
    background: url(../img/down.png) no-repeat center/contain;
    display: inline-block;
    width: 1.2rem; height: 1.2rem;
}
.box.open .qna_ico {
    background-image: url(../img/up.png);
}
.answer {
    padding: 2rem 1.5rem;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    display: none;
}
.box.open .answer {
    display: block;
}
/* sub */
.sub_inner {
    margin: 0 2rem;
    background: #F9FCFF;
    border: 1px solid #F2F2F2;
    border-radius: 1rem;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}
#hanwhaB_font.sub_title {
    font-size: 1.6rem;
    color: #171c61;
}
.sub_content {
    padding-top: 2rem;
    font-size: 1.4rem;
    line-height: 1.4;
}
.sub_content .point3 {
    font-size: 1.4rem;
    font-weight: 700;
}
/* apply */
.apply_area {
    margin: 2.5rem 0;
}
.apply_inner {
    background: #F0F6FC;
    border-radius: .8rem;
    margin: 0 2rem 2rem;
    padding-right: 2rem;
    box-shadow: rgba(0, 0, 0, 0.08) 1.95px 1.95px 5px;
}
.apply_area .apply_inner:nth-child(2),
.apply_area .apply_inner:nth-child(3) {
    padding-left: 2rem;
}
#hanwhaB_font.apply-title {
    font-size: 1.8rem;
    padding: 0 2rem;
}
.apply_direct {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0 1rem;
}
.apply_area .apply_inner:nth-child(2) .apply_direct,
.apply_area .apply_inner:nth-child(3) .apply_direct {
    padding: 2rem 0;
}
.apply_img1 {
    width: 27%;
}
.apply_img2 {
    width: 20%;
}
.apply_img3 {
    width: 20%;
}
.apply_text {
    display: flex;
}
.apply_text span {
    font-size: 1.6rem;
    color: #545252;
    font-weight: 800;
}
.apply_ico {
    display: block;
    width: 1.7rem; height: 1.7rem;
    background: url(../img/btn.png) no-repeat center/contain;
    margin-left: 1.5rem;
}
@media screen and (min-width: 700px) and (max-width: 1024px) {
    header {
        height: 10rem;
    }
    .inner {
        margin: 11rem 0 4rem;
    }
}






/* 연결페이지 */
#jump {
    padding-top: 6rem;
}
#jump h2 {
    font-family: "01HanwhaB";
    color: #171c61;
    font-size: 2rem;
    margin: 1rem 1.5rem 3rem;
}
#jump ul {
    margin: 1.5rem;
}
#jump ul li {}
#jump ul li a {
    height: 6rem;
    line-height: 1.2;
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: .5rem;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 .3rem rgba(0, 0, 0, .2);
    display: flex;align-items: center;
}
#jump li:nth-of-type(1) a {background: #dcf2f1 url(../img/btn.png) no-repeat calc(100% - 1.5rem) center / 2rem;color: #212b69;}
#jump li:nth-of-type(2) a {background: #7fc7d9 url(../img/btn.png) no-repeat calc(100% - 1.5rem) center / 2rem;color: #212b69;}
#jump li:nth-of-type(3) a {background: #365486 url(../img/btn.png) no-repeat calc(100% - 1.5rem) center / 2rem;color: #ffffff;}
#jump li:nth-of-type(4) a {background: #0f1035 url(../img/btn.png) no-repeat calc(100% - 1.5rem) center / 2rem;color: #ffffff;}
