/* --- Base Styles --- */
:root {
  --primary-red: #e60012;
  --accent-yellow: #ffce00;
  --dark-gray: #333333;
  --light-bg: #f8f8f8;
  --white: #ffffff;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: url("./images/bg.jpg") center/cover fixed no-repeat;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 999;
  animation: introFadeOut 0.5s ease-out 1.2s forwards;
}

.intro-inner {
  padding: 24px;
}

.intro-label {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.intro-main {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.5;
}

.intro-main span {
  display: inline-block;
  margin-left: 0.25em;
  color: var(--accent-yellow);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary-red);
}

.badge {
  background: #fff1f1;
  color: var(--primary-red);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* --- Hero Section --- */
.hero {
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.55);
}

.hero-title-small {
  font-size: 0.6em;
  font-weight: 700;
  color: #ffffff;
}

.hero-phrase {
  white-space: nowrap;
  color: #ffffff;
}

.hero-highlight {
  color: var(--accent-yellow);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.hero-date {
  display: block;
  margin-top: 4px;
  text-align: center;
}

.hero-date-img {
  width: 60%;
  max-width: 260px;
  height: auto;
  display: inline-block;
}

.supporter-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

/* --- Concept --- */
.section-padding {
  padding: 80px 0;
}

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

.concept-title {
  color: var(--primary-red);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8),
    0 0 6px rgba(0, 0, 0, 0.35);
}

.concept-text {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7),
    0 0 4px rgba(0, 0, 0, 0.3);
}

/* --- Categories --- */
.bg-gray {
  background-color: transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 8px solid var(--primary-red);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
}

/* --- Supporter Message --- */
.supporter-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.supporter-img {
  width: 180px;
  height: 180px;
  background: #ddd;
  border-radius: 50%;
  border: 4px solid var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-bubble {
  background: #fffbeb;
  padding: 30px;
  border-radius: 20px;
  flex: 1;
  min-width: 300px;
  position: relative;
}

.message-bubble::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #fffbeb;
}

/* --- CTA --- */
.cta-btn {
  display: inline-block;
  background: var(--primary-red);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
  padding: 20px 50px;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 20px rgba(230, 0, 18, 0.3);
  margin-top: 30px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(230, 0, 18, 0.4);
  background: #c50010;
}

.cta-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: normal;
  margin-top: 5px;
  opacity: 0.9;
}

/* --- Footer --- */
footer {
  background: transparent;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
}

.fixed-abare {
  position: fixed;
  left: 0;
  bottom: -20px;
  width: 30vw;
  max-width: 380px;
  height: auto;
  pointer-events: none;
  z-index: 100;
}

.fixed-abare.hidden {
  opacity: 0;
}

@media (max-width: 768px) {
  .fixed-abare {
    width: 60vw;
    max-width: 300px;
    bottom: -10px;
  }
}

@keyframes introFadeOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes heroEnergy {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  .message-bubble::before {
    display: none;
  }

  .hero {
    padding: 32px 10px 28px;
  }

  .hero-phrase {
    font-size: 0.9em;
  }

  .section-padding {
    padding: 12px 0 12px;
  }

  .concept-title {
    font-size: 1.3rem;
  }

  .concept-text {
    font-size: 1rem;
  }

  .supporter-flex {
    gap: 16px;
  }

  .supporter-img {
    width: 120px;
    height: 120px;
  }

  .card {
    padding: 14px 14px;
  }

  .cta-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  footer {
    padding: 20px 10px;
  }

  .fixed-abare {
    width: 45vw;
    max-width: 320px;
    bottom: -10px;
  }
}