/* ============================================================
   washi-skin.css — 下層ページのトンマナ統一スキン (2026-06)
   各ページ固有CSSの後に読み込み、トップ(renewal.css)の世界観
   （和紙 #f6f2ea / 明朝見出し / 朱 #c73a1d / 墨流し背景）に揃える。
   ============================================================ */

/* ----- 墨流しレイヤー（fluid-sadame.js が描画） ----- */
#sd-fluid {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  display: block;
  background: #f6f2ea;   /* WebGL失敗時のフォールバック和紙 */
}
.sd-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246,242,234,.35), rgba(246,242,234,.93));
  opacity: 0;
}
.sd-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* htmlに背景があると negative z-index canvas が隠れる。bodyは透過必須 */
html { background: none !important; }
body { background: transparent !important; }

/* ----- 共通トークン上書き（consultation / portfolio：変数ベース） ----- */
:root {
  --bg: #f6f2ea;
  --bg-alt: #efe9dc;
  --border: rgba(27, 24, 19, .14);
  --accent: #c73a1d;            /* インディゴ → 朱 */
  --font-serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;

  /* seminar 用グレースケール → 和紙の濃淡へ */
  --white: #fbf8f1;
  --gray-50: #f3eee3;
  --gray-100: #efe9dc;
  --gray-200: #e0d8c5;
  --gray-400: #a39b8a;
  --gray-600: #5a5446;
  --gray-800: #1b1813;
  --accent-dark: #a52f15;
  --blue: #17184B;              /* さだめの藍 */
  --blue-light: #edeae1;
}

/* ----- 見出しは明朝に ----- */
h1, h2, h3 {
  font-family: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif !important;
  letter-spacing: .03em;
}

/* ----- 固定バー類を和紙の半透明に ----- */
.topbar, .header {
  background: rgba(246, 242, 234, .92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 24, 19, .12) !important;
}

/* ----- フッターも和紙に ----- */
footer, .footer {
  background: rgba(246, 242, 234, .88) !important;
  color: #1b1813 !important;
}
footer a, .footer a { color: inherit !important; }

@media (prefers-reduced-motion: reduce) {
  body { background: #f6f2ea !important; }
}
