* {
    box-sizing: border-box;
}
main {
    padding: 6rem 0 3rem;
}
:root {
    --border-ra: 1.3rem;
    --mb: 4rem;
}

/* index */
#indexImg {
    position: relative;
    width: 100%; min-height: 100vh;
    background-color: #F0F1FC;
}
#indexImg .logo {
    display: block;
    height: 15rem;
    position: absolute;
    left: 50%; top: 15%;
    transform: translateX(-50%);
}
#indexImg .index_img {
    display: block;
    width: 85%;
    position: absolute;
    left: 50%; bottom: 5%;
    transform: translateX(-50%);
}

/* header */
header {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 6rem;
    background: #D2D3F9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
}
header.sub {
    background: #fff;
}
header a {
    display: block;
    height: 1.5rem;
}
header a img {
    display: block;
    height: 100%;
}
header .back {
    position: absolute;
    left: 1.5rem; top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 1.8rem; height: 1.8rem;
    background: url(../img/back.png) no-repeat center/contain;
}

/* home */
.home_banner {
    display: block;
    background-color: #D2D3F9;
    height: 25rem;
    padding-top: 2rem;
    background-image: url(../img/main-img-1.png);
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 28rem;
}
.home_banner * {
    text-align: center;
}
.home_banner p {
    font-size: 1.6rem;
    color: #5451CE;
    margin-bottom: .7rem;
}
.home_banner h1 {
    font-size: 2.2rem;
    font-weight: 700;
}
.home_top_btns {
    padding: 1.5rem 1.5rem var(--mb);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home_top_btns li {
    width: calc(100% / 4 - .7rem);
}
.home_top_btns li a {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.home_top_btns li a .ico_box {
    width: 100%; height: 8rem;
    border: .1rem solid #CECEDB;
    border-radius: var(--border-ra);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 5rem;
}
.home_top_btns li:nth-child(1) a .ico_box {
    background-image: url(../img/main-icon-1.png);
}
.home_top_btns li:nth-child(2) a .ico_box {
    background-image: url(../img/main-icon-2.png);
}
.home_top_btns li:nth-child(3) a .ico_box {
    background-image: url(../img/main-icon-3.png);
}
.home_top_btns li:nth-child(4) a .ico_box {
    background-image: url(../img/main-icon-4.png);
}
.home_top_btns li a p {
    font-size: 1.6rem;
    font-weight: 500;
}
.home_big_btns {
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--mb);
}
.home_big_btns li {
    width: calc(50% - .7rem);
    height: 14rem;
}
.home_big_btns li a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 2rem;
    border-radius: var(--border-ra);
    height: 100%;
}
.home_big_btns li:nth-child(1) a {
    background-color: #D2D3F9;
}
.home_big_btns li:nth-child(2) a {
    background-color: #D2E8F7;
}
.home_big_btns li:nth-child(1) a .img_box {
    width: 9rem; height: 9rem;
    background: url(../img/main-img-2.png) no-repeat center/contain;
}
.home_big_btns li:nth-child(2) a .img_box {
    width: 8rem; height: 8rem;
    background: url(../img/main-img-3.png) no-repeat center/contain;
}
.home_big_btns li a p {
    font-size: 1.6rem;
    font-weight: 700;
}
.title {
    font-size: 1.9rem;
    font-weight: 700;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}
