/* 大会ページ・一覧・説明ページ用（scripts/build_seo_pages.mjs が /pages.css として出力） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc;
  color: #172033;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #c2410c;
  text-underline-offset: 2px;
}

a:focus-visible {
  border-radius: 2px;
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  background: #172033;
}

.site-head a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.brand {
  gap: 8px;
}

.head-link {
  font-size: 14px;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  color: #64748b;
  font-size: 12px;
}

.crumbs li + li::before {
  margin-right: 6px;
  content: "›";
}

h1 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.4;
}

h2 {
  margin: 32px 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.lead {
  margin: 0 0 16px;
  color: #334155;
}

.cta-wrap {
  margin: 16px 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #c2410c;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.25);
}

.cta::after {
  margin-left: 8px;
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.facts {
  margin: 0;
  border-top: 1px solid #e2e8f0;
}

.facts > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.facts dt {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.note {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.notes {
  margin: 0;
  padding-left: 1.2em;
  color: #334155;
  font-size: 15px;
}

.notes li + li {
  margin-top: 4px;
}

.example {
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff7ed;
  font-size: 15px;
}

.event-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2e8f0;
  list-style: none;
}

.event-list a {
  display: grid;
  grid-template-columns: 4.6em 1fr;
  align-items: center;
  gap: 0 8px;
  min-height: 48px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #172033;
  text-decoration: none;
}

.event-list .date {
  grid-row: span 2;
  color: #c2410c;
  font-size: 14px;
  font-weight: 800;
}

.event-list .date small {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.event-list .name {
  font-weight: 700;
  line-height: 1.45;
}

.event-list .pref {
  color: #64748b;
  font-size: 12px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #172033;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.chip-list span {
  color: #64748b;
  font-size: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 8px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.data-table th {
  color: #64748b;
  font-size: 13px;
}

.site-foot {
  padding: 20px 16px 32px;
  background: #172033;
  color: #cbd5e1;
  font-size: 13px;
}

.site-foot > * {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.site-foot a {
  color: #fdba74;
}

.site-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0;
  list-style: none;
}

.site-foot li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.beta strong {
  color: #fdba74;
}

@media (min-width: 640px) {
  h1 {
    font-size: 28px;
  }

  .cta {
    display: inline-flex;
    min-width: 360px;
  }
}
