.notice-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

.notice-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.notice-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 0.3rem 0;
  color: #333;
}

.notice-date {
  font-size: 0.85rem;
  color: #888;
}

.notice-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  white-space: pre-line;
  /* 改行反映 */
}

.notice-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.btn-back {
  align-self: flex-start;
  color: #007bff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  transition: opacity 0.2s;
}

.btn-back:hover {
  opacity: 0.7;
}

.notice-nav {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.notice-nav a {
  color: #007bff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.notice-nav a:hover {
  opacity: 0.7;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .notice-title {
    font-size: 1.2rem;
  }

  .notice-content {
    font-size: 0.95rem;
  }

  .notice-nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}