:root {
  --bg-1: #eafcfb;
  --bg-2: #d8f4f6;
  --surface: #ffffff;
  --ink: #1f3a40;
  --ink-soft: #4c6a6f;
  --primary: #11a0c1;
  --primary-dark: #0c7f9c;
  --primary-light: #cdeef4;
  --terra: #7c9a5e;
  --terra-dark: #5f7a45;
  --terra-light: #e6edda;
  --line: rgba(31, 58, 64, 0.1);
  --shadow: 0 20px 50px -20px rgba(12, 127, 156, 0.35);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-1) 100%);
  overflow-x: hidden;
  line-height: 1.8;
}

h1, h2, h3, .btn, .badge, .nav-links a {
  font-family: "Jost", "Zen Kaku Gothic New", sans-serif;
}

.brand-text {
  font-family: -apple-system, "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
svg { display: block; }

/* Background blobs */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.blob-1 {
  width: 480px; height: 480px;
  top: -120px; left: -140px;
  background: var(--primary-light);
}
.blob-2 {
  width: 420px; height: 420px;
  top: 30%; right: -160px;
  background: var(--terra-light);
}
.blob-3 {
  width: 380px; height: 380px;
  bottom: -100px; left: 20%;
  background: var(--primary-light);
}

/* NAV */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 18px 16px 0;
}
.nav {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 12px 30px -14px rgba(12, 127, 156, 0.28);
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--primary-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 26px -12px rgba(12, 127, 156, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(12, 127, 156, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-light);
}
.btn-ghost:hover { background: var(--primary-light); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-xl { padding: 20px 44px; font-size: 1.15rem; }

/* HERO */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px 40px;
  text-align: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--primary-light);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.hero-title {
  margin: 0 0 28px;
  line-height: 1.05;
}
.hero-title span {
  display: block;
  font-weight: 700;
  font-size: clamp(2.3rem, 8vw, 5.6rem);
  letter-spacing: -0.01em;
}
.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
  text-stroke: 2px var(--primary);
}
.fill-text {
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.badge {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 150px;
}
.badge-label { font-size: 0.75rem; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.05em; }
.badge-value { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); }
.badge-value small { font-size: 0.7rem; font-weight: 600; margin-left: 4px; color: var(--ink-soft); }
.badge-accent { background: linear-gradient(135deg, #fff, var(--terra-light)); }
.badge-accent .badge-value { color: var(--terra-dark); }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-wave {
  max-width: 640px;
  margin: 0 auto;
  height: 44px;
  color: var(--primary);
  opacity: 0.55;
}
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  animation: wave-drift 7s ease-in-out infinite;
}
@keyframes wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-16px); }
}

/* SECTIONS */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}
.section-alt {
  max-width: none;
  background: rgba(255,255,255,0.5);
  border-radius: 0;
}
.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-eyebrow {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-top: 0;
  margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 20px;
}
.section-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: -8px;
  margin-bottom: 40px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}
.about-text p { margin: 0 0 20px; color: var(--ink-soft); }
.about-emphasis {
  color: var(--ink) !important;
  font-weight: 700;
  padding: 18px 22px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
}
.about-anniversary {
  font-weight: 700;
  color: var(--terra-dark) !important;
  font-size: 1.1rem;
}
.about-visual { display: flex; justify-content: center; }
.about-photo {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 8px solid #fff;
}

/* CASE */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.case-card { padding: 34px; }
.case-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.case-tag-aqua { background: var(--primary-light); color: var(--primary-dark); }
.case-tag-terra { background: var(--terra-light); color: var(--terra-dark); }
.case-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.case-desc { color: var(--ink-soft); margin: 0; }

/* CARDS / ENTRY */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.card-highlight {
  background: linear-gradient(160deg, #fff, var(--terra-light));
  border: 2px solid #d7e4c8;
}
.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
}
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px; height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c7f9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 9 17 20 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.deadline-big {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terra-dark);
  margin: 0 0 16px;
}
.deadline-big span { font-size: 1.2rem; margin: 0 4px; }
.deadline-big small { display: block; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; margin-top: 6px; }
.card-note { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

.entry-cta { display: flex; justify-content: center; margin-top: 48px; }

/* TIMELINE */
.timeline {
  margin: 48px auto 0;
  max-width: 720px;
  position: relative;
  padding-left: 36px;
  border-left: 3px dashed var(--primary-light);
}
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -47px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-1);
  box-shadow: 0 0 0 2px var(--primary-light);
}
.timeline-item-accent .timeline-dot { background: var(--terra-dark); box-shadow: 0 0 0 2px var(--terra-light); }
.timeline-date { font-weight: 700; color: var(--primary-dark); margin: 0 0 4px; }
.timeline-item-accent .timeline-date { color: var(--terra-dark); }
.timeline-date small { font-weight: 600; color: var(--ink-soft); margin-left: 6px; }
.timeline-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.timeline-desc { color: var(--ink-soft); margin: 0; }

/* BENEFIT */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.benefit-card { text-align: center; padding: 32px 24px; }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-icon-aqua { background: var(--primary-light); color: var(--primary-dark); }
.benefit-icon-terra { background: var(--terra-light); color: var(--terra-dark); }
.benefit-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.gallery-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* VENUE */
.venue-card {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.venue-name { font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; color: var(--primary-dark); }
.venue-date { font-weight: 700; color: var(--terra-dark); margin: 0 0 18px; }
.venue-desc { color: var(--ink-soft); margin: 0 0 20px; }
.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-dark);
}
.venue-map-link svg { width: 18px; height: 18px; }
.venue-map-link:hover { color: var(--primary); }
.venue-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 260px;
}
.venue-map-embed {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

/* JUDGE */
.judge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.judge-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.judge-tbd { opacity: 0.75; border: 2px dashed var(--primary-light); box-shadow: none; }
.judge-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.judge-avatar svg { width: 30px; height: 30px; }
.judge-name { font-weight: 700; margin: 0 0 4px; }
.judge-role { color: var(--ink-soft); font-size: 0.85rem; margin: 0; }

/* PARTNER */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.partner-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.partner-card-tbd { opacity: 0.75; border: 2px dashed var(--primary-light); box-shadow: none; }
.partner-role { color: var(--primary); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; margin: 0 0 8px; }
.partner-name { font-size: 1.2rem; font-weight: 700; margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); margin: 14px 0 0; }

/* FINAL CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 80px 24px;
  color: #fff;
  margin-bottom: 60px;
}
.final-cta-eyebrow { font-weight: 700; opacity: 0.85; margin: 0 0 12px; }
.final-cta-title { font-size: clamp(1.5rem, 3.6vw, 2.4rem); font-weight: 700; margin: 0 0 14px; }
.final-cta-sub { opacity: 0.9; margin: 0 0 36px; }

/* FOOTER */
.footer {
  padding: 40px 24px 30px;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-soft); }
.footer-sns { display: flex; gap: 14px; color: var(--ink-soft); }
.footer-sns a { display: flex; }
.footer-sns svg { width: 20px; height: 20px; transition: color 0.2s ease; }
.footer-sns a:hover { color: var(--primary-dark); }
.footer-copy { text-align: center; color: var(--ink-soft); font-size: 0.8rem; margin: 0; }

.sp-only { display: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid, .venue-card { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .judge-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .sp-only { display: inline; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: var(--surface);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    display: none;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .partner-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
