body {
    background: #f8f8f8;
}

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;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, .2);
}
header h1 {
    width: 13rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 2.5rem;
}
header #menuBtn img {
    width: 100%;
}
header.testHeader {
    box-shadow: none;
    background: #f8f8f8;
    justify-content: center;
}
header.testHeader h2 {
    font-size: 1.6rem;
    font-weight: 600;
}
header.testHeader #backBtn {
    position: absolute;
    left: 1.5rem;
    width: 1.2rem;
}
header.testHeader #backBtn 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: 8rem 1.5rem 2rem;
    overflow-y: auto;
}
nav h2 {
    font-size: 1.8rem;
    font-weight: 900;
    padding: 1rem 0;
}
nav .sub {
    display: flex;
    flex-flow: column nowrap;
    margin-bottom: 3rem;
}
nav .sub a {
    padding: 1.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #7e7e7e;
}
nav > a {
    font-size: 1.8rem;
    font-weight: 900;
    padding: 2rem 0;
}
nav button {
    width: 3rem;
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
}
nav button img {
    width: 100%;
}

main {
    padding: 4rem 1.5rem 10rem;
}
main .bnr {
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    gap: 1rem;
    background-color: #e2e2e2;
    margin-bottom: 4rem;
    height: 25rem;
    background-image: url(../img/main-btn-3.png);
    background-repeat: no-repeat;
    background-size: 15rem;
    background-position: right 1.5rem top 1.5rem;
}
main .bnr h2 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.4;
}
main .bnr h2 em {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0a00ff;
}
main .bnr p {
    font-size: 1.4rem;
    line-height: 1.4;
}
main .bnr a {
    font-size: 1.4rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    background: #0299e8;
    width: max-content;
    display: flex;
    align-items: center;
    gap: 2rem;
}
main .bnr a img {
    width: 2.5rem;
}
main .menu {
    display: flex;
    flex-flow: column nowrap;
    gap: 3rem;
    padding-bottom: 3rem;
}
main .menu a {
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    background-color: #ebf8fe;
    background-image: url(../img/main-btn-4.png);
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: right bottom 2rem;
    height: 12rem;
}
main .menu a:nth-of-type(2) {
    background-image: url(../img/main-btn-1.png);
}
main .menu a:nth-of-type(3) {
    background-image: url(../img/main-btn-2.png);
}
main .menu a h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
main .menu a p {
    font-size: 1.4rem;
    line-height: 1.4;
}
main .newsWrap {
    padding: 3rem 0;
}
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 .newsWrap .news {
    display: flex;
    flex-flow: column nowrap;
    border-top: 1px solid #7cc9f0;
}
main .newsWrap .news a {
    padding: 1.5rem 0;
    border-bottom: 1px solid #7cc9f0;
}
main .newsWrap .news a h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
main .newsWrap .news a p {
    font-size: 1.4rem;
    color: #ababab;
}
main .qnaWrap {
    padding-top: 3rem;
}
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;
    border-top: 1px solid #7cc9f0;
}
main .qnaWrap .qna a {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.5rem 0;
    border-bottom: 1px solid #7cc9f0;
    line-height: 1.4;
}
main .qnaWrap .qna a span {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0299e8;
}

/* 서브 */
main .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
main .location span {
    font-size: 1.4rem;
    color: #878787;
}
main .location span:last-child {
    color: #333;
    font-weight: 600;
}
main .location img {
    width: 1rem;
}
main .linkSel {
    position: relative;
    margin-bottom: 4rem;
    background-color: #fff;
}
main .linkSel > a {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    height: 5rem;
    border-radius: 1rem;
    border: 1px solid #0299e8;
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    background-image: url(../img/arrow-2.png);
    background-repeat: no-repeat;
    background-size: 3rem;
    background-position: right 1.5rem center;
}
main .linkSel .linkOption {
    display: none;
    flex-flow: column nowrap;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #0299e8;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    overflow: hidden;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}
main .linkSel .linkOption.show {
    display: flex;
}
main .linkSel .linkOption a {
    font-size: 1.6rem;
    padding: 1.5rem;
    border-bottom: 1px solid #0299e8;
}
main .linkSel .linkOption a:last-child {
    border: none;
}
main > h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
}
main > h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
main > pre {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}
main > pre:last-child {
    margin: 0;
}
main > pre b {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #0a00ff;
    font-weight: 600;
}
main > pre span {
    font-size: 1.4rem;
    color: #a2a2a2;
}
main .chart {
    width: 100%;
    overflow-y: auto;
    margin-bottom: 2rem;
}
main .chart img {
    width: 50rem;
}
main > a {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    border-radius: 1rem;
    background: #0299e8;
    padding: 2rem 1.5rem;
    background-image: url(../img/arrow-3.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: right 1.5rem center;
    display: block;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}
main > a.link {
    background-image: none;
    background-color: #4a70ff;
    color: #fff;
    padding: 1rem;
    font-size: 1.4rem;
    width: max-content;
    margin: 1rem 0 6rem;
}
main .step {
    border-radius: 1rem;
    background-color: #0299e8;
    background-image: url(../img/sub2-btn-1.png);
    background-repeat: no-repeat;
    background-size: 5rem;
    background-position: right 1.5rem center;
    height: 11rem;
    padding: 1.5rem;
    color: #fff;
    line-height: 1.4;
    font-size: 1.6rem;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}
main .step:nth-of-type(6) {
    background-image: url(../img/sub2-btn-4.png);
}
main .step:nth-of-type(7) {
    background-image: url(../img/sub2-btn-5.png);
}
main .step:nth-of-type(3) {
    background-image: url(../img/sub2-btn-1.png);
}
main .step:nth-of-type(4) {
    background-image: url(../img/sub2-btn-2.png);
}
main .step:nth-of-type(5) {
    background-image: url(../img/sub2-btn-3.png);
}
main .step h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

/* 은행 */
main #filterFrm {
    display: flex;
    gap: 1rem;
}
main #filterFrm .typeSel {
    width: 40%;
    position: relative;
    margin-bottom: 4rem;
    background-color: #fff;
}
main #filterFrm .typeSel > a {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    height: 5rem;
    border-radius: 1rem;
    border: 1px solid #0299e8;
    font-size: 1.4rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    background-image: url(../img/arrow-4.png);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: right 1.5rem center;
}
main #filterFrm .typeSel .typeOption {
    display: none;
    flex-flow: column nowrap;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #0299e8;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    overflow: hidden;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}
