:root {
  --blue: #1b61c9;
  --blue-dark: #0f3e8a;
  --blue-ink: #102033;
  --blue-soft: #eaf4ff;
  --cyan: #2ec7e6;
  --sky: #d8efff;
  --white: #ffffff;
  --paper: #f7fbff;
  --paper-warm: #fbfdff;
  --text: #1f2a37;
  --muted: #607086;
  --line: #dce8f5;
  --success: #2fa876;
  --shadow: 0 18px 44px rgba(16, 32, 51, 0.11);
  --thin-shadow: 0 10px 26px rgba(16, 32, 51, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper-warm);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  font-feature-settings: "palt";
  --scroll-progress: 0%;
}

body::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: var(--scroll-progress);
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.js body {
  opacity: 0;
}

.js body.is-loaded {
  opacity: 1;
}

.js .site-header,
.js .hero-sequence,
.js .title-line,
.js .page-hero .eyebrow,
.js .page-hero h1,
.js .page-hero p,
.js .reveal {
  opacity: 0;
}

.js .site-header {
  transform: translateY(-18px);
}

.js body.is-loaded .site-header {
  animation: navDrop 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.js body.is-loaded .title-line {
  animation: titleReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js body.is-loaded .title-line:nth-child(2) {
  animation-delay: 0.14s;
}

.js body.is-loaded .hero-sequence {
  animation: contentRise 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js body.is-loaded .hero-sequence:nth-of-type(1) {
  animation-delay: 0.2s;
}

.js body.is-loaded .hero-lead {
  animation-delay: 0.34s;
}

.js body.is-loaded .hero-actions {
  animation-delay: 0.5s;
}

.js body.is-loaded .hero-facts {
  animation-delay: 0.64s;
}

.js body.is-loaded .hero-visual {
  animation: stageReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

.js body.is-loaded .page-hero .eyebrow,
.js body.is-loaded .page-hero h1,
.js body.is-loaded .page-hero p,
.js body.is-loaded .reveal:not(.hero-visual) {
  animation: contentRise 0.76s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js body.is-loaded .page-hero h1 {
  animation-delay: 0.14s;
}

.js body.is-loaded .page-hero p {
  animation-delay: 0.28s;
}

/* ── トップのヒーロー登場順（タイトル → 補足要素 → 右ビジュアル）──────────
   既存の .reveal 一括アニメだと左カラム全体と右ビジュアルが「同時」に出て
   しまうため、現行クラス（.mc-hero-*）に段階的な delay を与えて、
   メインタイトルの後に リード → ボタン → サービスカード → ビジュアル の順で
   登場させる。旧クラス（.hero-lead 等）は現行HTMLと不一致で効いていなかった。 */
.js .mc-hero-copy.reveal { opacity: 1 !important; animation: none !important; } /* 親の一括表示をやめ、子を個別に */
.js .mc-hero-copy .mc-eyebrow,
.js .mc-hero-copy .mc-hero-lead,
.js .mc-hero-copy .mc-actions,
.js .mc-hero-copy .mc-hero-services { opacity: 0; }
.js body.is-loaded .mc-hero-copy .mc-eyebrow      { animation: contentRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
/* .title-line は既存の titleReveal（0〜0.14s）を活かす＝タイトルが最初 */
.js body.is-loaded .mc-hero-copy .mc-hero-lead    { animation: contentRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }
.js body.is-loaded .mc-hero-copy .mc-actions      { animation: contentRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.50s both; }
.js body.is-loaded .mc-hero-copy .mc-hero-services{ animation: contentRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both; }
.js body.is-loaded .mc-hero-visual.reveal         { animation: stageReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both; }

.js .stage-brand,
.js .stage-card,
.js .stage-rhythm i {
  opacity: 0;
}

.js body.is-loaded .stage-brand {
  animation: contentRise 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.js body.is-loaded .stage-card {
  animation: cardResolve 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js body.is-loaded .stage-card.before {
  animation-delay: 0.88s;
}

.js body.is-loaded .stage-card.center {
  animation-delay: 1.06s;
}

.js body.is-loaded .stage-card.after {
  animation-delay: 1.24s;
}

.js body.is-loaded .stage-rhythm i {
  animation: rhythmGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js body.is-loaded .stage-rhythm i:nth-child(1) {
  animation-delay: 1.38s;
}

.js body.is-loaded .stage-rhythm i:nth-child(2) {
  animation-delay: 1.5s;
}

.js body.is-loaded .stage-rhythm i:nth-child(3) {
  animation-delay: 1.62s;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 6px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 7px 0;
  margin: -7px 0;
}

.brand img {
  width: 142px;
  height: auto;
}

.brand strong {
  color: var(--blue-ink);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: var(--blue-dark);
  border-bottom-color: var(--cyan);
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 10px 24px rgba(27, 97, 201, 0.18);
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 97, 201, 0.28);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.button-secondary:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 20px;
  height: 2px;
  content: "";
  background: var(--blue-ink);
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--blue-ink);
  font-weight: 800;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--blue-ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(234, 244, 255, 0.9) 52%, rgba(216, 239, 255, 0.68) 100%),
    repeating-linear-gradient(90deg, rgba(27, 97, 201, 0.08) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(27, 97, 201, 0.06) 0 1px, transparent 1px 82px);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.container {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.hero-content {
  width: min(650px, 100%);
  padding: 86px 0 74px;
}

.eyebrow,
.label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--blue-ink);
  font-size: 56px;
  line-height: 1.16;
  font-weight: 900;
  text-wrap: balance;
}

h1 span,
.accent {
  color: var(--blue);
}

.title-line {
  display: block;
}

.hero-lead {
  margin-bottom: 30px;
  max-width: 560px;
  color: #344055;
  font-size: 18px;
  font-weight: 500;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
}

.fact {
  min-height: 84px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--thin-shadow);
}

.fact strong {
  display: block;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-visual {
  padding: 28px 0;
}

.solution-stage {
  position: relative;
  min-height: 508px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(27, 97, 201, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.86)),
    repeating-linear-gradient(90deg, rgba(27, 97, 201, 0.05) 0 1px, transparent 1px 68px);
  box-shadow: 0 26px 58px rgba(16, 32, 51, 0.16);
}

.solution-stage::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(27, 97, 201, 0.08);
  border-radius: 8px;
  transform: skewY(-3deg);
}

.stage-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(27, 97, 201, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
}

.stage-brand img {
  width: 54px;
  height: auto;
}

.stage-brand span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 58px;
}

.stage-columns::before {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(27, 97, 201, 0.08), rgba(27, 97, 201, 0.5), rgba(46, 199, 230, 0.48), rgba(27, 97, 201, 0.08));
  transform: translateY(-50%);
}

.stage-card {
  position: relative;
  min-height: 188px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 97, 201, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(16, 32, 51, 0.1);
}

.stage-card.before {
  margin-top: 34px;
}

.stage-card.center {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  border-color: rgba(255, 255, 255, 0.24);
}

.stage-card.after {
  margin-top: 72px;
}

.stage-card span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.stage-card.center span,
.stage-card.center strong,
.stage-card.center p {
  color: var(--white);
}

.stage-card strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-ink);
  font-size: 19px;
  line-height: 1.38;
}

