/* ===== メインレイアウト ===== */
.article-layout {
  max-width: 1200px;
  margin: 60px auto 80px;
  padding: clamp(40px, 5vw, 100px);
  border: 1px solid #c7c7c7;
  box-sizing: border-box;
}

/* ===== 記事ヘッダー ===== */
.article-header { margin-bottom: 40px; }
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.article-header__date {
  font-size: 14px;
  color: #939393;
  font-family: "montserrat", sans-serif;
  font-weight: 400;
  flex-shrink: 0;
}
.article-header__tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  min-width: 72px;
}
.article-header__tag--info,  .news__tag--info  { background: #005eb8; }
.article-header__tag--event, .news__tag--event { background: #31caff; }
.article-header__tag--other, .news__tag--other { background: #005eb8; }
.article-header__title {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 700;
  color: #040001;
  line-height: 1.6;
  margin-bottom: 20px;
}
.article-header__line { border: none; border-top: 1px solid #999; margin: 0; }

/* ===== 記事本文 ===== */
.article-body { margin-bottom: 64px; }
.article-body__figure { margin: 0 0 40px; }
.article-body__img { width: 100%; height: auto; display: block; }
.article-body__text { display: flex; flex-direction: column; gap: 16px; }
.article-body__text p { font-size: clamp(15px, 1.1vw, 18px); line-height: 2; color: #000; }

/* ===== PREV / 一覧へ戻る / NEXT ===== */
.article-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid #e0e0e0;
}
.article-nav__prev,
.article-nav__next {
  font-size: 18px;
  font-weight: 400;
  color: #231816;
  font-family: "montserrat", sans-serif;
  text-decoration: none;
  transition: color 0.2s;
  min-width: 52px;
  text-align: center;
}
.article-nav__prev:hover, .article-nav__next:hover { color: #005eb8; text-decoration: underline; }
.article-nav__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #005eb8;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  padding: 12px 40px;
  min-width: 147px;
  transition: opacity 0.2s, transform 0.2s;
}
.article-nav__back:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .article-layout { margin: 32px 16px 48px; padding: 32px 24px; }
  .article-header { margin-bottom: 28px; }
  .article-body { margin-bottom: 48px; }
  .article-body__figure { margin-bottom: 28px; }
}
@media (max-width: 640px) {
  .article-nav__prev, .article-nav__next { font-size: 15px; }
  .article-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .article-nav__back { width: 100%; text-align: center; }
}
