/* 공통 디자인 */
body {
    font-family: 'NanumSquareNeo';
    color: #333;
}
* {
    box-sizing: border-box;
}
.g-font {
    font-family: 'g-font';
}
main {
    margin: 6rem 0 3rem;
}
/* index */
#indexLoadImg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #FCF6DE;
}
.indexText {
    position: absolute;
    left: 50%; top: 30%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    font-weight: 900;
    color: #34495E;
}
.indexImg {
    position: absolute;
    width: 90%;
    left: 50%; bottom: 2rem;
    transform: translateX(-50%);
}

/* header */
.header_main {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 6rem;
    z-index: 90;
    display: flex;
    /* display: none; */
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: .1rem solid #9DADBA;
    background: #fff;
}
.header_main img {
    display: block;
    height: 2.5rem;
}
.menu_ico {
    display: block;
    background: url(../img/btn-menu.png) no-repeat center/contain;
    width: 2.5rem; height: 2.5rem;
}
nav {
    position: fixed;
    top: 0; right: -71%;
    width: 70%; min-height: 100vh;
    background: #fff;
    z-index: 999;
    transition: .3s;
}
nav.open {
    right: 0;
}
.nav_logo {
    width: 100%; height: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: .1rem solid #9DADBA;
    padding: 0 1.5rem;
}
.nav_logo img {
    height: 2.5rem;
}
.close_ico {
    display: block;
    background: url(../img/menu-btn-x.png) no-repeat center/contain;
    width: 1.5rem; height: 1.5rem;
}
.nav_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 4rem;
}
.nav_menu li {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
}
.nav_menu li.on a {
    background: #EAECEF;
}
.nav_menu li a {
    display: block;
    padding: 2rem 0;
    width: 100%;
}
.nav_menu li a span {
    font-size: 2rem;
    display: inline-block;
    font-weight: 700;
    color: #283E54;
    width: 17rem;
    border-bottom: .1rem solid #34495E;
}
.back.open {
    display: block;
    position: absolute;
    left: 0; top: 0;
    width: 100%; min-height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 98;
}
.back {
    display: none;
}

/* qna */
.qna_tit {
    font-size: 2rem;
    font-weight: 800;
    color: #3D3D3D;
    padding: 2.5rem 1.5rem 1.5rem;
}
.qna_box {
    padding: 1.5rem;
    border-radius: 1rem;
    border: .1rem solid #F1F1F1;
    margin: 0 1.5rem 1.5rem;
    text-align: center;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.1) 1.95px 1.95px 3px;
}
.ques {
    font-size: 1.5rem;
    font-weight: 700;
    color: #656A6D;
    line-height: 1.4;
}
.pages {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.pages a {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 1rem;
}
.pages a.on {
    font-size: 1.8rem;
    color: #0057C6;
    font-weight: 800;
}

/* qna_sub */
.sub_qna_box {
    border-radius: 1rem;
    border: .1rem solid #F1F1F1;
    margin: 0 1.5rem 1.5rem;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) 1.95px 1.95px 3px;
}
.sub_qna_box .ques {
    padding: 2rem 1.5rem;
    border-bottom: .1rem solid #CBCBCC;
    font-size: 1.6rem;
}
.ans {
    font-size: 1.5rem;
    padding: 2rem 1.5rem;
    color: #65696C;
    line-height: 1.4;
    text-align: left;
}
.go_qna {
    display: block;
    margin: 4rem 1.5rem 3rem;
    background: #34495E;
    border-radius: 1rem;
    padding: 1.7rem 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
}

/* content */
.content {
    padding: 2.5rem 0 2rem;
}
.content_top {
    padding: 0 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
}
.content_top_tit {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.6;
}
.spr {
    font-size: 2.1rem;
    font-weight: 800;
    color: #083C70;
}
.win {
    font-size: 2.1rem;
    font-weight: 800;
    color: #660803;
}
.content_top img {
    width: 27%;
}
form {
    margin: 0 1.5rem;
}
#code2 {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 1rem;
}
#code2.A {
    border: .1rem solid #3B4F64;
    background-color: #E1F4F9;
    color: #263B52;
    background-image: url(../img/3page-btn-arrow.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: 95% 50%;
}
#code2.B {
    border: .1rem solid #3D0000;
    background-color: #F7DCDC;
    color: #490000;
    background-image: url(../img/4page-btn-arrow.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: 95% 50%;
}
#code2 option {
    font-size: 1.5rem;
    font-weight: 700;
}
.content_result {
    padding: 3rem 1.5rem;
}
.cont_tit {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.3;
}
.cont_gr {
    font-size: 1.7rem;
    font-weight: 800;
    color: #36AE7C;
}
.cont_txt {
    font-size: 1.5rem;
    line-height: 1.4;
    padding: 1rem 0 3rem;
}

/* calc */
.calc_wrap {
    margin: 1.5rem;
    padding: 2rem 1.5rem 3rem;
    border: .1rem solid #F4F4F4;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 1.95px 1.95px 3px;
}
.calc_tit {
    font-size: 1.7rem;
    font-weight: 800;
    padding-bottom: 1.5rem;
}
.calc_cate {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calc_cate a {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    border: .1rem solid #CFCFCF;
    border-radius: 1rem;
    padding: 1.5rem;
    width: calc(100% / 2 - 1rem);
    margin-bottom: 2rem;
}
.calc_cate a.on {
    color: #2CAA76;
    font-weight: 800;
    background: url(../img/btn-check.png) no-repeat;
    background-size: 2rem;
    background-position: 90% 50%;
    box-shadow: rgba(0, 0, 0, 0.1) 1.95px 1.95px 3px;
}
#calc_btn {
    margin: 0;
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap;
}

