/* 飲食求人広場 - カスタムスタイル */

/* 高級洋食レストラン - カスタム変数 */
:root {
  --primary-color: #8B4513;      /* 上品な茶色 - ステーキやウッドの質感 */
  --secondary-color: #D4AF37;    /* エレガントなゴールド - 高級感 */
  --accent-color: #2F2F2F;       /* 深いチャコール - 洗練された黒 */
  --light-color: #F5F5DC;        /* ベージュ - 温かみのあるクリーム色 */
  --luxury-gold: #FFD700;        /* 純粋なゴールド - 特別なアクセント */
  --deep-brown: #654321;         /* 深い茶色 - レザーの質感 */
  --warm-beige: #F7F3E9;         /* 温かいベージュ - 背景色 */
  --elegant-gray: #696969;       /* エレガントなグレー */
}

/* フォント設定 */
body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

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

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

/* ホバーエフェクト */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 高級レストラン風グラデーションボタン */
.gradient-btn {
  background: linear-gradient(45deg, var(--deep-brown), var(--secondary-color), var(--primary-color));
  border: 1px solid var(--luxury-gold);
  color: var(--warm-beige);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  box-shadow: 
    0 4px 15px rgba(139, 69, 19, 0.3),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
  transition: all 0.4s ease;
}

/* 横スクロールカルーセル */
.carousel-container {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

.carousel-container::-webkit-scrollbar {
  height: 8px;
}

.carousel-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* カルーセルアイテム */
.carousel-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gradient-btn:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--luxury-gold), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(139, 69, 19, 0.4),
    0 4px 15px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: var(--warm-beige);
}

/* 高級レストラン風カード効果 */
.job-card {
  transition: all 0.4s ease;
  border: 1px solid var(--elegant-gray);
  background: linear-gradient(135deg, var(--warm-beige) 0%, #FAFAFA 100%);
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
}

.job-card:hover {
  border-color: var(--secondary-color);
  background: linear-gradient(135deg, #FFFFFF 0%, var(--light-color) 100%);
  box-shadow: 
    0 12px 35px rgba(139, 69, 19, 0.2),
    0 4px 15px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

/* 高級検索バーのスタイル */
.search-input:focus {
  border-color: var(--secondary-color);
  background: var(--warm-beige);
  box-shadow: 
    0 0 0 3px rgba(212, 175, 55, 0.15),
    0 2px 8px rgba(139, 69, 19, 0.1);
}

/* タグスタイル */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-featured {
  background-color: #FEF3C7;
  color: #D97706;
}

.tag-new {
  background-color: #D1FAE5;
  color: #059669;
}

.tag-urgent {
  background-color: #FEE2E2;
  color: #DC2626;
}

/* レスポンシブ画像 */
.company-logo {
  object-fit: contain;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

/* フッタースタイル */
.footer-link {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

/* モバイルレスポンシブ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-form > * {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* ロード中アニメーション */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* メニュートグル（モバイル用）*/
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #B91C3C;
}

/* 文字制限スタイル */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Proseスタイル（文章コンテンツ用） */
.prose {
  color: #374151;
  max-width: none;
}

.prose p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* パンくずナビゲーション */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

/* フォーカススタイル */
.focus-ring:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--primary-color);
  ring-opacity: 0.5;
  ring-offset: 2px;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #f9fafb;
}

.pagination .current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* スティッキーヘッダー */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* 検索フィルター */
.filter-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

/* ジョブカードアニメーション */
.job-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }
.job-card:nth-child(5) { animation-delay: 0.5s; }

/* レスポンシブ対応 - Enhanced */
@media (max-width: 640px) {
  .mobile-stack {
    flex-direction: column;
  }
  
  .mobile-full {
    width: 100%;
  }
  
  .mobile-text-center {
    text-align: center;
  }
  
  .mobile-mb-4 {
    margin-bottom: 1rem;
  }
  
  /* モバイル専用のシェフ画像調整 */
  .chef-image-cutout {
    border-width: 2px;
    box-shadow: 
      0 15px 30px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 20px rgba(255, 215, 0, 0.2);
  }
  
  .chef-glow, .chef-glow-2 {
    opacity: 0.3;
  }
  
  /* モバイルでのタイトル調整 */
  .gradient-title {
    background-size: 150% 150%;
  }
  
  /* モバイル用カルーセル改善 */
  .carousel-container {
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-item {
    min-width: 280px;
  }
}

/* タブレット対応 */
@media (min-width: 641px) and (max-width: 1024px) {
  .chef-image-cutout {
    box-shadow: 
      0 20px 40px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 25px rgba(255, 215, 0, 0.25);
  }
  
  .carousel-item {
    min-width: 320px;
  }
}

/* 大画面対応 */
@media (min-width: 1921px) {
  .chef-image-cutout {
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 40px rgba(255, 215, 0, 0.4);
  }
  
  .chef-glow, .chef-glow-2 {
    opacity: 0.7;
  }
}

/* 印刷用スタイル */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
}

/* 新しいアニメーション */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

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

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

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.zoom-in {
  animation: zoomIn 0.6s ease-out;
}

.pulse-effect {
  animation: pulse 2s infinite;
}

.float-effect {
  animation: float 3s ease-in-out infinite;
}

/* ホバーエフェクトの強化 */
.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.3);
  transform: translateY(-3px);
}

