@charset "UTF-8";

/* ============================================================
   Black Bull株式会社 / ClaudeCode導入支援 LP
   配色：赤×白 ＋ 引き締め色（チャコール／ニアブラック）
   コントラスト比はいずれも WCAG AA（4.5:1）以上を確認済み
   ============================================================ */

:root {
  /* Brand — ロゴ（assets/logo.png）から抽出した赤を基準色にしている */
  --red:        #E2010E;  /* ロゴの赤。白文字とのコントラスト 4.95:1 */
  --red-dark:   #B80009;  /* hover / active            6.90:1 */
  --red-on-dark:#FF4D4D;  /* 暗背景上のアクセント      5.54:1 */
  --red-tint:   #FEF2F3;
  --cyan:       #00A6B8;  /* グリッチ演出専用。文字色には使わない（装飾のみ） */

  /* Ink / Neutral */
  --ink:      #14161A;
  --charcoal: #22262B;
  --body:     #3F444B;  /* 白背景上 9.8:1 */
  --muted:    #5D636B;  /* 白背景上 6.1:1 */
  --on-dark:      #FFFFFF;
  --on-dark-soft: #C7CBD1; /* --ink 上 11.1:1 */

  /* Surface */
  --bg:      #FFFFFF;
  --bg-soft: #F6F7F8;
  --line:    #E3E6EA;
  --line-dark: rgba(255, 255, 255, .16);

  /* Layout */
  --maxw:  1080px;
  --prose: 760px;
  --header-h: 60px;
  --pad: clamp(1.25rem, 5vw, 2rem);

  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .06), 0 8px 24px rgba(20, 22, 26, .07);

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo,
          system-ui, -apple-system, "Segoe UI", sans-serif;
  /* 英字ラベル用。字間を広く取るので和文フォントとは分ける */
  --en:   "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
  /* 動きを止めても、内容は必ず見えるようにする */
  .hero h1 .ch { opacity: 1 !important; }
  .sec-label::before { transform: none !important; }
  .caret { display: none; }
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container-prose { max-width: calc(var(--prose) + var(--pad) * 2); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

/* 見出しの改行制御。br-mb はスマホでのみ改行させる */
.br-mb { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.45;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: .85em 1.6em;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(226, 1, 14, .28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-sm { font-size: .875rem; padding: .6em 1.2em; }
.btn-lg {
  font-size: clamp(.95rem, 3.6vw, 1.0625rem);
  padding: 1.05em 1.8em;
  width: 100%;
  max-width: 420px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px; /* タップ領域を確保 */
  text-decoration: none;
  color: var(--ink);
}
/* ロゴ画像。差し替える場合はこの height だけ調整すれば良い */
.logo-img {
  height: 42px;
  width: auto;
  flex: none;
}
.logo-name {
  font-weight: 800;
  font-size: .9375rem;
  letter-spacing: .01em;
  line-height: 1.25;
}
.logo-suffix {
  font-size: .625rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: .3em;
  letter-spacing: 0;
}
/* 極端に狭い端末では社名テキストを畳み、ロゴだけにする */
@media (max-width: 359px) {
  .logo-name { display: none; }
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex: none;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .5rem var(--pad) 1.25rem;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }

.nav-list li + li { border-top: 1px solid var(--line); }
.nav-list a {
  display: block;
  padding: .9rem .25rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .9375rem;
}
.nav-list a:hover { color: var(--red); }
.nav-cta { margin-top: 1rem; width: 100%; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 11vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }

.section-dark,
.section-cta {
  background: var(--ink);
  color: var(--on-dark-soft);
}
.section-dark .section-title,
.section-cta .cta-title { color: #fff; }

/* 英字ラベル ＋ 日本語見出しの2段構成 */
.sec-label {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--en);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  /* 11px と小さいので、薄いグレー地でも余裕を持たせるため濃いめの赤にする
     （白地 8.21:1 ／ #F6F7F8 地 6.44:1） */
  color: var(--red-dark);
  margin-bottom: clamp(.9rem, 3vw, 1.2rem);
}
.sec-label::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
/* 暗背景（放置コスト／最終CTA）では明るい赤に切り替える（5.54:1） */
.section-dark .sec-label,
.section-cta .sec-label { color: var(--red-on-dark); }
/* 最終CTAは中央揃えなので、ラベルと罫線も中央に置く */
.section-cta .sec-label { justify-content: center; }

.section-title {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  line-height: 1.5;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .005em;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: clamp(1rem, 3.9vw, 1.0625rem);
  color: var(--body);
  margin-bottom: 2.5rem;
  max-width: var(--prose);
}
.section-dark p + p { margin-top: 1.25rem; }

.section-subtitle {
  font-size: clamp(1.0625rem, 4.2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  margin: 3rem 0 1.25rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 9vw, 5rem) 0 clamp(5rem, 12vw, 7rem);
  border-bottom: 1px solid var(--line);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
}

/* 背景①：設計図を思わせる細いグリッド。左上から出て右下へ消える */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(20, 22, 26, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 22, 26, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(125% 95% at 12% 0%, #000 22%, transparent 76%);
          mask-image: radial-gradient(125% 95% at 12% 0%, #000 22%, transparent 76%);
}

/* 背景②：ブランド赤のごく薄いにじみ */
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: -20%;
  right: -14%;
  width: 62vw;
  height: 62vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(226, 1, 14, .10) 0%, rgba(226, 1, 14, 0) 68%);
}

.hero > .container { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(226, 1, 14, .28);
  border-radius: 999px;
  padding: .35em 1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.625rem, 7.2vw, 3rem);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .005em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* タイピング演出。1文字ずつ span で包み、順に表示する。
   span は display:inline のまま扱い、日本語の禁則処理を壊さない。 */
.hero h1 .ch { opacity: 0; }
.hero h1 .ch.on { opacity: 1; }
.hero h1 .ch.hit { animation: chIn .26s steps(3, end) both; }

@keyframes chIn {
  0%   { opacity: 1; text-shadow:  .06em 0 0 var(--red), -.06em 0 0 var(--cyan); }
  50%  { opacity: 1; text-shadow: -.04em 0 0 var(--red),  .04em 0 0 var(--cyan); }
  100% { opacity: 1; text-shadow: none; }
}

/* 打ち終わったあと、たまに一瞬だけRGBがずれる */
.hero h1.settled { animation: glitchPulse 8s ease-in-out 1.4s infinite; }

@keyframes glitchPulse {
  0%, 96%, 100% { text-shadow: none; transform: translate(0, 0); }
  96.6% { text-shadow:  .035em 0 0 var(--red), -.035em 0 0 var(--cyan); transform: translate(-1px, 0); }
  97.4% { text-shadow: -.030em 0 0 var(--red),  .030em 0 0 var(--cyan); transform: translate(1px, 0); }
  98.2% { text-shadow:  .020em 0 0 var(--red), -.020em 0 0 var(--cyan); transform: translate(0, 1px); }
}

.caret {
  display: inline-block;
  width: .07em;
  height: .9em;
  margin-left: .06em;
  vertical-align: -.1em;
  background: var(--red);
  animation: caretBlink 1.05s steps(1, end) infinite;
}
.caret.done { opacity: 0; animation: none; }
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* スクロール誘導 */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: .6rem;
  z-index: 1;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;      /* タップ領域を確保 */
  padding: .5rem 1.25rem;
  font-family: var(--en);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue .chev {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  animation: bob 1.9s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .45; }
  50%      { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

/* 画面端の縦書き英字。本文に被らない幅でのみ出す */
.rail {
  display: none;
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--en);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail-l { left: 1.4rem; }
.rail-r { right: 1.4rem; }

.hero-lead {
  font-size: clamp(1rem, 4.4vw, 1.375rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions { margin-bottom: 2.25rem; }
.hero-note {
  font-size: .8125rem;
  color: var(--muted);
  margin-top: .9rem;
}

.hero-byline {
  font-size: .8125rem;
  line-height: 1.8;
  color: var(--muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* ---------- 課題提起：チェックリスト ---------- */
.check-list { display: grid; gap: .75rem; }
.check-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.1rem 3rem;
  font-size: .9375rem;
  line-height: 1.8;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.5rem;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}

.callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--red-tint);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 700;
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.85;
}

/* ---------- 放置コスト ---------- */
.statement {
  margin-top: 2rem;
  font-size: clamp(1.0625rem, 4.4vw, 1.375rem);
  font-weight: 700;
  line-height: 1.75;
  color: #fff;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.75rem;
}

/* ---------- 補足メモ（控えめな注意書き） ---------- */
.note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.3rem;
  border: 1px dashed #C9CED5;
  border-radius: var(--radius);
  font-size: .875rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- ClaudeCodeでできること ---------- */
.capability-list {
  display: grid;
  gap: 1rem;
  counter-reset: cap;
}
.capability {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 4.6vw, 1.75rem);
}
.capability h3 {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: clamp(1rem, 4.2vw, 1.125rem);
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: .8rem;
}
.capability h3::before {
  counter-increment: cap;
  content: counter(cap, decimal-leading-zero);
  flex: none;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.7;
  color: var(--red-dark); /* 赤地tintの上なので、より暗い赤で 6.31:1 を確保 */
  background: var(--red-tint);
  border: 1px solid rgba(226, 1, 14, .18);
  border-radius: 6px;
  padding: 0 .5em;
}
.capability p { font-size: .9375rem; }

/* ---------- なぜBlack Bullか ---------- */
.reason-list { display: grid; gap: 1.25rem; }
.reason {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 5vw, 2.25rem);
}

/* ---------- カードの手触り（ホバーでわずかに浮く） ---------- */
.reason, .capability, .step, .price-card, .check-list li, .benefit-list li, .faq-item {
  transition: transform .3s cubic-bezier(.2, .8, .2, 1),
              box-shadow .3s cubic-bezier(.2, .8, .2, 1),
              border-color .3s ease;
}
@media (hover: hover) {
  .reason:hover, .capability:hover, .step:hover, .faq-item:hover {
    transform: translateY(-3px);
    border-color: #D2D6DC;
    box-shadow: 0 12px 28px rgba(20, 22, 26, .07);
  }
  .check-list li:hover, .benefit-list li:hover { transform: translateX(3px); }
}
.reason h3 {
  font-size: clamp(1.0625rem, 4.4vw, 1.3125rem);
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1rem;
}
.reason p { font-size: .9375rem; }
.reason p + p { margin-top: 1rem; }

/* ---------- プロセス ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 5vw, 2rem);
}
.step-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: .3em 1em;
  margin-bottom: .9rem;
}
.step h3 {
  font-size: clamp(1.0625rem, 4.4vw, 1.25rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .75rem;
}
.step p { font-size: .9375rem; }

/* ---------- 導入後の変化 ---------- */
.benefit-list { display: grid; gap: .75rem; }
.benefit-list li {
  position: relative;
  padding: 1.05rem 1.2rem 1.05rem 3rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.8;
}
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- 料金 ---------- */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 5vw, 2.25rem);
  box-shadow: var(--shadow);
}
.price-card-title {
  font-size: clamp(1.0625rem, 4.4vw, 1.25rem);
  font-weight: 800;
  color: var(--ink);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--red);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.price-table th,
.price-table td {
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.price-table thead th {
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
  padding-block: .5rem;
}
.price-table tbody th {
  font-weight: 700;
  color: var(--ink);
}
.price-table tbody td {
  text-align: right;
  font-weight: 800;
  color: var(--red);
  font-size: clamp(1rem, 4.2vw, 1.1875rem);
  white-space: nowrap;
}
.price-note {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--muted);
}
.price-sub {
  margin-top: 1.5rem;
  font-size: .875rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  list-style: none;
  background: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex: none;
  font-weight: 800;
  color: var(--red);
  font-size: 1rem;
  line-height: 1.6;
}
.faq-item summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary h3 {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  display: inline;
}
.faq-answer {
  display: flex;
  gap: .75rem;
  padding: 0 1.25rem 1.3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  margin-top: -1px;
}
.faq-answer::before {
  content: "A";
  flex: none;
  font-weight: 800;
  color: var(--muted);
  line-height: 1.6;
}
.faq-answer p { font-size: .9375rem; }

/* ---------- 最終CTA ---------- */
.section-cta { text-align: center; }
.cta-title {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-lead {
  font-size: clamp(.9375rem, 4vw, 1.125rem);
  margin-bottom: 2.25rem;
}
.section-cta .btn-lg { margin-inline: auto; }
.cta-note {
  margin-top: 1.5rem;
  font-size: .8125rem;
  color: var(--on-dark-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0F1114;
  color: var(--on-dark-soft);
  /* フローティングCTAに隠れないよう、下側に余白を確保する */
  padding: clamp(2.5rem, 8vw, 3.5rem) 0 clamp(6.5rem, 8vw + 4rem, 7.5rem);
  font-size: .875rem;
  line-height: 1.9;
}
.footer-brand {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  padding-left: .75rem;
  border-left: 4px solid var(--red-on-dark);
  margin-bottom: 1.5rem;
}
.footer-info { display: grid; gap: .35rem; }
.footer-info dt {
  font-size: .75rem;
  font-weight: 700;
  color: #9AA1A9;
  letter-spacing: .04em;
}
.footer-info dd {
  margin: 0 0 .9rem;
  color: var(--on-dark-soft);
}
.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  color: #9AA1A9;
  font-size: .75rem;
}

/* ---------- フローティングCTA ---------- */
.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: .65rem var(--pad) calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .25s ease, transform .25s ease;
}
.floating-cta.is-visible { opacity: 1; transform: translateY(0); }
.floating-cta[hidden] { display: none; }
.btn-float {
  width: 100%;
  font-size: .9375rem;
  padding: .9em 1.2em;
}

/* ---------- Reveal ---------- */
[data-reveal] {
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1),
              transform .6s cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(18px);
}

