:root {
  --ink: #15211c;
  --paper: #eef2ef;
  --white: #f7faf8;
  --accent: #1d4f3c;
  --band: #16352c;
  --on-band: #eef2ef;
  --muted: rgba(21, 33, 28, 0.55);
  --line: rgba(21, 33, 28, 0.12);
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --en: "Outfit", "Avenir Next", "Hiragino Sans", sans-serif;
  --header: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0;
}
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
address { font-style: normal; }
::selection { background: rgba(29, 79, 60, 0.2); }
a:focus-visible, button:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 80; background: var(--white); color: var(--ink); padding: 8px 16px; }
.skip:focus { top: 8px; }
.frame { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.kicker {
  margin: 0 0 16px;
  font-family: var(--en);
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.05rem; line-height: 1.9; letter-spacing: 0.02em; max-width: 34em; }
h2 { font-size: clamp(1.7rem, 2.2vw, 2.15rem); }
.prose { max-width: 34em; }
.prose a { text-decoration: underline; text-underline-offset: 0.2em; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-band { background: var(--on-band); color: var(--band); border-color: var(--on-band); }
.btn-band:hover { background: var(--band); color: var(--on-band); border-color: var(--on-band); }
.btn-photo { background: transparent; color: var(--white); border-color: var(--white); }
.btn-photo:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  background: rgba(238, 242, 239, 0.92);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header);
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; position: relative; z-index: 60; }
.logo:hover { color: inherit; }
.logo-name { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.08em; line-height: 1; }
.logo-legal { margin-top: 8px; font-size: 0.68rem; letter-spacing: 0.18em; line-height: 1; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 24px; font-size: 0.92rem; letter-spacing: 0.04em; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav-contact {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.nav-contact:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-contact[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.nav-check { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span { position: relative; width: 22px; height: 8px; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { transform: translateY(-4px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-check:focus-visible + .nav-toggle { outline: 1px solid var(--accent); outline-offset: 3px; }
.nav-check:checked + .nav-toggle span::before { transform: rotate(45deg); }
.nav-check:checked + .nav-toggle span::after { transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 1.2s var(--ease) both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(21, 33, 28, 0.45) 0%, rgba(21, 33, 28, 0) 40%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(36rem, calc(100% - 80px));
  margin: 0 0 64px max(40px, calc((100% - 1120px) / 2));
  color: var(--white);
}
.hero-copy .kicker, .hero-copy h1, .hero-copy .lead { color: var(--white); }
.hero h1 {
  max-width: 16em;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero h1 span { display: block; }
.hero-copy .lead { max-width: 28em; margin-bottom: 40px; }
.hero-copy .kicker, .hero-copy h1, .hero-copy .lead, .hero-copy .btn { animation: rise-in 0.8s var(--ease) both; }
.hero-copy .kicker { animation-delay: 0.15s; }
.hero-copy h1 { animation-delay: 0.3s; }
.hero-copy .lead { animation-delay: 0.45s; }
.hero-copy .btn { animation-delay: 0.6s; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-scroll { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: rise-scroll 0.7s var(--ease) both; }
.js .reveal.d1.is-in { animation-delay: 0.08s; }
.js .reveal.d2.is-in { animation-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .hero img,
  .hero-copy .kicker,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .btn,
  .js .reveal,
  .work-photo img,
  .work:hover .work-photo img {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
