/* ============================================================
   Base — Design tokens / Reset / Typography
   ============================================================ */

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-bg-alt: #f5eeee;
  --color-bg-faq: #f7f5f5;
  --color-heading: #6a5a58;
  --color-text: #6b5b59;
  --color-muted: #7a6668;
  --color-charcoal-deep: #4a3a38;
  --color-accent: #c57798;
  --color-accent-soft: rgba(193, 173, 174, 0.2);
  --color-border: rgba(193, 173, 174, 0.28);
  --color-white: #ffffff;

  /* Typography */
  --font-serif: "Noto Serif JP", "Playfair Display", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Playfair Display", "Noto Serif JP", serif;

  /* Spacing */
  --section-py: 120px;
  --section-py-sp: 60px;
  --container: 1280px;
  --container-narrow: 1100px;
  --gutter: 24px;
  --gutter-lg: 40px;

  /* Misc */
  --radius: 2px;
  --radius-md: 4px;
  --transition: 0.3s ease;
  --header-h: 80px;
  --header-h-sp: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

iframe {
  border: 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;
}

.u-sp-only {
  display: none;
}

@media (max-width: 1023px) {
  .u-sp-only {
    display: block;
  }
}

/* Reveal animation */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}

.js-reveal[data-dir="left"] {
  transform: translateX(-32px);
}

.js-reveal[data-dir="right"] {
  transform: translateX(32px);
}

.js-reveal[data-dir="left"].is-visible,
.js-reveal[data-dir="right"].is-visible {
  transform: translate(0);
}

@media (max-width: 767px) {
  :root {
    --section-py: var(--section-py-sp);
    --gutter: 20px;
  }
}
