/* 반응형 */
/* 모바일 */
/* 배너광고 변경 */
.readerbord_banner{
    display: block;
    width: 364px;
    height: 45px;
}

.mobileBanner{
    display: block;
}

/* header */
header{
    width: 100%;
    height: 1.7cm;
    display: flex;
    justify-content: center;
    align-items: center;

    #headerAll{
        width: 100%;
        height: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;

        /* logo */
        #logoBox{
            width: 170px;
            height: 100%;

            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        /* 메뉴 */
        nav{

            display: none;
            #mainMenu{
                display: flex;

                li{
                }
                li>a{
                    font-size: 0.65rem;
                    padding: 0 4px;
                    font-family: "KOHIBaeumOTF";
                    
                    font-weight: bolder;
                    color: #636363;
                    &:hover{
                        border-bottom: 2px solid #000;
                        color: #000;
                    }
                }
            }
        }

        /* 햄버거 메뉴 */
        #hambugerMenu{
            display: block;
            z-index: 101;
            transition: 0.2s all;
        }

        #hambugerMenu_Box{
            display: block;
            height: 450px;

            ul{
                margin-top: 40%;
            }
        }
    }
}

/* ======================= */

/* visualSection */
#visualSection{
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;

    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #visual_text{
        position: absolute;
        top: 20%;
        left: 5%;
        width: 500px;

        p{
            font-size: 3rem;
            font-family: "sansFont";
            font-weight: bolder;
        }
    }
}

/* ======================= */
/* main */
main{
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 10px;

    /* 배너 광고판 */
    .bannerBox{
        width: 300px;
        height: 610px; /* 10px은 top 여유 공간 */
        position: sticky;
        display: flex;
        align-items: end;
        top: 0;
        display: none;
        
        .banner{
            background: #fff;
            width: 100%;
            height: 600px;
        }
    }

    /* mainContentBox */
    #mainContentBox{
        width: 95%;
    }
}


/* 메인 타이틀 */
.titleText{
    font-family: "titleFont";
    font-size: 2rem;
    font-weight: 600;
}

/* 서브 타이틀 */
.subText{
    font-family: "contentFont";
    font-size: 1.1rem;
    text-align: center;
}

#titleTextBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}


/* 계산 콘텐츠 섹션 */
#calcSection{
    margin-top: 40px;
    width: 100%;
    min-height: 650px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;

    #top{
        width: 100%;
        height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;

        #productNameBox{
            height: 50%;
            display: flex;
            align-items: center;
            width: 90%;
            
            label{
                font-family: "contentFont";
                font-size: 1rem;
                margin-right: 0px;
            }
            input{
                font-family: "contentFont";
                font-size: 1rem;
                background: #00000000;
                border: none;
                padding: 5px;
                width: 50%;
            }
        }
    }
}

/* 계산활동박스 */
#calcMain{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    table{
        border-collapse: collapse;
        box-shadow: inset 0 0 3px #686868;

        thead{
            border-bottom: 1px solid #989898;
            tr{
                th{
                    padding: 20px 0;
                    font-size: 0.7rem;
                }
            }
        }

        tbody{
            width: 100%;
            tr{
                width: 100%;

                td{
                    text-align: center;
                    font-size: 0.7rem;
                    padding: 5px 0;
                    border: 1px solid #9c9c9c;
                    border-top: none;

                    input{
                        width: 90%;
                        background: #00000000;
                        border: none;
                        box-shadow: inset 0 0 3px #000;
                        padding: 6px 5px;
                        font-size: 0.65rem;
                    }
                }
            }
        }
    }
}

.btn_row{
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 5px;

    span{
        font-size: 1.1rem;
        font-family: "contentFont";

        &::before{
            content: "▶";
            font-size: 1.1rem;
            margin-right: 10px;
        }
    }
    button{
        padding: 5px 15px;
        font-size: 0.9rem;
        font-family: "contentFont";
        cursor: pointer;
    }
}

/* 계산값 입력 테이블 */
.calc_input_table{
    width: 100%;
    margin-bottom: 30px;

    &>thead>tr>th:first-child{
        width: 15%;
    }

    &>thead>tr>th:nth-child(2){
        width: 10%;
    }
    &>thead>tr>th:nth-child(3){
        width: 20%;
    }
    &>thead>tr>th:nth-child(4){
        width: 15%;
    }
    &>thead>tr>th:nth-child(5){
        width: 15%;
    }
    &>thead>tr>th:nth-child(6){
        width: 15%;
    }
    &>thead>tr>th:last-child{
        width: 5%;
    }

}


/* 계산 산출값 표시 박스 */
#calc_result_table{
    width: 100%;
    margin-top: 50px;

    &>thead>tr>th:first-child{
        width: 15%;
    }

    &>thead>tr>th:nth-child(2){
        width: 10%;
    }
    &>thead>tr>th:nth-child(3){
        width: 12%;
    }
    &>thead>tr>th:nth-child(4){
        width: 15%;
    }
    &>thead>tr>th:nth-child(5){
        width: 15%;
    }
    &>thead>tr>th:nth-child(6){
        width: 15%;
    }
    &>thead>tr>th:nth-child(7){
        width: 10%;
    }

    &>thead>tr>th:last-child{
        width: 10%;
    }

    tbody{
        tr{
            button{
                font-size: 0.8rem;
                width: 70%;
            }
        }
    }
}

/* 계산버튼 */
#calc_btn{
    width: 200px;
    height: 50px;
    font-size: 1.2rem;
    margin-top: 30px;
    cursor: pointer;

}

/* 합계 표시 테이블 */
#calc_all_title{
    font-family: "contentFont";
    font-size: 1.1rem;
    margin-top: 40px;
}

#calc_all{
    width: 80%;
    margin-top: 10px;
    border: 1px solid #000;
}


/* ----------------- */
/* ================= */

/* footer */
footer{
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;

    #footerAll{
        width: 79%;
        display: flex;
        align-items: center;
        justify-content: center;
        

        #f_content{
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            #f_logo{
                width: 250px;
                height: 100px;
    
                img{
                    object-fit: contain;
                    width: 100%;
                    height: 100%;
                }
            }

            span{
                font-size: 1rem;
            }
            p{
                margin-top: 20px;
                font-size: 0.8rem;
                color: #000000;
            }
        }
    }
}

/* 기본정보 입력 권유 메세지 */
#default_info_message{
    position: fixed;
    width: 80%;
    left: 50%;
    top: -50%;
    transform: translateX(-50%);
    z-index: 105;
    transition: 0.5s all;

    background: #a6f8ff;
    box-shadow: 0 0 3px #000;
    padding: 10px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    
    span{
        font-size: 1rem;
        display: flex;
        text-align: center;
    }
}

/* 다음 단계 산출 바로가기 버튼 */
#nextBtn{
    position: fixed;
    right: 4%;
    bottom: 2%;
    width: 60px;
    height: 30px;

    text-align: center;
    font-size: 0.7rem;
    font-family: "contentFont";
    border-radius: 5%;
    
    border: 2px solid #000;
    background: #c9c9c9;

    cursor: pointer;
}