/*대형 데스크탑 및 대형 스크린*/
@media screen and (max-width: 1600px) {
    html {
        font-size: 0.6510vw;
    }

}

/*대형 데스크탑 및 대형 스크린*/
@media screen and (max-width: 1440px) {}

/*노트북 및 데스크탑*/
@media screen and (max-width: 1280px) {
    html {
        font-size: 0.8242vw;
    }

    /*ceo*/
    .ceo .con-box .right {
        width: 50%;
    }

    /*vision*/
    .mission-vision .right .item-wrap .img-wrap {
        max-width: 16rem;
    }

    /*value*/
    .value .list-wrap .list {
        width: calc(100% - 8rem / 5);
        margin-right: 2rem;
    }

    #about_company {
        padding: 10rem 0;
    }
    .about_company_con h2 {
        padding: 3rem 0;
    }
    .title_txt {
        font-size: 3rem;
    }
    .sub_txt {
        font-size: 2.2rem;
    }
    .business_area_wrap .business_area_con {
        margin-left: 0;
        padding: 0 20px;
    }
    .business_area_wrap .left .text_wrap h2 {
        font-size: 3rem;
    }
    .business_area_wrap .left .focus p:nth-child(1), .main_news_wrap > div:first-child > p:first-child {
        font-size: 2.4rem;
    }

    .sub-content {
        padding: 12rem 2rem 20rem;
    }
    .business_area_box p {
        font-size: 2rem;
    }

}

/*태블릿(가로모드) 및 작은 노트북*/
@media screen and (max-width: 1024px) {
    /*business*/
    .business .p-line {
        display: none;
    }

    .business .process-wrap {
        padding: 25rem 0;
    }

    .business .process-wrap .process-list {
        display: flex;
        gap: 3rem;
        min-width: 200rem;
    }

    .business .process-wrap .content {
        overflow-x: auto;
    }

    .business .process-wrap .process-list .pcs-item {
        position: static;
        width: 100%;
    }

    .business .process-wrap .process-list .pcs-item .num-box {
        opacity: 1;
    }

    .business .sec-03 .text-box {
        left: 0;
        top: 20%;
    }
    .tel_txt {
        margin-left: 0;
        display: block;
    }

}


