/* ===========================================
   セミナー一覧セクション
   =========================================== */
.seminar-list {
    background: #fff;
    padding: 60px 0;
}

.seminar-item {
    display: flex;
    align-items: stretch;
    background: #e6f4f9;
    margin-bottom: 20px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.seminar-item:nth-child(2) {
    background: #e6f4f9;
}

.seminar-item:nth-child(3) {
    background: #e6f4f9;
}

.seminar-item:nth-child(4) {
    background: #e6f4f9;
}

.seminar-item:nth-child(5) {
    background: #e6f4f9;
}

/* 終了したセミナーの網掛け */
.seminar-ended {
    position: relative !important;
    overflow: hidden !important;
}

.seminar-ended::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(128, 128, 128, 0.3) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.seminar-ended .seminar-date-badge,
.seminar-ended .seminar-content,
.seminar-ended .seminar-button {
    position: relative;
    z-index: auto;
}

/* 日付バッジ */
.seminar-date-badge {
    background: #6ba844;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    flex-shrink: 0;
}

.date-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #6ba844;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.date-month {
    font-size: 1.5rem;
    font-weight: 500;
    display: inline;
}

.date-day {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.date-weekday {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.date-session {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 2px solid rgba(255,255,255,0.5);
}

/* セミナーコンテンツ */
.seminar-content {
    flex: 1;
    padding: 25px 30px;
    background: #e6f4f9;
}

.seminar-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.seminar-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seminar-points li {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.6;
    padding-left: 0;
}

.seminar-points li:last-child {
    margin-bottom: 0;
}

/* ボタン */
.seminar-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: #e6f4f9;
}

.btn-detail {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #fff;
    padding: 18px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
    line-height: 1.4;
    display: block;
    min-width: 100px;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    opacity: 1;
    background: linear-gradient(135deg, #ff9d5c 0%, #ff7b45 100%);
}

/* 終了ボタン */
.btn-ended {
    background: #999 !important;
    color: #fff;
    padding: 18px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(153, 153, 153, 0.3);
    white-space: nowrap;
    line-height: 1.4;
    display: block;
    min-width: 100px;
    cursor: default;
    pointer-events: none;
}

.btn-ended:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(153, 153, 153, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .seminar-list {
        padding: 40px 0;
    }

    .seminar-item {
        flex-direction: column;
        margin-bottom: 25px;
    }

    .seminar-date-badge {
        min-width: 100%;
        padding: 20px 15px;
    }

    .date-circle {
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        gap: 3px;
    }

    .date-month {
        font-size: 1.3rem;
    }

    .date-day {
        font-size: 2.5rem;
    }

    .date-weekday {
        font-size: 1.1rem;
        margin-top: 0;
        margin-left: 8px;
    }

    .date-session {
        font-size: 0.95rem;
        margin-top: 0;
        margin-left: 15px;
        padding-top: 0;
        padding-left: 15px;
        border-top: none;
        border-left: 2px solid rgba(255,255,255,0.5);
    }

    .seminar-content {
        padding: 20px;
    }

    .seminar-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .seminar-points li {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .seminar-button {
        padding: 20px;
    }

    .btn-detail {
        width: 100%;
        padding: 16px 24px;
    }

    .btn-ended {
        width: 100%;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .seminar-date-badge {
        padding: 15px 10px;
    }

    .date-circle {
        gap: 2px;
    }

    .date-month {
        font-size: 1.1rem;
    }

    .date-day {
        font-size: 2rem;
    }

    .date-weekday {
        font-size: 1rem;
        margin-left: 5px;
    }

    .date-session {
        font-size: 0.85rem;
        margin-left: 10px;
        padding-left: 10px;
    }

    .seminar-content {
        padding: 15px;
    }

    .seminar-title {
        font-size: 1.1rem;
    }

    .seminar-points li {
        font-size: 0.95rem;
        font-weight: 700;
    }

    .seminar-button {
        padding: 15px;
    }
}
