header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
}
header h1 {
    width: 12rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 2.5rem;
}
header #menuBtn img {
    width: 100%;
}

.navBg {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 8888;
}
nav {
    background-color: #fff;
    display: flex;
    flex-flow: column nowrap;
    width: 70%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    padding: 6rem 0;
}
nav button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
}
nav button img {
    width: 100%;
}
nav a {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
}
nav a img {
    width: 2rem;
}

main {
    padding: 3rem 1.5rem 10rem;
}
main > h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}
main .bnr {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    background-color: #100138;
    height: 20rem;
    background-image: url(../img/main-btn-3.png);
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: right 1rem bottom 1rem;
    margin-bottom: 3rem;
}
main .bnr p {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
}
main .bnr a {
    font-size: 1.6rem;
    color: #100138;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    border-radius: 1rem;
    background: #fff;
    font-weight: 600;
    width: max-content;
}
main .bnr a img {
    width: 1rem;
}
main .menuWrap {
    display: flex;
    gap: 1rem;
    height: 20rem;
    margin-bottom: 3rem;
}
main .menuWrap > a {
    border-radius: 1rem;
    height: 100%;
    background-color: #d7cfff;
    background-image: url(../img/main-btn-2.png);
    background-repeat: no-repeat;
    background-size: 8rem;
    background-position: right 1.5rem bottom 1.5rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    width: 50%;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    padding: 1.5rem;
    color: #0c0033;
}
main .menuWrap .menu {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    width: 50%;
}
main .menuWrap .menu a {
    height: 50%;
    width: 100%;
    border-radius: 1rem;
    background-color: #a896ec;
    background-image: url(../img/main-btn-1.png);
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: right 1rem bottom 1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    padding: 1.5rem;
}
main .menuWrap .menu a:nth-of-type(2) {
    background-color: #a2a1fc;
    background-image: url(../img/main-btn-5.png);
    background-size: 6rem;
}
main .homeBtn {
    border-radius: 1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    background: #f2eeff;
    margin-bottom: 8rem;
}
main .homeBtn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    padding: 2rem 1.5rem;
}
main .homeBtn a img {
    width: 5rem;
}
main .newsWrap {
    margin-bottom: 6rem;
}
main .newsWrap h2 {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
main .newsWrap h2 a {
    width: 3rem;
}
main .newsWrap h2 a img {
    width: 100%;
}
main .qnaWrap {}
main .qnaWrap h2 {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
main .qnaWrap h2 a {
    width: 3rem;
}
main .qnaWrap h2 a img {
    width: 100%;
}
main .qnaWrap .qna {
    display: flex;
    flex-flow: column nowrap;
}
main .qnaWrap .qna a {
    font-size: 1.6rem;
    font-weight: 600;
    border-bottom: 1px solid #6e6e6e;
    padding: 1rem 0;
}

/* 서브 */
main .box {
    background-image: url(../img/icon-14.png);
    background-color: #f8f8f8;
    background-size: cover;
    padding: 8rem 1.5rem 12rem;
    position: relative;
}
main .box h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #3718a1;
    margin-bottom: 3rem;
}
main .box pre {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 3rem;
}
main .box pre em {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3718a1;
}
main .box pre b {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: inline-block;
}
main .box .step {
    border-radius: 1rem;
    background-color: #d7cfff;
    background-image: url(../img/icon-10.png);
    background-repeat: no-repeat;
    background-size: 3rem;
    background-position: top right;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    font-size: 1.8rem;
    font-weight: 900;
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
}
main .box a {
    padding: 2rem 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background-color: #110239;
    background-image: url(../img/arrow-1.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: right 1.5rem center;
    display: block;
    border-radius: 1rem;
    position: absolute;
    bottom: 4rem;
    width: 100%;
    left: 0;
}

/* 계산기 */
main #calcFrm {}
main #calcFrm div {}
main #calcFrm div h3 {
    font-size: 1.8rem;
    font-weight: 800;
    padding: 1.5rem 0;
    background: #c4c0ff;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 3rem;
}
main #calcFrm div .inputWrap {
    margin-bottom: 3rem;
}
main #calcFrm div .inputWrap h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
main #calcFrm div .inputWrap .input {
    position: relative;
    border-radius: 1rem;
    border: 1px solid #414141;
    overflow: hidden;
}
main #calcFrm div .inputWrap .input input {
    padding: 2rem 6rem 2rem 1.5rem;
    font-size: 1.6rem;
    background: #f8f8f8;
}
main #calcFrm div .inputWrap .input span {
    font-size: 1.6rem;
    font-weight: 600;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}
main #calcFrm button {
    padding: 2rem 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background-color: #110239;
    border-radius: 1rem;
    width: 100%;
}
main .result {}
main .result .content {
    margin-bottom: 4rem;
}
main .result .content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    padding: 1.5rem 0;
    background: #c4c0ff;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}
main .result .content p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}
main .result .content .inputWrap {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
main .result .content .inputWrap:nth-of-type(1) {
    margin-top: 3rem;
}
main .result .content .inputWrap h4 {
    width: 10rem;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.5rem 0;
    text-align: center;
    border-radius: 1rem;
    border: 1px solid #110239;
}
main .result .content .inputWrap .input {
    width: calc(100% - 10rem);
    position: relative;
    border-radius: 1rem;
    border: 1px solid #414141;
    overflow: hidden;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
}
main .result .content .inputWrap .input input {
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    padding: 0 6rem 0 1.5rem;
}
main .result .content .inputWrap .input span {
    font-size: 1.6rem;
    font-weight: 600;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}
main .reCalc {
    background-image: none;
    text-align: center;
}

/* 질문 */
main > .qna {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}
main > .qna .open {}
main > .qna .open h3 {
    color: #777777;
    border-radius: 1rem;
    border: 1px solid #d8d5fe;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    font-weight: 800;
    line-height: 1.4;
}
main > .qna .open h3 img {
    width: 2rem;
}
main > .qna .open pre {
    font-size: 1.4rem;
    padding: 1.5rem;
    line-height: 1.4;
    border-bottom: 1px solid #351ea3;
    border-right: 1px solid #351ea3;
    border-left: 1px solid #351ea3;
}

/* 뉴스 */
main .news {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}
main .news a {
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 2rem 1rem;
    display: flex;
    gap: 1rem;
}
main .news a .image {
    width: 45%;
    height: 12rem;
    border-radius: 1rem;
    overflow: hidden;
}
main .news a .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main .news a .text {
    width: 55%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}
main .news a .text h3 {
    font-size: 1.6rem;
    font-weight: 800;
}
main .news a .text p {
    font-size: 1.4rem;
    line-height: 1.4;
}
main .news a .text .date {
    font-size: 1.4rem;
    color: #a0a0a0;
}
main .mainNews {
    display: flex;
    flex-flow: column nowrap;
}
main .mainNews a {
    border-bottom: 1px solid #6e6e6e;
    padding: 1rem 0;
}
main .mainNews a h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
main .mainNews a .date {
    font-size: 1.4rem;
    color: #a0a0a0;
}