/* ============================================
   base.css — タグのデフォルトスタイル
   ============================================ */

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.8;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-feature-settings: "palt" 1;
}

/* フォーカスリング */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* スクロール検知用トリガー */
#trigger {
  height: 1px;
}

/* ============================================
   アニメーション
   ============================================ */
@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-banner {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
