/* ヒーローセクション */
.hero {
  background: linear-gradient(
      135deg,
      rgba(0, 159, 232, 0.7) 0%,
      rgba(0, 120, 193, 0.8) 100%
    ),
    url("https://images.unsplash.com/photo-1677442136019-21780ecad995?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.4) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.4) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.3) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 60% 70%,
      rgba(0, 159, 232, 0.2) 0%,
      transparent 70%
    );
  opacity: 0.9;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.4"/><circle cx="5" cy="5" r="0.5" fill="white" opacity="0.3"/><circle cx="15" cy="15" r="0.8" fill="white" opacity="0.35"/><circle cx="8" cy="12" r="0.3" fill="%23009FE8" opacity="0.6"/><circle cx="12" cy="8" r="0.4" fill="%23009FE8" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="particles" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="none" stroke="white" stroke-width="0.5" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="10" cy="10" r="1" fill="%23009FE8" opacity="0.4"><animate attributeName="opacity" values="0.4;0.9;0.4" dur="2s" repeatCount="indefinite"/></circle></pattern></defs><rect width="200" height="200" fill="url(%23particles)"/></svg>');
  opacity: 0.6;
  animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-5px) rotate(0.5deg) scale(1.02);
  }
  50% {
    transform: translateY(-10px) rotate(1deg) scale(1.05);
  }
  75% {
    transform: translateY(-5px) rotate(0.5deg) scale(1.02);
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
  0%,
  100% {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8),
      0 0 60px rgba(0, 159, 232, 0.6);
  }
}

.brand-name {
  background: linear-gradient(45deg, #ffffff, #e6f7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.hero-logo {
  padding-top: 2rem;
  text-align: center;
}

.hero-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.hero-logo img:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 10px 25px rgba(0, 159, 232, 0.2));
  transition: all 0.3s ease;
}

.header-wrapper {
  height: 100vh;
  background-color: #f8f9fa;
}
