.location {
    padding-left: 5px;
}

footer {
    margin-top: 80px;
}

.footer_address {
    display: flex;
}

.logo_gray {
    width: 250px;
    margin-right: 60px;
}

.footer_info {
    margin-left: 30px;
    font-size: 20px;
    line-height: 150%;
}

.portfolio_logos {
    width: 1200px;
    margin: 30px auto 120px auto;
    text-align: center;

}

.portfolio_logos .img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    flex-direction: row;
    line-height: 150%;
}

.portfolio_logos .img img {
    border: 1px solid #ccc;
    width: 19%;
    margin: 3px 0;
    height: 80px;
}

#sec2 > div > h2 > a {
    font-size: xx-large;
    color: #042e89;
    font-family: 'Noto Sans KR', Helvetica, sans-serif;
    margin: 100px auto 50px auto;
}

#sec2 > div > h2 > a span {
    font-weight: bolder;
}

.portfolio_logos h4 {
    font-size: xx-large;
    color: #042e89;
    font-family: 'Noto Sans KR', Helvetica, sans-serif;
    margin: 100px auto 50px auto;
}

.portfolio_logos h4 span {
    font-weight: bolder;
}

.common_footer {
    display: flex;
    justify-content: space-evenly;
    font-family: 'Noto Sans KR', Helvetica, sans-serif;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 1200px;
    margin: 0 auto;
}


.common_footer_contact {
    text-align: center;
    border: 2px solid #3fcaf4;
    border-radius: 20px;
}

.common_footer_contact * {
    font-weight: bolder;
    line-height: 180%;
}

.common_footer_contact h4 {
    font-size: xx-large;
    color: #042e89;
    font-weight: bolder;
}

.common_footer_contact h5 {
    font-size: x-large;
}

.common_footer_contact h6 {
    font-size: x-large;
    color: #1b66ab;
    font-weight: bolder;
}

.common_footer_contact h4 {
    margin-bottom: 25px;
}

.common_footer input {
    height: 45px;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
    padding-left: 15px;
    font-weight: normal;
}

.common_footer textarea {
    height: 100px;
    border-radius: 10px;
    width: 100%;
    padding-left: 15px;
    font-weight: normal;
    border: 1px solid #dcdcdc;
    font-family: 'Noto Sans KR', Helvetica, sans-serif;
    font-size: 100%;
    color: #333;
    padding-top: 10px;
}

.common_footer button {
    width: 230px;
    padding: 15px;
    background-color: #ff8000;
    border-radius: 15px;
    color: #fff;
    font-size: x-large;
    margin: 20px auto;
}

.common_contact {
    color: #1b66ab;
    font-weight: bolder;
}

.footer_ul {
    width: 100%;
    float: left;
    margin: 20px 0 0 0px;
    text-align: center;
    font-size: 17px;
    height: 48px;
    font-weight: 350;
    border-bottom: 1px solid #313131;
    color: #fff;

}

.footer_ul span {
    padding: 0 15px 0 15px;
    background-size: 1px;
}

