/* CRESCERE — corporate one-pager */

:root {
  --bg: #0a0812;
  --bg-soft: #120e1e;
  --ink: #f2eee9;
  --ink-dim: rgba(242, 238, 233, 0.58);
  --ink-faint: rgba(242, 238, 233, 0.50); /* WCAG AA: --bg 上で 4.7:1。0.34 は 2.76:1 で不合格 */
  --gold: #e6c17b;
  --kanon: #e8a0b8;
  --mori: #7fd8c4;
  --line: rgba(242, 238, 233, 0.10);
  --serif: 'Shippori Mincho B1', serif;
  --latin: 'Cormorant Garamond', serif;
  --sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic Medium', 'Yu Gothic', Meiryo, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.9;
}

.mono { font-family: var(--mono); letter-spacing: 0.12em; }
a { color: inherit; text-decoration: none; }
.pc-only { display: inline; }

/* ═══════════ 背景 ═══════════ */
.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  display: block;
  background:
    radial-gradient(ellipse 80% 55% at 70% 15%, #1a1030 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 20% 90%, #14101f 0%, transparent 65%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 30;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ═══════════ ヘッダー ═══════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(10, 8, 18, 0.82), transparent);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}
.brand__mark { width: 24px; height: 24px; }
.brand__name {
  font-family: var(--latin);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.34em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 11px;
  color: var(--ink-dim);
}
.site-nav a { transition: color 0.3s; }
.site-nav a:hover { color: var(--gold); }
.lang-toggle {
  color: var(--gold);
  border: 1px solid rgba(230, 193, 123, 0.4);
  border-radius: 999px;
  padding: 2px 12px;
}

/* ═══════════ Hero ═══════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 6vw, 96px);
  position: relative;
}

.hero__eyebrow {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.28em;
  margin-bottom: clamp(20px, 3vh, 36px);
}

.hero__title {
  font-weight: 600;
  font-size: clamp(38px, 8.4vmin, 92px);
  line-height: 1.32;
  letter-spacing: 0.06em;
}
.hero__line { display: block; }
.hero__line--indent { padding-left: clamp(24px, 6vw, 96px); }

.hero__lead {
  margin-top: clamp(24px, 4vh, 44px);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(to right, var(--ink-faint), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scroll-sweep 2.6s ease-in-out infinite;
}
@keyframes scroll-sweep {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ═══════════ セクション共通 ═══════════ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 14vh, 160px) clamp(20px, 4vw, 48px) 0;
}

.section__eyebrow {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.28em;
  margin-bottom: 14px;
}

.section__title {
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 46px);
  letter-spacing: 0.08em;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.section__lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--ink-dim);
  max-width: 640px;
  margin: -20px 0 clamp(40px, 6vh, 64px);
}

/* ガラスカード */
.glass {
  background: rgba(242, 238, 233, 0.035);
  border: 1px solid var(--line);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s, background 0.5s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 193, 123, 0.35);
  background: rgba(242, 238, 233, 0.055);
}
.card__label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.card__title {
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 21px);
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 14px;
}
.card__body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 2;
}
.card__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  transition: opacity 0.3s;
}
.card__link:hover { opacity: 0.7; }

/* ═══════════ Mission ═══════════ */
.mission-card {
  padding: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.mission-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse closest-side, rgba(230, 193, 123, 0.10), transparent);
  pointer-events: none;
}
.mission-card__label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 18px;
}
.mission-card__statement {
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  background: linear-gradient(100deg, var(--ink) 30%, var(--gold) 75%, var(--ink) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mission-card__body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-dim);
  max-width: 620px;
  line-height: 2.1;
}

.values { margin-top: 20px; }
.values__label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin: 36px 0 8px;
}
.values__list { list-style: none; }
.values__list li {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.values__num {
  font-size: 11px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.values__list h4 {
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.values__list p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-dim);
}

/* ═══════════ Works ═══════════ */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(72px, 10vh, 120px);
}
.work--flip .work__visual { order: 2; }
.work--flip .work__text { order: 1; }

