@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* リセットとベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1e293b;
}

/* カスタムアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* アニメーションクラス */
.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

.slide-down {
  animation: slideDown 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

.slide-up-delayed {
  animation: slideUp 0.8s ease-out 0.2s both;
}

.slide-up-more-delayed {
  animation: slideUp 0.8s ease-out 0.4s both;
}

.slide-up-most-delayed {
  animation: slideUp 0.8s ease-out 0.6s both;
}

.slide-up-final {
  animation: slideUp 0.8s ease-out 0.8s both;
}

.scale-in {
  animation: scaleIn 1s ease-out 0.3s both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatDelayed 8s ease-in-out infinite 2s;
}

.animate-float-slow {
  animation: floatSlow 10s ease-in-out infinite 4s;
}

/* ヘッダーのスタイル */
header {
  transition: all 0.3s ease;
}

header .container {
  height: 5rem;
  max-width: 1366px;
}

/* ナビゲーションのホバーエフェクト */
nav a {
  position: relative;
  overflow: hidden;
}

nav a .group-hover\:w-full {
  transition: width 0.3s ease;
}

/* ヒーローセクションのスタイル */
#main-visual {
  position: relative;
  overflow: hidden;
}

#main-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.8) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(240, 249, 255, 0.8) 100%);
  z-index: 1;
}

#main-visual .container {
  position: relative;
  z-index: 2;
}

/* インタビューセクションのスタイル */
.interview-item {
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}

.interview-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.interview-item:hover {
  transform: translateY(-5px);
}

.interview-item .bg-gradient-to-r,
.interview-item .bg-gradient-to-l {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* スケジュールセクションのスタイル */
.schedule-card {
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}

.schedule-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.schedule-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* スタッフカードのスタイル */
.staff-card {
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}

.staff-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.staff-card:hover {
  transform: translateY(-8px);
}

/* グラデーションテキスト */
.bg-clip-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* カスタムボタンスタイル */
.btn-primary {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
}

/* スクロールボタンのスタイル */
#scroll-button {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

#scroll-button:hover {
  background: rgba(2, 132, 199, 0.9) !important;
  transform: scale(1.1);
}

/* ホバーエフェクト */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* トランジション */
.transition-all {
  transition: all 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.transition-opacity {
  transition: opacity 0.3s ease;
}

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

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

/* グループホバーエフェクト */
.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .text-5xl {
    font-size: 2.5rem;
  }

  .text-6xl {
    font-size: 3rem;
  }

  .text-7xl {
    font-size: 3.5rem;
  }

  .schedule-card:hover {
    transform: translateY(-5px) scale(1.01);
  }

  .staff-card:hover {
    transform: translateY(-4px);
  }
}

/* スムーズなスクロール */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* フォーカス状態 */
button:focus,
a:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0369a1;
}

/* ローディング状態 */
.loaded .fade-in-up {
  animation: fadeInUp 1s ease-out;
}

/* 背景装飾要素 */
.bg-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.1;
  pointer-events: none;
}