@charset "UTF-8";

/* ==========================================================================
   ビザウェブ研究所 — 自社サイト
   gyosei-lab.jp

   デザイン方針(作例3本すべてと差別化する)
   - 作例1: ネイビー×緑 / 明朝 / 中央揃え / 情緒訴求(一人事務所)
   - 作例2: グラファイト×アンバー / ダーク基調 / 通し番号 / データ主導B2B
   - 作例3: クリーム×テラコッタ / 丸ゴシック・大字面 / 不安の解消
   - 自社  : 白 × インク × ブルー / ゴシック＋等幅ラベル /
             細罫線・グリッド・図表 / 余白を最大化した「研究レポート」の佇まい

   このサイト自体が制作物のサンプルを兼ねるため、以下を実装で示す。
   - ライト/ダーク両対応(OS設定に追従 + 手動切替を localStorage に保存)
   - prefers-reduced-motion の尊重
   - キーボード操作のフォーカス可視化 / スキップリンク
   - JavaScript はテーマ切替のみ(JSを切っても全内容が読める)
   ========================================================================== */

/* --- 1. デザイントークン ------------------------------------------------ */
:root {
  color-scheme: light;

  --paper:      #ffffff;
  --bg:         #f4f7fa;
  --bg-deep:    #e8eef5;
  --ink:        #0e1621;
  --ink-mid:    #46556a;
  --ink-light:  #74849a;
  --line:       #d9e2ec;
  --line-soft:  #eaeff5;

  --accent:      #1650cd;
  --accent-dark: #0f3ea3;
  --accent-tint: #e9f0fe;
  --accent-ink:  #0f3ea3;   /* 白背景の上に置く文字色(コントラスト確保) */

  --good:      #0e8f6f;
  --good-tint: #e5f4ef;
  --bad:       #c14e27;
  --bad-tint:  #fbede6;

  --shadow-sm: 0 1px 2px rgba(14, 22, 33, .05);
  --shadow:    0 2px 6px rgba(14, 22, 33, .05), 0 12px 28px rgba(14, 22, 33, .06);
  --shadow-lg: 0 8px 20px rgba(14, 22, 33, .10), 0 24px 60px rgba(14, 22, 33, .10);

  --radius:    10px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
          "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic",
          "Noto Sans JP", Meiryo, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Roboto Mono",
          "Noto Sans Mono", "Courier New", monospace;

  --wrap: 1120px;
  --wrap-narrow: 780px;
  --header-h: 68px;
}

/* ダークテーマ。OS設定に追従しつつ、手動切替(data-theme)を優先させる。
   同じ値を2箇所に書くのは、片方だけでは
   「OSはダークだが手動でライトを選んだ」状態を表現できないため。 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:      #131a24;
    --bg:         #0c1119;
    --bg-deep:    #070b11;
    --ink:        #e8edf4;
    --ink-mid:    #a9b6c7;
    --ink-light:  #7f8da0;
    --line:       #29343f;
    --line-soft:  #1d2530;
    --accent:      #5b90ff;
    --accent-dark: #7ea9ff;
    --accent-tint: #16243c;
    --accent-ink:  #8bb0ff;
    --good:      #35b894;
    --good-tint: #10261f;
    --bad:       #e08356;
    --bad-tint:  #2a1a12;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow:    0 2px 6px rgba(0, 0, 0, .35), 0 12px 28px rgba(0, 0, 0, .35);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:      #131a24;
  --bg:         #0c1119;
  --bg-deep:    #070b11;
  --ink:        #e8edf4;
  --ink-mid:    #a9b6c7;
  --ink-light:  #7f8da0;
  --line:       #29343f;
  --line-soft:  #1d2530;
  --accent:      #5b90ff;
  --accent-dark: #7ea9ff;
  --accent-tint: #16243c;
  --accent-ink:  #8bb0ff;
  --good:      #35b894;
  --good-tint: #10261f;
  --bad:       #e08356;
  --bad-tint:  #2a1a12;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow:    0 2px 6px rgba(0, 0, 0, .35), 0 12px 28px rgba(0, 0, 0, .35);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .45);
}

/* --- 2. リセットと基本 -------------------------------------------------- */
[hidden] { display: none !important; }   /* 属性で隠した要素が、後続の指定で復活しないようにする */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* 横はみ出しの保険。body ではなく html に置くこと。
     body に overflow を指定すると、その body が position:fixed の
     包含ブロックになり、画面下部に固定したいナビが
     ページ末尾に飛ぶ(実際にこの不具合を出した)。 */
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-feature-settings: "palt";
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* --- 3. レイアウト共通 -------------------------------------------------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
@media (max-width: 600px) {
  .wrap, .wrap-narrow { width: min(100% - 32px, var(--wrap)); }
}

