/* =====================================================================
   Maxeff コーポレートサイト スタイル
   - スマホ（幅 375px 前後）を基準に組み、768px（タブレット）と 1100px（PC・モック V13 の表示）で上書きする
   - 色・余白・文字サイズはここの変数（トークン）だけを使う。値はモック V13 の実測から起こした
   ===================================================================== */

/* ---------- トークン ---------- */
:root {
  /* モック V13 の色 */
  --mx-ink: #1A1C1B;          /* 本文の黒・濃い面 */
  --mx-ink-2: #3A3D3C;        /* 押したときの濃い面・小さな印 */
  --mx-gray-700: #5A5D5C;     /* 図版パネルの本文 */
  --mx-gray-500: #707372;     /* 補足の文字・マウスを乗せた時の色 */
  --mx-gray-400: #A5A8A7;     /* 小見出し（英字の大文字） */
  --mx-gray-300: #C4C6C5;     /* 罫線・大きな番号 */
  --mx-line-soft: #E3E2DE;    /* カードの枠 */
  --mx-surface-gray: #F5F5F5; /* グレーの帯 */
  --mx-surface-warm: #F7F6F3; /* 図版パネル */
  --mx-placeholder: #E5E6E6;  /* 写真の準備中の面 */
  --mx-footer: #2E3130;
  --mx-hero-text: #F5F5F5;
  --mx-blue: #3E5C8F;
  --mx-white: #FFFFFF;

  /* 役割ごとの色（a11y_contrast_fix が true のとき、ビルドで --text-muted / --text-faint を濃くする） */
  --text-strong: var(--mx-ink);
  --text-muted: var(--mx-gray-500);
  --text-faint: var(--mx-gray-400);
  --text-panel: var(--mx-gray-700);
  --text-placeholder: var(--mx-gray-400);
  --line: var(--mx-gray-300);
  --focus: #1D4478;           /* フォーカスの枠の色 */
  --danger: #B23B2B;          /* 入力エラーの色 */

  /* 書体：欧文は Helvetica、和文は Noto Sans JP */
  --font-base: Helvetica, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;

  /* 余白・寸法（スマホの値。下のメディアクエリで PC の値に上書き） */
  --gutter: 24px;
  --page-max: 1160px;
  --header-h: 64px;
  --section-gap: 64px;        /* タブレット 112px、PC 140px（モックの --rk-gap） */
  --hero-pad: 64px;           /* PC 150px（モックの --rk-hero） */
  --h1: 44px;                 /* PC 112px（モックの --rk-h1） */
  --h1-service: 36px;         /* PC 80px（モックの --rk-h1s） */
  --h2: 28px;                 /* PC 34px */
  --h2-gap: 40px;             /* 見出しの下。PC 64px */
  --grid-gap: 48px;           /* PC 56px */
  --panel-pad: 24px;          /* PC 64px */
  --hit: 44px;                /* 押せる大きさの下限 */
  --dur: 180ms;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* 上に貼り付いたヘッダーの下に隠れないようにする（WCAG 2.4.11）。
   ・ページ内リンクの行き先（:target）は、ヘッダーの高さ＋16px 下に止める
   ・Tab で選んだ本文・フッターの項目は main.js（0.）がヘッダーの下まで動かす（Chrome は scroll-margin を Tab の移動に使わないため）
   html の scroll-padding-top は使わない：ヘッダーの中の項目（ロゴ・メニュー・お問い合わせ）に Tab で戻ったときにもページが上へ飛ぶため */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--mx-white);
  color: var(--text-strong);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;   /* 全幅で、行の頭に「ー」や小さい字（ッ・ャ・ァ・ェなど）を置かない（10/3。言葉は同じ） */
}
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
p { text-wrap: pretty; }  /* モックと同じ（段落の最後の行に1〜2文字だけ残るのを避ける） */
/* main.js（1c）が最後の行を直した文だけ：行の長さをそろえる指定をやめ、詰めて並べる（まとまりの前の語の途中から1文字を引き込まないように） */
.js-tidied.js-tidied { text-wrap: wrap; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
picture { display: contents; }
picture source { display: none; }
a { color: var(--text-strong); text-decoration: none; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
a:hover { color: var(--mx-gray-500); }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[data-theme="dark"] :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
::selection { background: #F7DFD9; color: var(--mx-ink); }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 1000;
  padding: 12px 16px; background: var(--mx-ink); color: #FFFFFF; font-size: 15px; line-height: 1.4;
}
.skip-link:focus { top: 8px; color: #FFFFFF; }
main:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.section { padding-block: var(--section-gap); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.band { background: var(--mx-surface-gray); }

/* ---------- 文字の部品 ---------- */
.h-section {
  margin: 0 0 var(--h2-gap);
  font-size: var(--h2); font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
  color: var(--text-strong);
}
.h-section--flush { margin-bottom: 0; }
.h-section--125 { line-height: 1.25; }
.eyebrow {
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
}
.note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--text-faint); }
.rule { display: block; width: 32px; height: 2px; background: var(--mx-gray-500); margin-bottom: 24px; }
.badge {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .08em; color: var(--text-muted);
}

/* 下線つきの英字リンク（モックの "OUR STARTUPS" "CONTACT" など） */
.textlink {
  display: inline-flex; align-items: flex-end;
  min-height: var(--hit);
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-strong);
  padding-bottom: 8px; border-bottom: 2px solid currentColor;
}
.textlink:hover { color: var(--mx-gray-500); }
.textlink--light { color: var(--mx-hero-text); }
.textlink--light:hover { color: var(--mx-gray-400); }
.more-link { margin-top: 48px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header__inner {
  height: 100%; max-width: var(--page-max); margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  display: flex; align-items: center; justify-content: space-between;
}
.site-header__logo { display: flex; align-items: center; min-height: var(--hit); }
.site-header__logo-img { height: 22px; width: auto; }

.menu-button {
  position: relative; z-index: 2;
  width: var(--hit); height: var(--hit); margin-right: -10px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-strong);
}
.menu-button__bar { display: block; width: 22px; height: 2px; background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.is-menu-open .menu-button__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-menu-open .menu-button__bar:nth-child(2) { opacity: 0; }
.is-menu-open .menu-button__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* スマホ・タブレット：全画面のメニュー（JS が動かないときは下の「JS なし」の指定でヘッダーの下に並べる） */
.site-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 1;
  background: var(--mx-white);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 16px max(var(--gutter), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.is-menu-open .site-nav { display: block; }
/* 背景ぼかし（backdrop-filter）があると、メニューの position: fixed がヘッダーの中に閉じ込められて画面全体に広がらない。開いている間は外す */
.is-menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--mx-white); }
/* 開いている間は背面を止める。html だけに付ける（body にも付けると body が別のスクロールの箱になり、
   ページを下にスクロールしてから開いたとき、上に貼り付いたヘッダー〔ロゴと×ボタン〕が画面の外へ消える） */
.is-menu-open { overflow: hidden; }
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__item { border-bottom: 1px solid var(--line); }
.site-nav__link {
  display: flex; align-items: center; min-height: 60px;
  font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; white-space: nowrap;
  color: var(--text-strong);
}
.site-nav__link--caps { text-transform: uppercase; letter-spacing: .14em; font-size: 15px; }
.site-nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav__item--contact { border-bottom: 0; margin-top: 32px; }
.site-nav__item--contact .site-nav__link {
  justify-content: center; min-height: 56px; background: var(--mx-ink); color: #FFFFFF; text-decoration: none;
}
.site-nav__item--contact .site-nav__link:hover { background: var(--mx-ink-2); color: #FFFFFF; }
/* JS が動かない（無効・読み込み失敗）とき：メニューボタンは使えないので出さず、メニューをヘッダーの下に横並びで見せる */
@media (max-width: 1099.98px) {
  html:not(.js) .menu-button { display: none; }
  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav { display: block; position: static; inset: auto; width: 100%; padding: 4px 0 0; overflow: visible; background: none; }
  html:not(.js) .site-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
  html:not(.js) .site-nav__item { border: 0; }
  html:not(.js) .site-nav__link { min-height: var(--hit); font-size: 14px; }
  html:not(.js) .site-nav__link--caps { font-size: 13px; }
  html:not(.js) .site-nav__item--contact { margin-top: 0; }
  html:not(.js) .site-nav__item--contact .site-nav__link { min-height: var(--hit); background: none; color: var(--text-strong); justify-content: flex-start; text-decoration: underline; text-underline-offset: 6px; }
}

/* ---------- TOP：ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: var(--mx-ink); }
.hero__graph {
  position: absolute; right: -14%; top: -40px;
  width: 64vw; aspect-ratio: 1 / 1; opacity: .5;
  animation: mx-spin 180s linear infinite;
}
/* スマホ・タブレット：図の黒い地が四角く見えないように、明るい点だけを重ねる（PC はモックどおり） */
@media (max-width: 1099.98px) { .hero__graph { mix-blend-mode: lighten; } }
.hero__graph-img { width: 100%; height: 100%; object-fit: contain; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 28, 27, .35) 0%, #1A1C1B 62%); }
.hero__inner { position: relative; padding-top: var(--hero-pad); padding-bottom: 72px; }
.hero__logo { height: 40px; width: auto; }
.hero__tag { margin-top: 20px; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--mx-gray-400); }
.hero__title { margin-top: 32px; font-size: 24px; font-weight: 400; line-height: 1.5; letter-spacing: -.01em; color: var(--mx-hero-text); max-width: 22em; text-wrap: pretty; }
/* スマホ・タブレット：「AIと事業を通じて、／意義ある課題の解決をする。／再現性高く、連続的に。」のまとまりで折り返す（PC はモックどおり） */
@media (max-width: 1099.98px) { .hero__phrase { display: inline-block; } }
.hero__lead { margin-top: 24px; font-size: 16px; line-height: 1.9; color: var(--mx-gray-300); max-width: 34em; }
.hero__links { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 40px; }
/* スマホでは文字の列に重ならないよう、ロゴより上の右側（回る図の上）に置く。タブレットは右側の空き、PC はモックの位置 */
.hero__dot {
  position: absolute; right: 12%; top: 22px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--mx-blue);
  box-shadow: 0 0 0 12px rgba(62, 92, 143, .25);
}
.rise { animation: mx-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise--2 { animation-delay: .15s; }
.rise--3 { animation-delay: .3s; }
@keyframes mx-spin { to { transform: rotate(360deg); } }
@keyframes mx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 3列カード（What we do / 数字 / Our Startups / How do we build） ---------- */
.grid3 { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
.whatwedo { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.service-card { display: flex; flex-direction: column; gap: 20px; }
.service-card__no {
  width: 96px; height: 96px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; line-height: 1; color: var(--line);
}
.service-card__title { margin-top: 8px; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.service-card__text { font-size: 16px; line-height: 1.9; color: var(--text-muted); }
.service-card__link { margin-top: auto; align-self: flex-start; }

.core__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.core__title { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; text-wrap: pretty; }
.core__body { margin-top: 24px; font-size: 16px; line-height: 1.95; color: var(--text-muted); }
.core__list { margin-top: 32px; }
.core__list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.core__list li:last-child { border-bottom: 1px solid var(--line); }
.core__graph { background: var(--mx-surface-warm); padding: 24px; }
.brain-graph { width: 100%; height: auto; aspect-ratio: 868 / 915; }

.stat { display: flex; flex-direction: column; gap: 14px; }
.stat__value { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stat__note { font-size: 15px; line-height: 1.85; color: var(--text-muted); }

.startup-card { display: flex; flex-direction: column; gap: 16px; }
.startup-card__meta { display: flex; gap: 40px; }
.startup-card__meta dd, .startup-row__meta dd { margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1; }
.startup-card__name { margin-top: 12px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
.startup-card__text { font-size: 15px; line-height: 1.9; color: var(--text-muted); }
.is-preparing { opacity: .5; }

.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.clients__label { margin-bottom: 24px; }
.clients__label--2 { margin-top: 48px; }
.client-card {
  background: var(--mx-white); border: 1px solid var(--mx-line-soft);
  padding: 18px 16px 16px; min-height: 132px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.client-card__icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--mx-surface-warm);
  display: flex; align-items: center; justify-content: center; color: var(--mx-ink);
}
.client-card__icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.client-card__name { font-size: 14px; font-weight: 700; line-height: 1.55; letter-spacing: -.01em; }
/* スマホ：アイコンと名前を横に並べた1列のリスト（順番・件数はそのまま） */
@media (max-width: 767.98px) {
  .clients { grid-template-columns: 1fr; gap: 8px; }
  .client-card { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 60px; padding: 8px 14px; }
  .client-card__icon { width: 40px; height: 40px; flex: 0 0 auto; }
  .client-card__name { font-size: 15px; }
}

/* ---------- 下層ページの見出し ---------- */
.page-hero { padding-top: var(--hero-pad); padding-bottom: 56px; }
.page-hero--lead { padding-bottom: 56px; }
.page-hero--flush { padding-bottom: 0; }
.page-hero--works, .page-hero--company, .page-hero--contact { padding-bottom: var(--section-gap); }
.page-hero--simple { padding-bottom: var(--section-gap); min-height: 50vh; }
.page-title {
  font-size: var(--h1); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--text-strong);
  overflow-wrap: anywhere;
}
.page-title--tight { line-height: 1.05; }
.page-title--service { font-size: var(--h1-service); line-height: 1.15; }
.page-title--simple { font-size: 36px; line-height: 1.2; }
/* スマホ・タブレットでは見出し・キャッチコピーを語の途中で折り返さない（<wbr> を入れた所と句読点・空白で折り返す。それでも入らない幅では普通に折り返す） */
@media (max-width: 1099.98px) {
  .page-title, .hero__title, .h-section, .core__title, .promise__quote, .panel__title, .panel__sub, .purpose__text, .client-card__name,
  .service-card__title, .cta__item-title, .message__title, .page-lead, .field__hint, .consent__text,
  .hero__lead, .startup-row__target, .company__phrases,
  .core__list, .member__name, .service-card__text--wbr,
  /* 10/3（7回目）：About の Principle・Value の説明も、<wbr> を入れた所で折り返す（10/5：History は削除）
     （iPhone の幅で「共同経／営」と割れていたため。PC は今と同じ）。
     「こんな方へ」・TOP の数字の注記・「向いている相手」・完了・404・準備中の文・チームの経歴は、8回目から下の「全幅」の一覧へ移した */
  .ruled-list__text {
    word-break: keep-all; overflow-wrap: anywhere;
  }
  .sp-keep { white-space: nowrap; }   /* 「（バリュエーション）等の」のように、かっこの後で切ると読みにくいまとまり */
  .core__list li { text-wrap: balance; }   /* 2行になるときは行の長さをそろえ、「（開発中）」だけが次の行に残らないようにする（H17） */
}
/* Our Startups の ENOLA・AIDEN の説明（TOP のカード・Startup Builder の行）：全幅で、<wbr> を入れた所だけで折り返す（10/3）。
   10/2 に直した ENOLA の文が PC でも「ファイ／ナンス」「フ／ァイナンス」と語の途中で切れていたため。1100〜1920px でページの高さは変わらない */
.startup-card__text, .startup-row__text { word-break: keep-all; overflow-wrap: anywhere; }
/* TOP の最初の画面の説明文と、全ページ下の相談欄の3つの説明文も、全幅で <wbr> を入れた所だけで折り返す（10/3・7回目）。
   PC で「…最適なコス／トで…」「…加速したい経営／者の方へ」と語の途中で切れていたため（V13 も同じ割れ方）。
   PC 1100〜1920px でページの高さは変わらない。768px だけ、相談欄の真ん中のカードが3行になり全ページ 27px 長くなる */
.hero__lead, .cta__item-note { word-break: keep-all; overflow-wrap: anywhere; }
/* 10/3（8回目）：PC（1100〜1920px）でも言葉の途中で切れていた短い文を、全幅で <wbr> の所だけで折り返す（言葉は同じ。HTML の <wbr> は前から入っている所が多い）。
   ・ページ上部の説明（.page-lead。大企業向け「…新規事／業の…ノウハ／ウ構築」、Startup Builder「…急成長／を実現」）と「こんな方へ」（.page-target。大企業向け「…中堅以上／の企業」）
   ・TOP の数字の注記（.stat__note。「…新規事業支／援」「…自ら立ち／上げ」「…構築・更新／を10年以上」）
   ・送信完了・404・準備中の文（.simple__text。「…2営業日以内にご／返信します。」）
   ・チームの経歴（10/5 から .member__bio p。チームの欄で指定）
   ・TOP の What we do 01・02（.service-card__text。「大企業・中／堅企業」「早く・安／く」「前／提に」。03 は下の 1100〜1199px の指定のまま。
     01 の「ENOLA／AIDEN／」「Agence等の」は2つのまとまりにしてある＝1つにすると 768〜819px 前後でカードに入らずはみ出すため）
   ・フッターの会社の説明（.site-footer__text。「…掛／け合わせ」「…中堅／企業」）
   ・Startup Builder の参画の形（.join-card__text・.join-card__fit。「…持ち合／い」「創／業」「検討中／の実務者」）
   ・About の Purpose（.purpose__text。「…連続的に解決／できる…」。qa/check.py の 13番を広げて見つかった所）
   PC でページの高さが変わるのは、チーム（1100〜1119px と 1160px 以上で +28px。経歴が1行増える）と TOP（1100〜1140px 前後だけ +27〜28px）。HANDOFF「5」の 8回目の追記 */
.page-lead, .page-target, .stat__note, .simple__text,
.service-card__text:not(.service-card__text--wbr), .site-footer__text, .join-card__text, .join-card__fit, .purpose__text {
  word-break: keep-all; overflow-wrap: anywhere;
}
/* iPad 縦（768〜799px）だけ、TOP の数字の注記の字の間をわずかに詰める（「自社でアイディエーションから」が箱に 2px 入らず、
   1行目が「自社で」だけになっていたため。目では分からない差。800px 以上は今のまま） */
@media (min-width: 768px) and (max-width: 799.98px) {
  .stat__note { letter-spacing: -.02em; }
}
/* PC の狭い幅（1100〜1150px 前後）でも、<wbr> を入れた所で折り返す（「スタートアッ／プ」「自動車／系）」「再現性を／追求」を防ぐ）。
   1160px 以上は今と同じ折り返し（承認済みの PC の見た目は変わらない） */
@media (min-width: 1100px) {
  .client-card__name, .core__title { word-break: keep-all; overflow-wrap: anywhere; }
}
/* TOP の What we do 03（H18）：1100〜1199px だけ <wbr> の所で折り返す（「実／行を支援」「実行／を支援」を防ぐ）。
   1200px 以上は今の「…実行を／支援します」のまま（全体に効かせると「…立案・／実行を支援します」に変わり、承認済みの PC の見た目が変わるため） */
@media (min-width: 1100px) and (max-width: 1199.98px) {
  .service-card__text--wbr { word-break: keep-all; overflow-wrap: anywhere; }
}
.page-eyebrow { margin-bottom: 20px; line-height: 1.4; }
.page-lead { margin-top: 24px; font-size: 22px; font-weight: 400; line-height: 1.6; letter-spacing: -.01em; max-width: 26em; text-wrap: pretty; }
.page-target { margin-top: 24px; font-size: 15px; line-height: 1.9; color: var(--text-muted); max-width: 36em; }
.page-hero__cta { margin-top: 24px; }

/* ---------- About ---------- */
.purpose__text { font-size: 22px; line-height: 1.6; letter-spacing: -.01em; max-width: 26em; text-wrap: pretty; }
.purpose__grid { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 56px; }
.purpose__label { margin-bottom: 24px; }
.ruled-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.ruled-list__title { font-size: 18px; font-weight: 700; line-height: 1.4; }
.ruled-list__text { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.message__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
/* 代表の写真（config.json の ceo_photo にファイル名を入れたときだけ出る）。枠はモックと同じ縦長（PC で幅360px・高さ460px）。
   写真が無いときは枠ごと出さない（message__grid--text-only。H25） */
.message__photo { aspect-ratio: 360 / 460; width: min(100%, 280px); overflow: hidden; background: var(--mx-placeholder); }
.message__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.message__block { margin-bottom: 48px; }
.message__title { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.005em; }
.message__text { margin-top: 16px; font-size: 16px; line-height: 1.95; color: var(--text-muted); max-width: 36em; }
.message__sign { font-size: 15px; line-height: 1.6; font-style: italic; color: var(--text-muted); }

/* ---------- Our Promise / 図版パネル ---------- */
.promise {
  position: relative; overflow: hidden; background: var(--mx-surface-warm);
  padding: 40px var(--panel-pad); display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
.promise__text { position: relative; z-index: 1; }
.promise__text .rule { margin-bottom: 28px; }
.promise__quote { font-size: 20px; font-weight: 400; line-height: 1.7; letter-spacing: -.01em; }
.promise__quote--lines { font-size: 20px; line-height: 1.6; text-wrap: pretty; }
.promise__quote--lines span { display: inline-block; }
@media (max-width: 1099.98px) { .promise__quote--phrases span { display: inline-block; } }
.promise__eyebrow { margin-top: 32px; line-height: 1.4; }
.promise__art { position: relative; height: 220px; }
.rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.rings span { position: absolute; border: 1px solid var(--mx-gray-400); border-radius: 50%; }
.rings span:nth-child(1) { width: 300px; height: 300px; opacity: .35; }
.rings span:nth-child(2) { width: 250px; height: 250px; opacity: .43; }
.rings span:nth-child(3) { width: 200px; height: 200px; opacity: .52; }
.rings span:nth-child(4) { width: 150px; height: 150px; opacity: .60; }
.rings span:nth-child(5) { width: 100px; height: 100px; opacity: .68; }
.rings span:nth-child(6) { width: 50px; height: 50px; opacity: .77; }
.rings i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--mx-ink-2); }
.promise__art--grid::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(to right, var(--mx-gray-300) 1px, transparent 1px), linear-gradient(to bottom, var(--mx-gray-300) 1px, transparent 1px);
  background-size: 40px 40px;
}
.promise__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--mx-ink-2); }
.promise__dot { position: absolute; left: -5px; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--mx-ink-2); }
.promise__art--dots::before {
  content: ""; position: absolute; inset: 0; opacity: .8;
  background-image: radial-gradient(var(--mx-gray-400) 1.5px, transparent 1.5px); background-size: 32px 32px;
}
.promise__circle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; border: 1px solid var(--mx-gray-500); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.promise__circle i { width: 72px; height: 72px; border-radius: 50%; background: var(--mx-ink); }

