@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");

.location-page {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 16rem 0 20rem;
    font-family: "SUIT Variable", SUIT, "Pretendard Variable", Pretendard, sans-serif;
    color: #222;
}

.location-page .fade-up {
    opacity: 0;
    transform: translateY(8rem);
    transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1), transform 1.45s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--fade-delay, 0s);
}

.location-page .fade-up.is-in {
    opacity: 1;
    transform: none;
}

.location-heading {
    margin: 0 0 8rem;
    color: #111;
    font-family: "Pretendard Variable", Pretendard, "SUIT Variable", SUIT, sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
}

.location-heading strong {
    font-size: 1.375em;
    font-weight: 700;
    color: #69087c;
}

.location-logo {
    display: flex;
    justify-content: center;
    margin: 0 0 10rem;
}

.location-logo img {
    display: block;
    width: 50rem;
    max-width: 100%;
    height: auto;
}

.location-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.location-head h3 {
    margin: 0;
    color: #222;
    font-size: 4.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.location-tel {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    height: 4.5rem;
    color: #222;
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.location-tel img {
    width: 3.2rem;
    height: 3.2rem;
    filter: brightness(0);
}

.location-grid {
    display: flex;
    justify-content: center;
}

.location-card {
    width: min(72rem, 100%);
}

.location-map {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e8e8e8;
    aspect-ratio: 720 / 456;
}

.location-map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #d9d9d9;
}

.location-map .map-line {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    box-sizing: content-box;
    background: none;
}

.location-map .map-line-t {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 1px solid #890e2d;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-map .map-line-r {
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 1px solid #890e2d;
    transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-map .map-line-b {
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid #890e2d;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-map .map-line-l {
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 1px solid #890e2d;
    transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-map:hover .map-line-t,
.location-map:hover .map-line-b {
    width: 100%;
}

.location-map:hover .map-line-r,
.location-map:hover .map-line-l {
    height: 100%;
}

.location-tel-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 7.5rem;
    background: #444;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.location-tel-bar img {
    width: 2.4rem;
    height: 2.4rem;
    filter: brightness(0) invert(1);
}

.location-tel-bar i {
    font-style: normal;
    font-weight: 400;
    opacity: 0.2;
}

.location-tel-bar strong {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media screen and (max-width: 1280px) {
    .location-page {
        width: 92%;
        padding: 10rem 0 14rem;
    }

    .location-heading {
        font-size: 3.4rem;
        margin-bottom: 6rem;
    }

    .location-logo {
        margin-bottom: 8rem;
    }

    .location-head h3 {
        font-size: 3.6rem;
    }

    .location-tel {
        font-size: 2.8rem;
    }

    .location-tel-bar {
        height: 6.4rem;
        font-size: 2rem;
    }

    .location-tel-bar strong {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 768px) {
    .location-page {
        padding: 6rem 0 8rem;
    }

    .location-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
        margin-bottom: 4rem;
    }

    .location-heading {
        font-size: 2.4rem;
        margin-bottom: 4.5rem;
    }

    .location-heading strong {
        display: block;
        margin-top: 1rem;
        line-height: 1.25;
    }

    .location-logo {
        margin-bottom: 6rem;
    }

    .location-logo img {
        width: 36rem;
    }

    .location-head h3 {
        font-size: 3rem;
    }

    .location-tel {
        font-size: 2.4rem;
    }

    .location-tel-bar {
        height: 5.6rem;
        gap: 1rem;
        font-size: 1.7rem;
    }

    .location-tel-bar strong {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .location-heading {
        font-size: 2rem;
    }

    .location-logo img {
        width: 28rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-page .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .location-map .map-line {
        transition: none;
    }
}