/* ========================================
   税育フェス レセプション 2026
   Design System Based Stylesheet
   Based on rakuzei.net design
   ======================================== */

/* ========================================
   CSS Custom Properties (from design-system.json)
   ======================================== */
:root {
  /* Colors - Primary */
  --color-primary: #337ab7;
  --color-primary-dark: #2a6496;
  --color-primary-light: #4a8bc2;

  /* Colors - Accent */
  --color-accent-yellow: #f4f105;
  --color-accent-lime: #c1ff72;
  --color-accent-red: #ff5757;

  /* Colors - Neutral */
  --color-black: #000000;
  --color-dark-gray: #313131;
  --color-gray: #32373c;
  --color-light-gray: #dddddd;
  --color-pale-gray: #eeeeee;
  --color-white: #ffffff;

  /* Colors - Background */
  --bg-primary: #ffffff;
  --bg-secondary: #eeeeee;
  --bg-tertiary: #dddddd;
  --bg-dark: #32373c;

  /* Colors - Text */
  --text-primary: #000000;
  --text-secondary: #313131;
  --text-inverse: #ffffff;
  --text-muted: #666666;

  /* Typography - Font Family */
  --font-primary: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Typography - Font Size */
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 36px;
  --text-4xl: 42px;

  /* Typography - Font Weight */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Typography - Line Height */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  --leading-loose: 2;

  /* Spacing */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 30px;
  --space-8: 40px;
  --space-9: 50px;
  --space-10: 60px;
  --space-11: 80px;
  --space-12: 100px;

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-none: none;
  --shadow-sm: 2px 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --shadow-lg: 12px 12px 24px rgba(0, 0, 0, 0.3);
  --shadow-xl: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --shadow-sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --ease: ease;
  --ease-in-out: ease-in-out;

  /* Layout */
  --max-width-narrow: 680px;
  --max-width-content: 980px;
  --max-width-wide: 1200px;
}

/* ========================================
   Utility Classes
   ======================================== */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
    line-height: var(--leading-tight);
  }
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  padding-top: 64px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mobile-br {
  display: none;
}

.pc-br {
  display: inline;
}

@media (max-width: 480px) {
  .mobile-br {
    display: inline;
  }

  .pc-br {
    display: none;
  }
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

strong {
  font-weight: var(--weight-semibold);
}

small {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.667em 1.333em;
  font-size: 1.125em;
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: #800000;
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: #600000;
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--text-inverse);
}

.btn-accent {
  background: var(--color-accent-yellow);
  color: var(--text-primary);
}

.btn-accent:hover {
  background: #d9d604;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gray {
  background: #800000;
  color: var(--text-inverse);
}

.btn-gray:hover {
  background: #600000;
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.text-link {
  color: var(--color-primary);
  font-weight: var(--weight-medium);
}

.text-link:hover {
  text-decoration: underline;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-7);
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .early-discount {
    font-size: 0.7em;
  }
}

.tax-included {
  font-size: 0.7em;
}

/* ========================================
   Hero Section
   ======================================== */
#hero {
  width: 100%;
  padding: 0;
}

#hero .hero-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Days Section
   ======================================== */
#days {
  width: 100%;
}

#days .days-img {
  width: 100%;
  height: auto;
}

/* ========================================
   Section Base Styles
   ======================================== */
section {
  padding: var(--space-11) var(--space-6);
}

section:nth-child(even) {
  background-color: var(--bg-secondary);
}

section h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

section ul,
section ol {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding-left: var(--space-6);
}

section li {
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
}

section p {
  max-width: var(--max-width-narrow);
  margin: 0 auto var(--space-4);
  text-align: center;
}

/* ========================================
   Key Info Section
   ======================================== */
#key-info {
  background-color: #fff;
  text-align: center;
}

#key-info h2 {
  color: #000;
}

@media (max-width: 768px) {
  #key-info {
    background-image: none;
    background-color: #ffffff;
  }
}

.key-info-container {
  max-width: var(--max-width-content);
  margin: 0 auto var(--space-8);
}