section { padding-block: clamp(56px, 8vw, 104px); }
.sec-paper { background: var(--paper); }
.sec-bg    { background: var(--bg); }
.sec-deep  { background: var(--bg-deep); }

/* 通し番号つきのセクション見出し(研究レポート的な佇まいの核) */
.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 18px;
}
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-label .no { color: var(--accent); font-weight: 700; }

h1, h2, h3, h4 { line-height: 1.45; font-weight: 700; letter-spacing: .01em; }
.sec-title { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -.01em; margin-bottom: 14px; }
.sec-lead {
  color: var(--ink-mid);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 62ch;
  margin-bottom: 40px;
}
.note { font-size: 13px; line-height: 1.8; color: var(--ink-light); }
.note a { color: inherit; }
.mono { font-family: var(--mono); }

/* --- 4. ボタン ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 15px; line-height: 1.3;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.quick-open { margin-top: 28px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.quick-open-label { margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.quick-open-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; background: var(--bg); transition: box-shadow .2s ease, transform .2s ease;
}
.quick-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.quick-card img { width: 100%; height: auto; display: block; }
.quick-card > span {
  display: block; padding: 10px 14px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700;
}
.quick-card > span .arrow { font-family: var(--mono); font-weight: 400; margin-left: 6px; }
.quick-open-note { margin: 14px 0 0; font-size: 13px; opacity: .75; }
@media (max-width: 760px) { .quick-open-grid { grid-template-columns: 1fr; } }
.btn .arrow { font-family: var(--mono); font-weight: 400; }

/* --- 5. ヘッダー -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark {
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1.5px solid var(--accent); border-radius: 7px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: -.04em;
}
.logo-text .name { display: block; font-weight: 700; font-size: 15.5px; letter-spacing: .01em; }
.logo-text .en {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--ink-light); text-transform: uppercase;
}
.gnav { margin-left: auto; }
.gnav ul { display: flex; align-items: center; gap: 4px; }
.gnav a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-mid);
}
.gnav a:hover { background: var(--accent-tint); color: var(--accent-ink); }
.gnav a[aria-current="page"] { color: var(--ink); }
.gnav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--accent);
  margin-top: 3px; border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink-mid); flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }
.theme-toggle .ico-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-dark { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ico-dark { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ico-light { display: none; }
}

/* 1000px 以下ではナビを画面下に逃がす(JSなしのハンバーガー代替) */
@media (max-width: 1000px) {
  /* backdrop-filter は filter と同じく position:fixed の包含ブロックを作る。
     ヘッダーに掛けたまま中のナビを fixed にすると、画面下ではなく
     ヘッダーの下端に貼りついてしまう。モバイルでは不透明背景に切り替える。 */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .gnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    margin-left: 0;
  }
  .gnav ul { overflow-x: auto; gap: 0; padding: 6px 10px; scrollbar-width: none; }
  .gnav ul::-webkit-scrollbar { display: none; }
  .gnav a { white-space: nowrap; font-size: 13px; padding: 8px 10px; }
  .header-inner { justify-content: space-between; }
  .header-cta { margin-left: auto; }
  body { padding-bottom: 54px; }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
  .logo-text .en { display: none; }
}

/* --- 6. ヒーロー -------------------------------------------------------- */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 92px) clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
/* 方眼紙のような薄いグリッド。研究所の佇まいを背景で作る。 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; }
/* 1000px 以上では2カラム。右に制作サンプル3本を置いて
   ファーストビューだけで「何を作るのか」が伝わるようにする。 */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* 制作サンプルの並び（上に1本を大きく、下に2本） */
.hero-works { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-works > * { min-width: 0; }
.hw {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hw:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); }
.hw-main { grid-column: 1 / -1; }
.hw img {
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top center; display: block;
}
.hw-main img { aspect-ratio: 16 / 8; }
.hw-cap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px;
}
.hw-cap span { font-size: 11.5px; color: var(--ink-light); }
.hw-note { grid-column: 1 / -1; font-size: 11.5px; line-height: 1.7; color: var(--ink-light); }

