/* Thenter — Monolith。外部フォント・外部スクリプトは使わない */
:root {
  --bg: #050505;
  --fg: #f2f2f2;
  --soft: #d8d8d8;
  --mute: #9a9a9a;
  --faint: #6f6f6f;
  --line: #2a2a2a;
  --line-soft: #1d1d1d;
  --signal: #00ff88;
  --pad: 40px;
  --sans: "Inter", "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", Meiryo, sans-serif;
  --jp: "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", Meiryo, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Noto Sans Mono CJK JP", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.8; }
a { color: inherit; }
.jp { font-family: var(--jp); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }

/* 12分割の縦線 */
.grid-lines { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: calc(100% / 12) 100%; }
header, main, footer { position: relative; z-index: 1; }

/* ヘッダー・フッター */
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); }
.logo { font-weight: 800; letter-spacing: .32em; font-size: 15px; text-decoration: none; }
.site-header nav { display: flex; gap: 36px; }
.site-header nav a, .site-footer a { text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { color: var(--fg); }
.site-footer { padding: 32px var(--pad); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.draft-banner { position: relative; z-index: 2; background: #2a2200; color: #ffd75e; text-align: center; padding: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }

/* セクション */
section { padding: 120px var(--pad); border-top: 1px solid var(--line-soft); }
.hero { min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; border-top: 0; }
.hero h1 { font-size: clamp(64px, 13.5vw, 220px); line-height: .86; letter-spacing: -.055em; margin: 0; font-weight: 800; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 18px; }
.meta p { margin: 6px 0 0; font-size: 15px; line-height: 1.7; color: var(--soft); font-family: var(--jp); }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; margin-right: 8px; box-shadow: 0 0 12px var(--signal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.statement { font-family: var(--jp); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.5; font-weight: 700; max-width: 22em; margin: 24px 0 0; letter-spacing: -.01em; }
.statement em { font-style: normal; color: var(--faint); }

.fields { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); font-family: var(--jp); }
.fields > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.fields > div:first-child { border-left: 0; padding-left: 0; }
.fields h3 { font-size: 30px; margin: 14px 0 10px; letter-spacing: -.02em; }
.fields p { color: var(--mute); margin: 0; font-size: 14px; }

.works { margin-top: 32px; border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--jp); }
.work h3 { font-family: var(--sans); font-size: clamp(32px, 4vw, 56px); margin: 0; letter-spacing: -.03em; line-height: 1.2; transition: transform .3s ease; }
a.work:hover h3 { transform: translateX(12px); }
.work .desc { color: var(--mute); font-size: 14px; margin-top: 6px; }
.work.next h3 { color: #4a4a4a; }

dl.facts { display: grid; grid-template-columns: 200px 1fr; margin: 32px 0 0; font-family: var(--jp); font-size: 15px; border-top: 1px solid var(--line); }
dl.facts dt, dl.facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
dl.facts dt { color: var(--mute); }
dl.facts a { text-decoration: underline; text-underline-offset: 3px; }

.contact { font-size: clamp(36px, 6vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 24px 0 0; display: inline-block; text-decoration: none; }
.contact:hover { color: var(--signal); }
.contact-note { color: var(--mute); font-family: var(--jp); font-size: 14px; margin-top: 24px; }

/* 規約などの文書ページ */
.doc { max-width: 880px; padding: 64px var(--pad) 120px; font-family: var(--jp); font-size: 15px; color: var(--soft); }
.doc h1 { font-family: var(--jp); color: var(--fg); font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; line-height: 1.3; margin: 24px 0 48px; }
.doc h2 { color: var(--fg); font-size: 18px; margin: 48px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc ol, .doc ul { padding-left: 1.6em; }
.doc li { margin: 4px 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 16px 0; border-top: 1px solid var(--line); }
.doc th, .doc td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { color: var(--mute); font-weight: 400; width: 30%; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.note { color: var(--mute); font-size: 13px; }

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .site-header .place { display: none; }
  .site-header nav { gap: 18px; }
  section { padding-top: 80px; padding-bottom: 80px; }
  .hero { min-height: 72vh; padding-top: 40px; }
  .hero h1 { font-size: 21vw; }
  .meta { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .fields > div { border-left: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .work { grid-template-columns: 1fr; gap: 4px; }
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { border-bottom: 0; padding-bottom: 0; }
  .doc th { width: 38%; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }
