.map-section {
    display: flex;
}

.school-song-contents {
    display: flex;
}

.school-song-contents img {
    width: 35vw;
}

.school-song-audio {
    width: 35vw;
    margin-top: 24px;
}

.school-song-audio audio {
    width: 100%;
}

.exercise-song-audio {
    width: 35vw;
}

.exercise-song-audio audio {
    width: 100%;
}

.exercise-contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    padding: 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.exercise-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: 1.5px solid;
    padding: 0.75rem 1.5rem;
}

.exercise-headline {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    flex-shrink: 0;
}

.exercise-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.125rem;
    margin-right: 1rem;
    flex-shrink: 0;
    background: none;
    box-sizing: border-box;
    border: 1px solid;
}

.exercise-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.exercise-item img {
    width: 100%;
    height: 180px;
    /* 固定高さで統一 */
    object-fit: contain;
    object-position: center;
    /* background-color: #f8fafc; */
    display: block;
    padding: 0.75rem;
    box-sizing: border-box;
}

/* スマホ最適化 */
@media (max-width: 480px) {
    .exercise-contents {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }

    .exercise-headline {
        padding: 1rem 1.25rem;
    }

    .exercise-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-right: 0.75rem;
        border-width: 1.5px;
    }

    .exercise-title {
        font-size: 1rem;
    }

    .exercise-item img {
        height: 150px;
        /* スマホ用に調整 */
        padding: 0.5rem;
    }
}