/* 高級レストラン風グラデーションテキスト */
.gradient-text {
  background: linear-gradient(45deg, var(--deep-brown), var(--secondary-color), var(--luxury-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(47, 47, 47, 0.2);
}

/* 画像オーバーレイエフェクト */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.image-overlay:hover::before {
  opacity: 1;
}

.image-overlay .overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.image-overlay:hover .overlay-content {
  opacity: 1;
}

/* スクロール時のアニメーション */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* 成功事例カードのアニメーション */
.success-card {
  transform: translateY(0);
  transition: all 0.3s ease;
}

.success-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Feature カードのアニメーション */
.feature-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
}

/* 高級レストラン風ボタンアニメーション */
.btn-primary {
  background: linear-gradient(45deg, var(--deep-brown), var(--primary-color), var(--secondary-color));
  border: 1px solid var(--luxury-gold);
  color: var(--warm-beige);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 12px rgba(139, 69, 19, 0.3),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

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

.btn-primary:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--luxury-gold), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 
    0 12px 25px rgba(139, 69, 19, 0.4),
    0 6px 15px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: var(--warm-beige);
}

/* パルスエフェクト付きバッジ */
.pulse-badge {
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

/* 魅力的なカード */
.attractive-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(220, 20, 60, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.attractive-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.attractive-card:hover::after {
  opacity: 1;
}

.attractive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 新しいヒーロー専用アニメーション */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes luxuryShimmer {
  0%, 100% {
    background-position: -200% 0;
    filter: brightness(1);
  }
  25% {
    background-position: -100% 0;
    filter: brightness(1.1);
  }
  50% {
    background-position: 0% 0;
    filter: brightness(1.2);
  }
  75% {
    background-position: 100% 0;
    filter: brightness(1.1);
  }
}

/* ヒーロー専用アニメーションクラス */
.animate-fadeInLeft {
  animation: fadeInLeft 1s ease-out;
}

.animate-fadeInRight {
  animation: fadeInRight 1s ease-out;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-bounceIn {
  animation: bounceIn 0.8s ease-out;
}

/* 高級レストラン風シェフ画像エフェクト */
.chef-silhouette {
  position: relative;
  z-index: 10;
}

.chef-image-cutout {
  /* 高級レストラン風背景効果 */
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 30%, 
    rgba(139, 69, 19, 0.12) 70%, 
    rgba(47, 47, 47, 0.1) 100%);
  backdrop-filter: blur(2px);
  border: 3px solid rgba(212, 175, 55, 0.9);
  box-shadow: 
    0 25px 50px rgba(47, 47, 47, 0.5),
    inset 0 1px 0 rgba(255, 215, 0, 0.25),
    0 0 30px rgba(212, 175, 55, 0.4),
    0 0 60px rgba(139, 69, 19, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.chef-image-cutout:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 
    0 35px 70px rgba(47, 47, 47, 0.6),
    inset 0 1px 0 rgba(255, 215, 0, 0.4),
    0 0 50px rgba(212, 175, 55, 0.6),
    0 0 80px rgba(139, 69, 19, 0.3);
  border-color: rgba(255, 215, 0, 1);
}

/* 高級レストラン風グロー効果 */
.chef-glow {
  background: radial-gradient(circle, 
    rgba(212, 175, 55, 0.5) 0%, 
    rgba(139, 69, 19, 0.4) 30%, 
    rgba(101, 67, 33, 0.3) 60%, 
    rgba(47, 47, 47, 0.2) 80%, 
    transparent 100%);
  animation: luxuryPulseGlow 4s ease-in-out infinite;
}

.chef-glow-2 {
  background: radial-gradient(circle, 
    rgba(255, 215, 0, 0.4) 0%, 
    rgba(160, 82, 45, 0.35) 30%, 
    rgba(139, 69, 19, 0.25) 60%, 
    rgba(61, 41, 20, 0.15) 80%, 
    transparent 100%);
  animation: luxuryPulseGlow 4s ease-in-out infinite 2s;
}

@keyframes luxuryPulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
    filter: blur(25px);
  }
  25% {
    opacity: 0.5;
    transform: scale(1.05);
    filter: blur(30px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
    filter: blur(35px);
  }
  75% {
    opacity: 0.5;
    transform: scale(1.05);
    filter: blur(30px);
  }
}

/* シェフ画像のシマーエフェクト */
.chef-image-cutout::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transition: left 0.7s ease;
  z-index: 1;
}

.chef-image-cutout:hover::before {
  left: 100%;
}

/* 3D効果の強化 */
.chef-silhouette:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(-2deg);
}

