/*대형 데스크탑 및 대형 스크린*/
@media screen and (max-width: 1600px) {
    .txt {
        font-size: clamp(15px, 1.6rem, 20px) !important;
    }
    .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(15px, 1.6rem, 20px) !important;
    }

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

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

/*노트북 및 데스크탑*/
@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: 12rem;
    }
    .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%;
    }
    /*pd-view//*/
}

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

    /*pd-list*/
    .pd-list .con-box {
        flex-direction: column;
        gap: 4rem;
    }
    .pd-list .pd-menu-wrap {
        width: 100%;
        position: relative;
    }
    .pd-list .item-list {
        width: 100%;
    }
    .pd-list .item-list .list {
        gap: 2rem;
    }
    .pd-list .item-list .list .item {
        width: calc((100% - 4rem) / 3);
    }
    /*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//*/

}

/*태블릿(세로모드)*/
@media screen and (max-width: 768px) {
    html {
        font-size: 1vw;
    }
    /*sub-visual*/
    .sub-visual .info .info-wrap .tit {
        font-size: 5rem;
    }
    /*sub-visual//*/
    /*sub-common*/
    .sub-content {
        padding: 14rem 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 .ceo .info-box {
        flex-direction: column;
    }
    .overview .ceo .info-box .left,
    .overview .ceo .info-box .right {
        width: 100%;
    }
    .overview .business .business-wrap .list {
        flex-direction: column;
    }
    .overview .business .business-wrap .list .item {
        width: 100%;
    }
    /*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//*/

    /*partner*/
    .partner .pt-wrap {
        gap: 4rem;
        flex-direction: column;
    }
    .partner .left {
        width: 100%;
    }
    .partner .right {
        width: 100%;
    }
    .partner .right .list {
        gap: 2rem;
    }
    .partner .right .list .item {
        width: calc((100% - 6rem) / 4);
    }
    /*partner//*/

    /*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//*/

    /*pd-drop*/
    .pd-list .item-list .list {
        gap: 2rem;
    }
    .pd-list .item-list .list .item {
        width: calc((100% - 2rem) / 2);
    }
    .pd-list .pd-menu .list .menu a {
        justify-content: flex-start;
    }
    /*pd-drop//*/

    /*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//*/

}

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

    /*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//*/

}

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

}