.info-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 900px;
  margin: 0 auto;
}

.info-card.wide {
  grid-column: span 3;
}

.note-left {
  display: block;
  text-align: left;
}

.info-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-inverse);
}

.info-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.info-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-bold);
}

.info-value strong {
  color: var(--color-primary);
  font-size: var(--text-lg);
}

.info-value small {
  display: block;
  margin-top: var(--space-1);
}

/* PC版: 開催概要セクションの文字サイズ1.5倍 */
@media (min-width: 481px) {
  .info-cards-row {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }

  .info-label {
    font-size: var(--text-lg); /* 13px → 20px */
  }

  .info-value {
    font-size: var(--text-xl); /* 16px → 24px */
  }

  .info-value strong {
    font-size: var(--text-2xl); /* 20px → 30px */
  }

  .info-value small {
    font-size: var(--text-lg); /* 13px → 20px */
  }
}

/* ========================================
   About Section
   ======================================== */
#about {
  background-image: url('wb04.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 1076px;
  padding: 7.2em 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about h2 {
  color: var(--text-primary);
}

#about .about-text {
  max-width: var(--max-width-narrow);
  margin: 3.6em auto 0;
  text-align: center;
  line-height: var(--leading-loose);
  color: var(--text-secondary);
}

/* ========================================
   Story Section
   ======================================== */
#story {
  background-image: url('arr.png');
  background-size: cover;
  background-position: center calc(50% - 50px);
  background-repeat: no-repeat;
}

#story h2 {
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
}

#story li {
  border: 2px solid var(--text-primary);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  list-style: none;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

#story ul {
  padding-left: 0;
}

/* ========================================
   Participants Section
   ======================================== */
#participants {
  background-image: url('bg_g3_02.png');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 0;
  padding-bottom: 0;
  aspect-ratio: 2000 / 1076;
}

.participants-images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-6);
  margin-top: 0;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.participants-images img {
  flex: 1;
  max-width: 33%;
  height: auto;
  filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.3));
}

/* ========================================
   Benefits Section
   ======================================== */
#benefits {
  background-image: url('arr.png');
  background-size: cover;
  background-position: center calc(50% - 50px);
  background-repeat: no-repeat;
}

#benefits h2 {
  text-decoration: underline;
  text-decoration-color: #143567;
  text-underline-offset: var(--space-2);
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  max-width: var(--max-width-wide);
  margin: 0 auto var(--space-8);
}

.benefit-row-reverse {
  flex-direction: row-reverse;
}

.benefit-group {
  flex: 1;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.benefit-img {
  flex: 0 0 auto;
  width: 380px;
  height: auto;
  border-radius: var(--radius-lg);
}

.benefit-group h3 {
  text-align: center;
  color: var(--text-primary);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid #143567;
  margin-bottom: var(--space-4);
}

.benefit-group ul {
  padding-left: var(--space-6);
}

.benefit-text {
  font-size: var(--text-xl);
  text-align: center;
}

/* ========================================
   Program Section
   ======================================== */
#program {
  background-image: url('016.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 0;
  aspect-ratio: 2000 / 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#program h2,
#program li,
#program p {
  color: var(--text-inverse);
}

#program ul {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

#program li {
  margin-bottom: var(--space-3);
}

/* ========================================
   Venue Section
   ======================================== */
#venue {
  background-color: #ffffff;
  background-image: none;
}

#venue h2 {
  text-decoration: underline;
  text-decoration-color: #143567;
  text-underline-offset: var(--space-2);
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  max-width: 700px;
  margin: 0 auto;
}

.venue-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
  border-top: 4px solid #143567;
  display: flex;
  flex-direction: column;
}

.venue-card .note-left {
  margin-top: auto;
}

.venue-card h3 {
  text-align: center;
  color: #143567;
  margin-bottom: var(--space-5);
}

.venue-schedule {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.venue-date {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-4);
  background: #f5f7fa;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.date-label {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: #143567;
  min-width: 100px;
}

.date-label small {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-muted);
}

.date-location {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-secondary);
}

