/* Knowledge Refinery - Custom Styles */

* {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", sans-serif;
  line-height: 1.7;
}

/* ボタンホバー効果 */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

button:active {
  transform: translateY(0);
}

/* チェックボックスカスタム */
input[type="checkbox"]:checked {
  background-color: #1E40AF;
  border-color: #1E40AF;
}

/* カードホバー効果 */
.hover\:border-primary:hover {
  border-color: #1E40AF;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

/* 入力フィールド */
input[type="number"] {
  transition: all 0.2s ease;
}

input[type="number"]:focus {
  outline: none;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#results-section {
  animation: fadeIn 0.5s ease-out;
}

#impact-results {
  animation: fadeIn 0.4s ease-out;
}

/* レーダーチャート調整 */
#radar-chart {
  max-width: 400px;
  margin: 0 auto;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  .text-5xl {
    font-size: 3rem !important;
  }
}

/* スムーズスクロール */
html {
  scroll-padding-top: 20px;
}