.stage-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.stage-rhythm {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.3fr;
  gap: 10px;
}

.stage-rhythm i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform-origin: left center;
}

.navigation-board,
.workflow-stack,
.mini-command,
.training-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27, 97, 201, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.82)),
    linear-gradient(120deg, rgba(27, 97, 201, 0.08), rgba(46, 199, 230, 0.08));
  box-shadow: 0 26px 58px rgba(16, 32, 51, 0.16);
}

.navigation-board {
  min-height: 508px;
  padding: 18px;
}

.navigation-board::after,
.mini-command::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.56) 48%, transparent 56%);
  transform: translateX(-120%);
  animation: scanLine 7s ease-in-out infinite;
  pointer-events: none;
}

.board-top,
.mini-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-top strong,
.mini-command-head strong {
  padding: 4px 9px;
  color: var(--success);
  background: rgba(47, 168, 118, 0.1);
  border: 1px solid rgba(47, 168, 118, 0.24);
  border-radius: 999px;
  font-size: 11px;
}

.compass-wrap {
  position: relative;
  min-height: 330px;
  margin-top: 18px;
}

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
  stroke-dasharray: 10 14;
  animation: routeFlow 2.8s linear infinite;
}

.route-a {
  stroke: rgba(27, 97, 201, 0.55);
}

.route-b {
  stroke: rgba(46, 199, 230, 0.6);
  animation-duration: 3.5s;
}

.route-c {
  stroke: rgba(15, 62, 138, 0.38);
  animation-duration: 4.1s;
}

.compass-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 174px;
  height: 174px;
  transform: translate(-50%, -50%);
}

.ring,
.compass-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring {
  border: 1px solid rgba(27, 97, 201, 0.24);
  animation: ringPulse 4s ease-in-out infinite;
}

.ring-b {
  inset: 18px;
  border-color: rgba(46, 199, 230, 0.28);
  animation-delay: 0.6s;
}

.ring-c {
  inset: 36px;
  border-color: rgba(15, 62, 138, 0.2);
  animation-delay: 1.2s;
}

.compass-core {
  inset: 50px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(27, 97, 201, 0.2);
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.12);
}

.compass-core img {
  width: 58px;
  height: auto;
}

.route-node {
  position: absolute;
  width: 120px;
  padding: 11px 12px;
  color: var(--blue-ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 97, 201, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(16, 32, 51, 0.1);
}

.route-node span,
.stack-row span,
.mini-command-grid span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.route-node strong,
.stack-row strong,
.mini-command-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}

.node-a {
  left: 4%;
  bottom: 22px;
}

.node-b {
  right: 3%;
  top: 18px;
}

.node-c {
  right: 1%;
  bottom: 26px;
}

.node-d {
  left: 5%;
  top: 28px;
}

.board-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.board-lanes div {
  min-height: 72px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 97, 201, 0.14);
  border-radius: 8px;
}

.board-lanes span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.board-lanes strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-ink);
  font-size: 14px;
  line-height: 1.4;
}

