/*venue*/
/* 会場ページ：交通リンク */
.access-links {
    margin-top: 40px;
}

.access-links__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.access-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.access-link {
    display: block;
    padding: 16px 18px;
    border: 2px solid #69389d;
    border-radius: 8px;
    text-decoration: none;
    color: #69389d;
    background: #faf7fd;
    transition:
        background 0.2s,
        color 0.2s;
}

.access-link:hover {
    background: #69389d;
    color: #fff;
}

.access-link__title {
    display: block;
    font-weight: 700;
}

.access-link__desc {
    display: block;
    margin-top: 6px;
    font-size: 1.3rem;
    opacity: 0.85;
}

/*train*/
.train-tabs {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    margin-bottom: 20px;
    /*border-bottom: 1px solid #ddd;*/
}

.train-tabs button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
}

.train-tabs button.is-active {
    color: #000;
    border-bottom: 2px solid #000;
}

.train-tabs a {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    background: #f1f1f1;
    border: 2px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.train-tabs a.is-active {
    background: #69389d;
    color: #fff;
    border-color: #69389d;
}

@media (max-width: 640px) {
    .train-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .train-tabs a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 4.5em;
        padding: 10px 8px;
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }
}

/* hover */
.train-tabs a:hover {
    background: #e6e6e6;
}

/* 選択中 */
.train-tabs a.is-active {
    background: #69389d; /* サイトのメイン色 */
    color: #fff;
    border-color: #69389d;
}
#trainFrame {
    width: 100%;
    border: none;
    overflow-y: hidden; /* 縦スクロールを消す */
}

/* ===== bus ===== */
@layer base {
    body {
        font-family: "Noto Sans JP", sans-serif;
    }
}

.table-cell {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 0.5rem;
    text-align: center;
}

@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .section-card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
