#news {
    width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#news h1,
#news h2 {
    font-weight: bold;
    color: #ff4500;
    margin: 20px 0;
}

#news h1 {
    font-size: 2em;
}

#news h2 {
    font-size: 1.5em;
}

/* セミナーアイテム（カードデザイン） */
.seminar-item {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.seminar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 画像エリア（Flexで縦並びにしてH3を画像と分離） */
.seminar-image {
    width: 35%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.seminar-image a:last-child {
    /* 画像リンク */
    flex: 1;
    overflow: hidden;
    display: block;
}

.seminar-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seminar-status {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
}

.reception,
.reception_end,
.reception_cancel {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    font-size: 0.85em;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 3px;
}

.reception {
    background: linear-gradient(135deg, #00A8FF, #0077cc);
}

.reception_end {
    background: linear-gradient(135deg, #9e9e9e, #757575);
}

.reception_cancel {
    background: linear-gradient(135deg, #ff9f40, #ff6b00);
}

/* タイトル（画像の下ではなく、画像エリア内の上部に配置されるようにFlex順序調整が必要か、
   あるいはHTML順序が H3 -> IMG ならそのまま縦並びになる） */
.seminar-image h3 {
    display: block;
    position: static;
    /* 絶対配置を解除 */
    background: transparent;
    margin: 0;
    padding: 40px 10px 5px;
    /* 上パディングでステータスバッジとの重なりを防ぐ */
    box-sizing: border-box;
    z-index: 1;
    color: #333;
    /* 文字色変更 */
    order: -1;
    /* Flexbox内で先頭に表示（念のため） */
}

.seminar-image h3 a {
    color: #333;
    /* リンク文字色 */
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.4;
}

/* コンテンツエリア */
.seminar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 1em;
}

.seminar-date {
    font-size: 1.1em;
    color: #3353b2;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.seminar-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.seminar-details dt {
    color: #888;
    font-weight: normal;
    font-size: 0.9em;
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
}

.seminar-details dd {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.8;
}

/* アクションボタン */
.seminar-action {
    margin-top: auto;
    text-align: right;
}

.seminar-action button {
    background: linear-gradient(135deg, #ff9f40 0%, #ff8c00 100%);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.seminar-action button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
}

/* 過去のセミナー（History）調整 */
.seminar-item.history {
    opacity: 0.8;
    background: #fdfdfd;
}

.seminar-item.history .seminar-image img {
    filter: grayscale(80%);
}

.seminar-item.history:hover {
    opacity: 1;
}

.seminar-item.history:hover .seminar-image img {
    filter: grayscale(0%);
}

@media screen and (max-width: 959px) {

    /* 挨拶 */
    #news {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        flex-direction: column;
    }

    #news h1 {
        font-size: 1.5em;
        margin: 10px 0;
    }

    #news h2 {
        font-size: 1.2em;
        margin: 10px 0;
    }

    #news article {
        width: 100%;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    #news main img {
        max-width: 100%;
        height: auto;
    }

    /* SP用セミナーアイテム調整 */
    .seminar-item {
        flex-direction: column;
    }

    .seminar-content {
        padding: 0 20px;
    }

    .seminar-date {
        padding: 0;
        margin-bottom: 15px;
    }

    .seminar-details {
        display: block;
        margin-bottom: 20px;
    }

    .seminar-details dt {
        display: inline-block;
        margin-bottom: 5px;
    }

    .seminar-details dd {
        margin-bottom: 15px;
        padding-left: 10px;
    }

    .seminar-details dd:last-child {
        margin-bottom: 0;
    }

    .seminar-image h3 {
        padding: 40px 10px 10px;
        /* SPでもバッジ被り回避のパディング維持 */
        font-size: 1.1em;
    }

    .seminar-image {
        width: 100%;
        height: auto;
    }

    .seminar-action {
        text-align: center;
        margin-top: 20px;
    }

    .seminar-action button {
        width: 100%;
    }
}