/* 診断レポートの見本カード */
.report {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.report-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.report-head .ttl { font-size: 14px; font-weight: 700; }
.report-head .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--ink-light); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 2px 9px; background: var(--paper);
}
.report-score {
  display: flex; align-items: baseline; gap: 10px;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line-soft);
}
.report-score .num { font-family: var(--mono); font-size: 38px; font-weight: 700; line-height: 1; color: var(--bad); }
.report-score .den { font-family: var(--mono); font-size: 15px; color: var(--ink-light); }
.report-score .cap { font-size: 12.5px; color: var(--ink-mid); margin-left: auto; text-align: right; line-height: 1.6; }
.report-list { padding: 6px 20px 18px; }
.report-list li {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px;
}
.report-list li:last-child { border-bottom: none; }
.report-list .mk {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; font-family: var(--mono);
}
.report-list .ng { background: var(--bad-tint); color: var(--bad); }
.report-list .ok { background: var(--good-tint); color: var(--good); }
.report-list .wk { background: var(--bg-deep); color: var(--ink-mid); }
.report-list .cmt { font-size: 11.5px; color: var(--ink-light); text-align: right; }
.report-foot {
  padding: 12px 20px; background: var(--bg); border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-light);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-mid);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.35; letter-spacing: -.02em;
  margin-bottom: 22px;
}
/* 見出しは文節ごとに改行させる。語の途中（「事務／所」など）で割らない。 */
.hero h1 .ph { display: inline-block; max-width: 100%; }
.hero h1 .accent {
  color: var(--accent);
  border-bottom: 3px solid var(--accent-tint);
}
.hero-lead {
  font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-mid);
  max-width: 54ch; margin-bottom: 32px;
}
/* 対応しているブラウザでは、文節の切れ目で折り返す（「制／作費」のように割らない） */
.hero-lead, .hero-micro, .hw-note { word-break: auto-phrase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-micro { font-size: 13px; color: var(--ink-light); margin-bottom: 48px; }

/* 指標バー */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow);
  overflow: hidden;
}
.metric { padding: 20px 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--ink-light); text-transform: uppercase; margin-bottom: 6px;
}
.metric dd { font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.3; }
.metric dd .unit { font-size: 13px; font-weight: 600; color: var(--ink-mid); margin-left: 3px; }
.metric .sub { display: block; font-size: 12px; font-weight: 400; color: var(--ink-light); margin-top: 2px; }
@media (max-width: 860px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .metric { padding: 16px 16px; }
}

/* --- 7. カード/グリッド共通 -------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* グリッド/フレックスの子は min-width が auto なので、
   中に長い要素があるとカラム幅を押し広げ、ページ全体の横スクロールを生む。
   明示的に 0 にして、はみ出す代わりに折り返させる。 */
.grid-2 > *, .grid-3 > *, .grid-4 > *,
.svc > *, .price-grid > *, .works > *,
.case-grid > *, .limit-box > *, .about-box > *,
.metrics > * { min-width: 0; }
.bar-row .label { flex-wrap: wrap; }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-mid); }
.card-num {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: .1em; display: block; margin-bottom: 12px;
}

/* --- 8. 課題(ISSUE)セクション ------------------------------------------ */
.issue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.issue {
  background: var(--paper); padding: 24px 26px;
  display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start;
}
.issue .mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bad-tint); color: var(--bad);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  font-family: var(--mono);
}
.issue h3 { font-size: 16px; margin-bottom: 6px; }
.issue p { font-size: 14px; color: var(--ink-mid); line-height: 1.85; }
.issue .stat {
  display: inline-block; margin-top: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--bad); background: var(--bad-tint);
  padding: 3px 10px; border-radius: var(--radius-pill);
}
@media (max-width: 760px) { .issue-list { grid-template-columns: 1fr; } }

