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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: linear-gradient(to bottom right, rgba(220, 38, 38, 0.1), rgba(22, 163, 74, 0.1), rgba(5, 150, 105, 0.1));
}

.page-container {
  min-height: 100vh;
}

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

@media(min-width: 960px) {
  .sp {
    display: block;
  }
}

#snowflakes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  color: white;
  opacity: 0.7;
  user-select: none;
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2RjMjYyNiIgc3Ryb2tlLXdpZHRoPSIwLjUiIG9wYWNpdHk9IjAuMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==');
  opacity: 0.3;
}

.hero-decoration {
  position: absolute;
  font-size: 4rem;
  opacity: 0.5;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-decoration.tree-left {
  top: 2.5rem;
  left: 2.5rem;
}

.hero-decoration.tree-right {
  top: 5rem;
  right: 5rem;
  animation-delay: 1s;
}

.hero-decoration.star-left {
  bottom: 5rem;
  left: 5rem;
  font-size: 3rem;
  animation: bounce 1s infinite;
  animation-delay: 0.5s;
}

.hero-decoration.star-right {
  bottom: 8rem;
  right: 8rem;
  font-size: 3rem;
  animation: bounce 1s infinite;
  animation-delay: 1.5s;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25%);
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  text-align: center;
  max-width: 1536px;
  margin-top: 50vw;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #ef4444, #16a34a);
  color: white;
  border-radius: 9999px;
  border: 2px solid white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  animation: bounce 1s infinite;
}

.hero-badge-text {
  font-weight: 700;
  font-size: 1rem;
}

.sparkle-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.banner-container {
  margin-bottom: 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 8px solid white;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s;
}

.banner-container:hover {
  transform: scale(1.05);
}

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


.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #dc2626, #16a34a, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

@media (min-width: 960px) {
  .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #dc2626, #16a34a, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-date {
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 3vw;
}

.hero-date p {
  font-size: 1.125rem;
  font-weight: 600;
}

.calendar-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #dc2626;
}

.hero-description {
  color: #374151;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.625;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #dc2626, #16a34a);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.btn-secondary {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #374151;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 2px solid #fecaca;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.chevron-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.btn-primary:hover .chevron-icon {
  transform: translateY(0.25rem);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}

.scroll-indicator svg {
  color: #dc2626;
}

.about-section {
  padding: 5rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.decoration-tree-1 {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 3rem;
  opacity: 0.2;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.decoration-gift-1 {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  font-size: 3rem;
  opacity: 0.2;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #dc2626, #16a34a, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title-dark {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

@media (min-width: 768px) {
  .section-title-dark {
    font-size: 3rem;
  }
}

.section-subtitle {
  color: #4b5563;
  font-size: 1.125rem;
}

.about-content {
  max-width: 56rem;
  margin: 0 auto;
  background: linear-gradient(to bottom right, #fef2f2, #f0fdf4, #ecfdf5);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 2px solid #fecaca;
}

@media (min-width: 768px) {
  .about-content {
    padding: 3rem;
  }
}

.about-text {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
  line-height: 1.625;
}

.text-red {
  font-weight: 700;
  color: #dc2626;
}

.text-green {
  font-weight: 700;
  color: #16a34a;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
  padding: 1rem;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.dot-emerald {
  background: #10b981;
}

.dot-teal {
  background: #14b8a6;
}

.dot-cyan {
  background: #06b6d4;
}

.feature-item p {
  color: #374151;
}

.target-box {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.target-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.target-title .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #059669;
}

.target-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #374151;
}

.target-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #059669;
  flex-shrink: 0;
}

.target-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}

.departments-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #f9fafb, white);
}

.departments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .departments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.department-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s;
}

.department-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-0.5rem);
}

.card-emerald:hover {
  border-color: #6ee7b7;
}

.card-teal:hover {
  border-color: #5eead4;
}

.card-pink:hover {
  border-color: #fda4af;
}

.department-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.department-card:hover .department-icon {
  transform: scale(1.1);
}

