/* =========================================================
   오시는 길 페이지
   최대 가로 785px
========================================================= */

.locationPage,
.locationPage * {
    box-sizing: border-box;
}

.locationPage {
    width: 100%;
    max-width: 785px;
    margin: 0 auto;
    color: #1d2736;
    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
    letter-spacing: -0.035em;
}


/* =========================================================
   지도
========================================================= */

.locationMapWrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid #e3e9f1;
    border-radius: 7px;
    background: #eef3f8;
    box-shadow: 0 12px 30px rgba(31, 57, 89, 0.08);
}

/* 다음 지도 바깥 여백 및 크기 보정 */

.locationMapWrap .root_daum_roughmap {
    width: 100% !important;
    height: 300px !important;
    margin: 0 !important;
}

.locationMapWrap .wrap_map {
    width: 100% !important;
    height: 300px !important;
}


/* =========================================================
   페이지 제목
========================================================= */

.locationTitle {
    padding: 60px 20px 44px;
    text-align: center;
}

.locationTitleEn {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: #245da6;
}

.locationTitle h1 {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 750;
    color: #172235;
}

.locationTitle h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 38px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: #245da6;
}

.locationTitle p {
    margin: 21px 0 0;
    font-size: 15px;
    line-height: 1.85;
    color: #6c7480;
}


/* =========================================================
   공통 큰 아이콘
========================================================= */

.locationMainIcon {
    display: flex;
    flex: 0 0 84px;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border: 1px solid #dfe8f3;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 7px 20px rgba(36, 93, 166, 0.07);
}

.locationMainIcon img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}


/* =========================================================
   주소 카드
========================================================= */

.locationAddressCard {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 145px;
    padding: 27px 40px;
    border: 1px solid #cfdff1;
    border-radius: 7px;
    background:
        linear-gradient(
            110deg,
            #f6faff 0%,
            #ffffff 100%
        );
}

.locationAddressText {
    padding-left: 39px;
}

.locationAddressText > span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #7b9ac0;
}

.locationAddressText h2 {
    margin: 0 0 11px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 750;
    color: #245da6;
}

.locationAddressText p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 600;
    color: #313b48;
}

.locationAddressText em {
    font-style: normal;
    color: #646d78;
}


/* =========================================================
   지하철 안내
========================================================= */

.locationSubwayCard {
    margin-top: 18px;
    padding: 30px 38px 28px;
    border: 1px solid #dfe6ee;
    border-radius: 7px;
    background: #fff;
}

.locationSubwayHeader {
    display: flex;
    align-items: center;
    margin-bottom: 31px;
}

.locationSubwayHeader > div:last-child {
    padding-left: 28px;
}

.locationSubwayHeader span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #7b9ac0;
}

.locationSubwayHeader h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 750;
    color: #245da6;
}


/* 지하철 이동 순서 */

.locationRoute {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.locationRouteStep {
    display: flex;
    align-items: center;
    min-width: 0;
}

.locationRouteBadge {
    display: flex;
    flex: 0 0 47px;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-right: 12px;
    border: 1px solid #9dc5f1;
    border-radius: 50%;
    background: #eaf4ff;
}

.locationRouteBadge img{
	width:24px;
    height:24px;
    object-fit:contain;

}

.locationRouteSymbol {
    background: #fff;
}

.locationRouteSymbol strong {
    font-size: 23px;
}

.locationRouteText {
    white-space: nowrap;
}

.locationRouteText span {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.25;
    color: #777f89;
}

.locationRouteText strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: #2a3441;
}

.locationRouteArrow {
    margin: 0 6px;
    font-size: 25px;
    line-height: 1;
    font-weight: 300;
    color: #c3cad3;
}

.locationRouteNotice {
    margin: 26px 0 0;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    font-size: 15px;
	font-weight: 600;
    line-height: 1.8;
    text-align: center;
    color: #717a86;
}


/* =========================================================
   연락처
========================================================= */

.locationContact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 7px;
    background: #fff;
}

.locationContactItem {
    display: flex;
    align-items: center;
    min-height: 145px;
    padding: 28px 31px;
}

.locationContactItem:nth-child(odd) {
    border-right: 1px solid #e9edf2;
}

