.navBg {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 8888;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    height: 5rem;
    margin-bottom: 2rem;
}
header h1 a img {
    width: 15rem;
}
header button img {
    width: 1.3rem;
}
header .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
header .nav a {
    font-size: 1.6rem;
    font-weight: 600;
    color: #c7cdd5;
}

main {
    padding: 0 1.5rem 5rem;
}


::-webkit-scrollbar {
    display: none;
}

.title {
    margin-bottom: 1.5rem;
}
.title.df {
    display: flex;
    flex-direction: column;
}
.title.sb {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #222f42;
}
.title .more {
    font-size: 1.5rem;
    font-weight: 500;
    color: #868d96;
}
.title p {
    font-size: 1.5rem;
    font-weight: 400;
    color: #5b636a;
    margin-top: 0.5rem;
}


/* home */
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -1.5rem;
    padding: 1.5rem;
    background: linear-gradient(to right, #326cff, #3283ff)
}
.banner .content {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.banner .content span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.7;
}
.banner .content p {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
}
.banner img {
    width: 7rem;
}

.home-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
}
.home-top .menu-item {
    width: calc(100% / 5 - 0.8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #5b7397;
}
.home-top .menu-item .img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    border-radius: 1rem;
    background-color: #edf2f9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-top img {
    width: 3.5rem;
}

.home-aLink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    background-color: #cce3ff;
    border-radius: 1rem;
    margin-bottom: 5rem;
}
.home-aLink .content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.home-aLink .content span {
    font-size: 1.5rem;
    font-weight: 500;
    color: #408bfc;
}
.home-aLink .content p {
    font-size: 2rem;
    font-weight: 800;
    color: #222f42;
}
.home-aLink img {
    width: 7rem;
}

.home-dictionary-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.dictionary-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: #edf2f9;
    width: 20rem;
    height: 13.6rem;
    flex: 0 0 auto;
}
.dictionary-item img {
    width: 1.5rem;
}
.dictionary-item .title.sb {
    width: 100%;
    margin-bottom: 0;
}
.dictionary-item .title.sb h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222f42;
}
.dictionary-item pre {
    font-size: 1.5rem;
    font-weight: 700;
    color: #70777e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qna-wrapper.home .question img {
    width: 1rem;
}





/* qna */
.qna {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.qna-wrapper {
    border-radius: 1rem;
    border: 0.1rem solid #f1f2f4;
    overflow: hidden;
}
.qna-wrapper .question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}
.qna-wrapper .question img {
    width: 1.5rem;
    margin-left: 0.5rem;
}
.qna-wrapper .question h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #222f42;
    line-height: 1.4;
}
.qna-wrapper .question h3 span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #8c9298;
    line-height: 1.4;
    display: inline-block;
    margin-right: 0.5rem;
}
.qna-wrapper pre {
    font-size: 1.6rem;
    font-weight: 400;
    color: #83888d;
    line-height: 1.4;
    padding: 2rem;
    background-color: #f2f4f7;
}




/* search */
::placeholder {
    font-weight: 400;
    color: #b5bec1;
}
.search-wrap {
    border-radius: 5rem;
    border: 0.1rem solid #e4e8ea;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    margin-bottom: 5rem;
}
.search-wrap input {
    width: 90%;
    padding: 1.3rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}
.search-wrap button {
    width: 10%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.search-wrap button img {
    width: 2rem;
}

.word-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.word-wrap .word-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #edf2f9;
    font-size: 1.8rem;
    font-weight: 700;
    color: #222f42;
}
.word-wrap .word-item img {
    width: 2rem;
}

.section.wordDetail pre {
    font-size: 1.6rem;
    font-weight: 400;
    color: #83888d;
    line-height: 1.4;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #f2f4f7;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}
.pagination a {
    font-size: 1.8rem;
    font-weight: 400;
    color: #969696;
    padding: 0 1rem;
}
.pagination .pd05 {
    padding: 0 0.8rem;
}
.pagination a.active {
    position: relative;
    color: #fff;
    z-index: 10;
}
.pagination a.active::before {
    content: "";
    position: absolute;
    left: 51%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #3284ff;
    z-index: -1;
}
.pagination img {
    height: 1.8rem;
}

pre.no-result {
    font-size: 1.6rem;
    font-weight: 500;
    color: #222f42;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40rem;
}
pre.no-result span.gray {
    font-size: 1.4rem;
    font-weight: 400;
    color: #bdc4c8;
}



/* sub */
.section.sub .sublink {
    display: block;
    width: 100%;
    padding: 1.8rem;
    text-align: center;
    border-radius: 1rem;
    background-color: #222f42;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-top: 3rem;
}
.section.sub pre {
    font-size: 1.6rem;
    font-weight: 400;
    color: #a3a6ab;
    line-height: 1.4;
    margin-bottom: 3rem;
}
.section.sub pre span.point1 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #222f42;
    line-height: 1.4;
}
.section.sub pre span.point2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #3284ff;
    line-height: 1.4;
}
.section.sub h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222f42;
    margin-bottom: 1.5rem;
}

