@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Monda:wght@400..700&family=Noto+Sans+JP:wght@100..900&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.fadein{
    opacity: 0;

}
main{
    color: #212121;
    font-size: 12px;
}
nav{
    width: 100%;
    height: 100px;
    color: #212121;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 1000;
}
header .mobile{
    display: none;

}
nav .desktop{
    font-family: 'Inria Sans', serif;
    font-size: 24px;
    font-weight: 800;
    flex: 1;
    margin-left: 4%;
}
.humburger{
    display: none;
    font-size: 2rem;
    color: #212121;
    z-index: 2000;
}
.nav-links{
    list-style: none;
    flex: 4;
    text-align: right;
    margin-right: 2%;
}
.nav-links li{
    display: inline;    
}

.nav-links li a{
    font-family: 'BIZ UDPGothic', serif;
    font-size: 14px;
    text-decoration: none;
    color: #212121;
    margin: 1em;
}
.nav-links li a:hover{
    color: #737373;
}
.nav-links li a:active{
    color: #a1a1a1;
}


.container {
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans JP', sans-serif;
} 

/* グリッドレイアウトの設定 */
.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;
}

.date {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 10px 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.title {
    font-size: 21px;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-weight: bold;
    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;
}
.section-1{
    width: 100%;
    height: 380px;
}
.section-1 div{
    position: absolute;
    top: 200px;
    left: 100px;
    font-size: 20px;
}
#content{
    width: 80%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}
/* ここまで固定 */


.section-2{
    width: 90%;
    height: auto;
    min-height: 800px;
    margin: 50px auto 160px auto;
    text-align: center;
    justify-content: space-around;
}
.news-button{
    font-family: 'Carrois Gothic', sans-serif;  
    border-bottom: 1px solid; 
    font-weight: 600;
    width: 150px;
    margin: 50px auto;
    padding-bottom: 0.5%;
    text-align: center;
    justify-content: space-around; 

}
.news-button:hover, .news-button a:hover{
    color: #47763c;
    cursor: pointer;
}
.news-button a{
    text-decoration: none;
    color: #212121;
    width: 300px;
}


footer{
    width: 100%;
    height: 8vh;
    background: rgb(110, 140, 77);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
}
