/* ==========================
   1. ベース / リセット
========================== */
body {
  letter-spacing: 0.2em;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #1a3a6e;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #ffcc99;
}

/* スクロールアニメーション */
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   3. レイアウト（大枠）
========================== */
main {
  max-width: 1200px;
  margin: 80px auto;
  background-color: #fff;
  border-top: 5px solid #1a3a6e;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(26, 58, 110, 0.2);
  padding: 50px 60px;
  transition: transform .3s, box-shadow .3s;
}

/* ==========================
   4. ページ固有
========================== */
/* ページヒーロー */
.page-hero {
  background-color: #ffffff;
  padding: 110px 50px 20px;
  text-align: center;
  border-bottom: 5px solid #1a3a6e;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  letter-spacing: 0.1em;
  margin: 0;
  color: #000000;
  text-transform: uppercase;
  opacity: 0;
  animation: slide-in-from-top 1s ease-out forwards;
}

/* ニュース詳細 */
.news-date {
  color: #1a3a6e;
  font-weight: 600;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.8em;
  color: #000;
  margin-bottom: 30px;
  border-left: 5px solid #1a3a6e;
  padding-left: 15px;
}

.news-content p {
  line-height: 1.9;
  margin-bottom: 20px;
  color: #333;
}

.news-image {
  text-align: center;
  margin: 40px 0;
}

.news-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(26, 58, 110, 0.2);
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: #1a3a6e;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #1a3a6e;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

.back-link:hover {
  background-color: #1a3a6e;
  color: #fff;
}

/* ==========================
   6. レスポンシブ
========================== */
@media (max-width: 768px) {

  /* ヒーロー */
  .page-hero {
    padding: 120px 16px 32px;
    border-bottom-width: 3px;
  }

  .page-hero h1 {
    font-size: 2.1em;
    letter-spacing: 0.06em;
  }

  /* メインコンテンツ */
  main {
    margin: 24px 12px;
    padding: 28px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(26, 58, 110, 0.15);
  }

  /* 日付 */
  .news-date {
    font-size: 0.85em;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
  }

  /* タイトル */
  .news-title {
    font-size: 1.35em;
    line-height: 1.6;
    padding-left: 12px;
    border-left-width: 4px;
    margin-bottom: 24px;
  }

  /* 本文 */
  .news-content p {
    font-size: 0.95em;
    line-height: 1.9;
    margin-bottom: 18px;
  }

  /* 画像（将来用） */
  .news-image {
    margin: 24px 0;
  }

  /* 戻るリンク */
  .news-back-link {
    display: block;
    margin: 32px auto 0;
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    color: #1a3a6e;
    border: 2px solid #1a3a6e;
    padding: 12px 16px;
    border-radius: 999px;
    transition: background-color 0.3s, color 0.3s;
  }

  .news-back-link:hover {
    background-color: #1a3a6e;
    color: #fff;
  }

}