* {
    padding: 0;
    margin: 0;
}

body {

}


.vh-container{
    position: relative;
}

.dimmed{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1000;
    opacity: 0.5;

}



.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}


.sub-content {
    padding: 140px 0px;
}

h1 {
    font-size: 48px;
}

h1, h2 {
    color: #1a1a1a;
}

a {
    text-decoration: none;
}

a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
}

p {
    color: #434343;
    font-size: 24px;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}


.desktop-only .location {
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    gap: 0.4em;
    color: #c4c4c4;
}


.location a {
    line-height: 30px;
    color: #c4c4c4;
}

.location a.active {
    color: #0083f5;
}


.sub-head {

    padding: 0px 20px;

}

.sub-head-title {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.primary {
    font-size: 48px;
    font-weight: 700;
    color: #0083f5;
}

.divider {
    margin-top: 40px;

    border-top: 1px solid #c4c4c4;
}


.divider-mid {
    border-top: 1px solid #C4C4C4;
}


.sub-body {
    padding: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}


.input-box {
    width: 800px;


}


/*
견적 안내 박스
*/
.estimate-box {
    margin-top: 20px;
    width: 400px;
    background-color: #E2F2FF;
    border-radius: 20px;
    border: #C4C4C4 1px solid;
    padding: 32px;

}

.estimate-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #434343;

    margin-top: 53px;
}

.estimate-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #434343;

    margin-top: 20px;
    margin-bottom: 11px;

}

.estimate-box li {
    font-size: 16px;
    font-weight: 400;
    color: #434343;
    margin-bottom: 10px;
}

.estimate-box li:last-child {
    margin-bottom: 0;
}

/*단위, 부가세 별도*/
.estimate-box span {
    font-size: 16px;
    font-weight: 400;
    color: grey;
    display: block;
    margin-top: 10px;
}


.estimate-btn-wrapper {
    display: none;
    flex-direction: row;
    margin-top: 20px;
    justify-content: end;
}