@media screen and (max-width: 480px) {

    .footer_ul {
        height: 94px;
    }

    .btn_detail_blue {
        img {
            height: 28px;
        }
    }

    #sec1 .box .in_box2 .notice {
        .img_calc {
            position: absolute;
            bottom: 60px;
            left: 274px;
        }
    }


    .r_category {
        width: 100%;
        display: block;

        a {
            width: 100%;

            img {
                margin-bottom: 50px;
            }
        }
    }

    .r_category.r_text {
        display: none;
    }

    .contact_concept {
        width: 100%;
    }

    #sec2 .in_sec2 {
        .div_thumb {
            width: 100%;
        }

        li {
            margin-top: 50px;
        }

        img.gallery {
            width: 100%;
            height: auto;
        }

        .works {
            display: block;
        }

        .b_click {
            display: none;
        }
    }

    #sec1 .box .in_box2 {
        .notice {
            width: 100%;
        }
    }

    .common_footer_contact {
        width: 100%;
    }

    .common_footer_contact {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 50px;
        width: 100%;
    }

    .common_footer {
        display: block;
    }

    .common_footer_contact h5 span {
        width: 70%;
        display: block;
        border-radius: 10px;
        background-color: #eee;
        margin: 10px auto 10px auto;
    }

    #frm_ask button {
        width: 80%;
    }

    .fixed-div-right-bottom {
        position: initial !important;
        display: flex;
        width: 100% !important;
    }

    #frm_ask input[type="text"], #frm_ask textarea {
        width: 80%;
    }


    .fixed-div-right-bottom {
        margin-top: 30px;
    }

    .fixed-div-right-bottom div {
        width: 25%;
    }

    .fixed-div-right-bottom div img {
        width: 100%;
    }

    .fixed-div-right-bottom div:last-child {
        display: none !important;
    }

    footer .in_footer {
        padding-top: 0 !important;
    }

    .footer_address {
        display: block;
    }

    .footer_address img {
        width: 80% !important;
        margin: 20px 0;
    }

    .footer_info {
        text-align: center;
        margin-left: 0 !important;
        clear: both;
        display: block;
    }

    .etc {
        display: block !important;
        width: 100% !important;
        text-align: center;
    }

    #sec1 .box .in_box2 .etc div.etc_bg2 {
        margin: 0 0 30px 0;
    }

    #sec1 .box .in_box2 .etc div a {
        position: initial !important;
        margin: 0 auto !important;
    }

    .r_category img {
        width: 100%;
    }

    .portfolio_logos .img img {
        width: 48% !important;
    }

    .portfolio_logos {
        width: 100%;
        margin-bottom: 20px;
    }

    .common_footer {
        width: 100% !important;
    }


    #kakao_map * {
        width: 100% !important;
        height: auto !important;
    }


}

.root_daum_roughmap {
    width: 100% !important;
}

#kakao_map [alt=카카오맵] {
    width: 72px !important;
    height: 16px !important;
}

.certification {
    text-align: center;
    background-color: #fff;
    border: 1px solid #ccc;
}

.certification h3 {
    font-size: xx-large;
    font-weight: bolder;
    margin: 50px;
}

.certification ul {
    display: flex;
    flex-wrap: wrap; /* 다음 줄로 넘어가게 하기 위해 */
    list-style-type: none; /* 기본 bullet point 제거 */
    padding: 0; /* 기본 패딩 제거 */
    width: 100%;
}

.certification ul li {
    flex-basis: calc(50% - 20px); /* 3등분: 각 항목의 너비 */
    margin: 10px; /* 각 항목 사이의 여백 */
    box-sizing: border-box; /* 패딩과 보더를 포함한 크기 계산 */
    margin-bottom: 40px;
}

.certification ul li img {
    width: 70% !important;
}

.certification ul li h5 {
    font-size: larger;
    font-weight: bolder;
    text-align: center;
}

.img-container {
    min-height: 580px;
}

.img-container img {
    max-width: 70%;
}

.map_desc {
    padding: 0 30px;
    margin: 50px 0;
}

.map_desc h3 {
    text-align: center;
    font-size: xx-large;
    font-weight: bolder;
    margin: 30px auto;
}

.map_desc hr {
    height: 2px;
    display: block;
    background-color: #666;
    margin-bottom: 30px;
}

.map_desc dl {
    font-size: x-large;
    display: grid;
    grid-template-columns: 125px 1fr; /* 첫 번째 열은 고정 너비, 두 번째 열은 남은 공간 */
    gap: 30px 20px; /* 항목 간의 간격 (행 간격, 열 간격) */
    align-items: start; /* 항목들을 위쪽에 맞춤 */
}

.map_desc dl dt {
    font-weight: bold;
}

.map_desc dl dd {
    margin-left: 0; /* dd 기본 들여쓰기 제거 */
}

