@charset "UTF-8";

.access__address {
    text-align: center;
    font-size: 1.125rem;
}

.access__tabs {
    max-width: 600px;
    width: 100%;
    margin: 40px auto 0;
    display: flex;
    gap: 4px;
    background: #f1f1f1;
    border-radius: 999px;
    padding: 5px;
}
@media screen and (max-width: 768px) {
    .access__tabs {
        max-width: 100%;
    }
}

.access__tab {
    flex: 1;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 999px;
    padding: 14px 12px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
@media screen and (max-width: 768px) {
    .access__tab {
        font-size: 0.875rem;
        padding: 12px 8px;
    }
}
.access__tab:hover {
    color: var(--main-color);
}
.access__tab.active {
    background: var(--main-color);
    color: var(--white-color);
    font-weight: 500;
}
.access__tab.active:hover {
    color: var(--white-color);
}

.access__mapWrap{
    position: relative;
    width: calc(600 / 1300 * 100%);
}

@media screen and (max-width: 1100px) {
    .access__mapWrap {
        width: 100%;
    }
}

.access__mapWrap iframe {
  display: block;
  width: 100%;
}
.access__map__link {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}
@media screen and (max-width: 768px) {
    .access__map__link {
        width: 65%;
    }
}

.access__map-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 40px;
}
@media screen and (max-width: 1100px) {
    .access__map-container {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

.access__map__body {
    width: calc(600 / 1300 * 100%);
}
@media screen and (max-width: 1100px) {
    .access__map__body {
        width: 80%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .access__map__body {
        width: 100%;
    }
}

.access__map__listWrap {
    display: none;
}
.access__map__listWrap.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.access__map__list {
    background: #f1f1f1;
    padding: 20px 20px 40px;
    border-radius: 20px;
    box-sizing: border-box;
    height: 300px;
    position: relative;
}

.access__map__item {
    width: 100%;
}

.access__map__item__btn {
    display: flex;
    justify-content: space-between;
    padding:20px 10px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    border-bottom: 2px solid var(--main-color);
}
.access__map__item__time {
    margin-left: auto;
    font-weight: 500;
}

.access__map__item-blue {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    text-align: right;
    padding-top: 20px;
    color: var(--main-color);
}

.access__map__imgWrap {
    max-width: 190px;
    width: calc(190 / 500 * 100%);
    margin-left: auto;
}
.access__map__bus__linkWrap {
    position: absolute;
    bottom: 40px;
    text-align: right;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 80%;
    text-align: center;
}
@media screen and (max-width: 768px) {
    .access__map__bus__linkWrap {
        width: auto;
    }
}
.access__map__bus__link {
    margin-top: 20px;
    display: inline-block;
    text-align: center;
}
@media screen and (max-width: 768px) {
  .access__map__bus__link {
    font-size: 0.9rem;
    white-space: nowrap;
  }
}
