/* ============================================================
   合同会社レイバーエンズ — Brand site (rev.2026-06-13d)
   Dark editorial / premium typography
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f4f1;
  --ink: #0c0c0d;
  --ink-soft: #2a2a2c;
  --text: #15151a;
  --muted: #74747c;
  --line: rgba(12, 12, 13, 0.12);
  --line-soft: rgba(12, 12, 13, 0.07);
  --card: #ffffff;
  --accent: #c2522d;
  --accent-deep: #a8431f;
  --on-dark: #f4f4f2;
  --on-dark-muted: rgba(244, 244, 242, 0.66);
  --on-dark-line: rgba(244, 244, 242, 0.16);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --latin: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.grain { display: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(22px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 22px 40px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--latin);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.3; }
.brand-jp { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; }
.brand-en {
  font-family: var(--latin);
  font-style: italic;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.nav-links { display: flex; gap: 34px; margin-left: auto; font-size: 0.86rem; font-weight: 500; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink-soft); letter-spacing: 0.06em; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.3s var(--ease);
}
.nav-cta span { transition: transform 0.3s var(--ease); }
.nav-cta:hover { background: var(--accent-deep); }
.nav-cta:hover span { transform: translateX(4px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  font-family: var(--latin);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.section-head.center .eyebrow { justify-content: center; }
.eyebrow.light { color: #fff; }
.eyebrow.light::before { background: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; }
h1, h2, h3, h4, p { margin-top: 0; }

h2 {
  margin: 0 0 28px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.section { position: relative; z-index: 2; padding: clamp(94px, 12vw, 162px) 0; }
.section-head { max-width: 760px; margin-bottom: 70px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-desc { margin: 0; color: var(--muted); font-size: 1rem; line-height: 2.15; letter-spacing: 0.04em; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; padding: clamp(78px, 11vw, 138px) 0 0; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 40px clamp(56px, 7vw, 98px); }
.hero-title {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.3vw, 3.6rem);
  line-height: 1.58;
  letter-spacing: 0.055em;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title em { font-style: normal; color: var(--accent); }
.lead {
  max-width: 620px;
  margin: 0 0 46px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.04em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 68px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-deep); transform: translateY(-3px); }
.button.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.button.ghost:hover { border-color: var(--text); transform: translateY(-3px); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 46px;
  margin: 0;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-meta li { display: flex; align-items: baseline; gap: 13px; font-weight: 500; font-size: 0.94rem; letter-spacing: 0.04em; }
.hero-meta span { font-family: var(--latin); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--accent); }

/* ticker */
.hero-ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); color: var(--on-dark); }
.ticker-track { display: inline-flex; align-items: center; gap: 32px; padding: 18px 0; white-space: nowrap; animation: ticker 42s linear infinite; }
.ticker-track span { font-family: var(--latin); font-weight: 500; font-size: 1.45rem; letter-spacing: 0.18em; text-transform: uppercase; }
.ticker-track i { color: var(--accent); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.problem-section { background: var(--ink); color: var(--on-dark); }
.problem-section h2 { color: var(--on-dark); }
.problem-section .section-desc { color: var(--on-dark-muted); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--on-dark-line); }
.problem-grid article { padding: 50px 40px 50px 0; border-bottom: 1px solid var(--on-dark-line); }
.problem-grid article:not(:last-child) { border-right: 1px solid var(--on-dark-line); padding-right: 40px; }
.problem-grid article + article { padding-left: 40px; }
.problem-grid .idx { display: block; margin-bottom: 26px; font-family: var(--latin); font-style: italic; font-weight: 500; font-size: 2.4rem; color: var(--accent); }
.problem-grid h3 { margin-bottom: 16px; font-weight: 700; font-size: 1.42rem; line-height: 1.55; color: var(--on-dark); }
.problem-grid p { margin: 0; color: var(--on-dark-muted); font-size: 0.96rem; }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.support-card { position: relative; padding: 52px 42px; background: var(--card); transition: background 0.4s var(--ease); }
.support-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.support-card:hover { background: #faf9f6; }
.support-card:hover::before { transform: scaleX(1); }
.card-number { display: block; margin-bottom: 24px; font-family: var(--latin); font-style: italic; font-weight: 500; font-size: 2rem; color: var(--accent); }
.support-card h3 { margin-bottom: 16px; font-weight: 700; font-size: 1.36rem; line-height: 1.55; }
.support-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Reason ---------- */
.reason-section { background: var(--ink); color: var(--on-dark); }
.reason-section h2 { color: var(--on-dark); }
.reason-section .section-desc { color: var(--on-dark-muted); }
.reason-wrap { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 76px; align-items: start; }
.reason-copy { position: sticky; top: 130px; }
.reason-list { display: grid; gap: 0; }
.reason-list article { display: grid; grid-template-columns: 88px 1fr; gap: 26px; padding: 42px 0; border-top: 1px solid var(--on-dark-line); }
.reason-list article:last-child { border-bottom: 1px solid var(--on-dark-line); }
.reason-list .r-num { font-family: var(--latin); font-style: italic; font-weight: 500; font-size: 2.3rem; color: var(--accent); line-height: 1; }
.reason-list h3 { margin-bottom: 14px; font-weight: 700; font-size: 1.5rem; color: var(--on-dark); }
.reason-list p { margin: 0; color: var(--on-dark-muted); }

/* ---------- Recruit ---------- */
.recruit-section { background: var(--bg-2); }
.block-title { display: flex; align-items: baseline; gap: 20px; margin: 0 0 36px; font-family: var(--serif); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.04em; }
.block-en { font-family: var(--latin); font-style: italic; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.08em; color: var(