:root {
  color-scheme: light;
  --bg: #faf8f4;
  --ink: #3a3a3a;
  --gold: #b8995f;
  --gold-dark: #8a6e36;
  --sub: #6b6760;
  --sub-dark: #55514b;
  --border: #d2cbbd;
  --border-light: #e9e4da;
  --photo-from: #f2eee8;
  --photo-to: #e6dfd1;

  --font-en: "Jost", "Zen Kaku Gothic New", sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 6vw, 96px);
  /* 本文は左端の線の分だけ余白を広く取り、線は本文と画面端の間に置く */
  --content-left: clamp(52px, 12vw, 160px);
  --line-x: clamp(24px, 4.4vw, 56px);
  --line-duration: 2.6s;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.sprite { position: absolute; }

/* 短い文言だけ「贈り/もの」のような語の途中での改行を避ける。長文に使うと行末が大きく空くので本文には使わない */
.hero-title, .hero-lead, .hero-note, .about-lead, .work-name { word-break: auto-phrase; }

.shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
}
.site-logo { display: inline-block; }
.site-logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--gold-dark); }

/* ---------- ピル形ボタン ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-en), var(--font-ja);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.pill:hover { background: var(--ink); color: var(--bg); }
.pill--large { min-height: 52px; padding: 0 30px; font-size: 15px; }
.pill-icon { width: 20px; height: 20px; flex: none; }

/* ---------- フッター ---------- */
.site-footer {
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.site-footer img { height: 28px; width: auto; margin-inline: auto; }
.copyright { margin-top: 14px; color: var(--sub); font-family: var(--font-en); letter-spacing: 0.2em; }
.copyright small { font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
