
body {
  color: #333;
  line-height: 1.7;
  background-color: #FFFDE6;
}

/* リストのリセット */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================
   ニュース一覧
========================= */
.news-bg {
  padding-top: 5rem;
}

.news-margin {
  margin-bottom: 5rem;
  padding-top: 8rem;
}

#news-list {
  display: grid;
}

.news-item {
  display: flex;
  border-bottom: 1px solid #d8dde3;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 1.5rem 0rem;
}
.news-item:hover {
  background-color: #fff9cc; /* 薄い黄色 */
}
.news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 日付 */
.news-date {
  font-size: 1.5rem;
  color: #999;
  margin-bottom: 4px;
}

/* タイトル */
.news-title {
  font-size: clamp(1.8rem, 1.9vw, 2rem);
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
  text-decoration: none;
}


/* 本文1行 */
.news-excerpt {
  font-size: 0.9rem;
  color: #555;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* =========================
   ニュース詳細
========================= */
.news-card {
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  padding-bottom: 5rem;
  padding-top: 5rem;
  margin-bottom: 7rem;
}
.news-card-space {
  padding: 50px;
  margin-top: 7rem;
}

/* 詳細タイトル */
#news-detail h1 {
  font-size: clamp(2.5rem, 2.8vw + 1rem, 3.2rem);
  font-weight: bold;
  margin: 8px 0 50px;
  text-align: center;
    padding: 0 50px;

}

/* 詳細日付 */
#news-detail time {
  font-size: 1.85rem;
  color: #999;
  text-align: center;
  display: block;
}

/* 本文 */
#news-detail div {
  margin-top: 24px;
  padding: 0 50px;
  text-align: justify;
}

/* microCMSリッチエディタ対策 */
#news-detail p {
  margin-bottom: 1.2em;
}

#news-detail h2,
#news-detail h3 {
  margin-top: 2em;
  margin-bottom: 0.5em;
}

#news-detail img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.news-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 40px auto 0;
  max-width: 800px;
}

.news-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #0F94D4;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0.8rem 4rem;
  text-decoration: none;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.news-nav a:hover {
  background: #fff;
  color: #0F94D4;
  border-color: #0F94D4;
  outline: none;
}

.news-nav .center {
  margin: 0 auto;
}

/* =========================
   スマホ対応
========================= */

@media only screen and (max-width: 575px){
#news-detail div {
  padding: 0 20px;
}
#news-detail h1 {
  padding: 0 20px;
}
.news-item {
  display: block;
}
.news-card-space {
  padding: 29px;
  margin-top: 3rem;
}
}