/* 지도 및 약도 레이아웃 */
.map-wrapper, .sketch-map-wrapper {
    margin-top: 40px;
    width: 600px;
    height: 600px;
}

.map-label {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid #3182ce; /* 포인트 컬러 파란색 */
}

.hero-section {
    margin-bottom: 0px;
}
/* 주소 상세 리스트 정렬 */
.info-details {
    list-style: none;
    padding: 0;
    display: flex;            /* 요소들을 가로 혹은 중앙으로 배치 */
    justify-content: center;  /* 가로 중앙 정렬 */
    margin-bottom: 40px;
}

.info-details li {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); /* 은은한 그림자 */
    display: flex;
    align-items: center;
    max-width: 600px;
    width: 100%;
}

.info-details .icon {
    font-size: 24px;
    margin-right: 20px;
    background: #eef2f7;
    padding: 10px;
    border-radius: 50%;
}

.info-details .text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.point-color {
    color: #0056b3; /* 이레기술 브랜드 포인트 컬러 */
    margin-top: 5px;
}

/* iframe 지도 테두리 및 둥글게 */
.iframe-container {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 약도 이미지 스타일 */
.sketch-container {
    /* width: 600px; */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.sketch-map-img {
    width: 100%;
    /* display: block; */
    transition: transform 0.3s ease;
}

/* 마우스를 올리면 약도가 살짝 커지는 효과 (선택사항) */
.sketch-container:hover .sketch-map-img {
    transform: scale(1.02);
}

.sketch-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}

.point-color {
    color: #3182ce;
}

.map-label {
    background: #333;
    color: #fff;
    padding: 15px 25px;
    font-weight: bold;
    font-size: 14px;
}
.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #fff;
}

.contact-info {
    display: flex;
    gap: 0px;
    align-items: stretch;
    justify-content: center;
}

.contact-info > div {
    margin: 0;
    margin-bottom: 30px;
}

/* --- 오시는 길 모바일 반응형 (768px 이하) --- */
@media screen and (max-width: 768px) {
    /* 1. 레이아웃 정렬 변경 */
    .contact-info {
        flex-direction: column; /* 가로 배열이 있었다면 세로로 */
        padding: 10px 15px;
        gap: 20px;
    }

    /* 2. 주소 카드 너비 조정 */
    .info-details {
        margin-bottom: 20px;
    }

    .info-details li {
        max-width: 100%; /* 고정 너비 해제 */
        padding: 20px;   /* 여백 약간 축소 */
    }

    .info-details .icon {
        font-size: 20px;
        margin-right: 15px;
    }

    .info-details .text strong {
        font-size: 16px;
    }

    .info-details .text p {
        font-size: 14px;
        line-height: 1.4;
    }

    /* 3. 지도 영역 너비 고정 해제 (핵심) */
    .map-wrapper, .sketch-map-wrapper {
        width: 100% !important; /* 600px 강제 해제 */
        height: auto;           /* 높이는 유연하게 */
        margin-top: 20px;
    }

    /* 4. 구글 맵 높이 조절 */
    .iframe-container iframe {
        height: 400px !important; /* 모바일에서는 지도가 너무 길면 스크롤이 힘드므로 축소 */
    }

    .map-label {
        padding: 12px 15px;
        font-size: 13px;
    }
    
}

/* 초소형 모바일 (480px 이하) */
@media screen and (max-width: 480px) {
    .info-details li {
        flex-direction: column; /* 아이콘과 텍스트를 위아래로 */
        text-align: center;
    }

    .info-details .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}