/* --- 9. データ(調査結果)表示 ------------------------------------------- */
.data-panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.data-panel-head {
  padding: 18px 26px; border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline;
  justify-content: space-between;
}
.data-panel-head h3 { font-size: 16px; }
.data-panel-head .meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-light); }
.bar-rows { padding: 10px 26px 22px; }
.bar-row { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.bar-row:last-child { border-bottom: none; }
.bar-row .label {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 8px; font-size: 14.5px;
}
.bar-row .label .val { font-family: var(--mono); font-weight: 700; font-size: 14px; white-space: nowrap; }
.bar-track { height: 8px; border-radius: 4px; background: var(--bg-deep); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: var(--accent); }
.bar-fill.is-bad { background: var(--bad); }
.bar-fill.is-good { background: var(--good); }

/* --- 10. 提供内容 ------------------------------------------------------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .svc { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column;
}
.svc-card.is-main { border-color: var(--accent); box-shadow: var(--shadow); }
.svc-tag {
  align-self: flex-start; font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--accent-tint); color: var(--accent-ink); margin-bottom: 16px;
}
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card > p { font-size: 14.5px; color: var(--ink-mid); margin-bottom: 20px; }
.svc-list { margin-top: auto; }
.svc-list li {
  font-size: 14px; padding-left: 24px; position: relative;
  margin-bottom: 9px; color: var(--ink-mid); line-height: 1.7;
}
.svc-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 10px; border-right: 2px solid var(--good);
  border-bottom: 2px solid var(--good); transform: rotate(40deg);
}

/* --- 11. 実績(サンプルサイト) ------------------------------------------ */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .works { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
.work {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 16 / 10; position: relative;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
}
/* サムネイルは実サイトのスクリーンショット。
   画像が入らない場合に備え、背景のグラデーション(.t1〜.t3)を下敷きに残す。 */
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-thumb .ph {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.8; color: #fff;
  opacity: .95; padding: 20px;
}
.work-thumb.t1 { background: linear-gradient(135deg, #17324f 0%, #24506f 60%, #2f7d5e 100%); }
.work-thumb.t2 { background: linear-gradient(135deg, #22262b 0%, #33383f 55%, #a8752a 100%); }
.work-thumb.t3 { background: linear-gradient(135deg, #c9714f 0%, #d9a06f 55%, #6b9c7d 100%); }
.work-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--ink-light); margin-bottom: 8px;
}
.work-body h3 { font-size: 17px; margin-bottom: 8px; }
.work-body p { font-size: 14px; color: var(--ink-mid); margin-bottom: 16px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.work-tags span {
  font-size: 11.5px; padding: 3px 9px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-mid);
}
.work-links { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.sample-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: var(--bad);
  background: var(--bad-tint); border-radius: var(--radius-sm);
  padding: 3px 9px; margin-bottom: 10px;
}

/* --- 12. 料金 ----------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 940px) { .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plan {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
  position: relative;
}
.plan.is-reco { border-color: var(--accent); border-width: 2px; box-shadow: var(--shadow); }
.plan-flag {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: var(--radius-pill);
}
.plan h3 { font-size: 18px; margin-bottom: 4px; }
.plan .for { font-size: 13px; color: var(--ink-light); margin-bottom: 18px; }
.plan .amount {
  font-family: var(--mono); font-size: 30px; font-weight: 700; line-height: 1.2;
  letter-spacing: -.02em;
}
.plan .amount .yen { font-size: 18px; margin-right: 2px; }
.plan .amount .from { font-size: 15px; color: var(--ink-mid); margin-left: 2px; }
.plan .amount.amount-text { font-size: 24px; letter-spacing: 0; }
.plan .tax { font-size: 12.5px; color: var(--ink-light); margin-bottom: 20px; }
.plan ul { margin-bottom: 24px; }
.plan li {
  font-size: 14px; color: var(--ink-mid); line-height: 1.75;
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 6px; height: 10px; border-right: 2px solid var(--good);
  border-bottom: 2px solid var(--good); transform: rotate(40deg);
}
.plan .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.tbl { min-width: 560px; font-size: 14.5px; }
table.tbl th, table.tbl td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.tbl thead th {
  background: var(--bg); font-family: var(--mono); font-size: 12px;
  letter-spacing: .08em; color: var(--ink-mid); text-transform: uppercase;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl tbody tr:last-child th, table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl tbody th { font-weight: 700; white-space: nowrap; }
table.tbl td.num { font-family: var(--mono); font-weight: 700; white-space: nowrap; }

/* --- 13. 流れ(タイムライン) -------------------------------------------- */
.flow { position: relative; padding-left: 8px; }
.flow-step {
  position: relative; padding: 0 0 34px 44px;
  border-left: 2px solid var(--line);
}
.flow-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow-step .dot {
  position: absolute; left: -15px; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.flow-step h3 { font-size: 17px; margin-bottom: 6px; }
.flow-step .dur {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-light);
  letter-spacing: .06em; margin-bottom: 8px;
}
.flow-step p { font-size: 14.5px; color: var(--ink-mid); }
.flow-step .who {
  display: inline-block; margin-top: 10px; font-size: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 2px 9px; color: var(--ink-mid); background: var(--bg);
}

/* --- 14. 受注制限 ------------------------------------------------------- */
.limit-box {
  background: var(--paper); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center;
}
@media (max-width: 860px) { .limit-box { grid-template-columns: 1fr; gap: 24px; } }
.limit-box h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 12px; }
.limit-box p { font-size: 15px; color: var(--ink-mid); margin-bottom: 14px; }
.slots {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  text-align: center;
}
.slots .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-light); margin-bottom: 10px; }
.slot-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.slot-dots i {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--good); background: var(--good-tint);
}
.slot-dots i.is-taken { border-color: var(--line); background: var(--line); }
.slots .val { font-size: 15px; font-weight: 700; }
.slots .asof { font-family: var(--mono); font-size: 11px; color: var(--ink-light); margin-top: 6px; }

/* --- 15. 代表紹介 ------------------------------------------------------- */
.about-box { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .about-box { grid-template-columns: 1fr; gap: 28px; } }
.portrait {
  aspect-ratio: 3 / 4; border-radius: var(--radius);
  border: 1px dashed var(--line); background: var(--bg);
  display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--ink-light); font-size: 12.5px; line-height: 1.9;
}
.portrait.has-photo {
  padding: 0; overflow: hidden; background: none;
  border: 1px solid var(--line-soft); border-style: solid;
}
.portrait.has-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.portrait .ph-title {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; color: var(--accent); margin-bottom: 10px;
}
.about-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.about-name .ja { font-size: 24px; font-weight: 700; }
.about-name .en { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-light); }
.about-body p { margin-bottom: 16px; color: var(--ink-mid); font-size: 15px; }
.about-body p.lead { color: var(--ink); font-size: 17px; font-weight: 600; }
.about-body strong { color: var(--ink); }

