@charset "UTF-8";

/* ベース全体 */
.notice-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 130px 20px 40px 20px; /* ← 上に余白を追加、下は従来通り */
  font-family: 'Yu Gothic', 'Segoe UI', sans-serif;
}

/* ページタイトル */
.notice-container h1 {
  font-size: 2em;
  color: #2c3e50;
  border-bottom: 3px solid #3366cc;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* 各カテゴリブロック */
.notice-block {
  margin-bottom: 40px;
}

/* カテゴリ見出し */
.notice-block h2 {
  font-size: 1.2em;
  color: #3366cc;
  margin-bottom: 10px;
  border-left: 5px solid #3366cc;
  padding-left: 10px;
}

/* お知らせ一覧 */
.notice-block ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

/* 各項目 */
.notice-block ul li {
  margin: 8px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}

.notice-block ul li a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1rem;
  transition: color 0.2s;
}

.notice-block ul li a:hover {
  color: #3366cc;
  text-decoration: underline;
}

.return-button {
  margin-top: 40px;
  text-align: left;
}

.return-button a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.return-button a:hover {
  background-color: #333;
  color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .notice-container {
    padding: 0 15px;
  }

  .notice-container h1 {
    font-size: 1.5em;
  }

  .notice-block h2 {
    font-size: 1.1em;
  }

  .notice-block ul li a {
    font-size: 0.95rem;
  }
}