/* ==========================================================================
   Edge Hub — 採用マーケティング支援
   ページ全体のモチーフは「期待値のギャップ」。ヒーローで開いた2本の線が、最後のCTAで1本に収束する。
   節の順番：ヒーロー → 学生からどう見えているか（裏返るカード）→ 採用の段階と症状 → 進め方（4段階・健康診断・お渡しするもの）
   → 3つの支援（採用マーケティングの全貌スライドの構図）→ 支援事例 → コンサルタント一覧 → CTA
   カードは角を立てた四角（スライド資料と同じく角丸にしない）。動きは marketing.js（カードの裏返し・見本の拡大表示）。
   共通部品（.label / .h2 / .lead / .btn / .sec など）は site.css・pages.css を使う。
   ========================================================================== */

.mk-hero, .mk-view, .mk-process, .mk-axes, .mk-cases, .mk-cta {
  /* top.css のヒーローと同じ粒子ノイズ */
  --mk-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* 見出しは文節（<wbr>）でだけ改行し、「る。」などの1〜2字が次の行に落ちないようにする */
.h2, .mk-cta h2 { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .label { font-size: 16px; }
}
.mk-num { font-family: var(--font-en); font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.mk-node {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border: 2px solid var(--blue);
  background: #fff;
}

/* ---------- Hero：紺の粒子背景いっぱいに、2本の線が右へ大きく開いていく ---------- */
.mk-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(63, 183, 238, .25), transparent 70%), var(--navy);
  color: #fff;
}
.mk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mk-grain) 0 0 / 240px;
  opacity: .28;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.mk-hero-art { position: absolute; inset: 0; z-index: -2; }