/* --- 16. FAQ ------------------------------------------------------------ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  padding: 20px 56px 20px 24px; cursor: pointer; position: relative;
  font-weight: 700; font-size: 15.5px; list-style: none; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 27px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-light); border-bottom: 2px solid var(--ink-light);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq summary:hover { background: var(--bg); }
.faq .a { padding: 0 24px 22px; color: var(--ink-mid); font-size: 14.5px; }
.faq .a p + p { margin-top: 12px; }

/* --- 17. 最終CTA ------------------------------------------------------- */
.cta-final {
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: clamp(32px, 5vw, 56px);
  text-align: center; position: relative; overflow: hidden;
}
:root[data-theme="dark"] .cta-final,
:root:not([data-theme="light"]) .cta-final { border: 1px solid var(--line); }
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-final > * { position: relative; }
.cta-final h2 { font-size: clamp(22px, 3.2vw, 32px); margin-bottom: 14px; color: #fff; }
.cta-final p { color: rgba(255,255,255,.78); font-size: 15px; max-width: 56ch; margin: 0 auto 28px; }
.cta-final .btn-primary { background: #fff; color: #0e1621; }
.cta-final .btn-primary:hover { background: #e9f0fe; color: #0e1621; }
.cta-final .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-final .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-final .micro { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 20px; }

/* --- 18. フォーム ------------------------------------------------------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 7px; }
.field .req, .field .opt {
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-sm);
  margin-left: 8px; vertical-align: 1px;
}
.field .req { background: var(--bad-tint); color: var(--bad); }
.field .opt { background: var(--bg-deep); color: var(--ink-mid); }
.field .hint { font-size: 12.5px; color: var(--ink-light); margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  background: var(--paper); border-color: var(--accent); outline-offset: 0;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.radio-list { display: grid; gap: 8px; }
.radio-list label {
  display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: var(--bg); cursor: pointer; margin-bottom: 0;
}
.radio-list label:hover { border-color: var(--accent); }
.radio-list input { margin-top: 6px; flex-shrink: 0; accent-color: var(--accent); }
.form-note {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: 13px; color: var(--ink-mid); margin-bottom: 24px; line-height: 1.85;
}
.demo-form-flag {
  background: var(--bad-tint); border: 1px solid var(--bad);
  color: var(--bad); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 13px; font-weight: 700; margin-bottom: 24px;
}

/* --- 19. 記事的な本文(規約・ポリシー) ---------------------------------- */
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.doc h2 { font-size: 20px; margin: 36px 0 12px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.doc h3 { font-size: 16px; margin: 22px 0 8px; }
.doc p { font-size: 14.5px; color: var(--ink-mid); margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 16px 0; }
.doc li { font-size: 14.5px; color: var(--ink-mid); padding-left: 20px; position: relative; margin-bottom: 7px; }
.doc ul > li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-light); }
.doc ol { counter-reset: doc-ol; }
.doc ol > li { counter-increment: doc-ol; }
.doc ol > li::before {
  content: counter(doc-ol) "."; position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 700;
}
.doc .updated { font-family: var(--mono); font-size: 12px; color: var(--ink-light); margin-bottom: 28px; }

/* --- 20. ページヘッダー(下層) ------------------------------------------ */
.page-head {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 64px);
}
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--ink-light); margin-bottom: 16px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); text-decoration: underline; }
.page-head h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.02em; margin-bottom: 12px; }
.page-head p { color: var(--ink-mid); max-width: 62ch; font-size: clamp(14.5px, 1.5vw, 16.5px); }