.venue-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.venue-pricing {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: #f5f7fa;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.price-label {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
}

.price-value {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: #143567;
  text-align: right;
}

.price-value small {
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
}

.venue-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .date-location {
    font-size: var(--text-sm);
  }
}

/* ========================================
   Capacity Section
   ======================================== */
#capacity {
  text-align: center;
}

.highlight {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* ========================================
   Sponsorship Section
   ======================================== */
#sponsorship {
  background: url('015.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 2000 / 862;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sponsorship-btn {
  margin-bottom: 5%;
  font-size: 1.625em;
  padding: 1.04em 3.25em;
  background: #ffffff;
  color: #04192a;
}

.sponsorship-btn:hover {
  background: #e8e8e8;
  color: #04192a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#sponsorship h2 {
  color: var(--text-inverse);
}

#sponsorship h3 {
  color: var(--color-accent-yellow);
  text-align: center;
  margin-top: var(--space-8);
}

#sponsorship p {
  color: rgba(255, 255, 255, 0.85);
}

#sponsorship ul {
  list-style: none;
  padding: 0;
}

#sponsorship li {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
  color: var(--text-inverse);
  text-align: center;
  border-left: 4px solid var(--color-accent-yellow);
}

/* ========================================
   Crowdfunding Section
   ======================================== */
#crowdfunding {
  text-align: center;
  background-color: #ffffff;
  background-image: url('arr.png');
  background-size: cover;
  background-position: center calc(50% - 90px);
  background-repeat: no-repeat;
}

#crowdfunding h2 {
  text-decoration: underline;
  text-decoration-color: #143567;
  text-underline-offset: var(--space-2);
}

#crowdfunding .highlight {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
}

.cf-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cf-container {
    flex-direction: row;
    align-items: stretch;
  }
}

.cf-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: var(--weight-bold);
}

@media (min-width: 768px) {
  .cf-box {
    flex: 1;
    margin: 0;
  }
}

.cf-result-img {
  width: 100%;
  max-width: 500px;
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
}

.cf-box .btn-secondary {
  margin-top: 20px;
}

/* ========================================
   Tax Accountants Section
   ======================================== */
.tax-accountant-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
  min-height: 80px;
  border: 3px dashed var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Flow Section
   ======================================== */
#flow {
  text-align: center;
}

#flow h2 {
  text-decoration: underline;
  text-underline-offset: var(--space-2);
}

#flow ol {
  list-style: none;
  counter-reset: flow-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  max-width: var(--max-width-content);
  padding: 0;
}

#flow li {
  counter-increment: flow-counter;
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
  position: relative;
}

#flow li::before {
  content: counter(flow-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--text-inverse);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  border-radius: 50%;
  margin: 0 auto var(--space-4);
}

/* ========================================
   Questions Section
   ======================================== */
#questions {
  text-align: center;
}

#questions h2 {
  text-decoration: underline;
  text-underline-offset: var(--space-2);
}

#questions dl {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

#questions dt {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  padding: var(--space-4);
  padding-right: var(--space-8);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

#questions dt:hover {
  background: var(--bg-secondary);
}

#questions dt::before {
  content: 'Q. ';
  color: var(--color-primary);
  font-weight: var(--weight-bold);
}

#questions dt::after {
  content: '+';
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-xl);
  color: var(--color-primary);
  transition: transform 0.2s;
}

#questions dt.active {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

#questions dt.active::after {
  content: '−';
}

#questions dd {
  padding: 0 var(--space-4);
  max-height: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  color: var(--text-secondary);
  border-left: 4px solid var(--color-light-gray);
  transition: max-height 0.3s, padding 0.3s;
}

#questions dd.show {
  padding: var(--space-4);
  max-height: 200px;
}

#questions dd::before {
  content: 'A. ';
  color: var(--text-muted);
  font-weight: var(--weight-semibold);
}

/* ========================================
   Contact Section
   ======================================== */
#contact {
  text-align: center;
}

#contact h2 {
  text-decoration: underline;
  text-underline-offset: var(--space-2);
}

/* ========================================
   Final CTA Section
   ======================================== */