.page-hero {
  padding: 82px 0 56px;
  background:
    linear-gradient(180deg, rgba(234, 244, 255, 0.92), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(27, 97, 201, 0.06) 0 1px, transparent 1px 76px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  font-size: 46px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.band {
  padding: 76px 0;
}

.band.white {
  background: var(--white);
}

.band.soft {
  background: var(--paper);
}

.band.navy {
  color: var(--white);
  background: var(--blue-ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head.center {
  display: block;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  margin-bottom: 0;
  color: var(--blue-ink);
  font-size: 34px;
  line-height: 1.32;
  font-weight: 900;
  text-wrap: balance;
}

.band.navy .section-title,
.band.navy .section-copy,
.band.navy .label {
  color: var(--white);
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.grid-3,
.grid-2,
.service-list,
.page-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

.card,
.feature,
.service-card,
.metric,
.info-row,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card,
.feature,
.service-card {
  padding: 24px;
  box-shadow: var(--thin-shadow);
}

.feature h3,
.service-card h2,
.service-card h3,
.card h3 {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 20px;
  line-height: 1.38;
}

.feature p,
.service-card p,
.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-number,
.service-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 8px;
  font-weight: 900;
}

.service-kicker {
  min-width: auto;
  padding: 6px 10px;
  min-height: 30px;
  font-size: 12px;
}

.visual-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.visual-frame img {
  width: 100%;
  height: auto;
}

.workflow-stack {
  min-height: 380px;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.workflow-stack::before {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 78px;
  height: 78px;
  content: "";
  border: 1px solid rgba(27, 97, 201, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(27, 97, 201, 0.22) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(46, 199, 230, 0.24) 49% 51%, transparent 52%);
  animation: slowRotate 12s linear infinite;
}

.stack-row {
  position: relative;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(27, 97, 201, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(16, 32, 51, 0.07);
}

.stack-row.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(22px);
}

.stack-row.primary span,
.stack-row.primary strong {
  color: var(--white);
}

.stack-timeline {
  position: absolute;
  left: 42px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.stack-timeline i,
.mini-command-flow i {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: 0.28;
  animation: lanePulse 1.8s ease-in-out infinite;
}

.stack-timeline i:nth-child(2),
.mini-command-flow i:nth-child(2) {
  animation-delay: 0.18s;
}

.stack-timeline i:nth-child(3),
.mini-command-flow i:nth-child(3) {
  animation-delay: 0.36s;
}

.stack-timeline i:nth-child(4),
.mini-command-flow i:nth-child(4) {
  animation-delay: 0.54s;
}

.mini-command {
  min-height: 350px;
  padding: 20px;
  display: grid;
  align-content: space-between;
}

.mini-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-command-grid div {
  min-height: 92px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(27, 97, 201, 0.16);
  border-radius: 8px;
}

.mini-command-grid strong {
  color: var(--blue-ink);
  font-size: 18px;
}

.mini-command-flow {
  display: flex;
  gap: 10px;
}

.training-board {
  min-height: 390px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(86px, auto));
  gap: 12px;
}

.training-panel {
  position: relative;
  display: grid;
  align-content: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 97, 201, 0.16);
  border-radius: 8px;
}

.training-panel.main {
  grid-row: span 2;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.training-panel span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.training-panel.main span,
.training-panel.main strong {
  color: var(--white);
}

.training-panel strong {
  margin-top: 6px;
  color: var(--blue-ink);
  font-size: 19px;
  line-height: 1.35;
}

.training-track {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.training-track i {
  display: block;
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.42;
  animation: lanePulse 2s ease-in-out infinite;
}

.training-track i:nth-child(2) {
  animation-delay: 0.22s;
}

.training-track i:nth-child(3) {
  animation-delay: 0.44s;
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--blue-ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.link-list a span {
  color: var(--blue);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.process article {
  min-height: 220px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.process article:last-child {
  border-right: 0;
}

.process strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
}

.process h3 {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 19px;
}

.process p {
  color: var(--muted);
  font-size: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sky);
  font-size: 24px;
}

.metric span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 0;
}

.table th {
  width: 210px;
  color: var(--blue-ink);
  background: var(--blue-soft);
  font-weight: 900;
}

.table td {
  color: var(--text);
}

.note {
  margin-top: 18px;
  padding: 16px 18px;
  color: #37506f;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 24px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: var(--blue-ink);
  font-size: 30px;
  line-height: 1.32;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.info-row {
  padding: 16px;
}

.info-row strong {
  display: block;
  color: var(--blue-ink);
}

.info-row span {
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-size: 18px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: #071a34;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 22px;
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) 1fr;
  gap: 32px;
}

.footer img {
  width: 140px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 14px;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.reveal {
  animation: liftIn 0.72s ease both;
}

.feature,
.service-card,
.card,
.metric,
.faq-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover,
.service-card:hover,
.card:hover,
.metric:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 97, 201, 0.28);
  box-shadow: var(--shadow);
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stageReveal {
  from {
    opacity: 0;
    clip-path: inset(8% 0 12% 0 round 8px);
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 8px);
    transform: translateY(0) scale(1);
  }
}

@keyframes cardResolve {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rhythmGrow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 0.78;
    transform: scaleX(1);
  }
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes scanLine {
  0%,
  38% {
    transform: translateX(-120%);
  }
  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes lanePulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleX(0.78);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes slowRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stage-columns {
    margin-top: 30px;
  }

  .hero-content {
    padding: 62px 0 8px;
  }

  .hero-visual {
    padding: 0 0 56px;
  }

  h1 {
    font-size: 42px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .section-head,
  .page-grid,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .process,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process article:nth-child(2) {
    border-right: 0;
  }

  .process article {
    border-bottom: 1px solid var(--line);
  }

  .process article:nth-child(3),
  .process article:nth-child(4) {
    border-bottom: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand img {
    width: 118px;
  }

  .brand strong {
    display: none;
  }

  .hero-inner,
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content {
    padding: 46px 0 8px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 16px;
  }

  .hero-facts,
  .grid-3,
  .grid-2,
  .process,
  .metrics,
  .stage-columns,
  .board-lanes,
  .mini-command-grid,
  .training-board {
    grid-template-columns: 1fr;
  }

  .solution-stage {
    min-height: auto;
    padding: 18px;
  }

  .solution-stage::before,
  .stage-columns::before {
    display: none;
  }

  .stage-brand {
    width: 100%;
  }

  .stage-columns {
    gap: 12px;
    margin-top: 18px;
  }

  .stage-card,
  .stage-card.before,
  .stage-card.after {
    min-height: auto;
    margin-top: 0;
  }

  .stage-rhythm {
    position: static;
    margin-top: 16px;
  }

  .training-board {
    grid-template-rows: none;
  }

  .training-panel.main,
  .training-track {
    grid-column: 1;
    grid-row: auto;
  }

  .navigation-board {
    min-height: 560px;
    padding: 14px;
  }

  .compass-wrap {
    min-height: 390px;
  }

  .route-node {
    width: 112px;
    padding: 10px;
  }

  .node-a {
    left: 0;
    bottom: 34px;
  }

  .node-b {
    right: 0;
    top: 16px;
  }

  .node-c {
    right: 0;
    bottom: 42px;
  }

  .node-d {
    left: 0;
    top: 24px;
  }

  .compass-rings {
    width: 150px;
    height: 150px;
  }

  .compass-core {
    inset: 44px;
  }

  .workflow-stack {
    min-height: 430px;
    padding: 20px;
  }

  .stack-row.primary {
    transform: none;
  }

  .process article,
  .process article:nth-child(2),
  .process article:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process article:nth-child(4) {
    border-bottom: 0;
  }

  .band {
    padding: 54px 0;
  }

  .section-title,
  .contact-panel h2 {
    font-size: 28px;
  }

  .page-hero {
    padding: 58px 0 44px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table th {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================================
   Corporate Top — Model Case v2 (mc-*)
   参考: 参考資料/kaiei_site_v2 + 目標画像(reference-design.webp)に忠実。
   色値は mc スコープ内に閉じ、既存クラスへ影響させない。
   ===================================================================== */

.mc-section { padding: 84px 0; }
.mc-section-soft { background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); }

.mc-kicker {
  margin: 0 0 16px;
  color: #1a5fe3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mc-h2 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #102955;
  font-weight: 700;
}

.mc-desc {
  margin: 0;
  color: #5c6d86;
  font-size: 15px;
}

.mc-heading-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

/* --- buttons --- */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mc-btn-primary {
  color: #ffffff;
  background-color: #0e54d6;
  background-image: linear-gradient(135deg, #0e54d6, #2a73f2);
  box-shadow: 0 12px 26px rgba(16, 83, 212, 0.24);
}

.mc-btn-primary:hover { transform: translateY(-2px); }

.mc-btn-outline {
  color: #1a5fe3;
  background: #ffffff;
  border: 1px solid #afc8eb;
}

.mc-btn-outline:hover { transform: translateY(-2px); border-color: #1a5fe3; }

/* --- hero --- */
.mc-hero {
  position: relative;
  overflow: hidden;
  background: #eef6ff url("../images/icons/hero-bg.svg") center top / cover no-repeat;
}

.mc-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 44px;
  padding: 64px 0 60px;
}

.mc-eyebrow {
  margin: 0 0 16px;
  color: #1a5fe3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mc-hero-title {
  margin: 0 0 22px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #0e2d69;
  font-weight: 700;
}

/* 各行は折り返さない＝列幅に対して大きすぎても孤立改行を発生させない */
.mc-hero-title .title-line {
  display: block;
  white-space: nowrap;
}

.mc-hero-lead {
  margin: 0;
  max-width: 540px;
  color: #33445e;
  font-size: 16px;
}

.mc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 24px;
}

.mc-hero-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 600px;
}

.mc-hero-services a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  color: #11203b;
  background: #ffffff;
  border: 1px solid #e0eaf8;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(28, 66, 123, 0.06);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-hero-services a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 66, 123, 0.12);
}

.mc-hero-services img { width: 32px; height: 32px; }

.mc-hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.mc-hero-dash {
  width: 100%;
  max-width: 510px;
  margin-left: auto;
  filter: drop-shadow(0 24px 46px rgba(21, 70, 136, 0.18));
}

/* --- stats --- */
.mc-stats {
  background: #ffffff;
  border-top: 1px solid #e5edf7;
  border-bottom: 1px solid #e5edf7;
}

.mc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.mc-stat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 22px 26px;
  border-right: 1px solid #e5edf7;
}

.mc-stat:last-child { border-right: 0; }
.mc-stat img { width: 38px; }
.mc-stat p { margin: 0; color: #596983; font-size: 11px; font-weight: 700; line-height: 1.4; }
.mc-stat b { font-size: 28px; color: #1659c2; }
.mc-stat b span { margin-left: 4px; font-size: 13px; font-weight: 800; }

/* --- cards --- */
.mc-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.mc-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #dde8f7;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 26px rgba(28, 68, 125, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mc-card:hover {
  transform: translateY(-3px);
  border-color: #c4d8f3;
  box-shadow: 0 18px 40px rgba(28, 68, 125, 0.12);
}

.mc-card-icon { width: 42px; height: 42px; margin-bottom: 22px; }
.mc-card h3 { margin: 0 0 10px; font-size: 18px; color: #11203b; }
.mc-card p { margin: 0; color: #5c6d86; font-size: 14px; }
.mc-service-list .mc-card { padding: 28px; }
.mc-service-list .mc-card a { display: inline-block; margin: 5px 0 -11px; padding: 11px 0; color: #1a5fe3; font-weight: 800; font-size: 13px; }

/* --- process --- */
.mc-process-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 36px;
  align-items: center;
}

/* 狭い左列に2行で収めるため、プロセス見出しのみ少し小さく */
.mc-process-copy .mc-h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 3.2vw, 40px);
}

.mc-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 16px;
  color: #1a5fe3;
  border: 1px solid #b8cfee;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease;
}

.mc-detail-link:hover { background: #eef5ff; }

.mc-process-rail { position: relative; }

.mc-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mc-step {
  background: #ffffff;
  border: 1px solid #dde8f7;
  border-radius: 14px;
  padding: 20px 15px;
  box-shadow: 0 10px 22px rgba(28, 68, 125, 0.07);
}

.mc-step b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: #ffffff;
  background: #1a5fe3;
  border-radius: 50%;
  font-weight: 800;
}

.mc-step h3 { margin: 0 0 10px; font-size: 15px; color: #11203b; white-space: nowrap; }
.mc-step p { margin: 0; font-size: 12px; color: #5c6d86; line-height: 2; }

.mc-steps-line {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -18px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0f4fa 0%, #c7d5ea 12%, #0b54d8 40%, #0b54d8 74%, #dbe6f4 100%);
}

.mc-before-after {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
  color: #63728a;
  font-size: 12px;
  font-weight: 700;
}

.mc-ba-bar { height: 8px; border-radius: 999px; background: #0f56d7; opacity: 0.85; }
.mc-ba-mid { color: #0e2d69; }

/* --- strength --- */
.mc-strength {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #ffffff;
  background-color: #071a3a;
  background-image: linear-gradient(135deg, #071a3a, #0b2f6d);
}

.mc-strength-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52%, 620px);
  opacity: 0.9;
  pointer-events: none;
}

.mc-strength-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 48px;
  align-items: center;
}

.mc-strength-copy .mc-kicker { color: #86c6ff; }
.mc-strength-copy .mc-h2 { margin: 0 0 14px; color: #ffffff; }
.mc-strength-copy p { margin: 0; color: #d8e4f6; font-size: 14px; }

.mc-strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.mc-strength-card {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}

.mc-strength-card img { width: 44px; height: 44px; margin-bottom: 14px; }
.mc-strength-card h3 { margin: 0 0 8px; font-size: 16px; color: #ffffff; }
.mc-strength-card p { margin: 0; color: #d9e5f7; font-size: 12px; line-height: 1.7; }

/* --- contact --- */
.mc-contact-section { padding: 64px 0; background: #f8fbff; }

.mc-contact-card {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 30px;
  align-items: center;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dde8f7;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(23, 76, 146, 0.12);
}

.mc-contact-img {
  min-height: 170px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef5fe;
}

.mc-contact-img img { width: 100%; height: 100%; object-fit: cover; }
.mc-contact-copy h2 {
  margin: 6px 0 12px;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  line-height: 1.5;
  color: #102955;
}
.mc-contact-copy p { margin: 0; color: #5c6d86; font-size: 13px; }
.mc-contact-actions { display: grid; gap: 12px; }
.mc-contact-actions .mc-btn { width: 100%; }

/* --- footer (rich) --- */
.mc-footer { padding: 56px 0; color: #ffffff; background: #07172f; }

.mc-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.95fr;
  gap: 34px;
}

.mc-footer-about img { width: 150px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.mc-footer-brand { display: inline-block; padding: 3px 0; margin: -3px 0; }
.mc-footer-about p { margin: 0; color: #a2b2ca; font-size: 12px; }
.mc-footer-about small { display: block; margin-top: 12px; color: #8295b0; font-size: 12px; }

.mc-footer-links { display: grid; gap: 10px; align-content: start; color: #dbe7f7; font-size: 12px; }
.mc-footer-links strong { color: #ffffff; font-size: 13px; }
.mc-footer-links a:hover { color: #86c6ff; }

.mc-footer-cta { display: grid; gap: 10px; align-content: start; }
.mc-footer-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
.mc-fcta-primary { color: #ffffff; background: #145dcc; }
.mc-fcta-outline { color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.28); }

/* --- responsive --- */
@media (max-width: 1024px) {
  .mc-hero-grid,
  .mc-heading-split,
  .mc-process-grid,
  .mc-strength-inner { grid-template-columns: 1fr; gap: 28px; }

  .mc-hero-copy { text-align: center; }
  .mc-hero-lead { margin-left: auto; margin-right: auto; }
  .mc-actions { justify-content: center; }
  .mc-hero-services { margin: 0 auto; }
  .mc-hero-dash { margin: 0 auto; }

  .mc-steps { grid-template-columns: repeat(2, 1fr); }
  .mc-steps-line { display: none; }

  .mc-cards-3,
  .mc-strength-grid,
  .mc-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .mc-stat:nth-child(2) { border-right: 0; }

  .mc-contact-card { grid-template-columns: 200px 1fr; }
  .mc-contact-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }

  .mc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mc-section { padding: 64px 0; }
  .mc-hero-grid { gap: 26px; padding: 52px 0 56px; }
  .mc-hero-title { font-size: 34px; }

  .mc-hero-services,
  .mc-cards-3,
  .mc-stats-grid,
  .mc-strength-grid,
  .mc-contact-actions,
  .mc-footer-grid { grid-template-columns: 1fr; }

  .mc-stat { border-right: 0; border-bottom: 1px solid #e5edf7; }
  .mc-stat:last-child { border-bottom: 0; }

  .mc-steps { grid-template-columns: 1fr; }
  .mc-before-after { display: none; }

  .mc-contact-card { grid-template-columns: 1fr; }
}

/* --- 日本語の禁則処理（1〜2文字での孤立改行・語中改行を防ぐ） --- */
/* word-break:auto-phrase = 文節境界で折り返す（対応ブラウザ。非対応は無視され従来動作） */
.mc-hero-lead,
.mc-eyebrow,
.mc-kicker,
.mc-desc,
.mc-card h3,
.mc-card p,
.mc-step h3,
.mc-step p,
.mc-strength-copy p,
.mc-strength-card h3,
.mc-strength-card p,
.mc-contact-copy p,
.mc-stat p,
.mc-hero-services span,
.mc-footer-about p,
.mc-footer-links a {
  word-break: auto-phrase;
  line-break: strict;
}

/* 見出しは文節境界でのみ折り返し（1〜2文字の孤立行・語中改行を防ぐ）。
   balance は短行に過分割されるため使わず、貪欲折り返しで自然な2行にする。 */
.mc-h2,
.mc-contact-copy h2 {
  word-break: auto-phrase;
  line-break: strict;
}

/* ヒーロー見出しは行スパンを nowrap 制御 */
.mc-hero-title {
  line-break: strict;
}

/* =====================================================================
   下層ページ共通（company / message / philosophy / privacy）
   参考: 参考資料/kaiei_four_pages_exact。トップと同じ .mc-* 体系で実HTML化。
   ===================================================================== */

/* --- page hero --- */
.mc-page-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 54px;
  background: #eef6ff url("../images/icons/hero-bg.svg") center top / cover no-repeat;
  border-bottom: 1px solid #e5edf7;
}

.mc-page-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 40px;
  align-items: center;
}

.mc-breadcrumb { margin: 0 0 14px; color: #5a6b80; font-size: 12px; }
.mc-breadcrumb a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }
.mc-breadcrumb a:hover { color: #1a5fe3; }

.mc-page-title {
  margin: 6px 0 16px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: #0e2d69;
  font-weight: 700;
  word-break: auto-phrase;
}

.mc-page-sub {
  margin: 0;
  max-width: 520px;
  color: #33445e;
  font-size: 16px;
  word-break: auto-phrase;
  line-break: strict;
}

.mc-page-hero-visual { justify-self: end; }
.mc-page-hero-visual img {
  width: min(100%, 440px);
  height: auto;
  border-radius: 16px;
}

/* --- statement（左見出し＋右本文） --- */
.mc-statement {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 48px;
  align-items: start;
}
.mc-statement .mc-h2 { margin: 6px 0 0; font-size: clamp(28px, 3vw, 38px); }
.mc-statement-body p {
  margin: 0 0 18px;
  color: #41506a;
  font-size: 15px;
  word-break: auto-phrase;
  line-break: strict;
}
.mc-statement-body p:last-child { margin-bottom: 0; }

/* --- 会社概要テーブル --- */
.mc-info-list {
  display: grid;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(28, 68, 125, 0.05);
}
.mc-info-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-bottom: 1px solid #eef3fa;
}
.mc-info-row:last-child { border-bottom: 0; }
.mc-info-row dt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px 22px;
  background: #f6f9ff;
  color: #1f3a63;
  font-size: 14px;
  font-weight: 800;
}
.mc-info-row dt img { width: 22px; height: 22px; }
.mc-info-row dd {
  margin: 0;
  padding: 18px 22px;
  color: #3a4a63;
  font-size: 14px;
  word-break: auto-phrase;
  line-break: strict;
}

.mc-info-row dd a,
.mc-policy-item p a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* --- 沿革タイムライン --- */
.mc-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 34px;
}
.mc-timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 999px;
  background: #cfe0f5;
}
.mc-tl-item { position: relative; }
.mc-tl-item::before {
  content: "";
  position: absolute;
  top: -34px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1a5fe3;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #cfe0f5;
}
.mc-tl-card {
  padding: 18px 16px;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(28, 68, 125, 0.06);
}
.mc-tl-card .date { display: block; color: #1a5fe3; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.mc-tl-card strong { color: #11203b; font-size: 15px; }

/* --- アクセス --- */
.mc-access {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: 28px;
  align-items: center;
}
.mc-access-map img { width: 100%; height: auto; border-radius: 14px; border: 1px solid #e2ebf7; }
.mc-access-info { display: grid; gap: 14px; }
.mc-access-info .row { display: grid; gap: 4px; }
.mc-access-info .row span { color: #1a5fe3; font-size: 12px; font-weight: 800; }
.mc-access-info .row strong { color: #11203b; font-size: 15px; font-weight: 700; }

/* --- ネイビーカード帯（視点など：見出し上・カード下） --- */
.mc-navy-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #ffffff;
  background-color: #071a3a;
  background-image: linear-gradient(135deg, #071a3a, #0b2f6d);
}
.mc-navy-band .container { position: relative; z-index: 2; }
.mc-navy-band .mc-kicker { color: #86c6ff; }
.mc-navy-band .mc-h2 { color: #ffffff; margin-bottom: 34px; }
.mc-navy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mc-navy-card {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}
.mc-navy-card img { width: 40px; height: 40px; margin-bottom: 16px; }
.mc-navy-card h3 { margin: 0 0 8px; font-size: 17px; color: #ffffff; }
.mc-navy-card p { margin: 0; color: #d9e5f7; font-size: 12px; line-height: 1.8; word-break: auto-phrase; line-break: strict; }

/* --- 関連ページカード --- */
.mc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mc-related-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(28, 68, 125, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mc-related-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(28, 68, 125, 0.12); }
.mc-related-photo { height: 132px; background: #eef5fe; overflow: hidden; }
.mc-related-photo img { width: 100%; height: 100%; object-fit: cover; }
.mc-related-body { padding: 20px 22px; }
.mc-related-body small { color: #1a5fe3; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; }
.mc-related-body h3 { margin: 6px 0 8px; font-size: 18px; color: #11203b; }
.mc-related-body p { margin: 0; color: #5c6d86; font-size: 13px; word-break: auto-phrase; line-break: strict; }
.mc-related-body .arrow { display: inline-block; margin-top: 12px; color: #1a5fe3; font-weight: 800; font-size: 13px; }

/* --- プロフィール（代表挨拶） --- */
.mc-profile {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(28, 68, 125, 0.06);
}
.mc-profile-photo img { width: 100%; height: auto; border-radius: 14px; }
.mc-profile-table { display: grid; gap: 0; }
.mc-profile-table .row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef3fa; }
.mc-profile-table .row:last-child { border-bottom: 0; }
.mc-profile-table .row span { color: #3f5472; font-weight: 800; font-size: 13px; }
.mc-profile-table .row div { color: #41506a; font-size: 14px; word-break: auto-phrase; line-break: strict; }

/* --- プライバシー（目次＋条項） --- */
.mc-policy { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.mc-policy-toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(28, 68, 125, 0.05);
}
.mc-policy-toc strong { display: block; margin-bottom: 12px; color: #11203b; font-size: 14px; }
.mc-policy-toc ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.mc-policy-toc li { counter-increment: toc; color: #41506a; font-size: 13px; }
.mc-policy-toc li::before { content: counter(toc) ". "; color: #1a5fe3; font-weight: 800; }
.mc-policy-toc a { display: inline-block; padding: 13px 0; margin: -13px 0; }
.mc-policy-toc a:hover { color: #1a5fe3; }
.mc-policy-list { display: grid; gap: 14px; }
.mc-policy-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(28, 68, 125, 0.05);
}
.mc-policy-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1a5fe3;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
}
.mc-policy-item h3 { margin: 0 0 8px; font-size: 16px; color: #11203b; }
.mc-policy-item p { margin: 0; color: #5c6d86; font-size: 13.5px; line-height: 1.9; word-break: auto-phrase; line-break: strict; }
.mc-policy-item ul { margin: 8px 0 0; padding-left: 1.2em; color: #5c6d86; font-size: 13px; }

/* --- intro 1段落 --- */
.mc-intro { max-width: 760px; color: #41506a; font-size: 15px; word-break: auto-phrase; line-break: strict; }

/* --- 下層ページ responsive --- */
@media (max-width: 1024px) {
  .mc-page-hero .container,
  .mc-statement,
  .mc-access,
  .mc-profile,
  .mc-policy { grid-template-columns: 1fr; gap: 28px; }
  .mc-page-hero-visual { justify-self: stretch; }
  .mc-page-hero-visual img { width: 100%; }
  .mc-navy-grid,
  .mc-related-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .mc-timeline::before { display: none; }
  .mc-policy-toc { position: static; }
}
@media (max-width: 768px) {
  .mc-info-row { grid-template-columns: 1fr; }
  .mc-info-row dt { border-bottom: 1px solid #eef3fa; }
  .mc-navy-grid,
  .mc-related-grid,
  .mc-timeline,
  .mc-profile,
  .mc-profile-table .row { grid-template-columns: 1fr; }
  .mc-profile-table .row { gap: 2px; }
  .mc-policy-item { grid-template-columns: 1fr; }
}

/* =====================================================================
   下層ページ（サービス系）追加ヘルパー — services/dx/academy/contact
   ===================================================================== */
.mc-page-hero.plain .container { grid-template-columns: 1fr; }
.mc-page-hero.plain .mc-page-sub { max-width: 760px; }

.mc-cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mc-cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.mc-card .mc-kick {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  background: #eef5ff;
  color: #1a5fe3;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.mc-card p:last-child { margin-bottom: 0; }

.mc-steps.three { grid-template-columns: repeat(3, 1fr); }

.mc-problem-list { display: grid; gap: 12px; }
.mc-problem-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #e2ebf7;
  border-radius: 12px;
  box-shadow: var(--thin-shadow);
}
.mc-problem-row p { margin: 0; color: #3a4a63; font-size: 14px; word-break: auto-phrase; line-break: strict; }
.mc-problem-row .tag { padding: 6px 14px; color: #1a5fe3; background: #eef5ff; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }

.mc-faq { display: grid; gap: 12px; }
.mc-faq-item { padding: 22px 24px; background: #ffffff; border: 1px solid #e2ebf7; border-radius: 14px; box-shadow: var(--thin-shadow); }
.mc-faq-item h3 { margin: 0 0 8px; font-size: 15px; color: #11203b; word-break: auto-phrase; line-break: strict; }
.mc-faq-item h3::before { content: "Q. "; color: #1a5fe3; font-weight: 900; }
.mc-faq-item p { margin: 0; color: #5c6d86; font-size: 14px; word-break: auto-phrase; line-break: strict; }

@media (max-width: 1024px) {
  .mc-cards-2,
  .mc-cards-4 { grid-template-columns: repeat(2, 1fr); }
  .mc-steps.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mc-cards-2,
  .mc-cards-4,
  .mc-steps.three,
  .mc-problem-row { grid-template-columns: 1fr; }
  .mc-problem-row .tag { justify-self: start; }
}

/* =====================================================================
   DX / Academy 専用コンポーネント（参考: kaiei_dx_academy を .mc- へ移植）
   ===================================================================== */
.mc-page-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: #53677f; font-size: 12px; }
.mc-page-note::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, #1a5fe3, #63c1ff); }

/* Problem layout */
.mc-problem-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.mc-problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-problem-card { padding: 26px; background: #fff; border: 1px solid #dce8f7; border-radius: 16px; box-shadow: 0 12px 32px rgba(29,74,136,.07); }
.mc-problem-card .tag { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; padding: 4px 12px; border-radius: 99px; background: #edf5ff; color: #1a5fe3; font-size: 10px; font-weight: 800; }
.mc-problem-card h3 { margin: 16px 0 8px; font-size: 16px; color: #11203b; }
.mc-problem-card p { margin: 0; color: #5d6f88; font-size: 13px; word-break: auto-phrase; line-break: strict; }

/* Ops board */
.mc-ops-board { padding: 26px; border-radius: 18px; color: #fff; background-color: #0a2c64; background-image: linear-gradient(145deg, #0a2c64, #1553b1); box-shadow: 0 30px 70px rgba(20,67,137,.16); }
.mc-ops-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mc-ops-head small { display: block; color: #a9d3ff; font-weight: 800; letter-spacing: .12em; font-size: 10px; }
.mc-ops-head b { font-size: 16px; }
.mc-ops-head span { font-size: 11px; color: #bddaff; }
.mc-ops-list { display: grid; gap: 10px; }
.mc-ops-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.07); }
.mc-ops-row span { font-size: 12px; }
.mc-ops-row em { font-style: normal; color: #b8d9ff; font-size: 10px; }
.mc-ops-row strong { font-size: 20px; }
.mc-ops-progress { margin-top: 20px; }
.mc-ops-progress .bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.mc-ops-progress .bar i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, #72ccff, #fff); }
.mc-ops-progress p { display: flex; justify-content: space-between; margin: 8px 0 0; color: #bddaff; font-size: 10px; }

/* Content cards (A/B/C watermark + icon + micro list) */
.mc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mc-content-card { position: relative; overflow: hidden; padding: 32px; background: #fff; border: 1px solid #dce8f7; border-radius: 16px; box-shadow: 0 12px 32px rgba(29,74,136,.07); transition: .3s; }
.mc-content-card::before { content: attr(data-letter); position: absolute; right: 18px; top: 9px; color: #e8f1fd; font-size: 66px; font-weight: 900; line-height: 1; }
.mc-content-card:hover { transform: translateY(-5px); border-color: #bcd3f2; box-shadow: 0 18px 48px rgba(22,67,132,.10); }
.mc-icon-box { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 14px; background: #edf5ff; }
.mc-icon-box img { width: 30px; height: 30px; }
.mc-content-card h3 { margin: 0 0 10px; font-size: 19px; color: #11203b; }
.mc-content-card p { margin: 0; color: #5d6f88; font-size: 13px; }
.mc-micro-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #52657f; font-size: 12px; }
.mc-micro-list li { position: relative; padding-left: 16px; }
.mc-micro-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: #63c1ff; }

/* Process (sticky copy + flow) */
.mc-process-wrap { display: grid; grid-template-columns: .33fr .67fr; gap: 46px; align-items: start; }
.mc-process-copy { position: sticky; top: 110px; }
.mc-process-copy .mc-h2 { margin: 10px 0 14px; }
.mc-process-flow { display: grid; gap: 14px; }
.mc-proc-card { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; padding: 24px; background: #fff; border: 1px solid #dce8f7; border-radius: 16px; box-shadow: 0 12px 32px rgba(29,74,136,.07); }
.mc-proc-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background-color: #0d3d91; background-image: linear-gradient(145deg, #0d3d91, #2c76e7); font-size: 17px; font-weight: 800; box-shadow: 0 12px 24px rgba(29,99,211,.22); }
.mc-proc-card h3 { margin: 0 0 6px; font-size: 17px; color: #11203b; }
.mc-proc-card p { margin: 0; color: #5d6f88; font-size: 13px; }

/* Outcomes (navy 2-col: heading left + 2x2 grid) */
.mc-outcomes { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.mc-outcomes > div:first-child p { margin: 0; color: #d7e4f6; }
.mc-outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.mc-outcome-card { padding: 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 15px; background: rgba(255,255,255,.06); }
.mc-outcome-card img { width: 36px; margin-bottom: 14px; }
.mc-outcome-card h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.mc-outcome-card p { margin: 0; color: #d8e5f6; font-size: 12px; word-break: auto-phrase; line-break: strict; }
.mc-dark-wave2 { position: absolute; right: -5%; bottom: -120px; width: 74%; opacity: .55; pointer-events: none; }

/* Core strip (academy) */
.mc-core-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; background: #fff; border: 1px solid #dce8f7; border-radius: 18px; box-shadow: 0 18px 48px rgba(22,67,132,.10); overflow: hidden; }
.mc-core-item { padding: 28px; text-align: center; border-right: 1px solid #dce8f7; }
.mc-core-item:last-child { border-right: 0; }
.mc-core-item img { width: 32px; margin: 0 auto 12px; }
.mc-core-item b { display: block; font-size: 14px; color: #11203b; }
.mc-core-item span { display: block; margin-top: 5px; color: #5d6f88; font-size: 11px; }

/* Stance grid (academy training policy) */
.mc-stance-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: center; }
.mc-stance-copy .mc-h2 { margin: 8px 0 0; }
.mc-stance-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mc-stance-point { padding: 22px; background: #fff; border: 1px solid #dce8f7; border-radius: 14px; box-shadow: 0 10px 28px rgba(29,74,136,.07); }
.mc-stance-point b { display: block; margin-bottom: 6px; color: #1a5fe3; font-size: 12px; }
.mc-stance-point span { font-size: 15px; font-weight: 800; color: #11203b; }

/* Skill grid (academy) */
.mc-skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mc-skill-card { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px; background: #fff; border: 1px solid #dce8f7; border-radius: 16px; box-shadow: 0 12px 32px rgba(29,74,136,.07); transition: .3s; }
.mc-skill-card:hover { transform: translateY(-5px); border-color: #bcd3f2; box-shadow: 0 18px 48px rgba(22,67,132,.10); }
.mc-skill-num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 15px; color: #fff; background-color: #0d3d91; background-image: linear-gradient(145deg, #0d3d91, #2b77e9); font-size: 20px; font-weight: 900; }
.mc-skill-card .mc-icon-box { width: 44px; height: 44px; margin: 0 0 14px; }
.mc-skill-card h3 { margin: 0 0 10px; font-size: 18px; color: #11203b; }
.mc-skill-card p { margin: 0; color: #5d6f88; font-size: 13px; }

/* Learn panel (academy) */
.mc-learn-panel { display: grid; grid-template-columns: 1fr .88fr; gap: 34px; align-items: center; padding: 44px; border: 1px solid #dce8f7; border-radius: 22px; background: linear-gradient(135deg, #fff, #f2f8ff); box-shadow: 0 18px 48px rgba(22,67,132,.10); }
.mc-learn-panel .mc-h2 { margin: 8px 0 14px; }
.mc-learn-panel > div:first-child p { margin: 0; color: #5d6f88; }
.mc-learn-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mc-learn-chip { padding: 18px; border: 1px solid #d7e5f7; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(27,71,132,.07); }
.mc-learn-chip b { display: block; color: #1a5fe3; font-size: 12px; }
.mc-learn-chip span { font-size: 13px; font-weight: 700; color: #11203b; }
.mc-learn-note { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; background: #0d3d91; color: #fff; font-size: 12px; text-align: center; }

@media (max-width: 1024px) {
  .mc-problem-layout, .mc-process-wrap, .mc-outcomes, .mc-stance-grid, .mc-learn-panel { grid-template-columns: 1fr; gap: 28px; }
  .mc-process-copy { position: static; }
  .mc-card-grid, .mc-skill-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mc-problem-grid, .mc-outcome-grid, .mc-stance-panel, .mc-learn-visual { grid-template-columns: 1fr; }
  .mc-core-strip { grid-template-columns: 1fr 1fr; }
  .mc-core-item:nth-child(2) { border-right: 0; }
  .mc-core-item:nth-child(-n+2) { border-bottom: 1px solid #dce8f7; }
  .mc-proc-card { grid-template-columns: 54px 1fr; padding: 20px; }
}

/* 下層ページ ヒーロー見出し: スマホで長文タイトルが溢れないよう縮小＋溢れ防止 */
@media (max-width: 768px) {
  .mc-page-title { font-size: 25px; line-height: 1.5; overflow-wrap: anywhere; }
}

/* スマホ: 見出し・本文の横溢れ（文字切れ）を全面防止。auto-phrase/strictの保険 */
@media (max-width: 768px) {
  .mc-h2, .mc-page-sub, .mc-desc,
  .mc-card h3, .mc-step h3, .mc-problem-card h3,
  .mc-content-card h3, .mc-skill-card h3, .mc-proc-card h3,
  .mc-contact-copy h2, .mc-related-body h3, .mc-info-row dd,
  .mc-policy-item h3, .mc-faq-item h3 {
    overflow-wrap: anywhere;
  }
}

/* =====================================================================
   佐藤彩香レビュー反映 + スマホ最適化（2026-06-19）
   H-1 本文底上げ / H-2 タップ44px / H-3 禁則フォールバック / M-1 ヒーロー圧縮 / M-2 nowrap是正
   ===================================================================== */
/* H-3: 禁則フォールバック（balance は非対応ブラウザでは無視＝壊れない） */
.mc-h2, .mc-page-title, .mc-contact-copy h2,
.mc-card h3, .mc-content-card h3, .mc-problem-card h3,
.mc-skill-card h3, .mc-proc-card h3, .mc-step h3,
.mc-strength-card h3, .mc-outcome-card h3, .mc-navy-card h3,
.mc-faq-item h3, .mc-policy-item h3 {
  text-wrap: balance;
}

@media (max-width: 768px) {
  /* H-1: モバイル本文・リードの可読性底上げ */
  .mc-page-sub, .mc-hero-lead { font-size: 16px; line-height: 1.85; }
  .mc-desc,
  .mc-card p, .mc-step p, .mc-problem-card p, .mc-content-card p,
  .mc-skill-card p, .mc-proc-card p, .mc-faq-item p, .mc-policy-item p,
  .mc-contact-copy p, .mc-related-body p, .mc-statement-body p,
  .mc-info-row dd, .mc-outcome-card p {
    font-size: 14.5px; line-height: 1.9;
  }
  .mc-micro-list, .mc-core-item span, .mc-ops-row span, .mc-stance-point span { font-size: 12.5px; }
  .mc-kick, .mc-problem-card .tag { font-size: 11px; }

  /* H-2: タップ領域 44px 以上 */
  .mc-footer-links a, .mc-footer-cta a {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .mobile-panel a { min-height: 48px; }

  /* M-1: ヒーロービジュアルを縦圧縮しファーストビュー確保 */
  .mc-page-hero { padding: 36px 0 40px; }
  .mc-page-hero-visual img { max-height: 220px; width: auto; max-width: 100%; margin: 0 auto; }
  .mc-hero-grid { padding-top: 44px; }

  /* M-2: 脆い nowrap を是正（1カラムでは不要） */
  .mc-step h3 { white-space: normal; }
}

/* スマホ見出し: auto-phrase不安定対策。normal(溢れ防止)+balance(孤立回避)+縮小 */
@media (max-width: 768px) {
  .mc-h2 {
    font-size: 23px; line-height: 1.55;
    word-break: normal; line-break: strict; text-wrap: balance; overflow-wrap: anywhere;
  }
  .mc-page-title {
    font-size: 24px; line-height: 1.5;
    word-break: normal; line-break: strict; text-wrap: balance; overflow-wrap: anywhere;
  }
  .mc-contact-copy h2, .mc-learn-panel .mc-h2, .mc-outcomes .mc-h2, .mc-stance-copy .mc-h2 {
    word-break: normal; line-break: strict; text-wrap: balance; overflow-wrap: anywhere;
  }
}

/* =====================================================================
   佐藤彩香レビュー 中・低: 品位向上（2026-06-19）
   M-3 色数集約(CTAネイビー寄り) / L-2 大見出し中ウェイト明朝 / L-1 装飾ラベル / L-3 余白
   ===================================================================== */
/* L-2: 大見出しを中ウェイト明朝(600)で格上げ */
.mc-hero-title, .mc-page-title, .mc-h2, .mc-contact-copy h2 { font-weight: 600; }

/* M-3: 主要CTAをネイビー寄りへ（信頼・法人感）。シアンは差し色限定 */
.mc-btn-primary {
  background-color: #0e3a82;
  background-image: linear-gradient(135deg, #0e3a82, #1a55c4);
  box-shadow: 0 12px 26px rgba(12, 47, 109, 0.26);
}
.mc-fcta-primary { background: #143f8c; }
.nav-cta, .button-primary {
  background-color: #0f3e8a;
  background-image: linear-gradient(135deg, #0f3e8a, #1a55c4);
  border-color: #0f3e8a;
}
.nav-cta:hover, .button-primary:hover { background: #0c3576; border-color: #0c3576; }
/* スクロール進捗バーのシアンをネイビー寄りへ集約 */
body::before { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); }

/* L-1: 装飾ラベルの底上げ＋字間 */
.mc-ops-head small { font-size: 11px; }
.mc-core-item span { font-size: 12px; }
.mc-kicker, .mc-eyebrow { letter-spacing: 0.04em; }
.mc-content-card::before { color: #eaf2fd; }

/* L-3: 1カラム化後のカード余白リズム */
@media (max-width: 768px) {
  .mc-cards-2, .mc-cards-3, .mc-cards-4, .mc-skill-grid,
  .mc-related-grid, .mc-navy-grid, .mc-outcome-grid,
  .mc-problem-grid, .mc-card-grid, .mc-stance-panel { gap: 14px; }
  .mc-card, .mc-skill-card, .mc-content-card, .mc-problem-card { padding: 22px; }
}

/* =====================================================================
   スクロールモーション（Framer 風）
   ・リビール対象は「最初の描画前」から CSS で隠しておく（.js は <head> で付与
     されるため、初回ペイント前に opacity:0 が効く）。これにより
     「一瞬表示 → 消える → 再表示」のちらつき（FOUC）を防ぐ。
   ・視界に入った要素へ motion.js が .mc-in を付与し、ふわっと登場させる。
   ・下記セレクタは motion.js の対象と一致させること（ズレると隠れっぱなしになる）。
   ・既存のロード時ヒーローアニメ（.reveal / .page-hero / .stage-*）とは別系統。
   ===================================================================== */
.js .mc-cards-3 > *,
.js .mc-cards-2 > *,
.js .mc-steps > *,
.js .mc-strength-grid > *,
.js .mc-heading-split,
.js .mc-process-copy,
.js .mc-strength-copy,
.js .mc-before-after,
.js .mc-contact-card,
.js .mc-section > .container > .mc-kicker {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 登場（motion.js が視界に入った要素へ付与） */
.js .mc-in { opacity: 1 !important; transform: none !important; }

.mc-parallax { will-change: transform; }

/* Lenis なめらかスクロール */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* モーション低減設定：隠さず即表示（アニメなし・隠れっぱなし防止） */
@media (prefers-reduced-motion: reduce) {
  .js .mc-cards-3 > *,
  .js .mc-cards-2 > *,
  .js .mc-steps > *,
  .js .mc-strength-grid > *,
  .js .mc-heading-split,
  .js .mc-process-copy,
  .js .mc-strength-copy,
  .js .mc-before-after,
  .js .mc-contact-card,
  .js .mc-section > .container > .mc-kicker {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mc-parallax { transform: none !important; }
}
