/* KANAU WORKS サイト共通（2026-10-10 刷新）
   方針（memory lp-design-guideline・2026-07-10実測）: ライト基調＋モノクロ階調＋単一アクセント、
   ヘアライン境界、角丸 8〜16px、紫グラデ・ネオン禁止。見出し Zen Kaku Gothic New／本文 Noto Sans JP／数字 tabular-nums。
   記事ページは引き続き assets/article.css（公的文書の文法）。このファイルはトップ・直販・問い合わせの3枚が使う。 */
:root {
  --bg: #fafafa; --surface: #ffffff; --surface2: #f4f4f5;
  --ink: #0a0a0a; --ink2: #3f3f46; --sub: #71717a;
  --line: rgba(10,10,10,.08); --line2: rgba(10,10,10,.16);
  --accent: #12324f; --accent-ink: #ffffff; --accent-soft: rgba(18,50,79,.08);
  --link: #0b57c2; --mark: #b23a1d;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 0 0 1px var(--line);
  --shadow-md: 0 1px 2px rgba(10,10,10,.04), 0 12px 32px -12px rgba(10,10,10,.18), 0 0 0 1px var(--line);
  --radius: 14px;
  /* article.css 互換の別名（直販・問い合わせの旧スタイルが参照する） */
  --paper: var(--surface); --paper2: var(--surface2); --rule: var(--line); --rule2: var(--line2); --brand: var(--accent); --brand-ink: var(--accent-ink);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --surface: #111113; --surface2: #18181b;
    --ink: #fafafa; --ink2: #d4d4d8; --sub: #a1a1aa;
    --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.18);
    --accent: #fafafa; --accent-ink: #0a0a0a; --accent-soft: rgba(250,250,250,.08);
    --link: #8ab4ff; --mark: #f08a6a;
    --shadow-sm: 0 0 0 1px var(--line);
    --shadow-md: 0 12px 32px -12px rgba(0,0,0,.6), 0 0 0 1px var(--line2);
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a; --surface: #111113; --surface2: #18181b;
  --ink: #fafafa; --ink2: #d4d4d8; --sub: #a1a1aa;
  --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.18);
  --accent: #fafafa; --accent-ink: #0a0a0a; --accent-soft: rgba(250,250,250,.08);
  --link: #8ab4ff; --mark: #f08a6a;
  --shadow-sm: 0 0 0 1px var(--line);
  --shadow-md: 0 12px 32px -12px rgba(0,0,0,.6), 0 0 0 1px var(--line2);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 15.5px; line-height: 1.85; font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 5.2vw, 52px); letter-spacing: -.025em; line-height: 1.18; }
h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 700; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.sub { color: var(--sub); }
.note { color: var(--sub); font-size: 13.5px; }

/* ── header ── */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.hdr .wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: .02em; font-size: 15px; }
.hdr .wordmark:hover { text-decoration: none; }
.hdr .mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: 15px; }
.hdr nav { display: flex; align-items: center; gap: 4px 22px; font-size: 14px; }
.hdr nav a { color: var(--ink2); }
.hdr nav a:hover { color: var(--ink); text-decoration: none; }
.hdr nav .btn { padding: 8px 14px; font-size: 13.5px; }
@media (max-width: 640px) { .hdr nav a:not(.btn) { display: none; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(10,10,10,.12); }
.btn.primary:hover { box-shadow: 0 6px 20px -6px rgba(10,10,10,.35); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { background: var(--surface2); }
.btn svg { width: 16px; height: 16px; }

/* ── cards / pills ── */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
a.card, .card.hover { color: inherit; }
a.card:hover, .card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink2); background: var(--surface2); border: 1px solid var(--line); line-height: 1.4; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }

/* ── sections ── */
.sec { padding: 72px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head p { margin: 6px 0 0; color: var(--sub); max-width: 56ch; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--sub); text-transform: uppercase; margin-bottom: 10px; display: block; }
@media (max-width: 640px) { .sec { padding: 52px 0; } }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── footer ── */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 13.5px; color: var(--sub); }
.ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.ftr h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink); font-weight: 700; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 0 0 6px; }
.ftr a { color: var(--sub); }
.ftr a:hover { color: var(--ink); }
.ftr .bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .ftr .cols { grid-template-columns: 1fr 1fr; } }

/* ── forms（問い合わせ） ── */
input[type=text], input[type=email], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line2); border-radius: 10px; padding: 11px 13px; transition: box-shadow .15s, border-color .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
