/* ============================================================
   home.css — トップページ (index.html) 専用のスタイル
   ------------------------------------------------------------
   design-reference/ の5枚（1672px基準）を忠実に再現する。
   トークン / ベース / ヘッダー / ボタン / フッターは shell.css にある。
   このファイルはトップページ固有のセクションだけを持つ。
   （shell.css → home.css の順で読み込む）
   クラスは hm- 接頭辞。CSPにより インラインstyle / script は不可。
   ============================================================ */

/* ============================================================
   home.css 内だけで繰り返す色。値は現行表示の実測値。
   --hm-text-2 / --hm-text-3 と近似だが完全一致ではないため、
   統一（視覚がわずかに変わる）は保留し、まず一元化だけ行う。
   同義の新しい色を書き足さず、必ずここを経由すること。
   ============================================================ */

:root {
  --hm-gray-body: #4a5568;   /* 本文グレー（--hm-text-2 #4d5a70 の近似） */
  --hm-gray-muted: #8a94a6;  /* ミュート文字（--hm-text-3 #6b7689 の近似） */
  --hm-gray-note: #6b7686;   /* 補助ボタン・注記（--hm-text-3 の近似） */
  --hm-pr-ink: #3b4a63;      /* 導入プロセスの文字と点線矢印の矢頭 */
  --hm-pr-dot: #9aa7bb;      /* 導入プロセスの点線 */
  --hm-orange-line: #ffd9bd; /* オレンジ系カードの罫線 */
  --hm-facts-rule: rgba(255, 255, 255, 0.18); /* 特長バンドの区切り罫 */
  --hm-brand-cloudflare-mark: url("/assets/brand/cloudflare-mark.png");
  --hm-plan-card-gap: 16px;
  --hm-plan-card-radius: 18px;
  --hm-plan-card-shadow: 0 18px 38px -26px rgba(2, 19, 44, 0.34);
  --hm-plan-featured-rule: 4px;
}

/* ============================================================
   scroll reveal — JS が動いたときだけ隠す（CSP 対応 / JS死亡時も本文が残る）
   ============================================================ */

.hm-js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--hm-ease), transform 0.6s var(--hm-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.hm-js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   hero — 左: 淡い青の斜め面 / 右: 地球ネットワーク写真（青）
   ------------------------------------------------------------
   参考画像 design-reference/06-hero-blue.png（1536×1024）の実測:
     斜め境界 上端 x=886 (57.68%) → 下端 x=584 (38.02%)
     ヒーロー高 869px = 幅の 56.58%（下の特長バンドは別セクション）
   写真は「境界の下端」から右を切り出しているので、ヒーロー高を
   幅の 56.58% にすると写真の左端が境界の下端にちょうど一致する。
   ============================================================ */

.hm-hero {
  position: relative;
  /* 高さの決め方（この3段の意図を崩さないこと）
     1. 参考比率は幅の 56.58%（上限 946px）
     2. **ヘッダー + ヒーロー + 特長バンドが1画面に収まる**よう、
        `100dvh - ヘッダー - バンド` で頭打ちにする
     3. ただし中身（ロックアップ〜ボタン）が必要とする高さは下回らない。
        `overflow: hidden` があるため、下回るとボタンが黙って切り落とされる。
        中身の高さは実測で幅の約 41.6%（フォントが vw 連動のため）。
        余裕を見て 41.8vw、フォントが上限に達する幅より上では 712px で蓋をする。
        なお高さを縮めると max-width ガードが緩んで本文の折り返しが減り、
        必要高も自動で下がる（自己補正が効くので下限は控えめでよい）。
     dvh を解さないブラウザ向けに vh 版を先に置く。 */
  --hm-hero-h: max(min(946px, max(500px, 56.58vw), calc(100vh - var(--hm-header-h) - var(--hm-facts-h))), min(41.8vw, 712px));
  --hm-hero-h: max(min(946px, max(500px, 56.58vw), calc(100dvh - var(--hm-header-h) - var(--hm-facts-h))), min(41.8vw, 712px));
  height: var(--hm-hero-h);
  background: var(--hm-navy-deep);
  overflow: hidden;
}

/* <picture> はレイアウトに関与させない。display:contents にしないと
   <img> が picture の子になり、SP の flex 順序と幅指定が効かなくなる。 */
.hm-hero picture { display: contents; }

/* 写真は右アンカー・原寸比率維持（cover スケールで斜め境界が動かないように） */
.hm-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  animation: hm-drift 26s ease-in-out infinite;
}
@keyframes hm-drift {
  0%, 100% { transform: scale(1.01); }
  50%      { transform: scale(1.028) translate3d(-6px, -3px, 0); }
}

/* 淡い青の斜め面。max() で超ワイド時も写真の焼き込み境界を必ず覆う。
   下端の 560px 下限は、狭いデスクトップで面が痩せて本文が写真に乗るのを防ぐため
   （1672px では 38.02% が勝つので参考再現には影響しない）。 */
.hm-hero__cut {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--hm-hero-sky);
  /* 下端は「写真の左端」に一致させる。写真は height:100% / 幅は比率 952:869 なので
     写真の左端 = 100% - 高さ×1.0955。高さを変えても隙間や重なりが出ない。
     参考比率（高さ = 幅の 56.58%）のときはこれが 38.02% になり参考と一致する。 */
  clip-path: polygon(
    0 0,
    max(57.68%, calc(100% - 650px)) 0,
    max(calc(100% - var(--hm-hero-h) * 1.0955), 500px) 100%,
    0 100%
  );
}

.hm-hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  width: min(var(--hm-container), calc(100% - 88px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(40px, 4vw, 72px);
}

/* ---------- 見出し・本文 ---------- */

.hm-hero__title {
  margin: 0;
  font-size: clamp(30px, 3.52vw, 59px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--hm-navy-ink);
}

.hm-hero__lead {
  margin-top: clamp(18px, 2.1vw, 36px);
  font-size: clamp(14px, 1.24vw, 21px);
  line-height: 1.95;
  font-weight: 500;
  color: #33415c;
}

/* ---------- ボタン ---------- */

.hm-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 34px);
  margin-top: clamp(26px, 3.4vw, 58px);
}
.hm-hero__actions .hm-btn--pill {
  min-height: clamp(50px, 4.1vw, 69px);
  padding: 0 clamp(20px, 1.7vw, 29px) 0 clamp(24px, 2.1vw, 35px);
  font-size: clamp(15px, 1.14vw, 19px);
  gap: clamp(16px, 2.1vw, 36px);
}

/* 下線つきのテキストリンク。参考では下線がテキスト部分だけに引かれ、
   矢印は下線の外に置かれているので、下線は内側の span に持たせる。 */
.hm-hero__textlink {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 700;
  color: var(--hm-navy-ink);
  transition: color 0.16s var(--hm-ease);
}
.hm-hero__textlink-label {
  padding-bottom: 6px;
  border-bottom: 1.5px solid currentColor;
}
.hm-hero__textlink svg {
  width: clamp(15px, 1.1vw, 19px);
  height: clamp(15px, 1.1vw, 19px);
  display: block;
}
.hm-hero__textlink:hover { color: var(--hm-orange-ink); text-decoration: none; }

/* 斜めを出す幅で、本文の右端が境界を越えないようにする最大幅。
   (100vw - 100%) / 2 はコンテナの左余白。境界下端の x からそれを引いた分が使える幅。
   ------------------------------------------------------------
   これを外すと本文とボタンが写真の上に乗り、濃い文字が青地に沈んで読めなくなる。
   これらの規則は各要素の定義より後ろに置くこと（メディアクエリでは詳細度が
   上がらないので、前に置くと .hm-hero__lead 等の指定に負ける）。 */
@media (min-width: 1281px) {
  .hm-hero__title,
  .hm-hero__lead,
  .hm-hero__actions,
  .hm-hero__offer-note {
    max-width: calc(max(100vw - var(--hm-hero-h) * 1.0955, 500px) - (100vw - 100%) / 2 - 30px);
  }
}

/* ============================================================
   特長バンド — ヒーロー直下の濃紺帯（4項目）
   参考実測: 高さ 155px = 幅の 10.09%、区切り線は高さ 68px の細い縦罫
   ============================================================ */

.hm-facts {
  /* 高さを確定値にしている。ヒーロー高の計算（1画面に収める）で
     この値を差し引くため、padding 任せの可変高にしないこと。 */
  min-height: var(--hm-facts-h);
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, #2a3e5b 0%, #1b3054 34%, #06214a 68%, #021c3c 100%);
  color: var(--hm-on-dark);
}
.hm-facts__list {
  width: min(var(--hm-container), calc(100% - 88px));
  margin-inline: auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hm-fact-item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3vw, 22px);
  padding-inline: clamp(14px, 1.8vw, 30px);
  min-width: 0;
}
.hm-fact-item + .hm-fact-item { border-left: 1px solid var(--hm-facts-rule); }
.hm-fact-item__ico {
  flex: none;
  display: grid;
  place-items: center;
  color: #a9c7ea;
}
.hm-fact-item__ico svg {
  width: clamp(30px, 2.6vw, 44px);
  height: clamp(30px, 2.6vw, 44px);
  display: block;
}
.hm-fact-item__body { display: grid; gap: 4px; min-width: 0; }
.hm-fact-item__title {
  font-size: clamp(14px, 1.14vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--hm-on-dark);
}
.hm-fact-item__desc {
  font-size: clamp(12px, 0.92vw, 15px);
  font-weight: 500;
  line-height: 1.5;
  color: #b9cbe4;
}

/* ============================================================
   構成サービスの横流しカード帯
   ------------------------------------------------------------
   2組の同一セットを並べ、track を -50% 動かして継ぎ目なくループする。
   各セットに padding-right: gap を持たせることで「セット幅 = カード幅計 +
   gap 数」が両組で厳密に一致し、折り返し位置がずれない。
   JS は不要（CSSアニメーションのみ）。
   ============================================================ */

.hm-logos {
  --hm-logo-gap: clamp(14px, 1.3vw, 22px);
  background: var(--hm-soft);
  border-bottom: 1px solid var(--hm-border);
  padding: clamp(34px, 3.2vw, 54px) 0 clamp(30px, 2.8vw, 46px);
  overflow: hidden;
}

.hm-logos__title {
  margin: 0 0 clamp(20px, 1.9vw, 32px);
  text-align: center;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hm-text-2);
}

/* 端をフェードさせて「まだ続いている」ことを示す（背景色に依存しないマスク） */
.hm-logos__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.hm-logos__track {
  display: flex;
  width: max-content;
  animation: hm-marquee 48s linear infinite;
}
.hm-logos__viewport:hover .hm-logos__track,
.hm-logos__viewport:focus-within .hm-logos__track {
  animation-play-state: paused;
}

.hm-logos__set {
  display: flex;
  align-items: stretch;
  gap: var(--hm-logo-gap);
  padding: 0 var(--hm-logo-gap) 0 0;
  margin: 0;
  list-style: none;
}

@keyframes hm-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hm-logo-card {
  position: relative;
  overflow: hidden;
  flex: none;
  display: flex;
  align-items: center;
  min-width: clamp(196px, 15vw, 252px);
  padding: clamp(14px, 1.2vw, 19px) clamp(16px, 1.4vw, 24px);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(16, 24, 40, 0.03);
}
.hm-logo-card::before {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -18px;
  width: 88px;
  height: 88px;
  background: var(--hm-brand-cloudflare-mark) center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.hm-logo-card__body { position: relative; z-index: 1; display: grid; gap: 1px; min-width: 0; }
.hm-logo-card__name {
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hm-logo-card__role {
  font-size: clamp(12px, 0.86vw, 13px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--hm-text-2);
  white-space: nowrap;
}

.hm-logos__note {
  margin: clamp(20px, 1.9vw, 32px) 0 0;
  text-align: center;
  font-size: clamp(12.5px, 0.9vw, 14px);
  color: var(--hm-text-2);
}
.hm-logos__note a {
  color: var(--hm-orange-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ============================================================
   usecases — 5カード（写真 + 部門名 + 3箇条書き）
   ============================================================ */

.hm-usecases-sec {
  background: var(--hm-white);
  padding: clamp(72px, 6.7vw, 112px) 0 clamp(80px, 8.5vw, 142px);
}
.hm-usecases-sec .hm-h2 { margin-bottom: clamp(32px, 3.5vw, 59px); }

.hm-uc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.hm-uc-card {
  --hm-uc-check-gap: 10px;
  position: relative;
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  padding: 17px 21px 60px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.03);
  transition: transform 0.18s var(--hm-ease), box-shadow 0.18s var(--hm-ease);
}
.hm-uc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
}
.hm-uc-card__icon {
  position: absolute;
  top: 0;
  left: 22px;
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--hm-orange);
  display: grid;
  place-items: center;
  color: var(--hm-on-dark);
  box-shadow: 0 4px 14px rgba(249, 92, 0, 0.3);
}
.hm-uc-card__icon svg { width: 32px; height: 32px; display: block; }
.hm-uc-card__photo {
  border-radius: 10px;
  overflow: hidden;
}
.hm-uc-card__photo img { width: 100%; aspect-ratio: 255 / 205; object-fit: cover; }
.hm-uc-card__title {
  margin: 40px 0 0 3px;
  font-size: clamp(18px, 1.44vw, 24px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
}
.hm-uc-card__list { margin-top: 33px; display: grid; gap: 22px; }
.hm-uc-card__list li {
  display: block;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.65;
  font-weight: 500;
  color: #212c40;
}
.hm-uc-card__check {
  float: left;
  width: 20px;
  height: 20px;
  margin-right: var(--hm-uc-check-gap);
  margin-top: 2px;
  border-radius: 50%;
  background: var(--hm-orange);
  display: grid;
  place-items: center;
  color: var(--hm-on-dark);
}
.hm-uc-card__check svg { width: 11px; height: 11px; display: block; }

.hm-uc-lead {
  margin: -12px auto clamp(22px, 2.4vw, 32px);
  max-width: 40em;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
  color: var(--hm-text-2);
}

.hm-uc-example {
  width: fit-content;
  margin: -8px auto 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hm-orange-soft);
  color: var(--hm-orange-ink);
  font-size: 12px;
  font-weight: 700;
}

.hm-uc-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  margin: 0 0 14px;
  perspective: 1200px;
}

.hm-uc-step {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 18px 16px 16px;
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(2, 27, 64, 0.06);
  transform-style: preserve-3d;
}

.hm-js .hm-uc-step.reveal {
  --step-angle: -8deg;
  opacity: 0;
  transform: translateY(18px) rotateY(var(--step-angle));
  transition: opacity 0.7s var(--hm-ease), transform 0.7s var(--hm-ease);
}

.hm-js .hm-uc-step--make.reveal { --step-angle: 8deg; }
.hm-js .hm-uc-step--act.reveal { --step-angle: -8deg; }
.hm-js .hm-uc-step.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotateY(0);
}

.hm-uc-step__title {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 700;
  color: var(--hm-navy-ink);
}

.hm-uc-step__eyebrow {
  margin: 0 0 5px;
  font-family: var(--hm-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hm-orange-deep);
}

.hm-uc-step__visual {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 98px;
  margin: 2px 0 12px;
  padding: 16px 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--hm-soft), var(--hm-white));
  border: 1px solid rgba(2, 27, 64, 0.06);
}

.hm-uc-step__apps {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hm-uc-step__apps img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.hm-uc-step__visual-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--hm-navy-ink);
}

.hm-uc-step__visual--core {
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-items: start;
  min-height: 98px;
}

.hm-uc-step__core {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--hm-navy-deep);
  color: var(--hm-white);
  font-family: var(--hm-latin);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(2, 27, 64, 0.18);
}

.hm-uc-step__desc {
  min-height: 44px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hm-text-2);
}

.hm-uc-connector {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-width: 42px;
  color: var(--hm-orange-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hm-uc-connector i {
  position: relative;
  display: block;
  width: 36px;
  height: 2px;
  background: var(--hm-orange);
}

.hm-uc-connector i::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--hm-orange);
  border-right: 2px solid var(--hm-orange);
  content: "";
  transform: rotate(45deg);
}

