@charset "UTF-8";
/* =============================================================
 * METALIX M&A事業部 ページ専用スタイル (manda)
 *  - 共通 output.css は使わず、当ページ個別のCSS。
 *  - 比率キープ・スケーリング (root font-size をvw連動) + rem値で
 *    PC(1280基準)/SP(375基準) の Figma デザインを忠実再現。
 *  - ブランドグラデ = linear-gradient(#efa700 → #ed7b00)
 * ============================================================= */

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Sans JP", sans-serif; color: #000; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---- 比率キープ・スケーリング (通常ページと同方針, breakpoint 768/1280) ---- */
:root { font-size: 16px; }                                              /* ≥1280 = デザイン原寸 */
@media (max-width: 767.98px) { :root { font-size: calc(100vw * 16 / 375); } }         /* SP 375基準 */
@media (min-width: 768px) and (max-width: 1280px) { :root { font-size: calc(100vw / 80); } } /* PC 1280基準 */

/* ---- ブランドグラデ 共通 ---- */
.mna-grad-text {
  background: linear-gradient(to right, #efa700, #ed7b00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =============================================================
 * KV (Hero)
 * ============================================================= */
.mna-hero {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-height: 48.75rem; /* 780 */ overflow: hidden; color: #fff;
}
.mna-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mna-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mna-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); mix-blend-mode: multiply; }