#calc_btn label {
    box-sizing: border-box;
    width: calc(50% - 1rem);
    font-size: 1.7rem;
    font-weight: 700;
    border: .1rem solid #CFCFCF;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

#calc_btn input[type="radio"] {
    display: none; 
}

/* #calc_btn input[type="radio"]:checked + label {
    background-color: #00bfa5; 
    color: white;
    border-color: #00bfa5; 
} */

/* #calc_btn input[type="radio"]:checked + label:after {
    content: '\2713';
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 10px;
} */
.calc_text {
    font-size: 1.7rem;
    font-weight: 800;
    padding: 1.5rem 0;
}
#calc_text {
    margin: 0;
}
#calc_text input {
    font-size: 1.5rem;
    border: .1rem solid #cfcfcf;
    width: 100%;
    border-radius: 1rem;
    padding: 1rem;
    text-align: right;
}
.unit {
    display: block;
    padding: 1rem 0;
    text-align: right;
    font-size: 1.3rem;
}
.calc_submit {
    display: block;
    width: 100%;
    background: #3D3D3D;
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    padding: 1.5rem 0;
    border-radius: .8rem;
    margin: 4rem 0 2rem;
}

/* home */
.home_inner {
    padding: 6rem 0 3rem;
}
#electricity-form {
    margin: 0;
}
#electricity-form input[type="radio"] {
    display: none; 
}
.radio-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.radio-group label {
    box-sizing: border-box;
    width: calc(50% - 1rem);
    font-size: 1.7rem;
    font-weight: 700;
    border: .1rem solid #CFCFCF;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}
#car-options {
    display: none;
}
#car-options label{
    width: 100%;
}
.radio-group input[type="radio"]:checked + label {
    color: #2CAA76;
    font-weight: 800;
    background: url(../img/btn-check.png) no-repeat;
    background-size: 2rem;
    background-position: 90% 50%;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 3px;
}
.input-group .calc_tit {
    padding: 3rem 0 1.5rem;
}
.input-group input {
    display: block;
    font-size: 1.5rem;
    border: .1rem solid #cfcfcf;
    width: 100%;
    border-radius: 1rem;
    padding: 1.3rem;
    text-align: right;
}
.home_btn {
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home_btn li {
    width: calc(100% / 2 - .7rem);
}
.home_btn li a {
    background-color: #C6E3F7;
    padding: 1.5rem;
    display: block;
    border-radius: .8rem;
    height: 20rem;
}
.home_btn li:first-child a {
    background-image: url(../img/3page-img-1.png);
    background-repeat: no-repeat;
    background-position: 90% 90%;
    background-size: 9rem;
}
.home_btn li:nth-child(2) a {
    background-image: url(../img/4page-img-2.png);
    background-repeat: no-repeat;
    background-position: 90% 90%;
    background-size: 9rem;
    background-color: #FCC6C5;
}
.btn_text {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.btn_text em {
    display: block;
    margin-bottom: .7rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: #073C70;
}
.btn_text span {
    display: inline-block;
    font-size: 1.7rem;
    font-weight: 800;
}
.home_btn li:first-child .btn_text span {
    color: #073C70;
}
.home_btn li:nth-child(2) .btn_text span {
    color: #670B06;
}
.home_btn li:nth-child(2) .btn_text span em {
    color: #670B06;
}
.btn_text img {
    display: block;
    height: 2rem;
}
.home-slide {
    margin: 0 1.5rem;
}
.home-slide .qna_tit {
    padding: 2.5rem 0 1.5rem;
}
.home_qna {
    border: .1rem solid #A7B5C1;
    border-radius: 1rem;
}
.home_que {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: #666A6E;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: .1rem solid #A7B5C1;
    word-break: break-all;
}
.home_an {
    font-size: 1.5rem;
    padding: 1.5rem;
    line-height: 1.4;
    color: #A1A4A6;
}
.home_more_btn {
    display: block;
    text-align: right;
    padding: 1rem 1.5rem 2rem 0;
}
.home_more_btn span {
    background: #3D3D3D;
    border-radius: 1.5rem;
    font-size: 1.5rem;
    color: #fff;
    padding: .7rem 1rem;
}


/* calc */
.calc_result {
    background: #FCF6DE;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 3px;
    padding: 2rem 1.5rem;
}
.calc_result h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.calc_result p {
    font-size: 1.4rem;
    line-height: 1.4;
}
.kWh {
    margin-bottom: 1rem;
}
.calc_result span {
    display: block;
    text-align: right;
    color: #919291;
    font-size: 1.3rem;
    line-height: 1.3;
    padding-top: 3rem;
}
.result_image {
    padding: 3rem 1.5rem 1rem;
}
.result_image img {
    width: 100%;
}
.result_image h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.gray_box {
    margin: 1rem 1.5rem 3.5rem;
    background-color: #F2F2F2;
    border-radius: .6rem;
    padding: 1.5rem;
}
.gray_box p{
    font-size: 1.3rem;
    color: #7A7A7A;
    line-height: 1.5;
}
.go_content {
    display: block;
    margin: 1.5rem;
    background-color: #34495E;
    border-radius: 1rem;
    padding: 1.7rem 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    background-image: url(../img/btn-arrow-3.png);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: 90% 50%;
}
#car-use[type="radio"]:checked #car-options {
    display: block;
}

@media screen and (min-width: 270px) and (max-width: 285px) {
    #code2{ 
        font-size: 1.3rem;
    } 
}