/* =========================================
   lower.css — 下層ページ共通スタイル
   ========================================= */

.lower-content {
  padding: 3rem 1rem 5rem;
}

/* --- news お知らせ --- */
.news-list {
  list-style: none;
  display: grid;
  gap: 2rem;
  padding: 4rem 1rem;
}
.news-detail {
  padding: 4rem 1rem;
}
.news-detail__title {
  margin-bottom: 4rem;
}
.news-detail__date {
  margin-bottom: 2rem;
  color: var(--color-darkgray);
}
.news-detail__body p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.news-back {
  max-width: 30rem;
  margin: 2rem auto;
}

/* --- rule 参加規約 --- */
.rule-lead {
  font-weight: bold;
  line-height: 1.9;
  margin-bottom: 2rem;
}
.rule-list {
  background: #f5f5f5;
  padding: 1.5rem 1.25rem;
  list-style: none;
  margin: 0;
}
@media (min-width: 801px) {
  .rule-list {
    padding: 2rem;
  }
}
.rule-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 0.4em;
  padding: 0.9rem 0;
  border-bottom: 1px solid #ddd;
  line-height: 1.9;
}
.rule-list > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rule-num {
  flex-shrink: 0;
  font-weight: bold;
  min-width: 2.5em;
}
.rule-list .child {
  list-style: none;
  padding: 0.5rem 0 0 2.5em;
  width: 100%;
  margin: 0;
}
.rule-list .child li {
  display: flex;
  align-items: flex-start;
  gap: 0 0.4em;
  padding: 0.4rem 0;
  line-height: 1.9;
}
.rule-list .child .rule-num {
  min-width: 2em;
}

/* --- overview 大会概要 --- */
.overview-section dl.wrapper {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}
.overview-section dl.wrapper.first {
  border-top: 1px solid #ddd;
}
.overview-section dt {
  width: 100%;
  flex-shrink: 0;
  font-weight: bold;
  padding-right: 1rem;
  line-height: 1.9;
}
.overview-section dd {
  flex: 1;
  margin: 0;
  line-height: 1.9;
}
.overview-section dd small {
  font-size: 0.85em;
  color: #555;
}
.overview-section dd h5 {
  font-weight: bold;
  margin: 0.9rem 0 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 1rem;
}
.overview-section dd h5 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85em;
  font-weight: bold;
  flex-shrink: 0;
}
.overview-section dd ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  line-height: 1.9;
}
@media (max-width: 800px) {
  .overview-section dt {
    width: 100%;
    padding-right: 0;
    margin-bottom: 0.2rem;
  }
}

/* 種目カラー */
.color-blue   { color: #1565c0; }
.color-green  { color: #2e7d32; }
.color-pink   { color: #c2185b; }
.color-orange { color: #e65100; }
