.hp-lesson-list { color: #705643; font-size: 17px; line-height: 1.7; }
.hp-lesson-list .fc { border: 0; }
.hp-lesson-list .fc-toolbar { gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hp-lesson-list .fc-toolbar-title { font-size: clamp(16px, 2.2vw, 21px); font-weight: 500; }
.hp-lesson-list .fc-toolbar button { background: #fff8f2; color: #705643; border: 1px solid #bba492; border-radius: 5px; padding: 9px 13px; font-size: 15px; min-height: 44px; }
.hp-lesson-list .fc-list { border: 0; }
.hp-lesson-list .fc-list-table { border-collapse: separate; border-spacing: 0 14px; width: 100%; }
.hp-lesson-list .fc-list-day,
.hp-lesson-list .fc-list-event-time,
.hp-lesson-list .fc-list-event-graphic { display: none; }
.hp-lesson-list .fc-list-event > td { background: #fff8f2; border: 1px solid #d9c6b7; border-radius: 10px; padding: 24px; }
.hp-lesson-list .fc-list-event-title { white-space: normal; }
.hp-lesson-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.hp-lesson-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.hp-lesson-date { font-size: 19px; font-weight: 600; }
.hp-lesson-time { font-size: 19px; font-variant-numeric: tabular-nums; }
.hp-lesson-name { flex-basis: 100%; font-size: 16px; }
.hp-lesson-status { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hp-lesson-availability { font-weight: 600; white-space: nowrap; }
.hp-lesson-select { background: #a76245; color: white; border-radius: 5px; padding: 10px 18px; font-size: 16px; white-space: nowrap; }
.hp-lesson-list .fc-event { cursor: pointer; }
.hp-lesson-list .fc-event:focus-visible { outline: 3px solid #705643; outline-offset: 3px; }
.hp-lesson-list .fc-event.bookacti-picked-event > td { background: #f5e5d8; border: 2px solid #a76245; }
.hp-lesson-list .bookacti-picked-event .hp-lesson-select { font-size: 0; }
.hp-lesson-list .bookacti-picked-event .hp-lesson-select::after { content: '選択済み ✓'; font-size: 16px; }
.hp-lesson-list .fc-event.bookacti-event-unavailable { cursor: default; }
.hp-lesson-list .bookacti-event-unavailable .hp-lesson-select { background: #e4dcd5; color: #705f52; }
.hp-lesson-list .fc-list-empty { background: #fff8f2; padding: 30px 20px; }
@media (max-width: 650px) {
    .hp-lesson-list .fc-toolbar { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .hp-lesson-list .fc-list-event > td { padding: 20px 16px; }
    .hp-lesson-row { flex-direction: column; align-items: stretch; gap: 14px; }
    .hp-lesson-details { gap: 3px 14px; }
    .hp-lesson-date { flex-basis: 100%; font-size: 18px; }
    .hp-lesson-time { font-size: 19px; }
    .hp-lesson-name { font-size: 16px; }
    .hp-lesson-status { justify-content: space-between; gap: 12px; }
    .hp-lesson-select { padding: 10px 14px; }
}

/* Booking Activities 1.19.2 bundles FullCalendar 7, whose list rows are divs. */
.hp-lesson-list .hp-list-day-header { display: none; }
.hp-lesson-list .fc-event { display: block; background: #fff8f2; color: #705643; border: 1px solid #d9c6b7; border-radius: 10px; padding: 24px; margin: 0 0 16px; }
.hp-lesson-list .fc-event > :not(.fc-event-main) { display: none; }
.hp-lesson-list .fc-event-main { width: 100%; color: #705643; }
.hp-lesson-list .fc-hpLessonList-view { border: 0; background: transparent; }
.hp-lesson-list .fc-event.bookacti-picked-event { background: #f5e5d8; border: 2px solid #a76245; }
.hp-lesson-list .hp-list-empty { background: #fff8f2; padding: 30px 20px; }
@media (max-width: 650px) { .hp-lesson-list .fc-event { padding: 20px 16px; } }

.hp-home-schedule { text-align: left; margin-bottom: 30px; }
.hp-home-schedule .hp-lesson-select { display: inline-block; color: #fff; text-decoration: none; }
.hp-home-schedule .hp-lesson-list .fc-event { cursor: default; }

/* Let the row use the full card width, then center the link in the space after the seat count. */
.hp-home-schedule .fc-event-main > .hp-lesson-row { width: 100%; }
@media (min-width: 651px) {
    .hp-home-schedule .hp-lesson-details { flex: 0 1 54%; min-width: 0; }
    .hp-home-schedule .hp-lesson-status { flex: 1; min-width: 0; }
    .hp-home-schedule .hp-lesson-status > .hp-lesson-select { margin-inline: auto; }
}