/* 背景ぼかし効果 */
.backdrop-enhanced {
  backdrop-filter: blur(20px) saturate(150%);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* バックグラウンド装飾エフェクト */
.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  animation-delay: -2s;
}

.floating-element:nth-child(3) {
  animation-delay: -4s;
}

/* 高級レストラン風グラデーションテキスト */
.gradient-title {
  background: linear-gradient(45deg, 
    var(--luxury-gold) 0%, 
    var(--warm-beige) 20%, 
    var(--secondary-color) 40%, 
    #FFFFFF 50%, 
    var(--secondary-color) 60%, 
    var(--warm-beige) 80%, 
    var(--luxury-gold) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(47, 47, 47, 0.3);
  animation: luxuryShimmer 4s ease-in-out infinite;
}

/* 特徴タグのアニメーション */
.feature-tag {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* 高級洋食レストラン背景 */
.hero-background {
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(139, 69, 19, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at bottom left, rgba(255, 215, 0, 0.06) 0%, transparent 70%),
    linear-gradient(135deg, 
      #2F2F2F 0%,          /* 深いチャコール */
      #3D2914 15%,         /* 深いコーヒー色 */
      #654321 30%,         /* リッチブラウン */
      #8B4513 45%,         /* ウォールナット */
      #A0522D 60%,         /* シエナ */
      #D4AF37 75%,         /* エレガントゴールド */
      #8B4513 90%,         /* 戻りのブラウン */
      #2F2F2F 100%);       /* 深いチャコール */
  background-size: 100% 100%, 85% 85%, 95% 95%, 100% 100%;
  animation: luxuryBackgroundShift 30s ease-in-out infinite;
}

@keyframes luxuryBackgroundShift {
  0%, 100% {
    background-position: 0% 0%, 100% 100%, 0% 100%, 0% 0%;
    filter: brightness(1) contrast(1.05);
  }
  20% {
    background-position: 30% 10%, 80% 90%, 20% 80%, 0% 0%;
    filter: brightness(1.02) contrast(1.08);
  }
  40% {
    background-position: 70% 30%, 40% 70%, 60% 40%, 0% 0%;
    filter: brightness(1.05) contrast(1.1);
  }
  60% {
    background-position: 90% 70%, 20% 30%, 80% 20%, 0% 0%;
    filter: brightness(1.03) contrast(1.07);
  }
  80% {
    background-position: 60% 90%, 60% 10%, 40% 60%, 0% 0%;
    filter: brightness(1.01) contrast(1.06);
  }
}

/* アニメーション遅延クラス */
.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-500 {
  animation-delay: 0.5s;
}

.animation-delay-700 {
  animation-delay: 0.7s;
}

.animation-delay-800 {
  animation-delay: 0.8s;
}

.animation-delay-1000 {
  animation-delay: 1s;
}

.animation-delay-1200 {
  animation-delay: 1.2s;
}

.animation-delay-1500 {
  animation-delay: 1.5s;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

/* 浮遊アニメーション */
@keyframes animate-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(0.5deg);
  }
}

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

/* 回転浮遊アニメーション */
@keyframes floatRotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-20px) rotate(5deg) scale(1.05);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg) scale(0.95);
  }
  75% {
    transform: translateY(-25px) rotate(3deg) scale(1.02);
  }
}

.animate-float-rotate {
  animation: floatRotate 8s ease-in-out infinite;
}

/* グローパルス効果 */
@keyframes glowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
    filter: blur(20px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
    filter: blur(30px);
  }
}

.animate-glow-pulse {
  animation: glowPulse 4s ease-in-out infinite;
}

/* スパークル効果 */
@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.animate-sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