.home_long_btns {
    padding: 0 1.5rem var(--mb);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.home_long_btns li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: #F2F2F7;
    border-radius: var(--border-ra);
    padding: 1.5rem;
    font-size: 1.6rem;
    font-weight: 500;
}
.home_long_btns li .ico {
    display: block;
    width: 4rem; height: 4rem;
}
.home_long_btns li:nth-child(1) .ico {
    background: url(../img/main-icon-5.png) no-repeat center/contain;
}
.home_long_btns li:nth-child(2) .ico {
    background: url(../img/main-icon-6.png) no-repeat center/contain;
}
.home_long_btns li:nth-child(3) .ico {
    background: url(../img/main-icon-7.png) no-repeat center/contain;
}
.home_big_calc {
    margin: 0 1.5rem;
    display: block;
    background-color: #5451C4;
    border-radius: var(--border-ra);
    padding: 2.5rem 1.5rem;
    background-image: url(../img/main-img-4.png);
    background-repeat: no-repeat;
    background-position: 90% 75%;
    background-size: 15rem;
}
.home_big_calc * {
    color: #fff;
}
.home_big_calc h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}
.home_big_calc pre {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 2.5rem;
}
.home_big_calc span {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.7rem;
    font-weight: 600;
}
.home_big_calc span .arrow {
    display: block;
    width: 1.5rem; height: 1.5rem;
    background: url(../img/arrow-1.png) no-repeat center/contain;
    transform: rotate(90deg);
}

/* sub1 */
.sub_gif_box {
    border-bottom: .1rem solid #E2E2EA;
}
.sub_gif_box img {
    display: block;
    width: 100%;
}
.sub_sc {
    padding: 0 1.5rem var(--mb);
}
.sub_sc .title {
    padding: 3rem 0 0;
}
.sub_txt {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #58586A;
    word-break: break-all;
}
.sub_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sub_flex li {
    width: calc(50% - .7rem);
    border-radius: var(--border-ra);
    background: #F2F2F7;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sub_flex li img {
    display: block;
    height: 4rem;
    object-fit: contain;
}
.sub_flex li p {
    font-size: 1.6rem;
    font-weight: 700;
}
.sub_flex li .sub_txt {
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: -1px;
}
.home_top_btns.sub {
    padding: 0 1.5rem;
}

/* sub2 */
.sub2_list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}
.sub2_list li {
    background: #F2F2F7;
    padding: 1.5rem;
    border-radius: var(--border-ra);
    line-height: 1.4;
    color: #58586A;
    font-size: 1.5rem;
}

/* sub3 */
.sub3_list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-bottom: 2rem;
}
.sub3_list li {
    width: calc(50% - .7rem);
    border: .1rem solid #CBCBD9;
    background: #F2F2F7;
    border-radius: var(--border-ra);
    padding: 1.5rem;
    height: 10.2rem;
}
.sub3_list li p {
    text-align: center;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.sub3_list li span {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    color: #3B3BA6;
    line-height: 1.3;
    word-break: break-all;
    letter-spacing: -1px;
}
.sub3_box.top {
    margin-bottom: 1.5rem;
}
.sub3_box .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F2F2F7;
    border: .1rem solid #D4D4DF;
    border-radius: var(--border-ra);
    padding: 1.5rem;
}
.sub3_box.open .top {
    background: #3A3AA5;
    border-color: #3A3AA5;
    border-radius: 1.3rem 1.3rem 0 0;
}
.sub3_box .top p {
    font-size: 1.6rem;
    font-weight: 500;
}
.sub3_box.open .top p {
    color: #fff;
}
.sub3_box .top .arrow {
    display: block;
    width: 1.7rem; height: 1.7rem;
    background: url(../img/arrow-4.png) no-repeat center/contain;
}
.sub3_box.open .top .arrow {
    background-image: url(../img/arrow-1.png);
}
.sub3_box pre {
    display: none;
    background: #F2F2F7;
    padding: 1.5rem;
    border-radius: 0 0 1.3rem 1.3rem;
    font-size: 1.6rem;
    color: #70707F;
    line-height: 1.4;
}
.sub3_box.open pre {
    display: block;
}
.sub3_box pre b {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5451C4;
    display: inline-block;
    padding-bottom: 1.5rem;
}
.sub3_box pre span {
    color: #8D8D9B;
    font-size: 1.6rem;
} 

