/*
 * NOKID 制作進行採用LP — スタイル基盤（モバイルファースト）
 * 設計方針: 速度最優先 / 1ファイル / システムフォント中心 / CLS防止
 * カラー: 黒 × ティール（ブランド） × ライム（アクセント/CTA）
 */

/* ── デザイントークン ───────────────────────────────────────── */
:root {
  /* Color */
  --ink:        #0c0d10;   /* 近黒: 主背景/テキスト */
  --ink-2:      #15171c;   /* ダークセクション */
  --teal:       #1f7a64;   /* ブランドティール */
  --teal-deep:  #04201a;   /* 深いティール */
  --teal-light: #5dcaa5;   /* 明るいティール */
  --lime:       #c8ff3d;   /* アクセント/CTA */
  --paper:      #f5f5f5;   /* ライト背景 */
  --white:      #ffffff;
  --gray:       #6b7280;   /* サブテキスト */
  --gray-light: #9ca3af;
  --line:       rgba(12, 13, 16, 0.10); /* 区切り線 */
  --line-dark:  rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN",
             "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Inter", var(--font-jp);

  /* Layout */
  --maxw: 1080px;
  --gutter: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── リセット ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.3; letter-spacing: 0.01em; margin: 0; font-weight: 700; }
/* 日本語の折返しを文節単位で賢く（非対応ブラウザは無視） */
.hero__title, .section-title, .hero__sub { word-break: auto-phrase; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── レイアウトユーティリティ ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: 64px;
}
.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--paper {
  background: var(--paper);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--lime); }
.section-title {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  margin-bottom: 16px;
}
.section-lead {
  color: var(--gray);
  font-size: 0.975rem;
  max-width: 48em;
}
.section--dark .section-lead { color: var(--gray-light); }

/* ── ボタン / CTA ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
  min-height: 44px; /* タップターゲット確保 */
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--lime);
  color: var(--ink);
}
.btn--primary:hover { background: #d6ff63; }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--block { width: 100%; }

/* ── ヘッダー（固定・最小） ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 16, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
}
.site-header__logo img {
  height: 19px;
  width: auto;
  /* ダーク1色のワードマークを白に */
  filter: brightness(0) invert(1);
}
.site-header__cta { display: none; } /* 旧: スマホは下部固定CTAに集約 */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__apply {
  padding: 8px 16px;
  min-height: 38px;
  font-size: 0.85rem;
  border-radius: 11px;
}

/* ── ヘッダーのセクション移動メニュー（=） ───────────────── */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--white);
}
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.nav-toggle__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.nav-toggle[aria-expanded="true"] { color: var(--lime); border-color: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(3.5px) rotate(13deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { transform: translateY(-3.5px) rotate(-13deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: var(--gutter);
  width: min(280px, calc(100vw - 32px));
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav-menu.is-open { opacity: 1; transform: none; }
.nav-menu ul { display: grid; gap: 2px; }
.nav-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.nav-menu__cta {
  margin-top: 4px;
  background: var(--lime) !important;
  color: var(--ink) !important;
  text-align: center;
  font-weight: 700;
}
.nav-menu__cta:hover { background: #d6ff63 !important; }

/* ── ヒーロー（テキスト入りKV・全面表示・無切り抜き） ──────── */
.hero-banner {
  background: var(--ink);
  line-height: 0; /* 画像下の余白防止 */
  display: flex;
  justify-content: center;
}
.hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
  /* ヘッダー(60px)を除いたファーストビューに画像全体（文字含む）を収める。
     画面より画像が縦長になる場合は高さに合わせて縮小し、左右はinkで余白。 */
  max-width: 1920px;
  max-height: calc(100vh - 60px);
  object-fit: contain;
  margin-inline: auto;
}

/* ── ヒーロー（旧・文字オーバーレイ版／未使用） ───────────── */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 88vh, 760px);
  padding-block: 72px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  object-position: 72% center; /* キャラ（右寄り）を残す */
  width: 100%;
  height: 100%;
}
/* 可読性のためのグラデscrim（KVは主役なので“薄敷き”ではなく勾配で抜く） */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(12,13,16,0.84) 0%,
      rgba(12,13,16,0.56) 30%,
      rgba(12,13,16,0.52) 56%,
      rgba(12,13,16,0.90) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  /* 「飯田から、」＋「日本のクリエイティブをつくる。」が常に2行で収まるサイズ */
  font-size: clamp(1.05rem, 5.7vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.hero__title .accent { color: var(--lime); }
.hero__sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #eafff4;
  background: rgba(12, 13, 16, 0.42);
  backdrop-filter: blur(2px);
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 実績ロゴ帯 ────────────────────────────────────────────── */
.clients {
  background: var(--white);
  padding-block: 40px;
  overflow: hidden;
}
.clients__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin: 0 0 24px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  /* 端のフェードでループの継ぎ目をなじませる */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee + .marquee { margin-top: 16px; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 64s linear infinite;
}
.marquee__track img {
  height: 30px;
  width: auto;
  display: block;
  flex: none;
  padding-right: 8px;
}
.marquee--rev .marquee__track {
  animation-direction: reverse;
  animation-duration: 52s;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
@media (min-width: 640px) {
  .marquee__track img { height: 38px; }
}

/* PC専用の改行（モバイルでは無効化して自然折返し） */
.br-pc { display: none; }
@media (min-width: 560px) { .br-pc { display: inline; } }

/* ── 作品ギャラリー（主役） ───────────────────────────────── */
.works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.10); }
.work-card__body { padding: 14px 16px 18px; }
.work-card__client {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 4px;
}
.work-card__title { font-size: 0.98rem; line-height: 1.5; }

/* ── lite-video（実績ループ映像） ─────────────────────────── */
.lvid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink-2) center/cover no-repeat;
  overflow: hidden;
}
.lvid__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.lvid.is-playing .lvid__video { opacity: 1; }
.lvid--tap { cursor: pointer; }
.lvid--tap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}
.lvid--tap.is-playing::after { display: none; }
.lvid__play {
  position: absolute;
  z-index: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--lime);
}
.lvid__play::before {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--ink);
}
.lvid.is-playing .lvid__play { display: none; }

