.program-access .program-bg {
    --program-bg-overlap: 30%;

    top: 5vw;
}

.program-access .program-bg img {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: fill;
}

.program-access .program-bg img:not(:first-child) {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--program-bg-overlap));
    mask-image: linear-gradient(to bottom, transparent, #000 var(--program-bg-overlap));
}

.program-info {
    --program-info-top-space: clamp(70px, 14vw, 125px);

    position: relative;
    z-index: 1;
    padding: var(--program-info-top-space) 0 clamp(64px, 8vw, 120px);
}

.program-info__arc {
    position: absolute;
    top: calc(clamp(110px, 20vw, 190px) - 18vw);
    left: 50vw;
    width: 140vw;
    max-width: none;
    height: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 32px rgba(35, 128, 179, 0.22));
    pointer-events: none;
}

.program-info > .section-inner {
    position: relative;
    z-index: 1;
}

.program-info__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(6px, 1vw, 14px);
    margin-bottom: clamp(24px, 3vw, 44px);
}

.program-info__tab {
    --program-info-accent: #a72898;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 100px;
    padding: 18px 8px 26px;
    border: 4px solid var(--program-info-accent);
    border-radius: 18px;
    color: var(--program-info-accent);
    background: #fff;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

.program-info__tab-main {
    font-size: clamp(16px, 1.8vw, 26px);
}

.program-info__tab-sub {
    font-size: clamp(12px, 1.1vw, 16px);
}

.program-info__tab:nth-child(2),
#program-info-panel-food {
    --program-info-accent: #ff9914;
    --program-info-table-ink: #a65b00;
    --program-info-table-tint: #fff3df;
    --program-info-table-rule: #ffd39e;
}

.program-info__tab:nth-child(3),
#program-info-panel-connect {
    --program-info-accent: #58bd35;
    --program-info-table-ink: #347d20;
    --program-info-table-tint: #eaf8e6;
    --program-info-table-rule: #b6e0a9;
}

.program-info__tab[aria-selected="true"] {
    color: #fff;
    background: var(--program-info-accent);
}

@media (hover: hover) {
    .program-info__tab:hover {
        color: #fff;
        background: var(--program-info-accent);
    }
}

.program-info__tab:focus-visible,
.program-info__panel:focus-visible {
    outline: 3px solid #f04425;
    outline-offset: 3px;
}

.program-info__panel {
    --program-info-accent: #a72898;
    --program-info-table-ink: #8b1e80;
    --program-info-table-tint: #fbebf8;
    --program-info-table-rule: #e9b8e3;

    min-height: 140px;
    padding: clamp(24px, 4vw, 48px);
    border: 0;
    border-top: 6px solid var(--program-info-accent);
    border-radius: 18px;
    background: #fff;
}

.program-info__panel[hidden] {
    display: none;
}

.program-info__panel:not([hidden]) {
    animation: program-info-panel-enter 420ms ease-out both;
}

@keyframes program-info-panel-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .program-info__tab {
        transition: none;
    }

    .program-info__panel:not([hidden]) {
        animation: none;
    }
}

#program-info-panel-connect h3 {
    margin-bottom: clamp(32px, 3vw, 40px);
    color: #222;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    text-align: center;
}

.program-info rt {
    font-size: 0.5em;
    line-height: 1;
}

.program-info__scroll-hint {
    display: none;
}

.program-info__table-wrap {
    overflow-x: auto;
}

.program-info__table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.6;
}

.program-info__table th,
.program-info__table td {
    padding: 18px clamp(12px, 1.5vw, 24px);
    border-bottom: 1px solid var(--program-info-table-rule);
    text-align: left;
    vertical-align: top;
}

.program-info__table thead th {
    color: #fff;
    background: var(--program-info-accent);
    font-weight: 900;
}

.program-info__table tbody tr:nth-child(even) {
    background: var(--program-info-table-tint);
}

.program-info__table tbody th {
    color: var(--program-info-table-ink);
    font-weight: 700;
}

.program-info__schedule th:first-child,
.program-info__schedule td:first-child {
    width: 20%;
    white-space: nowrap;
}

.program-info__schedule th:nth-child(2) {
    width: 26%;
}

.program-info__schedule time {
    white-space: nowrap;
}

.program-info__table td:last-child {
    overflow-wrap: anywhere;
}

.program-info__food-table th:first-child,
.program-info__food-table td:first-child {
    width: 20%;
}

.program-info__food-table th:nth-child(2) {
    width: 30%;
}

.program-info__panel .program-info__support-title {
    margin-top: clamp(48px, 6vw, 88px);
}

.program-info__connect-table {
    min-width: 880px;
}

.program-info__connect-table th:first-child,
.program-info__connect-table td:first-child {
    width: 15%;
}

.program-info__connect-table th:nth-child(2) {
    width: 30%;
}

@media (max-width: 1024px) {
    .program-info > .section-inner {
        padding-inline: clamp(12px, 2vw, 20px);
    }

    .program-info__panel {
        padding: clamp(16px, 2.5vw, 24px);
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .program-info__table {
        min-width: 0;
        table-layout: fixed;
        font-size: clamp(13px, 1.6vw, 16px);
    }

    .program-info__table th,
    .program-info__table td {
        padding: 14px clamp(8px, 1.2vw, 14px);
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .program-info__connect-table {
        min-width: 0;
    }
}

@media (max-width: 599px) {
    .program-info__scroll-hint {
        display: block;
        margin: 0 0 10px;
        padding: 8px 10px;
        border-radius: 6px;
        color: var(--program-info-table-ink);
        background: var(--program-info-table-tint);
        font-size: 12px;
        font-weight: 700;
        text-align: center;
    }

    .program-info__table-wrap {
        -webkit-overflow-scrolling: touch;
    }

    .program-info__tab {
        min-height: 112px;
        padding: 18px 0 26px;
        border-width: 3px;
        border-radius: 12px;
    }

    .program-info__tab-main {
        font-size: clamp(9px, 3.2vw, 14px);
        letter-spacing: -0.06em;
        white-space: nowrap;
    }

    .program-info__tab-sub {
        font-size: clamp(8px, 2.8vw, 11px);
        letter-spacing: -0.08em;
        white-space: nowrap;
    }

    .program-info__panel {
        min-height: 120px;
        border-radius: 12px;
    }
}