/* ---- ヘッダー (初期はKV内で一緒にスクロール / KVアウト後に上部固定+縮小) ---- */
.mna-header {
  position: relative; z-index: 3; width: 100%;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.mna-header-inner {
  width: 100%; display: flex; align-items: stretch; justify-content: space-between;
  transition: padding 0.3s ease;
}
.mna-header-brand { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.625rem 1rem 0; transition: padding 0.3s ease; } /* SP: pt-10 px-16 */
.mna-logo { width: 9.375rem; height: 1.75rem; transition: width 0.3s ease, height 0.3s ease; }   /* SP 150x28 */
.mna-logo img { width: 100%; height: 100%; }
.mna-tagline {
  font-weight: 700; font-size: 0.625rem; letter-spacing: 0.125rem; /* SP 10px / 2px */
  color: rgba(255,255,255,0.6); white-space: nowrap; transition: font-size 0.3s ease, opacity 0.3s ease;
}
.mna-hamburger { flex-shrink: 0; width: 3.6875rem; height: 3.6875rem; background: #000; border: 0; display: flex; align-items: center; justify-content: center; }
.mna-hamburger img { width: 1.5rem; height: 1.5rem; }
.mna-header-right { display: none; }  /* SP は非表示 (ハンバーガー) */

/* KVスクロールアウト後 — 上部固定 + 背景(#333程度) + 縮小 + スライドイン */
.mna-header.is-scrolled {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background-color: rgba(51,51,51,0.95); /* #333程度 */
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0.125rem 0.75rem rgba(0,0,0,0.25);
  animation: mnaHeaderIn 0.3s ease both;
}
@keyframes mnaHeaderIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.mna-header.is-scrolled .mna-header-brand { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.mna-header.is-scrolled .mna-logo { width: 7.5rem; height: 1.4rem; }
.mna-header.is-scrolled .mna-tagline { font-size: 0.5rem; opacity: 0.85; }

/* ---- Hero コンテンツ ---- */
.mna-hero-content {
  position: relative; z-index: 2; flex: 1 0 0; width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.875rem; /* SP 30 */ padding: 0 1.25rem; /* SP px-20 */
}
.mna-hero-left { display: flex; flex-direction: column; gap: 1.625rem; /* 26 */ }
.mna-headline { font-weight: 900; font-size: 1.875rem; /* SP 30 */ line-height: 1.5; margin: 0; }
.mna-headline p { margin: 0; }
.mna-lead { font-weight: 400; font-size: 0.8125rem; /* SP 13 */ line-height: 2; margin: 0; }
.mna-lead p { margin: 0; }

/* ---- 統計カード ---- */
.mna-hero-right { display: flex; flex-direction: column; gap: 0.5rem; /* SP 8 */ width: 100%; max-width: 25rem; }
.mna-stat { display: flex; align-items: stretch; background: rgba(255,255,255,0.15); overflow: hidden; }
.mna-stat-bar { flex-shrink: 0; width: 0.25rem; background: linear-gradient(to bottom, #efa700, #ed7b00); }
.mna-stat-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.625rem; /* SP p-10 */ }
.mna-stat-num {
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.25rem; /* SP 20 */ line-height: 1;
  white-space: nowrap; margin: 0;
  background: linear-gradient(to right, #efa700, #ed7b00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mna-stat-num .unit { font-size: 1em; }   /* SP は本体と同サイズ */
.mna-stat-label { font-weight: 400; font-size: 0.6875rem; /* SP 11 */ line-height: 1.6; color: #fff; margin: 0; }
.mna-stat-label p { margin: 0; }

/* =============================================================
 * Intro セクション (背景写真 + 黒70%乗算 / 中央テキスト)
 * ============================================================= */
.mna-intro {
  position: relative; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 5rem 0; /* SP py-80 */
}
.mna-intro-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mna-intro-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mna-intro-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); mix-blend-mode: multiply; }
.mna-intro-inner {
  position: relative; z-index: 2; width: 100%; max-width: 50rem; /* 800 */
  padding: 0 1.25rem; /* SP px-20 */ display: flex; flex-direction: column; align-items: center; gap: 2rem; /* 32 */
}
.mna-intro-heading { font-weight: 700; font-size: 1.5rem; /* SP 24 */ line-height: 2; text-align: center; margin: 0; }
.mna-intro-heading p { margin: 0; }
.mna-intro-body { display: flex; flex-direction: column; gap: 1rem; /* 16 */ width: 100%; }
.mna-intro-body p { margin: 0; font-weight: 400; font-size: 0.875rem; /* SP 14 */ line-height: 2.2; }
.mna-intro-body strong { font-weight: 700; }

/* =============================================================
 * 共通コンポーネント (セクション見出し / プライマリボタン)
 * ============================================================= */
.mna-eyebrow { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.25rem; line-height: 1; }
.mna-sec-title { font-weight: 700; font-size: 1.5rem; /* SP 24 */ line-height: 1.5; margin: 0; }
.mna-sec-line { width: 3rem; height: 3px; }
/* SP専用の改行 (デスクトップでは無効化) */
.mna-br-sp { }
.mna-sec-lead { font-weight: 400; font-size: 0.875rem; /* SP 14 */ line-height: 2; margin: 0; }
.mna-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: #000; color: #fff; border-radius: 2.5rem; padding: 1.125rem 1.875rem; /* SP py-18 px-30 */
  font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.0625rem; white-space: nowrap; transition: opacity 0.2s ease;
}
.mna-btn-primary:hover { opacity: 0.85; }
.mna-btn-primary img { width: 1.5rem; height: 1.5rem; }

/* =============================================================
 * Pain (課題) — 背景写真 + 黒70% / 6カード + CTAブロック
 * ============================================================= */
.mna-pain { position: relative; overflow: hidden; }
.mna-pain-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mna-pain-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mna-pain-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); mix-blend-mode: multiply; }
.mna-pain-inner { position: relative; z-index: 2; max-width: 67.5rem; margin: 0 auto; padding: 3.125rem 1.5rem; /* SP py-50 */ display: flex; flex-direction: column; gap: 3rem; color: #fff; }
.mna-pain-head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-pain-head .mna-sec-line { background: #fff; }
.mna-pain-cards { display: flex; flex-direction: column; gap: 0.5rem; }
.mna-pain-card { border: 1px solid rgba(255,255,255,0.5); display: flex; gap: 1.25rem; padding: 2rem 2.25rem; }
.mna-pain-icon { width: 2.125rem; height: 2.125rem; flex-shrink: 0; }
.mna-pain-icon img { width: 100%; height: 100%; }
.mna-pain-card-body { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.mna-pain-card-title { font-weight: 700; font-size: 1rem; line-height: 1.6; margin: 0; }
.mna-pain-card-desc { font-weight: 400; font-size: 0.875rem; line-height: 1.9; color: #ccc; margin: 0; }
.mna-pain-cta { background: #fff; color: #000; display: flex; flex-direction: column; gap: 2rem; padding: 2.5rem 3rem; }
.mna-pain-cta-text { font-weight: 700; font-size: 1rem; line-height: 1.7; margin: 0; }
.mna-pain-cta-text p { margin: 0; }
.mna-pain-cta .mna-btn-primary { width: 100%; }
@media (min-width: 768px) {
  .mna-sec-title { font-size: 2.5rem; /* 40 */ }
  .mna-sec-lead { font-size: 1rem; /* 16 */ }
  .mna-br-sp { display: none; }   /* SP専用改行はデスクトップで無効 */
  .mna-btn-primary { padding: 1.375rem 3.5rem; /* py-22 px-56 */ }

  .mna-pain { padding: 6.25rem 0; /* outer py-100 */ }
  .mna-pain-inner { padding: 6rem 1.5rem; /* py-96 */ }
  .mna-pain-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .mna-pain-icon { width: 2.75rem; height: 2.75rem; /* 44 */ }
  .mna-pain-card-title { font-size: 1.125rem; /* 18 */ }
  .mna-pain-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .mna-pain-cta-text { flex: 1 1 0; font-size: 1.375rem; /* 22 */ }
  .mna-pain-cta .mna-btn-primary { width: auto; }
}

/* =============================================================
 * WhyNow (なぜ今) — 背景#222 / 3番号カード + 締めメッセージ
 * ============================================================= */
.mna-why { background: #222; }
.mna-why-inner { max-width: 67.5rem; margin: 0 auto; padding: 3.125rem 1.5rem; display: flex; flex-direction: column; gap: 3rem; color: #fff; }
.mna-why-head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-why-head .mna-sec-line { background: #fff; }
.mna-why-cards { display: flex; flex-direction: column; gap: 1.5rem; /* 24 */ }
.mna-why-card { position: relative; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.5); padding: 2.25rem 1.75rem; /* py-36 px-28 */ display: flex; flex-direction: column; gap: 0.875rem; /* 14 */ overflow: hidden; }
.mna-why-num { position: absolute; top: -0.5rem; right: 1.25rem; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 4rem; line-height: 1; color: rgba(255,255,255,0.5); pointer-events: none; }
.mna-why-card-title { position: relative; z-index: 1; font-weight: 700; font-size: 1rem; line-height: 1.6; margin: 0; }
.mna-why-card-title p { margin: 0; }
.mna-why-card-desc { font-weight: 400; font-size: 0.875rem; line-height: 2; margin: 0; }
.mna-why-close-hr { height: 1px; background: #fffdf8; width: 100%; }
.mna-why-close-row { display: flex; flex-direction: column; gap: 3rem; padding-top: 2.5rem; /* pt-40 */ }
.mna-why-statement { font-weight: 700; font-size: 1.125rem; /* SP 18 */ line-height: 1.9; }
.mna-why-statement p { margin: 0; }
.mna-why-note { display: flex; flex-direction: column; align-items: center; gap: 3rem; width: 100%; }
.mna-why-note-bar { width: 7rem; height: 3px; background: #fff; flex-shrink: 0; }
.mna-why-note-text { font-weight: 400; font-size: 0.875rem; line-height: 2; margin: 0; width: 100%; }
@media (min-width: 768px) {
  .mna-why-inner { padding: 6rem 1.5rem; /* py-96 */ }
  .mna-why-cards { flex-direction: row; }
  .mna-why-card { flex: 1 1 0; }
  .mna-why-card-title { font-size: 1.125rem; /* 18 */ }
  .mna-why-close-row { flex-direction: row; align-items: center; }
  .mna-why-statement { flex: 1 1 0; font-size: 1.375rem; /* 22 */ }
  .mna-why-note { flex: 1 1 0; flex-direction: row; align-items: stretch; gap: 1.25rem; }
  .mna-why-note-bar { width: 3px; height: auto; align-self: stretch; }
  .mna-why-note-text { flex: 1 1 0; }
}

/* =============================================================
 * Difference (5つの違い) — 白背景 / 番号付き5行比較テーブル
 * ============================================================= */
.mna-diff { background: #fff; }
.mna-diff-inner { max-width: 67.5rem; margin: 0 auto; padding: 3.125rem 1.5rem; display: flex; flex-direction: column; gap: 3rem; }
.mna-diff-head { position: relative; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-diff-head .mna-eyebrow { color: #000; }
.mna-diff-head .mna-sec-title { color: #1a1a2e; }
.mna-diff-head .mna-sec-line { background: #000; }
.mna-diff-person { position: absolute; top: -0.6875rem; right: 0.625rem; width: 2.375rem; height: 8.5625rem; }
.mna-diff-items { border: 1px solid #d0cfc8; display: flex; flex-direction: column; }
.mna-diff-row { display: flex; align-items: stretch; }
.mna-diff-row + .mna-diff-row { border-top: 1px solid #d0cfc8; }
.mna-diff-num { flex-shrink: 0; width: 3rem; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; padding: 2rem 0; font-family: "Roboto", sans-serif; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.125rem; }
.mna-diff-content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2rem; padding: 1.25rem; }
.mna-diff-text { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.mna-diff-title { font-weight: 700; font-size: 1.125rem; line-height: 1.6; color: #1a1a2e; margin: 0; }
.mna-diff-title p { margin: 0; }
.mna-diff-desc { font-weight: 400; font-size: 0.875rem; line-height: 2; color: #444; margin: 0; }
.mna-diff-vs { background: #f7f5f0; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.mna-diff-vs-label { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1875rem; color: #777; margin: 0; }
.mna-diff-vs-row { display: flex; align-items: center; gap: 0.5rem; }
.mna-diff-vs-ours { flex: 1 1 0; min-width: 0; font-weight: 700; font-size: 0.8125rem; line-height: 1.4; margin: 0; }
.mna-diff-vs-mid { flex-shrink: 0; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.625rem; color: #777; }
.mna-diff-vs-theirs { flex: 1 1 0; min-width: 0; font-weight: 400; font-size: 0.75rem; line-height: 1.4; color: #777; text-decoration: line-through; margin: 0; }
@media (min-width: 768px) {
  .mna-diff-inner { padding: 6rem 1.5rem; }
  .mna-diff-person { top: -2.375rem; right: 1.75rem; width: 3.375rem; height: 12.125rem; }
  .mna-diff-content { flex-direction: row; gap: 2rem; padding: 2rem 2.25rem; align-items: flex-start; }
  .mna-diff-text { flex: 1 1 0; }
  .mna-diff-vs { flex: 1 1 0; }
}

/* =============================================================
 * Growth (M&A後の成長) — off-white / 4フェーズ タイムライン + 黒note
 * ============================================================= */
.mna-growth { background: #f7f5f0; }
.mna-growth-inner { max-width: 67.5rem; margin: 0 auto; padding: 3.125rem 1.5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.mna-growth-head { position: relative; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-growth-head .mna-eyebrow { color: #000; }
.mna-growth-head .mna-sec-title { color: #1a1a2e; }
.mna-growth-head .mna-sec-line { background: #000; }
.mna-growth-head .mna-sec-lead { color: #444; }
.mna-growth-person { position: absolute; top: -1.0625rem; right: 0.125rem; width: 2.75rem; height: 8.3125rem; } /* SP 44x133 top-17 right2 */
.mna-growth-timeline { position: relative; display: flex; flex-direction: column; gap: 2rem; }
.mna-growth-line { display: none; }
.mna-growth-vline { position: absolute; left: 0.6875rem; top: 0.75rem; bottom: 0.75rem; width: 2px; background: linear-gradient(to bottom, #efa700, #ed7b00); }
.mna-growth-phase { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.mna-growth-dot { position: relative; z-index: 1; width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.mna-growth-dot img { width: 100%; height: 100%; }
.mna-growth-phase-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mna-growth-phase-label { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.09375rem; margin: 0; background: linear-gradient(to right, #efa700, #ed7b00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mna-growth-phase-title { font-weight: 700; font-size: 1.125rem; line-height: 1.5; color: #1a1a2e; margin: 0; }
.mna-growth-phase-title p { margin: 0; }
.mna-growth-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; align-self: stretch; }
.mna-growth-list li { display: flex; gap: 0.375rem; font-size: 0.75rem; line-height: 1.6; color: #444; }
.mna-growth-list li::before { content: "›"; color: #ee9000; font-weight: 700; flex-shrink: 0; }
.mna-growth-note { background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem 2.5rem; }
.mna-growth-note-icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.mna-growth-note-text { font-size: 1.0625rem; line-height: 1.9; }
.mna-growth-note-text p { margin: 0; }
@media (min-width: 768px) {
  .mna-growth-inner { padding: 6rem 1.5rem; }
  .mna-growth-person { top: -1.0625rem; right: 0.75rem; width: 4.0625rem; height: 12.375rem; }
  .mna-growth-timeline { flex-direction: row; gap: 0; }
  .mna-growth-vline { display: none; }
  .mna-growth-line { display: block; position: absolute; height: 2px; left: 12.5%; right: 12.5%; top: 3.4375rem; background: linear-gradient(to right, #efa700, #ed7b00); }
  .mna-growth-phase { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 0.875rem; padding: 2.75rem 1.25rem 0; }
  /* ラベル/タイトルは中央、リストは左揃え (Figma準拠) */
  .mna-growth-phase-body { align-items: center; text-align: center; }
  .mna-growth-list { align-self: stretch; text-align: left; }
  .mna-growth-list li { text-align: left; }
  .mna-growth-note { flex-direction: row; justify-content: center; gap: 1.5rem; }
}

/* =============================================================
 * Cases (シナジー事例) — 白 / 2ケースカード
 * ============================================================= */
.mna-cases { background: #fff; }
.mna-cases-inner { max-width: 67.5rem; margin: 0 auto; padding: 3.125rem 1.5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.mna-cases-head { position: relative; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-cases-head .mna-eyebrow { color: #000; }
.mna-cases-head .mna-sec-title { color: #1a1a2e; }
.mna-cases-head .mna-sec-line { background: #000; }
.mna-cases-head .mna-sec-lead { color: #444; }
.mna-cases-people { position: absolute; top: -0.875rem; right: 0.5625rem; width: 6.3125rem; height: 7.5625rem; } /* SP 101x121 top-14 right9 */
.mna-cases-list { display: flex; flex-direction: column; gap: 2rem; }
.mna-case { border: 1px solid #d0cfc8; display: flex; flex-direction: column; }
.mna-case-head { background: #000; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 1.25rem 1.75rem; }
.mna-case-head-title { font-family: "Montserrat", "Noto Sans JP", sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.09375rem; }
.mna-case-head-meta { font-weight: 400; font-size: 0.75rem; }
.mna-case-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.mna-case-title { font-weight: 700; font-size: 1.125rem; line-height: 1.6; color: #1a1a2e; margin: 0; }
.mna-case-quote { display: flex; gap: 0.75rem; }
.mna-case-quote-bar { width: 2px; background: #d0cfc8; flex-shrink: 0; }
.mna-case-quote-text { flex: 1 1 0; min-width: 0; font-weight: 400; font-size: 0.875rem; line-height: 2; color: #777; margin: 0; }
.mna-case-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mna-case-checks li { display: flex; gap: 0.625rem; font-weight: 500; font-size: 0.875rem; line-height: 1.7; color: #1c1c1c; }
.mna-case-checks li::before { content: "✓"; font-weight: 700; color: #ee9000; flex-shrink: 0; }
.mna-cases-note { font-weight: 400; font-size: 0.75rem; color: #777; text-align: center; margin: 0; }
@media (min-width: 768px) {
  .mna-cases-inner { padding: 6rem 1.5rem; }
  .mna-cases-people { top: -1.875rem; right: 0; width: 11.125rem; height: 13.3125rem; } /* PC 178x213 top-30 right0 */
  .mna-cases-list { flex-direction: row; gap: 2rem; align-items: stretch; }
  .mna-case { flex: 1 1 0; min-width: 0; }
}

/* =============================================================
 * Flow (7つのステップ) — off-white / 番号付き7ステップ
 * ============================================================= */
.mna-flow { background: #f7f5f0; }
.mna-flow-inner { max-width: 67.5rem; margin: 0 auto; padding: 3.125rem 1.5rem; display: flex; flex-direction: column; gap: 3.5rem; }
.mna-flow-head { position: relative; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-flow-head .mna-eyebrow { color: #000; }
.mna-flow-head .mna-sec-title { color: #1a1a2e; }
.mna-flow-head .mna-sec-line { background: #000; }
.mna-flow-head .mna-sec-lead { color: #444; }
.mna-flow-people { position: absolute; top: -0.8125rem; right: 0.4375rem; width: 5.875rem; height: 9.6875rem; } /* SP 94x155 top-13 right7 */
.mna-flow-steps { border: 1px solid #d0cfc8; display: flex; flex-direction: column; }
.mna-flow-step { display: flex; align-items: stretch; }
.mna-flow-step + .mna-flow-step { border-top: 1px solid #d0cfc8; }
.mna-flow-num { flex-shrink: 0; width: 3.5rem; background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; padding: 1.75rem 0; }
.mna-flow-num-label { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.5625rem; letter-spacing: 0.125rem; }
.mna-flow-num-no { font-family: "Roboto", sans-serif; font-weight: 900; font-size: 1.75rem; line-height: 1; }
.mna-flow-content { flex: 1 1 0; min-width: 0; background: #fff; display: flex; flex-direction: column; gap: 0.625rem; padding: 1.75rem 1.25rem; }
.mna-flow-title { font-weight: 700; font-size: 1.125rem; line-height: 1.5; color: #1a1a2e; margin: 0; }
.mna-flow-desc { font-weight: 400; font-size: 0.875rem; line-height: 2; color: #444; margin: 0; }
.mna-flow-tag { display: flex; align-items: center; gap: 0.375rem; font-weight: 500; font-size: 0.875rem; line-height: 1.5; margin: 0; background: linear-gradient(to right, #efa700, #ed7b00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mna-flow-tag .dot { font-size: 0.5rem; }
@media (min-width: 768px) {
  .mna-flow-inner { padding: 6rem 1.5rem; }
  .mna-flow-people { top: -1.875rem; right: 1.875rem; width: 9.0625rem; height: 14.9375rem; } /* PC 145x239 top-30 right30 */
  .mna-flow-num { width: 5rem; }
  .mna-flow-content { padding: 1.75rem 2.25rem; }
  .mna-flow-desc { font-size: 1rem; }
}

/* =============================================================
 * スクロール入場アニメーション (フェードアップ)
 *  - [data-reveal]        : 単体でフレームイン時にフェードアップ
 *  - [data-reveal-group]  : 直下の子要素を順番(左→右 / 上→下)に時間差表示
 *  - 装飾ライン(aria-hidden の span)は対象外(即表示)
 * ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
  }
  [data-reveal-group] > [aria-hidden="true"]:not(img) {
    /* 罫線・コネクタ等の装飾は動かさず即表示 */
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  [data-reveal].is-revealed,
  [data-reveal-group] > .is-revealed {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================
 * KV (Hero) 導入アニメーション
 *  1. メインコピーを1文字ずつフェードアップ
 *  2. サブコピーがフェードアップ
 *  3. 右側3カードが上から時間差でフェードアップ
 *  (prefers-reduced-motion 時は即表示)
 * ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .mna-headline { opacity: 0; }            /* JS が分割後に opacity:1 へ (FOUC防止) */
  .mna-headline.is-ready { opacity: 1; }
  .mna-char {
    /* inline のまま position:relative+top で持ち上げる (inline-block は行ボックスを膨らませるため不可) */
    position: relative;
    top: 0.5em;
    opacity: 0;
    /* グラデ文字(background-clip:text)は opacity:0 だけでは隠れないため visibility も併用 */
    visibility: hidden;
    transition: opacity 0.5s ease, top 0.5s ease, visibility 0s linear;
  }
  .mna-char.is-in { opacity: 1; top: 0; visibility: visible; }
  .mna-hero .mna-lead {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
  }
  .mna-hero .mna-lead.is-in { opacity: 1; transform: none; }
  .mna-hero .mna-stat {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
  }
  .mna-hero .mna-stat.is-in { opacity: 1; transform: none; }
}
/* 分割した文字がグラデーション部分の場合、各文字にグラデーションを継承 */
.mna-char-grad {
  background: linear-gradient(to right, #efa700, #ed7b00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =============================================================
 * FAQ (よくある質問) — アコーディオン
 * ============================================================= */
.mna-faq { background: #fff; }
.mna-faq-inner {
  max-width: 67.5rem; /* 1080 */ margin: 0 auto;
  padding: 3.125rem 1.5rem; /* SP py-50 px-24 */
  display: flex; flex-direction: column; gap: 3.5rem; /* 56 */
}
.mna-faq-head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mna-faq-head .mna-sec-line { background: #000; }
.mna-faq-list { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; }
.mna-faq-item { border: 1px solid rgba(0,0,0,0.5); background: rgba(255,255,255,0.05); overflow: hidden; }
.mna-faq-q {
  display: flex; gap: 1rem; align-items: flex-start; width: 100%;
  background: #f7f5f0; border: 0; text-align: left; cursor: pointer;
  padding: 1.5rem 1.75rem; /* py-24 px-28 */ font: inherit;
}
.mna-faq-q-mark {
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.25rem; line-height: 1;
  background: linear-gradient(to right, #efa700, #ed7b00);
  -webkit-background-clip: text; background-clip: text; color: transparent; flex-shrink: 0;
}
.mna-faq-q-text { flex: 1 1 0; min-width: 0; font-weight: 700; font-size: 1rem; /* SP 16 */ line-height: 1.7; color: #000; }
.mna-faq-q-toggle { position: relative; flex-shrink: 0; width: 1.375rem; height: 1.375rem; margin-top: 0.125rem; }
.mna-faq-q-toggle::before,
.mna-faq-q-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mna-faq-q-toggle::before { width: 1.125rem; height: 2px; transform: translate(-50%, -50%); }
.mna-faq-q-toggle::after  { width: 2px; height: 1.125rem; transform: translate(-50%, -50%); }
/* open = × : 縦棒を回転して×に */
.mna-faq-q[aria-expanded="true"] .mna-faq-q-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
.mna-faq-q[aria-expanded="true"] .mna-faq-q-toggle::after  { transform: translate(-50%, -50%) rotate(45deg); }
.mna-faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  border-top: 1px solid transparent;
}
.mna-faq-item.is-open .mna-faq-a { grid-template-rows: 1fr; border-top-color: rgba(0,0,0,0.5); }
.mna-faq-a-inner { overflow: hidden; }
.mna-faq-a-inner > p {
  margin: 0; padding: 1rem 1.5rem 1.5rem; /* SP */
  font-weight: 400; font-size: 0.875rem; /* 14 */ line-height: 2.1; color: #000;
}
@media (min-width: 768px) {
  .mna-faq-inner { padding: 6rem 1.5rem; /* py-96 */ }
  .mna-faq-q-text { font-size: 1.125rem; /* 18 */ }
  .mna-faq-a-inner > p { padding: 1rem 1.75rem 1.5rem 4rem; /* pt-16 pr-28 pb-24 pl-64 */ font-size: 1rem; /* 16 */ }
}

/* =============================================================
 * CTA (無料相談)
 * ============================================================= */
.mna-cta { background: #f7f5f0; padding: 3.125rem 1.25rem; /* SP py-50 px-20 */ display: flex; justify-content: center; }
.mna-cta-card {
  width: 100%; max-width: 52.5rem; /* 840 */
  border: 1px solid #d0cfc8; overflow: hidden;
  box-shadow: 0 2rem 4rem rgba(0,0,0,0.14);
  background: #fff;
}
.mna-cta-top {
  background: #000; color: #fff; text-align: center;
  padding: 3rem 1.25rem; /* SP py-48 px-20 */
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem; /* 20 */
}
.mna-cta-eyebrow { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.25rem; line-height: 1; margin: 0; }
.mna-cta-title { font-weight: 700; font-size: 1.125rem; /* SP 18 */ line-height: 1.7; margin: 0; }
.mna-cta-note { font-weight: 400; font-size: 0.875rem; /* SP 14 */ line-height: 1.8; margin: 0; }
.mna-cta-body {
  background: #fff; padding: 1.25rem; /* SP p-20 */
  display: flex; flex-direction: column; gap: 2.5rem; /* 40 */
}
.mna-cta-checks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; /* row/col 16 */
}
.mna-cta-checks li {
  display: flex; gap: 0.625rem; align-items: flex-start;
  font-weight: 400; font-size: 0.8125rem; /* SP 13 */ line-height: 1.7; color: #1c1c1c;
}
.mna-cta-check {
  font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; line-height: 1.7;
  background: linear-gradient(to right, #efa700, #ed7b00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mna-cta-action { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.mna-cta-btn { width: 100%; }
.mna-cta-action-note { margin: 0; font-size: 0.75rem; color: #777; text-align: center; }
.mna-cta-tel { position: relative; padding-top: 2rem; text-align: center; display: flex; flex-direction: column; gap: 0.25rem; }
.mna-cta-tel-line { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: #d0cfc8; }
.mna-cta-tel-lead, .mna-cta-tel-hours { margin: 0; font-size: 0.75rem; color: #777; }
.mna-cta-tel-num { display: inline-block; margin: 0; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.75rem; letter-spacing: 0.0625rem; color: #1a1a2e; text-decoration: underline; text-underline-offset: 0.125rem; }
.mna-cta-tel-num:hover { opacity: 0.8; }
@media (min-width: 768px) {
  .mna-cta { padding: 6rem 1.5rem; /* py-96 */ }
  .mna-cta-top { padding: 3rem 3.5rem; /* py-48 px-56 */ }
  .mna-cta-title { font-size: 2.25rem; /* 36 */ }
  .mna-cta-note { font-size: 1rem; }
  .mna-cta-body { padding: 3rem 3.5rem; /* py-48 px-56 */ }
  .mna-cta-checks li { font-size: 0.875rem; /* 14 */ }
  .mna-cta-btn { width: auto; }
}

/* =============================================================
 * Footer
 * ============================================================= */
.mna-footer {
  background: #000; color: #fff; text-align: center;
  padding: 3rem 1.5rem; /* py-48 px-24 */
  display: flex; flex-direction: column; align-items: center; gap: 2rem; /* SP 32 */
}
.mna-footer-brand { display: flex; align-items: flex-end; justify-content: center; gap: 1rem; }
.mna-footer-logo img { display: block; height: 2.4538rem; /* 39.26 */ width: auto; }
.mna-footer-ma { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.6875rem; /* 27 */ letter-spacing: 0.1875rem; line-height: 1; }
.mna-footer-links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem; /* 16 x 24 */ width: 100%;
}
.mna-footer-links a { color: #fff; text-decoration: none; font-size: 0.75rem; }
.mna-footer-links a:hover { text-decoration: underline; }
.mna-footer-copy { margin: 0; font-family: "Roboto", sans-serif; font-size: 0.75rem; line-height: 1.5; }
.mna-footer-disclaimer { margin: 0; font-size: 0.625rem; /* SP 10 */ line-height: 1.6; }
@media (min-width: 768px) {
  .mna-footer { gap: 1rem; /* 16 */ }
  .mna-footer-links { flex-wrap: nowrap; gap: 1.5rem; }
  .mna-footer-links a { white-space: nowrap; }
  .mna-footer-disclaimer { font-size: 0.6875rem; /* 11 */ white-space: nowrap; }
}

/* =============================================================
 * モバイルメニュー オーバーレイ (Figma KV外・ハンバーガー用に付与)
 * ============================================================= */
.mna-menu {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.95);
  display: flex; flex-direction: column; padding: 1.5rem 1.25rem;
  transform: translateX(100%); transition: transform 0.3s ease; color: #fff;
}
.mna-menu.is-open { transform: translateX(0); }
.mna-menu-close { align-self: flex-end; width: 3rem; height: 3rem; background: transparent; border: 0; }
.mna-menu-close svg { width: 1.75rem; height: 1.75rem; }
.mna-menu-nav { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; font-weight: 700; font-size: 1.125rem; letter-spacing: 0.0625rem; }
.mna-menu-cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(to right, #efa700, #ed7b00); color: #fff; font-weight: 700; font-size: 1rem;
  border-radius: 2rem; padding: 1rem 1.5rem;
}
.mna-menu-cta img { width: 1rem; height: 1rem; }

/* =============================================================
 * PC (>=768px)
 * ============================================================= */
@media (min-width: 768px) {
  .mna-header-inner { max-width: 80rem; /* 1280 */ margin: 0 auto; padding: 1.5rem; /* 24 */ align-items: center; }
  .mna-header-brand { padding: 0; gap: 0.25rem; }
  .mna-logo { width: 13.125rem; height: 2.4538rem; }  /* 210 x 39.26 */
  .mna-tagline { font-size: 0.875rem; /* 14 */ }
  .mna-hamburger { display: none; }
  .mna-header-right { display: flex; align-items: center; gap: 3rem; /* 48 */ }
  .mna-nav { display: flex; gap: 1.5rem; /* 24 */ font-weight: 700; font-size: 0.8125rem; /* 13 */ letter-spacing: 0.0625rem; white-space: nowrap; }
  .mna-nav a { transition: color 0.2s ease; }
  .mna-nav a:hover { color: #efa700; }
  .mna-header-cta {
    display: inline-flex; align-items: center; gap: 0.5rem; background: #000; border-radius: 1.25rem; /* 20 */
    padding: 0.625rem 1.375rem; /* py-10 px-22 */ font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.0625rem; white-space: nowrap;
    transition: opacity 0.2s ease, padding 0.3s ease;
  }
  .mna-header-cta:hover { opacity: 0.85; }
  .mna-header-cta img { width: 1rem; height: 1rem; }

  /* スクロール時の縮小 (PC) */
  .mna-header.is-scrolled .mna-header-inner { padding-top: 0.75rem; padding-bottom: 0.75rem; } /* 24→12 */
  .mna-header.is-scrolled .mna-logo { width: 10rem; height: 1.869rem; }
  .mna-header.is-scrolled .mna-tagline { font-size: 0.75rem; }
  .mna-header.is-scrolled .mna-header-cta { padding: 0.5rem 1.125rem; }

  .mna-hero-content { flex-direction: row; align-items: center; gap: 5rem; /* 80 */ max-width: 67.5rem; /* 1080 */ padding: 0 1.5rem; }
  .mna-hero-left { flex: 1 0 0; min-width: 0; }
  .mna-headline { font-size: 2.5rem; /* 40 */ }
  .mna-lead { font-size: 1rem; /* 16 */ }

  .mna-hero-right { flex: 1 0 0; gap: 1rem; /* 16 */ }
  .mna-stat-body { padding: 1.5rem 1.75rem; /* py-24 px-28 */ }
  .mna-stat-num { font-size: 2.25rem; /* 36 */ }
  .mna-stat-num .unit { font-size: 1.125rem; /* 18 */ }
  .mna-stat-label { font-size: 0.8125rem; /* 13 */ }

  /* Intro */
  .mna-intro { padding: 18.75rem 0; /* py-300 */ }
  .mna-intro-inner { padding: 0 1.5rem; /* px-24 */ }
  .mna-intro-heading { font-size: 2.25rem; /* 36 */ }
  .mna-intro-body p { font-size: 1rem; /* 16 */ }
}

/* reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mna-menu { transition: none; }
  .mna-header.is-scrolled { animation: none; }
}
