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

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

.hero-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background-color: rgba(255, 235, 59, 0.8);
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
  filter: blur(0.5px);
  will-change: transform;
}

@keyframes float1 {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  25% {
    transform: translateY(-50px) translateX(20px) scale(1.05);
  }
  50% {
    transform: translateY(-30px) translateX(40px) scale(0.95);
  }
  75% {
    transform: translateY(40px) translateX(-15px) scale(1.03);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

@keyframes float2 {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  33% {
    transform: translateY(-60px) translateX(-30px) scale(1.08);
  }
  66% {
    transform: translateY(50px) translateX(-20px) scale(0.92);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

@keyframes float3 {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  20% {
    transform: translateY(45px) translateX(30px) scale(1.04);
  }
  40% {
    transform: translateY(-35px) translateX(50px) scale(0.96);
  }
  60% {
    transform: translateY(-55px) translateX(10px) scale(1.06);
  }
  80% {
    transform: translateY(35px) translateX(-30px) scale(0.94);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

/* 円形アニメーション関連のスタイルを完全に無効化 */
.hero-animation,
.circle-animation,
.animated-circle,
.ceo-circle,
.greeting-circle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* テクノロジー風の背景要素を削除 */

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out, glow 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #555;
  font-size: 0.9rem;
  animation: fadeIn 1s ease-out 1s both, bounce 2s ease-in-out infinite;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  margin-top: 10px;
}

/* アニメーションキーフレーム */
@keyframes particleMove {
  0% {
    background-position: 0 0, 25px 25px;
  }
  100% {
    background-position: 1000px 1000px, 1025px 1025px;
  }
}

@keyframes gridMove {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(30px) translateX(30px);
  }
}

@keyframes circuitMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

@keyframes dataFlow {
  0% {
    width: 0;
    transform: translateX(-50%);
  }
  50% {
    width: 50%;
    opacity: 0.6;
  }
  100% {
    width: 0;
    transform: translateX(150%);
    opacity: 0;
  }
}

@keyframes pulseOverlay {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* テクノロジー風アニメーションを削除し、シンプルな浮遊アニメーションのみ残す */

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 235, 59, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 235, 59, 0.5), 0 0 30px rgba(33, 150, 243, 0.3);
  }
}

/* 理念・ビジョンセクションのスタイル強化 */
.philosophy-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-main, .philosophy-vision {
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out;
}

.philosophy-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 20px 0;
  color: #333;
  position: relative;
  display: inline-block;
}

.philosophy-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #ffeb3b;
  animation: expandWidth 1s ease-out forwards;
}

.philosophy-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  animation: fadeIn 1s ease-out 0.3s both;
}

.philosophy-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.keyword {
  background-color: #ffeb3b;
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.keyword:nth-child(1) {
  animation-delay: 0.1s;
}

.keyword:nth-child(2) {
  animation-delay: 0.3s;
}

.keyword:nth-child(3) {
  animation-delay: 0.5s;
}

.keyword:nth-child(4) {
  animation-delay: 0.7s;
}

.keyword:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
  background-color: #2196f3;
  color: white;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

/* 代表挨拶セクションのスタイル */
.ceo-greeting {
  margin-top: 60px;
  background-color: #f5f7fa;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1s ease-out;
}

.greeting-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.greeting-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #ffeb3b;
}

.greeting-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

.greeting-content p {
  margin-bottom: 15px;
}

.greeting-signature {
  text-align: center;
  font-weight: 600;
  margin-top: 20px;
  color: #333;
}

/* CEOの写真スタイル */
.ceo-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 5px solid white;
  animation: fadeIn 1s ease-out, float 6s ease-in-out infinite;
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サービスカードのアニメーション強化 */
.service-card {
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.3s;
}

.service-card:nth-child(3) {
  animation-delay: 0.5s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  animation: none;
  transform: scale(1);
}

/* アニメーション無効化 */
@keyframes pulse {
  0%, 50%, 100% {
    transform: scale(1);
  }
}
