.station-guide-body {
    background:
        radial-gradient(circle at top right, rgba(0, 128, 128, 0.08), transparent 34rem),
        var(--bg-light);
}

.station-menu-button {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1200;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 128, 128, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #23413f;
    box-shadow: 0 12px 28px rgba(0, 70, 70, 0.16);
    cursor: pointer;
}

.station-side-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1300;
    width: min(300px, 86vw);
    background: #fff;
    box-shadow: -18px 0 38px rgba(0, 40, 40, 0.18);
    transform: translateX(105%);
    transition: transform 0.24s ease;
}

.station-side-menu.open {
    transform: translateX(0);
}

.station-side-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
}

.station-menu-close {
    align-self: flex-end;
    border: 0;
    background: transparent;
    color: #60736f;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.station-side-nav {
    display: grid;
    gap: 18px;
    margin-top: 44px;
}

.station-side-nav a {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 128, 128, 0.16);
    color: #263d3a;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 900;
}

.station-side-copy {
    margin-top: auto;
    color: #94a19d;
    font-size: 0.74rem;
    font-weight: 800;
}

.station-guide-header {
    position: relative;
    padding: 24px 0 36px;
    overflow: hidden;
    background: url('../images/hero.png') center/cover no-repeat;
    border-bottom: 4px solid var(--primary-color);
}

.station-guide-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 43, 49, 0.82), rgba(4, 43, 49, 0.45), rgba(4, 43, 49, 0.2));
}

.station-guide-nav {
    position: relative;
    z-index: 2;
    width: min(800px, calc(100% - 32px));
    margin: 22px auto 28px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.station-guide-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 80, 80, 0.08);
}

.station-guide-hero {
    position: relative;
    z-index: 2;
    padding-top: 10px;
    padding-bottom: 22px;
}

.station-guide-hero h1 {
    color: #fff;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.station-guide-underline {
    width: 76px;
    height: 5px;
    margin-top: 16px;
    margin-left: 0;
    border-radius: 999px;
    background: #8ff3e2;
}

.station-guide-hero p {
    max-width: 640px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.station-guide-main {
    padding-bottom: 54px;
}

.station-search-card,
.station-map-card,
.station-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 128, 128, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 80, 80, 0.09);
}

.station-search-card {
    position: relative;
    z-index: 700;
    margin-top: -28px;
    padding: 26px;
}

.station-field {
    position: relative;
}

.station-input-field input {
    min-height: 56px;
    font-size: 1.02rem;
}

.station-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.station-search-actions {
    display: grid;
    grid-template-columns: minmax(170px, 240px) minmax(150px, 220px);
    gap: 12px;
    align-items: end;
    margin-top: 14px;
}

.station-location-button,
.station-location-search-button,
.station-search-button {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 128, 128, 0.18);
    font-size: 0.95rem;
}

.station-location-button {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid rgba(0, 128, 128, 0.22);
    box-shadow: none;
    white-space: nowrap;
}

.station-location-search-button {
    min-height: 42px;
    margin-top: 8px;
    padding: 0 16px;
    background: #e8f7f4;
    color: var(--primary-color);
    border: 1px solid rgba(0, 128, 128, 0.18);
    border-radius: 12px;
    box-shadow: none;
    font-size: 0.9rem;
}

.station-time-inline {
    display: grid;
    gap: 7px;
    margin: 0;
}

.station-time-inline span {
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 900;
}

.station-time-inline select {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 999px;
}

.station-status {
    min-height: 24px;
    margin-top: 8px;
    color: #6b7d78;
    font-size: 0.88rem;
    font-weight: 700;
}

.station-suggestions {
    position: absolute;
    z-index: 2000;
    top: calc(100% - 8px);
    left: 0;
    right: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 128, 128, 0.14);
    box-shadow: 0 20px 34px rgba(0, 70, 70, 0.14);
}

.station-suggestion {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #eef4f2;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.station-suggestion strong {
    display: block;
    color: #102322;
    font-size: 0.98rem;
}

.station-suggestion span {
    display: block;
    margin-top: 2px;
    color: #71817d;
    font-size: 0.82rem;
    font-weight: 700;
}

.station-map-card {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    padding: 18px;
}

.leaflet-container {
    z-index: 1;
}

.station-map-label {
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    color: #102322;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 40, 40, 0.16);
}

.station-map-label::before {
    display: none;
}

.station-map-label.origin {
    background: #ffffff;
    border: 2px solid rgba(0, 128, 128, 0.55);
}

.station-map-label.destination {
    background: #eaf3ff;
    border: 2px solid rgba(0, 110, 230, 0.55);
}

#station-map {
    width: 100%;
    height: 390px;
    border-radius: 16px;
    overflow: hidden;
    background: #dfeee9;
}

.station-map-note {
    margin-top: 9px;
    color: #7a8b87;
    font-size: 0.8rem;
    font-weight: 700;
}

.station-results-layout {
    display: block;
    margin-top: 18px;
}

.station-panel {
    min-height: 260px;
    padding: 20px;
}

.station-panel-heading {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 128, 128, 0.16);
}

.station-panel-heading h2 {
    color: #122525;
    font-size: 1.35rem;
    font-weight: 900;
}

.reachable-list,
.poi-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.reachable-card {
    position: relative;
    overflow: hidden;
}

.reachable-card-body {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.ticket-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 122px;
    min-height: 116px;
}

.ticket-info {
    display: grid;
    gap: 7px;
    padding: 18px 20px 16px;
}