@keyframes hm-uc-line-draw {
  from { transform: scaleX(0); opacity: 0.35; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes hm-uc-visual-rise {
  from { opacity: 0.35; transform: translateZ(-18px) scale(0.96); }
  to { opacity: 1; transform: translateZ(0) scale(1); }
}

@keyframes hm-uc-icon-arrive {
  from { opacity: 0; transform: translateY(7px) scale(0.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hm-js .hm-uc-connector.reveal.is-visible i {
  transform-origin: left center;
  animation: hm-uc-line-draw 0.55s var(--hm-ease) both;
}

.hm-js .hm-uc-step.reveal.is-visible .hm-uc-step__visual {
  animation: hm-uc-visual-rise 0.65s var(--hm-ease) both;
}

.hm-js .hm-uc-step.reveal.is-visible .hm-uc-step__apps img {
  animation: hm-uc-icon-arrive 0.45s var(--hm-ease) both;
}

.hm-js .hm-uc-step.reveal.is-visible .hm-uc-step__apps img:nth-child(2) { animation-delay: 80ms; }
.hm-js .hm-uc-step.reveal.is-visible .hm-uc-step__apps img:nth-child(3) { animation-delay: 160ms; }

.hm-uc-step__foot {
  margin: 14px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--hm-orange-soft);
  color: var(--hm-orange-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.hm-uc-steps__note {
  margin: 0 0 clamp(28px, 3vw, 40px);
  font-size: 13px;
  line-height: 1.75;
  color: var(--hm-text-3);
}

/* ============================================================
   部門別フロー（.hm-uc-tabs / .hm-uc-story）
   ------------------------------------------------------------
   「活用パターン」を部門タブで切り替える段階進行フロー図。
   [data-at] の累積方式で、JS が data-step を進める。
   1100px 以下では段階再生を切り、全段表示にする。
   ============================================================ */

.hm-uc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
}

.hm-uc-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--hm-border);
  border-radius: 999px;
  background: var(--hm-white);
  color: var(--hm-text-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--hm-ease), color 0.18s var(--hm-ease),
              border-color 0.18s var(--hm-ease);
}
.hm-uc-tab:hover {
  border-color: var(--hm-orange);
  color: var(--hm-orange-deep);
}
.hm-uc-tab.is-active {
  background: var(--hm-navy-deep);
  border-color: var(--hm-navy-deep);
  color: var(--hm-on-dark);
}
.hm-uc-tab:focus-visible {
  outline: 3px solid var(--hm-orange);
  outline-offset: 2px;
}

.hm-uc-stories {
  margin: 0 0 14px;
}

.hm-uc-story {
  margin: 0;
}
.hm-uc-story[hidden] {
  display: none;
}

/* 段階表示（JS が初期化できたときだけ、現在より後の拍を薄くする） */
.hm-js .hm-uc-story [data-at] {
  opacity: 0.14;
  transform: translateY(5px);
  transition: opacity 0.28s var(--hm-ease), transform 0.28s var(--hm-ease);
}
.hm-js .hm-uc-story[data-step="1"] [data-at="1"],
.hm-js .hm-uc-story[data-step="2"] [data-at="1"],
.hm-js .hm-uc-story[data-step="2"] [data-at="2"],
.hm-js .hm-uc-story[data-step="3"] [data-at] {
  opacity: 1;
  transform: none;
}

/* 部門別カードからフローへのリンク */
.hm-uc-card__link {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 0;
  color: var(--hm-orange-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.hm-uc-card__link:hover {
  color: var(--hm-orange-deep);
  text-decoration: underline;
}
.hm-uc-card__link:focus-visible {
  outline: 2px solid var(--hm-orange);
  outline-offset: 2px;
  border-radius: 3px;
}

/* 右下のAI選択メニュー（リスト型UI）。
   初期は .hm-ai-fab だけを出し、開閉は script.js が hidden 属性で制御する。
   開閉は瞬時に切り替えず、ボタンの位置からパネルが持ち上がるように遷移させる。
   hidden を外した直後は .is-open が無い（透明・少し下）状態で1度レイアウトを
   確定し、そこから .is-open へ遷移する。閉じるときは逆に .is-open を外して
   遷移が終わってから hidden に戻す（script.js の setOpen）。 */
.hm-ai-entry {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(310px, calc(100vw - 40px));
  padding: 0;
  overflow: hidden;
  color: var(--hm-text);
  background: var(--hm-white);
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.16);
  transform-origin: 100% 100%;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity .22s var(--hm-ease), transform .28s var(--hm-ease);
}
.hm-ai-entry.is-open { opacity: 1; transform: none; }
.hm-ai-entry[hidden] { display: none; }

/* 画面が狭いときは小さなボタンだけを置き、開いたときだけパネルを重ねる */
.hm-ai-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--hm-navy-deep);
  color: var(--hm-on-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.22);
  cursor: pointer;
  transform-origin: 100% 50%;
  transition: opacity .18s var(--hm-ease), transform .18s var(--hm-ease), box-shadow .18s var(--hm-ease);
}
.hm-ai-fab:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16, 24, 40, 0.28); }
/* パネルが開くあいだに縮めて消す。押せないようにしてから hidden にする */
.hm-ai-fab.is-leaving { opacity: 0; transform: scale(0.9); pointer-events: none; }
.hm-ai-fab[hidden] { display: none; }

/* 都市詳細と固定AIメニューは同じ右側領域を使うため、同時には表示しない */
body:has(#hm-hero-earth:is(.is-diving, .is-traveling, .is-inspecting, .is-city)) :is(.hm-ai-entry, .hm-ai-fab) {
  display: none;
}

.hm-ai-fab__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hm-orange);
  font-size: 11px;
  letter-spacing: .02em;
}
.hm-ai-fab:focus-visible {
  outline: 3px solid var(--hm-orange);
  outline-offset: 3px;
}
.hm-ai-entry__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 10px 14px 18px;
  border-bottom: 1px solid #e8ebef;
}
.hm-ai-entry__title {
  margin: 0;
  color: #343a46;
  font-size: 13px;
  line-height: 1.4;
}
.hm-ai-entry__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--hm-gray-note);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.hm-ai-entry__close:hover { background: #f2f4f7; color: #202631; }
.hm-ai-entry__copy {
  width: 100%;
  padding: 13px 22px;
  border: 0;
  border-top: 1px solid #e8ebef;
  background: var(--hm-white);
  color: var(--hm-gray-note);
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.hm-ai-entry__copy:hover { background: #f7f8fa; color: #202631; }
.hm-ai-entry__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.hm-ai-entry__links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 78px;
  padding: 0 22px;
  gap: 16px;
  color: #202631;
  background: var(--hm-white);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .2s var(--hm-ease), background .2s var(--hm-ease);
}
.hm-ai-entry__links a:hover { transform: none; background: #f7f8fa; }
.hm-ai-entry__links a > span { display: none; }
.hm-ai-entry__icon {
  display: block;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid #e0e4e8;
  border-radius: 50%;
  background: var(--hm-white);
}

@media (max-width: 767px) {
  body.is-nav-open .hm-ai-entry,
  body.is-nav-open .hm-ai-fab { display: none; }
  .hm-ai-entry {
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: min(280px, calc(100vw - 24px));
  }
  .hm-ai-fab {
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

.hm-uc-cardset {
  --hm-pattern-gap: clamp(12px, 1.25vw, 20px);
  --hm-pattern-radius: 16px;
  --hm-pattern-padding: 24px 22px 26px;
  --hm-pattern-mark-size: clamp(56px, 5vw, 76px);
  --hm-pattern-mark-opacity: 0.1;
  --hm-pattern-motion-duration: 0.18s;
  --hm-pattern-hover-offset: -2px;
  --hm-pattern-meta-padding: 2px 7px;
  --hm-pattern-item-inset: 14px;
  --hm-pattern-marker-offset: 0.72em;
  --hm-pattern-marker-size: 5px;
}

.hm-uc-pats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hm-pattern-gap);
}

.hm-uc-pat {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 11px;
  min-width: 0;
  padding: var(--hm-pattern-padding);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-pattern-radius);
  background: var(--hm-white);
  transition: border-color var(--hm-pattern-motion-duration) var(--hm-ease), transform var(--hm-pattern-motion-duration) var(--hm-ease);
}

.hm-uc-pat:hover {
  border-color: var(--hm-orange);
  transform: translateY(var(--hm-pattern-hover-offset));
}

.hm-uc-pat::after {
  content: "";
  position: absolute;
  top: calc(var(--hm-pattern-mark-size) / -5);
  right: calc(var(--hm-pattern-mark-size) / -8);
  width: var(--hm-pattern-mark-size);
  height: var(--hm-pattern-mark-size);
  background: var(--hm-brand-cloudflare-mark) center / contain no-repeat;
  opacity: var(--hm-pattern-mark-opacity);
  pointer-events: none;
}

.hm-uc-pat__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding-right: var(--hm-pattern-mark-size);
}

.hm-uc-pat__meta span {
  display: inline-flex;
  align-items: center;
  padding: var(--hm-pattern-meta-padding);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-pattern-radius);
  background: var(--hm-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hm-text-2);
}

.hm-uc-pat__meta,
.hm-uc-pat__title,
.hm-uc-pat__list { position: relative; z-index: 1; }

.hm-uc-pat__title {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--hm-text);
}

.hm-uc-pat__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--hm-border);
  display: grid;
  gap: 8px;
}

.hm-uc-pat__list li {
  padding-left: var(--hm-pattern-item-inset);
  position: relative;
  font-size: 13px;
  line-height: 1.65;
  color: var(--hm-text-2);
}

.hm-uc-pat__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--hm-pattern-marker-offset);
  width: var(--hm-pattern-marker-size);
  height: var(--hm-pattern-marker-size);
  border-radius: 50%;
  background: var(--hm-orange);
}

@media (min-width: 1280px) {
  .hm-uc-cardset {
    --hm-pattern-gap: 12px;
    --hm-pattern-padding: 16px 14px 18px;
    --hm-pattern-mark-size: 56px;
    --hm-pattern-item-inset: 11px;
    --hm-pattern-marker-size: 4px;
  }
  .hm-uc-pats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hm-uc-pat { gap: 8px; }
  .hm-uc-pat__meta { gap: 4px; }
  .hm-uc-pat__meta span { font-size: 9px; }
  .hm-uc-pat__title { font-size: 13px; line-height: 1.45; }
  .hm-uc-pat__list { gap: 5px; padding-top: 9px; }
  .hm-uc-pat__list li { font-size: 11px; line-height: 1.5; }
}

/* ============================================================
   Cloudflare OSとは — 定義セクション（検索・AI回答の起点）
   ============================================================ */

.hm-def {
  background: var(--hm-white);
  padding: clamp(56px, 6.5vw, 104px) 0;
}

/* 見出し（.hm-h2）が中央なので、キッカーとリードも中央に揃える */
.hm-def .hm-kicker { text-align: center; }

.hm-def__lead {
  font-size: 16px;
  line-height: 2.05;
  color: var(--hm-text-lead);
  max-width: 760px;
  margin: 0 auto clamp(28px, 3.2vw, 44px);
  text-align: center;
}

.hm-def__lead strong { color: var(--hm-text); }

.hm-def__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  margin: 0 0 clamp(36px, 4vw, 60px);
  overflow: hidden;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  background: var(--hm-border);
}

.hm-def__facts > div {
  padding: 16px 20px;
  background: var(--hm-white);
}

.hm-def__facts dt {
  margin-bottom: 5px;
  color: var(--hm-text-3);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hm-def__facts dd {
  margin: 0;
  color: var(--hm-text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.7;
}

.hm-architecture { margin-top: clamp(40px, 5vw, 72px); }
.hm-architecture__heading { max-width: 760px; margin-bottom: 32px; }
.hm-architecture__heading .hm-kicker { margin-bottom: 14px; font-size: 11px; letter-spacing: 0.16em; }
.hm-architecture__heading h3 {
  margin: 0 0 16px;
  color: var(--hm-navy-ink);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.5;
  text-wrap: balance;
}
.hm-architecture__intro { margin: 0; color: var(--hm-text-2); font-size: 15px; line-height: 1.9; }
.hm-architecture__layer {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--hm-border);
}
.hm-architecture__label > span { display: block; margin-bottom: 12px; color: var(--hm-orange-ink); font: 500 13px var(--hm-latin); letter-spacing: 0.08em; }
.hm-architecture__label h4 { margin: 0 0 8px; font-size: 21px; font-weight: 800; color: var(--hm-navy-ink); }
.hm-architecture__label p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--hm-text-2); }
.hm-architecture__components {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-architecture__components--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-architecture__component { min-width: 0; }
.hm-architecture__component h4 { margin: 0 0 12px; font-size: 17px; line-height: 1.5; color: var(--hm-navy-ink); }
.hm-architecture__component p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--hm-text-2); }
.hm-architecture__layer--control {
  position: relative;
  border: 0;
  border-radius: 8px;
  background: var(--hm-navy-ink);
  box-shadow: inset 3px 0 var(--hm-orange);
}
.hm-architecture__layer--control .hm-architecture__label > span { color: #ffa66f; }
.hm-architecture__layer--control h4 { color: #fff; }
.hm-architecture__layer--control p { color: #c4d0df; }
.hm-architecture__layer--control .hm-architecture__component { border-top: 1px solid #435166; padding-top: 18px; }
.hm-architecture__layer--destinations { align-items: center; border-top: 0; border-bottom: 1px solid var(--hm-border); }
.hm-architecture__destinations { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.hm-architecture__destinations span { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; color: var(--hm-navy-ink); font-weight: 700; }
.hm-architecture__destinations span::before { content: "↳"; color: var(--hm-orange-ink); font-size: 22px; }
.hm-def__more { margin: 28px 0 0; font-size: 14.5px; }
.hm-def__more a { color: var(--hm-orange-ink); font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .hm-architecture__layer { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 28px 24px; }
  .hm-architecture__components--three { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .hm-def__lead { font-size: 15px; line-height: 1.95; }
  .hm-architecture__layer { grid-template-columns: 1fr; padding: 26px 20px; gap: 24px; }
  .hm-architecture__label { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: baseline; }
  .hm-architecture__label > span { margin: 0; grid-row: 1 / 3; }
  .hm-architecture__label h4 { font-size: 19px; margin-bottom: 5px; }
  .hm-architecture__label p { grid-column: 2; }
  .hm-architecture__components { grid-template-columns: 1fr; gap: 24px; }
  .hm-architecture__component h4 { font-size: 16px; margin-bottom: 8px; }
}

/* ============================================================
   support — 支援内容 3×2 + 選ばれる理由 3
   ============================================================ */

.hm-support-sec {
  background: var(--hm-soft);
  padding: clamp(64px, 6vw, 100px) 0 clamp(72px, 7vw, 118px);
}
.hm-support-sec .hm-h2 { margin-bottom: clamp(24px, 1.9vw, 31px); }
.hm-support-sec .hm-h2 + .hm-h2,
.hm-h2--gap { margin-top: clamp(32px, 2.75vw, 46px); }

.hm-sv-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 2px 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hm-sv-grid::-webkit-scrollbar { display: none; }
.hm-sv-carousel { position: relative; }
.hm-sv-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: var(--hm-white);
  border: 1px solid #f0f0f2;
  border-radius: 14px;
  padding: 34px 34px 36px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.025);
  transition: transform 0.18s var(--hm-ease), box-shadow 0.18s var(--hm-ease);
}
.hm-sv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
}
.hm-sv-card__icon { flex: none; width: 92px; color: #101c30; }
.hm-sv-card__icon svg { width: 92px; height: 92px; display: block; }

/* 支援内容6枚だけを、濃紺メタルの立体パネルと浮いた線画で見せる */
.hm-sv-grid {
  perspective: 1200px;
  perspective-origin: 50% 45%;
}
.hm-sv-grid > .hm-sv-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background:
    linear-gradient(rgba(103, 218, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(103, 218, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at 94% 0%, rgba(55, 207, 255, 0.16), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(249, 92, 0, 0.15), transparent 42%),
    linear-gradient(145deg, #0b233e 0%, #051528 58%, #020b18 100%);
  border-color: rgba(103, 218, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(173, 235, 255, 0.2),
    inset -18px -18px 40px rgba(0, 0, 0, 0.2),
    0 6px 0 #020816,
    0 20px 38px rgba(2, 19, 44, 0.25),
    0 0 30px rgba(42, 205, 255, 0.07);
}
.hm-sv-grid > .hm-sv-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 98px;
  height: 2px;
  background: linear-gradient(90deg, var(--hm-orange) 0 58%, #61d8ff 58% 82%, transparent 82%);
  box-shadow: 0 0 13px rgba(249, 92, 0, 0.55), 64px 0 12px rgba(61, 212, 255, 0.48);
  pointer-events: none;
}
.hm-sv-grid > .hm-sv-card:hover,
.hm-sv-grid > .hm-sv-card:focus-within {
  border-color: rgba(102, 221, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(173, 235, 255, 0.26),
    inset -18px -18px 40px rgba(0, 0, 0, 0.18),
    0 7px 0 #020816,
    0 24px 44px rgba(2, 19, 44, 0.32),
    0 0 34px rgba(42, 205, 255, 0.12);
}
.hm-sv-grid .hm-sv-card__title {
  color: #f5fbff;
  text-shadow: 0 0 18px rgba(103, 218, 255, 0.12);
}
.hm-sv-grid .hm-sv-card__text { color: #c3d3e5; }
.hm-sv-grid .hm-sv-card .hm-term {
  color: #ff9766;
  text-decoration-color: rgba(255, 151, 102, 0.68);
}
.hm-sv-grid .hm-sv-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(104, 221, 255, 0.45);
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 18%, rgba(172, 239, 255, 0.2), transparent 35%),
    linear-gradient(145deg, #17415f, #081b31 58%, #020a15);
  box-shadow:
    -1px 1px 0 #123550,
    -2px 2px 0 #0d2b45,
    -3px 3px 0 #092139,
    -4px 4px 0 #06182c,
    -5px 5px 0 #041221,
    -6px 6px 0 #020a15,
    -12px 16px 24px rgba(0, 0, 0, 0.44),
    0 0 24px rgba(49, 211, 255, 0.2),
    10px 14px 24px rgba(249, 92, 0, 0.18);
  transform: perspective(460px) rotateX(10deg) rotateY(-10deg);
  transform-style: preserve-3d;
  transition: transform 0.28s var(--hm-ease), box-shadow 0.28s var(--hm-ease);
}
.hm-sv-grid .hm-sv-card__icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 19px;
  box-shadow: inset -12px -12px 22px rgba(0, 0, 0, 0.4), inset 8px 8px 14px rgba(103, 220, 255, 0.08);
  pointer-events: none;
  transform: translateZ(1px);
}
.hm-sv-grid .hm-sv-card__icon svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 0 5px rgba(98, 221, 255, 0.3)) drop-shadow(0 8px 6px rgba(0, 0, 0, 0.46));
  transform: translateZ(18px);
  transition: transform 0.28s var(--hm-ease);
}
.hm-sv-grid .hm-sv-card__icon svg [stroke="#16181c"] { stroke: #dff8ff; }
.hm-sv-grid .hm-sv-card__icon svg [fill="#16181c"] { fill: #dff8ff; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hm-sv-grid > .hm-sv-card:hover .hm-sv-card__icon,
  .hm-sv-grid > .hm-sv-card:focus-within .hm-sv-card__icon {
    transform: perspective(460px) translateY(-4px) rotateX(7deg) rotateY(-6deg);
  }
  .hm-sv-grid > .hm-sv-card:hover .hm-sv-card__icon svg,
  .hm-sv-grid > .hm-sv-card:focus-within .hm-sv-card__icon svg {
    transform: translateZ(23px) scale(1.03);
  }
}
@media (max-width: 1100px) {
  .hm-sv-grid > .hm-sv-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
  .hm-sv-grid > .hm-sv-card { flex-basis: 100%; }
  .hm-sv-grid > .hm-sv-card {
    box-shadow: inset 0 1px 0 rgba(173, 235, 255, 0.18), 0 3px 0 #020816, 0 13px 24px rgba(2, 19, 44, 0.24);
  }
  .hm-sv-grid .hm-sv-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    box-shadow: -1px 1px 0 #0d2b45, -2px 2px 0 #081d34, -3px 3px 0 #020a15, -7px 9px 16px rgba(0, 0, 0, 0.36), 0 0 16px rgba(49, 211, 255, 0.16);
    transform: perspective(300px) rotateX(8deg) rotateY(-8deg);
  }
  .hm-sv-grid .hm-sv-card__icon::before { border-radius: 11px; }
  .hm-sv-grid .hm-sv-card__icon svg {
    width: 34px;
    height: 34px;
    transform: translateZ(12px);
  }
}
.hm-sv-card__title {
  font-size: clamp(18px, 1.44vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.hm-sv-card__text {
  margin-top: 10px;
  font-size: clamp(14px, 1.02vw, 17px);
  line-height: 1.9;
  font-weight: 500;
  color: var(--hm-text);
}

/* 選ばれる理由（少し大きめの3カード） */
.hm-rs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hm-rs-grid .hm-sv-card { padding: 42px 38px 44px; }

/* ============================================================
   process — 導入プロセス 5ステップ
   ============================================================ */

.hm-process-sec {
  background: var(--hm-white);
  padding: clamp(88px, 9vw, 150px) 0 clamp(88px, 9.5vw, 158px);
}
.hm-process-sec .hm-h2 { margin-bottom: clamp(64px, 6.6vw, 110px); }

.hm-pr-wrap {
  width: min(1532px, calc(100% - 88px));
  margin-inline: auto;
}
.hm-pr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(40px, 4.3vw, 72px);
  counter-reset: none;
}
.hm-pr-step {
  position: relative;
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 18px;
  padding: clamp(60px, 5vw, 84px) 18px 44px;
  text-align: center;
}
.hm-pr-step__num {
  position: absolute;
  top: -18px;
  left: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--hm-white);
  border: 1.5px solid var(--hm-orange);
  display: grid;
  place-items: center;
  font-family: var(--hm-latin);
  font-size: 20px;
  font-weight: 700;
  color: var(--hm-orange);
}
.hm-pr-step__icon {
  display: grid;
  place-items: center;
  margin-bottom: clamp(28px, 2.6vw, 44px);
  color: #101c30;
}
.hm-pr-step__icon svg { width: clamp(64px, 5.8vw, 98px); height: clamp(64px, 5.8vw, 98px); display: block; }
.hm-pr-step__title {
  font-size: clamp(15px, 1.14vw, 19px);
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.hm-pr-step__text {
  margin-top: clamp(16px, 1.9vw, 32px);
  font-size: clamp(13px, 1.14vw, 19px);
  line-height: 2.05;
  font-weight: 500;
  color: var(--hm-pr-ink);
  text-align: left;
}

/* カード間の点線 + 矢印（アイコンの高さに合わせる） */
.hm-pr-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(84px, 7vw, 118px);
  right: calc(-1 * clamp(40px, 4.3vw, 72px));
  width: calc(clamp(40px, 4.3vw, 72px) - 14px);
  height: 0;
  border-top: 2px dotted var(--hm-pr-dot);
}
.hm-pr-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(clamp(84px, 7vw, 118px) - 4px);
  right: calc(-1 * clamp(40px, 4.3vw, 72px) + 8px);
  width: 0; height: 0;
  border-left: 8px solid var(--hm-pr-ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* 初回表示で左から順にフェード（JS が is-animated を付ける） */
.hm-js .hm-pr-step { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--hm-ease), transform 0.5s var(--hm-ease); }
.hm-js .hm-pr-grid.is-animated .hm-pr-step { opacity: 1; transform: none; }
.hm-js .hm-pr-grid.is-animated .hm-pr-step:nth-child(2) { transition-delay: 110ms; }
.hm-js .hm-pr-grid.is-animated .hm-pr-step:nth-child(3) { transition-delay: 220ms; }
.hm-js .hm-pr-grid.is-animated .hm-pr-step:nth-child(4) { transition-delay: 330ms; }
.hm-js .hm-pr-grid.is-animated .hm-pr-step:nth-child(5) { transition-delay: 440ms; }
.hm-js .hm-pr-step::after { opacity: 0; transition: opacity 0.4s ease 0.5s; }
.hm-js .hm-pr-step::before { opacity: 0; transition: opacity 0.4s ease 0.55s; }
.hm-js .hm-pr-grid.is-animated .hm-pr-step::after,
.hm-js .hm-pr-grid.is-animated .hm-pr-step::before { opacity: 1; }

/* ============================================================
   final CTA — ダーク + 地球写真 + 縦2ボタン
   ============================================================ */

.hm-finalcta {
  position: relative;
  /* 写真の幅とグリッド右端の余白列に同じ値を使う。これでボタン列の右端と
     写真の左端が必ず（コンテナ左右余白ぶん）離れる。 */
  --hm-cta-photo-w: clamp(176px, 14.6vw, 264px);
  background: var(--hm-dark-hero);
  color: var(--hm-on-dark);
  overflow: hidden;
}
.hm-finalcta__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  /* width:auto にすると幅が「節の高さ × 650/785」になり、節が高いほど
     左へ伸びてボタン列に重なる（実測で 1281〜1728px の全域で 115〜133px
     重なっていた）。幅を確定値にして重なりを構造的に断つ。 */
  width: var(--hm-cta-photo-w);
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.95;
  /* 参考デザイン 05 の地球は背景に溶け込んでいて左端に直線が出ない。
     素材は矩形なのでマスクで左端をぼかす。Safari 向けに接頭辞版も置く。 */
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.5) 38%, #000 78%);
  mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.5) 38%, #000 78%);
}
.hm-finalcta__inner {
  position: relative;
  z-index: 2;
  width: min(var(--hm-container), calc(100% - 88px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px) var(--hm-cta-photo-w);
  align-items: center;
  gap: clamp(28px, 3.4vw, 64px);
  padding-block: clamp(64px, 6.5vw, 108px);
}
.hm-finalcta__eyebrow {
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 700;
  color: #eceef0;
}
.hm-finalcta__title {
  margin-top: clamp(14px, 1.6vw, 26px);
  font-size: clamp(23px, 2.85vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.hm-finalcta__lead {
  margin-top: clamp(14px, 1.7vw, 28px);
  font-size: clamp(14px, 1.08vw, 18px);
  font-weight: 500;
  color: var(--hm-on-dark-2);
}
.hm-finalcta__actions {
  display: grid;
  gap: 22px;
}
.hm-finalcta__actions .hm-btn--primary { min-height: clamp(66px, 5.93vw, 99px); font-size: clamp(17px, 1.45vw, 24px); }
.hm-finalcta__actions .hm-btn--ghostdark { min-height: clamp(58px, 5.38vw, 90px); font-size: clamp(16px, 1.4vw, 23px); }

/* ============================================================ responsive */

/* 参考画像どおりの 3 カラム（ボタン列 480px）は 1520px を切ると見出し列が
   足りず、「安全な PoC から始めませんか。」が3行に割れる。実測した境界は
   1520px なので、少し余裕を持たせた 1540px 以下でボタン列を細くして
   見出しに幅を渡す。見出しは常に2行で収まること。
   （1280px 以下の指定に上書きさせるため、この位置に置く） */
@media (max-width: 1540px) {
  .hm-finalcta__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) var(--hm-cta-photo-w);
  }
}

@media (max-width: 1280px) {
  .hm-container, .hm-container--narrow, .hm-pr-wrap,
  .hm-hero__inner, .hm-finalcta__inner { width: calc(100% - 56px); }

  /* 最終CTA: ヒーローと同じ境界で縦積みにする。
     3カラムのまま狭めるとボタン列の最小幅 380px が見出し列を潰し、
     「安全な PoC から始めませんか。」が3行に割れる（実測 1101〜1280px）。
     縦積みなら写真と重ならないので、写真は少し広げてよい。 */
  .hm-finalcta {
    --hm-cta-photo-w: min(42vw, 330px);
  }
  .hm-finalcta__inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 3.4vw, 40px);
  }
  .hm-finalcta__actions { max-width: 520px; }

  /* Hero: 斜めを解除して縦積み（写真 → テキスト）。
     この幅では淡い面が痩せすぎて、本文とボタンが必ず写真の上に乗る。
     px の下限を入れても解決しないので、斜めごと畳む。 */
  .hm-hero {
    height: auto;
    background: var(--hm-navy-deep);
    display: flex;
    flex-direction: column;
  }
  .hm-hero__cut { display: none; }
  .hm-hero__photo {
    position: static;
    order: -1;
    display: block;
    width: 100%;
    height: auto;
    /* そのまま伸ばすと 1024px 幅で 900px 超の帯になるので上限を切る */
    max-height: clamp(240px, 38vw, 430px);
    object-fit: cover;
    object-position: center 30%;
    animation: none;
  }
  .hm-hero__inner {
    height: auto;
    background: var(--hm-hero-sky);
    width: 100%;
    padding: clamp(32px, 4.4vw, 56px) 0 clamp(36px, 4.8vw, 60px);
  }
  /* 面いっぱいの背景にしつつ、中身はコンテナ幅に合わせる */
  .hm-hero__title,
  .hm-hero__lead,
  .hm-hero__actions,
  .hm-hero__offer-note {
    width: min(var(--hm-container), calc(100% - 56px));
    margin-inline: auto;
  }
}

@media (max-width: 1100px) {
  .hm-uc-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .hm-uc-pats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hm-uc-steps { grid-template-columns: 1fr; }
  .hm-uc-connector { grid-auto-flow: column; min-height: 28px; }
  .hm-uc-connector i { width: 2px; height: 24px; }
  .hm-uc-connector i::after {
    top: auto;
    right: -4px;
    bottom: -1px;
    border-top: 0;
    border-right: 2px solid var(--hm-orange);
    border-bottom: 2px solid var(--hm-orange);
    transform: rotate(45deg);
  }
  /* 縦積みでは段階再生を切り、全段表示にする */
  .hm-js .hm-uc-story [data-at] {
    opacity: 1;
    transform: none;
  }
  .hm-sv-grid, .hm-rs-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-pr-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 44px; }
  .hm-pr-step:nth-child(3n)::after,
  .hm-pr-step:nth-child(3n)::before { display: none; }

}