/* ── lite-yt（YouTube遅延読み込み） ───────────────────────── */
.lyt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink-2) center/cover no-repeat;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lyt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s var(--ease);
}
.lyt:hover::after { background: rgba(0, 0, 0, 0.30); }
.lyt__play {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--lime);
  display: block;
}
.lyt__play::before {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}
.lyt--active { cursor: default; }
.lyt--active::after { display: none; }
.lyt__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── ハブ図（クリエイティブ ⇄ 制作進行 ⇄ ビジネス）単色 ───── */
.bridge {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 32px;
}
.bridge__side, .bridge__hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.bridge__side {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(12, 13, 16, 0.04);
}
.bridge__hub {
  /* ハブ＝ブランドのライム面（文字は黒）。白地で最も映える */
  border: 1px solid var(--lime);
  background: var(--lime);
  box-shadow: 0 8px 20px rgba(200, 255, 61, 0.30);
}
.bridge__cap {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.bridge__hub .bridge__cap { color: var(--teal-deep); }
.bridge__name { font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.bridge__hub .bridge__name { font-size: 1.1rem; color: var(--ink); }
.bridge__arrow {
  color: var(--teal);
  font-size: 1.2rem;
  text-align: center;
  line-height: 1;
}
@media (min-width: 760px) {
  .bridge { flex-direction: row; align-items: stretch; }
  .bridge__side, .bridge__hub {
    flex: 1;
    justify-content: center;
  }
  .bridge__hub { flex: 1.1; }
  .bridge__arrow { display: flex; align-items: center; }
}

/* ── 仕事内容 / 役割カード（A〜D） ────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  /* 立体感: 2層シャドウ＋ホバーで浮く */
  box-shadow: 0 1px 2px rgba(12, 13, 16, 0.04), 0 8px 22px rgba(12, 13, 16, 0.05);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(12, 13, 16, 0.06), 0 16px 34px rgba(12, 13, 16, 0.10);
}
.role-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(31, 122, 100, 0.10);
  color: var(--teal);
  margin-bottom: 12px;
}
.role-card__icon svg { width: 24px; height: 24px; }
.role-card__tag {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.85rem;
}
.section--dark .role-card__tag { color: var(--lime); }
.role-card__title { font-size: 1.1rem; margin: 6px 0 12px; }
.role-card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--gray);
}
.section--dark .role-card__list li { color: var(--gray-light); }
.role-card__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.section--dark .role-card__list li::before { background: var(--lime); }