.section.sub.A img {
    width: 100%;
    margin-bottom: 1.5rem;
}
.section.sub.A .alist {
    width: 100%;
    height: 7rem;
    margin-bottom: 0.5rem;
    position: relative;
}
.section.sub.A .alist p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #222f42;
    position: absolute;
    left: 7rem;
    top: 2.3rem;
}
.section.sub.A .alist:nth-of-type(2) {
    background: url(../img/sub-img-2.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.section.sub.A .alist:nth-of-type(3) {
    background: url(../img/sub-img-3.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.section.sub.A .alist:nth-of-type(4) {
    background: url(../img/sub-img-4.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.section.sub.A .alist:nth-of-type(5) {
    background: url(../img/sub-img-5.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.section.sub.A .alist:nth-of-type(6) {
    background: url(../img/sub-img-6.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.section.sub.A .alist:nth-of-type(7) {
    background: url(../img/sub-img-7.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.section.sub.B .category-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 1rem;
    background-color: #edf2f9;
    margin-bottom: 4rem;
}
.section.sub.B .category-wrap a {
    width: calc(100% / 3);
    font-size: 1.6rem;
    font-weight: 400;
    color: #acb2ba;
    border-radius: 1rem;
    background-color: #edf2f9;
    padding: 1.5rem 0;
    text-align: center;
}
.section.sub.B pre:first-of-type {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 0.1rem solid #e8ebed;
    margin-bottom: 4rem;
}

.section.sub.C .list-item {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: #f2f4f7;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
}
.section.sub.C .list-item span {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: #3284ff;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-right: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section.sub.C .list-item pre {
    margin-bottom: 0;
}

.section.sub.D h3 {
    margin-top: 4rem;
}
.section.sub.D .open-wrapper {
    margin-bottom: 1.5rem;
}
.section.sub.D .open-wrapper p {
    font-size: 1.8rem;
    font-weight: 500;
    color: #545a60;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem;
    border-radius: 1rem;
    background-color: #edf2f9;
}
.section.sub.D .open-wrapper p img {
    width: 2rem;
}
.section.sub.D .open-wrapper pre {
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #f7f7f7;
    color: #60676f;
    margin-top: 1.5rem;
}
.section.sub.D .info-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.section.sub.D .info-wrap .info-item {
    width: calc(100% / 3 - 1rem);
    height: 10rem;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #edf2f9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
}
.section.sub.D .info-wrap .info-item img {
    width: 3rem;
}
.section.sub.D .info-wrap .info-item span {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333333;
    margin-top: 1.5rem;
}










/* calc */
.section.wordDetail,
.section.calc {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.calc-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 5rem;
}
.calc-title p {
    font-size: 1.6rem;   
    font-weight: 500;
    color: #868d96;
}
.calc-title h2 {
    font-size: 2rem;   
    font-weight: 800;
    color: #222f42;
    line-height: 1.4;
}
.calc-title h2 span {
    font-size: 2rem;   
    font-weight: 800;
    color: #3a88ff;
    line-height: 1.2;
}

.section.calc h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #222f42;
    margin-bottom: 1rem;
}

.nextBtn {
    width: 100%;
    padding: 1.8rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    border-radius: 1rem;
    background: #d3d7dd;
    margin-top: auto;
    text-align: center;
}
.nextBtn.navy {
    background-color: #222f42;
}
.section.calc .input-wrap {
    width: 100%;
    border-radius: 1rem;
    border: 0.1rem solid #eaedee;
    overflow: hidden;
}
.section.calc .input-wrap.sb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.section.calc .input-wrap.sb span {
    font-size: 1.8rem;
    font-weight: 500;
    color: #90979e;
}
.section.calc .input-wrap.sb input {
    width: 90%;
}
.section.calc .input-wrap input {
    width: 100%;
    padding: 1.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #828a93;
    border-radius: 1rem;
}
.section.calc .input-wrap.mb {
    margin-bottom: 3rem;
}
.section.calc .input-wrap input.filled {
    color: #222f42;
}
input[type="date"]::placeholder {
    color: #828a93;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background-size: 2rem 2rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    filter: invert(50%);
}

.section.calcResult {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}
.section.calcResult img {
    width: 15rem;
    margin-bottom: 5rem;
}
.section.calcResult p.small {
    font-size: 1.6rem;
    font-weight: 400;
    color: #828a93;
    margin-bottom: 1rem;
}
.section.calcResult p.big {
    font-size: 2.5rem;
    font-weight: 600;
    color: #222f42;
}
.section.calcResult p span.result {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3283ff;
}
.section.calcResult div.info {
    width: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 1rem;
    background-color: #f2f4f7;
    margin: 5rem 0;
}
.section.calcResult .info .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.calcResult .info .item span {
    font-size: 1.6rem;
    font-weight: 400;
    color: #70777e;
}
.section.calcResult .info .item span.info {
    font-weight: 500;
    color: #222f42;
}
.section.sub.D .info-modal {
    display: none;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 3rem);
    box-sizing: border-box;
    z-index: 7777;
}
.section.sub.D .info-modal h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #297fff;
    margin-bottom: 1rem;
    text-align: center;
}
.section.sub.D .info-modal pre {
    margin-bottom: 0;
}
.blackBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 6666;
}


.section.sub.E .img-item {
    width: 100%;
    height: 27rem;
    border-radius: 1rem;
    border: 0.1rem solid #e6eaed;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.section.sub.E .img-item .img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background-color: #edf2f9;
}
.section.sub.E .img-item .img-wrap img {
    width: 22rem;
}
.section.sub.E .img-item .content {
    padding: 2rem;
}
.section.sub.E .img-item .content p {
    font-size: 1.7rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 1rem;
}
.section.sub.E .img-item .content pre {
    margin-bottom: 0;
}