/* ベーススタイル */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* アニメーション */
.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Bootcampアイコンの点滅アニメーション */
@keyframes pulse {
  0% {
    opacity: 1;
    background-color: rgba(255, 107, 107, 0.8);
  }
  50% {
    opacity: 0.6;
    background-color: rgba(255, 107, 107, 0.5);
  }
  100% {
    opacity: 1;
    background-color: rgba(255, 107, 107, 0.8);
  }
}

@keyframes textPulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.bootcamp-icon {
  animation: pulse 2s infinite ease-in-out;
}

.bootcamp-label {
  animation: textPulse 2s infinite ease-in-out;
  z-index: 10;
}

/* FAQアコーディオン */
.faq-content {
  display: none;
}

.faq-content.show {
  display: block;
}

.faq-trigger.active .chevron-icon {
  transform: rotate(180deg);
}

/* フッターアコーディオン */
.footer-accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.minus-icon {
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  margin-top: -2px;
}

/* モバイル対応 */
@media screen and (max-width: 599.98px) {
  /* 固定CTAフッターのモバイル対応 */
  .fixed.bottom-0 {
    padding: 10px 0;
  }

  .fixed.bottom-0 .max-w-7xl {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .fixed.bottom-0 p {
    margin-bottom: 4px;
  }

  .fixed.bottom-0 a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* トランジション効果 */
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.translate-y-full {
  transform: translateY(100%);
}

.opacity-0 {
  opacity: 0;
}

/* ホバー効果 */
.hover\:bg-gray-50:hover {
  background-color: rgb(249 250 251);
}

.hover\:bg-gray-100:hover {
  background-color: rgb(243 244 246);
}

.hover\:bg-\[\#0077B6\]:hover {
  background-color: #0077b6;
}

.hover\:text-\[\#0077B6\]:hover {
  color: #0077b6;
}

.hover\:border-\[\#00B4D8\]:hover {
  border-color: #00b4d8;
}

/* 企業ロゴの流れるアニメーション */
.logo-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #1a1a1a;
}

.logo-marquee-content {
  display: inline-flex;
  animation: marquee-scroll 40s linear infinite;
  align-items: center;
  gap: 1.5rem;
  will-change: transform;
}

/* 完全な無限ループアニメーション */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  flex-shrink: 0;
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.logo-item img {
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .logo-marquee-content {
    gap: 1rem;
    animation-duration: 30s;
  }

  .logo-item {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    height: 50px;
  }

  .logo-item img {
    max-width: 100px;
    max-height: 30px;
  }
}