.work__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.6s;
}
a.work__visual:hover { transform: scale(1.015); }
.work__visual--kanon {
  background:
    radial-gradient(ellipse 70% 60% at 50% 80%, rgba(232, 160, 184, 0.18), transparent 65%),
    linear-gradient(to bottom, #0d0918 0%, #1c1026 60%, #241226 100%);
  color: var(--kanon);
}
a.work__visual--kanon:hover { border-color: rgba(232, 160, 184, 0.45); }
.work__visual--mori {
  background:
    radial-gradient(ellipse 70% 55% at 50% 85%, rgba(127, 216, 196, 0.16), transparent 65%),
    linear-gradient(to bottom, #081210 0%, #0e1f1a 60%, #12241c 100%);
  color: var(--mori);
}
/* KODOU: 黒 × 白金の粒子空間（作品美学を踏襲） */
a.work__visual--kodou:hover { border-color: rgba(242, 238, 233, 0.4); }
.work__visual--kodou {
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, rgba(242, 238, 233, 0.10), transparent 65%),
    linear-gradient(to bottom, #060509 0%, #0b0a12 60%, #0e0c14 100%);
  color: rgba(242, 238, 233, 0.88);
}

.work__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work__visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.work__motif {
  width: clamp(56px, 7vw, 84px);
  height: clamp(56px, 7vw, 84px);
  opacity: 0.9;
  filter: drop-shadow(0 0 18px currentColor);
}
.work__badge {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--mori);
  border: 1px solid rgba(127, 216, 196, 0.45);
  border-radius: 999px;
  padding: 5px 16px;
  background: rgba(8, 18, 16, 0.5);
}

.work__eyebrow {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
/* 音楽の三要素ラベル（HARMONY / MELODY / RHYTHM） */
.work__element {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-top: 10px;
}
.work__badge--kodou {
  color: var(--ink-dim);
  border-color: var(--line);
  background: rgba(10, 8, 18, 0.5);
}
.work__name {
  font-family: var(--latin);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: 0.22em;
  line-height: 1.2;
}
.work__kanji {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.42em;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  vertical-align: middle;
  margin-left: 10px;
}
.work__tagline {
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.1em;
  margin: 10px 0 18px;
}
.work .work__tagline { color: var(--kanon); }
.work--flip .work__tagline { color: var(--mori); }
.work--kodou .work__tagline { color: rgba(242, 238, 233, 0.88); }
.work__body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2.05;
  margin-bottom: 20px;
}
.work__intent {
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 22px;
}
.work__intent-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 8px;
}
.work__intent-body {
  font-size: 13.5px;
  line-height: 2.05;
  color: rgba(242, 238, 233, 0.78);
}
.work__link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--kanon);
  border-bottom: 1px solid rgba(232, 160, 184, 0.4);
  padding-bottom: 3px;
  transition: opacity 0.3s;
}
.work__link:hover { opacity: 0.7; }
.work__link--mori {
  color: var(--mori);
  border-bottom-color: rgba(127, 216, 196, 0.4);
}
.work__link--soon {
  color: var(--ink-faint);
  border-bottom-color: var(--line);
}
.work__link--kodou {
  color: rgba(242, 238, 233, 0.88);
  border-bottom-color: rgba(242, 238, 233, 0.35);
}
.work__link--gold {
  color: var(--gold);
  border-bottom-color: rgba(230, 193, 123, 0.4);
}

