header {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
    margin-bottom: 1rem;
}
header h1 {
    width: 13rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 2rem;
    position: absolute;
    right: 1.5rem;
}
header #menuBtn img {
    width: 100%;
}
header #prevBtn {
    width: 1rem;
    position: absolute;
    left: 1.5rem;
}
header #prevBtn 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-direction: column;
    justify-content: flex-start;
    width: 70%;
    height: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    border-top: 1px solid #e1e1e1;
    overflow-y: scroll;
}
nav a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
}
nav a img {
    height: 1.5rem;
}
nav a span {
    font-size: 2.3rem;
    font-weight: 600;
}
nav div {
    height: 6rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
}
nav div button img {
    width: 1.8rem;
}

main {
    padding: 0 1.5rem 5rem;
}





/* common */
hr {
    border: none;
    border-top: 0.5rem solid #f7f8fc;
    margin: 0 -1.5rem 4rem -1.5rem;
}
.section {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 5rem 1.5rem;
}
h2.basic {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
h2.basic::after {
    display: none;
}
h2 {
    width: fit-content;
    position: relative;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    
}
h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 20%;
    width: 100%;
    height: 45%;
    background-color: #fff5ca;
    z-index: -1;
}
h2 span.point3 {
    font-size: 2.4rem;
    font-weight: 900;
}
h2 span.point2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #979797;
}

h4 {
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
}
h4 img {
    width: 1.5rem;
    margin-right: 0.5rem;
}
h4 span.point2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #979797;
    margin-left: 1rem;
}

h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
pre b {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.5;
}
pre {
    font-size: 1.7rem;
    font-weight: 500;
    color: #979797;
    line-height: 1.5;
    margin-bottom: 3rem;
}

a.a-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    background-color: #ffe161;
    margin-bottom: 3rem;
}
a.a-link img.arrow {
    width: 0.8rem;
    margin-left: 0.5rem;
}
a.a-compare {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #f8f8fa;
    margin-bottom: 3rem;
}
a.a-compare img {
    width: 4rem;
    margin-right: 1rem;
}
.top-section {
    position: relative;
    border-bottom: 0.5rem solid #f7f8fc;
    margin-bottom: 3rem;
}
.top-section::after {
    content: '';
    position: absolute;
    left: -1.5rem;
    right: -1.5rem;
    bottom: -0.5rem;
    height: 0.5rem;
    background-color: #f7f8fc;
}





/* home.php */
.section.home .wrapper {
    margin-top: 1rem;
    padding: 2rem 0;
    border-radius: 1rem;
    background-color: #f7f8fc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.home .wrapper a {
    width: calc(100% / 2);
    height: 14rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    margin: 0;
}
.section.home .wrapper a:nth-of-type(1) {
    border-right: 0.2rem solid #e6e7ec;
}
.section.home .wrapper a span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
}
.section.home .wrapper a span b {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.5;
}
.section.home .wrapper a img {
    position: absolute;
    bottom: 0;
    right: 2rem;
    width: 5.5rem;
}
.section.home .wrapper a:nth-of-type(2) img {
    width: 6rem;
}
.section.home .two-btn {
    margin-top: 1.5rem;
}
.section.home .two-btn a {
    font-size: 2rem;
    line-height: 1.2;
    justify-content: space-between;
}
.home_calc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8fa;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
}
.home_calc .arrow {
    display: block;
    width: 2rem; height: 2rem;
    background: url(../img/arrow-1.png) no-repeat center/contain;
}

/* .section.home.bottom {
    margin-top: 5rem;
} */
.section.home a {
    margin-bottom: 1.5rem;
}
.section.home a .left img {
    width: 5rem;
}
.section.home a .right  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 1rem;
}
.section.home a .right span {
    font-size: 1.8rem;
    font-weight: 600;
    color: #8c8c8c;
    margin-bottom: 0.5rem;
}
.section.home a .right p {
    font-size: 2rem;
    font-weight: 700;
}

