/* ==========================================================================
   base.css — GFS-Group 3サイト共通 タイポグラフィ・リンク・基本要素
   v1.0 / 2026-04-20
   ========================================================================== */

/* ---------- container ---------- */
.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, 800px);
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1440px);
  margin-inline: auto;
}

/* ---------- section spacing ---------- */
section {
  padding-block: var(--space-2xl);
}

@media (max-width: 768px) {
  section {
    padding-block: var(--space-xl);
  }
}

/* ---------- typography ---------- */
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-wide);
}

p {
  line-height: var(--lh-base);
}

.text-sm {
  font-size: var(--fs-sm);
}

.text-mono {
  font-family: var(--font-mono);
}

.text-serif {
  font-family: var(--font-ja-serif);
}

.text-en {
  font-family: var(--font-en-sans);
  letter-spacing: var(--ls-wide);
}

/* ---------- links ---------- */
a {
  color: var(--primary);
  transition: opacity var(--transition-base);
}

a:hover {
  opacity: 0.7;
}

/* ---------- utility ---------- */
.text-center {
  text-align: center;
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.text-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


