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

:root {
  --bg: #edf5ee;
  --bg-soft: #f8fbf7;
  --text: #183d2b;
  --text-soft: #58796d;
  --text-muted: #718b79;
  --line: #ccdcd1;
  --primary: #1e6b45;
  --primary-dark: #153f2b;
  --primary-light: #d8f2e5;
  --accent: #e8b43d;
  --accent-soft: #fff7dd;
  --danger: #b95543;
  --shadow: 0 12px 30px rgba(35, 83, 59, 0.08);
  --max-width: 1180px;
}

body {
  font-family: "Segoe UI", "Yu Gothic", "Meiryo", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.site-header {
  background: linear-gradient(135deg, var(--primary-dark), #244f35);
  color: white;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 15px;
  letter-spacing: 1px;
}

.brand-text {
  font-size: 18px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav-link {
  opacity: 0.95;
}

.nav-link:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: all 180ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #f7c664;
}

.btn-ghost {
  border-color: white;
  color: white;
  background: transparent;
}

.btn-ghost:hover {
  background: white;
  color: var(--primary-dark);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-large {
  padding: 14px 28px;
}

.btn-block {
  width: 100%;
}

.hero {
  background-image:
    linear-gradient(rgba(22, 70, 41, 0.74), rgba(22, 70, 41, 0.82)),
    url('./assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 56px;
  align-items: center;
  padding: 90px 0 78px;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
}

.lead {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.55;
  max-width: 670px;
  color: rgba(255,255,255,0.90);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  margin-top: 70px;
  display: flex;
  gap: 58px;
}

.hero-stats article {
  border-left: 2px solid rgba(255,255,255,0.35);
  padding-left: 12px;
}

.stat-number {
  display: block;
  font-size: 34px;
  font-weight: 800;
}

.stat-label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.date-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,251,245,0.94));
  border-radius: 26px;
  padding: 34px;
  color: var(--text);
  min-width: 300px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.45);
}

.date-title {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
}

.event-date {
  margin-top: 20px;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.1;
}

.event-place {
  margin-top: 10px;
  font-weight: 900;
  color: var(--primary);
}

.section {
  padding: 82px 0;
}

.section-head.centered {
  text-align: center;
  padding-bottom: 30px;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-copy {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-soft);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.overview {
  background: var(--bg-soft);
}

.check-list {
  margin-top: 26px;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

.overview-panel {
  display: grid;
  gap: 16px;
}

.info-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
}

.info-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
}

.info-card h3 {
  font-size: 20px;
}

.info-card p {
  color: var(--text-soft);
}

.competition {
  background: #eef7ef;
}

.competition-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
}

.competition-card {
  background: white;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.competition-card.highlight {
  background: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
}

.competition-card.highlight p {
  color: rgba(255,255,255,0.88);
}

.competition-card h3 {
  margin-top: 14px;
  font-size: 24px;
}

.competition-card p {
  margin-top: 12px;
  color: var(--text-soft);
}

.step-tag {
  display: inline-flex;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 900;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
}

.rules-panel {
  margin-top: 40px;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.rules-panel h3 {
  font-size: 26px;
}

.rules-list {
  margin-top: 16px;
  list-style: disc;
  padding-left: 24px;
  color: var(--text-soft);
}

.badge-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
}

.orientation {
  background: linear-gradient(180deg, #f9fbfb, #eef6ed);
}

.orientation-grid {
  align-items: stretch;
}

.timeline {
  margin-top: 28px;
}

.timeline article {
  display: flex;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.timeline article:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline h3 {
  font-size: 22px;
}

.timeline p {
  color: var(--text-soft);
}

.orientation-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

.announcement-list {
  margin: 22px 0 30px;
  display: grid;
  gap: 18px;
}

.announcement-list article {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 14px;
}

.announcement-title {
  display: block;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.announcement-text {
  display: block;
  margin-top: 6px;
}

.lastyear {
  background: linear-gradient(180deg, #eef8ef, #fffdf6);
  max-width: var(--max-width);
  margin: 40px auto 0;
}

.quicko-video-panel {
  background: linear-gradient(180deg, #eef8ef, #fffdf6);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 64px);
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.2fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.quicko-copy {
  color: var(--text);
}

.quicko-copy h2 {
  margin-top: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--primary-dark);
}

.quicko-copy-text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-soft);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #102d21;
  border: 8px solid var(--primary-dark);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: white;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-item p {
  padding: 16px 10px 10px;
  color: var(--text-soft);
}

.photo-frame {
  aspect-ratio: 4 / 3;   /* 写真の枠を同じ縦横比にする */
  overflow: hidden;      /* はみ出し防止 */
  border-radius: 14px;
  background: #ddd;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 画像を枠に合わせて切り抜き */
}

.photo-label {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  color: white;
  background: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

.results {
  background: var(--bg-soft);
}

.result-table-wrapper {
  margin-top: 34px;
  overflow-x: auto;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 20px;
  overflow: hidden;
}

.result-table th {
  background: var(--primary-dark);
  color: white;
  padding: 16px;
  text-align: left;
}

.result-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.rank {
  font-weight: 900;
}

.rank-gold {
  color: #b08818;
}

.rank-silver {
  color: #777b84;
}

.rank-bronze {
  color: #984b25;
}

.site-footer {
  background: #102d21;
  color: #b9d4c4;
  padding: 34px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-footer {
  font-weight: 900;
  color: white;
}

.footer-content p {
  font-size: 13px;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 880px) {
  .nav-wrapper {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-grid,
  .section-grid,
  .competition-grid,
  .quicko-video-panel {
    grid-template-columns: 1fr;
  }

  .quicko-video-panel {
    padding: 24px;
    gap: 24px;
  }

  .quicko-copy h2 {
    font-size: 34px;
  }

  .quicko-copy-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .video-frame {
    border-width: 5px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-stats {
    margin-top: 38px;
    justify-content: space-between;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .rules-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

.quicko-video-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 0;
  background: transparent;
}