.section-1{
    width: 100%;
    height: 380px;
}
.section-1 h1{
    position: absolute;
    top: 200px;
    left: 100px;
    font-size: 40px;
}
.section-2{
    width: 90%;
    height: auto;
    min-height: 600px;
    margin: 50px auto 160px auto;
    text-align: center;
    justify-content: space-around;
}
/* グリッドレイアウトの設定 */
.grid {
    display: grid;
    /* 画面幅に合わせて自動で列数を調整（最低300px） */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    
}
/* カードのデザイン */
.card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
}
.card:hover {
    transform: translateY(-5px); /* ホバー時に少し浮かす */
}
.card a {
    text-decoration: none;
    color: inherit;
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
}
/* 画像の比率を固定する */
.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* 画像を枠いっぱいに綺麗に収める */
    vertical-align: bottom;
}
/* カード内のテキスト */
.card-content {
    padding: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}
.description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    /* 3行目以降を三点リーダーにする設定 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}
@media (max-width: 870px){
    .section-1{
        height: 30vh;
        width: 100%;
    }
    .section-1 h1{
        position: absolute;
        top: 20%;
        left: 10%;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 32px;
    }
    .news-button{
        width: 36%;
        margin: 30px auto;
    }
}