main #filterFrm .typeSel .typeOption a {
    font-size: 1.4rem;
    padding: 1.5rem;
    border-bottom: 1px solid #0299e8;
    color: #bababa;
}
main #filterFrm .typeSel .typeOption a:last-child {
    border: none;
}
main #filterFrm input {
    background-image: url(../img/search.png);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: right 1.5rem center;
    border-radius: 1rem;
    border: 1px solid #0299e8;
    width: 60%;
    height: 5rem;
    padding: 0 1.5rem;
    font-size: 1.4rem;
}
main .bankWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}
main .bankWrap .bank {
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid #0299e8;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.6rem;
    background: #fff;
    border-radius: 1rem;
}
main .pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}
main .pagination a {
    font-size: 1.4rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
main .pagination a img {
    width: 30%;
}
main .pagination a.active {
    color: #0299e8;
}

/* 뉴스 */
main > .news {
    display: flex;
    flex-flow: column nowrap;
}
main > .news a {
    padding: 1.5rem 0;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #090909;
}
main > .news a .image {
    width: 45%;
    border-radius: 1rem;
    overflow: hidden;
}
main > .news a .image img {
    width: 100%;
    height: 12rem;
    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.4rem;
    font-weight: 800;
    line-height: 1.4;
}
main > .news a .text p {
    font-size: 1.4rem;
    line-height: 1.4;
}
main > .news a .text .date {
    font-size: 1.2rem;
    text-align: right;
}

/* 질문 */
main > .qna {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main > .qna .open {
    border: 1px solid #0299e8;
    border-radius: 1rem;
    overflow: hidden;
}
main > .qna .open h3 {
    padding: 2rem 3rem 2rem 1rem;
    font-size: 1.6rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}
main > .qna .open h3 span {
    font-size: 1.6rem;
}
main > .qna .open h3 img {
    width: 2rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
main > .qna .open pre {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 1rem;
    background-color: #fff;
}

/* 테스트 */
main #testFrm {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
}
main #testFrm section {
    width: 100%;
}
main #testFrm .status {
    margin-bottom: 2rem;
}
main #testFrm .status .num {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
main #testFrm .status .num span {
    font-size: 2rem;
    font-weight: 900;
    color: #0302ff;
}
main #testFrm .status .gage {
    height: 0.1rem;
    width: 12rem;
    background: #1d1d1d;
}
main #testFrm .status .gage .bar {
    background: #0302ff;
    height: 0.1rem;
}
main #testFrm .icon {
    width: 15rem;
    margin-bottom: 3rem;
}
main #testFrm .icon img {
    width: 100%;
}
main #testFrm h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 3rem;
}
main #testFrm .inputWrap {
    position: relative;
    height: 12rem;
    width: 100%;
    margin-bottom: 2rem;
}
main #testFrm .inputWrap input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
main #testFrm .inputWrap label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid #535353;
    border-radius: 1rem;
    overflow: hidden;
}
main #testFrm .inputWrap label h4 {
    font-size: 2rem;
    font-weight: 900;
}
main #testFrm .inputWrap label p {
    font-size: 1.6rem;
}
main #testFrm .inputWrap input:checked + label {
    background: #7fd1f6;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    border: none;
}
main #testFrm > button {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background: #0299e8;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 2rem 0;
    width: 100%;
    margin-top: 4rem;
}
#resultModal {
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
#resultModal .result > img {
    width: 3rem;
    position: absolute;
    left: 1.5rem;
    top: -0.5rem;
}
#resultModal .result {
    border-radius: 1rem;
    background: #fff;
    position: relative;
    width: 100%;
    text-align: center;
}
#resultModal .result h2 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 3rem 0;
}
#resultModal .result .recommend {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
}
#resultModal .result .recommend img {
    width: 3rem;
}
#resultModal .result .recommend strong {
    font-size: 3rem;
    font-weight: 900;
    color: #0299e8;
    line-height: 1.2;
    width: max-content;
}
#resultModal .result .buttonWrap {
    display: flex;
    border: 1px solid #015581;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
#resultModal .result .buttonWrap button {
    width: 50%;
    background: #0299e8;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2rem 0;
}
#resultModal .result .buttonWrap button:first-child {
    border-right: 1px solid #015581;
}
main .testLink {
    background-color: #000000;
    border-radius: 1rem;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    margin: 5rem 0 6rem;
}
main .testLink a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}
main .testLink a img {
    width: 2rem;
}