.icon-emerald {
  background: linear-gradient(to bottom right, #10b981, #14b8a6);
  color: white;
}

.icon-teal {
  background: linear-gradient(to bottom right, #14b8a6, #06b6d4);
  color: white;
}

.icon-pink {
  background: linear-gradient(to right, #10b981, #14b8a6);
  color: white;
}

.department-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.department-tagline {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.card-emerald .department-tagline {
  color: #059669;
}

.card-teal .department-tagline {
  color: #0d9488;
}

.card-pink .department-tagline {
  color: #db2777;
}

.department-recommend {
  margin-bottom: 1.5rem;
}

.recommend-title {
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.star-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.card-emerald .star-icon {
  color: #10b981;
}

.card-teal .star-icon {
  color: #14b8a6;
}

.card-pink .star-icon {
 color: #14b8a6;
}

.recommend-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.recommend-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.recommend-list li::before {
  content: '✓';
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.card-emerald .recommend-list li::before {
  color: #10b981;
}

.card-teal .recommend-list li::before {
  color: #14b8a6;
}

.card-pink .recommend-list li::before {
  color: #14b8a6;
}

.department-rewards {
  border-radius: 0.75rem;
  padding: 1rem;
}

.card-emerald .department-rewards {
  background: linear-gradient(to bottom right, #d1fae5, #ccfbf1);
}

.card-teal .department-rewards {
  background: linear-gradient(to bottom right, #ccfbf1, #cffafe);
}

.card-pink .department-rewards {
  background: linear-gradient(to bottom right, #fce7f3, #ffe4e6);
}

.rewards-title {
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trophy-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.card-emerald .trophy-icon {
  color: #059669;
}

.card-teal .trophy-icon {
  color: #0d9488;
}

.card-pink .trophy-icon {
  color: #db2777;
}

.rewards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.rewards-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rank-badge {
  width: 3.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  color: white;
  font-size: 0.75rem;
}

.rank-badge.gold {
  background: #fbbf24;
}

.rank-badge.silver {
  background: #d1d5db;
}

.schedule-section {
  padding: 5rem 0;
  background: white;
}

.schedule-timeline {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  height: 480px;
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 0.25rem;
  background: linear-gradient(to bottom, #10b981, #14b8a6, #06b6d4);
  display: none;
  z-index: -999;
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
  }
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.timeline-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  color: white;
}

.icon-blue {
  background: linear-gradient(to bottom right, #3b82f6, #6366f1);
}

.timeline-content {
  flex: 1;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(1) .timeline-content {
  background: linear-gradient(to bottom right, #d1fae5, #ccfbf1);
}

.timeline-item:nth-child(2) .timeline-content {
  background: linear-gradient(to bottom right, #ccfbf1, #cffafe);
}

.timeline-item:nth-child(3) .timeline-content {
  background: linear-gradient(to bottom right, #cffafe, #dbeafe);
}

.timeline-item:nth-child(4) .timeline-content {
  background: linear-gradient(to bottom right, #dbeafe, #e0e7ff);
}

.timeline-item:nth-child(5) .timeline-content {
  background: linear-gradient(to bottom right, #fce7f3, #ffe4e6);
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.timeline-content p {
  color: #374151;
  font-weight: 600;
}

.participate-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #fef2f2, #f0fdf4, #ecfdf5);
}

.steps-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: box-shadow 0.3s;
}

.step-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.875rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-card:nth-child(1) .step-number {
  background: linear-gradient(to bottom right, #10b981, #14b8a6);
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(to bottom right, #14b8a6, #06b6d4);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(to bottom right, #06b6d4, #3b82f6);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.step-description {
  color: #4b5563;
  line-height: 1.625;
}

.faq-section {
  padding: 5rem 0;
  background: white;
}

.faq-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid;
}

.faq-emerald {
  background: linear-gradient(to bottom right, #d1fae5, #ccfbf1);
  border-color: #6ee7b7;
}

.faq-teal {
  background: linear-gradient(to bottom right, #ccfbf1, #cffafe);
  border-color: #5eead4;
}

.faq-cyan {
  background: linear-gradient(to bottom right, #cffafe, #dbeafe);
  border-color: #67e8f9;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1f2937;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-q {
  flex-shrink: 0;
}

.faq-emerald .faq-q {
  color: #059669;
}

.faq-teal .faq-q {
  color: #0d9488;
}

.faq-cyan .faq-q {
  color: #0891b2;
}

.faq-answer {
  color: #374151;
  margin-left: 2.25rem;
  line-height: 1.625;
}

.cta-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #dc2626, #16a34a, #059669);
  color: white;
  overflow: hidden;
}

.cta-decoration {
  position: absolute;
  font-size: 4rem;
  opacity: 0.3;
}

.cta-decoration.tree-1 {
  top: 2.5rem;
  left: 2.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cta-decoration.tree-2 {
  top: 5rem;
  right: 5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

.cta-decoration.gift-1 {
  bottom: 2.5rem;
  left: 5rem;
  font-size: 3rem;
  animation: bounce 1s infinite;
}

.cta-decoration.star-1 {
  bottom: 5rem;
  right: 8rem;
  font-size: 3rem;
  animation: bounce 1s infinite;
  animation-delay: 0.5s;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-santa {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-message {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .cta-message {
    padding: 3rem;
  }
}

.cta-text-large {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .cta-text-large {
    font-size: 1.5rem;
  }
}

.cta-text-small {
  font-size: 1.125rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  background: white;
  color: #dc2626;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-btn-primary:hover {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.cta-btn-secondary:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.message-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.footer {
  background: linear-gradient(to bottom right, #111827, #7f1d1d, #14532d);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer-decoration {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
}

.footer-decoration.tree-left {
  top: 1.25rem;
  left: 2.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-decoration.tree-right {
  top: 1.25rem;
  right: 2.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

.footer-decoration.star-left {
  bottom: 1.25rem;
  left: 25%;
  font-size: 1.5rem;
}

.footer-decoration.star-right {
  bottom: 1.25rem;
  right: 25%;
  font-size: 1.5rem;
}

.footer-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-title p {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-emoji {
  font-size: 1.5rem;
}

.footer-company {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.footer-message {
  font-size: 0.75rem;
  color: #6b7280;
}

.logo_img img {
  width: 30vw;
}

@media (min-width: 906px) {
  .logo_img img {
    width: 10vw;
  }
}

.rankings-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #fef2f2, #f0fdf4, #ecfdf5);
  position: relative;
  overflow: hidden;
}

.rankings-decoration-1 {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 4rem;
  opacity: 0.2;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.rankings-decoration-2 {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  font-size: 4rem;
  opacity: 0.2;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

.rankings-subtitle {
  color: #4b5563;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.trending-icon {
  color: #16a34a;
}

.department-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.department-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: white;
  color: #374151;
}

.department-tab:hover {
  transform: scale(1.05);
}

.department-tab.active {
  color: white;
  transform: scale(1.1);
}

.department-tab.active.emerald-tab {
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.department-tab.active.teal-tab {
  background: linear-gradient(to right, #14b8a6, #06b6d4);
}

.department-tab.active.pink-tab {
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.rankings-container {
  max-width: 56rem;
  margin: 0 auto;
}

.loading-spinner {
  text-align: center;
  padding: 3rem;
}

.spinner {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 0.5rem solid #fecaca;
  border-top-color: #dc2626;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-spinner p {
  margin-top: 1rem;
  color: #4b5563;
}

.rankings-content {
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 2px solid white;
}

.rankings-content.emerald-bg {
  background: linear-gradient(to bottom right, #d1fae5, #ccfbf1);
}

.rankings-content.teal-bg {
  background: linear-gradient(to bottom right, #ccfbf1, #cffafe);
}

.rankings-content.pink-bg {
  background: linear-gradient(to bottom right, #fce7f3, #ffe4e6);
}

.rankings-content .department-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
  text-align: center;
}

.no-participants {
  text-align: center;
  padding: 3rem;
}

.no-participants-main {
  color: #4b5563;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.no-participants-sub {
  color: #6b7280;
}

.no-data,
.error-message {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.error-message {
  color: #dc2626;
}

.error-detail {
  color: #6b7280;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ranking-item {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.ranking-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ranking-item.top-three {
  border: 2px solid #fbbf24;
}

.ranking-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rank-badge {
  flex-shrink: 0;
}

.rank-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.rank-icon.trophy-icon {
  color: #eab308;
}

.rank-icon.medal-icon {
  color: #9ca3af;
}

.rank-icon.award-icon {
  color: #b45309;
}

.rank-number {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #4b5563;
}

.participant-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.participant-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.participant-avatar-placeholder {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, #34d399, #2dd4bf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.participant-details {
  flex: 1;
}

.participant-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.participant-platform {
  font-size: 0.875rem;
  color: #6b7280;
}

.score-display {
  text-align: right;
  flex-shrink: 0;
}

.score-value {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
}

.score-value.emerald-gradient {
  background: linear-gradient(to right, #10b981, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.score-value.teal-gradient {
  background: linear-gradient(to right, #14b8a6, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.score-value.pink-gradient {
  background: linear-gradient(to right, #10b981, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.score-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.encouragement {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.encouragement p {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 600;
}

.rankings-note {
  margin-top: 3rem;
  text-align: center;
}

.rankings-note p {
  color: #4b5563;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .ranking-content {
    flex-direction: column;
    text-align: center;
  }

  .participant-info {
    flex-direction: column;
  }

  .score-display {
    text-align: center;
  }
}


/* タブ */
.department-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.department-tab {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  background: #f3f4f6;
  color: #374151;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.department-tab.active {
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pink-tab.active {
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.teal-tab.active {
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
}

.emerald-tab.active {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

/* パネル表示切り替え */
.rankings-panel {
  display: none;
}

.rankings-panel.active {
  display: block;
}

/* ランキングブロックの見た目 */
.ranking-block {
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.ranking-block+.ranking-block {
  margin-top: 1.5rem;
}

.ranking-block-pink {
  border: 1px solid rgba(244, 114, 182, 0.4);
}

.ranking-block-teal {
  border: 1px solid rgba(45, 212, 191, 0.4);
}

.ranking-block-emerald {
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.ranking-title {
  font-size: 1.1rem;
  font-weight: 700;
  justify-content: center;

  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ランキング1行の見た目 */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ranking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
}

.ranking-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rank-num {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f97316;
  /* 1位/2位/3位のラベル色 */
  min-width: 2.5rem;
}

.rank-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
}

/* スコア（BC）表示 */
.ranking-score {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-feature-settings: "pnum" on, "lnum" on;
}

.point-value {
  font-weight: 700;
  font-size: 1rem;
}

.point-unit {
  font-size: 0.8rem;
  color: #6b7280;
}

.top {
  position: relative;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(220, 38, 38, 0.1), rgba(22, 163, 74, 0.1), rgba(5, 150, 105, 0.1));
}

.max_img {
  position: relative;
  height: 100%;
}

.max_img img {
  object-fit: cover;
  width: 100%;
  height: 0ve;
}

.pc img {
  display: none;
}

@media (min-width: 960px) {
  .pc img {
    display: block;
  }

  .sp img {
    display: none;
  }

  .max_img img {
    object-fit: cover;
    width: 100%;
  }

  .character_img2 img {
    position: absolute;
    bottom: -37vw;
    right: 1vw;
    width: 30%;
  }
}

.character_img1 img {
  position: absolute;
  bottom: 55vw;
  right: 2vw;
  width: 50%;
  object-fit: contain;
  z-index: -999;
}

@media (min-width: 960px) {
  .character_img1 img {
    position: absolute;
    bottom: -15vw;
    right: 11vw;
    width: 50%;
    object-fit: contain;
    z-index: -999;
  }
}

.character_img2 img {
  position: absolute;
  bottom: -59vw;
  right: 5vw;
  width: 45%;
}

.character_two img {
  position: absolute;
  top: 170vw;
  left: 11vw;
  width: 50vw;
}

@media (min-width: 960px) {
  .character_img2 img {
    position: absolute;
    bottom: -39vw;
    right: -2vw;
    width: 40%;
  }

  .character_two img {
    position: absolute;
    top: 44vw;
    left: 1vw;
    width: 40vw;
  }
}

.character_tree img {
  position: absolute;
  top: 13vw;
  left: -17vw;
  width: 40vw;
  transform: rotateZ(45deg);
}

.character_four img {
  position: absolute;
  top: -2vw;
  right: -41vw;
  width: 64vw;
  transform: rotateZ(-50deg);
}

@media (min-width: 960px) {
  .character_tree img {
    position: absolute;
    top: -11vw;
    left: -28vw;
    width: 30vw;
    transform: rotateZ(57deg);
  }

  .character_four img {
    position: absolute;
        top: -10vw;
        right: -31vw;
        width: 37vw;
        transform: rotateZ(-50deg);
  }
}


/* ==== セクションの区切りをなくす用（背景統一） ==== */

/* ページ全体のグラデは page-container に任せて、
   中のセクション背景は透明にしてつなげる */
.about-section,
.rankings-section,
.departments-section,
.schedule-section,
.participate-section,
.faq-section {
  background: transparent;
}

/* 余白だけはキープして、詰まりすぎないように */
.about-section,
.rankings-section,
.departments-section,
.schedule-section,
.participate-section,
.faq-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

/* ==== スクロールフェードイン共通スタイル ==== */

.fade-target {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* 画面内に入ったら発火 */
.fade-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ちょっとだけディレイをつけて、カードが順番に出る感じに */
.fade-stagger>.fade-target {
  transition-delay: 0.08s;
}

.fade-stagger>.fade-target:nth-child(2) {
  transition-delay: 0.16s;
}

.fade-stagger>.fade-target:nth-child(3) {
  transition-delay: 0.24s;
}

.fade-stagger>.fade-target:nth-child(4) {
  transition-delay: 0.32s;
}


/* ==== イベントカウントダウン ==== */

.hero-countdown {
  margin: 1.5rem 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 7.4rem;
  border-radius: 999px;
  background: rgb(0 161 7);
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
}

.countdown-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.2rem;
}

.count-number {
  font-weight: 700;
  font-size: 1.1rem;
}

.count-unit {
  font-size: 0.7rem;
  opacity: 0.8;
}

.countdown-note {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* スマホで窮屈なら少し小さく */
@media (max-width: 640px) {
  .hero-countdown {
    padding: 0.6rem 1.1rem;
  }

  .count-number {
    font-size: 1rem;
  }
}


.ranking-text p {
  text-align: center;
}

.ranking-in {
  background : #fff3c6;
}