@media (min-width: 1650px) {
    .container {
        max-width: 1550px;
    }
}
@media (max-width: 1650px) {
    .container {
        max-width: 1320px;
    }
}
@media (max-width: 1400px) {
    .container {
        max-width: 1235px;
    }
}
@media (max-width: 1300px) {
    .container {
        max-width: 1000px;
    }
    body {font-size: 0.95rem;}
    .logo {
        max-width: 200px;
        top: 25px;
    }
}
@media (max-width: 1245px) {
    .gnb-item, .gnb-item ul li {width: 115px;}
    .family-site-box {
        width: 130px;
        padding: 8px 15px;
    }
}
/* ===================== */
/* 태블릿 */
/* ===================== */
.m-btn, .mobile-menu {
    display: none;
}
.m-btn {
    width: 95px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 99;
    padding: 8px 25px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    color: #123d7a;
    font-size: 15px;
    transition: all 0.25s ease;
}
.intro .m-btn {color: #fff;}
@media (max-width: 1080px) {
    .gnb-box,
    .family-site-box {display: none;}
    .m-btn {display: block;}
    .lang.dropdown {
        top: 12px;
        right: 110px;
        position: absolute;
    }
    .main .map {
        position: relative;
        left: 25px;
        margin-top: 35px;
    }
    .container {
        max-width: 840px;
    }
    .main .sites .data {
        position: relative;
        text-align: center;
    }
    .main .business .item {height: 360px;}
    .intro .main section {
        height: auto;
        padding: 5em 0;
    }
    #section4 .col-8 {width: 50%;}
    #section4 .safed-zone .box.col-4 {width: 50%;}
    #section4 .row {align-items: flex-start !important;}
    #section4 .safed-zone .row {
        align-items: stretch !important;
    }
}
@media (max-width: 960px) {
    .container {
        max-width: 720px;
    }
    .intro .main section.p-0 {height: 100vh;}
    .intro .main section {height: 75vh;}
    #section4 .col-8 {width: 100%;}
    #section4 .col.pc-box img {
        width: 100%;
        margin-top: 35px;
    }
}
/* ===================== */
/* 모바일 */
/* ===================== */