.phase { padding-top: 48px; }
.panel { background: var(--mx-surface-warm); padding: 40px var(--panel-pad); }
.panel__title { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; text-wrap: pretty; }
.panel__title--12 { line-height: 1.2; }
.panel__sub { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.panel__text { margin-top: 20px; font-size: 16px; line-height: 1.95; color: var(--text-panel); max-width: 46em; }
.panel__text--12 { margin-top: 12px; }
.panel__text--free { max-width: none; }
.panel__figure {
  margin-top: 32px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  margin-inline: calc(var(--panel-pad) * -1); padding-inline: var(--panel-pad);
}
/* スマホ：図版は PC と同じ大きさ（幅 952px）で横にスクロールして見る。文字が小さい図は「図を拡大して見る」で元の画像を開ける */
.panel__figure img { width: 100%; height: auto; min-width: 952px; }
.panel__figure::after {
  content: "← 横にスクロールして全体を見られます →"; display: block; margin-top: 12px;
  font-size: 12px; line-height: 1.6; color: var(--text-muted); text-align: center;
  position: sticky; left: 0;
}
/* 320〜359px：案内が1行に入らず、最後の「→」だけが2行目に残るので、「← 横にスクロールして／全体を見られます →」の2行にする（10/3・7回目。言葉は同じ）。
   「改行させない＋はみ出させる」は使わない（案内は図と一緒に横に動かないので、右の「→」が切れる） */
@media (max-width: 359.98px) {
  .panel__figure::after { content: "← 横にスクロールして\A全体を見られます →"; white-space: pre-line; }
}
/* 横スクロールの図は Tab で選べる（Safari でも矢印キーで横に動かせる）。フォーカスの枠は図の内側に出す */
.panel__figure:focus-visible { outline-offset: -2px; }
.panel__zoom { margin-top: 4px; text-align: center; }
.panel__zoom a { display: inline-flex; align-items: center; min-height: var(--hit); padding-inline: 8px; font-size: 14px; line-height: 1.4; color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; }
.panel__brain { display: grid; grid-template-columns: 1fr; gap: 32px; }
.panel__brain-graph { width: 200px; justify-self: center; }

.startups-list { padding-top: 32px; }
.startup-row {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.startup-row__meta { display: flex; flex-wrap: wrap; gap: 24px 40px; }
/* スマホ：3つのサービスで並びをそろえる（1段目に STAGE・VERTICAL、2段目に ISSUE を全幅）。値の長さで列がずれないよう固定の格子にする。TOP のカードも同じ */
@media (max-width: 767.98px) {
  .startup-row__meta, .startup-card__meta { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px 16px; }
  .startup-row__meta > div:nth-child(3) { grid-column: 1 / -1; }
}
.startup-row__issue { font-weight: 400 !important; line-height: 1.6 !important; }
.startup-row__name { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.startup-row__text { margin-top: 20px; font-size: 16px; line-height: 1.9; color: var(--text-muted); max-width: 36em; }
.startup-row__target { margin-top: 16px; font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.startup-row__cta { margin-top: 24px; }
.band--after-list { margin-top: var(--section-gap); }
.join-card { display: flex; flex-direction: column; gap: 16px; }
.join-card__title { font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.join-card__text { font-size: 15px; line-height: 1.9; color: var(--text-muted); }
.join-card__fit { font-size: 15px; line-height: 1.8; color: var(--text-faint); }

/* ---------- ナレッジ・記事 ---------- */
.works__grid { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 56px; align-items: start; }
.works__title { margin-top: 32px; }
.works__text { margin-top: 24px; font-size: 16px; line-height: 1.95; color: var(--text-muted); max-width: 32em; }
.works__links { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 32px; }
.works__label { margin-bottom: 20px; }
.works__cats { border-top: 1px solid var(--line); }
.works__cats li {
  display: grid; grid-template-columns: 3px 1fr; gap: 20px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 700; line-height: 1.4;
}
.works__cats li::before { content: ""; width: 3px; height: 24px; background: var(--mx-ink-2); }

/* ---------- チーム ---------- */
/* 10/5：写真＋経歴（ENOLA の会社概要と同じ人・同じ文章）。モック V13 の形：PC は左に縦横 3:4 の写真（280px）、右に役割・名前・経歴。
   1099px 以下は写真を上に小さく出し、その下に役割・名前・経歴。写真の無い人（M氏など）は、同じ枠に人のアイコン */
.team { padding-top: 56px; padding-bottom: var(--section-gap); }
.team__list { border-top: 1px solid var(--line); }
.member {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.member__photo { width: 160px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mx-placeholder); }
.member__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member__photo--icon { display: flex; align-items: flex-end; justify-content: center; }
.member__photo--icon svg { display: block; width: 72%; height: auto; fill: #C4C6C5; }
.member__body { max-width: 720px; }   /* 1099px 以下で1行が長くなりすぎないように（PC の右の列と同じくらい。H45） */
.member__role { font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.member__name { margin-top: 12px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.member__bio { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
/* 経歴の文：ENOLA と同じ決め方で入れた印（<wbr>）の所だけで折り返す（全幅。言葉の途中で割らない。言葉は変えない） */
.member__bio p { font-size: 15px; line-height: 1.85; text-wrap: pretty; line-break: strict; word-break: keep-all; overflow-wrap: anywhere; }
.member__pending { margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
/* 最後のメンバーの下の線は引かない（すぐ下の「相談・問い合わせ」の上の線と2本並ぶため。10/3・7回目） */
.team__list > .member:last-child { border-bottom: 0; }

/* ---------- 会社概要 ---------- */
.company__title { margin-bottom: 48px; }
.company { max-width: 900px; }
.company__row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.company__row dt { font-size: 13px; font-weight: 700; line-height: 1.9; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.company__row dd { font-size: 15px; line-height: 1.9; }

/* ---------- お問い合わせ ---------- */
.contact__lead { margin-top: 24px; font-size: 16px; line-height: 1.9; color: var(--text-muted); max-width: 34em; }
.contact-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 40px; }
.contact-tab {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; color: var(--text-muted);
  word-break: keep-all; overflow-wrap: anywhere;  /* 「大企業の／新規事業相談」のように意味の切れ目で折り返す */
}
.contact-tab[aria-current="true"] { border-color: var(--mx-ink); background: var(--mx-ink); color: #FFFFFF; }
.contact-tab:hover { color: var(--text-strong); }
.contact-tab[aria-current="true"]:hover { color: #FFFFFF; }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 48px; }
.form { display: flex; flex-direction: column; gap: 28px; }
.form__grid2 { display: grid; grid-template-columns: 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field__label { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.field__control {
  width: 100%; height: 48px; padding: 0;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  font-size: 16px; line-height: 1.5; color: var(--text-strong);
  -webkit-appearance: none; appearance: none;
}
select.field__control {
  padding-right: 28px; cursor: pointer;
  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='%231A1C1B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
select.field__control:has(option[value=""]:checked) { color: var(--text-faint); }
.field__hint { margin-top: -2px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.field__control--filled { border-bottom-color: var(--mx-ink); }
.field__control--area { height: 140px; padding: 12px 0; resize: none; }
.field__control:focus-visible { outline: none; border-bottom: 2px solid var(--focus); }
.field__control[aria-invalid="true"] { border-bottom-color: var(--danger); }
.field__error { font-size: 13px; line-height: 1.6; color: var(--danger); }
.field__error::before { content: "！ "; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 同意欄：チェックボックスと文全体（ラベル）が押せる範囲で、高さ 44px 以上。
   「プライバシーポリシーを読む」のリンクは押し間違えないよう、スマホでは別の行・間を 8px 以上あける */
.consent { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.consent__label { display: flex; align-items: center; gap: 12px; min-height: var(--hit); padding-block: 6px; font-size: 15px; line-height: 1.6; color: var(--text-muted); cursor: pointer; }
.consent__box { width: 24px; height: 24px; margin: 0; flex: 0 0 auto; accent-color: var(--mx-ink); cursor: pointer; }
.consent__link { display: inline-flex; align-items: center; min-height: var(--hit); margin-left: 36px; font-size: 15px; line-height: 1.6; color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; }
.form__actions { margin-top: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; min-width: 0; padding: 0 40px;
  background: var(--mx-ink); color: #FFFFFF; border: 0; border-radius: 0; cursor: pointer;
  font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .18em; text-transform: uppercase;
  transition: background-color var(--dur) var(--ease);
}
.button:hover { background: var(--mx-ink-2); }
.button:disabled { background: var(--mx-gray-700); cursor: not-allowed; }  /* 押せない状態。白文字とのコントラスト 6:1 以上 */
.form__status { font-size: 13px; line-height: 1.6; color: var(--text-faint); }
.form__status:empty { display: none; }
/* 送れなかったとき（HubSpot が受け付けなかった・通信が切れた）：エラーの色にして、メールの宛先を押せるようにする（10/5） */
.form__status.is-error { color: var(--danger); }
.form__status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.contact__info dl { display: flex; flex-direction: column; gap: 32px; }
.info-block { border-top: 1px solid var(--line); padding-top: 20px; }
.info-block dd { margin-top: 12px; font-size: 15px; line-height: 1.9; }

/* ---------- 準備中・完了・404 ---------- */
.simple__text { margin-top: 28px; font-size: 16px; line-height: 1.9; color: var(--text-muted); max-width: 34em; }
.page-hero--simple .badge { margin-top: 32px; }
.simple__links { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 32px; }
.simple__links .textlink { min-width: var(--hit); justify-content: center; }

/* プライバシーポリシーの本文（build/privacypolicy.txt から作る） */
.prose { margin-top: 40px; max-width: 46em; font-size: 15px; line-height: 1.9; color: var(--text-strong); }
.prose > * + * { margin-top: 16px; }
.prose__h { margin-top: 40px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.prose__list { padding-left: 1.2em; list-style: disc; }
.prose__list li + li { margin-top: 6px; }
.prose p, .prose li { line-break: strict; word-break: keep-all; overflow-wrap: anywhere; }  /* 10/7：本文は言葉の区切り（<wbr>）でだけ折り返す。入らない長い語（URL など）は折り返す */

/* ---------- 相談・問い合わせ（各ページ下） ---------- */
.cta { border-top: 1px solid var(--line); }
.cta__inner { padding-block: var(--section-gap); }
.cta__title { font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.cta__lead { margin-top: 20px; font-size: 16px; line-height: 1.9; color: var(--text-muted); }
.cta__list { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
.cta__item { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--mx-ink); }
.cta__item-title { font-size: 18px; font-weight: 700; line-height: 1.5; }
.cta__item-note { font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.cta__link { margin-top: 0; align-self: flex-start; }

/* ---------- フッター ---------- */
.site-footer { background: var(--mx-footer); padding-bottom: env(safe-area-inset-bottom); }
.site-footer__grid {
  max-width: var(--page-max); margin-inline: auto;
  padding: 64px max(var(--gutter), env(safe-area-inset-right)) 40px max(var(--gutter), env(safe-area-inset-left));
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px;
}
/* 幅の狭いスマホでは、各グループを縦1列に（2列だと語の途中で折り返し、列どうしがくっついて見える） */
@media (max-width: 479.98px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer__about { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 20px; }
.site-footer__logo { height: 22px; width: 88px; max-width: none; }
.site-footer__text { font-size: 15px; line-height: 1.9; color: var(--mx-gray-300); max-width: 26em; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__heading { font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: #FFFFFF; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__links a { display: flex; align-items: center; min-height: var(--hit); font-size: 15px; line-height: 1.6; color: var(--mx-gray-300); word-break: keep-all; overflow-wrap: anywhere; }  /* 語の途中で折り返さない（入らない幅では折り返す） */
.site-footer__links a:hover { color: #FFFFFF; }
.site-footer__bottom {
  max-width: var(--page-max); margin-inline: auto;
  padding: 24px max(var(--gutter), env(safe-area-inset-right)) 40px max(var(--gutter), env(safe-area-inset-left)); border-top: 1px solid var(--mx-gray-500);
  display: flex; flex-direction: column; gap: 12px;
}
.site-footer__small { font-size: 13px; line-height: 1.6; color: var(--mx-gray-400); }
.site-footer__addr { display: block; }

/* =====================================================================
   タブレット（768px〜）
   ===================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 40px; --h1: 72px; --h1-service: 56px; --h2: 32px; --h2-gap: 48px; --panel-pad: 48px; --section-gap: 112px; --hero-pad: 104px; }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .hero__graph { width: 72vw; right: -12%; top: -14%; }
  .hero__dot { right: 18%; top: 20%; }
  .hero__shade { background: linear-gradient(90deg, #1A1C1B 32%, rgba(26, 28, 27, .6) 68%, rgba(26, 28, 27, .15)); }
  .hero__title { font-size: 34px; line-height: 1.4; }
  .hero__logo { height: 52px; }
  .hero__tag { font-size: 18px; }
  .core__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .core__title { font-size: 24px; }
  .clients--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .purpose__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .message__grid { grid-template-columns: 240px 1fr; gap: 48px; }
  .message__photo { width: 100%; }
  .message__grid--text-only { grid-template-columns: 1fr; }   /* 写真が無いときは1列にして文章から始める（H25） */
  .promise { grid-template-columns: 1.4fr 1fr; padding: 64px var(--panel-pad); }
  .promise__art { height: 320px; }
  .promise__quote, .promise__quote--lines { font-size: 22px; }
  .panel__title { font-size: 26px; line-height: 1.3; }
  .panel__title--12 { line-height: 1.2; }
  .field__hint { display: none; }
  /* 図版はタブレットでは画面に収まるよう縮めて全体を見せる。文字が小さくなるので「図を拡大して見る」は出したまま（PC 幅で消す） */
  .panel__figure { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .panel__figure img { min-width: 0; }
  .panel__figure::after { content: none; }
  .panel__brain { grid-template-columns: 1fr 200px; gap: 48px; align-items: start; }
  .panel__brain-graph { justify-self: end; }
  .startup-row { grid-template-columns: 200px 1fr; gap: 48px; padding: 56px 0; }
  .startup-row__meta { flex-direction: column; gap: 28px; }
  .works__grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .member { grid-template-columns: 200px 1fr; gap: 48px; padding: 56px 0; }
  .member__photo { width: 100%; }
  .company__row { grid-template-columns: 160px 1fr; gap: 32px; }
  .contact-tabs { display: flex; flex-wrap: wrap; gap: 8px 32px; }
  .contact-tab {
    min-height: var(--hit); padding: 0 0 8px; border: 0; border-bottom: 2px solid transparent;
    align-items: flex-end; letter-spacing: .18em; color: var(--text-faint); background: none;
  }
  .contact-tab[aria-current="true"] { background: none; color: var(--text-strong); border-bottom-color: var(--mx-ink); }
  .contact-tab[aria-current="true"]:hover { color: var(--text-strong); }
  .form__grid2 { grid-template-columns: 1fr 1fr; }
  .cta__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }  /* タブレット：説明文を上の段に、リンクの3グループを下に並べる */
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* =====================================================================
   PC（1100px〜）：モック V13 の寸法
   ===================================================================== */
@media (min-width: 1100px) {
  :root {
    --gutter: 40px; --header-h: 88px; --section-gap: 140px; --hero-pad: 150px;
    --h1: 112px; --h1-service: 80px; --h2: 34px; --h2-gap: 64px; --grid-gap: 56px; --panel-pad: 64px;
  }
  body { line-height: 1.9; }
  .textlink { min-height: 0; display: inline-block; }
  .more-link { margin-top: 64px; }

  /* ヘッダー */
  .menu-button { display: none; }
  .site-nav { display: flex; position: static; inset: auto; padding: 0; background: none; overflow: visible; margin-left: 48px; height: 100%; }
  .is-menu-open, .is-menu-open body { overflow: visible; }
  .site-nav__list { flex-direction: row; gap: 28px; align-items: center; height: 100%; }
  .site-nav__item { border: 0; height: 100%; display: flex; align-items: center; }
  .site-nav__item--sp { display: none; }
  .site-nav__item--contact { margin: 0; }
  .site-nav__link, .site-nav__item--contact .site-nav__link {
    min-height: var(--hit); padding: 0; background: none;
    font-size: 13px; line-height: 1; letter-spacing: .06em; color: var(--mx-gray-500);
  }
  .site-nav__link--caps { font-size: 13px; letter-spacing: .14em; }
  .site-nav__link[aria-current="page"] { color: var(--mx-ink); text-decoration: none; }
  .site-nav__link:hover, .site-nav__item--contact .site-nav__link:hover { color: var(--mx-gray-500); background: none; }
  .site-nav__item--contact .site-nav__link[aria-current="page"] { color: var(--mx-ink); }

  /* ヒーロー */
  .hero__graph { right: -6%; top: -14%; width: 58vw; max-width: 880px; }
  .hero__inner { padding-bottom: 140px; }
  .hero__logo { height: 63.84px; }
  .hero__tag { margin-top: 28px; font-size: 24px; line-height: 1; }
  .hero__title { margin-top: 40px; font-size: 44px; line-height: 1.35; }
  .hero__lead { margin-top: 36px; font-size: 17px; line-height: 1.9; }
  .hero__links { gap: 40px; margin-top: 56px; }
  .hero__dot { right: auto; top: auto; left: calc(50% + 200px); bottom: 22%; }
  .whatwedo { padding-top: var(--section-gap); }

  .grid3 { gap: 56px; }
  .service-card__no { width: 120px; height: 120px; font-size: 40px; }
  .core__grid { gap: 80px; }
  .core__title { font-size: 28px; }
  .core__graph { padding: 40px; }
  .stat__value { font-size: 64px; }
  .clients--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .clients--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clients__label { margin-bottom: 28px; }
  .clients__label--2 { margin-top: 64px; margin-bottom: 24px; }
  .client-card { padding: 22px 22px 20px; min-height: 148px; gap: 20px; }

  /* 下層ページ */
  .page-hero { padding-bottom: 72px; }
  .page-hero--about { padding-bottom: 96px; }
  .page-hero--flush { padding-bottom: 0; }
  .page-hero--works, .page-hero--company, .page-hero--contact { padding-bottom: var(--section-gap); }
  .page-title { line-height: 1; }
  .page-title--tight, .page-title--service { line-height: 1.05; }
  .page-title--simple { font-size: 56px; line-height: 1.1; }
  .page-eyebrow { margin-bottom: 28px; line-height: 1; }
  .page-lead { margin-top: 32px; font-size: 30px; line-height: 1.45; }
  .page-target { margin-top: 28px; }
  .page-hero__cta { margin-top: 40px; }

  .purpose__text { font-size: 28px; }
  .purpose__grid { gap: 80px; margin-top: 96px; }
  .purpose__label { margin-bottom: 32px; }
  .ruled-list__text { font-size: 14px; }
  .message__grid { grid-template-columns: 360px 1fr; gap: 80px; }
  .message__grid--text-only > .message__body { grid-column: 2; }   /* 写真が無くても文章はモックと同じ位置。左の列は空ける（H25） */
  .message__title { font-size: 24px; }
  .message__sign { font-size: 14px; }

  .promise { padding: 80px 64px; gap: 48px; }
  .promise--sb { grid-template-columns: 1.5fr 1fr; }
  .promise--svc { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .promise__quote { font-size: 28px; white-space: nowrap; }
  .promise__quote--lines { font-size: 34px; white-space: normal; }
  .promise__eyebrow { margin-top: 40px; line-height: 1; }
  .phase { padding-top: 96px; }
  .panel { padding: 64px; }
  .panel__title { font-size: 34px; line-height: 1.3; }
  .panel__title--12 { line-height: 1.2; }
  .panel__figure { margin-top: 40px; }
  .panel__zoom { display: none; }   /* PC は図がモックと同じ 952px で出るので不要 */
  .panel__brain { grid-template-columns: 1fr 200px; gap: 56px; }
  .startups-list { padding-top: 56px; }
  .startup-row { grid-template-columns: 260px 1fr; gap: 80px; }
  .startup-row__name { font-size: 32px; }
  .startup-row__target { font-size: 14px; }
  .startup-row__cta { margin-top: 32px; display: flex; align-items: flex-end; line-height: 1; }
  .join-card__text { font-size: 15px; }
  .join-card__fit { font-size: 14px; }

  .works__grid { gap: 120px; margin-top: 120px; }
  .works__text { margin-top: 28px; font-size: 17px; }
  .works__links { gap: 40px; margin-top: 48px; }

  .team { padding-top: 120px; }
  .member { grid-template-columns: 280px 1fr; gap: 80px; padding: 64px 0; }
  .member__body { max-width: none; }
  /* モック V13 のチーム：役割（15px）→ 16px あけて名前（32px）→ 32px あけて経歴 */
  .member__role { font-size: 15px; line-height: 1.8; }
  .member__name { margin-top: 16px; font-size: 32px; }
  .member__bio { margin-top: 32px; }
  .member__pending { margin-top: 32px; }

  .company__title { margin-bottom: 96px; }
  .company__row { grid-template-columns: 200px 1fr; gap: 40px; padding: 24px 0; }

  .contact__lead { margin-top: 32px; font-size: 17px; }
  .contact-tabs { margin-top: 64px; gap: 32px; }
  .contact-tabs > li { display: flex; }
  .contact-tab { min-height: 0; display: inline-block; line-height: 1; }
  .contact__grid { grid-template-columns: 1.6fr 1fr; gap: 80px; margin-top: 72px; }
  .field__label { line-height: 1; }
  .field__control { font-size: 15px; line-height: 1; }
  .consent { flex-direction: row; align-items: center; gap: 12px 32px; }
  .consent__label { font-size: 14px; line-height: 1.8; padding-block: 0; min-height: 0; }
  .consent__box { width: 16px; height: 16px; }
  .consent__link { min-height: 0; margin-left: 0; font-size: 14px; line-height: 1.8; }

  .cta__title { font-size: 40px; }
  .cta__list { gap: 56px; margin-top: 72px; }
  .cta__item-note { font-size: 14px; }
  .cta__link { margin-top: 8px; }

  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; padding: 96px max(40px, env(safe-area-inset-right)) 48px max(40px, env(safe-area-inset-left)); gap: 56px; }
  .site-footer__about { grid-column: auto; }
  .site-footer__col { gap: 16px; }
  .site-footer__links { gap: 16px; }
  .site-footer__links a { display: block; min-height: 0; font-size: 14px; }
  .site-footer__text { font-size: 14px; }
  .site-footer__bottom { padding: 28px max(40px, env(safe-area-inset-right)) 48px max(40px, env(safe-area-inset-left)); }
  .site-footer__small { line-height: 1; }
  .site-footer__addr { display: inline; margin-left: 1em; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__graph { animation: none; }
  .rise { animation: none; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .menu-button, .cta, .site-footer__grid nav { display: none; }
  .hero { background: #FFFFFF; }
}

/* config.json の a11y_contrast_fix: true のとき足される。モックの薄いグレー文字（小見出し・補足 #A5A8A7）を、文字と背景のコントラスト 4.5:1 を満たす濃さに上げる（false にするとモックどおりの色）。
   白地では、モックの本文の補足色 #707372（白地で 4.79:1）にそろえる（補足より濃くしない＝文字の強弱の順番を逆にしない）。
   グレーの面（帯 #F5F5F5・図版パネル #F7F6F3）の上だけ、#707372 では足りない（4.39:1）ので、基準を満たす一番薄い #6E7170（4.52:1）にする */
:root{--text-muted:#707372;--text-faint:#707372;--text-placeholder:#5A5D5C}
.band,.panel,.promise{--text-muted:#6E7170;--text-faint:#6E7170}
/* 「準備中」の行（Agence）：モックは行全体を半透明（50%）にしている。小さい文字は読める濃さのグレーにし、
   サービス名（26〜32px の太字＝大きい文字。基準は 3:1）だけはモックと同じ薄さ #8D8E8D（白地で 3.29:1）のままにして、準備中の薄さを残す */
.is-preparing{opacity:1}.is-preparing,.is-preparing *{color:var(--text-muted)}.is-preparing .textlink{border-color:var(--mx-gray-300)}
.is-preparing .startup-card__name,.is-preparing .startup-row__name{color:#8D8E8D}