.estimate-btn-wrapper .estimate-btn{
    border-radius: 50px;
    background-color: #0083F5;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}


/*
.estimate-btn-area > .btn-pdf-download {
    border-radius: 50px;
    background-color: #0083F5;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 20px;
}
*/


.estimate-row {

    display: flex;
    justify-content: flex-start;
    align-items: flex-start;

}

.estimate-row > .input-column {
    flex: 1;
}

.input-column .input-item {
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.input-item .field-label {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #434343;


    margin-right: 135px;
}


.page-main-field {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


.page-main-field > .field-label {

}


.page-main-field > .info-popup-main-area > .icon-info {

    width: 20px;
    height: 20px;
    margin-left: 10px;
    color: #c4c4c4;


}


.page-sub-field {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.page-sub-field > .info-popup-sub-area > .icon-info {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    color: #c4c4c4;

}


 .dim-modal-main, .dim-modal-sub{

    display: none;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 100;
}

.modal-main, .modal-sub {

    position: absolute;
    z-index: 1000;

    background-color: white;
    bottom: -475px;
    right: -410px;
    border-radius: 20px;
    justify-content: center;
    text-align: center;
    align-items: center;
    border: 3px solid #c4c4c4;
    transition: 0.2s;

}



.img-area {
    padding: 20px 10px;
    display: flex;
    flex-direction: row;
}

.img-area > img {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 20px;
    border: 1px solid #c4c4c4;
    width: 200px;
}


.modal-text {
    margin-top: 20px;
    font-size: 14px;
    color: #262626;
}


.page-main-field > .info-popup-main-area:hover > .dim-modal-main {
    display: block;


}

.page-sub-field > .info-popup-sub-area:hover > .dim-modal-sub {
    display: block;
}




.btn-is-need-wrapper {

    display: flex;
    /* margin-right: 100px;*/
    justify-content: end;
}


.btn-is-need {
    display: inline-block;
    text-align: center;
    width: 100px;
    height: 50px;
    padding: 5px 10px;
    border-radius: 30px;
    border: 2px solid #0083f5;
    color: #fff;
    font-size: 13px;
}

.btn-is-need.selected {
    border: 2px solid #0083f5;
    background-color: #000000;
}


.btn-is-need:hover {
    background-color: #0083f5;
    color: white;
}


.need-page-area {


    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}


.field-label {

    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #434343;
}


.input-area {

    display: flex;
    text-align: center;
    justify-content: end;
    align-content: center;
    align-items: center;
}


.input-area > input {
    width: 80px;
    height: 50px;
    background-color: #f5f5f5;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
}


.input-area > p {

    text-align: center;
    margin-left: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    color: #C4C4C4;
}


input {
    width: 50px;
    background-color: re d;
    line-height: normal;
    border: 2px solid red;
}


.feature-wrap {

    margin-top: 20px;

}


.feature-wrap > .text-wrap {
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
}

.text-wrap > p {
    font-size: 12px;
    color: #C4C4C4;

}


.feature-wrap > .feature-list {

    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-around;
}


/* 네,아니오 버튼 */

.btn-yes {
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    border: 1px solid #C4C4C4;
    border-radius: 50px;
    color: #C4C4C4;

}

.btn-no {
    justify-content: center;
    text-align: center;
    margin-left: 30px;
    padding: 10px 20px;
    border: 1px solid #C4C4C4;
    border-radius: 50px;
    color: #C4C4C4;
}

.btn-yes.selected {
    background-color: #0083F5;
    color: white;
    border: 1px solid #0083F5;
}


.btn-no.selected {
    background-color: black;
    color: white;
    border: 1px solid black;
}


.feature-grid {
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4개의 동일한 너비의 열 */
    grid-template-rows: repeat(2, 1fr); /* 2개의 동일한 높이의 행 */
}


.feature-item {
    width: 100%; /* 부모 컨테이너의 100% 너비 */
    height: 100px; /* 높이는 원하는 대로 조정 가능 */
    display: flex;
    justify-content: start;
    align-items: center;

}

.feature-item > label {
    margin-left: 5px;
    text-align: center;

}

.feature-item > input {
    width: 20px;
    height: 20px;
    border-radius: 1px;
    background-color: #fff;
    border: 1px solid #C4C4C4;
    margin-right: 10px;
}


.feature-item input [type="checkbox"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.feature-item input [type="checkbox"] + label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #434343;
    font-size: 18px;
    font-weight: 400;
    height: 40px;
}

.feature-item input [type="checkbox"] + label::before {
    content: "";
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 2px solid #c4c4c4;
    border-radius: 5px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
    transition: all 300ms;
    font-size: 20px;
    margin-right: 20px;
    margin-bottom: 4px;
}


.feature-item input [type="checkbox"] + label::after {
    opacity: 0;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0px;
    height: 30px;
    background-image: url(../../common/img/icon/icon-stroke-checked.svg);
    background-size: 25px;
    background-repeat: no-repeat;
    transition: all 300ms;
}


.sub-bottom {
    margin-top: 30px;
    padding: 0px 20px;

}

/*
모바일 css
*/
@media (max-width: 768px) {

    body {
        width: 100%;
        overflow-x: hidden;

    }

    .dimmed {

    }

    .mobile-only {
        display: block;
    }

        .desktop-only {
            display: none;
        }

        .inner {
            padding: 0;
        }

        .sub-body {
            flex-direction: column;
            padding: 0;
        }

        /* 케이플 견적서 타이틀 텍스트 */

        .tit > h1 {
            line-height: 1.2em;
            font-size: 30px;
        }

        .primary {
            font-size: 30px;
        }


        /* 구분바 - 모바일에서 없앰 */

        .divider-mid {
            display: none;
        }

        .sub-content-head {
            background-color: #F5F5F5;
        }

        /* 메인, 서브 페이지 입력 영역 */

        .input-box {
            width: 100%;
        }

        .feature-item {
            justify-content: flex-start;
            padding-left: 50px;
        }

        .sub-content {
            width: 100%;
            padding: 20px 0px;
            box-sizing: border-box;
            background-color: #f5f5f5;
        }

        .sub-content > .inner {
            max-width: 798px;
            width: 100%;

        }

        .estimate-row {
            justify-content: normal;
            align-items: normal;
        }

        .btn-is-need-wrapper > button:last-child {
            margin-left: 10px;
        }

        /*  텍스트 피드 */

        .input-area > input {
            width: 60px;
            height: 40px;
            background-color: #f5f5f5;
            border: 1px solid #C4C4C4;
            border-radius: 5px;
        }

        .input-item {

            width: 100%; /* Set width to 100% for responsiveness */
            margin-right: 0;

        }

        .input-item > .field-label {
            margin-right: 0;
        }


        /* 기능 선택 체크박스 영역 */

        .feature-grid {

            padding-left: 10px;
            padding-right: 10px;
            display: grid;
            grid-template-columns: repeat(1, 1fr); /* 4개의 동일한 너비의 열 */
            grid-template-rows: repeat(8, 1fr); /* 2개의 동일한 높이의 행 */
        }



            .feature-item{
                height: 80px;
            }

        /*견적서 영역*/

        .estimate-area {
            width: 100%;
            padding: 0;
        }


        .estimate-box {
            width: 100%;
            border-radius: 0;
            border: none;
        }

        .estimate-box h3 {
            margin: 20px 0;
        }

        .estimate-box h2 {
            text-align: end;
        }

        .estimate-box span {
            text-align: end;
        }


        /* 문의, 견적서 다운로드 버튼*/

        .estimate-btn-wrapper {
            justify-content: center;
            text-align: center;
        }

        .estimate-btn {
            flex: 1;
            margin: 20px 16px;
        }

        .estimate-btn:first-child {
            background-color: black;
        }


        /* 팝업 */

        .page-main-field > .info-popup-main-area:focus .dimmed {
            display: block;
        }


        .modal-main, .modal-sub {
            position: fixed; /* 화면에 고정 */
            top: 50%; /* 상단에서 50%의 위치 */
            left: 50%; /* 왼쪽에서 50%의 위치 */
            transform: translate(-50%, -50%); /* 자신의 크기에 따라 정확하게 중앙으로 이동 */
            box-sizing: border-box;
            width: 90%; /* 화면 너비의 90%를 차지하도록 설정 */
            max-width: 300px; /* 최대 너비를 400px로 설정 */
            height: 600px; /* 내용에 맞게 높이 자동 조정 */
            border-radius: 20px; /* 테두리 둥글게 설정 */
            padding: 20px; /* 내부 여백 설정 */
            background-color: white; /* 배경색 설정 */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* 그림자 효과 */
            z-index: 1000; /* 다른 요소들 위에 표시 */
        }


        .modal-text {
            margin: 10px 0;
            text-align: start;

        }


        /* 팝업 내 예시 이미지 */

        .modal-main > .img-area > img:first-child, .modal-sub > .img-area > img:last-child {
            display: none;
        }

        .img-area {
            padding: 0;
            align-items: center;
            justify-content: center;
        }
    }