.view_con {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.view_con h3 {
    font-size: xx-large !important;
    font-weight: bolder !important;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', '맑은 고딕', 바탕, 바탕체, 굴림, 'verdana', Gulim, AppleGothic, sans-serif;
}

.view_con_center {
    text-align: center;
}

.view_con img.contents_img {
    border-radius: 30px;
    width: 100%;
    height: auto;
}

.view_con img.map {
    width: 95% !important;
}

#kakao_map {
    text-align: center;
}

.album_tit {
    font-size: large;
    font-weight: normal;
}

.list_type_album li {
    margin-bottom: 30px;
}

.view_con p {
    background-color: #fff;
}

.view_con div.view_con_center * {
    font-family: 'Noto Sans KR', Helvetica, sans-serif;
    font-size: 18px;
}

.sub_img {

}

.sub_slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ccc;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.sub_slogan h4 {
    font-size: xxx-large;
}

.sub_slogan h5 {
    font-size: xx-large;
}

.sub_contents_iframe {
    width: 90%;
    padding: 20px 30px;
}

.sub_contents_area {

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        margin: 0 auto;
    }

    .grid-item {
        border: 1px solid #ddd;
        padding: 20px;
        text-align: center;
    }

    .grid-container img {
        max-width: 100%;
        width: 100%;
        height: 350px; /* 원하는 높이 설정 */
        object-fit: cover; /* 이미지 비율 유지하며 잘라냄 */
    }

    ul, ol, li {
        /*list-style: initial;*/
        list-style: disc; /* 기본 list-style-type을 유지 */
        padding-left: 20px; /* 목록에 기본 들여쓰기 */
        word-wrap: break-word;
        list-style-position: inside; /* disc와 텍스트 간 거리를 좁힘 */
        text-indent: -28px; /* 텍스트를 기호 쪽으로 더 가깝게 */
    }

    * {
        font-size: unset !important;
        font-weight: 400 !important;
        width: 100%;
        text-align: initial !important;
        margin-bottom: 20px;
    }

    strong {
        font-weight: bold !important;
    }

    h3 {
        font-size: 24.5px !important;
    }

    h1, h2, h3 {
        line-height: 40px !important;;
    }

    h1, h2, h3, h4, h5, h6 {
        margin: 10px 0 !important;
        font-family: inherit !important;
        font-weight: bold !important;
        line-height: 110% !important;
        color: inherit !important;
    }

    h2 {
        font-size: xx-large !important;
        font-weight: bold !important;
        width: 100%;
        margin-top: 50px !important;
        margin-bottom: 50px !important;
        font-family: 'Noto Sans KR', '맑은 고딕', 바탕, 바탕체, 굴림, 'verdana', Gulim, AppleGothic, sans-serif;
        line-height: 110% !important;
    }

    * {
        text-align: justify !important;
        word-break: break-all !important;
        width: initial !important;
    }

    padding: 60px !important;


}

@media screen and (max-width: 480px) {
    .sub_contents_area {
        padding: 30px !important;
        width: unset !important;

        /* 기본적으로 1열 레이아웃 (모바일) */

        .grid-container {
            grid-template-columns: 1fr;
        }
    }

    .sub_contents_area * {
        width: initial !important;
    }
}

.image-container {
    display: flex;
    flex-wrap: wrap;
}

.image-container img {
    width: 100px; /* 원하는 너비 설정 */
    height: 100px; /* 원하는 높이 설정 */
    object-fit: cover; /* 이미지 비율 유지하며 잘라냄 */
    margin: 5px; /* 이미지 간 간격 */
}

.gallery_contents p {
    text-align: center;
}

.gallery_contents img {
    width: 80% !important;

    margin: 30px;
}

.image-container_gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* 이미지 간격 */
}

.image-container_gallery li {
    width: calc(33.333% - 30px);
    height: 350px;
}

.image-container_gallery img {
    width: 100%; /* 원하는 너비 설정 */
    height: 300px; /* 원하는 높이 설정 */
    object-fit: cover; /* 이미지 비율 유지하며 잘라냄 */
}

.album_tit {
    width: 100%;
    text-align: center;
}