/* 見出しの裏は暗く落とし、線が文字にかからないようにする */
.mk-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(14, 31, 77, .85) 34%, rgba(14, 31, 77, 0) 58%);
}
.mk-hero-reveal, .mk-hero-area, .mk-hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-hero-area {
  clip-path: url(#mkHeroClip);
  background: var(--mk-grain) 0 0 / 220px, linear-gradient(90deg, #0E1F4D 0%, #1F45C8 45%, #3FB7EE 82%, #7BE8F2 100%);
  background-blend-mode: overlay, normal;
}
.mk-hero-line { fill: none; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.mk-hero-line--co { stroke: rgba(255, 255, 255, .9); }
.mk-hero-line--st { stroke: var(--cyan); }
.mk-hero-tag { position: absolute; right: var(--gutter); display: flex; align-items: center; gap: 12px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; white-space: nowrap; }
.mk-hero-tag--co { top: calc(20.3% - 40px); color: #fff; }
.mk-hero-tag--st { top: calc(85% + 14px); color: var(--cyan); }
.mk-hero-gap { position: absolute; left: 84%; top: 53%; translate: -50% -50%; font-family: var(--font-en); font-size: clamp(32px, 4.6vw, 80px); font-weight: 500; letter-spacing: .18em; color: #fff; }
/* 帯は自分の clip-path で GAP の形に切り抜いているので、左から右へのワイプは外側の層にかける */
@media (prefers-reduced-motion: no-preference) {
  .mk-hero-reveal { animation: mk-wipe 2s .5s var(--ease) backwards; }
}
@keyframes mk-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.mk-hero-inner {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: var(--page-hero-top) var(--gutter) clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}
.mk-hero .crumbs, .mk-hero .crumbs a { color: var(--on-dark-3); }
.mk-hero .crumbs a:hover { color: var(--cyan); }
.mk-hero .crumbs [aria-current="page"] { color: #fff; }
/* 見出しまわりの文字サイズ・余白・幅は採用イベント（events.css の .ep-hero）とそろえる */
.mk-hero .label { font-size: clamp(16px, 1.6vw, 24px); white-space: nowrap; }
.mk-hero-copy { flex: 1; width: min(100%, 56%); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 28px; padding-top: clamp(16px, 2.4vw, 40px); }
/* 採用イベントの見出し（.ep-title）と同じく、行ごとの .rl でせり上げる。行送りも同じ 1.18 */
.mk-title { margin: 0; font-size: clamp(38px, 5.6vw, 100px); font-weight: 900; line-height: 1.18; letter-spacing: .01em; white-space: nowrap; }
.mk-hero-hl { background: linear-gradient(90deg, #5EE1F2, #A6F4DC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-hero-lead { margin: 0; max-width: 34em; font-size: clamp(15px, 1.15vw, 17px); line-height: 2.05; color: var(--on-dark-2); text-wrap: pretty; }
/* 狭い画面では図を見出しの下に帯として置く */
@media (max-width: 960px) {
  .mk-hero { display: flex; flex-direction: column-reverse; }
  .mk-hero-inner { min-height: 0; }
  .mk-hero-copy { width: 100%; }
  .mk-title { font-size: clamp(30px, 8.6vw, 72px); }
  .mk-hero-art { position: relative; z-index: auto; height: clamp(300px, 64vw, 440px); }
  .mk-hero-tag--st { top: calc(85% + 8px); }
  .mk-hero-art::after { display: none; }
  .mk-hero-gap { left: 80%; }
}
@media (max-width: 600px) {
  .mk-hero .label { font-size: 12px; letter-spacing: .14em; white-space: normal; }
}

/* ---------- 見出しのない節のラベル（学生からどう見えているか／進め方／支援事例／コンサルタント一覧） ---------- */
.mk-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mk-kicker::after { content: ""; flex: 1; min-width: 40px; height: 1px; background: var(--border-3); }
.mk-kicker-mark { flex-shrink: 0; width: 14px; height: 14px; rotate: 45deg; background: var(--blue); }
@media (max-width: 600px) {
  .mk-kicker { gap: 12px; font-size: 21px; }
  .mk-kicker-mark { width: 10px; height: 10px; }
}

/* ---------- 01 学生からどう見えているか：押すと裏返る四角い色のカード ---------- */
.mk-worries {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-worry { min-width: 0; perspective: 1600px; }
.mk-worry-inner {
  position: relative;
  display: grid;
  height: 100%;
  min-height: clamp(290px, 24vw, 360px);
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
}
.mk-worry-face {
  grid-area: 1 / 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(20px, 1.8vw, 30px);
  border: 0;
  border-radius: 0;
  font: inherit;
  text-align: left;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.mk-worry-front {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: flex-start;
  gap: 0;
  background: var(--wc);
  color: var(--wt);
  cursor: pointer;
}
/* 表面のざらつき（ヒーローと同じ粒子） */
.mk-worry-front::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mk-grain) 0 0 / 220px;
  opacity: .3;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.mk-worry-no {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
}
.mk-worry-no::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .6; }
/* 右下に大きな番号の輪郭を置き、カードごとの区別をつける */
.mk-worry-front::before {
  content: attr(data-no);
  position: absolute;
  right: -.05em;
  bottom: calc(58px - .14em);
  z-index: -1;
  font-family: var(--font-en);
  font-size: clamp(120px, 11vw, 190px);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--wt);
  opacity: .28;
  pointer-events: none;
}
.mk-worry-q {
  margin-top: clamp(22px, 2.2vw, 36px);
  font-size: clamp(18px, 1.42vw, 23px);
  font-weight: 900;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mk-worry-open {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 35%, transparent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.mk-plus {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--wa);
  transition: rotate .45s var(--ease);
}
.mk-plus::before, .mk-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  translate: -50% -50%;
  background: var(--wc);
}
.mk-plus::after { rotate: 90deg; }
.mk-worry-front:hover .mk-plus, .mk-worry-front:focus-visible .mk-plus { rotate: 90deg; }
.mk-worry-front:focus-visible { outline: 3px solid var(--wa); outline-offset: -6px; }

.mk-worry-back {
  gap: 10px;
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--border-2), inset 0 6px 0 var(--wc);
  transform: rotateY(180deg);
  cursor: pointer;
}
.mk-worry-tag {
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 5px 10px 6px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}
.mk-worry-tag:first-child { margin-top: 8px; }
.mk-worry-tag--moya { background: var(--surface-2); color: var(--navy); }
.mk-worry-tag--fix { background: var(--blue); color: #fff; }
.mk-worry-moya, .mk-worry-fix { margin: 0; font-size: clamp(14px, 1vw, 15px); line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.mk-worry-moya { font-weight: 700; color: var(--navy); }
.mk-worry-fix { font-weight: 900; color: var(--blue); }
.mk-worry-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  margin-top: auto;
  padding: 8px 0 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.mk-worry-close::before { content: ""; width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 2px 0; }
.mk-worry-close:hover { color: var(--blue); }
.mk-worries.is-flip .mk-worry.is-open .mk-worry-inner { transform: rotateY(180deg); }
/* スクリプトが動かないときは、表と裏を縦に並べて全部読めるようにする */
.mk-worries:not(.is-flip) .mk-worry-inner { display: flex; flex-direction: column; }
.mk-worries:not(.is-flip) .mk-worry-back { transform: none; cursor: auto; }
.mk-worries:not(.is-flip) .mk-worry-close, .mk-worries:not(.is-flip) .mk-worry-open { display: none; }
@media (max-width: 1180px) {
  .mk-worries { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mk-worry { grid-column: span 2; }
  .mk-worry:nth-child(4), .mk-worry:nth-child(5) { grid-column: span 3; }
  .mk-worry-inner { min-height: 300px; }
}
@media (max-width: 680px) {
  .mk-worries { grid-template-columns: minmax(0, 1fr); }
  .mk-worry, .mk-worry:nth-child(4), .mk-worry:nth-child(5) { grid-column: auto; }
  .mk-worry-inner { min-height: 220px; }
  .mk-worry-front::before { font-size: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-worry-inner, .mk-plus { transition: none; }
}

/* ---------- 02 採用の段階と症状 ---------- */
@media (min-width: 1100px) {
  .mk-symptom .head-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
/* 登っていく階段（学生採用ページの成長マップの構図）。各段は「天面・正面・左側面」の3面で立体に見せる。
   色はトップページのシアン → ブルー → ネイビー。段にホバー・フォーカスすると、悩みのカードがぼかしから手前に浮かぶ。 */
/* --pop：悩みのカードを出す帯の高さ。カードはどの段でも同じ高さ（階段の最上段より上）に出し、点線で段とつなぐ */
.mk-stairs-wrap { --d: clamp(26px, 3.6vw, 56px); --base: clamp(132px, 12vw, 176px); --rise: clamp(44px, 5vw, 76px); --pop: 156px; --gap: 28px; padding: calc(var(--pop) + var(--gap) + var(--d)) 0 0 var(--d); }
.mk-stairs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-stair {
  --c: #7FD3F6; --ink-c: var(--navy);
  position: relative;
  z-index: calc(10 - var(--i));
  min-width: 0;
  height: calc(var(--base) + var(--i) * var(--rise));
  outline: none;
  cursor: pointer;
}
.mk-stair:nth-child(2) { --c: #5FB2F8; }
.mk-stair:nth-child(3) { --c: #4A88F2; --ink-c: #fff; }
.mk-stair:nth-child(4) { --c: #2A55E5; --ink-c: #fff; }
.mk-stair:nth-child(5) { --c: #0E1F4D; --ink-c: #fff; }
.mk-stair-box {
  position: relative;
  height: 100%;
  padding: clamp(16px, 1.6vw, 24px) clamp(14px, 1.4vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 86%, #0E1F4D));
  color: var(--ink-c);
  transition: filter .4s var(--ease), translate .5s var(--ease);
}
/* 天面：正面の上辺から奥（左上）へ伸びる平行四辺形 */
.mk-stair-top {
  position: absolute;
  left: calc(-1 * var(--d));
  bottom: 100%;
  width: calc(100% + var(--d));
  height: var(--d);
  background: color-mix(in srgb, var(--c) 52%, #E2EEFF);
  clip-path: polygon(var(--d) 100%, 100% 100%, calc(100% - var(--d)) 0, 0 0);
}
/* 左側面：天面と同じ45度の奥行きで、下辺も奥へ斜めに上がる（2段目以降の下側は、一段低い手前の段の正面に隠れる） */
.mk-stair-side {
  position: absolute;
  left: calc(-1 * var(--d));
  top: calc(-1 * var(--d));
  width: var(--d);
  height: calc(100% + var(--d));
  background: color-mix(in srgb, var(--c) 72%, #E2EEFF);
  clip-path: polygon(0 0, 100% var(--d), 100% 100%, 0 calc(100% - var(--d)));
}
.mk-stair-no { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; opacity: .75; }
.mk-stair-name {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mk-stair-to { margin: 0 .2em; font-family: var(--font-en); font-weight: 400; opacity: .7; }
.mk-stair-cue {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .8;
  transition: opacity .3s;
}
.mk-stair-plus { position: relative; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; }
.mk-stair-plus::before, .mk-stair-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.mk-stair-plus::after { rotate: 90deg; }
/* 悩みのカード：階段の上の帯に、ぼかしから手前へ浮かび上がる（どの段も同じ高さ） */
.mk-stair-pop {
  position: absolute;
  left: 50%;
  bottom: calc(var(--base) + 4 * var(--rise) + var(--d) + var(--gap));
  z-index: 20;
  width: max(calc(100% + 40px), 260px);
  padding: 22px 24px 24px;
  background: #fff;
  box-shadow: 0 40px 80px -24px rgba(14, 31, 77, .55), 0 0 0 1px rgba(14, 31, 77, .06), inset 4px 0 0 var(--blue);
  color: var(--c);
  opacity: 0;
  filter: blur(14px);
  translate: -50% 16px;
  scale: .86;
  pointer-events: none;
  transition: opacity .45s var(--ease), filter .55s var(--ease), translate .55s var(--ease), scale .55s var(--ease);
}
.mk-stair:first-child .mk-stair-pop { left: calc(-1 * var(--d)); translate: 0 16px; transform-origin: 20% 100%; }
.mk-stair:last-child .mk-stair-pop { left: auto; right: 0; translate: 0 16px; transform-origin: 80% 100%; }
/* カードと段の天面をつなぐ点線 */
.mk-stair::after {
  content: "";
  position: absolute;
  left: calc(50% - var(--d) / 2);
  bottom: calc(100% + var(--d) / 2);
  height: calc((4 - var(--i)) * var(--rise) + var(--d) / 2 + var(--gap));
  border-left: 2px dotted var(--blue);
  opacity: 0;
  scale: 1 0;
  transform-origin: 50% 100%;
  transition: opacity .3s, scale .5s var(--ease);
  pointer-events: none;
}
.mk-stair:is(:hover, :focus-visible, :focus-within)::after { opacity: 1; scale: 1 1; }
.mk-stair-pop-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: inherit; }
.mk-stair-pop p { margin: 0; font-size: clamp(15px, 1.2vw, 17px); font-weight: 700; line-height: 1.8; }
.mk-stair:is(:hover, :focus-visible, :focus-within) { z-index: 30; }
.mk-stair:is(:hover, :focus-visible, :focus-within) .mk-stair-box { translate: 0 -6px; filter: brightness(1.06); }
.mk-stair:is(:hover, :focus-visible, :focus-within) .mk-stair-cue { opacity: 0; }
.mk-stair:is(:hover, :focus-visible, :focus-within) .mk-stair-pop { opacity: 1; filter: blur(0); translate: -50% 0; scale: 1; }
.mk-stair:first-child:is(:hover, :focus-visible, :focus-within) .mk-stair-pop,
.mk-stair:last-child:is(:hover, :focus-visible, :focus-within) .mk-stair-pop { translate: 0 0; }
.mk-stair:focus-visible .mk-stair-box { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* スマホ・タブレットでも階段の形は変えない（学生採用ページの成長マップと同じ考え方）。寸法と文字だけ縮め、
   ホバーできない端末ではタップで段にフォーカスが当たり、同じ悩みのカードが出る */
@media (max-width: 860px) {
  .mk-stairs-wrap { --d: clamp(8px, 3vw, 26px); --base: clamp(78px, 16vw, 132px); --rise: clamp(20px, 6vw, 44px); --pop: 128px; --gap: 18px; }
  .mk-stair-box { padding: clamp(8px, 2vw, 16px) clamp(6px, 1.6vw, 14px); gap: 4px; }
  .mk-stair-no { font-size: clamp(8px, 2vw, 12px); letter-spacing: .1em; }
  .mk-stair-name { font-size: clamp(11px, 2.9vw, 18px); line-height: 1.3; }
  .mk-stair-cue { font-size: 0; }
  .mk-stair-plus { width: 16px; height: 16px; }
  .mk-stair-pop { width: min(260px, 74vw); padding: 16px 18px 18px; }
  /* 2段目は左端、4段目は右端にそろえて、カードが画面からはみ出さないようにする */
  .mk-stair:nth-child(2) .mk-stair-pop { left: calc(-100% - var(--d)); translate: 0 16px; }
  .mk-stair:nth-child(4) .mk-stair-pop { left: auto; right: -100%; translate: 0 16px; }
  .mk-stair:is(:nth-child(2), :nth-child(4)):is(:hover, :focus-visible, :focus-within) .mk-stair-pop { translate: 0 0; }
  .mk-stair-pop p { font-size: 14px; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-stair-box, .mk-stair-pop { transition: none; }
}

/* ---------- 03 進め方：4つの段階（下の .mk-steps）＋健康診断で見ること＋お渡しするもの ---------- */
.mk-process .sec-inner { gap: clamp(48px, 6vw, 88px); }
.mk-step-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 9px 5px;
  background: #E4EAFB;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--blue);
  vertical-align: .2em;
  white-space: nowrap;
}
.mk-inline-link { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.mk-check {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.25fr);
  background: var(--surface);
}
.mk-check-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 3vw, 44px);
  background: radial-gradient(90% 90% at 0% 100%, rgba(42, 85, 229, .75), transparent 70%), var(--navy);
  color: #fff;
}
.mk-check-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mk-grain) 0 0 / 220px; opacity: .3; mix-blend-mode: overlay; }
.mk-check-label { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 900; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.mk-check-col { min-width: 0; padding: clamp(28px, 3vw, 44px); }
.mk-check-col + .mk-check-col { border-left: 1px solid var(--border-2); }
.mk-check-col h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 900; color: var(--navy); }
.mk-check-col h3 .mk-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--blue);
  font-size: 14px;
  color: #fff;
}
.mk-check-col ul { margin: 0; padding: 0; list-style: none; }
.mk-check-col li { padding: 14px 0; border-top: 1px solid var(--border-2); font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.mk-check-col li small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--text-sub); }
@media (max-width: 1000px) {
  .mk-check { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mk-check-head { grid-column: 1 / -1; padding-block: 24px; }
  .mk-check-col:nth-child(2) { border-left: 0; }
}
@media (max-width: 640px) {
  .mk-check { grid-template-columns: minmax(0, 1fr); }
  .mk-check-col + .mk-check-col { border-left: 0; border-top: 1px solid var(--border-2); }
}

.mk-deliv {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.mk-deliv-copy { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mk-deliv-title { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 900; color: var(--navy); }
.mk-deliv-title::before { content: ""; width: 24px; height: 2px; background: var(--blue); }
.mk-deliv-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.mk-deliv-list li { border-bottom: 1px solid var(--border-2); }
.mk-deliv-item {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 12px 16px 4px;
  color: var(--navy);
}
.mk-deliv-list .mk-num { font-size: 13px; color: var(--blue); }
.mk-deliv-list b { display: block; font-size: clamp(16px, 1.35vw, 19px); font-weight: 900; line-height: 1.5; }
.mk-deliv-list small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--text-sub); }
/* 虫めがね（押すと拡大表示） */
.mk-deliv-note { margin: 0; font-size: 12px; color: var(--text-sub); }
.mk-deliv-fig {
  position: relative;
  margin: 0;
  padding: clamp(16px, 2.4vw, 40px);
  background: #fff;
}
.mk-deliv-fig img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.mk-deliv:hover .mk-deliv-fig img { transform: scale(1.015) rotate(-.3deg); }
@media (max-width: 1000px) {
  .mk-deliv { grid-template-columns: minmax(0, 1fr); }
  .mk-deliv-fig { order: -1; }
}

/* 納品物の見本の拡大表示 */

/* ---------- 04 3つの支援：段階の矢羽根の上に、土台→集める→選んでもらう の階段を重ねる ---------- */
.mk-axes { position: relative; overflow: hidden; isolation: isolate; }
.mk-axes::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mk-grain) 0 0 / 240px; opacity: .22; mix-blend-mode: overlay; pointer-events: none; }
.mk-axes-glow {
  position: absolute;
  z-index: -2;
  right: -18vw;
  top: -40vw;
  width: max(80vw, 640px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(42, 85, 229, .6), rgba(42, 85, 229, .18) 55%, transparent);
  pointer-events: none;
}
.mk-map { --cols: 5; display: flex; flex-direction: column; gap: 14px; }
.mk-map-stages {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 0 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-map-stages li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 54px;
  padding: 0 28px 0 34px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 900;
  white-space: nowrap;
  color: #fff;
}
.mk-map-stages li:first-child { padding-left: 20px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.mk-map-stages li:nth-child(1) { background: rgba(255, 255, 255, .08); }
.mk-map-stages li:nth-child(2) { background: rgba(255, 255, 255, .13); }
.mk-map-stages li:nth-child(3) { background: rgba(255, 255, 255, .18); }
.mk-map-stages li:nth-child(4) { background: rgba(255, 255, 255, .24); }
.mk-map-stages li:nth-child(5) { background: rgba(255, 255, 255, .3); }
.mk-map-stages span { font-family: var(--font-en); font-weight: 400; opacity: .7; }
.mk-map-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-rows: 60px;
  gap: 10px 6px;
  padding-top: 18px;
}
/* 矢羽根の区切りから下へ落とすガイド線 */
.mk-map-bars::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 4px), rgba(255, 255, 255, .14) calc(20% - 4px), rgba(255, 255, 255, .14) calc(20% - 3px));
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 10px);
  mask: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 10px);
  pointer-events: none;
}
.mk-map-bar {
  --arrow: clamp(12px, 1.8vw, 26px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 calc(var(--arrow) + clamp(10px, 1.2vw, 18px)) 0 clamp(14px, 1.6vw, 24px);
  /* 右向きの矢印の形 */
  clip-path: polygon(0 0, calc(100% - var(--arrow)) 0, 100% 50%, calc(100% - var(--arrow)) 100%, 0 100%);
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
  word-break: keep-all;
  overflow: hidden;
}
.mk-map-bar b { flex-shrink: 0; padding: 5px 8px; background: var(--navy); font-family: var(--font-en); font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .18em; color: #fff; }
.mk-map-bar small { margin-left: auto; font-size: 13px; font-weight: 700; opacity: .75; }
.mk-map-bar--attract { grid-row: 1; grid-column: 3 / 6; background: linear-gradient(90deg, #3FB7EE, #5EE1F2); }
.mk-map-bar--entry { grid-row: 2; grid-column: 1 / 3; background: #93A4FF; }
.mk-map-bar--base { grid-row: 3; grid-column: 1 / 6; background: #fff; box-shadow: inset 6px 0 0 var(--blue); }
.mk-axes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-axis {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 2.6vw, 40px);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 4px 0 var(--ax), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.mk-axis--base { --ax: #fff; }
.mk-axis--entry { --ax: #93A4FF; }
.mk-axis--attract { --ax: var(--cyan); }
.mk-axis-step { margin: 0; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--ax); }
.mk-axis h3 { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; line-height: 1.4; color: #fff; }
.mk-axis h3 span { font-size: 14px; font-weight: 700; color: var(--ax); }
.mk-axis > p:not(.mk-axis-step) { margin: 0; font-size: 15px; line-height: 2; color: var(--on-dark-2); text-wrap: pretty; }
.mk-axis-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 8px 0 0; list-style: none; }
.mk-axis-tags li { padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; font-weight: 700; color: #fff; }
@media (max-width: 1000px) {
  .mk-map-stages li { font-size: 13px; padding: 0 20px 0 26px; }
  .mk-map-bar small { display: none; }
  .mk-axes-list { grid-template-columns: minmax(0, 1fr); }
}
.mk-map-bar i { display: none; }
@media (max-width: 720px) {
  /* 狭い画面でもPCと同じ並び（矢羽根の下に階段状の帯）のまま、寸法と文字だけ縮める */
  .mk-map { gap: 8px; }
  .mk-map-stages { gap: 0 3px; }
  .mk-map-stages li, .mk-map-stages li:first-child { flex-wrap: wrap; align-content: center; gap: 0 2px; height: 40px; padding: 0 12px 0 14px; font-size: clamp(9px, 2.5vw, 13px); white-space: normal; text-align: center; line-height: 1.25; word-break: keep-all; }
  .mk-map-stages li { clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%); }
  .mk-map-stages li:first-child { padding-left: 6px; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); }
  .mk-map-bars { grid-auto-rows: minmax(44px, auto); gap: 6px 3px; padding-top: 10px; }
  /* STEP は名称の上に置き、最も短い帯でも文字を矢印の手前に収める。行の高さは内容に合わせて広がる。 */
  .mk-map-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 8px calc(var(--arrow) + 6px) 8px 8px;
    font-size: clamp(11px, 2.9vw, 15px);
    line-height: 1.3;
    white-space: normal;
  }
  .mk-map-bar > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .mk-map-bar b { padding: 3px 4px; font-size: 8px; letter-spacing: .08em; }
}

/* ---------- 05 支援事例 ---------- */
.mk-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); }
.mk-case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 56px);
  background: #fff;
  color: var(--navy);
}
.mk-case-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mk-case-tag { padding: 7px 12px 8px; background: var(--navy); font-size: 13px; font-weight: 900; line-height: 1; color: #fff; }
.mk-case-no { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--blue); }
.mk-case-num { display: flex; align-items: baseline; gap: 6px; margin: clamp(28px, 3vw, 48px) 0 0; line-height: 1; }
.mk-case-big {
  font-family: var(--font-en);
  font-size: clamp(80px, 9vw, 148px);
  font-weight: 300;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-case-pre, .mk-case-unit { font-size: clamp(20px, 2vw, 30px); font-weight: 900; }
.mk-case-label { margin: 14px 0 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 900; }
.mk-case-body { margin: 22px 0 0; font-size: 15px; line-height: 2.05; color: var(--text-sub); text-wrap: pretty; }
.mk-case-meta { display: grid; gap: 0; margin: auto 0 0; padding-top: 28px; }
.mk-case-meta div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-2); }
.mk-case-meta dt { font-size: 13px; font-weight: 900; color: var(--blue); }
.mk-case-meta dd { margin: 0; font-size: 14px; font-weight: 700; }
.mk-case--dark {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(94, 225, 242, .35), transparent 62%),
    radial-gradient(80% 100% at 0% 110%, rgba(42, 85, 229, .85), transparent 66%),
    var(--navy);
  color: #fff;
}
.mk-case--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mk-grain) 0 0 / 240px; opacity: .3; mix-blend-mode: overlay; pointer-events: none; }
.mk-case--dark .mk-case-tag { background: #fff; color: var(--navy); }
.mk-case--dark .mk-case-no { color: var(--cyan); }
.mk-case--dark .mk-case-big { background: linear-gradient(90deg, #5EE1F2, #A6F4DC); -webkit-background-clip: text; background-clip: text; }
.mk-case--dark .mk-case-body { color: var(--on-dark-2); }
.mk-case--dark .mk-case-meta div { border-top-color: rgba(255, 255, 255, .16); }
.mk-case--dark .mk-case-meta dt { color: var(--cyan); }
@media (max-width: 900px) {
  .mk-case-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 06 コンサルタント一覧 ---------- */
.mk-team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); margin: 0; padding: 0; list-style: none; }
.mk-person { min-width: 0; display: grid; grid-template-columns: clamp(150px, 15vw, 230px) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 40px); align-items: center; }
.mk-person img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--photo);
  /* 写真の右下に青い四角をずらして置く */
  box-shadow: 12px 12px 0 var(--blue);
}
.mk-person-copy { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mk-person-role { margin: 0; font-size: 13px; font-weight: 900; line-height: 1.6; color: var(--blue); }
.mk-person h3 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; line-height: 1.3; letter-spacing: .04em; color: var(--navy); }
.mk-person-copy > p:last-child { margin: 4px 0 0; font-size: 15px; line-height: 1.95; color: var(--text-sub); text-wrap: pretty; }
@media (max-width: 1000px) {
  .mk-team-list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 520px) {
  .mk-person { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
  .mk-person img { box-shadow: 8px 8px 0 var(--blue); }
}

/* ---------- 進め方の4段階と、04 から 01 へ戻る線 ---------- */
.mk-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-inline: clamp(10px, 1.6vw, 28px);
  text-align: center;
}
.mk-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.mk-steps li:first-child::before { left: 50%; }
.mk-steps li:last-child::before { right: 50%; }
.mk-steps .mk-node { width: 18px; height: 18px; margin-bottom: 12px; }
.mk-step-no {
  font-family: var(--font-en);
  font-size: clamp(48px, 5.4vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-steps h3 { margin: 0; font-size: clamp(16px, 1.45vw, 21px); font-weight: 900; line-height: 1.5; text-wrap: balance; }
.mk-steps p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--text-sub); text-wrap: pretty; }
.mk-return {
  position: relative;
  height: 72px;
  margin: 40px 12.5% 0;
  border: 2px dashed var(--blue);
  border-top: 0;
}
/* 01 の真下で上向きの矢印にする */
.mk-return::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border-top: 2.5px solid var(--blue);
  border-left: 2.5px solid var(--blue);
  translate: calc(-50% - 1px) -2px;
  rotate: 45deg;
}
.mk-return > span {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 0 28px;
  translate: -50% 50%;
  background: #fff;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--navy);
  white-space: nowrap;
}
.mk-return b {
  flex-shrink: 0;
  padding: 7px 12px 7px 14px;
  clip-path: var(--notch-8);
  background: var(--blue);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .24em;
  color: #fff;
}
.mk-return em { font-style: normal; color: var(--blue); }
@media (max-width: 820px) {
  .mk-steps { grid-template-columns: minmax(0, 1fr); }
  .mk-steps li { align-items: flex-start; gap: 8px; padding: 0 0 36px 44px; text-align: left; }
  .mk-steps li::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--blue), var(--sky)); }
  .mk-steps li:first-child::before { left: 8px; top: 9px; }
  .mk-steps li:last-child::before { right: auto; bottom: auto; height: 9px; }
  .mk-steps .mk-node { position: absolute; left: 0; top: 0; margin: 0; }
  .mk-step-no { font-size: 44px; }
  .mk-return { height: auto; margin: 0; border: 0; }
  .mk-return::before { display: none; }
  .mk-return > span { position: static; width: auto; translate: none; flex-wrap: wrap; gap: 10px 12px; padding: 20px; background: var(--surface); font-size: 17px; white-space: normal; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
}

