@tailwind base;
@tailwind components;
@tailwind utilities;

/* カスタムグラデーションクラス */
.gradient-bg {
  background: linear-gradient(to bottom right, #eff6ff, #ffffff, #faf5ff);
}

/* 必要なTailwindクラスを明示的に追加 */
@layer utilities {
  .max-w-md { max-width: 28rem; }
  .max-w-2xl { max-width: 42rem; }
  .rounded-2xl { border-radius: 1rem; }
  .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
  .text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .font-bold { font-weight: 700; }
  .text-gray-900 { color: #111827; }
  .text-gray-600 { color: #4b5563; }
  .text-gray-500 { color: #6b7280; }
  .text-blue-600 { color: #2563eb; }
  .text-xs { font-size: 0.75rem; line-height: 1rem; }
  .space-y-3 > * + * { margin-top: 0.75rem; }
  .space-y-4 > * + * { margin-top: 1rem; }
  .hover\:underline:hover { text-decoration-line: underline; }
  .hover\:bg-gray-400:hover { background-color: #9ca3af; }
  .hover\:bg-blue-700:hover { background-color: #1d4ed8; }
  .bg-white { background-color: #ffffff; }
  .bg-gray-300 { background-color: #d1d5db; }
  .bg-blue-600 { background-color: #2563eb; }
  .bg-green-600 { background-color: #16a34a; }
  .text-white { color: #ffffff; }
  .p-8 { padding: 2rem; }
  .p-4 { padding: 1rem; }
  .p-2 { padding: 0.5rem; }
  .px-4 { padding-left: 1rem; padding-right: 1rem; }
  .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .mb-8 { margin-bottom: 2rem; }
  .mb-4 { margin-bottom: 1rem; }
  .mb-2 { margin-bottom: 0.5rem; }
  .mt-4 { margin-top: 1rem; }
  .mt-6 { margin-top: 1.5rem; }
  .mt-8 { margin-top: 2rem; }
  .mr-2 { margin-right: 0.5rem; }
  .w-5 { width: 1.25rem; }
  .h-5 { height: 1.25rem; }
  .w-12 { width: 3rem; }
  .h-12 { height: 3rem; }
  .w-16 { width: 4rem; }
  .h-16 { height: 4rem; }
  .w-full { width: 100%; }
  .flex-1 { flex: 1 1 0%; }
  .border { border-width: 1px; }
  .border-b { border-bottom-width: 1px; }
  .rounded { border-radius: 0.25rem; }
  .rounded-xl { border-radius: 0.75rem; }
  .p-3 { padding: 0.75rem; }
  .space-x-3 > * + * { margin-left: 0.75rem; }
  .font-medium { font-weight: 500; }
  .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
  .duration-200 { transition-duration: 0.2s; }
  .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
  .hover\:scale-\[1\.02\]:hover { --tw-scale-x: 1.02; --tw-scale-y: 1.02; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
  .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); }
  .active\:scale-\[0\.98\]:active { --tw-scale-x: 0.98; --tw-scale-y: 0.98; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
  .bg-black { background-color: #000; }
  .text-black { color: #000; }
  .text-gray-700 { color: #374151; }
  .border-gray-300 { border-color: #d1d5db; }
  .hover\:bg-gray-50:hover { background-color: #f9fafb; }
  .hover\:bg-gray-100:hover { background-color: #f3f4f6; }
  .hover\:bg-gray-800:hover { background-color: #1f2937; }
  .flex { display: flex; }
  .items-center { align-items: center; }
  .justify-center { justify-content: center; }
  .justify-end { justify-content: flex-end; }
  .justify-between { justify-content: space-between; }
  .text-center { text-align: center; }
  .text-right { text-align: right; }
  .max-h-\[60vh\] { max-height: 60vh; }
  .overflow-y-auto { overflow-y: auto; }
}
