.home-hero {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  /* border-radius removed - sharp corners like Figma */
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.32), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(58, 191, 142, 0.28), transparent 60%),
    var(--color-navy);
  color: #fff;
}

/* Particles Container */
.particles-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Individual Particle */
.particle {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: particleFloat var(--duration, 12s) var(--delay, 0s) infinite ease-in-out;
}

.particle--blur-sm {
  filter: blur(4px);
}

.particle--blur-md {
  filter: blur(8px);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  30% {
    opacity: 0.6;
    transform: translate(calc(var(--move-x, 0) * 0.6), -18px) scale(0.9);
  }
  50% {
    opacity: 0.8;
    transform: translate(var(--move-x, 0), -30px) scale(1.2);
  }
  55% {
    opacity: 0;
    transform: translate(var(--move-x, 0), -30px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 34, 56, 0) 0%, rgba(26, 34, 56, 0.95) 100%);
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  display: grid;
  gap: 1.5rem;
}

.home-hero__badge {
  justify-self: center;
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  background: rgba(58, 191, 142, 0.9);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  margin-top: -0.5rem;
}

@media (min-width: 768px) {
  .home-hero h1 {
    font-size: 3.75rem;
  }
}

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.home-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-weight: 500;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.home-section {
  padding: 5rem 0 3rem;
}

.important-grid {
  display: grid;
  gap: 1.75rem;
}

.important-card {
  background: #fff;
  border-radius: 1.25rem;
  border-top: 5px solid var(--color-navy);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.important-card:nth-child(2) {
  border-top-color: var(--color-primary);
}

.important-card:nth-child(3) {
  border-top-color: var(--color-accent);
}

.important-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.important-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.important-card__label {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.important-card__value {
  font-weight: 600;
  color: var(--color-navy);
}

.home-timeline {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(0, 123, 255, 0.18);
}

/* Sponsors Section */
.sponsors {
  padding: 4rem 1.5rem;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 3rem auto 0;
  max-width: 24rem;
  justify-items: center;
}

.sponsor-item {
  margin: 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(26, 34, 56, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.sponsor-item img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.sponsor-item figcaption {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
  text-align: center;
}

/* Supporters Section */
.supporters {
  padding: 4rem 1.5rem;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin: 3rem auto 0;
  max-width: 72rem;
  align-items: stretch;
}

.supporter-item {
  margin: 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(26, 34, 56, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.supporter-item img {
  max-width: 100%;
  width: 100%;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.supporter-item figcaption {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.supporter-item--text-only {
  justify-content: center;
}

.supporter-item--text-only figcaption {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
}

@media (min-width: 768px) {
  .supporters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.final-cta {
  background: transparent; /* 紺色の背景を削除 */
  color: #fff;
  padding: 5rem 1.5rem; /* 上下対称に */
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* 境界線を追加 */
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0 0 1.5rem; /* 上マージン0に */
}

.final-cta p {
  margin: 0 auto 2rem;
  max-width: 38rem;
}

.final-cta .btn {
  margin-bottom: 0;
}

/* Center section heading */
.section-heading--centered {
  text-align: center;
}

.section-heading--centered .section-heading__divider {
  margin-left: auto;
  margin-right: auto;
}

.section-heading--centered p {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .important-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .home-timeline {
    grid-column: 2; /* 中央のカラム（2列目）に配置 */
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 3rem 1.5rem 4rem; /* モバイルでも上部を調整 */
  }
  .final-cta {
    padding: 4rem 1.5rem; /* モバイルでも上下対称に */
  }
}
