/* LYX — NOIR & GOLD / 共通のトークンと部品（漆黒・真鍮の金・明朝） */
:root {
  --ink: #0a0908;
  --ink-2: #110f0d;
  --ink-3: #1a1714;
  --ink-4: #27221c;
  --paper: #f2ebdc;
  --paper-2: #e8dfcb;
  --paper-3: #d8ccb2;
  --mute-d: #aca28f;
  --mute-l: #5b5345;
  --sig: #c9a66b;
  --sig-2: #e6cd98;
  --sig-ink: #6f521f;
  --line-d: rgba(201, 166, 107, 0.2);
  --line-l: rgba(10, 9, 8, 0.16);
  --f-disp: "Cormorant Garamond", "Shippori Mincho B1", serif;
  --f-label: "Cinzel", "Cormorant Garamond", serif;
  --f-min: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --r: 1px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; font-variant-numeric: lining-nums; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; }
ul, ol { padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); letter-spacing: 0.08em; font-feature-settings: normal; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sig); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; }
.sp { display: none; }
@media (max-width: 720px) { .sp { display: inline; } .pc { display: none; } }

/* ---- ロゴ ---- */
.logo { display: inline-flex; align-items: center; font-family: var(--f-label); font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: 0.3em; margin-right: -0.3em; }
.logo-y { color: var(--sig); }
.logo-xl { font-size: 56px; }

/* ---- ボタン ---- */
.btn {
  --b-bg: transparent; --b-fg: currentColor; --b-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 48px; padding: 0.7em 1.5em;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd); border-radius: var(--r);
  font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.25s;
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sig { --b-bg: linear-gradient(180deg, var(--sig-2), var(--sig) 55%, #b48e52); --b-fg: var(--ink); --b-bd: var(--sig); background: var(--b-bg); box-shadow: 0 10px 30px -14px rgba(201, 166, 107, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-sig:hover { box-shadow: 0 16px 40px -14px rgba(201, 166, 107, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--paper); --b-bd: var(--ink); }
.btn-ink:hover { box-shadow: 0 14px 34px -16px rgba(10, 9, 8, 0.8); }
.btn-line { --b-fg: var(--ink); --b-bd: var(--ink); }
.btn-line:hover { --b-bg: var(--ink); --b-fg: var(--paper); }
.btn-line-ink { --b-fg: var(--paper); --b-bd: var(--paper); }
.btn-line-ink:hover { --b-bg: var(--paper); --b-fg: var(--ink); }
.btn-ghost { --b-fg: currentColor; --b-bd: var(--line-d); }
.btn-danger { --b-bg: transparent; --b-fg: #e8907a; --b-bd: #e8907a; }
.btn-lg { min-height: 60px; padding: 0.8em 1.9em; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0.35em 0.9em; font-size: 13px; }
.btn-block { width: 100%; }
.btn-sub { font-family: var(--f-body); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; padding: 2px 6px; border: 1px solid currentColor; border-radius: var(--r); opacity: 0.85; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* ---- フォーム ---- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-l { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; display: flex; align-items: center; gap: 8px; }
.field-l b, .field-l i { font-style: normal; font-weight: 500; font-size: 11px; padding: 1px 6px; border-radius: var(--r); }
.field-l b { background: var(--sig); color: var(--ink); }
.field-l i { border: 1px solid currentColor; opacity: 0.7; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"],
input[type="datetime-local"], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--line-l); background: #fbf8f2; color: var(--ink);
  font-size: 16px; line-height: 1.6; transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sig); box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.28); }
.check, .radio { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input, .radio input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--sig); flex: none; }
.form-errors { border: 1px solid var(--sig); border-left-width: 4px; padding: 12px 16px; border-radius: var(--r); font-size: 14px; }
.form-errors ul { list-style: disc; padding-left: 1.2em; }
.form-note, .hint { font-size: 13px; opacity: 0.75; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---- 粒子 ---- */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("/assets/img/grain.svg"); background-size: 220px; opacity: 0.16; mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---- 頭文字の印（金の細い輪） ---- */
.mono-disc {
  --h: var(--sig); display: inline-grid; place-items: center; flex: none; width: 48px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--ink-4), var(--ink-2) 70%); position: relative;
  box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.55), inset 0 0 0 3px var(--ink-2), inset 0 0 0 4px rgba(201, 166, 107, 0.22);
}
.mono-disc > span {
  width: 58%; aspect-ratio: 1; border-radius: 50%; color: var(--h);
  display: grid; place-items: center; font-family: var(--f-min); font-weight: 800; font-size: 0.4em; line-height: 1;
}
.mono-disc.xs { width: 26px; font-size: 26px; }
.mono-disc.sm { width: 40px; font-size: 40px; }
.mono-disc.md { width: 56px; font-size: 56px; }
.mono-disc.lg { width: 104px; font-size: 104px; }
.mono-disc { font-size: 48px; }
.hue-0 { --h: #c9a66b; } .hue-1 { --h: #f2ebdc; } .hue-2 { --h: #e6cd98; } .hue-3 { --h: #9fbfa6; }
.hue-4 { --h: #d98a6c; } .hue-5 { --h: #9fb3c8; } .hue-6 { --h: #c9a3c2; } .hue-7 { --h: #c8c26a; }
