/* 인사말 - 어떤 변호사를 선임해야 할까요 (greetings.php) */
.greetings-insight {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.greetings-insight-top {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
} 

.greetings-insight-top .tit {
    margin-bottom: 30px;
    font-size: 31px;
    font-weight: 700;
    color: #333;
    word-break: keep-all;
}

.greetings-insight-top .txt {
    margin-bottom: 30px;
    font-size: 26px;
    line-height: 1.5;
    color: #333;
    word-break: keep-all;
}

.greetings-insight-top .tit2 {
    font-size: 33px;
    font-weight: 700;
    color: #333;
    word-break: keep-all;
}

.greetings-insight-quote {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 60px auto 0;
    padding-bottom: 50px;
    text-align: center;
}

.greetings-insight-quote .quote-box {
    position: relative;
    display: inline-block;
    padding: 4px 46px 16px;
}

.greetings-insight-quote .quote-mark {
    position: absolute;
    font-family: Georgia, serif;
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    color: #b8d2e6;
}

.greetings-insight-quote .quote-mark-open {
    top: -25px;
    left: -10px;
}

.greetings-insight-quote .quote-mark-close {
    right: -30px;
    bottom: -80px;
}

.greetings-insight-quote .quote-txt {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    color: #065392;
    word-break: keep-all;
}

.greetings-insight-quote::after {
    content: '';
    display: block;
    height: 1px;
    margin: 100px auto 0;
    background: #ddd;
}

.greetings-insight-quote::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 50px;
    width: 600px;
    height: 3px;
    background: #cdcdcd;
    transform: translate(-50%, 50%);
    z-index: 2;
}

.greetings-insight-img {
    position: absolute;
    top: 50%;
    right: -5%;
    z-index: 0;
    width: 32%;
    max-width: 420px;
    opacity: .7;
    transform: translateY(-50%);
    pointer-events: none;
    padding-bottom: 100px;
}

