/* ヒーローセクション */
.hero {
  background: var(--primary-gradient);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* 左右分割レイアウト */
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  padding-right: 1rem;
}

.hero__visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-left: 1rem;
}

.hero__image {
  width: 350px;
  height: 350px;
  max-width: 100%;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.hero__image:hover {
  transform: scale(1.05);
}

/* アニメーション効果 */
.hero__text > * {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease forwards;
}

.hero__text > *:nth-child(1) { animation-delay: 0.2s; }
.hero__text > *:nth-child(2) { animation-delay: 0.4s; }
.hero__text > *:nth-child(3) { animation-delay: 0.6s; }
.hero__text > *:nth-child(4) { animation-delay: 0.8s; }

.hero__image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* 要素スタイル */
.hero__badge {
  align-self: flex-start;
}

.hero__title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero__subtitle {
  font-size: 1.4rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero__cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.hero .badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
    min-height: auto;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero__text {
    text-align: center;
    align-items: center;
  }
  
  .hero__visual {
    order: -1; /* モバイルでは画像を上に */
  }
  
  .hero__image {
    width: 300px;
    height: 300px;
    max-width: 100%;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: 1.1rem;
  }
  
  .hero__badge {
    align-self: center;
  }
  
  .hero__cta {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0;
  }
  
  .hero__content {
    gap: 2rem;
  }
  
  .hero__image {
    width: 250px;
    height: 250px;
    max-width: 100%;
  }
  
  .hero__title {
    font-size: 1.8rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
}

/* プリント用 */
@media print {
  .hero {
    padding: 20px 0;
    background: none !important;
    color: #000 !important;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero__image {
    max-width: 200px;
  }
}