/* ═══════════ Insights ═══════════ */
.insights-grid { align-items: stretch; }
.insight-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s, background 0.5s;
}
a.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 193, 123, 0.35);
  background: rgba(242, 238, 233, 0.055);
}
.insight-card__tag {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.24em;
  margin-bottom: 16px;
}
.insight-card__title {
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.insight-card__excerpt {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.95;
  flex-grow: 1;
}
.insight-card__more {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.insight-card--soon { opacity: 0.55; }
.insight-card--soon .insight-card__tag { color: var(--ink-faint); }
.insight-card--soon .insight-card__more { color: var(--ink-faint); }

/* ═══════════ Company ═══════════ */
.company {
  padding: clamp(28px, 4vw, 48px);
}
.company__table { display: grid; gap: 0; }
.company__table > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.company__table dt {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.company__table dd {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
}
.company__contact {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  border: 1px solid rgba(230, 193, 123, 0.4);
  border-radius: 999px;
  padding: 12px 30px;
  transition: background 0.4s, color 0.4s;
}
.company__contact:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ═══════════ 記事ページ ═══════════ */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 40px) 0;
}
.article__back {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  margin-bottom: 40px;
  transition: color 0.3s;
}
.article__back:hover { color: var(--gold); }
.article__tag {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.24em;
  margin-bottom: 18px;
}
.article__title {
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.article__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article__lead {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2;
  color: rgba(242, 238, 233, 0.88);
  margin-bottom: 44px;
}
.article__body { font-family: var(--sans); font-weight: 300; }
.article__body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.04em;
  margin: 56px 0 20px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  line-height: 1.6;
}
.article__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  margin: 36px 0 14px;
  color: var(--ink);
}
.article__body p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.article__body strong { color: var(--ink); font-weight: 400; }
.article__body a {
  color: var(--gold);
  border-bottom: 1px solid rgba(230, 193, 123, 0.35);
  transition: opacity 0.3s;
}
.article__body a:hover { opacity: 0.7; }
.article__body ul {
  list-style: none;
  margin: 0 0 24px;
}
.article__body ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* 研究カード（各論文の要約） */
.study {
  padding: 24px 26px;
  border-radius: 14px;
  margin: 24px 0;
}
.study__head {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.study__cite {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 12px;
}
.study__finding {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.study__caveat {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-faint);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.study__caveat b { color: var(--gold); font-weight: 400; }

/* 言えること・言えないこと */
.claims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.claims__box { padding: 22px 24px; border-radius: 14px; }
.claims__box h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.claims__box--can h4 { color: var(--mori); }
.claims__box--cannot h4 { color: var(--kanon); }
.claims__box ul { margin: 0; }
.claims__box li { font-size: 13px; line-height: 1.9; }

/* 参考文献 */
.refs {
  margin: 48px 0;
  padding: 28px 26px;
  border-radius: 14px;
}
.refs h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 18px;
  border: none;
  padding: 0;
}
.refs ol {
  margin: 0;
  padding-left: 22px;
  font-family: var(--sans);
  font-weight: 300;
}
.refs li {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.refs a { word-break: break-all; }

.article__disclaimer {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-faint);
  padding: 20px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .claims { grid-template-columns: 1fr; }
}

/* ═══════════ アンビエント音トグル ═══════════ */
.ambient-toggle {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(230, 193, 123, 0.32);
  border-radius: 999px;
  background: rgba(12, 9, 20, 0.62);
  color: var(--ink-dim);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.ambient-toggle:hover {
  border-color: rgba(230, 193, 123, 0.6);
  color: var(--ink);
}
.ambient-toggle.is-on {
  border-color: rgba(230, 193, 123, 0.7);
  color: var(--gold);
  background: rgba(230, 193, 123, 0.10);
}

.ambient-toggle__waves {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}
.ambient-toggle__waves span {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.75;
}
/* ON のときだけ波が上下してオーディオが鳴っていることを示す */
.ambient-toggle.is-on .ambient-toggle__waves span {
  animation: ambient-wave 1.1s ease-in-out infinite;
}
.ambient-toggle.is-on .ambient-toggle__waves span:nth-child(2) { animation-delay: 0.18s; }
.ambient-toggle.is-on .ambient-toggle__waves span:nth-child(3) { animation-delay: 0.36s; }
.ambient-toggle.is-on .ambient-toggle__waves span:nth-child(4) { animation-delay: 0.54s; }
@keyframes ambient-wave {
  0%, 100% { height: 4px; }
  50% { height: 13px; }
}

.ambient-toggle__label {
  font-size: 11px;
  letter-spacing: 0.16em;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-toggle.is-on .ambient-toggle__waves span { animation: none; height: 9px; }
}

/* ═══════════ 事業紹介ページ（automation） ═══════════ */
.auto-grid { margin: 8px 0 8px; }
.auto-card {
  padding: clamp(28px, 3.2vw, 38px);
  display: flex;
  flex-direction: column;
}
/* バッジはカード上部の pill（色付き背景）。タイトルの上に置くと狭幅でも崩れない */
.auto-card__badge {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
  white-space: nowrap;
}
.auto-card__badge--live {
  color: var(--mori);
  border: 1px solid rgba(127, 216, 196, 0.45);
  background: rgba(127, 216, 196, 0.07);
}
.auto-card__badge--prep {
  color: var(--gold);
  border: 1px solid rgba(230, 193, 123, 0.45);
  background: rgba(230, 193, 123, 0.07);
}
.auto-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.auto-card__body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink-dim);
  flex-grow: 1;
}
/* 補足（何を代替したか）は斜体・淡色で「注記」感を出し、本文と区別する */
.auto-card__replace {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.9;
  color: var(--ink-faint);
  letter-spacing: 0;
}