/* sub4 */
.sub_tab {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.sub_tab li {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sub_tab li p {
    font-size: 1.6rem;
    color: #6E6E7D;
}
.sub_tab li .ico {
    display: block;
    width: 2.3rem; height: 2.3rem;
    background: url(../img/radio-button-off.png) no-repeat center/contain;
}
.sub_tab li.on .ico {
    background-image: url(../img/radio-button-on.png);
}
.sub4_cont {
    display: none;
    margin-bottom: 1.5rem;
    background: #F2F2F7;
    padding: 1.5rem;
    border-radius: var(--border-ra);
}
.sub4_cont.on {
    display: block;
}
.sub4_cont p {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3131A1;
    margin-bottom: 2rem;
}
.sub4_cont span {
    display: block;
    text-align: center;
    font-size: 1.7rem;
    color: #5D5D6E;
    padding-bottom: 3rem;
}
.sub4_txt {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #9292A0;
    padding-bottom: 2rem;
}
.apply_list {
    margin-bottom: 2rem;
}
.apply_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.apply_list li .img_box {
    width: 38%; height: 13rem;
    background-color: #D2D3F9;
    border-radius: var(--border-ra);
    background-image: url(../img/sub-img-3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7.5rem;
}
.apply_list li .right {
    max-width: 57%;
}
.apply_list li .right p {
    font-size: 1.8rem;
    font-weight: 700;
    color: #524FC3;
    margin-bottom: 2rem;
}
.apply_list li .right span {
    color: #656576;
    line-height: 1.4;
    font-size: 1.6rem;
}
.sub4_txt.btm {
    padding-bottom: 0;
}

/* sub5 */
.sub5_list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sub5_list li {
    background: #F2F2F7;
    padding: 1.5rem;
    border-radius: var(--border-ra);
}
.sub5_list li pre {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #5E5E6F;
}
.sub5_list li pre span {
    font-size: 1.6rem;
    line-height: 1.4;
    color: #8C8C9B;
}

/* self_test */
.test_img {
    padding: 1rem 5rem;
}
.test_img img {
    display: block;
    width: 100%;
}
.test_text {
    padding: 3rem 1.5rem;
}
.test_text p {
    font-size: 1.8rem;
    color: #3838A4;
    font-weight: 700;
    text-align: center;
    margin-bottom: .7rem;
}
.test_text span {
    font-size: 1.6rem;
    text-align: center;
    display: block;
}
#test_form {
    padding: 0 1.5rem;
}
#test_form .q_box p {
    font-size: 1.7rem;
    font-weight: 700;
    color: #3030A0;
    margin-bottom: 1rem;
}
#test_form .q_box span {
    display: block;
    font-size: 1.6rem;
    color: #58586A;
    line-height: 1.4;
    margin-bottom: 2rem;
}
#test_form .q_box span b {
    display: block;
    font-size: 1.6rem;
    color: #8C8C9B;
    line-height: 1.4;
}
#test_form .q_box .btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}
#test_form .q_box .btns button {
    display: block;
    padding: 1.3rem 1rem;
    width: 6.7rem;
    font-size: 1.6rem;
    color: #6A6A7A;
    border-radius: 2rem;
    background: #F2F2F7;
    border: .1rem solid transparent;
}
#test_form .q_box .btns button.on {
    border-color: #4343D1;
    background: #E6E6FF;
    color: #3A3AA5;
    font-weight: 700;
}
.submit {
    display: block;
    text-align: center;
    padding: 2rem 0;
    border-radius: var(--border-ra);
    background: #F2F2F7;
    color: #939392;
    font-size: 1.7rem;
    width: 100%;
}
.submit.on {
    background: #D2D3F9;
    color: #3636A3;
    font-weight: 700;
}

