.hk-location__factory-list {
    margin-top: 88px;
}

.hk-location__factory + .hk-location__factory {
    margin-top: 100px;
}

.hk-location__factory-title {
    margin-bottom: 24px;
}

.hk-location__factory-title h3 {
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -0.045em;
}

.hk-location__map {
    position: relative;
    height: 610px;
    margin-top: 0;
    overflow: hidden;
    border-radius: 30px;
    background: #e9eaec;
}

.hk-location__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 지도 중앙의 공장 위치를 표시하는 텍스트 라벨 */
.hk-location__map-label {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, calc(-100% - 18px));
    pointer-events: none;
}

.hk-location__map-label span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    height: 48px;
    padding: 0 22px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: var(--hk-red, #e52323);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.hk-location__map-label span::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-top: 14px solid var(--hk-red, #e52323);
    border-right: 11px solid transparent;
    border-left: 11px solid transparent;
}

.hk-location__map-label span::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -22px;
    width: 10px;
    height: 10px;
    transform: translateX(-50%);
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--hk-red, #e52323);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.hk-location__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 20px 0 20px;
    border-bottom: 2px solid #cfd2d6;
}

.hk-location__summary > div:first-child > span {
    color: var(--hk-red);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hk-location__summary h3,
.hk-location__summary h4 {
    /*margin-top: 10px;*/
    font-size: clamp(20px, 2.0vw, 30px);
    letter-spacing: -0.045em;
    font-weight: 400;
}

.hk-location__map-links {
    display: flex;
    gap: 10px;
}

.hk-location__map-links a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 158px;
    height: 52px;
    padding: 0 20px;
    border: 1px solid #cfd2d6;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.hk-location__map-links a:hover {
    border-color: var(--hk-red);
    color: var(--hk-red);
}

.hk-location__information dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #dfe1e4;
}

.hk-location__information dl > div {
    min-height: 150px;
    padding: 34px 30px;
    border-right: 1px solid #dfe1e4;
}

.hk-location__information dl > div:last-child {
    border-right: 0;
}

.hk-location__information dt {
    color: #777b82;
    font-size: 14px;
}

.hk-location__information dd {
    margin: 22px 0 0;
    font-size: 20px;
    font-weight: 700;
}

.hk-location__departments,
.hk-location__guide {
    padding-top: 130px;
}

.hk-location__department-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.hk-location__department-grid article {
    min-height: 370px;
    padding: 46px 44px;
    border-radius: 24px;
    background: #f4f5f7;
}

.hk-location__department-grid article > span {
    color: var(--hk-red);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.hk-location__department-grid h4 {
    margin: 18px 0 50px;
    font-size: 34px;
}

.hk-location__department-grid a {
    display: block;
    width: fit-content;
    margin-top: 7px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.hk-location__department-grid a:hover {
    color: var(--hk-red);
}

.hk-location__department-grid p {
    margin-top: 34px;
    color: #6d7178;
}

.hk-location__guide > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.hk-location__guide article {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 0 20px;
    padding: 36px 0;
    border-top: 2px solid #1b1d21;
}

.hk-location__guide article > span {
    grid-row: 1 / 3;
    color: #777b82;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.hk-location__guide h4 {
    font-size: 23px;
}

.hk-location__guide p {
    margin-top: 14px;
    color: #666a71;
    line-height: 1.85;
}

@media (max-width: 1024px) {
    .hk-location__factory-list {
        margin-top: 64px;
    }

    .hk-location__factory + .hk-location__factory {
        margin-top: 80px;
    }

    .hk-location__map {
        height: 500px;
        margin-top: 0;
    }

    .hk-location__summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .hk-location__information dl {
        grid-template-columns: repeat(2, 1fr);
    }

    .hk-location__information dl > div:nth-child(2) {
        border-right: 0;
    }

    .hk-location__information dl > div:nth-child(-n+2) {
        border-bottom: 1px solid #dfe1e4;
    }
}

@media (max-width: 760px) {

    .hk-location__map-label {
        transform: translate(-50%, calc(-100% - 15px));
    }

    .hk-location__map-label span {
        min-width: 108px;
        height: 42px;
        padding: 0 18px;
        border-width: 2px;
        font-size: 14px;
    }
    .hk-location__factory-list {
        margin-top: 48px;
    }

    .hk-location__factory + .hk-location__factory {
        margin-top: 64px;
    }

    .hk-location__factory-title {
        margin-bottom: 18px;
    }

    .hk-location__factory-title h3 {
        font-size: 27px;
    }

    .hk-location__map {
        height: 410px;
        margin-top: 0;
        border-radius: 20px;
    }

    .hk-location__summary {
        gap: 20px;
        /*padding: 36px 0 40px;*/
    }

    .hk-location__summary h3 {
        font-size: 27px;
        line-height: 1.55;
    }

    .hk-location__map-links {
        width: 100%;
    }

    .hk-location__map-links a {
        flex: 1;
        gap: 10px;
        min-width: 0;
        padding: 0 16px;
    }

    .hk-location__information dl {
        grid-template-columns: 1fr;
    }

    .hk-location__information dl > div {
        min-height: 112px;
        padding: 26px 8px;
        border-right: 0;
        border-bottom: 1px solid #dfe1e4;
    }

    .hk-location__information dl > div:last-child {
        border-bottom: 0;
    }

    .hk-location__information dd {
        margin-top: 12px;
        font-size: 18px;
    }

    .hk-location__departments,
    .hk-location__guide {
        padding-top: 90px;
    }

    .hk-location__department-grid,
    .hk-location__guide > div:last-child {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .hk-location__department-grid article {
        min-height: 330px;
        padding: 36px 26px;
        border-radius: 18px;
    }

    .hk-location__department-grid h4 {
        margin-bottom: 38px;
        font-size: 29px;
    }

    .hk-location__department-grid a {
        font-size: 18px;
    }

    .hk-location__guide article {
        grid-template-columns: 42px 1fr;
        padding: 30px 0;
    }
}