/* 波紋効果 */
@keyframes ripple {
  0% {
    opacity: 1;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.animate-ripple {
  animation: ripple 3s ease-out infinite;
}

/* 背景パーティクル */
.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* 3D効果 */
.effect-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* グラデーション境界 */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #FFD700, #FF6347, #DC143C, #8B008B);
  border-radius: inherit;
  z-index: -1;
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 高級レザー・ウッドテクスチャ */
.noise-texture {
  background: 
    radial-gradient(circle at 15% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 75% 15%, rgba(139, 69, 19, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 35% 75%, rgba(255, 215, 0, 0.04) 0%, transparent 65%),
    radial-gradient(circle at 60% 90%, rgba(101, 67, 33, 0.07) 0%, transparent 50%),
    linear-gradient(45deg, 
      rgba(47, 47, 47, 0.02) 0%, 
      rgba(139, 69, 19, 0.03) 25%, 
      rgba(212, 175, 55, 0.02) 50%, 
      rgba(101, 67, 33, 0.03) 75%, 
      rgba(47, 47, 47, 0.02) 100%);
  background-size: 250px 250px, 350px 350px, 300px 300px, 180px 180px, 400px 400px;
  animation: luxuryTextureMove 35s ease-in-out infinite;
}

@keyframes luxuryTextureMove {
  0%, 100% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 25% 75%, 0% 0%;
    opacity: 0.8;
  }
  20% {
    background-position: 20% 10%, 80% 90%, 70% 30%, 45% 55%, 10% 20%;
    opacity: 0.9;
  }
  40% {
    background-position: 60% 40%, 40% 60%, 20% 80%, 75% 25%, 40% 60%;
    opacity: 0.85;
  }
  60% {
    background-position: 90% 70%, 10% 30%, 80% 20%, 15% 85%, 70% 30%;
    opacity: 0.95;
  }
  80% {
    background-position: 70% 90%, 30% 10%, 40% 60%, 65% 35%, 90% 70%;
    opacity: 0.9;
  }
}

/* レスポンシブ背景調整 */
@media (max-width: 768px) {
  .hero-background {
    min-height: 80vh;
    background-size: 120% 120%, 100% 100%, 110% 110%, 100% 100%;
  }
  
  .animate-float {
    animation-duration: 4s;
  }
  
  .noise-texture {
    background-size: 150px 150px, 200px 200px, 180px 180px;
  }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up,
  .job-card,
  .slide-in-left,
  .slide-in-right,
  .zoom-in,
  .pulse-effect,
  .float-effect,
  .animate-fadeInLeft,
  .animate-fadeInRight,
  .animate-fadeInUp,
  .animate-bounceIn,
  .gradient-title,
  .animate-float,
  .animate-float-rotate,
  .animate-glow-pulse,
  .animate-sparkle,
  .animate-ripple,
  .animate-gradientShift,
  .hero-background,
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================
   新しい高級アニメーション効果
   ======================================== */

/* グラデーションシフトアニメーション */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradientShift {
  background-size: 400% 400%;
  animation: gradientShift 12s ease-in-out infinite;
}

/* 改良版浮遊アニメーション（より自然な動き） */
@keyframes floatNatural {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  16.66% {
    transform: translateY(-8px) rotate(1deg);
  }
  33.33% {
    transform: translateY(-12px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-1deg);
  }
  66.66% {
    transform: translateY(-10px) rotate(0deg);
  }
  83.33% {
    transform: translateY(-4px) rotate(0.5deg);
  }
}

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

/* 光る粒子エフェクト */
@keyframes particleFloat {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-40px) translateX(20px) scale(1.2);
    opacity: 0.8;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-80px) translateX(-10px) scale(0.8);
    opacity: 0;
  }
}

.animate-particleFloat {
  animation: particleFloat 8s ease-out infinite;
}

/* テキストシマーエフェクト（改良版） */
@keyframes textShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.animate-textShimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShimmer 3s ease-in-out infinite;
}

/* 高級ホバーエフェクト */
@keyframes luxuryHover {
  0% {
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
  }
  50% {
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.4), 0 10px 30px rgba(255, 165, 0, 0.3);
  }
  100% {
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
  }
}

/* インタラクティブ光る縁取り */
@keyframes glowBorder {
  0%, 100% {
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
  }
  50% {
    border-color: rgba(220, 38, 38, 0.7);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4), 0 0 60px rgba(255, 165, 0, 0.2);
  }
}

.animate-glowBorder {
  animation: glowBorder 2s ease-in-out infinite;
}

/* 3D浮遊効果 */
@keyframes float3D {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  33% {
    transform: translateY(-10px) rotateX(2deg) rotateY(1deg);
  }
  66% {
    transform: translateY(-6px) rotateX(-1deg) rotateY(-1deg);
  }
}

.animate-float3D {
  animation: float3D 8s ease-in-out infinite;
  transform-style: preserve-3d;
}