/* test_result */
.test_result_sc {
    padding: 1rem 1.5rem;
}
.test_result_sc .img_box {
    height: 17rem;
    border-radius: var(--border-ra);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26rem;
}
.test_result_sc .poss_img_box {
    background-color: #F5F5FC;
    background-image: url(../img/sub-img-5.png);
}
.test_result_sc .imposs_img_box {
    background-color: #FCF5F7;
    background-image: url(../img/sub-img-6.png);
}
.test_result_sc h2 {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    margin-top: 3rem;
}
.test_result_sc h2 span {
    font-size: 2.1rem;
    font-weight: 700;
}
.test_result_sc h2 span.red {
    color: #ED1B43;
}
.test_result_sc h2 span.blue {
    color: #3A3AA5;
}
.test_result_sc p {
    font-size: 1.8rem;
    color: #5C5C6D;
    margin-top: 1rem;
    text-align: center;
}
.result_btns {
    position: absolute;
    left: 50%; bottom: 3rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 90%;
}
.result_btns a {
    display: block;
    padding: 2rem 0;
    text-align: center;
    border-radius: var(--border-ra);
    font-size: 1.7rem;
    font-weight: 700;
    color: #115DB8;
    width: 100%;
}
.result_btns a:nth-child(1) {
    background: #D2E8F7;
}
.result_btns a:nth-child(2) {
    background: #D2D3F9;
    color: #3535A2;
}

/* toggle1 */
.toggle_sec {
    padding: 1rem 1.5rem;
}
.toggle_sec .title {
    padding: 0;
}
.toggle_top {
    padding: 2rem 1.5rem;
    border-radius: var(--border-ra);
    display: block;
    background: #F2F2F7;
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: var(--mb);
}
.toggle_top span {
    color: #3A3AA5;
    font-weight: 700;
    font-size: 1.6rem;
}
.toggle_cont_box {
    margin-bottom: var(--mb);
}
.toggle_cont_box p {
    color: #3030A0;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}
.toggle_cont_box span {
    display: block;
    font-size: 1.6rem;
    color: #5C5C6E;
    margin-bottom: .7rem;
}
.toggle_cont_box b {
    color: #8C8C9B;
    font-size: 1.6rem;
    line-height: 1.3;
}
.sub3_box.toggle {
    margin-bottom: 1.5rem;
}
.toggle_btns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}
.toggle_btns a {
    display: block;
    text-align: center;
    padding: 2rem 0;
    border-radius: var(--border-ra);
    font-size: 1.7rem;
    font-weight: 700;
}
.toggle_btns a:nth-child(1) {
    background: #D2E8F7;
    color: #0B59B6;
}
.toggle_btns a:nth-child(2) {
    background: #D2D3F9;
    color: #3131A0;
}

/* qna */
.qna_sc {
    padding: 0 1.5rem;
}
.qna_box .que_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: .1rem solid #CBCBD9;
}
.qna_box .que_inner .left {
    max-width: 85%;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.qna_box .que_inner .que {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-all;
    max-width: 90%;
}
.qna_box .que_inner .q_ico {
    display: block;
    width: 2rem; height: 2rem;
    background: url(../img/question.png) no-repeat center/contain;
}
.qna_box .que_inner .arrow {
    display: block;
    width: 1.5rem; height: 1.5rem;
    background: url(../img/arrow-4.png) no-repeat center/contain;
}
.qna_box.open .que_inner .arrow {
    background-image: url(../img/arrow-3.png);
}
.qna_box .ans {
    display: none;
    padding: 2rem 1.5rem;
    background: #F2F2F7;
    border-bottom: .1rem solid #E6E6EC;
    font-size: 1.6rem;
    color: #59596B;
    line-height: 1.4;
}
.qna_box.open .ans {
    display: block;
}
.qna_box .ans b {
    font-size: 1.7rem;
    font-weight: 600;
    display: inline-block;
    padding-bottom: .5rem;
}
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap: .5rem;
}
#pagination button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    width: 3rem; height: 3rem;
    border-radius: .5rem;
    color: #858585;
}
#pagination button.active {
    background: #3A3AA5;
    color: #fff;
}

