/* --- 基本スタイル --- */
/*
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 20px;
  background-color: #f9f9f9;
}
*/

.news-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-title {
  font-size: 1.2rem;
  border-left: 4px solid #007bff;
  padding-left: 10px;
  margin-bottom: 15px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 12px 5px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-item:last-child {
  border-bottom: none;
}

.news-link {
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.news-link:hover {
  color: #007bff;
  text-decoration: underline;
}

.news-date {
  font-size: 0.85rem;
  color: #888;
  margin-right: 15px;
}

/* --- モーダルのスタイル --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh; /* 画面の高さ8割を上限に */
  overflow-y: auto; /* 内容が多い場合はスクロール */
  position: relative;
  border-radius: 8px;
}
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 2rem;
  cursor: pointer;
  border: none; background: none;
}