@media (max-width: 767px) {

  /* .hm-hero__inner は淡い面そのものなので全幅のまま。ここに含めると
     左右に地色（紺）の帯が出る。中身の幅は下の個別指定で決める。 */
  .hm-container, .hm-container--narrow, .hm-pr-wrap,
  .hm-finalcta__inner { width: calc(100% - 40px); }

  .hm-hero__title { font-size: clamp(25px, 7vw, 32px); }
  .hm-hero__lead { font-size: 14.5px; }
  /* デスクトップ用の改行位置は SP だと語中で切れるので自然折り返しに任せる */
  .hm-hero__lead br { display: none; }
  .hm-hero__actions { align-items: flex-start; gap: 20px; margin-top: 26px; }
  .hm-hero__actions .hm-btn--pill { width: 100%; }
  /* ボタンが全幅で縦積みになる幅では、塗り/枠のボタン群と下線のテキストリンクが
     gap と同じ 20px で並び、「解説ガイドを読む」が上下から挟まれて詰まって見える。
     性質が違う導線なので、前後を広げて区切る。 */
  .hm-hero__actions .hm-hero__textlink { margin-top: 10px; }
  /* .hm-hero__offer-note の既定（margin-top: 18px）はこのブロックより後ろで
     定義されている。メディアクエリでは詳細度が上がらないので、
     単独クラスのままだと後勝ちで負ける。親を足して詳細度を上げる。 */
  .hm-hero__inner .hm-hero__offer-note { margin-top: 24px; }
  .hm-hero__title,
  .hm-hero__lead,
  .hm-hero__actions,
  .hm-hero__offer-note { width: calc(100% - 40px); }
  .hm-uc-pats { grid-template-columns: 1fr; }

  /* 特長バンドは4列だと潰れるので2列に組み替える */
  .hm-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .hm-fact-item { padding: 15px clamp(10px, 3vw, 18px); }
  .hm-fact-item + .hm-fact-item { border-left: 0; }
  .hm-fact-item:nth-child(even) { border-left: 1px solid var(--hm-facts-rule); }
  .hm-fact-item:nth-child(n + 3) { border-top: 1px solid var(--hm-facts-rule); }
}

/* 2列でも見出しが語中で折り返す幅は1列に落とす */
@media (max-width: 560px) {
  .hm-facts__list { grid-template-columns: 1fr; padding: 8px 0; }
  .hm-fact-item { padding: 13px 4px; }
  .hm-fact-item:nth-child(even) { border-left: 0; }
  .hm-fact-item + .hm-fact-item { border-top: 1px solid var(--hm-facts-rule); }
  .hm-fact-item:nth-child(n + 3) { border-top: 1px solid var(--hm-facts-rule); }

  /* カードが小さくなるぶん、同じ体感速度になるよう周回を短くする */
  .hm-logos { padding: 30px 0 26px; }
  .hm-logos__track { animation-duration: 30s; }
  .hm-logos__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
  .hm-logos__title { margin-bottom: 18px; padding: 0 20px; }
  .hm-logos__note { margin-top: 18px; padding: 0 20px; }

  .hm-uc-grid { grid-template-columns: 1fr; gap: 18px; }
  .hm-uc-pats { grid-template-columns: 1fr; }
  .hm-uc-steps { grid-template-columns: 1fr; }
  .hm-ai-entry { gap: 0; padding: 0; }
  .hm-ai-entry__links { grid-template-columns: 1fr; }
  .hm-ai-entry__links a { min-height: 44px; }
  .hm-uc-card { padding: 17px 18px 32px; }
  .hm-uc-card__title { margin-top: 30px; }
  .hm-uc-card__list { gap: 16px; }
  /* 部門タブは5つあるので、SPでは2行に折り返して全部見せる */
  .hm-uc-tabs { gap: 8px; }
  .hm-uc-tab { min-height: 44px; padding: 10px 16px; font-size: 13px; }

  .hm-sv-grid, .hm-rs-grid { grid-template-columns: 1fr; gap: 16px; }
  .hm-sv-card { padding: 26px 24px; gap: 18px; }
  .hm-sv-card__icon, .hm-sv-card__icon svg { width: 54px; }
  .hm-sv-card__icon svg { height: 54px; }

  /* プロセスは縦タイムライン */
  .hm-pr-grid { grid-template-columns: 1fr; gap: 44px; }
  .hm-pr-step { padding: 56px 22px 34px; text-align: left; }
  .hm-pr-step__num { top: -22px; width: 46px; height: 46px; font-size: 17px; }
  .hm-pr-step__icon { margin-bottom: 20px; justify-content: flex-start; place-items: start; }
  .hm-pr-step__icon svg { width: 52px; height: 52px; }
  .hm-pr-step__text { text-align: left; margin-top: 12px; }
  .hm-pr-step:not(:last-child)::after {
    top: auto;
    bottom: -30px;
    right: auto;
    left: 50%;
    width: 0;
    height: 18px;
    border-top: 0;
    border-left: 2px dotted var(--hm-pr-dot);
    transform: translateX(-50%);
  }
  .hm-pr-step:not(:last-child)::before {
    top: auto;
    bottom: -36px;
    right: auto;
    left: 50%;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--hm-pr-ink);
    border-bottom: 0;
    transform: translateX(-50%);
  }

  .hm-finalcta__inner { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  /* この幅では写真を薄い背景として面いっぱいに敷く（重なりは opacity で解決） */
  .hm-finalcta { --hm-cta-photo-w: min(100vw, 560px); }
  .hm-finalcta__photo { opacity: 0.38; }
  .hm-finalcta__actions { max-width: none; }

}

@media (max-width: 400px) {
  .hm-container, .hm-container--narrow, .hm-pr-wrap,
  .hm-finalcta__inner { width: calc(100% - 32px); }
  .hm-hero__title,
  .hm-hero__lead,
  .hm-hero__actions,
  .hm-hero__offer-note { width: calc(100% - 32px); }
}

/* ============================================================
   追加セクション（競合調査ベースの CVR 強化要素）
   ============================================================ */

/* ---------- 共通: セクション見出しのキッカー ---------- */

.hm-kicker {
  margin: 0 0 14px;
  font-family: "Space Grotesk", var(--hm-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--hm-orange-ink);
}

/* ---------- ナビの副ボタン（資料請求） ---------- */

.hm-btn--navsub {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
}

/* ヒーローの副 pill（資料請求） */
.hm-btn--pill-sub {
  background: transparent;
  border: 2px solid var(--hm-orange);
  color: var(--hm-orange-ink);
}
.hm-btn--pill-sub:hover { background: var(--hm-orange-soft); }

.hm-hero__offer-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--hm-text-lead);
}

/* ---------- プロダクト画面 ---------- */

.hm-product {
  background: linear-gradient(180deg, var(--hm-soft) 0%, var(--hm-white) 100%);
  padding: clamp(56px, 7vw, 120px) 0;
}
.hm-product__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
.hm-product__lead {
  font-size: 15.5px;
  line-height: 2;
  color: var(--hm-text-lead);
  margin: 0 0 22px;
}
.hm-product__points {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
}
.hm-product__points li {
  list-style: none;
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hm-navy-ink);
}
.hm-product__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--hm-orange);
  border-bottom: 2.5px solid var(--hm-orange);
  transform: rotate(-45deg);
}
.hm-product__figure { margin: 0; }
.hm-product__shot { display: block; position: relative; }

/* 「会話 → 成果物」の順に、写真の中の実在する領域を囲んで見せる。
   写真の上にUI要素は描き足さない（製品画面の捏造になる）。
   数値は workspace.webp (1200x745) の実測を % にしたもの。
   画像を差し替えたら測り直すこと。 */
.hm-product__shot::before,
.hm-product__shot::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 2px solid var(--hm-orange);
  border-radius: 10px;
  background: rgba(249, 92, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(249, 92, 0, 0.12);
  opacity: 0;
  animation: hm-product-focus 6s var(--hm-ease) infinite;
}

/* 左のチャット列 */
.hm-product__shot::before { left: 3.1%; top: 9.1%; width: 29.4%; height: 85.7%; }
/* 右の生成されたスライド */
.hm-product__shot::after { left: 34.5%; top: 27.2%; width: 61.7%; height: 56.5%; animation-delay: 1.2s; }

@keyframes hm-product-focus {
  0%, 3% { opacity: 0; transform: scale(0.99); }
  8%, 38% { opacity: 1; transform: none; }
  46%, 100% { opacity: 0; transform: none; }
}

.hm-product__figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--hm-border);
  box-shadow: 0 24px 60px -24px rgba(4, 29, 64, 0.35);
}
.hm-product__figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: #7a8494;
  text-align: right;
}

/* ---------- 課題（Why now） ---------- */