#final-cta {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  background-image: url('wbg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#final-cta h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
  text-decoration: underline;
  text-underline-offset: var(--space-2);
}

/* ========================================
   Header
   ======================================== */
#site-header {
  background: #ffffff;
  padding: var(--space-4) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-logo {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: var(--space-3);
}

.header-btn {
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  transition: all 0.2s;
}

.header-btn:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   Footer
   ======================================== */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

footer .footer-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  text-decoration: underline;
}

footer .footer-link:hover {
  color: #ffffff;
}

footer p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  width: 100%;
}

/* ========================================
   Privacy Policy Page
   ======================================== */
section.privacy-policy {
  max-width: 800px;
  margin: 100px auto 0;
  padding: var(--space-11) var(--space-6);
  text-align: left;
}

.privacy-policy h1 {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-8);
  text-align: center;
}

.privacy-policy h2 {
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.privacy-policy p {
  text-align: left;
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.privacy-policy ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.privacy-policy ul li {
  line-height: 1.8;
  margin-bottom: var(--space-2);
}

/* Legal Notice Table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e0e0e0;
  padding: var(--space-4);
  line-height: 1.8;
  vertical-align: top;
}

.legal-table td {
  background: #ffffff;
}

.legal-table th {
  background: #0b4577;
  color: #ffffff;
  font-weight: var(--weight-bold);
  white-space: nowrap;
  width: 200px;
}

@media (max-width: 480px) {
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: none;
  }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  section {
    padding: var(--space-10) var(--space-4);
  }

  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-lg);
  }

  .info-cards-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .highlight {
    font-size: var(--text-xl);
  }

  #about {
    height: auto;
    min-height: 600px;
    padding: var(--space-8) var(--space-4);
    background-size: cover;
  }

  #program {
    aspect-ratio: auto;
    background-size: cover;
    padding: var(--space-10) var(--space-4);
  }

  #about .about-text {
    margin-top: var(--space-6);
  }

  #final-cta h2 {
    font-size: var(--text-2xl);
  }

  #story h2 {
    font-size: var(--text-xl);
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--space-8) var(--space-4);
  }

  body {
    padding-top: 46px;
  }

  #hero {
    padding: 0 !important;
    margin: 0;
    height: 550px;
    overflow: hidden;
    background-image: url('104.png');
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
  }

  #hero picture {
    display: none;
  }

  .info-cards-row {
    grid-template-columns: 1fr;
  }

  .info-card.wide {
    grid-column: span 1;
  }

  #participants {
    background-image: url('008.png');
    background-size: 100% 100%;
    background-position: center top;
    padding: 0;
    margin: 0;
    aspect-ratio: 1000 / 4419;
  }

  #program {
    background-image: url('106.png');
    background-size: 100% 100%;
    background-position: center top;
    padding: 0;
    margin: 0;
    aspect-ratio: 914 / 3780;
  }

  #sponsorship {
    background-image: url('107.png');
    background-size: 100% 100%;
    background-position: center top;
    padding: 0;
    margin: 0;
    aspect-ratio: 1000 / 1734;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  #benefits {
    background-size: contain;
    background-position: center top;
    background-color: #ffffff;
  }

  h2 {
    font-size: var(--text-xl);
  }

  #site-header {
    padding: var(--space-2) var(--space-3);
  }

  .header-logo {
    height: 30px;
  }

  .header-nav {
    gap: var(--space-1);
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .header-nav.active {
    display: flex;
  }

  .header-btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    text-align: center;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .header-btn:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .benefit-row {
    flex-direction: column;
    text-align: center;
  }

  .benefit-row .benefit-img {
    order: -1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .benefit-group ul {
    text-align: left;
  }

  #venue {
    background-position: center calc(50% - 100px);
  }

  #flow ol {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    gap: var(--space-3);
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }

  .sponsorship-btn {
    font-size: 1.1375em;
    margin-bottom: calc(5% + 70px);
  }

  .venue-card .note-left {
    font-size: 0.7em;
    margin-top: 10px;
  }
}
