/*대형 데스크탑 및 대형 스크린*/
@media screen and (max-width: 1800px) {
    .overview-info .stats-grid > .card {
        min-width: auto !important;
    }
}
@media screen and (max-width: 1600px) {
    .info-box.ckeditor_area p,
    .inquiry .form-box-wrap .form-box .r-box input,
    .inquiry .form-box-wrap .form-box .r-box textarea {
        font-size: clamp(14px, 1.6rem, 20px) !important;
    }

    .notice .n-list li > a .txt-wrap .title {
        font-size: clamp(18px, 1.6rem, 20px) !important;
    }

    .overview-info {
        padding: 14rem 1.5rem;
    }
}

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

    .overview-info .stats-grid > .card {
        width: calc((100% - 5rem) / 3);
        min-width: 45rem;
    }
}

/*노트북 및 데스크탑*/
@media screen and (max-width: 1280px) {
    /*partner*/
    .partner .pt-wrap {
        gap: 6rem;
    }
    .partner .left {
        width: 28rem;
    }
    .partner .right {
        width: calc(100% - 34rem);
    }
    /*partner//*/

    /*pd-list*/
    .pd-list .pd-menu-wrap {
        width: 30rem;
    }
    .pd-list .con-box {
        gap: 5rem;
    }
    .pd-list .item-list {
        width: calc(100% - 35rem);
    }
    .pd-list .item-list .list .item {
        width: calc((100% - 2rem) / 2);
    }
    /*pd-list//*/

    /*pd-view*/
    .pd-view .pd-info-wrap .pd-img-btn {
        flex-direction: column-reverse;
        gap: 2rem;
        top: 12rem;
    }
    .pd-img-box {
        width: 100%;
        max-width: 60rem;
    }
    .pd-view .pd-img-list .swiper-slide img {
        max-height: 9rem;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        max-width: 100%;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box .btn-item a {
        padding: 2rem 3.4rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box .btn-item .txt {
        margin-top: 0;
        text-align: left;
    }
    .pd-view .pd-info-wrap .con-box {
        gap: 8rem;
    }
    .pd-view .pd-info-wrap .pd-img-btn {
        width: 46%;
        padding-left: 4rem;
    }
    .pd-view .pd-info-wrap .pd-view-info-wrap {
        width: 46%;
        padding-right: 4rem;
    }
    .pd-view .pd-info-wrap::before {
        width: 50%;
    }

    .location_cont .map iframe {
        width: 100%;
    }

    .location_cont .map_info {
        gap: 30px;
    }
    /*pd-view//*/
}

/*태블릿(가로모드) 및 작은 노트북*/
@media screen and (max-width: 1024px) {
    html {
        font-size: 0.8vw;
    }

    .overview-info .card {
        padding: 30px;
        min-height: 300px;
    }

    .ceo_wrap .title h4 {
        margin-bottom: 15rem;
    }

    .ceo-hero,
    .ceo-hero__bg {
        height: 230px;
    } 

    .ceo-hero {
        gap: 26rem;
    }

    /*pd-list*/
    .product-grid .product-card {
        width: calc(50% - 13.5px);
    }

    .product-grid .product-media {
        min-height: 27.7rem;
        height: 27.7rem;
    }
    /*pd-list//*/

    /*pd-drop*/
    .pd-list .pd-menu-wrap {
        position: static;
        top: 0;
    }
    .pd-toggle-btn {
        display: block;
        font-size: 2.2rem;
        font-weight: 600;
    }
    .pd-list .pd-menu {
        display: none;
        position: absolute;
        /* top: 7.8rem; */
    }
    .pd-list .pd-menu .pd-on-move span {
        width: 100%;
        left: 0;
        background: none;
    }
    .pd-list .pd-menu {
        border: 2px solid #eeeeee;
        border-top: none;
    }

    .pd-list .pd-menu .list .menu {
        border-bottom: 1px solid #eeeeee;
    }

    .pd-list .pd-menu .list .menu:last-child {
        border: none;
    }

    .pd-list .pd-menu .list .menu.on a p,
    .pd-list .pd-menu .list .menu.on.fix a p {
        color: var(--main-color);
    }
    .pd-list .pd-menu .list {
        padding: 0 2rem;
    }

    .pd-list .pd-menu .list .menu {
        height: 8rem;
    }
    /*pd-drop//*/

    /*certificate*/
    .certi .c-list > li {
        width: 31.33%;
    }
    /*certificate//*/

    /*news*/
    .notice .n-list li > a .txt-wrap .title {
        font-size: 2.4rem;
        margin: 0;
    }
    .notice .n-list li > a .txt-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .notice .n-list li > a .txt-wrap .date,
    .notice .n-list li > a .txt-wrap .main_p,
    .notice .n-list li > a .txt-wrap .title {
        width: 100%;
    }
    .notice .n-list li > a .txt-wrap .date {
        max-width: 100%;
    }
    /*news//*/

    /*inquiry*/
    .inquiry .con-box .info-box {
        width: 40%;
    }
    .inquiry .con-box .form-box-wrap {
        width: 60%;
    }
    .inquiry .form-box-wrap .agree-btn-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;
    }
    .inquiry .btn-box {
        width: 100%;
    }
    .inquiry .btn-box .f-box {
        justify-content: center;
    }
    .inquiry .form-box-wrap .form-box .l-box {
        min-width: 14rem;
    }
    .inquiry .form-box-wrap .form-box .r-box {
        width: calc(100% - 14rem);
    }
    /*inquiry//*/

    .certification_con > div {
        width: calc(25% - 15px);
    }
    .certification_con {
        gap: 0 20px;
    }

    .certification_con .certificate_img {
        padding: 34px 38px;
    }

    .certification_con > div {
        min-height: auto;
    }

    .technicalservice .tech-img {
        width: 100%;
    }

    .technicalservice .tech-img img {
        width: 50%;
        height: auto;
    }

}

/*태블릿(세로모드)*/
@media screen and (max-width: 768px) {
    html {
        font-size: 1vw;
    }
    .title .txt {
        font-size: 4rem !important;
        margin-bottom: 5rem;
    }
    .sub-sec {
        margin-bottom: 0;
    }

    .overview .sub-sec {
        margin-bottom: 14rem;
    }
    
    
    /*sub-visual*/
    .sub-visual .info .info-wrap .tit {
        font-size: 5rem;
    }
    /*sub-visual//*/
    /*sub-common*/
    .sub-content {
        padding: 12rem 0;
    }
    .mobile-dropdown-toggle,
    .pd-toggle-btn {
        font-size: 2.8rem;
    }
    /*sub-common//*/

    /*모바일 드롭다운*/
    .mobile-dropdown-toggle {
        display: block;
        padding: 2rem;
        cursor: pointer;
    }
    .sub-top {
        overflow: visible;
        height: 60rem;
    }
    .sub-visual .bg {
        animation: none;
        transform: scale(1, 1);
    }
    .sub-visual .sub-nav-wrap .sub-nav .menu.mo-list {
        flex-direction: column;
        gap: 0;
    }
    .sub-visual .sub-nav-wrap .sub-nav .menu.mo-list li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #eeeeee1c;
        padding: 0;
        color: #161616;
    }

    .sub-visual .sub-nav-wrap .sub-nav .menu.mo-list li a {
        padding: 2.2rem 0;
        width: 100%;
        height: 100%;
        display: block;
        font-size: 2.4rem;
    }
    .sub-visual .sub-nav-wrap .sub-nav .menu {
        display: none;
        position: absolute;
        width: 100%;
        z-index: 9;
        top: 0;
        background-color: #f9f9f9;
    }
    /*모바일 드롭다운//*/

    /*overview*/
    .overview .btn-row .btn {
        gap: 5rem;
    }

    .overview-info .card--feature .big {
        font-size: 3rem;
    }

    .overview-info .card__body .label {
        font-size: 1.6rem;
    }

    .overview-info .card__icon img {
        width: 30px;
        height: 30px;
    }
    .overview-info .sub-title h4 {
        font-size: 3rem;
        margin-bottom: 5rem;
    }

    .overview-info .card {
        min-height: 200px;
    }

    .overview-info .card--feature .suffix {
        font-size: 14px;
    }

    .ceo-hero__photo img {
        height: 37.6rem;
    }

    .ceo-hero__since {
        font-size: 3rem;
    }

    .ceo-hero__title {
        font-size: 2rem;
    }

    .ceo-hero__role {
        font-size: 1.6rem;
    }
    /*overview//*/

    /*history*/
    .history-line {
        left: 5%;
    }
    .history-indicator {
        left: 5%;
    }
    .history-item-wrap {
        padding: 18rem 0 0 12rem;
    }
    .history-item:nth-child(even) .content,
    .history-item:nth-child(odd) .content {
        padding-left: 0;
    }
    .history-item {
        flex-direction: column;
        justify-content: flex-start;
        gap: 2rem;
    }
    .history-item .year {
        text-align: left;
        padding-right: 0;
    }
    .item-side {
        width: auto;
    }

    .history-style02 .history-year-group-box .history-year-group-tit {
        font-size: 4rem;
    }

    .history-style02 .history-year-group-tit-box + .history-year-list-box {
        width: calc(100% - 37rem) !important;
    }

    .history-style02 .history-year-group-box .history-year-group-tit-box {
        width: 30rem;
    }

    .history .history_bg .history_bg_txt {
        font-size: 20px;
    }
    /*history//*/
    

    /*location*/
    .location .location-info-box {
        flex-direction: column;
        margin-bottom: 6rem;
    }
    .location .location-info-box .img-wrap {
        display: none;
    }
    .location .img-wrap,
    .location .info-wrap {
        width: 100%;
    }
    .location .location-item .tit {
        font-size: 15px !important;
    }

    .location_cont>.d-flex {
        flex-direction: column;
    }
    .location_cont .d-flex h4 {
        margin-bottom: 20px;
        font-size: 3rem;
    }

    .location_cont .map iframe {
        height: 250px;
    }
    /*location//*/

    /*pd*/
    .product-grid .product-media img {
        max-width: 90%;
        /* width: 50%; */
        object-fit: contain;
        height: 80%;
    }

    .product-grid .product-media {
        min-height: 30.7rem;
        height: 13.7rem;
    }
    /*pd//*/

    /*pd-view*/
    .pd-view .pd-info-wrap .con-box {
        gap: 4rem;
        flex-direction: column;
    }
    .pd-view .pd-info-wrap .pd-img-btn {
        width: 100%;
        padding: 4rem 4rem 0;
        position: static;
    }
    .pd-view .pd-info-wrap .pd-view-info-wrap {
        width: 100%;
        padding: 0 4rem;
    }
    .pd-img-box {
        width: 100%;
        max-width: 100%;
    }
    .pd-view .pd-img-big .swiper-slide img {
        width: 70%;
        height: auto;
    }
    .pd-view-info-wrap .pd-info-box {
        margin-bottom: 8rem;
    }
    .pd-view .pd-info-wrap::before {
        width: 97%;
    }
    /*pd-view//*/

    /*certificate*/
    .certi .c-list > li {
        width: 48%;
    }
    /*certificate//*/

    /*news*/
    .notice .n-list li > a .txt-wrap .title {
        font-size: 2.6rem;
    }
    /*news//*/

    /*inquiry*/
    .inquiry .con-box {
        flex-direction: column;
    }

    .inquiry .con-box .form-box-wrap,
    .inquiry .con-box .info-box {
        width: 100%;
    }

    .inquiry .form-box-wrap .form-box .l-box {
        min-width: 80px;
    }

    .inquiry .form-box-wrap .form-box .r-box {
        width: calc(100% - 80px);
    }
    .inquiry .form-box-wrap .notification {
        text-align: left;
    }
    .inquiry .form-box-wrap .list-wrap {
        gap: 1.6rem;
    }
    /*inquiry//*/

    .technicalservice .tech-img {
        gap: 30px;
    }

    .technicalservice .info-box {
        width: 100%;
    }

    .technicalservice .tech-img img {
        height: auto !important;
        width: 45%;
    }

}