/*태블릿(세로모드)*/
@media screen and (max-width: 768px) {
    html {
        font-size: 1.2vw;
    }

    /*sub-visual*/
    .sub-visual .info .info-wrap .tit {
        font-size: 5rem;
        margin-top: 30px;
    }
    .sub-visual::before {
        display: none;
        content: none;
    }
    .sub-visual .sub-nav-wrap {
        padding-right: 0;
    }
    .sub-visual .sub-nav-wrap .sub-nav .menu {
        gap: 6rem;
    }



    /*sub-common*/
    .sub-content {
        padding: 3rem 2rem 10rem;
    }
    .ral-box {
        flex-direction: column;
        gap: 2rem;
    }
    .ral-box .sub-tit-box {
        width: 100%;
    }
    .ral-box .sub-con-box {
        width: 100%;
    }
    .sub-tit {
        font-size: 3.2rem;
    }

    /*ceo*/
    .ceo .con-box {
        flex-direction: column;
        gap: 4rem;
    }
    .ceo .con-box .left,
    .ceo .con-box .right {
        width: 100%;
    }

    /*vision*/
    .mission-vision .con-box {
        gap: 2rem;
        flex-direction: column;
    }
    .mission-vision .con-box .left,
    .mission-vision .con-box .right {
        width: 100%;
    }

    /*value*/
    .value .list-wrap {
        flex-wrap: wrap;
    }
    .value .list-wrap .list {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4rem;
    }
    .value .list-wrap .list .text-box .txt {
        font-size: 2.2rem;
    }

    /*location*/
    .location .con-box .right .map-info-wrap .lo-info-box {
        gap: 2rem;
        flex-direction: column;
    }

    /*business*/
    /* .business .section .info-box .item-box {
        background-color: #ffffff04;
        backdrop-filter: blur(8px);
    } */

    .business .section .bg-wrap .bg {
        background-image: url("../img/business-sec-01.jpg");
        position: relative;
    }
    .business .section.sec-03 .bg-wrap .bg::before {
        display: none;
    }
    .business .section .bg-wrap .bg::before {
        display: block;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #00000020;
    }
    .business .section .info-box .item-box .text-box p {
        width: 100%;
    }
    .business .sec-03 {
        height: auto !important;
    }
    .business .sec-03 .fp-tableCell {
        height: auto !important;
    }
    .business .sec-03 .text-box {
        left: 0;
        top: 15%;
        bottom: auto;
    }
    .business .process-wrap {
        padding: 30rem 0 25rem;
    }

    /*quality-target*/
    .q-target .zero-wrap .zero-box .zero-list {
        font-size: 12rem;
        margin: 1rem;
    }
    .q-target .info-wrap .info-box .text-box .txt {
        font-size: 2.2rem;
    }

    /*quality-process*/
    .q-process .process-wrap .process-list {
        flex-direction: column;
    }
    .q-process .process-wrap .process-list .item {
        width: 100%;
    }
    .q-process .process-wrap .item .right .txt {
        font-size: 2.2rem;
    }

    /*esg-management*/
    .esg-con-wrap .list {
        gap: 4rem;
        flex-wrap: wrap;
    }
    .esg-con-wrap .list .item {
        width: 100%;
    }
    .esg-con-wrap .list .item .img-box {
        padding-top: 40%;
    }
    .esg-con-wrap .list .item .text-box .txt {
        font-size: 2rem;
    }

    /*esg-process*/
    .esg-process .process-wrap .process-list {
        gap: 2rem;
    }
    .esg-process .process-wrap .process-list .item {
        width: 100%;
    }
    .esg-process .process-wrap .item .right .txt {
        font-size: 2rem;
    }


    .news_swiper .swiper-slide {
        width: calc(100% / 2 - 10px) !important;
        padding: 3rem 1rem 1rem;
    }
    .new_txt_wrap p {
        font-size: 14px;
    }
    .new_txt_wrap h2 {
        font-size: 2.7rem;
    }
    .new_txt_wrap h4 {
        font-size: 2rem;
    }
    .new_txt_wrap {
        padding: 0 2rem 2rem;
    }
    .news_swiper .media_pagination .swiper-scrollbar-drag {
        top: -6px;
        width: 65px !important;
        height: 20px;
    }

    .business_area_wrap .left {
        width: 100%;
    }
    .business_area_wrap .right {
        display: none;
    }
    .business_area_wrap .left .focus li {
        width: calc(100% / 2 - 8px);
        border-radius: 0 15px 0 15px;
        overflow: hidden;
    }
    .business_area_box img {
        width: 100%;
        height: 17rem;
    }
    .business_area_wrap .left .focus li:nth-child(5) {
        margin-left: 0;
    }
    .main_banner_txt h2 {
        font-size: 5rem;
    }
    .swiper_nav_wrap {
        bottom: 25px;
    }

    .sub-visual .sub-nav-wrap {
        display: none;
    }
    .cp_table {
        flex-direction: column;   
    }
    .cp_table > div {
        width: 100%;
    }

    .history_con {
        padding-right: 0;
        padding-left: 20px;
    }
    .history-year-group-box {
        display: block;
        overflow: hidden;
    }
    .history-percent-bar {
        left: 0;
    }
    .history-year-group-box .history-year-group-tit-box {
        width: 100%;
        padding-right: 0;
        text-align: left;
        padding-left: 20px;
    }

    .history-year-group-box .history-year-item {
        display: block;
    }
    .history-year-group-box .history-year-item .history-month-item {
        display: block;
        margin-bottom: 2.5rem;
    }
    .history-year-group-box .history-year-list-box {
        width: 100%;
        padding: 20px 0 0 25px;
    }
    .history-year-group-box .history-year-item .history-month-item .history-detail-txt-con {
        width: 100%;
    }
    .history-year-group-box .history-year-item .history-month-box {
        width: 100%;
    }
    .history-year-group-box .history-year-item .history-month-item .history-detail-txt img.history_img {
        max-height: 205px;
    }
    .history-year-group-box .history-year-group-tit {
        font-size: 3.2rem;
    }
    .history-year-group-box .history-year-item .history-month-item .history-month {
        font-size: 2.2rem;
    }
    .history-year-group-box .history-year-item .history-month-item .history-detail-txt {
        font-size: 2.2rem;
    }


    .rnd_wrap .rnd_con.certification_con {
        gap: 20px;
    }
    .rnd_wrap .rnd_con.certification_con > div {
        width: calc(100% / 2 - 10px);
    }
    .rnd_wrap .rnd_con.certification_con > div > div {
        padding: 3rem;
        text-align: center;
    }
    .rnd_wrap .rnd_con.certification_con > div > div img {
        height: auto;
        width: 100%;
    }
    .rnd_wrap .rnd_con .rnd_certification > span {
        display: none;
    }
    .eq_table {
        display: block;
    }
    .eq_table .table_box {
        width: 100%;
    }
    .eq_table_tt {
        margin-bottom: 2rem;
    }
    .eq_table_tt h4::before {
        width: 7px;
        height: 7px;
        top: -3px;
    }
    .sub-top {
        height: 48rem;
    }
    .about_company_con img {
        width: 8rem;
    }


     .sp_box_txt h4 {
        font-size: 2.2rem;
    }
    .sp_box_txt h2 {
        font-size: 3.2rem;
    }
    .sp_box_download a {
        width: 15rem;
    }
    .main_news_wrap {
        padding: 10rem 0;
    }
    .sp_box_con .sp_box_txt {
        flex-basis: 60%;
    }
    .sp_box_img {
        flex-basis: 40%;
    }
    .sp_box_con {
        padding-top: 10rem;
        padding-bottom: 7rem;
    }
    .sp_box_download {
        gap: 10px;
    }
    .sp_box_img img:last-child {
        bottom: -7rem;
    }

    .table_box table th {
        width: 17rem;
    }
    .eq_table_tt h4 {
        font-size: 2.6rem;
    }
    .table_box table th, .table_box table td {
        font-size: 2.4rem;
    }
    .cp_table .table_box table td p a {
        font-size: 2.4rem;
    }
    .ceo_greeting h2 {
        font-size: 2.7rem;
    }
    .ceo_greeting_img p {
        letter-spacing: 0.3rem;
    }
    .greeting_detail {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }
    .certification_con > div {
        width: calc(100% / 3 - 14px);
        margin-bottom: 2rem
    }
    .certification_con > div > div img {
        height: auto;
    }
    .certification_con div h4 {
        font-size: 2.2rem;
    }
    .certification_con div p {
        font-size: 2rem;
    }
    .rnd_wrap .rnd_con .rnd_certification + p {
        padding-left: 0;
    }
    .business_detail h4 {
        font-size: 2.6rem;
    }
    .business_detail .all_container > p:last-child {
        font-size: 2.2rem;
        padding: 0 20px;
    }
    .rnd_con_box p {
        font-size: 2rem;
    }
    .count-wrap .count {
        font-size: 2rem;
    }
    .search-wrap #searchInput {
        font-size: 2rem;
    }
    .business_detail {
        padding-bottom: 5rem;
    }
    .business_area_con .sub_txt br {
        display: none;
    }

    #mainVisual {
        height: 65rem;
    }
    #mainVisual .main_bg {
        height: 100%;
    }
    .swiper_btn {
        width: 90px;
        height: 40px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .line_bg {
        height: 20px;
    }
    

}