/* --- 21. 実績詳細ページ用 ---------------------------------------------- */
.case { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; margin-bottom: 32px; }
.case-head { padding: 26px 28px; border-bottom: 1px solid var(--line); }
.case-head .no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.case-head h2 { font-size: clamp(19px, 2.4vw, 25px); margin: 8px 0 10px; }
.case-head p { color: var(--ink-mid); font-size: 14.5px; }
/* 作例の画面。説明を読む前に、まず見た目が分かるようにする */
.case-shot {
  display: block; max-width: 640px; margin: 6px 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; background: var(--bg);
  transition: box-shadow .2s ease;
}
.case-shot:hover { box-shadow: var(--shadow-lg); }
.case-shot img { width: 100%; height: auto; display: block; }
.case-shot > span {
  display: block; padding: 10px 14px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--paper);
}
.case-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
.case-col { padding: 26px 28px; }
.case-col + .case-col { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .case-col + .case-col { border-left: none; border-top: 1px solid var(--line); } }
.case-col h3 {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-light); margin-bottom: 14px;
}
.case-col li { font-size: 14px; color: var(--ink-mid); padding-left: 22px; position: relative; margin-bottom: 10px; line-height: 1.8; }
.case-col li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(40deg);
}
.case-col li strong { color: var(--ink); }
.case-foot { padding: 20px 28px; border-top: 1px solid var(--line); background: var(--bg); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* --- 22. 汎用の細部 ----------------------------------------------------- */
.stack-lg > * + * { margin-top: 22px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.callout {
  border-left: 3px solid var(--accent); background: var(--accent-tint);
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px; color: var(--ink-mid);
}
.callout strong { color: var(--ink); }
.source-list li {
  font-size: 13px; color: var(--ink-light); padding-left: 18px; position: relative; margin-bottom: 6px;
}
.source-list li::before { content: "*"; position: absolute; left: 0; color: var(--ink-light); }
.placeholder-hint {
  outline: 1px dashed var(--bad); outline-offset: 2px;
  background: var(--bad-tint);
}

/* --- 23. フッター ------------------------------------------------------- */
/* 全9ページ共通。事務所情報 + リンク2列 + 最下部の一行、の3ブロック構成。 */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 88px) clamp(28px, 3vw, 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

/* 左ブロック: 屋号と説明、連絡先 */
.footer-about h3 {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.footer-about p {
  /* 日本語は 1文字≒1em なので ch 指定だと狭くなりすぎる。
     行の長さはグリッドの列幅（約36文字）に任せる。 */
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-mid);
}
.footer-about .note {
  margin-top: 22px;
  line-height: 2.1;
}

/* リンク列の見出し。セクション見出しと同じ等幅ラベルの書式に揃える。 */
.footer-grid > div:not(.footer-about) h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 13px; }
.site-footer a {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-ink);
  border-bottom-color: currentColor;
}

/* 最下部の一行: 注意書きと著作権表示 */
.footer-legal {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-light);
}
.footer-legal .copyright {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* 900px 以下では屋号ブロックを1行使い切りにして、リンクは2列のまま残す */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-legal { justify-content: flex-start; }
}