/* 見出しブロックは、ラベルの罫線が引かれてから本文が続く */
.sec-label.is-hidden::before { transform: scaleX(0); }

/* 子要素を少しずつ遅らせて出す（ラグを付けて"流れ"を作る） */
[data-stagger] > * {
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1),
              transform .6s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-stagger].is-hidden > * {
  opacity: 0;
  transform: translateY(18px);
}

/* ============================================================
   Tablet 以上
   ============================================================ */
@media (min-width: 768px) {
  :root { --header-h: 72px; }

  body { font-size: 17px; }

  .logo-img { height: 46px; }
  .logo-name { font-size: 1rem; }

  .br-mb { display: none; }

  .btn-lg { width: auto; }

  .check-list,
  .benefit-list,
  .capability-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .capability { display: flex; flex-direction: column; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .step { display: flex; flex-direction: column; }

  .reason-list { gap: 1.5rem; }

  .floating-cta {
    left: auto;
    right: 1.75rem;
    bottom: 1.75rem;
    padding: 0;
    background: none;
    border: 0;
    backdrop-filter: none;
    transform: translateY(20px);
  }
  .btn-float {
    width: auto;
    box-shadow: 0 10px 30px rgba(226, 1, 14, .34);
  }
}

/* 横並びナビは、ロゴ画像に差し替えても詰まらない幅から出す */
@media (min-width: 920px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex !important;
    align-items: center;
    gap: 1.75rem;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-list li + li { border-top: 0; }
  .nav-list a { padding: .25rem 0; font-size: .875rem; }
  .nav-cta { margin-top: 0; width: auto; }
}

@media (min-width: 1024px) {
  .capability-list { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

  .check-list li,
  .benefit-list li,
  .reason p,
  .step p,
  .capability p,
  .faq-answer p,
  .price-table { font-size: 1rem; }
}

/* 縦書きの端テキストは、本文に被らない幅でのみ出す
   （1200px 未満だとコンテナの外側に余白が足りず、本文に重なる） */
@media (min-width: 1200px) {
  .rail { display: block; }
}

/* アンカー遷移時にヘッダーへ潜り込まないようにする */
:where(section[id], [id="top"]) { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .floating-cta, .skip-link { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section-dark, .section-cta, .site-footer { background: #fff !important; color: #000 !important; }
  .section-dark .section-title, .cta-title, .statement, .footer-brand { color: #000 !important; }
}
