@font-face {
  font-family: "LINE Seed JP";
  src: url("https://cdn.jsdelivr.net/npm/line-seed-jp@0.0.5/woff2/LINESeedJP_OTF_Rg.woff2")
    format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --color-bg: #fcf6ef;
  --color-text: #3a3228;
  --color-title: #6b5a48;
  --color-desc: #8e7d6b;
  --color-accent: #e07a94;
  --color-label: #baa898;
  --color-card: #fcf4ea;
  --color-footer: #c4b4a2;
  --color-border: #e5ddd3;
  --color-hero-bg: #bfaa94;
  --color-face-bg: #e4d9cc;
  --color-white: #fff;
  --font-body: "LINE Seed JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 2px 20px rgb(0 0 0 / 5%);
  --shadow-card-strong: 0 2px 24px rgb(0 0 0 / 6%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

@supports (view-transition-name: none) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: page-exit 180ms ease-in both;
  }

  ::view-transition-new(root) {
    animation: page-enter 320ms ease-out both;
  }
}

@keyframes page-exit {
  to {
    opacity: 0;
    transform: scale(0.99);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

.section {
  padding: 5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
  color: var(--color-title);
}

@media (width <= 480px) {
  .section {
    padding: 3.5rem 1rem;
  }
}
