@charset "utf-8";
section .inner {
    padding: 10rem 0;
}

.sub_title {
    display: block;
    color: #32B5E5;
    font-size: 2rem;
    text-decoration: underline;
    margin-bottom: 2rem;
}

.main_title {
    font-family: 'title';
    font-size: 4rem;
    color: #275F98;
    line-height: 1.3;
    margin-bottom:5rem;
}

.main_title span {
    color: #32B5E5;
}
.intro_greeting {
    background: url('../images/in_bg.png') no-repeat 10% 15%;
}
.intro_header {
    text-align: center;
}
.intro_context {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    position: relative;
}
.intro_text_box {
    width: 70%;
    margin: 0 auto;
}
.intro_text_box .desc {
    font-size: 2rem;
    color: #3C3C3C;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: justify;
    word-break: keep-all;
}

.intro_text_box .signature {
    font-size: 2.2rem;
    color: #111;
    margin-top: 5rem;
    text-align: right;
}
.intro_text_box .signature strong {
    font-family: 'title';
    font-size: 2.4rem;
    margin-left: 1rem;
}

/* lawyer_profile --- */
.lawyer_profile {
    background-color: #F8FAFC;
}
.lawyer_profile .inner {
    width: 70%;
}
.profile_content {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
}

.lawyer_img_box {
    width: 35rem;
    position: relative;
    border-radius: 2.4rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.08);
}
.lawyer_img_box img {
    width: 100%;
    height: auto;
    display: block;
}
.lawyer_img_box .name_tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    color: #fff;
    text-align: center;
    font-family: 'title';
    font-size: 2.4rem;
    padding: 3rem 0 2rem 0;
    font-weight: bold;
}
/* 우측 이력 데이터 보드 리스트 */
.lawyer_info_box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.info_group h4 {
    font-family: 'title';
    font-size: 2.2rem;
    color: #275F98;
    border-bottom: 01.5px solid #275F98;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.info_group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 3rem;
}
.info_group ul li {
    font-size: 1.8rem;
    color: #444;
    position: relative;
    padding-left: 2rem;
    line-height: 1.4;
}
.info_group ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #32B5E5;
    font-weight: bold;
}
.info_group:last-child ul {
    grid-template-columns: repeat(3, 1fr);
}

.team_members {
    text-align: center;
    background-color: #F8FAFC;
}
.team_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 12rem;
}
.member_card {
    border-radius: 2rem;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.member_card:nth-child(1) {
    background: url('../images/law1.jpg') no-repeat center/103%;
}
.member_card:nth-child(2) {
    background: url('../images/law2.jpg') no-repeat center/103%;
    margin-top: -4rem;
}
.member_card:nth-child(3) {
    background: url('../images/team2.jpg') no-repeat center/103%;
}
.member_card:nth-child(4) {
    background: url('../images/team1.jpg') no-repeat center/103%;
    margin-top: -4rem;
}
.member_card:hover {
    transform: translateY(-0.5rem);
}
.member_card .card_inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    box-sizing: border-box;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}
.member_card .position {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

/* --- 4. 오시는 길 섹션 (location_way) --- */
.location_way {
    background-color: #11141A; /* 어두운 다크 그레이 무드 테마 선언 */
    color: #fff;
}
.location_way .main_title {
    color: #fff;
}
.location_content {
    display: flex;
    gap: 6rem;
    margin-top: 5rem;
    justify-content: center;
}
.map_area {
    width: 50%;
}
.root_daum_roughmap {
    width: 100% !important;
    height: 38rem;
    border-radius: 1.6rem;
    overflow: hidden;
    background-color: #e9ecef; /* 지도 로드 전 로딩 범위를 보여주는 배경색 */
}
.roughmap_lebel_text {
    font-weight: normal !important;
}
.map_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map_address_info {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}
.map_address_info strong {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 0.6rem;
    font-family: 'title';
}
.map_address_info p {
    font-size:2rem;
    color: #ccc;
    margin: 0;
}
/* 우측 교통 수단 텍스트 레이아웃 */
.traffic_info {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.traffic_row {
    background: rgba(255, 255, 255, 0.04);
    border: 0.1rem solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 1.6rem;
}
.traffic_row h5 {
    font-family: 'title';
    font-size: 2rem;
    color: #32B5E5;
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}
.traffic_row p {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}


@media (max-width: 1024px) {
    .intro_context, .profile_content, .location_content {
        flex-direction: column;
        gap: 4rem;
    }
    .intro_symbol_bg {
        display: none;
    }
    .lawyer_img_box {
        width: 50%;
        margin: 0 auto;
    }
    .info_group h4 {
        font-size: 2.5rem;
    }
    .secondbox .lawyer_info_box {
        order: 2;
    }
    .secondbox .lawyer_img_box {
        order: 1;
    }
    .intro_text_box, .lawyer_info_box, .map_area, .traffic_info {
        width: 100%;
    }
    .info_group ul {
        grid-template-columns: 1fr;
    }
    .info_group:last-child ul {
        grid-template-columns: repeat(2, 1fr);
    }
    .team_grid {
        width: 80%;
        margin: 0 auto;
        padding-top: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    .form_grid::after {
        display: none;
    }
    .form_grid {
        grid-template-columns: 1fr;
    }
    .form_grid .full_width {
        grid-column: span 1;
    }
    .form_footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .submit_btn {
        width: 100%;
        padding: 2rem 0;
    }
    .map_address_info strong {
        font-size: 3rem;
    }
    .traffic_row {
        margin-bottom: 2rem;
    }
    .traffic_row h5 {
        font-size: 2.5rem;
    }
    .traffic_row p {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .lawyer_img_box {
        width: 70%;
    }
    .intro_text_box .lead_text {
        font-size: 2.2rem;
    }
    .intro_text_box .desc {
        font-size: 1.8rem;
    }
    .info_group:last-child ul {
        grid-template-columns: 1fr;
    }
    .team_grid {
        grid-template-columns: 1fr;
    }
    .form_container {
        padding: 4rem 2.5rem;
    }
    .form_group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .form_group label {
        width: 100%;
    }
    .text_area_group label {
        padding-top: 0;
    }
}

@media screen and (max-width : 425px) {
    .intro_greeting {
        background: url('../images/in_bg.png') no-repeat 10% 7%/200px;
    }
    .map_address_info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .map_address_info br {
        display: none;
    }
}