@media screen and (max-width: 640px) {
    .application_box_wrap {
        gap: 15px;
    }
    .application_box {
        width: calc(100% / 2 - 8px);
        padding: 2.5rem;
        border-radius: 10px;
    }
    .application_box > p {
        font-size: 2rem;
    }
    .business_detail_img p {
        letter-spacing: 2px;
    }
}


/*소형 장치 (스마트폰 가로모드)*/
@media screen and (max-width: 500px) {
    html {
        font-size: 1.6vw;
    }

    /*sub-visual*/
    .sub-visual .sub-nav-wrap .sub-nav .menu li {
        font-size: 2.2rem;
    }

    /*q-target*/
    .q-target .zero-wrap .zero-box .zero-list {
        font-size: 8rem;
    }
    .q-target .info-wrap .info-box {
        gap: 3rem;
        flex-wrap: wrap;
    }
    .q-target .info-wrap .info-box .info-list {
        width: 100%;
    }

    /*business*/
    .business .section .info-box .item-box .tit {
        font-size: 4rem;
    }

    /*board-list-style*/
    .board-list-wrap .board-item a .title {
        font-size: 2.4rem;
    }
    .news_swiper .swiper-slide {
        width: 100% !important;
        padding: 3rem 1rem 1rem;
    }

    .sp_box_con .sp_box_txt {
        flex-basis: 65%;
        padding-top: 0;
    }
    .sp_box_img {
        flex-basis: 35%;
    }
    .rnd_wrap .rnd_con .rnd_certification h4 span {
        width: 9rem;
        margin-right: 5px;
        padding: 3px 0;
        font-size: 1.7rem;
        letter-spacing: -0.2px;
    }
    .rnd_con_box {
        gap: 15px;
    }
    .rnd_con_box img {
        width: 5px;
    }
    .inquiry_con form div input, .inquiry_con form div textarea {
        font-size: 14px;
    }
    .main_banner_txt h4 {
        font-size: 2.4rem;
    }
    .certification_con > div {
        width: calc(100% / 2 - 10px);
    }
    .text-fade-in {
        opacity: 1 !important;
    }
    .mob_slide_menu {
        display: block;
    }
    .greeting_detail {
        white-space: break-spaces;
    }
    .greeting_detail span {
        display: block;
        margin-bottom: 20px;
    }
    .greeting_detail span br {
        display: none;
    }
    .tel_txt .tel_pc {
        display: none;
    }
    .tel_mb {
        display: inline;
    }
    
    .eq_table table tr th:last-child {
        display: none;
    }
    .eq_table table colgroup col{
        width : 33.3333% !important;
    }
    .eq_table table colgroup col:last-child {
        display: none;
    }
    .eq_table table tr.table_r_line td:last-child, .eq_table table tr.table_r_line th:last-child {
        display: none;
    }
    .eq_table_mb {
        display: block;
    }
    .location_detail > div {
        width: 100%;
        padding: 3.5rem 0;
    }

    .news_swiper .swiper-slide img {
        max-width: 100%;
    }
    .ceo_greeting_img {
        background-attachment: inherit;
    }

    .sub-top {
        height: 40rem;
    }
    .sub-visual .bg {
        height: 100%;
    }
    .sub-visual .inner.info-wrap {
        padding-top: 10rem;
    }

}

/*초소형 장치 (스마트폰)*/
@media screen and (max-width: 320px) {
    html {
        font-size: 2vw;
    }

}
