/* アニメーション強化用追加スタイル */

/* ヒーローセクションのアニメーション */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 30px;
  animation: fadeInScale 1.2s ease-out;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease-out 0.3s both;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* 浮遊する円形要素 */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 221, 0, 0.3);
  filter: blur(10px);
  z-index: 1;
  animation: float 15s infinite ease-in-out;
}

.floating-circle.yellow {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.floating-circle.blue {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  background: rgba(0, 102, 204, 0.2);
  animation-delay: 5s;
}

.floating-circle.small {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 20%;
  background: rgba(0, 170, 255, 0.2);
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) translateX(30px) rotate(180deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(360deg);
  }
}

/* テクノロジー感のある背景グリッド */
.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 102, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

/* にゅるっとしたアニメーション効果 */
.nyuru-animation {
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .nyuru-animation {
  transform: translateY(-10px) scale(1.05);
}

.keyword.nyuru-animation:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* スクロールアニメーション */
.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 理念・ビジョンセクションの強調 */
.philosophy-text {
  position: relative;
  display: inline-block;
}

.philosophy-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #FFDD00, #0066CC);
  border-radius: 3px;
}

/* ボタンのホバーエフェクト強化 */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover::before {
  left: 100%;
}
