:root {
  --bg: #0f0f12;
  --bg-2: #16161a;
  --line: #2a2a30;
  --text: #f2f1ee;
  --muted: #9a9890;
  --accent: #d8c7a3;
  --serif: "Shippori Mincho", "Cormorant Garamond", serif;
  --sans: "Noto Sans JP", "Inter", system-ui, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: linear-gradient(var(--bg), rgba(15, 15, 18, 0));
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 20px; letter-spacing: 0.3em; }
.nav { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; }

/* hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 70% 40%, rgba(216, 199, 163, 0.10), transparent 55%);
  pointer-events: none;
}
.hero .eyebrow { font-size: 12px; letter-spacing: 0.4em; color: var(--accent); margin-bottom: 28px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 7vw, 84px); line-height: 1.35; letter-spacing: 0.08em;
}
.hero p { margin-top: 32px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }
.btn {
  display: inline-block; margin-top: 48px; padding: 14px 36px;
  border: 1px solid var(--accent); color: var(--accent); font-size: 14px; letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--accent); color: var(--bg); }

/* sections */
section { padding: 140px 0; border-top: 1px solid var(--line); }
.label { font-size: 12px; letter-spacing: 0.4em; color: var(--accent); margin-bottom: 16px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); letter-spacing: 0.08em; margin-bottom: 56px; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--bg); padding: 44px 32px; }
.service .num { font-family: var(--serif); color: var(--accent); font-size: 14px; letter-spacing: 0.2em; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 16px 0 20px; letter-spacing: 0.06em; }
.service p { color: var(--muted); font-size: 14px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.flow li { list-style: none; border-top: 1px solid var(--accent); padding-top: 20px; }
.flow li::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); color: var(--accent); font-size: 14px; letter-spacing: 0.2em; }
.flow h3 { font-weight: 400; font-size: 17px; margin: 8px 0; }
.flow p { color: var(--muted); font-size: 13px; }

.works-empty {
  border: 1px dashed var(--line); padding: 72px 24px; text-align: center; color: var(--muted); font-size: 14px;
}

.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.about .kanji { font-family: var(--serif); font-size: clamp(64px, 10vw, 120px); line-height: 1; color: var(--accent); letter-spacing: 0.1em; }
.about p + p { margin-top: 1.4em; }
.about .note { margin-top: 2.4em; font-size: 13px; color: var(--muted); }

.contact { text-align: center; }
.contact p { color: var(--muted); }
.contact .mail { display: inline-block; margin-top: 32px; font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); letter-spacing: 0.08em; border-bottom: 1px solid var(--accent); padding-bottom: 6px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: 12px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .sns { display: flex; gap: 20px; }
footer a:hover { color: var(--text); }

/* fade in */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
.fade.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav a:not(.lang) { display: none; }
  section { padding: 96px 0; }
  .services { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .flow { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
