:root {
  --color-ground: #ffffff;
  --color-ink: #111111;
  --color-sign: #ffc917;
  --color-muted: #5c5c5c;
  --color-line: #e6e6e6;
  --color-paper: #fff7d6;
  --color-tape: rgba(232, 224, 200, 0.88);
  --color-dot: #c9c2a8;

  --font-sans: "Inter", system-ui, sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-hand-jp: "Klee One", var(--font-jp);

  --text-label: 13px;
  --text-body: 18px;
  --text-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-h3: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --text-h2: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --text-hero: clamp(4.5rem, 2rem + 9vw, 10.5rem);

  --gutter: clamp(16px, 4vw, 64px);
  --space-section: clamp(56px, 6vw, 96px);
  --max: 1440px;

  --shadow-print: 0 12px 28px rgba(0, 0, 0, 0.14);
  --duration: 300ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-sign);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--color-ink);
  color: var(--color-ground);
  padding: 8px 12px;
}

.skip:focus {
  left: 8px;
  z-index: 10;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.label {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.jp {
  font-family: var(--font-jp);
}

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
}

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-sign);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: background-color var(--duration) var(--ease);
}

.link:hover {
  background-color: var(--color-sign);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