/* ── 工程フロー（企画→プリプロ→制作→納品） ───────────────── */
.flow { margin-top: 40px; }
.flow__lead {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.flow__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(12, 13, 16, 0.04);
}
.flow__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.08em;
}
.flow__title { font-size: 1.05rem; margin: 4px 0 6px; color: var(--ink); }
.flow__desc { color: var(--gray); font-size: 0.88rem; }
/* 縦並び時のつなぎ矢印 */
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  width: 2px; height: 12px;
  background: var(--teal-light);
  transform: translateX(-50%);
}
.flow__hub {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(31,122,100,0.10), rgba(200,255,61,0.18));
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}
@media (min-width: 760px) {
  .flow__steps { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .flow__step:not(:last-child)::after {
    left: auto; right: -7px; bottom: auto; top: 50%;
    width: 10px; height: 2px;
    transform: translateY(-50%);
  }
}

/* ── 働く環境 写真 ────────────────────────────────────────── */
.env-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
.env-photos__item { margin: 0; }
.env-photos__item img {
  width: 100%;
  /* 元画像の縦横比が違っても、常に同じ高さで揃える */
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
}
.env-photos__item figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--gray);
}
@media (min-width: 640px) {
  .env-photos { grid-template-columns: 1fr 1fr; }
}

/* ── 求める人物像チェックリスト ──────────────────────────── */
.checklist { margin-top: 28px; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  /* 立体感: 2層シャドウ＋ホバーで浮く */
  box-shadow: 0 1px 2px rgba(12, 13, 16, 0.04), 0 6px 16px rgba(12, 13, 16, 0.05);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.checklist li:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(12, 13, 16, 0.06), 0 12px 26px rgba(12, 13, 16, 0.09);
}
.checklist li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  flex: none;
}

/* ── 募集要項テーブル ──────────────────────────────────────── */
.spec { margin-top: 28px; border-top: 1px solid var(--line); }
.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.spec__key { font-weight: 700; font-size: 0.9rem; }
.spec__val { color: var(--gray); font-size: 0.95rem; }

/* ── FAQ アコーディオン ───────────────────────────────────── */
.faq { margin-top: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.4rem;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 0 18px; color: var(--gray); font-size: 0.95rem; }

/* ── 応募フォーム ──────────────────────────────────────────── */
.form { margin-top: 28px; display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--teal); font-size: 0.8rem; margin-left: 4px; }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: transparent;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; } /* honeypot */
.form__note { font-size: 0.8rem; color: var(--gray); }
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  cursor: pointer;
}
.form__consent input {
  width: 18px; height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--teal);
}
.form__status {
  font-size: 0.9rem;
  color: var(--teal);
  min-height: 1.2em;
}
.form__status.is-error { color: #d23f3f; }

/* ── フッター ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--gray-light);
  padding-block: 40px;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer__logo {
  height: 26px;
  width: auto;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
}
.site-footer__mission {
  color: var(--teal-light);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.site-footer__info {
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: left;
  display: grid;
  gap: 12px;
}
.site-footer__info > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line-dark);
  padding-top: 12px;
}
.site-footer__info dt {
  font-weight: 700;
  color: var(--gray-light);
  font-size: 0.78rem;
}
.site-footer__info dd {
  margin: 0;
  color: var(--gray-light);
  font-size: 0.82rem;
  line-height: 1.7;
}
.site-footer__copy { font-size: 0.78rem; opacity: 0.8; }

/* ── スマホ固定CTA ────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 13, 16, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-dark);
}

/* ── スクロール演出（控えめ） ─────────────────────────────── */
/* 既定は表示。JS有効時(.has-js)のみ初期非表示→is-visibleで出現。
   → JS/IntersectionObserverが動かなくてもコンテンツは必ず見える */
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.has-js .reveal:not(.is-visible) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── タブレット以上 ───────────────────────────────────────── */
@media (min-width: 640px) {
  .section { padding-block: 88px; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .spec__row { grid-template-columns: 200px 1fr; gap: 16px; }
}
@media (min-width: 960px) {
  .site-header__cta { display: inline-flex; }
  .sticky-cta { display: none; } /* PCはヘッダーCTAに集約 */
  .works__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__actions { gap: 16px; }
  /* 左に文字・右にキャラを活かす横勾配 */
  .hero__scrim {
    background:
      linear-gradient(90deg,
        rgba(12,13,16,0.92) 0%,
        rgba(12,13,16,0.62) 42%,
        rgba(12,13,16,0.20) 72%,
        rgba(12,13,16,0.05) 100%);
  }
  .hero__sub { max-width: 30em; }
}
