/* フォント設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

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

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

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

.hover-scale:hover {
  transform: scale(1.05);
}

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

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

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

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

/* モバイル対応の追加スタイル */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* フォーム要素のフォーカス状態 */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.2);
  border-color: #E60012;
}

/* 画像のロード中のプレースホルダー */
img {
  min-height: 1px;
  min-width: 1px;
}

/* アクセシビリティ向上のためのフォーカス表示 */
a:focus, button:focus {
  outline: 2px solid #E60012;
  outline-offset: 2px;
}

/* 印刷時のスタイル */
@media print {
  .no-print {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
