@charset "utf-8";
/* タイトル */
.post-342 .entry-title {
    text-align: center;
    padding: 1rem 0;
    font-size: clamp(1.25rem, 1vw + 1.25rem, 1.75rem);
    background: linear-gradient(to right, #ccc, #eee);
    color: #333;
    margin-bottom: 2rem;
}
/* 過去イベント：2列レイアウト */
.pastevents-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
.past-events {
    position: relative;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* グラデーションボーダー */
.past-events::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(20deg, rgba(40, 76, 169, 1) 0%, rgba(47, 183, 186, 1) 100%);
    z-index: -1;
    border-radius: 10px;
}
.past-events a {
    display: block;
    background: #f9f9f9;
    padding: 1.2rem;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.past-events h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #060044;
}
.past-events p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}
.past-events:hover {
    transform: translateY(3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
/* タブレット調整 */
@media (max-width: 1000px) {
    .pastevents-area {
        grid-template-columns: 1fr;
        width: 85%;
        margin: 10% 0 0 5%
    }
}
/* スマホ調整 */
@media (max-width: 768px) {
    .past-events a {
        padding: 1rem;
    }
    .post-342 .entry-title {
        font-size: 1.5rem;
    }
}