/* ---------- CTA：2本の線が1本に収束する ---------- */
.mk-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; }
.mk-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 90% at 88% 15%, rgba(94, 225, 242, .55), transparent 62%),
    radial-gradient(60% 110% at 8% 105%, rgba(52, 217, 160, .32), transparent 62%),
    radial-gradient(75% 120% at 62% 115%, rgba(42, 85, 229, .95), transparent 66%),
    linear-gradient(120deg, #0E1F4D 0%, #17348F 100%);
}
.mk-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mk-grain) 0 0 / 240px;
  opacity: .4;
  mix-blend-mode: overlay;
}
.mk-cta-lines { position: absolute; right: 0; top: 50%; width: 48%; height: 64%; translate: 0 -50%; overflow: visible; }
.mk-cta-area { fill: url(#mkCtaCurveGradient); }
.mk-cta-line { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.mk-cta-inner {
  padding: clamp(96px, 12vw, 168px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.mk-cta p { margin: 0; max-width: 34em; font-size: clamp(15px, 1.15vw, 17px); line-height: 2; color: var(--on-dark-2); text-wrap: pretty; }
.mk-cta .btn { margin-top: 8px; }
.mk-hero .btn .arrow-icon,
.mk-cta .btn .arrow-icon {
  --s: 8px;
  display: block;
  flex-shrink: 0;
  width: var(--s);
  height: var(--s);
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-1px);
  transform-box: fill-box;
  rotate: 0deg;
  transform-origin: center;
  transition: rotate .3s linear;
}
.mk-hero .btn:hover .arrow-icon,
.mk-hero .btn:focus-visible .arrow-icon,
.mk-cta .btn:hover .arrow-icon,
.mk-cta .btn:focus-visible .arrow-icon {
  rotate: -45deg;
}
.mk-hero .btn--white .arrow-icon,
.mk-cta .btn--white .arrow-icon { color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .mk-hero .btn .arrow-icon,
  .mk-cta .btn .arrow-icon { transition: none; }
}
@media (max-width: 760px) {
  .mk-cta-lines { width: 90%; height: 40%; top: auto; bottom: 0; translate: none; opacity: .5; }
}
