:root {
  --color-bg: #f7f3ed;
  --color-bg-light: #fbfaf7;
  --color-white: #ffffff;
  --color-text: #111111;
  --color-muted: #666666;
  --color-gold: #b58a3a;
  --color-gold-dark: #96702d;
  --color-border: #e6e0d8;
  --color-black: #111111;
  --color-footer: #101010;
  --color-shadow: rgba(17, 17, 17, 0.08);
  --color-accent-rgb: 181, 138, 58;
  --color-accent-strong-rgb: 169, 125, 48;
  --color-accent-soft-rgb: 230, 215, 186;
  --color-accent-pale-rgb: 247, 243, 237;
  --gradient-gold: linear-gradient(135deg, #c79b48 0%, #a97d30 100%);
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", serif;
  --font-script: "Allura", cursive;
  --font-signature: "Allura", cursive;
  --radius-card: 18px;
  --radius-button: 999px;
  --container: min(1120px, calc(100% - 40px));
  --container-wide: min(1240px, calc(100% - 40px));
  --section-space: clamp(48px, 7vw, 112px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(180deg, #fcfbf8 0%, #f6f1e9 100%);
  font-family: var(--font-sans);
  line-height: 1.7;
  word-break: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.52), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(181, 138, 58, 0.08), transparent 18%),
    radial-gradient(circle at 72% 76%, rgba(255, 255, 255, 0.42), transparent 22%);
  opacity: 0.9;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  max-width: 920px;
}

.section-block {
  padding: var(--section-space) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-heading__lead {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: clamp(0.94rem, 1.6vw, 1rem);
}

.section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-black);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-main {
  overflow: clip;
}

.js-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(10px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js-ready .reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reduced-motion .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  background: var(--gradient-gold);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(181, 138, 58, 0.24);
}

.button--outline {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.88);
}

.button--line {
  padding-left: 0;
  min-height: auto;
  border-radius: 0;
  border-bottom: 1px solid rgba(181, 138, 58, 0.45);
}

.button__icon,
.button__arrow,
.works-card__arrow,
.timeline__step,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button__icon svg,
.button__arrow svg {
  width: 20px;
  height: 20px;
}

.button--contact {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.85rem;
}
