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: 18rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #backBtn {
    width: 2.5rem;
    position: absolute;
    right: 1.5rem;
}
header #backBtn img {
    width: 100%;
}

.bannerImg {
    width: 100%;
    padding: 1.5rem 0;
}
.bannerImg a {
    width: 100%;
}
.bannerImg a img {
    width: 100%;
}

main {
    padding: 2rem 1.5rem 10rem;
}
main .mainNews {
    margin-bottom: 1.5rem;
}
main .mainNews a {
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    padding: 1.5rem;
}
main .mainNews a p {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    background: #3277ff;
    padding: 0.5rem 1rem;
}
main .mainNews a h3 {
    font-size: 1.4rem;
    font-weight: 600;
}
main .bnr {
    margin-bottom: 2rem;
}
main .bnr a {
    display: block;
    position: relative;
}
main .bnr a > img {
    width: 100%;
}
main .bnr a .text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 2rem;
}
main .bnr a .text p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
main .bnr a .text h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
}
main .bnr a .text span {
    font-size: 1.4rem;
    color: #3277ff;
    background: #fff;
    border-radius: 0.5rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
}
main > .menu {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 2rem;
}
main > .menu a {
    width: 25%;
    border-radius: 1rem;
    background: #f4f4f4;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 2rem 0;
}
main > .menu a img {
    height: 3rem;
}
main .menuWrap {
    padding-top: 2rem;
}
main .menuWrap h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}
main .menuWrap h2 span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #3277ff;
}
main .menuWrap .menu {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
}
main .menuWrap .menu a {
    border-radius: 1rem;
    padding: 3rem 2rem;
    background-color: #e1edff;
    background-image: url(../img/main-btn-5.png);
    background-repeat: no-repeat;
    background-size: 6rem;
    background-position: right 2rem center;
}
main .menuWrap .menu a:nth-of-type(2) {
    background-color: #fff8e6;
    background-image: url(../img/main-btn-6.png);
}
main .menuWrap .menu a:nth-of-type(3) {
    background-color: #fde6ff;
    background-image: url(../img/main-btn-7.png);
}
main .menuWrap .menu a p {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
main .menuWrap .menu a h3 {
    font-size: 1.6rem;
    font-weight: 900;
}

/* 서브 */
main > h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main > h2 a {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
main > h2 a img {
    width: 0.8rem;
}
main > h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #3277ff;
    margin-bottom: 1rem;
}
main > pre {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}
main > pre.blue {
    color: #3277ff;
    font-weight: 800;
}
main > a {
    display: block;
    position: relative;
}
main > a > img {
    width: 100%;
}
main > a .text {
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
}
main > a .text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
main > a .text p {
    font-size: 1.4rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
main > a .text p img {
    width: 1rem;
}
main .category {
    display: flex;
    margin-bottom: 4rem;
    border-radius: 5rem;
    background: #f4f4f4;
}
main .category a {
    width: calc(100% / 3);
    font-size: 1.4rem;
    border-radius: 5rem;
    padding: 1.5rem 0;
    color: #848484;
    text-align: center;
}
main .category a.on {
    background: #3277ff;
    color: #fff;
}

/* 계산기 */
main .box {
    padding: 3rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px 1px #e3edff;
    display: none;
    position: absolute;
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    background: #fff;
    z-index: 2222;
}
main .box h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main .box h3 button {
    width: 2rem;
}
main .box h3 button img {
    width: 100%;
}
main .box pre {
    font-size: 1.4rem;
    line-height: 1.4;
}
main .box.open {
    display: block;
}
.tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5rem;
    margin-bottom: 3rem;
    background: #f4f4f4;
}
.tabs label {
    display: block;
    width: calc(50%);
    text-align: center;
    font-size: 1.4rem;
    padding: 1.5rem 0;
    font-weight: 500;
    color: #848484;
}
.tabs label.move {
    background: #3277ff;
    border-radius: 5rem;
    color: #fff;
    font-weight: 600;
}
.calc_wrap .grid.pb {
    padding-bottom: 4rem;
}
.calc_wrap > h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.calc_wrap .grid .flex {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}
.calc_wrap .grid .inputname {
    font-size: 1.4rem;
    color: #656565;
    width: 30%;
    line-height: 1.4;
}
.calc_wrap .grid span {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    padding: 0 2rem;
}
.calc_wrap .grid span.gray_back {
    background: #e1edff;
}
.calc_wrap .grid #increaseActivation.gray_back input {
    background: transparent;
}
.calc_wrap .grid span.none.on {
    background: #F0F1F2;
}
.calc_wrap .grid span.none.on input {
    background: #F0F1F2;
    background: transparent;
}
.calc_wrap .grid span.none.on input::placeholder {
    color: #F0F1F2;
}
.calc_wrap .grid span input {
    display: block;
    width: 80%;
    padding: 1.5rem 0;
    font-size: 1.4rem;
}
.calc_wrap .grid span input::placeholder {
    color: #CACACA;
}
.calc_wrap .grid span input:focus {
    outline: none;
}
.calc_wrap .grid span p {
    font-size: 1.4rem;
    font-weight: 800;
}
.btm_box {
    position: relative;
    padding-top: 3rem;
}
.btm_box #beforeOnlyCheck {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}
.btm_box #beforeOnlyCheck label{
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.4rem;
    color: #747474;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type='checkbox'] {
        border: 1px solid #DFE2E4;
        background-color: #fff;
        
        width: 1rem; height: 1rem;
        background-image: url(../img/check-off.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 1.2rem;
    }
    input[type='checkbox']:after {
        content: '';
        display: block;
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
    }
    input[type='checkbox']:checked {
        background-size: 1.2rem;
        background-image: url(../img/check-on.png);
        background-color: #0264FD;
        background-repeat: no-repeat;
        background-position: center;
    }
    /* input[type='checkbox']:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: .9;
    } */
    /* input[type='checkbox']:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    input[type='checkbox']:disabled + label {
        cursor: not-allowed;
    }
    input[type='checkbox']:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    } */
    input[type='checkbox']:focus {
        box-shadow: 0 0 0 var(--focus);
    }
    input[type='checkbox']:not(.switch) {
        width: 15px;
    }
    input[type='checkbox']:not(.switch):after {
        opacity: var(--o, 0);
    }
    input[type='checkbox']:not(.switch):checked {
        --o: 1;
    }
    input[type='checkbox'] + label {
        font-size: 1.4rem;
        line-height: 15px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        color: #727f8d;
        margin-left: 4px;
    }
    input[type='checkbox']:not(.switch) {
        border-radius: 7px;
    }
    input[type='checkbox']:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }
    input[type='checkbox']:not(.switch):checked {
        --r: 43deg;
    }
    input[type='checkbox'].switch {
        width: 2rem; height: 2rem;
        border-radius: .5rem;
    }
    input[type='checkbox'].switch:after {
    }
    input[type='checkbox'].switch:checked {
    }
    #increaseActivation input:disabled {
        background: #fff;
    }
}
.flex_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex_box .box {
    width: calc(50% - 1rem);
}
#calcMethod {
    margin-top: 6rem;
    display: flex;
    gap: 2rem;
}
#calcMethod button {
    width: 50%;
    display: block;
    text-align: center;
    color: #fff;
    padding: 2rem 0;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
}
#calcMethod button:nth-child(1) {
    background: #3277ff;
}
#calcMethod button:nth-child(2) {
    background: #73bcff;
}

/* 뉴스 */
main .news {
    display: flex;
    flex-flow: column nowrap;
    gap: 2.5rem;
}
main .news a {
    display: flex;
    gap: 1rem;
}
main .news a .image {
    width: 40%;
}
main .news a .image img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
}
main .news a .text {
    width: 60%;
    position: relative;
}
main .news a .text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
main .news a .text p {
    font-size: 1.4rem;
    line-height: 1.4;
}
main .news a .text .date {
    font-size: 1.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
}