* {
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.top-img img {
  width: 100%;
  text-align: center
}

/* 新着ニュースセクション全体 */
.news-container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.news-container h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

/* ニュースリスト */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各ニュース項目 */
.news-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.news-item:hover {
    background-color: #f9f9f9;
}

/* 日付 */
.news-date {
    width: 130px;
    color: #555;
    font-size: 0.9em;
}

/* タイトル */
.news-title {
    flex-grow: 1; /* 残りのスペースをすべて使う */
    font-weight: bold;
}

.news-title a {
    text-decoration: none;
    color: #337ab7;
}

.news-title a:hover {
    text-decoration: underline;
}

/* 備考 */
.news-remarks {
    width: 220px;
    font-size: 0.85em;
    color: #777;
    text-align: right;
    padding-left: 20px;
}



/* --- スマートフォン用の設定 --- */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column; /* 縦並びに変更 */
        align-items: flex-start; /* 左揃えに変更 */
    }

    .news-date {
        width: 100%;
        font-size: 0.8em;
        margin-bottom: 8px;
    }

    .news-title {
        width: 100%;
        margin-bottom: 8px;
    }

    .news-remarks {
        width: 100%;
        text-align: left;
        padding-left: 0;
        font-size: 0.8em;
        color: #555;
    }

    .news-remarks a {
      text-decoration: none;
      color: #555
      
    }

}

/* 新着ニュースセクション全体 */
.news-container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.news-container h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各ニュース項目 */
.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* 日付 */
.news-date {
    width: 140px;
    font-size: 1em;
    color: #333;
    padding-right: 20px;
    margin: 0;
}

/* タイトルと説明 */
.news-content {
    flex-grow: 1;
    margin: 0;
}

.news-title {
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 0 5px 0;
}

.news-description {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

/* 詳細ボタン */
.news-button {
    width: 150px;
    text-align: right;
    padding-left: 20px;
}

.news-button a {
    display: inline-block;
    background-color: white;
    color: #555;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em;
    transition: all 0.3s;
    white-space: nowrap;
}

.news-button a:hover {
    background-color: #f5f5f5;
    color: #000;
}

/* --- スマートフォン用の設定 --- */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 10px;
    }

    .news-date {
        width: 100%;
        font-size: 0.9em;
        margin-bottom: 10px;
        color: #555;
    }

    .news-content {
        width: 100%;
        margin-bottom: 15px;
    }

    .news-button {
        width: 100%;
        text-align: center;
    }
    
    .news-button a {
        display: block;
        width: 80%;
        margin: 0 auto;
        padding: 12px;
        background-color: #f0f0f0;
    }
}























































#menu-switch {
    display: none;
  }
  
  .menu-button {
    position: fixed; 
    top: 15px;
    left: 15px;
    font-size: 25px; 
    cursor: pointer;
    z-index: 2; 
  }
  
  .menu-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px; 
    height: 100%;
    background-color: #333;
    color: white;
    transform: translateX(-100%);
    transition: transform 0.3s;
    opacity: 0.95;
  }
  
  #menu-switch:checked ~ .menu-nav {
    transform: translateX(0); 
  }
  
  .menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 60px 0 0 0; 
  }
  
  .menu-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
    color: white;
    text-decoration: none;
  }
  
  .menu-nav a:hover {
    background: #555;
  }

  #menu-switch:checked + .menu-button {
   color: white;
  }

  