@media screen and (max-width: 600px) {
    .overview .info-box {
        flex-wrap: wrap;
        gap: 50px;
    }

    .overview .btn-row .btn {
        gap:11rem;
    }

    .overview .btn-row .btn {
        padding: 10px 10px;
    }

    .overview-info .stats-grid > .card {
        width: calc((100% - 3rem) / 2);
    }
    .certification_con {
        gap: 2.5rem;
    }
    .certification_con > div {
        width: calc(50% - 15px);
    }

    .technicalservice .ts-info h4 {
        font-size: 3rem;
    }

    .overview .btn__icon img {
        height: 3.4rem;
    }

    .overview .btn-row .btn {
        border-radius: 5px;
    }

    .history .history_bg {
        margin-bottom: 0;
    }

  
}

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

    .mobile-dropdown-toggle,
    .pd-toggle-btn {
        font-size: 2rem;
    } 

    .ceo_wrap .title h4 {
        margin-bottom: 12rem;
    }

    .ceo-hero, .ceo-hero__bg {
        height: 120px;
    }

    .ceo-hero {
        gap: 14rem;
    }
    .ceo-hero__since {
        display: none;
    }

    .ceo-hero__photo {
        left: 29%;
    }

    .ceo-hero__photo img {
        height: 24.6rem;
    }

    .history-style02 .history-year-group-box .history-year-group-tit-box {
        display: none;
    }

    .history-style02 .history-year-group-tit-box + .history-year-list-box {
        width: 100% !important;
    }

    .history .history_bg .history_bg_txt {
        font-size: 18px;
        text-align: center;
    }

    /*partner*/
    .partner .right .list .item {
        width: calc((100% - 2rem) / 2);
    }
    
    /*partner//*/

    /*location*/
    .location .location-item dl dt img {
        max-width: 2.4rem;
    }
    .location .location-item dl {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6em;
    }
    .location .location-item dl {
        margin-bottom: 2.2rem;
    }
    /*location*/

    /*pd-view*/
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box {
        flex-wrap: wrap;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box {
        gap: 0;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box .btn-item {
        width: 100%;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box .btn-item img {
        margin: 0;
    }
    .pd-view .pd-info-wrap .pd-img-btn .pd-btn-box .btn-item a {
        justify-content: center;
    }
    /*pd-view//*/

    /*inquiry*/
    .inquiry .mail-box .info img {
        max-width: 2.4rem;
    }
    /*inquiry//*/

    .technicalservice .tech-img {
        flex-direction: column;
        gap: 50px;
    }

    .technicalservice .tech-img img {
        width: 100%;
    }

    .technicalservice .ts-info .ts-box {
        gap: 20px;
    }

    .technicalservice .ts-info .ts-box .ts-card {
        width: calc(50% - 10px); 
        flex-wrap: wrap;
    }

    .certification_con h4 {
        font-size: 16px !important;
    }

    .location_cont .map_info {
        flex-wrap: wrap;
        gap: 5px;
    }


}

@media screen and (max-width: 400px) {
    .overview-info .stats-grid > .card {
        width: 100%;
    }

    .certification_con > div {
        width: 100%;
    } 

    .certification_con .certificate_img {
        padding: 47px 72px;
    }

    .product-grid .product-card {
        width: 100%;
    }

    .product-grid .badge {
        padding: 4px 11px;
        font-size: 12px;
    }

    .product-grid .product-card {
        padding: 15px 15px 20px; 
    }

    .sub-btn .plus-icon {
        width: 10px;
        height: 10px;
        margin-top: -2px;
    }

    .breadcrumbs .t-nav li.home {
        width: 12px;
    }

    .search-wrap {
        padding-bottom: 0;
    }

    .search-wrap .search-btn > img {
        width: 12px;
    }

    .ui-modal-txt ul .dot::before {
        width: 2px;
        height: 2px;
        margin-right: 3px;
    }
} 

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

    .ceo-hero__photo img {
        height: 28.6rem;
    }

    
    .top-center  {
        flex-wrap: wrap;
        gap: 5px;
    }

}
