/* =============================================================================
   Base Styles
   ============================================================================= */

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-16);
  line-height: 1.3;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* サブページ共通コンテンツコンテナ（page-mv・breadcrumb の後に続くメインエリア） */
.inner {
  container-type: inline-size;
  max-width: 1200px;
  margin: var(--gap-main-area-top) auto var(--gap-main-area-bottom);
}

@media (max-width: 1240px) {
  .inner {
    padding-right: var(--margin-16);
    padding-left: var(--margin-16);
  }
}

/* 表示切り替えユーティリティ */
.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

@media (max-width: 640px) {
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }
}

/* スクロールフェードインアニメーション（IntersectionObserver と連携） */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* スクリーンリーダー専用テキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.site-main {
  container-type: inline-size;
}