/* .section.home.news {
    margin-top: 5rem;
} */
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title a {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title a img {
    width: 0.8rem;
    margin-left: 0.5rem;
}







/* info.php */
.section pre:nth-of-type(6) {
    margin-bottom: 0;
}

.section.B,
.section.D {
    display: block;
}
.section.B pre,
.section.D pre {
    margin-bottom: 1.5rem;
}
.section.B hr,
.section.D hr {
    margin-top: 4rem;
}
.section.D h2:nth-of-type(2)::after {
    width: 14rem;
}
.chart-img {
    margin-bottom: 1.5rem;
    overflow-x: scroll;
}
.chart-img img {
    max-width: 150%;
}
.section.B .chart-img:nth-of-type(2) img {
    width: 100%;
}

.section.C pre:nth-of-type(10) {
    margin: 0;
}




/* compare.php */
.section.compare pre:nth-of-type(1) {
    margin-bottom: 0.3rem;
}
.section.compare pre:nth-of-type(2) {
    margin-bottom: 1.5rem;
}
.section.compare .chart-img {
    margin-bottom: 5rem;
}
.section.compare .chart-img img {
    max-width: 200%;
}
.two-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.two-btn a.a-compare {
    width: calc(100% / 2 - 00.8rem);
    display: flex;
    justify-content: center;
    align-items: center;
}
.two-btn a.a-compare:nth-of-type(1) img {
    width: 2.3rem;
    margin-left: 1rem;
    margin-right: 0;
}
.two-btn a.a-compare:nth-of-type(2) img {
    width: 2.7rem;
    margin-left: 1rem;
    margin-right: 0;
}





/* headline.php */
.section.headline h2:nth-of-type(3) {
    margin-top: -1rem;
}
.section.headline .chart-img {
    margin-bottom: 5rem;
}
.section.headline .F-2 pre:nth-of-type(3),
.section.headline .F-2 pre:nth-of-type(4),
.section.headline .F-2 pre:nth-of-type(7),
.section.headline .F-2 pre:nth-of-type(9),
.section.headline .F-2 pre:nth-of-type(10) {
    margin: 0;
}
.dropdown {
    margin-bottom: 4rem;
    position: relative;
}
.dropdown button {
    padding: 2rem 1.5rem;
    border: 0.1rem solid #e7e8ec;
    border-radius: 1.5rem;
    background-color: #f7f8fc;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
}
.dropdown button img {
    width: 1.5rem;
}
.dropdown ul {
    border-left: 0.1rem solid #e7e8ec;
    border-right: 0.1rem solid #e7e8ec;
    border-bottom: 0.1rem solid #e7e8ec;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    background-color: #f7f8fc;
    padding: 0 1.5rem 2rem 1.5rem;
    border-radius: 0 0 1.5rem 1.5rem;
}
.dropdown ul li a {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #525251;
    padding-top: 2rem;
}
.dropdown ul li:nth-of-type(1) a {
    border-top: 0.1rem solid #e7e8ec;
}




/* qna.php */
.qna-wrapper {
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
}
.qna h3 {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.4;
    background-color: #f7f8fc;
}
.qna h3 img {
    width: 1.5rem;
    margin-left: 0.5rem;
}
.qna pre {
    padding: 1.5rem 2rem 2rem 2rem;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.5;
    color: #666666;
    background-color: #f7f8fc;
    margin: 0;
}
.qna pre span.point2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #aaaaab;
}





/* news.php */
.section.news h2:nth-of-type(2) {
    margin-bottom: 5rem;
}
.news-wrapper {
    height: 12rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}
.news-wrapper .news-img {
    width: 40%;
    height: 100%;
}
.news-wrapper .news-img img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
}
.news-wrapper .news-info {
    width: 57%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
}
.news-wrapper .news-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
}
.news-wrapper .news-info p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #bababa;
}
.news-wrapper .news-info p.date {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
}


/* home-news */
.swiper.mySwiper {
    width: 100%;
}

/* 계산기 */
main .inputWrap {
    padding: 2rem 0;
}
main .inputWrap h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
main .inputWrap .input {
    position: relative;
}
main .inputWrap .input input {
    width: 100%;
    border-radius: 1rem;
    background: #f7f8fc;
    padding: 2rem 3rem;
    font-size: 1.6rem;
    color: #848484;
}
main .inputWrap .input span {
    font-size: 1.6rem;
    font-weight: 800;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
main .inputWrap select {
    width: 100%;
    border-radius: 1rem;
    background-color: #f7f8fc;
    padding: 2rem 3rem;
    font-size: 1.6rem;
    border: none;
    background-image: url(../img/arrow-4.png);
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: right 2rem center;
    color: #848484;
}
main .inputWrap select option {
    font-size: 1.6rem;
}
main > button {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2.5rem 0;
    border-radius: 1rem;
    background: #ffe161;
    width: 100%;
    margin-top: 2rem;
}
main #result {
    padding-top: 4rem;
}
main #result .total_info_wrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 3rem;
    margin-bottom: 3rem;
}
main #result .total_info_wrap .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main #result .total_info_wrap .container .title {
    font-size: 1.8rem;
    font-weight: 800;
}
main #result .total_info_wrap .container .value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffe161;
}
main #result .total_info_wrap .container .value span {
    font-size: 1.8rem;
    font-weight: 800;
}
main #result .loan_info_wrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
    margin-bottom: 4rem;
}
main #result .loan_info_wrap .title {
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}
main #result .loan_info_wrap .title em {
    font-size: 1.6rem;
    color: #939393;
}
main #result > button {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2.5rem 0;
    border-radius: 1rem;
    background: #ffe161;
    width: 100%;
}