@charset "utf-8";

.m-view {
    display: none;
    margin-top: 3rem;
}

.pc-view {
    display: block;
    margin-top: 5rem;
    max-width: 100%;
}

table.pc-view {
    display: table;
}

/* PC 낮은 해상도 및 태블릿 대응 */
@media (max-width: 1024px) {


    #main-container #main-contents-2 {
        height: 600px;
        background-position: 60% center;
    }

    #main-visual {
        height: 100vh;
    }

    #main-visual .swiper-slide img.pc-visual {
        display: none;
    }
    
    #main-visual .swiper-slide img.mobile-visual {
        display: block;
        height: 100vh;
        object-position: 60% center;
    }

    #main-visual .swiper-slide:nth-child(2) img.mobile-visual {
        object-position: 42% center!important;
    }


    #sub-menu ul li a {
        height: 64px;
    }

    #sub-contact+#sub-container {
        padding-top: 100px;
    }

    #sub-contact-info .contact-info-wrap {
        flex-direction: column;
        padding-top: 0;
        margin-top: 64px;
    }

    #sub-contact-info .contact-info {
        padding: 0 40px 40px;
        background: #ffffff;
        margin-bottom: 30px;
        min-width: 330px;
    }

    #sub-contact-info .contact-info:last-child {
        margin-bottom: 0;
    }

    #sub-contact-info .contact-info>.info {
        margin-top: 30px;
    }

    #sub-contact-location .company-info .addr {

        flex-direction: column;

        align-items: flex-start;

        margin-top: 30px;

    }

    #sub-contact-location .company-info .addr dl {

        margin: 10px 30px 0;

    }

    #sub-contact-location .company-info .addr dl dt {

        min-width: 64px;
    }


    #sub-company-contents-4 .value-wrapper {
        width: 100%;
        margin-top: 3rem;
        background: none;
    }

    .m-view {
        display: block;
        width: 100%;
    }

    table.m-view {
        display: table;
        width: 100%;
    }

    .pc-view {
        display: none;
    }

    table.pc-view {
        display: none;
    }


    .mobile-menu {
        display: block;
        z-index: 999;
    }

    #header {
        height: 64px;
        padding: 0 20px;
    }

    #header.scroll {}

    #header a {
        color: #484747;
    }

    #header #logo a {
        width: 100px;
        height: 28px;
    }

    #header>#gnb {
        transform: translateX(100%);
        position: absolute;
        top: 0;
        left: 50%;
        right: 0;
        height: 100vh;
        z-index: 99;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all .3s;
    }

    #header>#gnb.open {
        transform: translateX(0);
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        -webkit-box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        -ms-box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        -o-box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

    #header>#gnb>li>a {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        position: relative;
        padding: 16px;
    }

    #header>#gnb>li>a::after {
        content: '';
        display: block;
        width: 0%;
        height: 2px;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: #C09C88;
        transition: all .3s;
    }

    #header>#gnb>li>a:hover::after {
        width: calc(100% - 32px);
    }

    /* 메인비주얼 */

    #main-visual .slogan p {
        font-size: 6vw;
        line-height: 7vw;
    }

    /* 메인 콘텐츠 */

    #main-container #main-contents-1 .services {
        height: 40vw;
    }

    #main-container #main-contents-1 .services li a .front p {
        font-size: 3vw;
        font-weight: 700;
    }

    #main-container #main-contents-1 .services li i[class^=ico-] {
        display: block;
        width: 16vw;
        height: 16vw;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        margin-top: -30px;
    }

    #main-container #main-contents-1 .services li .back-title {
        font-size: 3vw !important;
        margin-top: 5vw !important;
    }

    #main-container #main-contents-1 .services li .back-desc {
        font-size: 2vw !important;
        margin-top: 0 !important;
    }

    #main-container #main-contents-2 .slogan {
        font-size: 4vw;
    }

    #main-container #main-contents-3 .news-title p {
        font-size: 6vw;
    }

    #main-container #main-contents-3 .news-card li {
        height: 40vw;
    }

    #main-container #main-contents-3 .news-card li a .news-info {
        padding: 3vw;
    }

    #main-container #main-contents-3 .news-card li .category {
        font-size: 2vw;
    }

    #main-container #main-contents-3 .news-card li .title {
        max-width: 100%;
        font-size: 2vw;
        word-break: break-all;
        margin-top: 1vw;
    }

    #main-container #main-contents-3 .news-card li .date {
        margin-top: 1vw;
        font-size: 2vw;
    }

    #main-container #main-contents-3 .news-card li a img {
        height: 20vw;
    }

    .sub-visual .slogan .wrapper {
        font-size: 6.5vw;
    }

    #sub-company-contents-1 .greetings .title {
        font-size: 4vw;
        margin-right: 70px;
    }

    #sub-company-contents-1 p {
        font-size: 5vw;
    }

    #sub-company-contents-1 p.strong {
        font-size: 6vw;
    }

    .contents-subject .title {
        font-size: 3vw;
    }

    .contents-subject div.strong {
        font-size: 6vw;
        flex-direction: column;
    }

    .contents-subject div.strong span {
        font-size: 6vw;
        margin-left: 0;
        text-align: center;
    }

    .contents-subject div.strong span p {
        display: inline-block;
        width: 2vw;
    }

    .contents-subject .desc {
        font-size: 2.5vw;
    }

    #sub-company-contents-1 .greetings-ul {
        width: 100%;
        gap: 0;
    }

    #sub-company-contents-1 .greetings-ul li {
        width: calc((100% - 40px) / 3);
    }

    #sub-company-contents-1 .greetings-ul li img {
        width: 100%;
        height: 20vw;
    }

    #sub-company-contents-2 .mission-list li [class^=ico-mission-] {
        width: 10vw;
        height: 10vw;
    }

    #sub-company-contents-2 .mission-list li .strong {
        font-size: 3vw;
        text-align: center;
        padding: 0 15px;
    }

    #sub-company-contents-2 .mission-list li .strong+p {
        text-align: center;
        padding: 0 10px;
    }

    #sub-company-contents-2 .mission-list li div {
        padding: 0 20px;
    }

    #sub-company-contents-2 .mission-list li div br {
        display: none;
    }

    #sub-company-contents-3 .vision-ul {
        width: auto;
        gap: 0;
        height: calc((100vw - 120px)/3);
        background-size: contain;
    }

    #sub-company-contents-3 .vision-ul li {
        width: calc((100vw - 100px)/3);
        height: calc((100vw - 120px)/3);
    }

    #sub-company-contents-3 .vision-ul li p {
        font-size: 2.5vw;
    }

    #sub-company-contents-3 .vision-ul li p+span {
        font-size: 2vw;
    }

    #sub-company-contents-3 .vision-ul li [class^=ico-vision-] {
        width: 6vw;
        height: 6vw;
        margin-top: 1vw;
    }

    #sub-company-contents-3 .vision-ul li i+span {
        font-size: 1.8vw;
        margin-top: 1vw;
    }

    #sub-company-history .title {
        font-size: 5vw;
        line-height: 6.25vw;
    }

    #sub-company-history .line {
        top: calc(244px + 18.75vw);
        left: 0;
        transform: none;
    }

    #sub-company-history [class^=swiper-button-] {
        top: 18.75vw;
    }


    #sub-recruit-contents .title {
        font-size: 5vw;
        line-height: 6vw;
    }

    #sub-recruit-contents .img-recruit-wrapper {
        width: 100%;
    }


    #sub-recruit-site .recruit-info dl {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 1rem 0;
    }



    /* 모바일 대응 */
    @media (max-width: 768px) {
        #header {
            height: 46px;
        }

        #header #logo a {
            height: 19px;
            width: 78px;
        }

        #header>#gnb {
            width: 300px;
            left: calc(100% - 300px)
        }

        .sub-visual {
            height: 300px;
        }

        .sub-visual .slogan .wrapper {
            margin-bottom: 40px
        }

        #sub-company-contents-1 .greetings {
            flex-direction: column;
        }

        #sub-company-contents-2 .mission-list {
            flex-direction: column;
            margin-top: calc(10vw - 10px);
        }

        #sub-company-contents-2 .mission-list li {
            width: 100%;
            flex-direction: row;
            padding: 16px;
            margin-top: 10px;
        }

        #sub-company-contents-2 .mission-list li [class^=ico-mission-] {
            width: 16vw;
            height: 16vw;
        }

        #sub-company-contents-2 .mission-list li .mission-cont {
            width: calc(100% - 16vw);
        }


        #sub-company-contents-2 .mission-list li .strong {
            text-align: left;
            padding: 0;
            margin-top: 0;
        }

        #sub-company-contents-2 .mission-list li .strong+p {
            text-align: left;
            padding: 0;
        }


        #sub-company-contents-2 .mission-list li p+div {
            margin-top: 30px;
            text-align: left;
            padding: 0;
            font-size: 1rem;
            margin-top: 10px;
        }

        #sub-company-contents-2 .mission-list li:hover {
            transform: translateY(0);
        }

        #sub-company-location .addr-tel {
            flex-direction: column;
        }

        #sub-company-location .map-wrapper img {
            height: 240px;
        }

        .sub-service-contents .service-img img {
            height: 240px;
        }

        .sub-service-contents .strong {
            font-size: 1.75rem;
        }

        #sub-recruit-site .btn-wrapper,
        .sub-service-contents .btn-wrapper {
            position: static;
            margin-top: 10px;
            align-self: flex-start;
        }

        #sub-IR-contents .IR-list-wrap table td,
        #sub-news-contents .news-gallery-wrap table td {
            padding: 0 8px;
            height: 3rem;
            font-size: 0.875rem;
        }

        #sub-IR-contents .IR-list-wrap table tr td:nth-last-child(2),
        #sub-news-contents .news-gallery-wrap table tr td:nth-last-child(2) {
            display: none;
        }

        #sub-recruit-site .recruit-info {
            padding: 1rem 2rem;
        }

        #footer .wrapper {
            flex-direction: column;
            align-items: flex-start;
        }

        #footer .group-site .selector {
            margin-top: 1rem;
        }

        #footer .group-site .site-list {
            top: calc(1rem + 39px);
        }

        #footer .address {
            flex-wrap: wrap;
        }

        #footer .address dd {
            margin-bottom: 0.5rem;
        }

        .btn-isotope-wrapper .btn-go {
            width: 100%;
            text-align: center;
            padding: 12px 23px;
            background-image: none !important;
        }

    }

}