/* calc */
.container {
    padding: 1rem 1.5rem;
}
.container .title {
    padding: 0;
}
.btnWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F2F2F7;
    border-radius: var(--border-ra);
    margin-bottom: var(--mb);
}
.btnWrap li {
    padding: 2rem 0;
    text-align: center;
    width: calc(100% / 3);
}
.btnWrap li.selectLabel {
    background: #3A3AA5;
    border-radius: var(--border-ra);
}
.btnWrap li em {
    font-size: 1.5rem;
    color: #9696A4;
}
.btnWrap li.selectLabel em {
    color: #fff;
    font-weight: 700;
}
.amoutWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.amoutWrap h3 {
    font-size: 1.7rem;
    font-weight: 500;
}
.amoutWrap label {
    border: .1rem solid #E3E3EB;
    width: 75%;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-ra);
}
.amoutWrap label input {
    width: 80%;
    padding: 1.5rem 0;
    font-size: 1.7rem;
}
.amoutWrap label input:focus {
    outline: none;
}
.amoutWrap label input::placeholder {
    color: #8A8A99;
}
.amoutWrap label span {
    color: #5D5D6E;
    font-size: 1.7rem;
}
.redempWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.redempWrap h3 {
    font-size: 1.7rem;
    font-weight: 500;
}
.redempWrap label {
    border: .1rem solid #E3E3EB;
    width: 75%;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-ra);
}
.redempWrap label input {
    width: 80%;
    padding: 1.5rem 0;
    font-size: 1.7rem;
}
.redempWrap label input::placeholder {
    color: #8A8A99;
}
.redempWrap label input:focus {
    outline: none;
}
.redempWrap label span {
    color: #5D5D6E;
    font-size: 1.7rem;
}
.yearInterestWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.yearInterestWrap h3 {
    font-size: 1.7rem;
    font-weight: 500;
}
.yearInterestWrap label {
    border: .1rem solid #E3E3EB;
    width: 75%;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-ra);
}
.yearInterestWrap label input {
    width: 80%;
    padding: 1.5rem 0;
    font-size: 1.7rem;
}
.yearInterestWrap label input::placeholder {
    color: #8A8A99;
}
.yearInterestWrap label input:focus {
    outline: none;
}
.yearInterestWrap label span {
    color: #5D5D6E;
    font-size: 1.7rem;
}
.btnBlock {
    margin: 3rem 0 1.5rem;
}
.btnBlock .btn {
    font-size: 1.8rem;
    background: #D2D3F9;
    width: 100%;
    border: .1rem solid #D2D3F9;
    border-radius: var(--border-ra);
    padding: 2rem 0;
    color: #3A3AA5;
    font-weight: 700;
}
.reset {
    display: block;
    font-size: 1.8rem;
    background: #F2F2F7;
    width: 100%;
    border: .1rem solid #DEDEE8;
    border-radius: var(--border-ra);
    padding: 2rem 0;
    color: #525255;
    font-weight: 700;
    text-align: center;
}
.errorBlock{
    padding: 3rem 1.5rem;
}
.resultBox.Show {
    background: #F2F2F7;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-ra);
}
.totalList {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.totalList h2 {
    font-size: 1.7rem;
    color: #616171;
}
.totalList p em,
.totalList p span {
    font-size: 1.7rem;
    font-weight: 500;
}
.totalBtm {
    padding-top: 2rem;
}
.totalRepaymentAmount2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.totalRepaymentAmount2 h2 {
    font-size: 1.8rem;
    font-weight: 500;
}
.totalRepaymentAmount2 p em {
    color: #3232A1;
    font-weight: 700;
    font-size: 1.8rem;
}
.totalRepaymentAmount2 p span {
    font-size: 1.7rem;
    font-weight: 500;
}
.totalInterest2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.totalInterest2 h2 {
    font-size: 1.8rem;
    font-weight: 500;
}
.totalInterest2 p em {
    color: #3232A1;
    font-weight: 700;
    font-size: 1.8rem;
}
.totalInterest2 p span {
    font-size: 1.7rem;
    font-weight: 500;
}