.hm-why {
  background: var(--hm-white);
  padding: clamp(56px, 7vw, 120px) 0;
}
.hm-why__lead {
  font-size: 15.5px;
  line-height: 2;
  color: var(--hm-text-lead);
  max-width: 720px;
  margin: 0 0 clamp(32px, 4vw, 56px);
}
.hm-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
}
.hm-why__card {
  position: relative;
  background: var(--hm-soft);
  border: 1px solid var(--hm-border);
  border-radius: 18px;
  padding: clamp(26px, 2.6vw, 40px);
  overflow: hidden;
}
.hm-why__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: "Space Grotesk", var(--hm-font);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 700;
  color: rgba(249, 92, 0, 0.14);
  line-height: 1;
}
.hm-why__card h3 {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--hm-navy-ink);
  margin: 0 0 12px;
  position: relative;
}
.hm-why__card p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--hm-gray-body);
  margin: 0;
  position: relative;
}

/* ---------- 無料業務診断オファー ---------- */

.hm-offer {
  background: var(--hm-dark-hero);
  padding: clamp(56px, 7vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.hm-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(249, 92, 0, 0.22), transparent 65%),
    radial-gradient(480px 300px at 0% 100%, rgba(249, 92, 0, 0.12), transparent 70%);
  pointer-events: none;
}
.hm-offer__panel {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: clamp(34px, 4.5vw, 72px);
  backdrop-filter: blur(6px);
}
.hm-offer__badge {
  display: inline-block;
  background: var(--hm-orange);
  color: var(--hm-on-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 18px;
  margin: 0 0 22px;
  letter-spacing: 0.04em;
}
.hm-offer__title {
  color: var(--hm-on-dark);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.5;
  margin: 0 0 20px;
}
.hm-offer__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 2;
  margin: 0 0 34px;
  max-width: 760px;
}
.hm-offer__lead strong { color: #ffb380; }
.hm-offer__deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 38px;
}
.hm-offer__deliverables li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.8;
}
.hm-offer__deliverables strong {
  display: block;
  color: var(--hm-on-dark);
  font-size: 14.5px;
  margin-bottom: 2px;
}
.hm-offer__del-ico {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(249, 92, 0, 0.18);
  border-radius: 10px;
  color: #ff9a52;
}
.hm-offer__del-ico svg { width: 22px; height: 22px; }
.hm-offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.hm-offer__actions .hm-btn {
  min-height: 56px;
  padding: 6px 24px;
  font-size: 15.5px;
  line-height: 1.5;
  white-space: nowrap;
}
.hm-offer__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0;
}

/* ---------- 成果物 ---------- */

.hm-deliv {
  margin-top: clamp(40px, 4.5vw, 64px);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 20px;
  padding: clamp(28px, 3.4vw, 48px);
}
.hm-deliv__title {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--hm-navy-ink);
  margin: 0 0 20px;
}
.hm-deliv__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.hm-deliv__list li {
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hm-navy-ink);
  background: var(--hm-orange-soft);
  border: 1px solid var(--hm-orange-line);
  border-radius: 999px;
  padding: 8px 16px;
}
.hm-deliv__note {
  font-size: 13px;
  color: var(--hm-gray-note);
  margin: 0;
}

/* ---------- 料金パッケージ ---------- */

.hm-plans__lead {
  font-size: 15px;
  color: var(--hm-gray-body);
  margin: 0 0 clamp(28px, 3vw, 44px);
}
.hm-plans__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-plan-card-radius);
  background: var(--hm-white);
  box-shadow: var(--hm-plan-card-shadow);
}
.hm-plans__table-wrap:focus-visible {
  outline: 3px solid var(--hm-orange);
  outline-offset: 3px;
}
.hm-plans__table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  text-align: left;
}
.hm-plans__table thead {
  background: linear-gradient(100deg, #06162b, #0b2947);
  color: #eef9ff;
}
.hm-plans__table th,
.hm-plans__table td {
  padding: 20px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--hm-border);
}
.hm-plans__table thead th {
  border-bottom-color: rgba(113, 215, 255, 0.28);
  font-family: "Space Grotesk", var(--hm-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hm-plans__table thead th:nth-child(1) { width: 12%; }
.hm-plans__table thead th:nth-child(2) { width: 14%; }
.hm-plans__table thead th:nth-child(3) { width: 23%; }
.hm-plans__table thead th:nth-child(4) { width: 12%; }
.hm-plans__table thead th:nth-child(5) { width: 21%; }
.hm-plans__table thead th:nth-child(6) { width: 18%; }
.hm-plans__table tbody tr { transition: background-color 0.18s var(--hm-ease); }
.hm-plans__table tbody tr:hover { background: #f5faff; }
.hm-plans__table tbody tr:last-child > * { border-bottom: 0; }
.hm-plans__table tbody th { font-weight: inherit; }
.hm-plans__table tbody tr > :first-child { border-left: var(--hm-plan-featured-rule) solid transparent; }
.hm-plans__table .hm-plan-row--featured > * { background: #fff7ef; }
.hm-plans__table .hm-plan-row--featured:hover > * { background: #fff2e5; }
.hm-plans__table .hm-plan-row--featured > :first-child { border-left-color: var(--hm-orange); }
.hm-plans__table tbody tr > * + * { border-left: 1px solid #edf0f4; }
.hm-plans__table .hm-btn {
  min-height: 46px;
  padding-inline: 16px;
  white-space: nowrap;
}
.hm-plan__step {
  display: inline-block;
  font-family: "Space Grotesk", var(--hm-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--hm-gray-muted);
  margin: 3px 0 0;
}
.hm-plan__badge {
  display: inline-flex;
  margin-top: 9px;
  background: var(--hm-orange);
  color: var(--hm-on-dark);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 10px;
}
.hm-plan__name {
  display: block;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--hm-navy-ink);
  margin: 0;
}
.hm-plan__price {
  display: block;
  font-family: "Space Grotesk", var(--hm-font);
  font-size: clamp(20px, 1.65vw, 26px);
  font-weight: 700;
  color: var(--hm-orange-ink);
  line-height: 1.25;
  white-space: nowrap;
}
.hm-plan__term {
  display: block;
  font-size: 12.5px;
  color: var(--hm-gray-muted);
  margin-top: 5px;
}
.hm-plan__list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}
.hm-plan__list li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--hm-text-lead);
}
.hm-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--hm-orange);
  border-bottom: 2px solid var(--hm-orange);
  transform: rotate(-45deg);
}
.hm-plan__cta { justify-content: center; width: 100%; }
.hm-plans__note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--hm-gray-note);
}
.hm-plans__note a { color: var(--hm-orange-ink); font-weight: 600; }

/* PCでは列見出しがあるのでラベルは隠す */
.hm-plans__table .table-label { display: none; }

/* 狭幅では横スクロールに頼らず1行=1カードへ組み替える。
   thead を消すと列の帰属が失われるので、各セルの .table-label（実テキスト）で補う */
@media (max-width: 1023px) {
  .hm-plans__table-wrap {
    overflow-x: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .hm-plans__table,
  .hm-plans__table tbody,
  .hm-plans__table tbody tr,
  .hm-plans__table tbody th,
  .hm-plans__table tbody td {
    display: block;
    width: auto;
  }
  .hm-plans__table {
    min-width: 0;
    table-layout: auto;
  }
  .hm-plans__table thead { display: none; }
  .hm-plans__table tbody tr {
    border: 1px solid var(--hm-border);
    border-radius: 16px;
    background: var(--hm-white);
    box-shadow: 0 14px 30px -24px rgba(2, 19, 44, 0.34);
    padding: 4px 0 18px;
    margin-bottom: 16px;
  }
  .hm-plans__table tbody tr:last-child { margin-bottom: 0; }
  .hm-plans__table tbody tr:hover { background: var(--hm-white); }
  .hm-plans__table tbody th,
  .hm-plans__table tbody td {
    border: 0;
    padding: 6px 18px;
  }
  .hm-plans__table tbody tr > * + * { border-left: 0; }
  .hm-plans__table tbody tr > :first-child { border-left: 0; }
  .hm-plans__table .hm-plan-row--featured {
    border-color: var(--hm-orange);
    background: #fff7ef;
  }
  .hm-plans__table .hm-plan-row--featured > *,
  .hm-plans__table .hm-plan-row--featured:hover > * { background: none; }
  .hm-plans__table .table-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hm-gray-muted);
    margin-bottom: 4px;
  }
  .hm-plans__table .hm-btn {
    display: flex;
    width: 100%;
    margin-top: 8px;
    white-space: normal;
  }
}

/* ---------- 助成金・補助金 ---------- */

.hm-subsidy {
  margin-top: clamp(44px, 5vw, 72px);
  background: linear-gradient(135deg, #fff7ef 0%, #ffefe0 100%);
  border: 1px solid var(--hm-orange-line);
  border-radius: 20px;
  padding: clamp(28px, 3.6vw, 52px);
}
.hm-subsidy__title {
  font-size: clamp(18px, 1.7vw, 23px);
  color: var(--hm-navy-ink);
  margin: 0 0 24px;
}
.hm-subsidy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.hm-subsidy__card {
  min-width: 0;
  background: var(--hm-white);
  border: 1px solid var(--hm-orange-line);
  border-radius: 16px;
  padding: clamp(20px, 2.2vw, 32px);
}
.hm-subsidy__max {
  font-size: 14px;
  font-weight: 600;
  color: var(--hm-navy-ink);
  margin: 0 0 10px;
}
.hm-subsidy__max strong {
  font-family: "Space Grotesk", var(--hm-font);
  font-size: clamp(26px, 2.2vw, 34px);
  color: var(--hm-orange-ink);
  margin: 0 2px;
}
.hm-subsidy__card h4 {
  font-size: 15px;
  color: var(--hm-navy-ink);
  margin: 0 0 10px;
}
.hm-subsidy__card p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--hm-gray-body);
  margin: 0;
}
.hm-subsidy__note {
  margin: 20px 0 0;
  font-size: 12.5px;
  color: #7a6a58;
}

/* ---------- 研修メニュー（対象者別） ---------- */

.hm-training__lead {
  font-size: 15px;
  color: var(--hm-gray-body);
  margin: 0 0 clamp(28px, 3vw, 44px);
  max-width: 720px;
}
.hm-training__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--hm-border);
}
.hm-training__card {
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(26px, 2.6vw, 40px);
}
.hm-training__card:nth-child(odd) { border-right: 1px solid var(--hm-border); }
.hm-training__card:nth-child(-n + 2) { border-bottom: 1px solid var(--hm-border); }
.hm-training__card h3 {
  font-size: 17px;
  color: var(--hm-navy-ink);
  margin: 0 0 8px;
}
.hm-training__time {
  font-size: 14px;
  font-weight: 700;
  color: var(--hm-orange-ink);
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.hm-training__card ul { display: grid; gap: 10px; }
.hm-training__card li {
  list-style: none;
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--hm-text-lead);
}
.hm-training__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 7px;
  height: 1px;
  background: var(--hm-text-3);
}

/* ---------- 比較表 ---------- */

.hm-vs { margin-top: clamp(44px, 5vw, 72px); }
.hm-vs__title {
  font-size: clamp(18px, 1.7vw, 23px);
  color: var(--hm-navy-ink);
  margin: 0 0 22px;
}
.hm-vs__wrap { overflow-x: auto; }
.hm-vs__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  overflow: hidden;
  font-size: 14px;
}
.hm-vs__table th, .hm-vs__table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hm-border);
  line-height: 1.8;
}
.hm-vs__table thead th {
  background: var(--hm-navy-ink);
  color: var(--hm-on-dark);
  font-size: 13.5px;
}
.hm-vs__table thead th:last-child {
  background: var(--hm-orange);
}
.hm-vs__table tbody th {
  font-weight: 700;
  color: var(--hm-navy-ink);
  white-space: nowrap;
}
.hm-vs__table tbody td { color: var(--hm-gray-body); }
.hm-vs__table tbody td:last-child {
  color: var(--hm-navy-ink);
  font-weight: 600;
  background: #fff7ef;
}
.hm-vs__table tbody tr:last-child th,
.hm-vs__table tbody tr:last-child td { border-bottom: none; }

/* 列見出しの実テキスト。PC では表の thead が担うので隠す */
.hm-vs__label { display: none; }

/* SP は横スクロールに頼らず 1行=1カードへ組み替える。
   min-width: 640px のままだと最重要の「当サービス」列が画面外に出て読めない。
   display:block で落ちる表意味論は HTML 側の role= と .hm-vs__label が補う */
@media (max-width: 767px) {
  .hm-vs__wrap { overflow-x: visible; }
  .hm-vs__table,
  .hm-vs__table thead,
  .hm-vs__table tbody,
  .hm-vs__table tr,
  .hm-vs__table th,
  .hm-vs__table td { display: block; }
  .hm-vs__table {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .hm-vs__table thead { display: none; }
  .hm-vs__table tbody tr {
    margin-bottom: 14px;
    background: var(--hm-white);
    border: 1px solid var(--hm-border);
    border-radius: 14px;
    overflow: hidden;
  }
  .hm-vs__table tbody tr:last-child { margin-bottom: 0; }
  .hm-vs__table tbody th {
    padding: 13px 16px;
    background: var(--hm-navy-ink);
    color: var(--hm-on-dark);
    white-space: normal;
    border-bottom: 0;
  }
  .hm-vs__table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--hm-border);
  }
  .hm-vs__table tbody tr td:last-child { border-bottom: 0; }
  .hm-vs__table tbody td .hm-vs__label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hm-text-3);
  }
  /* 「当サービス」側は PC と同じく淡いオレンジで強調する */
  .hm-vs__table tbody td:last-child .hm-vs__label { color: var(--hm-orange-ink); }
}

/* ---------- FAQ ダイジェスト ---------- */

.hm-faq {
  background: var(--hm-white);
  padding: clamp(56px, 7vw, 120px) 0;
}
.hm-faq__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.hm-faq__item {
  background: var(--hm-soft);
  border: 1px solid var(--hm-border);
  border-left: 4px solid var(--hm-orange);
  border-radius: 14px;
  padding: clamp(20px, 2.2vw, 30px);
}
.hm-faq__item h3 {
  font-size: 15.5px;
  color: var(--hm-navy-ink);
  margin: 0 0 10px;
}
.hm-faq__item p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--hm-gray-body);
  margin: 0;
}
.hm-faq__item a { color: var(--hm-orange-ink); font-weight: 600; }
.hm-faq__more { text-align: center; margin: 0; }
.hm-faq__more .hm-btn {
  min-height: 52px;
  padding: 8px 24px;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- モバイル追従 CTA ---------- */

.hm-stickycta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hm-border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px -12px rgba(4, 29, 64, 0.25);
}
.hm-stickycta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}
.hm-stickycta__doc {
  color: var(--hm-orange-ink);
  border: 2px solid var(--hm-orange);
  background: var(--hm-white);
}
.hm-stickycta__main {
  color: var(--hm-on-dark);
  background: var(--hm-orange);
}

/* ---------- 追加セクションのレスポンシブ ---------- */

@media (max-width: 1100px) {
  .hm-product__grid { grid-template-columns: 1fr; }
  .hm-product__figure { order: -1; }
  .hm-why__grid { grid-template-columns: 1fr; }
  .hm-offer__deliverables { grid-template-columns: 1fr; }
  .hm-training__grid { grid-template-columns: repeat(2, 1fr); }
  .hm-faq__list { grid-template-columns: 1fr; }
  .hm-subsidy__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .hm-stickycta { display: flex; }
  body.is-nav-open .hm-stickycta { display: none; }
  body.is-mobile-floating-ui-hidden :is(.hm-ai-entry, .hm-ai-fab, .hm-stickycta) { display: none; }
  /* 追従バーにフッターが隠れないよう余白を確保 */
  .hm-footer { padding-bottom: 76px; }
  .hm-training__grid { grid-template-columns: 1fr; }
  .hm-training__card { padding: 24px 0; }
  .hm-training__card:nth-child(odd) { border-right: 0; }
  .hm-training__card:nth-child(-n + 2) { border-bottom: 0; }
  .hm-training__card:not(:last-child) { border-bottom: 1px solid var(--hm-border); }
  .hm-hero__offer-note { font-size: 12.5px; }
}

@media (max-width: 560px) {
  .hm-offer__actions .hm-btn {
    width: 100%;
    padding-inline: 16px;
  }
}

@media (max-width: 400px) {
  .hm-offer__panel { padding: 28px 20px; }
  .hm-offer__actions .hm-btn {
    padding-inline: 12px;
    font-size: 14.5px;
    gap: 8px;
  }
}

/* ============================================================
   2026-08 visual refinement
   ------------------------------------------------------------
   参照画像の「明るい面・細い罫線・控えめなオレンジ」を基準に、
   トップ後半の主要セクションを同じ視覚言語へ揃える。
   ============================================================ */

/* 部門別ユースケース */
.hm-usecases-sec {
  padding-block: clamp(72px, 7vw, 112px);
}
.hm-usecases-sec .hm-h2 {
  margin-bottom: clamp(36px, 4vw, 60px);
}
.hm-context-cta {
  display: flex;
  justify-content: center;
  padding: clamp(28px, 3vw, 44px) 20px 0;
}
.hm-context-cta .hm-btn {
  min-height: 52px;
  padding-inline: 28px;
}
.hm-uc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 28px);
}
.hm-uc-card {
  padding: 16px 18px 26px;
  border-radius: 14px;
  box-shadow: 0 14px 34px -28px rgba(2, 19, 44, 0.34);
}
.hm-uc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px -28px rgba(2, 19, 44, 0.4);
}
.hm-uc-card__icon {
  top: 16px;
  left: 16px;
  width: 58px;
  height: 58px;
  border: 4px solid var(--hm-white);
  box-shadow: 0 8px 18px rgba(249, 92, 0, 0.24);
}
.hm-uc-card__icon svg {
  width: 27px;
  height: 27px;
}
.hm-uc-card__photo {
  border-radius: 9px;
  background: var(--hm-soft);
}
.hm-uc-card__photo img {
  display: block;
  transition: transform 0.35s var(--hm-ease);
}
.hm-uc-card:hover .hm-uc-card__photo img {
  transform: scale(1.018);
}
.hm-uc-card__title {
  margin: 24px 2px 0;
  font-size: clamp(19px, 1.4vw, 23px);
}
.hm-uc-card__list {
  margin-top: 20px;
  gap: 13px;
}
.hm-uc-card__list li {
  font-size: clamp(13px, 0.95vw, 14.5px);
  line-height: 1.7;
}
.hm-uc-card__check {
  width: 18px;
  height: 18px;
}
.hm-uc-card__link {
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--hm-orange-line);
}