.ticket-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-info p {
    color: #526661;
    font-weight: 700;
    line-height: 1.55;
}

.ticket-hint {
    width: fit-content;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 900;
}

.ticket-time {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 16px 14px;
    background:
        linear-gradient(135deg, rgba(0, 128, 128, 0.09), rgba(6, 74, 159, 0.07)),
        #f6fbfa;
    color: #102322;
}

.ticket-time::before {
    content: '';
    position: absolute;
    inset: 14px auto 14px 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 128, 128, 0.28), transparent);
}

.ticket-time span {
    color: #064a9f;
    font-size: 0.74rem;
    font-weight: 900;
}

.ticket-time strong {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-size: 2.45rem;
    line-height: 0.96;
    font-weight: 900;
}

.ticket-time em {
    font-style: normal;
    font-weight: 900;
}

.station-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 20px 16px;
}

.station-card-actions button {
    display: grid;
    gap: 1px;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 128, 128, 0.24);
    background: #f4fbf9;
    color: var(--primary-color);
    font-weight: 900;
    cursor: pointer;
    text-align: left;
}

.station-card-actions button span {
    font-size: 0.92rem;
}

.station-card-actions button small {
    color: #6b7d78;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
}

.station-card-detail {
    display: none;
    padding: 0 20px 18px;
    border-top: 1px solid rgba(0, 128, 128, 0.14);
}

.reachable-card.expanded .station-card-detail {
    display: grid;
    gap: 12px;
}

.ai-answer {
    white-space: pre-wrap;
    padding: 12px;
    border-radius: 12px;
    background: #f7faf9;
    color: #314541;
    font-weight: 700;
    line-height: 1.7;
}

.reachable-card,
.poi-card {
    display: grid;
    gap: 0;
    padding: 0;
    border: 1px solid rgba(0, 128, 128, 0.12);
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-align: left;
    box-shadow: 0 10px 22px rgba(0, 60, 60, 0.05);
}

button.reachable-card {
    cursor: pointer;
}

.reachable-card.active {
    border-color: rgba(0, 128, 128, 0.32);
    box-shadow: 0 14px 28px rgba(0, 80, 160, 0.09);
}

.reachable-card h3,
.poi-card h3 {
    font-size: 1.12rem;
    line-height: 1.35;
    font-weight: 900;
}

.reachable-meta,
.poi-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #6d7d79;
    font-size: 0.82rem;
    font-weight: 800;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e4ecff;
    color: #064a9f;
    font-weight: 900;
    font-size: 0.84rem;
}

.transfer-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e8f5ee;
    color: #2f6a51;
    font-size: 0.84rem;
    font-weight: 900;
}

.poi-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
}

.poi-thumb,
.poi-icon {
    width: 82px;
    height: 82px;
    border-radius: 14px;
    background: #e8f4f1;
    object-fit: cover;
    overflow: hidden;
}

.poi-icon {
    display: grid;
    place-items: center;
    color: var(--primary-color);
}

.poi-credit {
    margin-top: 5px;
    color: #899792;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.45;
}

.poi-credit a {
    color: inherit;
}

.poi-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.poi-map-button {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 900;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.poi-map-link {
    width: fit-content;
    color: #064a9f;
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.station-empty {
    padding: 18px;
    color: #71817d;
    font-weight: 800;
    background: #f4faf8;
    border-radius: 14px;
}

.station-extra-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed rgba(0, 128, 128, 0.22);
    border-radius: 16px;
    background: #f8fcfb;
}

.station-extra-list h3 {
    color: #193331;
    font-size: 1rem;
    font-weight: 900;
}

.station-extra-group {
    display: grid;
    gap: 8px;
}

.station-extra-group strong {
    color: #526661;
    font-size: 0.82rem;
}

.station-extra-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.station-extra-button {
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid rgba(0, 128, 128, 0.2);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.station-guide-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 28px 18px 36px;
    color: #687975;
    font-size: 0.86rem;
    font-weight: 800;
}

.station-guide-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 720px) {
    .station-menu-button {
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }

    .station-search-actions {
        grid-template-columns: 1fr;
    }

    .station-input-row {
        grid-template-columns: 1fr;
    }

    .station-guide-nav {
        margin-top: 56px;
    }

    .station-search-card {
        margin-top: -18px;
    }

    .station-location-button,
    .station-location-search-button,
    .station-search-button {
        width: 100%;
    }

    #station-map {
        height: 330px;
    }

    .station-panel,
    .station-search-card,
    .station-map-card {
        padding: 16px;
    }

    .poi-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .ticket-main {
        grid-template-columns: minmax(0, 1fr) 92px;
        min-height: 112px;
    }

    .ticket-info {
        padding: 14px 12px 12px;
    }

    .ticket-time {
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
        justify-items: center;
        min-height: auto;
        padding: 10px 8px;
    }

    .ticket-time::before {
        inset: 12px auto 12px 0;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, rgba(0, 128, 128, 0.24), transparent);
    }

    .ticket-time span {
        font-size: 0.68rem;
        line-height: 1.15;
    }

    .ticket-time strong {
        font-size: 2.05rem;
    }

    .ticket-time em {
        font-size: 0.82rem;
    }

    .station-card-actions {
        grid-template-columns: 1fr;
        padding: 0 16px 14px;
    }

    .station-card-detail {
        padding: 0 16px 16px;
    }

    .poi-thumb,
    .poi-icon {
        width: 64px;
        height: 64px;
    }
}
