/* ============================================================
   Base — reset / typography / utilities
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 110%; /* 約17.6px → rem全体を約1割大きく */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-heading);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease), opacity var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

input,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
}

/* —— Shared layout —— */
.l-container {
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-container--narrow {
  max-width: var(--layout-narrow);
  margin-inline: auto;
  padding-inline: var(--space-32);
}

.l-section {
  position: relative;
  overflow: hidden;
}

/* —— Typography helpers —— */
.u-label {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: var(--fs-13);
  letter-spacing: 0.18em;
  color: var(--color-primary);
  line-height: 1.5;
}

.u-heading {
  font-family: var(--font-serif-alt);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.4;
}

.u-section-num {
  position: absolute;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 16.25rem; /* 260px */
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.u-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.u-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;
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
