/* AMF 下層ページ（お知らせ等）共通スタイル */
html {
  scroll-behavior: smooth;
}

.gradient-text {
  background: linear-gradient(135deg, #7C6B8A 0%, #D4A853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-line {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #7C6B8A, #D4A853);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Fade-in */
.fade-up {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* News list row */
.news-row {
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.news-row:hover {
  background-color: rgba(124, 107, 138, 0.04);
}

.news-row:hover .news-arrow {
  transform: translateX(4px);
  color: #7C6B8A;
}

.news-arrow {
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Article body typography */
.article-body p {
  margin-bottom: 1.6em;
  line-height: 2;
}

.article-body h2 {
  font-weight: 900;
  font-size: 1.125rem;
  margin: 2.5em 0 1em;
  padding-left: 0.9em;
  border-left: 4px solid #7C6B8A;
  line-height: 1.6;
}

.article-body a {
  color: #7C6B8A;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: #5A4D64;
}

.article-body .notice {
  background: #F4F2EF;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 2em 0;
}

.article-body .notice p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
  }
}
