*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #003087;
  --blue-mid: #0a4fa8;
  --blue-light: #e8f0fb;
  --red: #c8001e;
  --gold: #c8920a;
  --text: #1a1a1a;
  --muted: #666;
  --border: #e0e0e0;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
}

body {
  font-family: 'Meiryo', 'Meiryo UI', 'Yu Gothic UI', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
  padding: 18px 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.header-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.03em;
}

/* ===== HERO ===== */
.hero {
  color: #fff;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,30,80,0.88) 0%,
    rgba(0,30,80,0.75) 45%,
    rgba(0,20,60,0.30) 100%
  );
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px 64px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-year {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 6px;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 48px;
}

.hero-dates {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  max-width: 480px;
  background: rgba(255,255,255,0.05);
}

.hero-date {
  flex: 1;
  padding: 16px 18px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}
.hero-date:last-child { border-right: none; }

.hero-date-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.hero-date-value {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 600px) {
  .hero-inner, .container { padding-left: 24px; padding-right: 24px; }
  .site-header { padding: 16px 24px; }
}

/* ===== SECTION ===== */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }

.section-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section p {
  font-size: 15px;
  color: #444;
  margin-bottom: 14px;
  line-height: 1.9;
}

/* ===== INTRO / TRACK RECORD ===== */
.track-meta {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.track-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -1px;
}

.track-stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* ===== PURPOSE ===== */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 520px) {
  .purpose-grid { grid-template-columns: 1fr; }
}

.purpose-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.purpose-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.purpose-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--blue);
}

.purpose-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* ===== SUBMISSION SPECS ===== */
.spec-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.spec-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.spec-row:last-child { border-bottom: none; }

.spec-key {
  width: 130px;
  flex-shrink: 0;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  display: flex;
  align-items: center;
}

.spec-val {
  padding: 14px 18px;
  color: #333;
  line-height: 1.7;
  flex: 1;
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 540px) {
  .cat-grid { grid-template-columns: 1fr; }
}

.cat-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cat-head {
  padding: 20px 18px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.cat-card:nth-child(1) .cat-head { background: #fff8e8; }
.cat-card:nth-child(2) .cat-head { background: #fff0f0; }
.cat-card:nth-child(3) .cat-head { background: #eef3fb; }

.cat-age {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 3px;
}

.cat-card:nth-child(1) .cat-age { color: var(--gold); }
.cat-card:nth-child(2) .cat-age { color: var(--red); }
.cat-card:nth-child(3) .cat-age { color: var(--blue); }

.cat-grade { font-size: 11px; color: var(--muted); }

.cat-body {
  padding: 14px 18px;
  background: #fff;
}

.award-list {
  list-style: none;
  font-size: 13px;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 5px;
text-align:center;
}

/* ===== CRITERIA ===== */
.criteria-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.criteria-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.criteria-name {
  font-size: 16px;
  font-weight: 700;
  min-width: 60px;
}

.criteria-bar-wrap {
  flex: 1;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.criteria-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}

.c1 .criteria-bar { width: 40%; background: var(--gold); }
.c2 .criteria-bar { width: 30%; background: var(--blue-mid); }
.c3 .criteria-bar { width: 30%; background: var(--blue); }

.criteria-score {
  font-size: 20px;
  font-weight: 900;
  color: var(--blue);
  min-width: 48px;
  text-align: right;
}

/* ===== JUDGES ===== */
.judge-card {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.judge-head {
  background: var(--blue);
  color: #fff;
  padding: 18px 24px;
}

.judge-head h3 {
  font-size: 17px;
  font-weight: 900;
}

.judge-head p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.judge-body {
  padding: 20px 24px;
  font-size: 15px;
  color: #444;
  background: #fff;
}

/* ===== CEREMONY ===== */
.ceremony-box {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.ceremony-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.ceremony-row:last-child { border-bottom: none; }

.ceremony-key {
  width: 130px;
  flex-shrink: 0;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  display: flex;
  align-items: center;
}

.ceremony-val {
  padding: 13px 18px;
  color: #333;
  flex: 1;
}

/* ===== SCHEDULE ===== */
.timeline {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tl-item { position: relative; padding-left: 20px; }

.tl-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}

.tl-item.key::before {
  background: var(--blue);
}

.tl-date {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 2px;
}
.tl-item.key .tl-date { color: var(--blue); font-weight: 700; }

.tl-title { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.tl-body { font-size: 14px; color: #555; line-height: 1.7; }

/* ===== ORGANIZERS ===== */
.org-list {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.org-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.org-row:last-child { border-bottom: none; }

.org-role {
  width: 70px;
  flex-shrink: 0;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  text-align: center;
}

.org-name {
  padding: 14px 20px;
  color: #333;
}

/* ===== CONTACT ===== */
.contact-card {
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 28px;
}

.contact-org {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 4px;
}

.contact-rep {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.contact-address {
  font-size: 14px;
  color: #444;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.9;
}

/* ===== FOOTER ===== */
footer {
  background: var(--blue);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
}