.sub-tabs {
    background-color: #ffffff;
    border-bottom: .0625rem solid #e1e1e4;
}
.sub-tabs-inner {
    display: flex;
    align-items: center;
    gap: .25rem;
    height: 3.75rem;
}
@media only screen and (max-width: 767px) {
    .sub-tabs-inner {
        overflow-x: auto;
        gap: .125rem;
    }
    .sub-tabs-inner::-webkit-scrollbar {
        display: none;
    }
}
.sub-tab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .625rem;
    font-family: 'Pretendard', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
    color: #505050;
    text-decoration: none;
    border: 0;
    border-bottom: .125rem solid transparent;
    height: 100%;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.sub-tab-item:hover {
    color: var(--primary);
}
.sub-tab-item.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom-color: var(--primary);
}
@media only screen and (max-width: 767px) {
    .sub-tab-item {
        font-size: .875rem;
        padding: .5rem;
    }
}
.location-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-top: 5rem;
    padding-bottom: 12.5rem;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-section {
        padding-bottom: 10rem;
    }
}
@media only screen and (max-width: 767px) {
    .location-section {
        gap: .625rem;
        padding-top: 2.5rem;
        padding-bottom: 5rem;
    }
}
.location-section #hidden {
    display: none;
}
.location-section #hidden ~ .location-detail {
    display: none;
}
.location-section #hidden:checked ~ .location-detail {
    display: flex;
    z-index: 10000;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-section #hidden:checked ~ .location-title, .location-section #hidden:checked ~ .location-map, .location-section #hidden:checked ~ .location-table, .location-section #hidden:checked ~ .location-button {
        display: none;
    }
    .location-section #hidden:checked ~ .location-detail {
        z-index: auto;
    }
}
@media only screen and (max-width: 767px) {
    .location-section #hidden:checked ~ .location-title, .location-section #hidden:checked ~ .location-map, .location-section #hidden:checked ~ .location-table, .location-section #hidden:checked ~ .location-button {
        display: none;
    }
    .location-section #hidden:checked ~ .location-detail {
        z-index: auto;
    }
}
.location-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
@media only screen and (max-width: 767px) {
    .location-title {
        gap: .4375rem;
    }
}
.location-title .title-top {
    font-size: 1.375rem;
    line-height: 1.5;
    font-weight: 600;
    color: #8c4a4a;
}
@media only screen and (max-width: 767px) {
    .location-title .title-top {
        font-size: 1.125rem;
    }
}
.location-title .title-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.5;
}
@media only screen and (max-width: 767px) {
    .location-title .title-main {
        font-size: 1.625rem;
        flex-direction: column;
        gap: .125rem;
    }
}
.location-title .title-main strong {
    font-weight: 700;
}
.location-map picture {
    width: 100%;
}
.location-map picture img {
    width: 100%;
}
.location-table {
    border-top: 2px solid #b11116;
    width: 100%;
}
.location-table table {
    width: 100%;
    border-collapse: collapse;
}
.location-table table th, .location-table table td {
    border: 1px solid #e1e1e4;
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    font-weight: 400;
}
@media only screen and (max-width: 767px) {
    .location-table table th, .location-table table td {
        padding: .625rem;
        font-size: .875rem;
    }
}
.location-table table th {
    border-left: none;
    width: 12.5rem;
    background: #FBFBFB;
}
@media only screen and (max-width: 767px) {
    .location-table table th {
        width: 5.625rem;
    }
}
.location-table table td {
    border-right: none;
    color: #505050;
}
.location-button {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
@media only screen and (max-width: 767px) {
    .location-button {
        padding-top: .625rem;
    }
}
.location-button .button {
    border-radius: 0.5rem;
    background: #8c4a4a;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
}
@media only screen and (max-width: 767px) {
    .location-button .button {
        padding: 0.625rem 1.25rem;
        gap: 0.25rem;
    }
}
.location-button .button img {
    width: 2rem;
}
@media only screen and (max-width: 767px) {
    .location-button .button img {
        width: 1.25rem;
    }
}
.location-button .button span {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
}
@media only screen and (max-width: 767px) {
    .location-button .button span {
        font-size: 1rem;
    }
}
.location-detail {
    background: rgba(0, 0, 0, 0.04);
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail {
        position: relative;
        height: auto;
        top: auto;
        left: auto;
        background: none;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail {
        position: relative;
        height: auto;
        top: auto;
        left: auto;
        background: none;
        width: calc(100% + 2.5rem);
    }
}
.location-detail .detail-content {
    width: 86.25rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0.25rem 0.25rem 1.25rem 0 rgba(0, 0, 0, 0.08);
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-content {
        width: 100%;
        padding: 0;
        box-shadow: none;
        border-radius: none;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-content {
        width: 100%;
        padding: 0;
        box-shadow: none;
        border-radius: none;
    }
}
.location-detail .detail-title {
    margin-bottom: 1.25rem;
    position: relative;
    width: 100%;
    text-align: center;
}
.location-detail .detail-title .non-pc-close-button {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}
.location-detail .detail-title .non-pc-close-button img {
    width: 100%;
    height: 100%;
    display: block;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-title .non-pc-close-button {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-title .non-pc-close-button {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}
.location-detail .detail-title span {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.5;
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-title span {
        font-size: 1.375rem;
    }
}
.location-detail .detail-direction {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-direction {
        flex-direction: column;
        width: 100%;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction {
        flex-direction: column;
        width: 100%;
    }
}
.location-detail .detail-direction .direction-image {
    width: 48.3125rem;
    height: 36.1875rem;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-direction .direction-image {
        width: 100%;
        height: auto;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction .direction-image {
        width: 100%;
        height: auto;
    }
}
.location-detail .detail-direction .direction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.location-detail .detail-direction .direction-description {
    width: 32.3125rem;
    border-top: 2px solid #b11116;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-direction .direction-description {
        width: 100%;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction .direction-description {
        width: 100%;
    }
}
.location-detail .detail-direction .direction-description .description {
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border-top: 1px solid #e1e1e4;
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction .direction-description .description {
        flex-direction: column;
        gap: .5rem;
    }
}
.location-detail .detail-direction .direction-description .description:last-of-type {
    border-bottom: 1px solid #e1e1e4;
    padding-bottom: 1.875rem;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-direction .direction-description .description:last-of-type {
        padding-bottom: 1.25rem;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction .direction-description .description:last-of-type {
        padding-bottom: 1.25rem;
    }
}
.location-detail .detail-direction .direction-description .description .num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #fff;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction .direction-description .description .num {
        width: 2rem;
        height: 2rem;
    }
}
.location-detail .detail-direction .direction-description .description .text strong, .location-detail .detail-direction .direction-description .description .text span {
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    color: #505050;
}
.location-detail .detail-direction .direction-description .description .text strong {
    margin-bottom: 0.125rem;
    font-weight: 700;
}
.location-detail .detail-direction .direction-description .description .text span {
    margin-bottom: 0.4375rem;
    font-weight: 400;
}
.location-detail .detail-direction .direction-description .description .text img {
    display: block;
    width: 20.75rem;
    height: auto;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-direction .direction-description .description .text img {
        width: 25rem;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-direction .direction-description .description .text img {
        width: 16.6875rem;
    }
}
.location-detail .detail-close-button {
    width: 100%;
    margin-top: 2.5rem;
}
@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .location-detail .detail-close-button {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    .location-detail .detail-close-button {
        display: none;
    }
}
.location-detail .detail-close-button label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.875rem;
    gap: 0.25rem;
    border-radius: 0.5rem;
    background: #f5f5f5;
    cursor: pointer;
}
.location-detail .detail-close-button label img {
    width: 2rem;
    height: 2rem;
}
.location-detail .detail-close-button label span {
    color: #505050;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
}