/* 私たちのやり方 */
.way {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px) clamp(28px, 5vw, 56px);
  margin: 8px 0 8px;
}
.way__item {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.way__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.way__body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--ink-dim);
}

/* これから（ロードマップ） */
.roadmap {
  padding: clamp(26px, 4vw, 40px);
  margin: 8px 0 8px;
}
.roadmap__list {
  list-style: none;
  margin-bottom: 22px;
}
.roadmap__list li {
  position: relative;
  padding-left: 26px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 16px;
}
.roadmap__list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.roadmap__note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 2;
  color: var(--ink-dim);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* CTA */
.cta {
  text-align: center;
  margin: clamp(48px, 8vh, 80px) 0 8px;
}
.cta__text {
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.cta__link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  border: 1px solid rgba(230, 193, 123, 0.5);
  border-radius: 999px;
  padding: 13px 34px;
  transition: background 0.4s, color 0.4s;
}
.cta__link:hover { background: var(--gold); color: var(--bg); }

@media (max-width: 880px) {
  .way { grid-template-columns: 1fr; }
}

/* ═══════════ お問い合わせフォーム ═══════════ */
.contact {
  margin-top: 20px;
  padding: clamp(28px, 4vw, 48px);
}
.contact__eyebrow {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}
.contact__note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 2;
  margin-bottom: 30px;
  max-width: 620px;
}
.contact__note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(230, 193, 123, 0.35);
}
.contact__note a:hover { opacity: 0.7; }

.contact__form { display: flex; flex-direction: column; gap: 18px; }
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact__field { display: flex; flex-direction: column; gap: 8px; }
.contact__label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}
.contact__label em {
  color: var(--kanon);
  font-style: normal;
}
.contact__field input,
.contact__field select,
.contact__field textarea {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  background: rgba(8, 6, 16, 0.5);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
}
.contact__field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.contact__field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23998' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: rgba(230, 193, 123, 0.55);
  background: rgba(8, 6, 16, 0.75);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: var(--ink-faint); }

/* ハニーポットは視覚的に隠す（display:none だと一部botに見抜かれるため画面外へ） */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.contact__submit {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(230, 193, 123, 0.5);
  border-radius: 999px;
  padding: 13px 34px;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, opacity 0.3s;
}
.contact__submit:hover { background: var(--gold); color: var(--bg); }
.contact__submit:disabled { opacity: 0.45; cursor: default; }
.contact__submit:disabled:hover { background: transparent; color: var(--gold); }
.contact__status {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.contact__status.is-error { color: var(--kanon); }
.contact__status.is-ok { color: var(--mori); }

@media (max-width: 880px) {
  .contact__row { grid-template-columns: 1fr; }
}

/* ═══════════ フッター ═══════════ */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  /* 下余白は fixed の音トグル（下オフセット+高さ ≈ 70px）より深く取り、最下部でリンクが隠れないようにする */
  padding: clamp(64px, 10vh, 110px) clamp(20px, 4vw, 48px) 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.16em;
}
.site-footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: var(--gold); }

/* ═══════════ リビール ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ═══════════ レスポンシブ ═══════════ */
@media (max-width: 880px) {
  .site-nav a:not(.lang-toggle) { display: none; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .work, .work--flip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .work--flip .work__visual { order: 0; }
  .work--flip .work__text { order: 1; }
  .company__table > div { grid-template-columns: 96px 1fr; }
  .pc-only { display: none; }
  .hero__title { font-size: clamp(26px, 8vw, 40px); }
  .hero__line--indent { padding-left: 14px; }
  body { line-height: 1.85; }
}

/* ═══════════ reduced motion ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hero__scroll-line::after { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card, a.work__visual { transition: none; }
}