/* 無料業務診断 */
.hm-offer {
  background: var(--hm-soft);
  padding-block: clamp(64px, 7vw, 108px);
}
.hm-offer::before {
  background:
    radial-gradient(circle at 100% 0, var(--hm-orange-soft), transparent 36%),
    radial-gradient(circle at 0 100%, var(--hm-hero-sky), transparent 34%);
  opacity: 0.82;
}
.hm-offer__panel {
  overflow: hidden;
  background: var(--hm-white);
  border-color: var(--hm-border);
  border-radius: 16px;
  padding: clamp(32px, 4vw, 58px);
  box-shadow: 0 24px 64px -46px rgba(2, 19, 44, 0.48);
  backdrop-filter: none;
}
.hm-offer__panel::after {
  content: none;
}
.hm-offer__badge {
  margin-bottom: 18px;
  background: #c2410c;
  border-radius: 6px;
}
.hm-offer__title {
  max-width: 22em;
  color: var(--hm-navy-ink);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.45;
}
.hm-offer__lead {
  max-width: none;
  color: var(--hm-text-2);
}
.hm-offer__lead strong {
  color: var(--hm-orange-ink);
}
.hm-offer__deliverables {
  gap: 12px;
  margin-bottom: 32px;
}
.hm-offer__deliverables li {
  background: var(--hm-soft);
  border-color: var(--hm-border);
  border-radius: 10px;
  color: var(--hm-text-2);
}
.hm-offer__deliverables strong {
  color: var(--hm-navy-ink);
}
.hm-offer__del-ico {
  background: var(--hm-orange-soft);
  color: var(--hm-orange-ink);
}
.hm-offer__note {
  color: var(--hm-text-3);
}
.hm-offer__actions .hm-btn--primary,
.hm-plans__table .hm-btn--primary,
.hm-plan__badge {
  background: #c2410c;
}
.hm-offer__actions .hm-btn--primary:hover,
.hm-plans__table .hm-btn--primary:hover {
  background: #9a3412;
}

/* 支援内容。6件を一度に比較できる静的グリッドにする */
.hm-support-sec {
  padding-block: clamp(72px, 7vw, 112px);
}
.hm-support-sec .hm-h2 {
  margin-bottom: clamp(32px, 3vw, 44px);
}
.hm-sv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
  perspective: none;
}
.hm-sv-grid > .hm-sv-card,
.hm-rs-grid > .hm-sv-card {
  position: relative;
  isolation: auto;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  min-width: 0;
  padding: 28px;
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  box-shadow: 0 14px 32px -28px rgba(2, 19, 44, 0.34);
  color: var(--hm-navy-ink);
  scroll-snap-align: none;
}
.hm-sv-grid > .hm-sv-card::before {
  content: none;
}
.hm-sv-grid > .hm-sv-card:hover,
.hm-sv-grid > .hm-sv-card:focus-within,
.hm-rs-grid > .hm-sv-card:hover,
.hm-rs-grid > .hm-sv-card:focus-within {
  border-color: var(--hm-orange-line);
  box-shadow: 0 20px 40px -28px rgba(2, 19, 44, 0.42);
}
.hm-sv-grid .hm-sv-card__icon,
.hm-rs-grid .hm-sv-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--hm-orange-line);
  border-radius: 14px;
  background: var(--hm-orange-soft);
  box-shadow: none;
  color: var(--hm-navy-ink);
  transform: none;
}
.hm-sv-grid .hm-sv-card__icon::before {
  content: none;
}
.hm-sv-grid .hm-sv-card__icon svg,
.hm-rs-grid .hm-sv-card__icon svg {
  width: 42px;
  height: 42px;
  filter: none;
  transform: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hm-sv-grid > .hm-sv-card:hover .hm-sv-card__icon,
  .hm-sv-grid > .hm-sv-card:focus-within .hm-sv-card__icon,
  .hm-sv-grid > .hm-sv-card:hover .hm-sv-card__icon svg,
  .hm-sv-grid > .hm-sv-card:focus-within .hm-sv-card__icon svg {
    transform: none;
  }
}
.hm-sv-grid .hm-sv-card__icon svg [stroke="#16181c"] {
  stroke: var(--hm-navy-ink);
}
.hm-sv-grid .hm-sv-card__icon svg [fill="#16181c"] {
  fill: var(--hm-navy-ink);
}
.hm-sv-grid .hm-sv-card__title,
.hm-rs-grid .hm-sv-card__title {
  color: var(--hm-navy-ink);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.45;
  text-shadow: none;
}
.hm-sv-grid .hm-sv-card__text,
.hm-rs-grid .hm-sv-card__text {
  margin-top: 8px;
  color: var(--hm-text-2);
  font-size: 14px;
  line-height: 1.85;
}
.hm-sv-grid .hm-sv-card .hm-term {
  color: var(--hm-orange-ink);
  text-decoration-color: var(--hm-orange-line);
}
.hm-deliv {
  margin-top: 28px;
  border-radius: 14px;
  box-shadow: 0 14px 32px -30px rgba(2, 19, 44, 0.32);
}
.hm-deliv__list li {
  border-radius: 6px;
}
.hm-rs-grid {
  gap: 18px;
}
.hm-rs-grid .hm-sv-card {
  padding: 28px;
}

/* 料金・比較・研修を同じ細い罫線の視覚言語へ揃える */
.hm-vs__table thead th:last-child {
  background: var(--hm-navy-ink);
}
.hm-training__grid {
  gap: 14px;
  border-block: 0;
}
.hm-training__card,
.hm-training__card:nth-child(odd),
.hm-training__card:nth-child(-n + 2),
.hm-training__card:not(:last-child) {
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 4px;
}

/* 工程カード内では用語リンクも本文と同じ質感にする */
.hm-pr-step__text .hm-term {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

/* 導入プロセス */
.hm-process-sec {
  padding-block: clamp(72px, 7vw, 112px);
}
.hm-process-sec .hm-h2 {
  margin-bottom: clamp(48px, 5vw, 72px);
}
.hm-pr-wrap {
  width: min(1420px, calc(100% - 72px));
}
.hm-pr-grid {
  gap: clamp(22px, 2vw, 32px);
}
.hm-pr-step {
  min-width: 0;
  padding: 54px 20px 28px;
  border-radius: 14px;
  box-shadow: 0 14px 34px -30px rgba(2, 19, 44, 0.34);
}
.hm-pr-step__num {
  top: -20px;
  left: 18px;
  width: 52px;
  height: 52px;
  font-size: 18px;
  border-width: 1px;
}
.hm-pr-step__icon {
  margin-bottom: 22px;
}
.hm-pr-step__icon svg {
  width: 64px;
  height: 64px;
}
.hm-pr-step__title {
  font-size: clamp(15px, 1vw, 17px);
  white-space: normal;
}
.hm-pr-step__text {
  margin-top: 16px;
  font-size: clamp(13px, 0.92vw, 14.5px);
  line-height: 1.8;
}
.hm-pr-step:not(:last-child)::after {
  top: 82px;
  right: calc(-1 * clamp(22px, 2vw, 32px));
  width: calc(clamp(22px, 2vw, 32px) - 9px);
}
.hm-pr-step:not(:last-child)::before {
  top: 78px;
  right: calc(-1 * clamp(22px, 2vw, 32px) + 3px);
}

.hm-faq .hm-kicker {
  text-align: center;
}

/* FAQダイジェスト */
.hm-faq {
  padding-block: clamp(72px, 7vw, 108px);
}
.hm-faq__list {
  display: block;
  overflow: visible;
  margin-bottom: 34px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hm-border);
  border-radius: 0;
  box-shadow: none;
}
.hm-faq__item {
  position: relative;
  min-height: 0;
  padding: 28px 0 28px 48px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hm-border);
  border-radius: 0;
}
.hm-faq__item + .hm-faq__item {
  border-top: 0;
}
.hm-faq__item::before {
  content: "Q";
  position: absolute;
  top: 28px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--hm-orange-line);
  color: var(--hm-orange-ink);
  font: 700 15px/1 var(--hm-latin);
}
.hm-faq__item h3 {
  font-size: clamp(16px, 1.3vw, 18px);
}
.hm-faq__item p {
  max-width: 64em;
  font-size: 14px;
}

/* 構成サービス帯 */
.hm-logos {
  border-top: 1px solid var(--hm-border);
  padding-block: clamp(42px, 4vw, 62px);
}
.hm-logos__title {
  margin-bottom: clamp(24px, 2.4vw, 36px);
  color: var(--hm-navy-ink);
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: 0.04em;
}
.hm-logos__viewport {
  -webkit-mask-image: none;
  mask-image: none;
}
.hm-logos__track {
  display: block;
  width: min(var(--hm-narrow), calc(100% - 40px));
  margin-inline: auto;
  animation: none;
}
.hm-logos__set {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-block: 1px solid var(--hm-border);
}
.hm-logos__set + .hm-logos__set {
  display: none;
}
.hm-logo-card {
  overflow: visible;
  min-width: 0;
  min-height: 104px;
  padding: 20px 16px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--hm-border);
  border-radius: 0;
  box-shadow: none;
}
.hm-logo-card:last-child {
  border-right: 0;
}
.hm-logo-card::before {
  display: none;
}
.hm-logo-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 24px;
  height: 3px;
  background: var(--hm-orange);
}
.hm-logo-card__name {
  font-size: 15px;
  white-space: normal;
}
.hm-logo-card__role {
  white-space: normal;
}

@media (min-width: 1520px) {
  .hm-uc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
  }
  .hm-uc-card {
    padding-inline: 16px;
  }
}

@media (max-width: 1100px) {
  .hm-uc-grid,
  .hm-sv-grid,
  .hm-rs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-pr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px 28px;
  }
  .hm-pr-step:nth-child(3n)::after,
  .hm-pr-step:nth-child(3n)::before {
    display: none;
  }
  .hm-logos__set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-logo-card {
    min-height: 88px;
    border-bottom: 1px solid var(--hm-border);
  }
  .hm-logo-card:nth-child(2n),
  .hm-logo-card:last-child {
    border-right: 0;
  }
  .hm-logo-card:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .hm-logo-card:last-child .hm-logo-card__body {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: baseline;
  }
  .hm-logo-card:last-child .hm-logo-card__role {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .hm-usecases-sec,
  .hm-support-sec,
  .hm-process-sec,
  .hm-faq {
    padding-block: 64px;
  }
  .hm-offer .hm-container--narrow {
    width: calc(100% - 32px);
  }
  .hm-offer__panel {
    padding: 28px 20px;
  }
  .hm-offer__actions .hm-btn {
    padding-inline: 16px;
  }
  .hm-uc-grid,
  .hm-sv-grid,
  .hm-rs-grid {
    grid-template-columns: 1fr;
  }
  .hm-uc-card {
    padding: 14px 14px 24px;
  }
  .hm-uc-card__icon {
    top: 14px;
    left: 14px;
    width: 54px;
    height: 54px;
  }
  .hm-uc-card__title {
    margin-top: 22px;
  }
  .hm-sv-grid > .hm-sv-card,
  .hm-rs-grid > .hm-sv-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
  }
  .hm-sv-grid .hm-sv-card__icon,
  .hm-rs-grid .hm-sv-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  .hm-sv-grid .hm-sv-card__icon svg,
  .hm-rs-grid .hm-sv-card__icon svg {
    width: 34px;
    height: 34px;
  }
  .hm-pr-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hm-pr-step:nth-child(3n)::after,
  .hm-pr-step:nth-child(3n)::before {
    display: block;
  }
  .hm-pr-step:last-child::after,
  .hm-pr-step:last-child::before {
    display: none;
  }
  .hm-pr-step {
    padding: 52px 22px 28px;
  }
  .hm-pr-step:not(:last-child)::after {
    top: auto;
    bottom: -30px;
    right: auto;
    left: 50%;
    width: 0;
    height: 18px;
    border-top: 0;
    border-left: 2px dotted var(--hm-pr-dot);
    transform: translateX(-50%);
  }
  .hm-pr-step:not(:last-child)::before {
    top: auto;
    bottom: -36px;
    right: auto;
    left: 50%;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--hm-pr-ink);
    border-bottom: 0;
    transform: translateX(-50%);
  }
  .hm-faq__item {
    padding: 24px 0 24px 42px;
  }
  .hm-faq__item::before {
    top: 24px;
    left: 0;
    width: 28px;
    height: 28px;
  }
  .hm-faq__item p {
    line-height: 1.8;
  }
  .hm-logos__set {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .hm-logo-card {
    min-height: 0;
    padding: 17px 0 17px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--hm-border);
  }
  .hm-logo-card:last-child {
    grid-column: auto;
    border-bottom: 1px solid var(--hm-border);
  }
  .hm-logo-card::after {
    inset: 50% auto auto 0;
    width: 3px;
    height: 24px;
    transform: translateY(-50%);
  }
  .hm-logo-card__body {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: baseline;
  }
  .hm-logo-card__role {
    white-space: normal;
    text-align: right;
  }
  .hm-training__card,
  .hm-training__card:nth-child(odd),
  .hm-training__card:nth-child(-n + 2),
  .hm-training__card:not(:last-child) {
    padding: 24px 20px;
    border: 1px solid var(--hm-border);
  }
}

/* ============================================================
   Cloudflare 利用企業（実測ベース）— hm-adopters
   こちらは利用企業ロゴ専用の無限ループ方式。
   同一セットを2組並べ track を translateX(-50%)。
   各セットの padding-right を消すと折り返しでガタつくので残すこと。
   ロゴは各社の商標。Cloudflare OS の導入企業ではない旨を __note で必ず明示する
   ============================================================ */

.hm-adopters {
  --hm-adopter-gap: clamp(12px, 1.1vw, 18px);
  background: var(--hm-soft);
  padding: clamp(56px, 6vw, 92px) 0;
  overflow: hidden;
}

.hm-adopters__inner { max-width: var(--hm-narrow); margin: 0 auto; }

.hm-adopters__eyebrow,
.hm-adopters__title,
.hm-adopters__note { padding-inline: 20px; text-align: center; }

.hm-adopters__eyebrow {
  font-family: var(--hm-latin);
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--hm-orange-ink); margin: 0 0 12px;
}

.hm-adopters__title {
  font-size: clamp(22px, 2.4vw, 34px); line-height: 1.45;
  color: var(--hm-text);
  margin: 0 0 clamp(28px, 3.4vw, 44px);
}

.hm-adopters__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.hm-adopters__track {
  display: flex;
  width: max-content;
  animation: hm-marquee 64s linear infinite;
}

.hm-adopters__viewport:hover .hm-adopters__track,
.hm-adopters__viewport:focus-within .hm-adopters__track {
  animation-play-state: paused;
}

.hm-adopters__set {
  display: flex;
  align-items: stretch;
  gap: var(--hm-adopter-gap);
  /* この padding でセット幅が両組で厳密に一致し -50% がちょうど1セット分になる */
  padding: 0 var(--hm-adopter-gap) 0 0;
  margin: 0;
  list-style: none;
}

.hm-adopters__item {
  flex: none;
  width: clamp(150px, 12vw, 186px);
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 16px 20px;
  background: var(--hm-white);
  border: 1px solid var(--hm-border);
  border-radius: 10px;
}

.hm-adopters__item img {
  width: auto; height: auto;
  /* ロゴに filter や着色を掛けない（改変にあたる。商標上の理由）。
     max-width に 100% を挟まないとカードの内容幅（SP で約105px）を超えて
     ロゴが枠外へ出る。px だけの上限にしないこと */
  max-width: min(150px, 100%); max-height: 44px;
  object-fit: contain;
}

.hm-adopters__note {
  font-size: 12.5px; line-height: 1.85;
  color: var(--hm-text-3); max-width: 880px;
  margin: clamp(26px, 3.2vw, 40px) auto 0;
}

.hm-adopters__note strong { color: var(--hm-text-2); }

@media (max-width: 900px) {
  .hm-adopters__track { animation-duration: 42s; }
  .hm-adopters__item { width: clamp(126px, 34vw, 150px); min-height: 72px; padding: 12px 14px; }
  .hm-adopters__item img { max-height: 30px; }
}

/* ============================================================
   トップ入口動画 — クリック後に音あり再生
   ============================================================ */

body.is-intro-open {
  overflow: hidden;
  touch-action: none;
}

.hm-intro[hidden] {
  display: none;
}

.hm-intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--hm-navy-deep);
  color: var(--hm-on-dark);
  opacity: 1;
  transition: opacity 1s var(--hm-ease);
}

.hm-intro:focus {
  outline: none;
}

.hm-intro__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--hm-navy-deep);
  transform: scale(1);
  transition: transform 1s var(--hm-ease);
}

.hm-intro__brand {
  --intro-brand-opacity: 0;
  --intro-brand-scale: 0.72;
  --intro-brand-y: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(180px, 19vw, 300px);
  opacity: var(--intro-brand-opacity);
  transform: translate(-50%, calc(-50% + var(--intro-brand-y))) scale(var(--intro-brand-scale));
  transform-origin: center;
  will-change: opacity, transform;
  pointer-events: none;
  transition: opacity 1s var(--hm-ease), transform 1s var(--hm-ease);
}

.hm-intro__brand img {
  display: block;
  width: 100%;
  filter: brightness(0) invert(1);
}

.hm-intro__actions {
  position: absolute;
  left: 50%;
  bottom: clamp(34px, 7vh, 72px);
  transform: translateX(-50%);
}

.hm-intro__play {
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  color: var(--hm-on-dark);
  font-size: 14px;
  text-shadow: 0 1px 8px rgba(1, 22, 62, 0.8);
}

.hm-intro__play:hover {
  color: var(--hm-orange);
  transform: none;
}

.hm-intro__skip {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 40px);
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--hm-on-dark-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.hm-intro__skip:hover {
  color: var(--hm-on-dark);
}

.hm-intro.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.hm-intro.is-leaving .hm-intro__video {
  transform: scale(1.1);
}

.hm-intro.is-leaving .hm-intro__brand {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.14);
}

/* 右下の「AIに相談」（.hm-ai-fab / .hm-ai-entry）は body 直下に置いてある。
   main の中に入れると、この transform が position: fixed の基準になって右下に留まらない */
body.is-intro-open > .hm-header,
body.is-intro-open > main,
body.is-intro-open > footer,
body.is-intro-open > .hm-stickycta,
body.is-intro-open > .hm-ai-fab {
  opacity: 0.72;
  transform: scale(0.985);
  transform-origin: center top;
  transition: opacity 1s var(--hm-ease), transform 1s var(--hm-ease);
}