@media (max-width: 767px) {
    .panel-with-btn {display: none;}
    body {font-size: 1rem;}
    p, li {
        font-size: 15px;
    }
    .m-br br {display: none;}
    .title {
        padding-top: 100px;
    }
    .mobile-menu {display: block;}
    .container {
        padding-right: 25px;
        padding-left: 25px;
    }
    .row {
        margin: 0;
    }
    .custom-marker-body {
        width: 25px;
        height: 25px;
    }
    .custom-marker-dot {
        width: 15px;
        height: 15px;
    }

    .intro .main section {
        height: auto !important;
    }
    .main .sites .data {
        position: relative;
        text-align: center;
    }
    .main .business .item {
        border-radius: 10px !important;
        height: auto;
    }
    .logo, .intro .logo,
    .intro header:hover .logo{
        width: 150px;
        background-size: 100% auto;
        background-repeat: no-repeat;
    }
    .intro header:hover .logo {
        background: url(/images/logo-estate-w.png) no-repeat;
        background-size: 100%;
        max-width: 160px;
    }
    .col-3 {width: 50%;}
    .m-gnb .col-3 {width: 35%;}
    .m-gnb .col-9 {width: 65%;}

    /* 모바일 메뉴 */
    .m-btn.menu-close {
        color: #fff;
    }
    .mobile-gnb, .mnav-sub {
        padding: 0;
    }
    .mobile-menu {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.9);
        opacity: 0;
        visibility: hidden;
        transition: 0.35s;
        z-index: 9999;
        width: 100%;
        top: 0;
        left: 0;
    }
    .mobile-menu .logo {
        background: url(/images/logo-estate-w.png) no-repeat !important;
        background-size: 100% auto !important;
    }
    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu-inner {
        padding: 0 25px;
        margin-top: 80px;
    }
    .mnav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }
    .mnav-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 0;
        cursor: pointer;
    }
    .mnav-link {
        color: #fff;
        font-size: 21px;
        font-weight: bold;
    }
    .mnav-arrow {
        width: 10px;
        height: 10px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        transition: 0.3s;
    }
    .mnav-item.open .mnav-arrow {
        transform: rotate(-135deg);
    }
    .mnav-sub {
        max-height: 0;
        overflow: hidden;
        transition: 0.4s;
        padding: 0 8px;
    }
    .mnav-item.open .mnav-sub {max-height: 500px;}
    .mnav-sub a {
        display: block;
        color: #ffffff;
        padding: 10px 0;
        text-decoration: none;
    }
    .mnav-sub li:last-child a {padding-bottom: 30px;}
    .mnav-sub a.active {color: #00d4ff;}
    .mnav-sub .bg-gray {
        padding: 5px 15px !important;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .footer .container {flex-direction: column !important}
    .swiper-pagination-container {bottom: 10%;}
    .greeting .col-4, .greeting .col-7,
    .ci .col-4, .ci .col-7,
    .esg .col-4 {
        width: 100% !important;
    }
    .greeting .division {
        flex-direction: column-reverse;
    }
    .greeting .division .col-4,
    .greeting .division .col-8 {width: 100% !important;}
    .sub.business .col-6,
    .sub.business .col-3,
    .sub.business .col-4,
    .sub.business .col {
        width: 100%;
        flex: 0 0 100%;
    }
    .clubd .card img, .grounds .card img {height: 200px;}
    .grounds .col-2 {width: 50%;}
    .business .title {
        padding-bottom: 50px;
    }
    .business .title p br {
        display: none;
    }
    .ci .col-4 {margin-bottom: 20px;}
    .ci .p-5.border.mt-5 {
        margin-top: 10px !important;
    }
    .linear-box {
        max-height: max-content !important;
    }
    .main .business .col-3 {
        width: 100%;
        margin-bottom: 20px;
        flex: none !important;
    }
    .main .business .card {min-height: 200px;}
    .news .thumbnail {width: 100%;}
    .news .card img {max-height: 200px;}
    .content section {padding: 50px 0;}
    .title {
        padding-top: 150px;
    }
    .title h1 {
        text-align: center;
    }
    .main .title {padding-top: 0;}
    h5 {font-size: 15px;}
    hr {margin: 5rem 0;}
    .contact .col-4, .contact .col-7 {width: 100%;}
    .env-label {display: none;}
    .esg-e .mb-5.pb-5 {margin-bottom: 0 !important;}
    .esg .title p br {display: none;}
    .business-logo img {
        width: 150px;
    }
    .esg .col-6 {width: 100%;}
    .esg .esg-right {display: none;}
    .esg .record {
        border-right: 1px solid #fff !important;
    }

    .hr-bottom button {
        width: 49%;
        margin-top: 15px;
        padding: 10px 15px;
    }
    .process {
        display: flex;
        flex-direction: column;
    }
    .process .col-2 {
        width: 100%;
        margin-bottom: 30px;
        margin-top: 30px !important;
    }
    .process .col-2 div {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
    }
    .process .col-2 div div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .tr .mt-5.border.rounded-3.p-5 {
        padding: 25px 20px 5px !important;
    }
    .process h2,
    .process .col-2 div div p {margin-bottom:0;}
    .process::before {
        left: 11.5%;
        right: 10%;
        height: 86%;
        width: 1px;
    }
    #section4 .col-8 {
        padding: 0 !important;
    }
    .diff-grid {margin-top: 50px;}
    .title h1.display-2 {
        text-align: left;
    }
    .ov-card {
        border: none;
        margin-top: 50px;
    }
    .ov-card .col-md-4 {
        border: 1px solid #e6e2d8;
        border-bottom: none;
        padding: 30px;
    }
    .ov-card .col-md-4:nth-child(2) {padding-left: 30px;}
    .ov-card .col-md-4:nth-child(3) {
        border-right: 1px solid #e6e2d8;
        border-bottom: 1px solid #e6e2d8;
    }
    .contact-card {margin-top: 50px;}
    .contact-card dt {width: 65px;}
    .lm .btn-box {
        flex-direction: column;
        gap: 15px;
    }
    .process-steps {grid-template-columns: repeat(2, 1fr);}
    .process-steps::before, .proc-step-dot {display: none;}
    .process-steps .gold {margin-bottom: 10px;}
    .proc-step {margin-bottom: 20px;}

    .diff-card {padding: 30px;}

    .area-list {margin-top: 50px;}
    .area-list li {grid-template-columns: 10px 1fr;}
    .pm #operations, .pm #risk,
    .tr #service, .tr #diligence, .tr #project,
    .livd #highschool,
    .livd #university,
    .livd #corporate,
    .fm #technical,
    .fm #specialized,
    .fm #value,
    .pjm #project,
    .pjm #construction,
    .pjm #technical {
        padding-bottom: 300px;
    }
    .pm #operations::before,
    .pm #risk::before,
    .tr #service::before,
    .tr #diligence::before,
    .tr #project::before,
    .livd #highschool::before,
    .livd #university::before,
    .livd #corporate::before,
    .fm #technical::before,
    .fm #specialized::before,
    .fm #value::before,
    .pjm #project::before,
    .pjm #construction::before,
    .pjm #technical::before {
        display: block;
        width: 100%;
        height: 250px;
        bottom: 0;
        top: auto;
    }
    #track .col-3 .card {height: 100%;}
    #track .col-3 {
        width: 50% !important;
        flex: 0 0 50%;
    }
    .arrow-svg {
        width: 100px;
        left: 0;
        margin-top: 0;
        transform: rotate(90deg) !important;
        display: block;
        position: relative;
        margin-bottom: 2em;
    }
    #automation .fourbox {margin-top: 50px;}
    #automation .row .col-md-6 .row .col-6 {
        border: 1px solid #e6e2d8;
        border-bottom: none;
        padding: 30px;
    }
    #automation .row .col-md-6 .row .col-6:first-child,
    #automation .row .col-md-6 .row .col-6:nth-child(2) {
        border-bottom: none;
    }
    #automation .row .col-md-6 .row .col-6:last-child {
        border-bottom: 1px solid #e6e2d8; !important;
    }
    .lm section.position-relative.vh-100 {
        height: auto !important;
    }
    .hover-box {
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 1em;
    }
    .hover-box img {
        width: 45px;
    }
    .hover-box h4 {
        font-size: 18px;
    }
}