/* Tablet */
@media (max-width: 1200px) {
    .greetings-insight-top .tit {
        font-size: 27px;
    }

    .greetings-insight-top .txt {
        font-size: 23px;
    }

    .greetings-insight-top .tit2 {
        font-size: 29px;
    }

    .greetings-insight-quote .quote-txt {
        font-size: 33px;
    }

    .greetings-insight-quote .quote-mark {
        font-size: 100px;
    }

    .greetings-insight-img {
        width: 36%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .greetings-insight {
        padding: 60px 0 70px;
    }

    .greetings-insight-top {
        padding-top: 30px;
    }

    .greetings-insight-top .tit {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .greetings-insight-top .txt {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .greetings-insight-top .tit2 {
        font-size: 24px;
    }

    .greetings-insight-quote {
        margin-top: 70px;
        padding-bottom: 40px;
    }

    .greetings-insight-quote .quote-txt {
        font-size: 22px;
    }

    .greetings-insight-quote .quote-mark {
        font-size: 70px;
    }

    .greetings-insight-quote .quote-mark-open {
        top: -18px;
        left: 20px;
    }

    .greetings-insight-quote .quote-mark-close {
        right: 20px;
        bottom: -54px;
    }

    .greetings-insight-quote .quote-box {
        padding: 2px 30px 12px;
    }

    .greetings-insight-quote::after {
        width: 260px;
    }

    .greetings-insight-quote::before {
        bottom: 40px;
        width: 70px;
    }

    .greetings-insight-img {
        width: 42vw;
        max-width: 200px;
        opacity: .5;
    }
}

/* 업무분야 상세 (business1.php 등) */
.business-detail-tit {
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: 500;
    color: #065392;
}

.business-detail-desc {
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    word-break: keep-all;
}

.business-detail-img {
    margin-bottom: 70px;
}

.business-detail-img img {
    display: block;
    width: 100%;
    height: auto;
}

.business-case-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.business-case-list .case-item {
    box-sizing: border-box;
    padding: 50px 30px 50px 40px;
    border: 1px solid #e5e5e5;
}

.business-case-list .case-item .dash {
    display: block;
    width: 24px;
    height: 2px;
    margin-bottom: 14px;
    background: #065392;
}

.business-case-list .case-item p {
    font-size: 20px;
    color: #333;
    word-break: keep-all;
    padding-top:10px
}

/* Tablet */
@media (max-width: 1200px) {
    .business-detail-tit {
        font-size: 36px;
    }

    .business-detail-desc {
        font-size: 21px;
    }

    .business-case-list .case-item p {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .business-detail-tit {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .business-detail-desc {
        margin-bottom: 30px;
        font-size: 17px;
    }

    .business-detail-img {
        margin-bottom: 30px;
    }

    .business-case-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .business-case-list .case-item {
        padding: 20px;
    }

    .business-case-list .case-item p {
        font-size: 15px;
        padding-top: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .business-case-list {
        grid-template-columns: 1fr;
    }
}

/* 오시는 길 (location.php) - 메인(index.php) 오시는 길과 동일 레이아웃 */
.location-visit-wrap.main-location {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    margin-bottom: 100px;
    height: clamp(600px, 75vh, 740px);
    background: #e5e8e2;
}

.location-visit-wrap .main-location-map {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.location-visit-wrap .main-location-map .root_daum_roughmap {
    width: 150% !important;
    height: 100% !important;
    padding: 0;
    border: 0;
}

.location-visit-wrap .main-location-map .root_daum_roughmap .wrap_map {
    width: 100%;
    height: 100% !important;
}

.location-visit-wrap .main-location-map .wrap_controllers,
.location-visit-wrap .main-location-map .wrap_cont {
    display: none;
}

.location-visit-wrap .main-location-map-pending {
    position: absolute;
    left: 50%;
    right: 0;
    top: 50%;
    text-align: center;
    padding: 20px;
    color: #0a5591;
}

.location-visit-wrap .main-location-panel {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    background: rgba(21, 23, 22, 0.85);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 75px 50px 75px 40px;
    color: #fff;
}

.location-visit-wrap .main-location-info {
    width: 530px;
    max-width: 100%;
}

.location-visit-wrap .main-location-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid #91938e;
    padding-bottom: 25px;
    margin-bottom: 26px;
}

.location-visit-wrap .main-location-info dl > div {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 22px;
}

.location-visit-wrap .main-location-info dt {
    width: 42px;
    flex: none;
    color: #aeb0ab;
    font-size: 14px;
    white-space: nowrap;
}

.location-visit-wrap .main-location-info dd {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    word-break: keep-all;
}

.location-visit-wrap .main-location-info a {
    color: #fff;
}

.location-visit-wrap .main-location-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    border-bottom: 1px solid #aaa;
    padding-bottom: 7px;
}

@media (max-width: 1023px) {
    .location-visit-wrap.main-location {
        height: 580px;
    }
    .location-visit-wrap .main-location-panel {
        padding: 50px 30px;
    }
    .location-visit-wrap .main-location-info dd {
        font-size: 15px;
    }
    .location-visit-wrap .main-location-info dl > div {
        gap: 15px;
    }
}

@media (max-width: 639px) {
    .location-visit-wrap.main-location {
        height: auto;
        padding-top: 280px;
    }
    .location-visit-wrap .main-location-map {
        height: 280px;
    }
    .location-visit-wrap .main-location-map .root_daum_roughmap {
        width: 100% !important;
    }
    .location-visit-wrap .main-location-map-pending {
        left: 0;
    }
    .location-visit-wrap .main-location-panel {
        width: 100%;
        height: auto;
        padding: 40px 25px;
    }
    .location-visit-wrap .main-location-info {
        width: 100%;
    }
    .location-visit-wrap .main-location-info h2 {
        font-size: 25px;
        padding-bottom: 18px;
    }
    .location-visit-wrap .main-location-info dd {
        font-size: 14px;
    }
    .location-visit-wrap .main-location-info dl > div {
        margin-bottom: 16px;
    }
    .location-visit-wrap .main-location-link {
        font-size: 13px;
    }
}