body.is-intro-open.is-intro-leaving > .hm-header,
body.is-intro-open.is-intro-leaving > main,
body.is-intro-open.is-intro-leaving > footer,
body.is-intro-open.is-intro-leaving > .hm-stickycta,
body.is-intro-open.is-intro-leaving > .hm-ai-fab {
  opacity: 1;
  transform: none;
}

@media (max-width: 560px) {
  .hm-intro__actions {
    bottom: 72px;
  }

  .hm-intro__play {
    min-height: 44px;
    font-size: 14px;
  }
}

/* ============================================================
   reduced motion / print
   ------------------------------------------------------------
   すべての animation / transition 指定より後ろ（ファイル末尾）に置くことで
   !important なしで上書きする。アニメーション付きのセクションを追加したら
   必ずこのブロックより前に書くこと。後から読み込まれる hero-3d.css には
   この後勝ちは届かないので、あちらは自前の reduced-motion 指定を持つ。
   詳細度が上がる .is-visible 系のアニメ起動セレクタは、同じセレクタを
   ここに並べて打ち消す。
   ============================================================ */

/* Reading-first layouts for workflow, support and rollout. */
.hm-department-photo-note { margin: 16px 0 0; color: var(--hm-text-2); text-align: right; font-size: 12px; line-height: 1.7; }
.hm-architecture__heading .hm-kicker { text-align: left; }
.hm-workflow { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; margin: 32px 0 20px; }
.hm-workflow .hm-uc-tabs { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0; margin: 0; border-left: 1px solid var(--hm-border); }
.hm-workflow .hm-uc-tab { justify-content: flex-start; min-height: 54px; padding: 14px 20px; border: 0; border-left: 3px solid transparent; border-radius: 0; background: transparent; text-align: left; }
.hm-workflow .hm-uc-tab.is-active { border-color: var(--hm-orange); color: var(--hm-navy-ink); background: var(--hm-orange-soft); font-weight: 800; }
.hm-workflow .hm-uc-stories { min-width: 0; margin: 0; }
.hm-workflow .hm-uc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; perspective: none; border: 1px solid var(--hm-border); border-radius: 8px; overflow: hidden; }
.hm-workflow .hm-uc-step { display: flex; flex-direction: column; padding: 28px 24px; border: 0; border-right: 1px solid var(--hm-border); border-radius: 0; box-shadow: none; transform: none; background: #fff; }
.hm-workflow .hm-uc-step:last-child { border-right: 0; }
.hm-workflow .hm-uc-step--make { background: var(--hm-navy-ink); }
.hm-workflow .hm-uc-step__eyebrow { margin-bottom: 18px; font-size: 12px; color: var(--hm-orange-ink); letter-spacing: 0.06em; }
.hm-workflow .hm-uc-step__title { min-height: 3em; margin-bottom: 20px; font-size: 18px; line-height: 1.5; text-wrap: balance; }
.hm-workflow .hm-uc-step__visual { min-height: 76px; padding: 16px 0; margin: 0 0 20px; border: 0; border-block: 1px solid var(--hm-border); border-radius: 0; background: transparent; }
.hm-workflow .hm-uc-step__core { width: 38px; height: 38px; border: 1px solid #6b7c93; border-radius: 6px; background: transparent; box-shadow: none; font-size: 14px; }
.hm-workflow .hm-uc-step__desc { flex: 1; font-size: 14px; line-height: 1.85; }
.hm-workflow .hm-uc-step__foot { margin-top: 24px; padding: 0; border-radius: 0; background: transparent; text-align: left; font-size: 12px; color: var(--hm-text-2); }
.hm-workflow .hm-uc-step__foot::before { content: "✓"; margin-right: 8px; color: var(--hm-orange-ink); }
.hm-workflow .hm-uc-step--make .hm-uc-step__title,
.hm-workflow .hm-uc-step--make .hm-uc-step__visual-label { color: #fff; }
.hm-workflow .hm-uc-step--make .hm-uc-step__eyebrow { color: #ffa66f; }
.hm-workflow .hm-uc-step--make .hm-uc-step__visual { border-color: #435166; }
.hm-workflow .hm-uc-step--make .hm-uc-step__desc,
.hm-workflow .hm-uc-step--make .hm-uc-step__foot { color: #c4d0df; }
.hm-workflow .hm-uc-connector { display: none; }
.hm-js .hm-workflow .hm-uc-story [data-at] { opacity: 1; transform: none; transition: none; }
.hm-uc-cardset .hm-uc-pats { grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: pattern; gap: 0 40px; }
.hm-uc-cardset .hm-uc-pat { counter-increment: pattern; padding: 28px 0; border: 0; border-bottom: 1px solid var(--hm-border); border-radius: 0; background: transparent; transform: none; }
.hm-uc-cardset .hm-uc-pat::after { content: none; }
.hm-uc-cardset .hm-uc-pat__meta { padding-right: 0; align-items: center; }
.hm-uc-cardset .hm-uc-pat__meta::before { content: counter(pattern, decimal-leading-zero); margin-right: 8px; color: var(--hm-orange-ink); font: 500 13px var(--hm-latin); }
.hm-uc-cardset .hm-uc-pat__meta span { border: 0; background: transparent; padding: 0 8px 0 0; border-radius: 0; font-size: 12px; }
.hm-uc-cardset .hm-uc-pat__meta span + span { border-left: 1px solid var(--hm-border); padding-left: 10px; color: var(--hm-text-2); font-weight: 400; }
.hm-uc-cardset .hm-uc-pat__title { font-size: 18px; line-height: 1.6; }
.hm-uc-cardset .hm-uc-pat__list { border-top: 0; padding-top: 0; }
.hm-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.hm-service-item { display: grid; grid-template-columns: 32px 40px minmax(0, 1fr); align-items: start; gap: 18px; padding: 32px 0; border-top: 1px solid var(--hm-border); }
.hm-service-item__number { padding-top: 6px; color: var(--hm-orange-ink); font: 500 13px var(--hm-latin); }
.hm-service-item__icon { display: block; color: var(--hm-navy-ink); }
.hm-service-item__icon svg { display: block; width: 40px; height: 40px; }
.hm-service-item__title { margin: 0 0 12px; font-size: 20px; line-height: 1.5; color: var(--hm-navy-ink); }
.hm-service-item__text { margin: 0; font-size: 14px; line-height: 1.9; color: var(--hm-text-2); }
.hm-rollout__heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.hm-rollout__heading .hm-kicker { text-align: left; margin-bottom: 12px; font-size: 11px; letter-spacing: 0.16em; }
.hm-rollout__heading .hm-h2 { margin: 0; text-align: left; }
.hm-rollout__heading > p { margin: 0; color: var(--hm-text-2); font-size: 15px; line-height: 1.9; }
.hm-rollout__steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hm-border); }
.hm-rollout__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px; gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--hm-border); }
.hm-rollout__number { color: var(--hm-orange-ink); font: 500 28px/1.4 var(--hm-latin); letter-spacing: -0.04em; }
.hm-rollout__item h3 { margin: 0 0 10px; color: var(--hm-navy-ink); font-size: 20px; line-height: 1.5; }
.hm-rollout__item p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--hm-text-2); }
.hm-rollout__item .hm-rollout__checkpoint { padding: 4px 0 4px 24px; border-left: 2px solid var(--hm-border); color: var(--hm-navy-ink); font-weight: 600; }
.hm-rollout__checkpoint span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 400; letter-spacing: 0.06em; color: var(--hm-text-2); }
@media (max-width: 1100px) {
  .hm-workflow { grid-template-columns: 1fr; gap: 20px; }
  .hm-workflow .hm-uc-tabs { flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--hm-border); }
  .hm-workflow .hm-uc-tab { border-left: 0; border-bottom: 3px solid transparent; padding: 12px 16px; }
  .hm-service-list { gap: 0 28px; }
  .hm-service-item { grid-template-columns: 28px minmax(0, 1fr); gap: 16px; }
  .hm-service-item__icon { display: none; }
  .hm-rollout__item { grid-template-columns: 48px minmax(0, 1fr) 170px; gap: 24px; }
}
@media (max-width: 767px) {
  .hm-workflow .hm-uc-steps { grid-template-columns: 1fr; }
  .hm-workflow .hm-uc-step { padding: 26px 22px; border-right: 0; border-bottom: 1px solid var(--hm-border); }
  .hm-workflow .hm-uc-step:last-child { border-bottom: 0; }
  .hm-workflow .hm-uc-step__title { min-height: 0; }
  .hm-uc-cardset .hm-uc-pats { grid-template-columns: 1fr; }
  .hm-service-list { grid-template-columns: 1fr; }
  .hm-service-item { padding: 26px 0; }
  .hm-service-item__title { font-size: 18px; }
  .hm-rollout__heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .hm-rollout__item { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 26px 0; }
  .hm-rollout__number { font-size: 24px; }
  .hm-rollout__item h3 { font-size: 18px; }
  .hm-rollout__item .hm-rollout__checkpoint { grid-column: 2; padding-left: 14px; margin-top: 8px; }
}

/* Closing invitation, retaining the original globe photograph. */
.hm-b-final .hm-finalcta__inner { width: min(1240px, calc(100% - 112px)); grid-template-columns: minmax(0, 1fr) minmax(290px, 350px) 150px; gap: 42px; padding-block: 74px; }
.hm-b-final .hm-finalcta__eyebrow { margin-bottom: 22px; font-size: 12px; color: var(--hm-on-dark-2); }
.hm-b-final .hm-finalcta__title { font-size: clamp(29px, 2.8vw, 41px); line-height: 1.55; letter-spacing: -.04em; }
.hm-b-final .hm-finalcta__lead { margin-top: 24px; font-size: 13px; line-height: 2; }
.hm-b-final .hm-finalcta__actions .hm-btn { min-height: 58px; font-size: 14px; }
.hm-b-final .hm-finalcta__actions .hm-btn--primary { color: var(--hm-navy-ink); }
@media (max-width: 1100px) {
  .hm-b-final .hm-finalcta__inner { width: calc(100% - 72px); grid-template-columns: minmax(0, 1fr) minmax(265px, 320px); }
}
@media (max-width: 767px) {
  .hm-b-final .hm-finalcta__inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 30px; padding-block: 58px; }
}

/* Business sections: editorial typography, useful diagrams and a clear first step. */
.hm-business {
  --hm-business-ink: #101c30;
  --hm-business-soft: #f4f6f9;
  --hm-business-muted: #b3bed0;
  --hm-business-line: #dce2ea;
  --hm-business-dark-line: #334055;
  --hm-business-accent: #ffb58a;
  --hm-business-panel: #172438;
  --hm-business-warm: #fff4ed;
  --hm-business-shadow: rgba(16, 28, 48, .1);
  color: var(--hm-business-ink);
  background: var(--hm-white);
}
.hm-business .hm-b-container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.hm-business .hm-b-section { padding: 120px 0; }
.hm-business h2 { font-size: clamp(34px, 3.7vw, 52px); font-weight: 700; letter-spacing: -.055em; line-height: 1.45; text-wrap: initial; }
.hm-business h3 { letter-spacing: -.035em; }
.hm-business .hm-b-label { display: flex; align-items: center; gap: 11px; margin: 0 0 30px; color: var(--hm-orange-ink); font: 600 11px/1.5 var(--hm-latin); letter-spacing: .14em; }
.hm-business .hm-b-label::before { content: ''; width: 6px; height: 6px; background: currentColor; flex-shrink: 0; }
.hm-business .hm-b-heading { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.hm-business .hm-b-heading > p { padding-bottom: 8px; color: var(--hm-text-2); font-size: 15px; line-height: 2; }
.hm-business .hm-b-number { font: 400 22px/1.5 var(--hm-latin); letter-spacing: -.04em; }
.hm-business .hm-b-button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 15px 26px; border: 1px solid var(--hm-orange); border-radius: 5px; background: var(--hm-orange); color: var(--hm-business-ink); font-size: 15px; font-weight: 700; line-height: 1.7; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.hm-business .hm-b-button:hover { background: var(--hm-business-accent); border-color: var(--hm-business-accent); transform: translateY(-2px); }
.hm-business .hm-b-button--secondary { background: var(--hm-white); border-color: var(--hm-business-line); color: var(--hm-business-ink); }
.hm-business .hm-b-button--secondary:hover { border-color: var(--hm-business-ink); background: var(--hm-business-soft); }
.hm-business :is(a, button, summary):focus-visible { outline: 3px solid var(--hm-orange); outline-offset: 5px; }
.hm-business .hm-b-textlink { display: inline-flex; align-items: center; gap: 28px; padding-block: 14px; min-height: 48px; border-bottom: 1px solid var(--hm-business-line); font-size: 14px; font-weight: 600; }

/* Three structural barriers, each with its own simple visual explanation. */
.hm-business .hm-b-why { padding: 108px 0 0; background: var(--hm-business-ink); color: var(--hm-white); }
.hm-business .hm-b-why .hm-b-label { color: var(--hm-business-accent); }
.hm-business .hm-b-why__layout { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 50px; margin: 0 0 66px; }
.hm-business .hm-b-why__layout h2 { font-size: clamp(37px, 4.2vw, 60px); line-height: 1.42; letter-spacing: -.06em; }
.hm-business .hm-b-why__layout h2 span { color: var(--hm-business-accent); }
.hm-business .hm-b-why__intro > p { color: var(--hm-business-muted); font-size: 14px; line-height: 2.05; }
.hm-business .hm-b-why__intro .hm-b-textlink { margin-top: 12px; border-color: var(--hm-business-dark-line); }
.hm-business .hm-b-challenges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hm-business .hm-b-challenges article { min-width: 0; border: 1px solid var(--hm-business-dark-line); border-radius: 8px; overflow: hidden; background: var(--hm-business-panel); }
.hm-business .hm-b-challenge-visual { padding: 20px 26px 0; border-bottom: 1px solid var(--hm-business-dark-line); }
.hm-business .hm-b-challenge-visual > span { font: 500 10px/1.5 var(--hm-latin); letter-spacing: .14em; color: var(--hm-business-muted); }
.hm-business .hm-b-challenge-visual svg { display: block; width: 100%; height: 158px; margin-top: 10px; stroke: var(--hm-business-muted); stroke-width: 1; }
.hm-business .hm-b-diagram-accent { stroke: var(--hm-business-accent); stroke-width: 1.7; }
.hm-business .hm-b-diagram-dot { fill: var(--hm-business-accent); stroke: var(--hm-business-accent); }
.hm-business .hm-b-challenge-copy { padding: 29px 28px 28px; }
.hm-business .hm-b-challenges h3 { font-size: 22px; font-weight: 600; }
.hm-business .hm-b-challenges p { margin-top: 15px; font-size: 14px; line-height: 1.9; color: var(--hm-business-muted); }
.hm-business .hm-b-answer { display: flex; flex-direction: column; gap: 9px; margin-top: 26px; padding-top: 21px; border-top: 1px solid var(--hm-business-dark-line); color: var(--hm-on-dark); font-size: 14px; }
.hm-business .hm-b-answer > span { font: 500 9px/1.6 var(--hm-latin); letter-spacing: .14em; color: var(--hm-business-accent); }
.hm-business .hm-b-why__bottom { display: flex; gap: 30px; align-items: center; padding: 33px 0; margin-top: 30px; font-size: 13px; }
.hm-business .hm-b-why__bottom p { color: var(--hm-business-muted); font-size: 11px; }
.hm-business .hm-b-why__bottom strong { font-weight: 500; }
.hm-business .hm-b-why__bottom a { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; margin-left: auto; }

/* Human photography and concrete before/after work, with no carousel dependency. */
.hm-business .hm-usecases-sec { background: var(--hm-white); padding-bottom: 90px; }
.hm-business .hm-b-tabs { display: flex; gap: 6px; padding: 6px; background: var(--hm-business-soft); border: 1px solid var(--hm-business-line); border-radius: 8px; margin-bottom: 28px; }
.hm-business .hm-b-tabs .hm-uc-tab { position: relative; flex: 1; justify-content: center; min-height: 54px; margin: 0; padding: 12px; background: transparent; border: 1px solid transparent; border-radius: 4px; color: var(--hm-text-2); font-size: 14px; box-shadow: none; transform: none; }
.hm-business .hm-b-tabs .hm-uc-tab.is-active { color: var(--hm-business-ink); border-color: var(--hm-business-line); background: var(--hm-white); box-shadow: 0 2px 5px var(--hm-business-shadow); font-weight: 700; }
.hm-business .hm-b-tabs .hm-uc-tab:hover { color: var(--hm-orange-ink); }
.hm-business .hm-b-story { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border: 1px solid var(--hm-business-line); border-radius: 10px; overflow: hidden; }
.hm-business .hm-b-story[hidden] { display: none; }
.hm-business .hm-b-story__visual { position: relative; min-width: 0; min-height: 590px; background: var(--hm-business-ink); overflow: hidden; }
.hm-business .hm-b-story__visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 38%; }
.hm-business .hm-b-story__visual::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 34%, rgba(16,28,48,.15) 50%, rgba(16,28,48,.94) 100%); }
.hm-business .hm-b-story__visual > div { position: absolute; z-index: 1; bottom: 36px; left: 36px; right: 26px; color: var(--hm-white); }
.hm-business .hm-b-story__visual span { font: 500 10px/1.5 var(--hm-latin); letter-spacing: .13em; color: var(--hm-on-dark-2); }
.hm-business .hm-b-story__visual p { margin-top: 15px; font-size: clamp(23px, 2.15vw, 30px); font-weight: 600; line-height: 1.65; letter-spacing: -.035em; }
.hm-business .hm-b-story__body { padding: 36px 38px 28px; min-width: 0; }
.hm-business .hm-b-story__body .hm-b-label { margin-bottom: 26px; }
.hm-business :is(.hm-b-before, .hm-b-after) { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 16px; }
.hm-business :is(.hm-b-before, .hm-b-after) > span { padding-top: 5px; font: 600 10px/1.6 var(--hm-latin); letter-spacing: .04em; color: var(--hm-text-2); }
.hm-business :is(.hm-b-before, .hm-b-after) p { font-size: 14px; line-height: 1.85; }
.hm-business .hm-b-before { color: var(--hm-text-2); }
.hm-business .hm-b-after { margin: 19px -15px 0; padding: 16px 15px; border-radius: 4px; background: var(--hm-business-warm); }
.hm-business .hm-b-after p { font-weight: 600; }
.hm-business .hm-b-after > span { color: var(--hm-orange-ink); }
.hm-business .hm-b-flow { margin-top: 18px; padding: 0; list-style: none; }
.hm-business .hm-b-flow .hm-uc-step { display: grid; grid-template-columns: 30px 1fr; gap: 15px; min-height: 0; margin: 0; padding: 15px 0; border: 0; border-bottom: 1px solid var(--hm-business-line); border-radius: 0; box-shadow: none; background: transparent; transform: none; opacity: 1; }
.hm-business .hm-b-flow .hm-uc-step > span { color: var(--hm-orange-ink); font: 500 13px/1.7 var(--hm-latin); padding-top: 2px; }
.hm-business .hm-b-flow h3 { margin: 0 0 5px; font-size: 16px; }
.hm-business .hm-b-flow p { font-size: 13px; line-height: 1.8; color: var(--hm-text-2); }
.hm-business .hm-b-story__guard { margin-top: 18px; color: var(--hm-text-2); font-size: 11px; line-height: 1.9; }
.hm-business .hm-b-caption { margin-top: 15px; text-align: right; font-size: 11px; line-height: 1.8; color: var(--hm-text-2); }
.hm-business .hm-b-inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 34px; }
.hm-business .hm-b-inline-cta > p { font-size: 14px; font-weight: 500; }