.locationContactItem:nth-child(-n+2) {
    border-bottom: 1px solid #e9edf2;
}

.locationContactIcon {
    display: flex;
    flex: 0 0 65px;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-right: 25px;
    border: 1px solid #dfe7f0;
    border-radius: 50%;
    background: #fff;
}

.locationContactIcon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.locationContactText {
    min-width: 0;
}

.locationContactText span {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #245da6;
}

.locationContactText strong {
    display: block;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0;
    color: #242d39;
}

.locationContactText strong a {
    color: inherit;
    text-decoration: none;
}

.locationContactText strong a:hover {
    color: #245da6;
}

.locationContactText p {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #767f89;
}


/* =========================================================
   하단 안내
========================================================= */

.locationBottomNotice {
    display: flex;
    align-items: center;
    margin-top: 18px;
    padding: 18px 24px;
    border: 1px solid #dbe5f0;
    border-radius: 7px;
    background: #f6f9fd;
}

.locationNoticeIcon {
    display: flex;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    margin-right: 12px;
    border: 1px solid #245da6;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: #245da6;
}

.locationBottomNotice p {
    margin: 0;
    font-size: 15px;
	font-weight: 600;
    line-height: 1.65;
    color: #626c78;
}


/* =========================================================
   태블릿
========================================================= */

@media screen and (max-width: 800px) {

    .locationPage {
        padding: 0 15px;
    }

    .locationMapWrap {
        height: 300px;
    }

    .locationRoute {
        gap: 8px;
    }

    .locationRouteBadge {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        margin-right: 8px;
    }

    .locationRouteText strong {
        font-size: 13px;
    }

    .locationRouteArrow {
        margin: 0;
    }

    .locationContactItem {
        padding-right: 23px;
        padding-left: 23px;
    }
}


/* =========================================================
   모바일
========================================================= */

@media screen and (max-width: 640px) {

    .locationPage {
        padding: 0 12px;
    }

    .locationMapWrap {
        height: 280px;
        border-radius: 13px;
    }

    .locationMapWrap .root_daum_roughmap,
    .locationMapWrap .wrap_map {
        height: 280px !important;
    }


    /* 제목 */

    .locationTitle {
        padding: 48px 10px 34px;
    }

    .locationTitle h1 {
        font-size: 25px;
    }

    .locationTitle p {
        font-size: 14px;
    }

    .locationTitle p br {
        display: none;
    }


    /* 주소 */

    .locationAddressCard {
        align-items: flex-start;
        padding: 24px 21px;
    }

    .locationMainIcon {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }

    .locationMainIcon img {
        width: 33px;
        height: 33px;
    }

    .locationAddressText {
        padding-left: 20px;
    }

    .locationAddressText h2 {
        font-size: 18px;
    }

    .locationAddressText p {
        font-size: 14px;
    }


    /* 지하철 */

    .locationSubwayCard {
        padding: 24px 20px;
    }

    .locationSubwayHeader {
        margin-bottom: 25px;
    }

    .locationSubwayHeader > div:last-child {
        padding-left: 18px;
    }

    .locationSubwayHeader h2 {
        font-size: 18px;
    }

    .locationRoute {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .locationRouteStep {
        position: relative;
        padding: 12px 14px;
        border-radius: 9px;
        background: #f7f9fc;
    }

    .locationRouteArrow {
        display: none;
    }

    .locationRouteBadge {
        flex-basis: 41px;
        width: 41px;
        height: 41px;
    }

    .locationRouteNotice {
        text-align: left;
    }


    /* 연락처 */

    .locationContact {
        grid-template-columns: 1fr;
    }

    .locationContactItem {
        min-height: 112px;
        padding: 22px;
        border-right: 0 !important;
        border-bottom: 1px solid #e9edf2;
    }

    .locationContactItem:last-child {
        border-bottom: 0;
    }

    .locationContactIcon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        margin-right: 20px;
    }

    .locationContactIcon img {
        width: 30px;
        height: 30px;
    }

    .locationContactText strong {
        font-size: 18px;
    }


    /* 하단 안내 */

    .locationBottomNotice {
        align-items: flex-start;
        padding: 16px 18px;
    }

    .locationBottomNotice p {
        font-size: 12px;
    }
}