.detail-content {
    position: relative;
    padding: 100px 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ececec;
    overflow: hidden;

}

.radius-detail {
    background-color: #ececec;
}

.detail-content .backg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: initial;
    z-index: 1;
    pointer-events: none;
}

.group-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.consult-section {
    display: flex;
    height: 400px;
    border-radius: 20px;
    padding: 50px 70px;
    background-color: white;
    width: 100%;
    gap: 50px;
    align-items: flex-start;
    box-sizing: border-box;
    justify-content: space-between;

}

.consult-section img {
    box-sizing: border-box;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.consult-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    height: 100%;
}

.consult-item ul {
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.consult-item li {
    list-style: none;
    position: relative;
    padding-left: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
    height: 33px;
}

.consult-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #D9B176;
    font-size: 20px;
    transform: none;
}

/* 텍스트에만 밑줄 */
.consult-item li span {
    position: relative;
    display: inline-block;
}

.consult-item li span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    bottom: -8px;
}


.sub-desc {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}

.sub-desc img {
    box-sizing: border-box;
    height: auto;
    object-fit: cover;
    display: block;
}

.sub-desc h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.intro-title {
    display: flex;
    gap: 12px;
    align-items: center;
}

.intro-title h2 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 38px;
    font-weight: bold;
    margin: 0;
}

.intro-title p {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
}

@media(max-width:1100px) {
    .detail-content {padding:20px;flex-wrap:wrap;}
    .detail-content img {width:100%;}
    .detail-content img.line1 {width:1px;}
    .detail-content img.line2 {max-width:800px;}
    .detail-content .consult-section > img {max-width:300px;}
    .detail-content .sub-desc img {width:auto;}
}
@media(max-width:900px) {
    .detail-content img.line2 {max-width:650px;}
    .detail-content .consult-section {height:auto;flex-wrap:wrap;}
    .detail-content .intro-title {margin-bottom: 20px;}
}
@media(max-width:480px) {
    .detail-content img.line2 {max-width:275px; margin-bottom:-30px !important;}
    .detail-content .consult-section {padding:30px;}
    .detail-content .consult-item ul {height:auto;}
    .detail-content .consult-item li {height:auto;}
    .detail-content .consult-item li span {margin-bottom:8px;word-break:keep-all;
    }
}