/* An early invitation makes the free assessment tangible. */
.hm-business .hm-b-assessment { padding: 80px 0 100px; background: var(--hm-white); }
.hm-business .hm-b-assessment::before { content: none; }
.hm-business .hm-b-assessment__layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 72px; position: relative; padding: 58px; background: var(--hm-business-warm); border: 1px solid var(--hm-business-line); border-radius: 12px; }
.hm-business .hm-b-assessment__layout::before { content: ''; position: absolute; top: -1px; left: 58px; width: 54px; height: 4px; background: var(--hm-orange); }
.hm-business .hm-b-assessment h2 { font-size: clamp(32px, 3vw, 43px); }
.hm-business .hm-b-assessment__layout > div:first-child > p:not(.hm-b-label) { margin-top: 24px; color: var(--hm-text-2); font-size: 14px; line-height: 2; }
.hm-business .hm-b-assessment__facts { display: flex; gap: 34px; margin-top: 28px; }
.hm-business .hm-b-assessment__facts > span { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: var(--hm-text-2); }
.hm-business .hm-b-assessment__facts strong { color: var(--hm-business-ink); font: 500 40px/1.2 var(--hm-latin); letter-spacing: -.04em; }
.hm-business .hm-b-assessment__facts small { margin-left: 6px; font: 500 14px/1.5 var(--hm-font); }
.hm-business .hm-offer__actions { display: flex; margin-top: 28px; }
.hm-business .hm-b-assessment__note { display: block; margin-top: 15px; color: var(--hm-text-2); font-size: 11px; }
.hm-business .hm-b-assessment__sheet { padding: 27px 30px; background: var(--hm-white); border: 1px solid var(--hm-business-line); border-radius: 5px; box-shadow: 0 12px 28px var(--hm-business-shadow); transform: rotate(2deg); }
.hm-business .hm-b-sheet-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--hm-business-line); font: 500 9px/1.5 var(--hm-latin); letter-spacing: .06em; color: var(--hm-text-2); }
.hm-business .hm-b-assessment__sheet h3 { margin: 25px 0 23px; font-size: 21px; line-height: 1.6; }
.hm-business .hm-b-assessment__sheet ol { display: flex; flex-direction: column; gap: 23px; list-style: none; }
.hm-business .hm-b-assessment__sheet li { display: flex; gap: 16px; }
.hm-business .hm-b-assessment__sheet li > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; font: 500 11px/1 var(--hm-latin); color: var(--hm-orange-ink); background: var(--hm-business-warm); }
.hm-business .hm-b-assessment__sheet strong { font-size: 15px; }
.hm-business .hm-b-assessment__sheet li p { margin-top: 5px; font-size: 12px; color: var(--hm-text-2); }
.hm-business .hm-b-sheet-foot { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--hm-business-line); padding-top: 21px; margin-top: 26px; }
.hm-business .hm-b-sheet-foot > span { font-size: 10px; color: var(--hm-text-2); }
.hm-business .hm-b-sheet-foot > strong { font: 500 28px/1.2 var(--hm-latin); }
.hm-business .hm-b-sheet-foot > span:last-child { margin-left: auto; }

/* One composed system diagram precedes the six concrete areas of support. */
.hm-business .hm-b-service { background: var(--hm-business-ink); color: var(--hm-white); }
.hm-business .hm-b-service .hm-b-label { color: var(--hm-business-accent); }
.hm-business .hm-b-service .hm-b-heading > p { color: var(--hm-business-muted); }
.hm-business .hm-b-system { border: 1px solid var(--hm-business-dark-line); border-radius: 10px; background: var(--hm-business-panel); padding: 24px 32px 0; margin-bottom: 54px; }
.hm-business .hm-b-system__top { display: flex; justify-content: space-between; gap: 20px; font: 500 10px/1.6 var(--hm-latin); letter-spacing: .13em; color: var(--hm-business-muted); }
.hm-business .hm-b-system__top > span:last-child { font: 400 11px/1.6 var(--hm-font); letter-spacing: 0; }
.hm-business .hm-b-system__flow { display: grid; grid-template-columns: 1fr 50px 1.1fr 50px 1fr; align-items: center; gap: 0; padding: 48px 0; }
.hm-business .hm-b-system__side { text-align: center; }
.hm-business .hm-b-system__eyebrow { display: block; font: 500 9px/1.5 var(--hm-latin); letter-spacing: .18em; color: var(--hm-business-accent); margin-bottom: 14px; }
.hm-business .hm-b-system__side h3 { font-size: 17px; font-weight: 500; }
.hm-business .hm-b-system__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.hm-business .hm-b-system__chips > span { border: 1px solid var(--hm-business-dark-line); border-radius: 4px; padding: 5px 9px; font-size: 11px; color: var(--hm-business-muted); }
.hm-business .hm-b-system__connector { position: relative; height: 1px; background: var(--hm-business-accent); }
.hm-business .hm-b-system__connector::before, .hm-business .hm-b-system__connector::after { content: ''; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--hm-business-accent); }
.hm-business .hm-b-system__connector::before { left: 0; }
.hm-business .hm-b-system__connector::after { right: 0; }
.hm-business .hm-b-system__core { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 12px; border: 1px solid var(--hm-business-accent); border-radius: 8px; background: var(--hm-business-ink); box-shadow: 0 0 0 7px var(--hm-business-panel), 0 0 0 8px var(--hm-business-dark-line); }
.hm-business .hm-b-system__core svg { width: 43px; height: 43px; stroke: var(--hm-business-accent); stroke-width: 1.5; }
.hm-business .hm-b-system__core strong { font: 500 23px/1.3 var(--hm-latin); letter-spacing: -.025em; }
.hm-business .hm-b-system__core > span { font-size: 11px; color: var(--hm-business-muted); }
.hm-business .hm-b-system__controls { display: flex; justify-content: center; gap: 48px; padding: 20px 0; border-top: 1px solid var(--hm-business-dark-line); font-size: 12px; color: var(--hm-business-muted); }
.hm-business .hm-b-system__controls > span::before { content: '✓'; color: var(--hm-business-accent); margin-right: 9px; }
.hm-business .hm-b-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.hm-business .hm-b-service-item { display: flex; flex-direction: column; gap: 0; padding: 30px 0 36px; border-top: 1px solid var(--hm-business-dark-line); }
.hm-business .hm-b-service-item__meta { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; font: 500 10px/1.5 var(--hm-latin); letter-spacing: .1em; color: var(--hm-business-muted); }
.hm-business .hm-b-service-item__meta > span:first-child { color: var(--hm-business-accent); font-size: 16px; letter-spacing: 0; }
.hm-business .hm-b-service-item h3 { font-size: 21px; margin-bottom: 15px; }
.hm-business .hm-b-service-item > p { flex: 1; font-size: 14px; line-height: 1.95; color: var(--hm-business-muted); }
.hm-business .hm-b-service-item__tag { margin-top: 21px; color: var(--hm-business-accent); font-size: 11px; line-height: 1.8; }
.hm-business .hm-b-delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 24px; padding: 39px 42px; border: 1px solid var(--hm-business-dark-line); background: var(--hm-business-panel); border-radius: 8px; }
.hm-business .hm-b-delivery .hm-b-label { margin-bottom: 20px; }
.hm-business .hm-b-delivery h3 { font-size: 27px; line-height: 1.6; }
.hm-business .hm-b-delivery p:not(.hm-b-label) { font-size: 14px; line-height: 2; color: var(--hm-business-muted); }
.hm-business .hm-b-delivery > div:last-child { align-self: center; }
.hm-business .hm-b-delivery span { display: block; margin-top: 17px; font-size: 13px; }
.hm-business .hm-b-principles { display: grid; grid-template-columns: .8fr 1fr 1fr 1fr; gap: 32px; margin-top: 45px; }
.hm-business .hm-b-principles .hm-b-label { padding-top: 5px; font-size: 10px; }
.hm-business .hm-b-principles h3 { margin-bottom: 12px; font-size: 18px; }
.hm-business .hm-b-principles p:not(.hm-b-label) { font-size: 13px; line-height: 1.9; color: var(--hm-business-muted); }

/* Two columns give price, scope and next action equally readable space. */
.hm-business .hm-b-plans { background: var(--hm-business-soft); }
.hm-business .hm-b-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.hm-business .hm-b-plan { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; align-items: start; padding: 32px 36px; min-width: 0; border: 1px solid var(--hm-business-line); border-radius: 8px; background: var(--hm-white); }
.hm-business .hm-b-plan--start { border-top: 3px solid var(--hm-orange); padding-top: 30px; }
.hm-business .hm-b-plan__top { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 21px; font: 500 10px/1.5 var(--hm-latin); letter-spacing: .08em; color: var(--hm-text-2); }
.hm-business .hm-b-plan__top > span:first-child { color: var(--hm-orange-ink); }
.hm-business .hm-b-plan h3 { grid-column: 1 / -1; font-size: 21px; }
.hm-business .hm-b-plan__price { grid-column: 1; margin-top: 23px; font: 500 58px/1.15 var(--hm-latin); letter-spacing: -.055em; white-space: nowrap; }
.hm-business .hm-b-plan__price > span { display: inline-block; margin-left: 8px; font: 500 14px/1.5 var(--hm-font); letter-spacing: 0; }
.hm-business .hm-b-plan__term { grid-column: 1 / -1; margin-top: 13px; font-size: 13px; color: var(--hm-text-2); }
.hm-business .hm-b-plan ul { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 25px 0 27px; padding-top: 23px; border-top: 1px solid var(--hm-business-line); }
.hm-business .hm-b-plan li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.hm-business .hm-b-plan li::before { position: absolute; content: '✓'; left: 0; color: var(--hm-orange-ink); }
.hm-business .hm-b-plan .hm-b-button { grid-column: 1 / -1; width: 100%; font-size: 14px; min-height: 54px; }
.hm-business .hm-b-plan--start .hm-b-button { background: var(--hm-business-ink); color: var(--hm-white); border-color: var(--hm-business-ink); }
.hm-business .hm-b-plan--start .hm-b-button:hover { background: var(--hm-business-panel); }
.hm-business .hm-b-price-note { display: flex; gap: 36px; justify-content: space-between; align-items: start; margin-top: 26px; }
.hm-business .hm-b-price-note > p { max-width: 830px; font-size: 12px; line-height: 1.9; color: var(--hm-text-2); }
.hm-business .hm-b-price-note > a { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 13px; min-height: 48px; text-decoration: underline; text-underline-offset: 5px; }
.hm-business .hm-b-subsidy { display: grid; grid-template-columns: 190px 1fr 85px; align-items: center; gap: 25px; padding: 27px 30px; margin-top: 34px; background: var(--hm-white); border: 1px solid var(--hm-business-line); border-radius: 6px; font-size: 13px; }
.hm-business .hm-b-subsidy > span { font-weight: 600; }
.hm-business .hm-b-subsidy > p { color: var(--hm-text-2); font-size: 12px; line-height: 1.9; }
.hm-business .hm-b-subsidy > a { display: inline-flex; align-items: center; min-height: 48px; }

/* A continuous line ties each decision to the next step. */
.hm-business .hm-b-process__layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.hm-business .hm-b-process__intro > p:not(.hm-b-label) { margin-top: 28px; color: var(--hm-text-2); font-size: 15px; line-height: 2; }
.hm-business .hm-b-process__intro .hm-b-textlink { margin-top: 28px; }
.hm-business .hm-b-process-list { list-style: none; position: relative; }
.hm-business .hm-b-process-list::before { content: ''; position: absolute; top: 22px; bottom: 30px; left: 22px; width: 1px; background: var(--hm-business-line); }
.hm-business .hm-b-process-item { display: grid; grid-template-columns: 45px 1fr; gap: 24px; padding: 0 0 34px; border: 0; position: relative; }
.hm-business .hm-b-process-item:last-child { padding-bottom: 0; }
.hm-business .hm-b-process-item .hm-b-number { position: relative; display: grid; place-items: center; height: 45px; border-radius: 50%; border: 1px solid var(--hm-business-line); background: var(--hm-white); color: var(--hm-orange-ink); font-size: 14px; }
.hm-business .hm-b-process-item h3 { margin: 4px 0 10px; font-size: 20px; }
.hm-business .hm-b-process-item p { font-size: 14px; line-height: 1.9; color: var(--hm-text-2); }
.hm-business .hm-b-checkpoint { display: block; margin-top: 14px; padding: 10px 13px; border-radius: 4px; background: var(--hm-business-soft); color: var(--hm-text-2); font-size: 11px; }
.hm-business .hm-b-checkpoint b { margin-left: 14px; color: var(--hm-business-ink); font-weight: 500; }

/* Printed materials and answers complete the buying decision. */
.hm-business .hm-b-resources { padding-top: 0; }
.hm-business .hm-b-faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 95px 0 70px; border-top: 1px solid var(--hm-business-line); }
.hm-business .hm-b-faq .hm-b-textlink { margin-top: 24px; }
.hm-business .hm-b-faq__items { border-top: 1px solid var(--hm-business-line); }
.hm-business .hm-b-faq details { border-bottom: 1px solid var(--hm-business-line); }
.hm-business .hm-b-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 80px; padding: 25px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.hm-business .hm-b-faq summary::-webkit-details-marker { display: none; }
.hm-business .hm-b-faq summary > span { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--hm-business-line); border-radius: 50%; color: var(--hm-orange-ink); font: 300 20px/1 var(--hm-latin); transition: transform .2s; }
.hm-business .hm-b-faq details[open] summary > span { transform: rotate(45deg); }
.hm-business .hm-b-faq details p { padding: 0 0 26px; font-size: 14px; line-height: 2; color: var(--hm-text-2); }
.hm-business .hm-b-faq details p a { color: var(--hm-orange-ink); text-decoration: underline; text-underline-offset: 4px; }
.hm-business .hm-b-components { display: flex; flex-wrap: wrap; align-items: center; gap: 25px 40px; padding-top: 35px; border-top: 1px solid var(--hm-business-line); }
.hm-business .hm-b-components > p { font-size: 11px; color: var(--hm-text-2); }
.hm-business .hm-b-components ul { display: flex; flex-wrap: wrap; gap: 12px 27px; list-style: none; font-size: 12px; font-weight: 500; }

/* Real pages from the service guide, paired with a clear request action. */
.hm-business .hm-b-resource.hm-b-resource--guide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
  padding-bottom: 110px;
}
.hm-business .hm-b-guide-preview { min-width: 0; margin: 0; }
.hm-business .hm-b-guide-preview__pages {
  position: relative;
  aspect-ratio: 1.08;
  isolation: isolate;
  border-radius: 10px;
  background: radial-gradient(ellipse at 45% 45%, var(--hm-white) 0%, var(--hm-business-soft) 75%);
}
.hm-business .hm-b-guide-preview__pages::before {
  position: absolute;
  content: '';
  inset: 8% 5% 8%;
  border: 1px solid var(--hm-business-line);
  border-radius: 50%;
  z-index: -1;
}
.hm-business .hm-b-guide-preview__pages > img {
  position: absolute;
  display: block;
  height: auto;
  border: 1px solid var(--hm-business-line);
  border-radius: 3px;
  background: var(--hm-white);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--hm-business-ink) 13%, transparent);
}
.hm-business .hm-b-guide-preview__cover {
  width: 92%;
  top: 9%;
  left: 1%;
  transform: rotate(-5deg);
  z-index: 1;
}
.hm-business .hm-b-guide-preview__pricing {
  width: 82%;
  top: 46%;
  right: 1%;
  transform: rotate(5deg);
  z-index: 2;
}
.hm-business .hm-b-guide-preview figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-top: 22px;
  color: var(--hm-text-2);
  font-size: 13px;
  line-height: 1.7;
}
.hm-business .hm-b-guide-preview figcaption > span {
  color: var(--hm-orange-ink);
  border-right: 1px solid var(--hm-business-line);
  padding-right: 15px;
  font-weight: 700;
}
.hm-business .hm-b-guide-copy { min-width: 0; }
.hm-business .hm-b-resource--guide .hm-b-guide-copy .hm-b-label { margin: 0 0 21px; }
.hm-business .hm-b-resource--guide h2 { font-size: clamp(38px, 3.25vw, 50px); font-weight: 700; line-height: 1.45; letter-spacing: -.055em; }
.hm-business .hm-b-resource--guide p.hm-b-guide-copy__lead { margin-top: 25px; font-size: 16px; line-height: 1.95; color: var(--hm-text-2); }
.hm-business .hm-b-guide-topics { display: grid; gap: 0; list-style: none; margin: 25px 0 0; padding: 0; }
.hm-business .hm-b-guide-topics li { display: flex; gap: 19px; align-items: start; padding: 17px 0; border-top: 1px solid var(--hm-business-line); }
.hm-business .hm-b-guide-topics li > span { padding-top: 3px; color: var(--hm-orange-ink); font: 500 13px/1.7 var(--hm-latin); }
.hm-business .hm-b-guide-topics strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.6; }
.hm-business .hm-b-resource--guide .hm-b-guide-topics p { margin-top: 3px; color: var(--hm-text-2); font-size: 14px; line-height: 1.8; }
.hm-business .hm-b-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 23px; margin-top: 23px; }
.hm-business .hm-b-guide-actions .hm-b-guide-actions__request { gap: 20px; min-height: 58px; padding: 15px 22px; font-size: 15px; }
.hm-business .hm-b-guide-actions__request > span { padding-left: 17px; border-left: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.hm-business .hm-b-guide-actions__preview { display: inline-flex; align-items: center; min-height: 48px; color: var(--hm-text-2); font-size: 13px; text-underline-offset: 5px; text-decoration: underline; text-decoration-thickness: 1px; }
.hm-business .hm-b-guide-actions__preview:hover { color: var(--hm-orange-ink); }
.hm-business .hm-b-resource--guide p.hm-b-guide-copy__meta { margin-top: 12px; color: var(--hm-text-2); font-size: 12px; line-height: 1.8; }
@media (max-width: 1100px) {
  .hm-business .hm-b-resource.hm-b-resource--guide { grid-template-columns: 1fr; gap: 43px; }
  .hm-business .hm-b-guide-preview { width: min(100%, 660px); margin-inline: auto; }
  .hm-business .hm-b-guide-copy { max-width: 660px; margin-inline: auto; }
  .hm-business .hm-b-resource--guide h2 { font-size: clamp(38px, 5vw, 50px); }
}
@media (max-width: 767px) {
  .hm-business .hm-b-resource.hm-b-resource--guide { gap: 34px; padding-bottom: 65px; }
  .hm-business .hm-b-guide-preview__pages { aspect-ratio: 1.08; margin-inline: 4px; }
  .hm-business .hm-b-guide-preview__pages > img { box-shadow: 0 12px 25px color-mix(in srgb, var(--hm-business-ink) 12%, transparent); }
  .hm-business .hm-b-guide-preview figcaption { margin-top: 18px; font-size: 11px; gap: 9px; }
  .hm-business .hm-b-guide-preview figcaption > span { padding-right: 9px; }
  .hm-business .hm-b-resource--guide h2 { font-size: clamp(32px, 10.56vw, 38px); line-height: 1.5; }
  .hm-business .hm-b-resource--guide p.hm-b-guide-copy__lead { margin-top: 19px; font-size: 15px; }
  .hm-business .hm-b-guide-topics { margin-top: 21px; }
  .hm-business .hm-b-guide-topics li { gap: 15px; padding: 16px 0; }
  .hm-business .hm-b-guide-topics strong { font-size: 16px; }
  .hm-business .hm-b-resource--guide .hm-b-guide-topics p { font-size: 13px; }
  .hm-business .hm-b-guide-actions { display: grid; gap: 4px; margin-top: 19px; }
  .hm-business .hm-b-guide-actions .hm-b-guide-actions__request { justify-content: space-between; gap: 12px; width: 100%; font-size: 14px; padding-inline: 19px; }
  .hm-business .hm-b-guide-actions__preview { justify-content: center; }
  .hm-business .hm-b-resource--guide p.hm-b-guide-copy__meta { margin-top: 3px; font-size: 11px; text-align: center; }
}

@media (max-width: 1100px) {
  .hm-business .hm-b-container { width: calc(100% - 72px); }
  .hm-business .hm-b-heading { gap: 40px; }
  .hm-business .hm-b-why__layout { grid-template-columns: 1fr; gap: 28px; }
  .hm-business .hm-b-why__intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
  .hm-business .hm-b-challenges { gap: 15px; }
  .hm-business .hm-b-challenge-visual { padding-inline: 20px; }
  .hm-business .hm-b-challenge-copy { padding: 24px 20px; }
  .hm-business .hm-b-challenges h3 { font-size: 19px; }
  .hm-business .hm-b-challenges p { font-size: 13px; }
  .hm-business .hm-b-answer { font-size: 13px; }
  .hm-business .hm-b-why__bottom { flex-wrap: wrap; gap: 8px 24px; }
  .hm-business .hm-b-story__body { padding: 30px 28px 25px; }
  .hm-business .hm-b-assessment__layout { gap: 40px; padding: 40px; }
  .hm-business .hm-b-assessment__sheet { padding: 26px 23px; }
  .hm-business .hm-b-services { gap: 0 27px; }
  .hm-business .hm-b-service-item h3 { font-size: 19px; }
  .hm-business .hm-b-system__flow { grid-template-columns: 1fr 30px 1.1fr 30px 1fr; }
  .hm-business .hm-b-system__side h3 { font-size: 15px; }
  .hm-business .hm-b-system__core strong { font-size: 21px; }
  .hm-business .hm-b-principles { grid-template-columns: repeat(3, 1fr); }
  .hm-business .hm-b-principles > .hm-b-label { grid-column: 1 / -1; margin: 0; }
  .hm-business .hm-b-process__layout { gap: 50px; }
  .hm-business .hm-b-faq { gap: 45px; }
}
@media (max-width: 960px) {
  .hm-business .hm-b-heading { grid-template-columns: 1fr; gap: 25px; }
  .hm-business .hm-b-story { grid-template-columns: 1fr; }
  .hm-business .hm-b-story__visual { min-height: 420px; }
  .hm-business .hm-b-story__visual > img { object-position: center 35%; }
  .hm-business .hm-b-story__body { padding: 34px; }
  .hm-business .hm-b-assessment__layout { grid-template-columns: 1fr 1fr; gap: 28px; padding: 34px; }
  .hm-business .hm-b-assessment h2 { font-size: 32px; }
  .hm-business .hm-b-assessment__layout > div:first-child > p:not(.hm-b-label) br { display: none; }
  .hm-business .hm-b-assessment__sheet { transform: none; }
  .hm-business .hm-b-assessment__sheet h3 { font-size: 19px; }
  .hm-business .hm-b-sheet-foot { flex-wrap: wrap; }
  .hm-business .hm-b-sheet-foot > span:last-child { width: 100%; }
  .hm-business .hm-b-plan { padding: 28px; }
  .hm-business .hm-b-plan--start { padding-top: 26px; }
  .hm-business .hm-b-plan__top { font-size: 9px; }
  .hm-business .hm-b-plan__price { font-size: 53px; }
  .hm-business .hm-b-subsidy { grid-template-columns: 1fr auto; gap: 8px 25px; }
  .hm-business .hm-b-subsidy > span { grid-column: 1 / -1; }
  .hm-business .hm-b-process__layout { grid-template-columns: 1fr; gap: 45px; }
}
@media (max-width: 767px) {
  .hm-business .hm-b-container { width: calc(100% - 40px); }
  .hm-business .hm-b-section { padding: 76px 0; }
  .hm-business h2 { font-size: clamp(29px, 7.6vw, 38px); line-height: 1.5; }
  .hm-business .hm-b-label { margin-bottom: 23px; font-size: 10px; }
  .hm-business .hm-b-heading { gap: 23px; margin-bottom: 33px; }
  .hm-business .hm-b-heading > p { font-size: 14px; padding-bottom: 0; }
  .hm-business .hm-b-button { font-size: 14px; padding-inline: 19px; }
  .hm-business .hm-b-why { padding-top: 70px; }
  .hm-business .hm-b-why__layout { gap: 26px; margin-bottom: 37px; }
  .hm-business .hm-b-why__layout h2 { font-size: clamp(29px, 7.8vw, 42px); line-height: 1.5; letter-spacing: -.06em; }
  .hm-business .hm-b-why__intro { display: block; }
  .hm-business .hm-b-why__intro > p { font-size: 13px; line-height: 2; }
  .hm-business .hm-b-why__intro > p br { display: none; }
  .hm-business .hm-b-why__intro .hm-b-textlink { font-size: 13px; margin-top: 13px; }
  .hm-business .hm-b-challenges { grid-template-columns: 1fr; gap: 18px; }
  .hm-business .hm-b-challenge-visual { padding: 18px 24px 0; }
  .hm-business .hm-b-challenge-visual svg { height: 133px; margin-top: 0; }
  .hm-business .hm-b-challenge-copy { padding: 23px 25px 26px; }
  .hm-business .hm-b-challenges h3 { font-size: 21px; }
  .hm-business .hm-b-challenges p { margin-top: 12px; font-size: 14px; }
  .hm-business .hm-b-answer { margin-top: 21px; padding-top: 18px; font-size: 14px; }
  .hm-business .hm-b-why__bottom { display: block; margin-top: 10px; padding-block: 26px; }
  .hm-business .hm-b-why__bottom strong { display: block; margin-top: 8px; font-size: 13px; }
  .hm-business .hm-b-why__bottom a { margin-top: 10px; font-size: 13px; }
  .hm-business .hm-b-tabs { flex-wrap: wrap; gap: 4px; margin-bottom: 21px; padding: 5px; }
  .hm-business .hm-b-tabs .hm-uc-tab { flex: 1 1 28%; min-height: 48px; padding: 10px 5px; font-size: 12px; }
  .hm-business .hm-b-tabs .hm-uc-tab:nth-child(4) { flex-basis: 54%; }
  .hm-business .hm-b-story__visual { min-height: clamp(305px, 70vw, 420px); }
  .hm-business .hm-b-story__visual > img { object-position: center 38%; }
  .hm-business .hm-b-story__visual > div { left: 23px; right: 18px; bottom: 25px; }
  .hm-business .hm-b-story__visual p { font-size: 22px; margin-top: 12px; }
  .hm-business .hm-b-story__body { padding: 28px 23px 23px; }
  .hm-business :is(.hm-b-before, .hm-b-after) { grid-template-columns: 46px 1fr; gap: 10px; }
  .hm-business :is(.hm-b-before, .hm-b-after) p { font-size: 13px; }
  .hm-business .hm-b-flow .hm-uc-step { gap: 10px; padding-block: 17px; }
  .hm-business .hm-b-flow p { font-size: 12px; }
  .hm-business .hm-b-caption { text-align: left; font-size: 10px; }
  .hm-business .hm-b-inline-cta { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 26px; }
  .hm-business .hm-b-inline-cta > p { font-size: 13px; }
  .hm-business .hm-b-assessment { padding: 0 0 76px; }
  .hm-business .hm-b-assessment__layout { grid-template-columns: 1fr; gap: 33px; padding: 32px 24px 28px; }
  .hm-business .hm-b-assessment__layout::before { left: 24px; }
  .hm-business .hm-b-assessment h2 { font-size: 28px; }
  .hm-business .hm-b-assessment__layout > div:first-child > p:not(.hm-b-label) { font-size: 13px; margin-top: 21px; }
  .hm-business .hm-offer__actions { margin-top: 24px; }
  .hm-business .hm-offer__actions .hm-b-button { width: 100%; font-size: 13px; padding-inline: 12px; }
  .hm-business .hm-b-assessment__facts strong { font-size: 36px; }
  .hm-business .hm-b-assessment__sheet { padding: 23px 20px; }
  .hm-business .hm-b-sheet-head { font-size: 8px; flex-wrap: wrap; gap: 5px; }
  .hm-business .hm-b-assessment__sheet h3 { font-size: 18px; }
  .hm-business .hm-b-assessment__sheet li { gap: 11px; }
  .hm-business .hm-b-assessment__sheet li > span { flex-basis: 23px; height: 23px; }
  .hm-business .hm-b-assessment__sheet strong { font-size: 14px; }
  .hm-business .hm-b-assessment__sheet li p { font-size: 11px; }
  .hm-business .hm-b-sheet-foot > strong { font-size: 27px; }
  .hm-business .hm-b-system { padding: 20px 23px 0; margin-bottom: 36px; }
  .hm-business .hm-b-system__top { flex-direction: column; gap: 5px; font-size: 8px; }
  .hm-business .hm-b-system__flow { grid-template-columns: 1fr; justify-items: center; padding: 30px 0; }
  .hm-business .hm-b-system__side h3 { font-size: 17px; }
  .hm-business .hm-b-system__chips { margin-top: 14px; }
  .hm-business .hm-b-system__chips > span { padding-inline: 7px; font-size: 10px; }
  .hm-business .hm-b-system__connector { width: 1px; height: 32px; margin: 10px 0; }
  .hm-business .hm-b-system__connector::before { left: -2px; top: 0; }
  .hm-business .hm-b-system__connector::after { right: -2px; top: auto; bottom: 0; }
  .hm-business .hm-b-system__core { width: 100%; max-width: 270px; }
  .hm-business .hm-b-system__controls { flex-direction: column; gap: 8px; padding-block: 20px; font-size: 11px; }
  .hm-business .hm-b-services { grid-template-columns: 1fr; }
  .hm-business .hm-b-service-item { padding: 26px 0; }
  .hm-business .hm-b-service-item__meta { margin-bottom: 17px; }
  .hm-business .hm-b-service-item h3 { font-size: 22px; margin-bottom: 13px; }
  .hm-business .hm-b-service-item__tag { margin-top: 16px; }
  .hm-business .hm-b-delivery { grid-template-columns: 1fr; gap: 25px; padding: 29px 24px; }
  .hm-business .hm-b-delivery h3 { font-size: 23px; }
  .hm-business .hm-b-delivery p:not(.hm-b-label) { font-size: 13px; }
  .hm-business .hm-b-principles { grid-template-columns: 1fr; gap: 27px; margin-top: 35px; }
  .hm-business .hm-b-principles h3 { font-size: 19px; margin-bottom: 9px; }
  .hm-business .hm-b-plan-grid { grid-template-columns: 1fr; gap: 18px; }
  .hm-business .hm-b-plan { padding: 26px 25px; }
  .hm-business .hm-b-plan--start { padding-top: 24px; }
  .hm-business .hm-b-plan__top { font-size: 9px; margin-bottom: 19px; }
  .hm-business .hm-b-plan__price { font-size: 55px; margin-top: 21px; }
  .hm-business .hm-b-plan__price > span { font-size: 13px; }
  .hm-business .hm-b-plan__term { font-size: 12px; }
  .hm-business .hm-b-plan ul { margin-block: 23px; padding-top: 20px; gap: 10px; }
  .hm-business .hm-b-plan li { font-size: 13px; }
  .hm-business .hm-b-plan .hm-b-button { font-size: 13px; }
  .hm-business .hm-b-price-note { flex-direction: column; gap: 9px; }
  .hm-business .hm-b-price-note > p { font-size: 11px; }
  .hm-business .hm-b-subsidy { grid-template-columns: 1fr; gap: 10px; padding: 23px; margin-top: 25px; }
  .hm-business .hm-b-process__layout { gap: 35px; }
  .hm-business .hm-b-process__intro > p:not(.hm-b-label) { font-size: 14px; margin-top: 22px; }
  .hm-business .hm-b-process__intro .hm-b-textlink { margin-top: 18px; }
  .hm-business .hm-b-process-list::before { left: 17px; }
  .hm-business .hm-b-process-item { grid-template-columns: 35px 1fr; gap: 17px; padding-bottom: 29px; }
  .hm-business .hm-b-process-item .hm-b-number { height: 35px; font-size: 12px; }
  .hm-business .hm-b-process-item h3 { margin-top: 0; font-size: 18px; }
  .hm-business .hm-b-process-item p { font-size: 13px; }
  .hm-business .hm-b-checkpoint { font-size: 10px; padding: 10px 12px; }
  .hm-business .hm-b-checkpoint b { display: block; margin: 3px 0 0; font-size: 11px; }
  .hm-business .hm-b-resources { padding-top: 0; }
  .hm-business .hm-b-faq { grid-template-columns: 1fr; gap: 30px; padding: 65px 0 45px; }
  .hm-business .hm-b-faq h2 { font-size: 30px; }
  .hm-business .hm-b-faq summary { padding-block: 23px; font-size: 14px; gap: 15px; }
  .hm-business .hm-b-faq details p { font-size: 13px; }
  .hm-business .hm-b-components { gap: 19px; padding-top: 26px; }
  .hm-business .hm-b-components ul { gap: 12px 22px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-business .hm-b-button, .hm-business .hm-b-faq summary > span { transition: none; transform: none; }
}
@media print {
  .hm-business .hm-b-story[hidden] { display: grid; }
  .hm-business details > div { display: block; }
  .hm-business .hm-b-section { padding-block: 40px; }
  .hm-business .hm-b-assessment__sheet { transform: none; }
}


@media (prefers-reduced-motion: reduce) {
  /* 入口動画は出さない（script.js も reduced-motion では初期化しない保険の二重化） */
  .hm-intro { display: none; }

  .hm-js .reveal,
  .hm-js .hm-uc-step.reveal,
  .hm-js .hm-uc-step.reveal.is-visible,
  .hm-js .hm-pr-step { opacity: 1; transform: none; }
  .hm-uc-connector i,
  .hm-js .hm-uc-connector.reveal.is-visible i,
  .hm-uc-step__visual,
  .hm-js .hm-uc-step.reveal.is-visible .hm-uc-step__visual,
  .hm-uc-step__apps img,
  .hm-js .hm-uc-step.reveal.is-visible .hm-uc-step__apps img { animation: none; }
  /* 部門別フローの段階表示も止める */
  .hm-js .hm-uc-story [data-at] { opacity: 1; transform: none; transition: none; }
  .hm-js .hm-pr-step::after,
  .hm-js .hm-pr-step::before { opacity: 1; }
  .hm-hero__photo { animation: none; }
  .hm-product__shot::before,
  .hm-product__shot::after { animation: none; opacity: 0; }

  .hm-sv-grid .hm-sv-card__icon,
  .hm-sv-grid .hm-sv-card__icon svg { transition: none; }
  .hm-sv-grid { scroll-behavior: auto; }
  /* 右下のAIメニューは開閉を遷移なしで切り替える（script.js も同じ判定で即時に片付ける） */
  .hm-ai-entry, .hm-ai-fab { transition: none; }
  .hm-ai-fab:hover { transform: none; }
  .hm-adopters__track { animation: none; transform: none; }
  .hm-adopters__set + .hm-adopters__set { display: none; }
  .hm-adopters__viewport { overflow-x: auto; }
  .hm-adopters__set { padding-inline: 20px; }
}

@media print {
  .hm-js .reveal,
  .hm-js .hm-uc-step.reveal,
  .hm-js .hm-uc-step.reveal.is-visible,
  .hm-js .hm-pr-step { opacity: 1; transform: none; }
  .hm-js .hm-pr-step::after, .hm-js .hm-pr-step::before { opacity: 1; }
  /* 部門別フローは全段表示にする */
  .hm-js .hm-uc-story [data-at] { opacity: 1; transform: none; }
  .hm-sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .hm-sv-grid > .hm-sv-card { background: #fff; border: 1px solid #ccd5df; box-shadow: none; color: #111; }
  .hm-sv-grid .hm-sv-card__title, .hm-sv-grid .hm-sv-card__text { color: #111; text-shadow: none; }
}
