/**
 * Design tokens & custom media queries (HyperAutomation LP)
 *
 * Breakpoint 変更時は :root の数値と @custom-media をセットで更新してください。
 * @media では var() が使えないため、各 CSS では (min-width: 768px) を直接記述します。
 * ビルド時は postcss-nesting でネストを展開。cssMinify: false（lightningcss が width>= に変換するため）。
 *
 * ## レスポンシブ CSS のルール（レイアウト崩れ防止）
 *
 * 1. mobile-first: ベース = SP（または共通）。PC の上書きは @media (--bp-pc) のみ。
 * 2. display / padding / flex / grid などレイアウト必須プロパティをベースから削らない。
 * 3. @media (--bp-sp) は例外のみ（.nav-pc の非表示、.br-sp、SP 専用テキストの出し分け等）。
 * 4. SP と PC を対称に @media (--bp-sp) と @media (--bp-pc) へ振り分ける二重メディアは禁止。
 * 5. ソースに --bp-* を書き換えたら必ず npm run build し、出力 CSS に @media (--bp が残っていないことを確認する。
 *
 * ## 単位規約
 *
 * - 原則 px: レイアウト・余白・font-size・border-radius・ブレークポイントはすべて px。
 *   例: padding 24px、font-size 15px、clamp(24px, 4vw, 36px)、@media (min-width: 768px)。
 * - ブレークポイント: PC 下限 768px / SP 上限 767px（:root の --breakpoint-* と @custom-media と一致させる）。
 * - 1px / 2px の罫線、SVG stroke、<img> の width/height 属性は従来どおり px または属性値。
 * - Figma 仕様の奇数 px（例: padding 9px 14px）はそのまま px で記述し、意図が分かるコメントを付ける。
 *
 * ## SP の vw 変換ヘルパー（vw(<figma_px>)）
 *
 * SP レイアウト（@media (--bp-sp)）でのみ使用する PostCSS 関数。Figma の SP アートボード幅
 * 375px を基準として、px 値を viewport 相対の vw に展開する。ビルド時に
 * `vw(<px>)` → `calc(<px> / 375 * 100vw)` に置換される（src/postcss-plugins/postcss-vw.js）。
 *
 *   width: vw(320);            -> calc(320 / 375 * 100vw)
 *   padding: vw(24) vw(16);    -> calc(24 / 375 * 100vw) calc(16 / 375 * 100vw)
 *   font-size: vw(15);         -> calc(15 / 375 * 100vw)
 *   width: vw(320, 390);       -> calc(320 / 390 * 100vw)  (第 2 引数で基準幅を上書き)
 *
 * - PC レイアウトでは使わない（px / clamp(...) を使う）。
 * - <number>vw リテラル（例: 4vw, 100vw）は変換対象外。関数呼び出し `vw(...)` のみ。
 *
 * ## フォント
 *
 * - 本文・見出し: `--font-noto`（Noto Sans JP）。セクションで `font-feature-settings: 'palt' 1` を使う場合あり。
 * - 数値・KPI・ステップ番号: `--font-inter`（Inter）。`src/style.css` の共通 `:is(...)` ブロックで明示適用。
 */

:root {
  /* Layout breakpoints */
  --breakpoint-md: 768px;
  --breakpoint-sp-max: 767px;

  /* Typography */
  --font-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-noto: 'Noto Sans JP', var(--font-sans);
  --font-inter: 'Inter', var(--font-sans);

  /* Brand / UI colors */
  --color-brand-navy: #002854;
  --color-accent-orange: #f18e2c;
  --color-surface-muted: #f2f5f7;
  --color-border: #ccd4dd;
  --color-text-primary: #1d1d1d;
  --color-text-muted: #454545;
  --color-white: #fff;
  --color-badge-solution: #e9314b;
  --color-badge-challenge: #1d1d1d;
}

@custom-media --bp-sp (max-width: 767px);
@custom-media --bp-pc (min-width: 768px);
/**
 * Site header (Figma PC 357:1289 / SP 357:1992 header)
 *
 * - mobile-first
 * - PC (>= 768px) でナビ + CTA を表示、SP はハンバーガー + sp-menu
 * - 常時白背景（スクロール位置に依存しない）
 */

.site-header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e9ed;
  min-height: var(--header-h-sp);
}

@media (min-width: 768px) {

.site-header {
    min-height: 0;
    height: var(--header-h);
}
  }

.site-header .site-header__logo-img--white {
    display: none;
  }

.site-header .site-header__logo-img--color {
    display: block;
  }

.site-header .site-header__cta .cta-btn--ghost {
    --cta-slide-fill: #1d1d1d;
    --cta-hover-color: #fff;

    color: #1d1d1d;
    background: #fff;
    border-color: #1d1d1d;
  }

.site-header .site-header__cta .cta-btn--ghost > span {
    color: #1d1d1d;
  }

.site-header .site-header__cta .cta-btn--ghost:hover,.site-header .site-header__cta .cta-btn--ghost:focus-visible,.site-header .site-header__cta .cta-btn--ghost:hover > span,.site-header .site-header__cta .cta-btn--ghost:focus-visible > span {
    color: #fff;
  }

.site-header .site-header__cta .cta-btn--ghost:active,.site-header .site-header__cta .cta-btn--ghost:active > span {
    color: #fff;
  }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 48px);
  height: 100%;
  margin-block: 20px;
  margin-inline: auto;
}

@media (min-width: 768px) {

.site-header__inner {
    width: min(100% - 32px, 1328px);
    margin-block: 0;
}
  }

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
}

.site-header__logo:hover,
.site-header__logo:focus-visible {
  opacity: 0.8;
}

.site-header__logo-img,
.site-header__logo-img--color {
  width: 137px;
  height: auto;
}

@media (min-width: 768px) {

.site-header__logo-img,
.site-header__logo-img--color {
    width: 170px;
}
  }

.nav-pc {
  display: none;
}

@media (min-width: 768px) {

.nav-pc {
    display: block;
    margin-left: auto;
}
  }

.nav-pc__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-pc__list a {
  color: #002854;
  text-decoration: none;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  transition: color 0.2s ease-out;
}

.nav-pc__list a:hover,
.nav-pc__list a:focus-visible {
  color: #f18e2c;
}

.site-header__cta {
  display: none;
}

@media (min-width: 768px) {

.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}
  }

.site-header__cta .cta-btn {
  min-height: 0;
  min-width: 0;
  border-radius: 70px;
  font-size: 13px;
  white-space: nowrap;
}

.site-header__cta .cta-btn--ghost {
  /* padding: 9px 14px — Figma 仕様準拠の奇数 px */
  padding: 9px 14px;
  border-width: 1px;
}

.site-header__cta .cta-btn--primary {
  /* padding: 9px 42px — Figma 仕様準拠の奇数 px */
  padding: 9px 42px;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.08));
}

/* ----- ハンバーガーボタン ----- */

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 768px) {

.menu-toggle {
    display: none;
}
  }

.menu-toggle:hover {
  background: rgb(0 40 84 / 0.08);
}

.menu-toggle:focus-visible {
  outline: 2px solid #f18e2c;
  outline-offset: 2px;
}

.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: #002854;
  border-radius: 1px;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

/* ----- SPメニュー (Figma 357:3342) ----- */

.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #0f172b;
  color: #fff;
}

.sp-menu[hidden] {
  display: none !important;
}

.sp-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  flex: 0 0 auto;
  background: #fff;
  border-bottom: 1px solid #e5e9ed;
}

.sp-menu__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.sp-menu__logo-img {
  display: block;
  width: 137px;
  height: auto;
  transition: opacity 0.2s ease-out;
}

.sp-menu__logo-img:hover,
.sp-menu__logo-img:focus-visible {
  opacity: 0.8;
}

.sp-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  color: #002854;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease-out;
}

.sp-menu__close:hover {
  background: rgb(0 40 84 / 0.08);
}

.sp-menu__close:focus-visible {
  outline: 2px solid #f18e2c;
  outline-offset: 2px;
}

.sp-menu__close-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
}

.sp-menu__divider {
  flex: 0 0 auto;
  height: 1px;
  background: rgb(255 255 255 / 0.2);
}

.sp-menu__body {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding: 28px 40px 40px;
  flex: 1 1 auto;
}

.sp-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sp-menu__list li {
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
}

.sp-menu__list li:first-child {
  border-top: 0;
}

.sp-menu__list a {
  display: block;
  padding: 16px 0;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.sp-menu__list a:hover,
.sp-menu__list a:focus-visible {
  color: #f18e2c;
}

.sp-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sp-menu__cta .cta-btn {
  width: 100%;
  min-height: 0;
  min-width: 0;
  padding: 12px 16px;
  font-size: 13px;
}

.sp-menu__cta .cta-btn--ghost {
  background: transparent;
  border-width: 1px;
}

.sp-menu__cta .cta-btn__icon {
  width: 24px;
  height: 24px;
}
/**
 * Hero (Figma PC 664:1427 / SP 664:1937)
 *
 * - mobile-first
 * - 背景ドットは <canvas id="hero-dots"> に Canvas 2D で描画（src/hero-dots.ts）
 * - 中央図版は public/hero/diagram-{pc,sp}.png に書き出して配置する想定。
 *   画像が未配置の場合は .hero__diagram に dashed border の placeholder を表示。
 */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 749px;
  background: #0f172b;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-feature-settings: 'palt' 1;
  color: #fff;
}

@media (min-width: 768px) {

.hero {
    min-height: 720px;
}
  }

.hero::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -94px;
    width: 826px;
    height: 516px;
    background: radial-gradient(145.89% 91.18% at 20% 30%, #0073BC 0%, rgba(82, 184, 255, 0.00) 20%);
    filter: blur(50px);
  }

@media (min-width: 768px) {

.hero::before {
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      height: 62.5vw;
  }
    }

.hero__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(9 / 375 * 100vw);
  max-width: calc(100% - calc(48 / 375 * 100vw));
  margin-inline: auto;
  padding-block: calc(calc(22 / 375 * 100vw) + 69px) calc(40 / 375 * 100vw);
}

@media (min-width: 768px) {

.hero__inner {
    gap: 32px;
    max-width: min(100% - 32px, 1328px);
    padding-block: 149px clamp(35px, 393.3px - 34.45vw, 80px);
    padding-inline: 0;
}
  }

/* ----- タイトル ----- */

.hero__title {
  margin: 0;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-weight: 500;
  font-size: calc(24 / 375 * 100vw);
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0;
}

@media (min-width: 768px) {

.hero__title {
    font-size: 48px;
    line-height: 1.25;
}
  }

.hero__title-accent {
  color: #f18e2c;
}

/* ----- 中央図版 ----- */

.hero__diagram {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 342px;
}

@media (min-width: 768px) {

.hero__diagram {
    max-width: 1040px;
}
  }

.hero__diagram-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* 画像未配置時の placeholder（dashed border + 高さ確保） */
.hero__diagram-img:not([src]),
.hero__diagram-img[src=""] {
  aspect-ratio: 342 / 498;
  background:
    repeating-linear-gradient(
      45deg,
      rgb(255 255 255 / 0.04) 0 12px,
      rgb(255 255 255 / 0.08) 12px 24px
    );
  border: 1px dashed rgb(255 255 255 / 0.25);
}
@media (min-width: 768px) {
.hero__diagram-img:not([src]),
.hero__diagram-img[src=""] {
    aspect-ratio: 1040 / 354;
}
  }

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

/* SP: 横並びで画像下端と重なる位置（Figma 664:1937 — 図版下端より約 37px 上に CTA を被せる） */
.hero__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-inline: auto;
  margin-top: calc(-37 / 375 * 100vw);

  /* PC: 図版下・水平中央（Figma 664:1909 — 240+16+240, gap 16px） */
}
@media (min-width: 768px) {
.hero__cta {
    flex-direction: row;
    justify-content: center;
    width: auto;
    margin-top: 0;
    gap: 16px;
}
  }

.hero__cta .cta-btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 768px) {

.hero__cta .cta-btn {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    padding: 12px 16px;
    font-size: 14px;
}
  }

.hero__cta .cta-btn--ghost {
  border-width: 1px;
}

@media (min-width: 768px) {

.hero__cta .cta-btn--ghost {
    justify-content: center;
    border-width: 2px;
}
  }

.hero__cta .cta-btn--primary {
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.15));
}

@media (min-width: 768px) {

.hero__cta .cta-btn--primary {
    border: 2px solid #fff;
}
  }

.hero__cta .cta-btn__icon {
  width: 24px;
  height: 24px;
}
/* Reusable CTA buttons (shared across sections) */

.cta-actions {

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

@media (min-width: 768px) {

.cta-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
  }

/* Optional: constrain width on stacked (SP) layouts */
.cta-actions--narrow {
  max-width: 352px;
  margin-inline: auto;
}

/* SP horizontal row (e.g. core-features section) */
.cta-actions--row-sp {
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: none;
  margin-inline: 0;
}
@media (min-width: 768px) {
.cta-actions--row-sp {
    gap: 24px;
}
  }

.cta-actions--row-sp .cta-btn {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  min-height: auto;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 768px) {

.cta-actions--row-sp .cta-btn {
    flex: 0 0 auto;
    width: 240px;
    min-width: 240px;
    min-height: 56px;
    font-size: 15px;
    line-height: 1.8;
}
  }

.cta-actions--row-sp .cta-btn--outline {
  border: 2px solid #f18e2c;
}

@media (min-width: 768px) {

.cta-actions--row-sp .cta-btn--outline {
    border-color: var(--cta-accent);
    padding: 12px 24px;
}
  }

.cta-actions--row-sp .cta-btn--outline:hover,
.cta-actions--row-sp .cta-btn--outline:focus-visible {
  border-color: var(--cta-accent);
}

.cta-actions--row-sp .cta-btn--primary {
  border: 2px solid var(--cta-accent);
  padding: 12px 16px;
}

.cta-actions--row-sp .cta-btn__icon {
  width: 24px;
  height: 24px;
}

.cta-btn {
  --cta-accent: #ff6300;
  --cta-accent-hover: #e65a00;
  --cta-text: #1d1d1d;
  --cta-slide-fill: transparent;
  --cta-hover-color: inherit;
  --cta-slide-skew: -18deg;
  --cta-slide-width: 165%;
  --cta-slide-height: 140%;
  --cta-slide-offset-x: -14%;
  --cta-slide-offset-y: -20%;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 20px;
  border-radius: 500px;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-feature-settings: 'palt' 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
}

@media (min-width: 768px) {

.cta-btn {
    min-width: 192px;
}
  }

.cta-btn::before {
  content: '';
  position: absolute;
  top: var(--cta-slide-offset-y);
  left: var(--cta-slide-offset-x);
  width: var(--cta-slide-width);
  height: var(--cta-slide-height);
  z-index: 0;
  background: var(--cta-slide-fill);
  transform: skewX(var(--cta-slide-skew)) scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease-out;
}

.cta-btn__icon,
.cta-btn > span {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease-out;
}

.cta-btn--ghost {
  --cta-slide-fill: #fff;
  --cta-hover-color: var(--cta-text);

  color: #fff;
  border: 2px solid #fff;
  background: #0f172b;
}

.cta-btn--ghost > span,
.cta-btn--ghost .cta-btn__icon {
  color: #fff;
}

.cta-btn--outline {
  --cta-slide-fill: var(--cta-accent);
  --cta-hover-color: #fff;

  border: 2px solid var(--cta-accent);
  background: #fff;
  color: var(--cta-text);
}

.cta-btn--outline > span,
.cta-btn--outline .cta-btn__icon {
  color: var(--cta-text);
}

.cta-btn--primary {
  --cta-slide-fill: #fff;
  --cta-hover-color: var(--cta-text);

  color: #fff;
  background: var(--cta-accent, #ff6300);
  border: 2px solid var(--cta-accent, #ff6300);
}

.cta-btn--primary > span,
.cta-btn--primary .cta-btn__icon {
  color: #fff;
}

.cta-btn--ghost:hover,
.cta-btn--ghost:focus-visible,
.cta-btn--outline:hover,
.cta-btn--outline:focus-visible,
.cta-btn--primary:hover,
.cta-btn--primary:focus-visible,
.cta-btn--ghost:hover > span,
.cta-btn--ghost:focus-visible > span,
.cta-btn--outline:hover > span,
.cta-btn--outline:focus-visible > span,
.cta-btn--primary:hover > span,
.cta-btn--primary:focus-visible > span,
.cta-btn--ghost:hover .cta-btn__icon,
.cta-btn--ghost:focus-visible .cta-btn__icon,
.cta-btn--outline:hover .cta-btn__icon,
.cta-btn--outline:focus-visible .cta-btn__icon,
.cta-btn--primary:hover .cta-btn__icon,
.cta-btn--primary:focus-visible .cta-btn__icon {
  color: var(--cta-hover-color);
}

@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover::before,
  .cta-btn:focus-visible::before {
    transform: skewX(var(--cta-slide-skew)) scaleX(1);
  }
}

@media (hover: none), (pointer: coarse) {
  .cta-btn--ghost:active,
  .cta-btn--outline:active,
  .cta-btn--primary:active,
  .cta-btn--ghost:active > span,
  .cta-btn--outline:active > span,
  .cta-btn--primary:active > span,
  .cta-btn--ghost:active .cta-btn__icon,
  .cta-btn--outline:active .cta-btn__icon,
  .cta-btn--primary:active .cta-btn__icon {
    color: var(--cta-hover-color);
  }

  .cta-btn:active::before {
    transform: skewX(var(--cta-slide-skew)) scaleX(1);
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn::before {
    transition: none;
  }

  .cta-btn:hover::before,
  .cta-btn:focus-visible::before,
  .cta-btn:active::before {
    transform: skewX(var(--cta-slide-skew)) scaleX(1);
  }
}

.cta-btn__icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {

.cta-btn__icon {
    width: 24px;
    height: 24px;
}
  }
/* Implementation process section (Figma PC 357:932 / SP 357:2998) */

.implementation-process {
  padding-block: 56px;
  padding-inline: 24px;
  font-family: 'Noto Sans JP', var(--font-sans);
  color: #002854;
  background: #f2f5f7;
}

@media (min-width: 768px) {

.implementation-process {
    padding-block: 80px;
    padding-inline: 0;
}
  }

.implementation-process__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
}

@media (min-width: 768px) {

.implementation-process__inner {
    gap: 48px;
}
  }

.implementation-process__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 225px;
  text-align: center;
}

@media (min-width: 768px) {

.implementation-process__header {
    gap: 32px;
    max-width: none;
}
  }

.implementation-process__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: 'palt' 1;
}

@media (min-width: 768px) {

.implementation-process__title {
    font-size: 36px;
    font-feature-settings: normal;
}
  }

.implementation-process__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.implementation-process__lead {
    font-size: 17px;
    line-height: 1.5;
}
  }

.implementation-process__steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {

.implementation-process__steps {
    flex-flow: row nowrap;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}
  }

.implementation-process__step {
  flex-shrink: 0;
  min-width: 0;
}

@media (min-width: 768px) {

.implementation-process__step {
    flex: 1 1 0;
}
  }

.implementation-process__step-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  border-radius: 8px;
  background: #fff;
}

@media (min-width: 768px) {

.implementation-process__step-card {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 20px 32px 24px;
    border-radius: 12px;
}
  }

.implementation-process__step-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  width: 120px;
}

@media (min-width: 768px) {

.implementation-process__step-main {
    gap: 16px;
    width: 156px;
}
  }

.implementation-process__step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.implementation-process__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #f18e2c;
}

.implementation-process__step-title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.implementation-process__step-icon {
  display: block;
  width: 40px;
  height: 40px;
}

.implementation-process__step-desc {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.implementation-process__step-desc {
    flex: none;
    width: 100%;
    text-align: center;
}
  }

.implementation-process__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  height: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {

.implementation-process__arrow {
    align-self: stretch;
    width: 8px;
    height: auto;
    min-height: 0;
}
  }

.implementation-process__arrow-img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 8px;
}

@media (min-width: 768px) {

.implementation-process__arrow-img {
    width: 8px;
    height: auto;
    max-height: none;
    align-self: center;
}
  }

.implementation-process__arrow-img--pc {
  display: none;
}

@media (min-width: 768px) {

.implementation-process__arrow-img--pc {
    display: block;
}
  }

.implementation-process__arrow-img--sp {
  display: block;
  width: 100%;
  height: 8px;
  object-fit: fill;
}

@media (min-width: 768px) {

.implementation-process__arrow-img--sp {
    display: none;
}
  }

.implementation-process__message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border: 1px solid #002854;
  border-radius: 8px;
  background: #fff;
}

@media (min-width: 768px) {

.implementation-process__message {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    max-width: 710px;
    padding: 16px 24px;
    border-radius: 12px;
}
  }

.implementation-process__message-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.implementation-process__message-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.implementation-process__message-body {
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {

.implementation-process__message-body {
    width: auto;
}
  }

.implementation-process__message-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #1d1d1d;
}

@media (min-width: 768px) {

.implementation-process__message-text {
    font-size: 15px;
}
  }

/* Partner support section (Figma PC 357:1044 / SP 357:3117) */

.partner-support {
  padding-block: 56px;
  padding-inline: 24px;
  font-family: 'Noto Sans JP', var(--font-sans);
  color: #002854;
  background: #fff;
}

@media (min-width: 768px) {

.partner-support {
    padding-block: 80px;
    padding-inline: 0;
}
  }

.partner-support__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
}

@media (min-width: 768px) {

.partner-support__inner {
    gap: 48px;
}
  }

.partner-support__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {

.partner-support__header {
    gap: 32px;
}
  }

.partner-support__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: 'palt' 1;
}

@media (min-width: 768px) {

.partner-support__title {
    font-size: 36px;
    font-feature-settings: normal;
}
  }

.partner-support__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.partner-support__lead {
    font-size: 17px;
    line-height: 1.5;
}
  }

.partner-support__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {

.partner-support__body {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(48px, 7vw, 115px);
}
  }

.partner-support__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 342 / 243;
}

@media (min-width: 768px) {

.partner-support__media {
    width: 564px;
    aspect-ratio: 564 / 400;
}
  }

.partner-support__photo {
  position: absolute;
  display: block;
  width: 47.66%;
  height: 90.13%;
  border-radius: 8px;
  aspect-ratio: 270 / 360;
}

@media (min-width: 768px) {

.partner-support__photo {
    width: 47.87%;
    height: 90%;
    border-radius: 12px;
}
  }

.partner-support__photo--1 {
  left: 0;
  top: 0;
}

.partner-support__photo--2 {
  left: 52.34%;
  top: 9.87%;
}

@media (min-width: 768px) {

.partner-support__photo--2 {
    left: 52.13%;
    top: 10%;
}
  }

.partner-support__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {

.partner-support__list {
    flex: 1 1 521px;
    max-width: 521px;
    gap: 24px;
}
  }

.partner-support__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 16px;
  border-left: 2px solid #002854;
}

@media (min-width: 768px) {

.partner-support__item {
    gap: 20px;
    padding: 10px 0 10px 28px;
}
  }

.partner-support__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 999px;
  background: #f2f5f7;
}

.partner-support__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.partner-support__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}

@media (min-width: 768px) {

.partner-support__item-body {
    gap: 8px;
}
  }

.partner-support__item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.partner-support__item-title {
    font-size: 17px;
    line-height: 1.5;
}
  }

.partner-support__item-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #1d1d1d;
}

@media (min-width: 768px) {

.partner-support__item-text {
    font-size: 15px;
}
  }
/* Consultation section (Figma PC 357:1105 / SP 357:3179) */

.consultation {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
  font-family: 'Noto Sans JP', var(--font-sans);
  color: #002854;
  background: #fff;
}

@media (min-width: 768px) {

.consultation {
    padding-top: 80px;
}
  }

.consultation__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-inline: 24px;
  text-align: center;
}

@media (min-width: 768px) {

.consultation__header {
    gap: 32px;
    padding-inline: clamp(24px, 120px, 120px);
}
  }

.consultation__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: 'palt' 1;
}

@media (min-width: 768px) {

.consultation__title {
    font-size: 36px;
    font-feature-settings: normal;
}
  }

.consultation__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.consultation__lead {
    font-size: 17px;
    line-height: 1.5;
}
  }

.consultation__shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {

.consultation__shell {
    margin-top: 48px;
}
  }

@media (max-width: 767px) {

.consultation__shell {
    margin-top: 32px;
}
  }

.consultation__tablist {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 880px;
  padding-inline: 24px;
  /* タブが下のパネルと一体に見えるよう少し被せる */
  margin-bottom: -1px;
}

@media (min-width: 768px) {

.consultation__tablist {
    gap: 24px;
    padding-inline: 0;
    max-width: 880px;
    justify-content: center;
}
  }

.consultation__tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 8px;
  border: 0;
  border-radius: 12px 12px 0 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 768px) {

.consultation__tab {
    flex: 0 1 440px;
    height: 60px;
    padding: 0;
    font-size: 17px;
}
  }

.consultation__tab.is-active {
  background: #f2f5f7;
  color: #002854;
  border: 1px solid #ccd4dd;
  border-bottom: 0;
}

.consultation__tab:not(.is-active) {
  background: #002854;
  color: #fff;
  border-color: transparent;
}

.consultation__panels {
  width: 100%;
  background: #f2f5f7;
}

@media (min-width: 768px) {

.consultation__panels {
    padding: 80px 24px;
}
  }

@media (max-width: 767px) {

.consultation__panels {
    padding: 40px 24px 48px;
}
  }

.consultation__panel {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  min-height: 192px;
}

.consultation__panel[hidden] {
  display: none !important;
}

/* Panel inner layout (Figma PC 357:1116 / SP 357:3189) */

.consultation-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  width: 100%;
}

@media (min-width: 768px) {

.consultation-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(48px, 6vw, 90px);
}
  }

@media (min-width: 768px) {

.consultation-layout--form-only {
    justify-content: center;
}
  }

.consultation-layout__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {

.consultation-layout__main {
    flex: 1 1 550px;
    max-width: 550px;
    gap: 48px;
}
  }

.consultation-layout__headline {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #002854;
  word-break: break-word;
}

@media (min-width: 768px) {

.consultation-layout__headline {
    font-size: 24px;
    line-height: 1.4;
    font-feature-settings: 'palt' 1;
}
  }

.consultation-layout__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {

.consultation-layout__content {
    gap: 32px;
}
  }

.consultation-layout__section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: #002854;
  word-break: break-word;
}

@media (min-width: 768px) {

.consultation-layout__section-title {
    font-size: 20px;
}
  }

.consultation-layout__section-title--accent {
  color: #ff6300;
}

/* Slider */

.consultation-layout__slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.consultation-layout__slider .consultation-layout__section-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 768px) {

.consultation-layout__slider .consultation-layout__section-title {
    font-size: 17px;
    line-height: 1.5;
}
  }

.consultation-layout__slider .consultation-layout__section-title::before,
.consultation-layout__slider .consultation-layout__section-title::after {
  content: '';
  flex-shrink: 0;
  width: 36px;
  height: 1px;
  background: #002854;
}

.consultation-layout__slider .consultation-layout__section-title::before {
  transform: rotate(55deg);
}

.consultation-layout__slider .consultation-layout__section-title::after {
  transform: rotate(-55deg);
}

.consultation-layout__slider-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.consultation-layout__slider-viewport {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

@media (min-width: 768px) {

.consultation-layout__slider-viewport {
    border-radius: 12px;
}
  }

.consultation-layout__slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.consultation-layout__slide {
  flex: 0 0 100%;
  width: 100%;
}

.consultation-layout__slide-figure {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

@media (min-width: 768px) {

.consultation-layout__slide-figure {
    border-radius: 12px;
}
  }

.consultation-layout__slide-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2667 / 1500;
  border-radius: inherit;
  background: #ccd4dd;
  box-shadow: 0 0 4px rgb(0 0 0 / 0.25);
}

.consultation-layout__slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 16px;
  border-radius: inherit;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

@media (min-width: 768px) {

.consultation-layout__slide-overlay {
    font-size: 14px;
}
  }

.consultation-layout__slider-nav {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #002854;
  color: #fff;
  cursor: pointer;
  appearance: none;
  transition: opacity 0.2s ease-out;
}

.consultation-layout__slider-nav:hover {
    opacity: 0.8;
  }

.consultation-layout__slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

@media (min-width: 768px) {

.consultation-layout__slider-nav {
    display: inline-flex;
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}
  }

.consultation-layout__slider-nav::before {
  content: '';
  display: block;
  width: 21px;
  height: 21px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath d='M2.60886 9.49915H15.9964L11.1401 4.6429C10.7464 4.24915 10.7464 3.65853 11.1401 3.26478C11.5339 2.87103 12.1245 2.87103 12.5182 3.26478L19.0807 9.82728C19.4745 10.221 19.4745 10.8117 19.0807 11.2054L12.5182 17.768C12.3214 17.9648 12.0589 18.0305 11.7964 18.0305C11.5339 18.0305 11.2714 17.9648 11.0745 17.768C10.6807 17.3742 10.6807 16.7836 11.0745 16.3898L15.9307 11.5335H2.60886C2.08386 11.5335 1.62448 11.0742 1.62448 10.5492C1.62448 10.0242 2.08386 9.49915 2.60886 9.49915Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

@media (min-width: 768px) {

.consultation-layout__slider-nav--prev {
    left: -22px;
}
  }

.consultation-layout__slider-nav--prev::before {
  transform: scaleX(-1);
}

@media (min-width: 768px) {

.consultation-layout__slider-nav--next {
    right: -22px;
}
  }

.consultation-layout__slider-nav:focus-visible {
  outline: 3px solid rgb(37 99 235 / 0.35);
  outline-offset: 2px;
}

/* Points */

.consultation-layout__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.consultation-layout__points-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 338px;
}

.consultation-layout__points-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #1d1d1d;
  word-break: break-word;
}

.consultation-layout__points-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: calc((1.8em - 10px) / 2);
  background-color: #f18e2c;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M8.67531 1.26953L3.58017 5.99632L1.4254 3.69682L0 5.0325L3.48114 8.74748L10 2.70546L8.67531 1.26953Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

/* Logos */

.consultation-layout__logos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.consultation-layout__logos-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 134px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
}

@media (min-width: 768px) {

.consultation-layout__logos-shell {
    min-height: 215px;
    border-radius: 12px;
}
  }

.consultation-layout__logos-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 400;
  border-radius: 12px;
  object-fit: cover;
}

/* Form card (.embed-form = TotalAgility導入ガイド) */

.consultation-layout .embed-form {
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {

.consultation-layout .embed-form {
    flex: 1 1 560px;
    min-width: 400px;
    max-width: 560px;
}
  }

@media (min-width: 768px) {

.consultation-layout--form-only .embed-form {
    flex: 0 1 1200px;
    max-width: 1200px;
}
  }

.consultation-form {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 2px 8px -2px rgb(0 0 0 / 0.04),
    0 8px 12px -2px rgb(0 0 0 / 0.1);
}

.consultation-form__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px 12px 0 0;
  background: #f18e2c;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  word-break: break-word;
}

@media (min-width: 768px) {

.consultation-form__header {
    height: 48px;
    font-size: 17px;
    line-height: 1.5;
}
  }

.consultation-form__body {
  padding: 24px;
  background: #fff;
  color: #1d1d1d;
}

@media (min-width: 768px) {

.consultation-form__body {
    padding: 24px 40px 40px;
}
  }

/* Pardot iframe（資料DL）: クロスオリジンのため高さ固定。SP は縦並びで高め。 */
.consultation-form__body iframe {
  display: block;
  width: 100%;
  height: 1264px;
  border: 0;
}

@media (min-width: 768px) {
  .consultation-form__body iframe {
    height: 1080px;
  }
}
/* Case studies section (Figma PC 357:867 / SP 357:2926) */

.case-studies {
  padding-block: 56px;
  padding-inline: 24px;
  font-family: 'Noto Sans JP', var(--font-sans);
  color: #002854;
  background: #fff;
}

@media (min-width: 768px) {

.case-studies {
    padding-block: 80px;
    padding-inline: 0;
}
  }

.case-studies__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
}

@media (min-width: 768px) {

.case-studies__inner {
    gap: 48px;
}
  }

.case-studies__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 232px;
  text-align: center;
}

@media (min-width: 768px) {

.case-studies__header {
    gap: 32px;
    max-width: 464px;
}
  }

.case-studies__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: 'palt' 1;
}

@media (min-width: 768px) {

.case-studies__title {
    font-size: 36px;
    font-feature-settings: normal;
}
  }

.case-studies__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.case-studies__lead {
    font-size: 17px;
    line-height: 1.5;
}
  }

.case-studies__slider {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {

.case-studies__slider {
    position: relative;
    gap: 24px;
}
  }

.case-studies__viewport {
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {

.case-studies__viewport {
    max-width: 1200px;
    margin-inline: auto;
}
  }

.case-studies__track {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  width: 100%;
}

.case-studies__card {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #ccd4dd;
  border-radius: 8px;
  background: #fff;
  container-type: inline-size;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

@media (min-width: 768px) {

.case-studies__card {
    gap: 32px;
    padding: 56px 48px;
    border-radius: 20px;
}
  }

.case-studies__card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .case-studies__card {
    transition: none;
  }
}

.case-studies__card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 12px;
}

@media (min-width: 768px) {

.case-studies__card-head {
    flex-direction: row;
    gap: 24px;
}
  }

.case-studies__logo {
  flex-shrink: 0;
  padding: 2px;
  border: 1.2px solid #ccd4dd;
  border-radius: 4px;
  background: #fff;
  line-height: 0;
}

@media (min-width: 768px) {

.case-studies__logo {
    display: flex;
    align-items: center;
    width: 100px;
    min-height: 75px;
    height: auto;
}
  }

.case-studies__logo img {
  display: block;
  width: 80px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

@media (min-width: 768px) {

.case-studies__logo img {
    width: 100%;
    max-height: none;
    height: 100%;
    object-fit: cover;
}
  }

/* P&N Bank ロゴ：枠は同サイズだが小さめロゴを中央に contain で配置 */
.case-studies__logo--pn-bank {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-studies__logo--pn-bank img {
  width: 87px;
  height: auto;
  max-height: 31px;
  object-fit: contain;
}

@media (min-width: 768px) {

.case-studies__logo--pn-bank img {
    width: 87px;
    height: 31px;
    max-height: none;
    object-fit: contain;
}
  }

.case-studies__card-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #1d1d1d;
}

.case-studies__company {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
}

@media (min-width: 768px) {

.case-studies__company {
    font-size: 14px;
}
  }

.case-studies__company-name {
  font-weight: 500;
}

.case-studies__headline {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {

.case-studies__headline {
    font-size: 30px;
    line-height: 1.4;
}
  }

.case-studies__rule {
  flex-shrink: 0;
  margin: 0;
  border: 0;
  height: 1px;
  background: #ccd4dd;
}

.case-studies__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

@media (min-width: 768px) {

.case-studies__card-body {
    flex-flow: row nowrap;
    align-items: stretch;
    gap: 24px;
}
  }

.case-studies__block {
  min-width: 0;
  color: #1d1d1d;
}

@media (min-width: 768px) {

.case-studies__block--challenge {
    flex: 2 1 0;
    min-width: 0;
}
  }

.case-studies__block--solution {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 768px) {

.case-studies__block--solution {
    gap: 24px;
    flex: 3 1 0;
    min-width: 0;
}
  }

.case-studies__block--solution .case-studies__block-heading {
  margin-bottom: 0;
  flex-shrink: 0;
}

.case-studies__block-heading {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {

.case-studies__block-heading {
    margin-bottom: 12px;
}
  }

.case-studies__badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
}

@media (min-width: 768px) {

.case-studies__badge {
    margin-top: 2px;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.4;
}
  }

.case-studies__badge--challenge {
  background: #1d1d1d;
}

.case-studies__badge--solution {
  background: #e9314b;
}

.case-studies__badge--results {
  width: 100%;
  margin-bottom: 12px;
  padding-block: 6px;
  background: #002854;
  border: 1px solid #002854;
  text-align: center;
}

@media (min-width: 768px) {

.case-studies__badge--results {
    margin-bottom: 12px;
    padding-block: 4px 6px;
}
  }

.case-studies__block-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

@media (min-width: 768px) {

.case-studies__block-title {
    font-size: 20px;
    line-height: 1.5;
}
  }

.case-studies__block-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

@media (min-width: 768px) {

.case-studies__block-text {
    font-size: 15px;
}
  }

.case-studies__block-text + .case-studies__list,
.case-studies__list + .case-studies__block-text {
  margin-top: 0;
}

.case-studies__solution-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.case-studies__solution-copy .case-studies__block-text:not(:last-child) {
  margin-bottom: 0;
}

.case-studies__list {
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 768px) {

.case-studies__list {
    font-size: 15px;
}
  }

.case-studies__list li + li {
  margin-top: 0;
}

.case-studies__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  height: 12px;
  line-height: 0;
}

@media (min-width: 768px) {

.case-studies__divider {
    flex: 0 0 12px;
    width: 12px;
    height: auto;
    align-self: stretch;
    min-height: 256px;
}
  }

.case-studies__divider picture,
.case-studies__divider img {
  display: block;
  max-width: 100%;
  transform: rotate(45deg);
}

@media (min-width: 768px) {

.case-studies__divider picture,
.case-studies__divider img {
    width: auto;
    object-fit: contain;
    transform: rotate(0);
}
  }

.case-studies__results {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 4px;
  background: #f2f5f7;
  flex-shrink: 0;
}

@media (min-width: 768px) {

.case-studies__results {
    margin-top: 0;
    padding: 12px 24px;
}
  }

.case-studies__block--solution .case-studies__results {
  margin-top: 0;
}

.case-studies__metrics {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {

.case-studies__metrics {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0;
}
  }

.case-studies__metric {
  display: flex;
  flex: 0 0 50%;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

@media (min-width: 768px) {

.case-studies__metric {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    box-sizing: border-box;
    position: relative;
    padding-inline: clamp(12px, 2.22vw, 32px);
}
  }

@media (max-width: 767px) {

.case-studies__metric:nth-child(even) {
      border-left: 1px solid #ccd4dd;
  }
    }

@media (min-width: 768px) {

.case-studies__metric:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #ccd4dd;
    transform: translateX(50%);
}
  }

/* SP: 2x2 グリッド + 横区切り線 */
@media (max-width: 767px) {
.case-studies__metrics .case-studies__metric:nth-child(1),
.case-studies__metrics .case-studies__metric:nth-child(2) {
    margin-bottom: 12px;
}
  }

@media (max-width: 767px) {

.case-studies__metrics .case-studies__metric:nth-child(3),
.case-studies__metrics .case-studies__metric:nth-child(4) {
    margin-top: 16px;
    position: relative;
}
    :is(.case-studies__metrics .case-studies__metric:nth-child(3),.case-studies__metrics .case-studies__metric:nth-child(4))::after {
      content: '';
      position: absolute;
      top: -16px;
      left: 0;
      width: 100%;
      height: 1px;
      background: #ccd4dd;
    }
  }

/* PC: 両端の外側余白のみ 12px */
@media (min-width: 768px) {
.case-studies__metrics .case-studies__metric:nth-child(1) {
    padding-left: 12px;
}
  }

@media (min-width: 768px) {

.case-studies__metrics .case-studies__metric:nth-child(4) {
    padding-right: 12px;
}
  }

.case-studies__metric-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  color: #002854;
}

@media (min-width: 768px) {

.case-studies__metric-label {
    font-size: 13px;
    line-height: 1.4;
    /* white-space: nowrap; */
}
  }

.case-studies__metric-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #f18e2c;
}

.case-studies__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 768px) {

.case-studies__controls {
    display: contents;
}
  }

.case-studies__pager-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #002854;
  cursor: pointer;
  transition: opacity 0.2s ease-out;
}

@media (min-width: 768px) {

.case-studies__pager-btn {
    width: 44px;
    height: 44px;
}
  }

.case-studies__pager-btn:hover {
    opacity: 0.8;
  }

.case-studies__pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

@media (min-width: 768px) {

.case-studies__pager-btn--prev {
    position: absolute;
    top: calc(50% - 18px);
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 2;
}
  }

.case-studies__pager-btn--prev img {
  transform: scaleX(-1);
}

@media (min-width: 768px) {

.case-studies__pager-btn--next {
    position: absolute;
    top: calc(50% - 18px);
    right: 0;
    transform: translate(50%, -50%);
    z-index: 2;
}
  }

.case-studies__pager-btn img {
  display: block;
  width: 21px;
  height: 21px;
}

.case-studies__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.case-studies__dot {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgb(0 40 84 / 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}

.case-studies__dot:hover {
  background: rgb(0 40 84 / 0.4);
}

.case-studies__dot.is-active {
  background: #002854;
  cursor: default;
}

.case-studies__cta {
  width: 100%;
}
/* Core features section (Figma PC 357:811 / SP 357:2888) */

.core-features {
  padding-block: 56px;
  padding-inline: 24px;
  font-family: 'Noto Sans JP', var(--font-sans);
  color: #fff;
  background: #002854;
}

@media (min-width: 768px) {

.core-features {
    padding-block: 80px;
    padding-inline: 0;
}
  }

.core-features__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
}

@media (min-width: 768px) {

.core-features__inner {
    gap: 48px;
}
  }

.core-features__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {

.core-features__header {
    gap: 32px;
}
  }

.core-features__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: 'palt' 1;
}

@media (min-width: 768px) {

.core-features__title {
    font-size: 36px;
    font-feature-settings: normal;
}
  }

.core-features__title-line--accent {
  color: #f18e2c;
}

.core-features__lead {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

@media (min-width: 768px) {

.core-features__lead {
    font-size: 17px;
    line-height: 1.5;
}
  }

.core-features__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {

.core-features__body {
    gap: 16px;
}
  }

.core-features__tablist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.3);
  box-shadow: 0 0 30px rgb(34 34 34 / 0.05);
}

@media (min-width: 768px) {

.core-features__tablist {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
}
  }

.core-features__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #002854;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #002854;
  cursor: pointer;
  transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
}

@media (min-width: 768px) {

.core-features__tab {
    flex: 1 1 0;
    min-height: 64px;
    font-size: 16px;
    line-height: 1.3;
}
  }

.core-features__tab:hover {
    border-color: #002854;
    background: #002854;
    color: #fff;
  }

.core-features__tab.is-active {
    border-color: #002854;
    background: #002854;
    color: #fff;
    cursor: default;
  }

/* 白枠ボックスは wrap 側で持つ（pager もこの中に収める） */
.core-features__panels-wrap {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-bottom: 16px;
  border-radius: 8px;
  background: #fff;
}
@media (min-width: 768px) {
.core-features__panels-wrap {
    padding: 32px 0 32px;
    border: 0;
    border-radius: 20px;
    gap: 32px;
}
  }

.core-features__panels-viewport {
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {

.core-features__panels-viewport {
    /* 左右はビューポート境界で切り、上下だけ panel-card の box-shadow ぶん逃がす */
    overflow: visible;
    padding-top: 16px;
}
  }

.core-features__panels {
  display: flex;
  flex-direction: row;
  width: 100%;
  /* --slide-pos は DOM 位置（両端 2 枚ずつクローン込み）。既定 2 = 先頭 real */
  transform: translateX(calc(var(--slide-pos, 2) * -100%));
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

@media (min-width: 768px) {

.core-features__panels {
    align-items: stretch;
    gap: 24px;
    /* 中央寄せ分を transform に合算（margin-inline は無し） */
    /* 1 ステップ = panel 73.17% + gap 24px */
    transform: translateX(
      calc((100% - 73.17%) / 2 - var(--slide-pos, 2) * (73.17% + 24px))
    );
}
  }

.core-features__panels.is-no-transition {
    transition: none;
  }

@media (prefers-reduced-motion: reduce) {
  .core-features__panels {
    transition: none;
  }
}

.core-features__panel {
  display: flex;
  flex: 0 0 100%;
  width: 100%;
}

@media (min-width: 768px) {

.core-features__panel {
    flex: 0 0 73.17%;
    max-width: 878px;
}
  }

.core-features__panel-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 24px 24px 0;
  border-radius: 8px;
  background: #fff;
}

@media (min-width: 768px) {

.core-features__panel-card {
    flex-flow: row wrap;
    align-items: center;
    gap: 32px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 13px 30px 0 rgba(0, 0, 0, 0.15);
}
  }

.core-features__panel-media {
  overflow: hidden;
  border-radius: 4px;
}

@media (min-width: 768px) {

.core-features__panel-media {
    flex: 0 0 50%;
    width: min(100%, 390px);
}
  }

.core-features__panel-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.core-features__panel-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {

.core-features__panel-copy {
    flex: 1 1 calc(50% - 32px);
    gap: 24px;
    max-width: 376px;
}
  }

.core-features__panel-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #002854;
}

@media (min-width: 768px) {

.core-features__panel-title {
    font-size: 24px;
    line-height: 1.4;
    font-feature-settings: 'palt' 1;
}
  }

.core-features__panel-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #1d1d1d;
}

@media (min-width: 768px) {

.core-features__panel-text {
    font-size: 15px;
}
  }

/* pager: SP は矢印+ドット+矢印の 1 行、PC は矢印を viewport 左右に絶対配置 */
.core-features__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 48px);
  margin-inline: auto;
}
@media (min-width: 768px) {
.core-features__pager {
    max-width: none;
    justify-content: center;
}
  }

.core-features__pager-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #002854;
  cursor: pointer;
  transition: opacity 0.2s ease-out;
}

@media (min-width: 768px) {

.core-features__pager-btn {
    /* wrap (relative) の padding edge を起点に絶対配置：wrap padding-top 26 + card padding 40 + media 高さ 220 / 2 = 176 */
    position: absolute;
    top: 46.7%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
}
  }

.core-features__pager-btn:hover {
    opacity: 0.8;
  }

.core-features__pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

@media (min-width: 768px) {

.core-features__pager-btn--prev {
    left: 11.58%;
}
  }

@media (min-width: 768px) {

.core-features__pager-btn--next {
    right: 11.58%;
}
  }

.core-features__pager-btn img {
  display: block;
  width: 21px;
  height: 21px;
}

.core-features__pager-btn--prev img {
  transform: scaleX(-1);
}

.core-features__dots {
  display: flex;
  align-items: center;
  gap: 18px;
}

.core-features__dot {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgb(0 40 84 / 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}

.core-features__dot:hover {
  background: rgb(0 40 84 / 0.4);
}

.core-features__dot.is-active {
  background: #002854;
  cursor: default;
}

.core-features__footer-note {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

@media (min-width: 768px) {

.core-features__footer-note {
    font-size: 17px;
    line-height: 1.5;
}
  }

.core-features__cta {
  width: 100%;
}
:root {
  --color-bg: #0f1115;
  --color-text: #e8eaef;
  --color-accent: #7c3aed;
  --container-max: 1152px;
  --header-h: 80px;
  --header-h-sp: 72px;
}

@media (max-width: 767px) {
  :root {
    --header-offset: var(--header-h-sp);
  }
}

@media (min-width: 768px) {
  :root {
    --header-offset: var(--header-h);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sp-menu,
  .menu-toggle__bar {
    transition: none !important;
  }
}

body {
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-noto);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Inter: KPI 数値・%・導入事例成果値・導入プロセスステップ番号 */
:is(
  .total-agility__stat-figure,
  .total-agility__stat-num,
  .total-agility__stat-suffix,
  .case-studies__metric-value,
  .implementation-process__step-num
) {
  font-family: var(--font-inter);
  font-feature-settings: normal;
  font-synthesis: none;
  font-variant-numeric: lining-nums proportional-nums;
}

#main {
  flex: 1 0 auto;
}

body.is-menu-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
}

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.08);
}

.container {
  /* width: min(100% - 32px, var(--container-max)); */
  margin-inline: auto;
}

@media (min-width: 768px) {

.container {
    max-width: 1248px;
    padding-inline: 24px;
}
  }

/* ----- RPA limit (Figma PC 357:344 / SP 357:2391) ----- */

.rpa-limit {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 5vw, 80px);
  padding-inline: clamp(24px, 4vw, 120px);
  font-family: 'Noto Sans JP', var(--font-sans);
  font-feature-settings: 'palt' 1;
  color: #fff;
  background: linear-gradient(106deg, #071333 34%, #0f172b 93%);
}

@media (min-width: 768px) {

.rpa-limit {
    padding-block: 80px;
    padding-inline: 0;
    background: linear-gradient(136deg, #071333 34%, #0f172b 93%);
}
  }

.rpa-limit__top-fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100px;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.3), transparent);
  pointer-events: none;
}

.rpa-limit__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.rpa-limit__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {

.rpa-limit__header {
    gap: 24px;
    margin-bottom: 40px;
}
  }

.rpa-limit__title {
  margin: 0;
  font-size: clamp(24px, 4.2vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 768px) {

.rpa-limit__title {
    font-size: 36px;
}
  }

.rpa-limit__title-accent {
  color: #f18e2c;
}

.rpa-limit__lead {
  margin: 0;
  max-width: 768px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

@media (min-width: 768px) {

.rpa-limit__lead {
    font-size: 17px;
    line-height: 1.5;
}
  }

.rpa-limit__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 164px));
  justify-content: center;
  gap: 14px;
  max-width: 344px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {

.rpa-limit__cards {
    grid-template-columns: repeat(3, minmax(0, 380px));
    gap: 30px;
    max-width: 1200px;
}
  }

.rpa-limit__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 8px;
  background: linear-gradient(159deg, rgb(255 255 255 / 0.2) 0%, rgb(59 100 215 / 0.2) 75%);
  text-align: center;
}

@media (min-width: 768px) {

.rpa-limit__card {
    gap: 16px;
    padding: 16px 16px 17px;
}
  }

.rpa-limit__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rpa-limit__icon-wrap:not(.rpa-limit__icon-wrap--data) picture,
.rpa-limit__icon-wrap:not(.rpa-limit__icon-wrap--data) img {
  display: block;
}

.rpa-limit__icon-wrap:not(.rpa-limit__icon-wrap--data) img {
  width: 40px;
  height: 40px;
}

@media (min-width: 768px) {

.rpa-limit__icon-wrap:not(.rpa-limit__icon-wrap--data) img {
    width: 56px;
    height: 56px;
}
  }

.rpa-limit__icon-wrap--data {
  position: relative;
  width: 40px;
  height: 40px;
}

@media (min-width: 768px) {

.rpa-limit__icon-wrap--data {
    width: 56px;
    height: 56px;
}
  }

.rpa-limit__icon-wrap--data picture,
.rpa-limit__icon-wrap--data img {
  display: block;
}

.rpa-limit__data-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rpa-limit__data-fg {
  position: absolute;
  left: 14.3%;
  top: 14.3%;
  width: 71.4%;
  height: 71.4%;
  object-fit: contain;
}

@media (max-width: 767px) {

.rpa-limit__data-fg {
    left: 17.85%;
    top: 17.85%;
    width: 60%;
    height: 60%;
}
  }

.rpa-limit__card-label {
  margin: 0;
}

.rpa-limit__card-label-pc {
  display: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {

.rpa-limit__card-label-pc {
    display: block;
}
  }

.rpa-limit__card-label-sp {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 768px) {

.rpa-limit__card-label-sp {
    display: none;
}
  }

/* ----- RPA limit → Total Agility ブリッジ (Figma PC 5:3262 / SP 5:4695) ----- */

.rpa-limit-bridge {
  margin-top: -7px;
  background: #fff;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-feature-settings: 'palt' 1;
}

@media (min-width: 768px) {

.rpa-limit-bridge {
    margin-top: -12px;
}
  }

.rpa-limit-bridge__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  padding-block: 0;
  margin-inline: auto;
}

.rpa-limit-bridge__chevron-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 16px;
  margin-inline: auto;
}

@media (min-width: 768px) {

.rpa-limit-bridge__chevron-wrap {
    width: 126px;
    height: 23px;
}
  }

/* SVG 原本は縦長（SP 16×88 / PC 23×126）→ 90deg で下向きシェブロン */
.rpa-limit-bridge__chevron {
  display: block;
  width: 16px;
  height: 88px;
  transform: rotate(90deg);
}
@media (min-width: 768px) {
.rpa-limit-bridge__chevron {
    width: 23px;
    height: 126px;
}
  }

.rpa-limit-bridge__text {
  margin: 40px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #002854;
}

@media (min-width: 768px) {

.rpa-limit-bridge__text {
    margin-top: 64px;
    font-size: 24px;
}
  }

.rpa-limit-bridge__accent {
  color: #f18e2c;
}

/* ----- Total Agility 導入 (Figma PC 357:451 / SP 357:2496) ----- */

.total-agility {
  padding-block: 40px 56px;
  padding-inline: 24px;
  font-family: 'Noto Sans JP', var(--font-sans);
  font-feature-settings: 'palt' 1;
  color: #1d1d1d;
  background: #fff;
}

@media (min-width: 768px) {

.total-agility {
    padding-block: 80px;
    padding-inline: 0;
}
  }

.total-agility__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
}

@media (min-width: 768px) {

.total-agility__inner {
    gap: 64px;
}
  }

.total-agility__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  width: 100%;
}

@media (min-width: 768px) {

.total-agility__intro {
    gap: 40px;
}
  }

.total-agility__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

@media (min-width: 768px) {

.total-agility__body {
    gap: 48px;
}
  }

.total-agility__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  max-width: 294px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: #002854;
}

@media (min-width: 768px) {

.total-agility__title {
    max-width: none;
    font-size: 36px;
}
  }

.total-agility__stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 294px;
  margin: 0 auto;
}

@media (min-width: 768px) {

.total-agility__stats {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: none;
}
  }

.total-agility__stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 224px;
  margin-inline: auto;
  padding: 0;
  text-align: left;
}

@media (min-width: 768px) {

.total-agility__stat {
    flex: 0 1 208px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 208px;
    max-width: none;
    margin-inline: 0;
    text-align: center;
}
  }

.total-agility__stat:not(:last-child) {
  border-bottom: 0;
}

.total-agility__stat-divider {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(0 40 84 / 0.1);
}

@media (min-width: 768px) {

.total-agility__stat-divider {
    display: flex;
    align-self: stretch;
    width: 1px;
    height: auto;
}
  }

.total-agility__stat-value {
  flex: 0 0 103px;
  line-height: 0;
}

.total-agility__stat-value--plus {
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {

.total-agility__stat-value--plus {
    gap: 4px;
    position: relative;
    display: block;
}
  }

@media (max-width: 767px) {

.total-agility__stat-value--plus .total-agility__stat-figure {
      gap: 4px;
  }
    }

.total-agility__stat-value--plus .total-agility__stat-num {
    letter-spacing: -6%;
  }

.total-agility__stat-plus {
  display: block;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 0;
}

@media (min-width: 768px) {

.total-agility__stat-plus {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 29px;
}
  }

.total-agility__stat-figure {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  line-height: 1;
  color: #f18e2c;
}

.total-agility__stat-num {
  display: block;
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variation-settings: 'opsz' 32;
}

@media (min-width: 768px) {

.total-agility__stat-num {
    font-size: 85px;
}
  }

.total-agility__stat-suffix {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 32;
}

@media (min-width: 768px) {

.total-agility__stat-suffix {
    font-size: 38px;
}
  }

@media (min-width: 768px) {

.total-agility__stat--plus .total-agility__stat-figure {
    margin-left: 36px;
}
  }

@media (min-width: 768px) {

.total-agility__stat--plus .total-agility__stat-suffix {
    left: 1.55em;
    top: 0.34em;
}
  }

.total-agility__stat-label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: #1d1d1d;
  white-space: nowrap;
}

@media (min-width: 768px) {

.total-agility__stat-label {
    flex: none;
    white-space: normal;
}
  }

.total-agility__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {

.total-agility__visual {
    gap: 32px;
}
  }

.total-agility__note {
  margin: 0;
  max-width: 342px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  color: #002854;
}

@media (min-width: 768px) {

.total-agility__note {
    max-width: none;
    font-size: 20px;
    line-height: 1.5;
}
  }

/* Figma PC 664:632 / SP 664:2441 */
.total-agility__compare {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-inline: auto;
}
@media (min-width: 768px) {
.total-agility__compare {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    max-width: none;
    margin-inline: 0;
}
  }

.total-agility__diagram {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

@media (min-width: 768px) {

.total-agility__diagram {
    flex: 1 1 0;
    min-width: 0;
}
  }

/* SP: 12px 12px 8px 8px（Figma 3:356 等） */
.total-agility__diagram--before {
  border-radius: 12px 12px 8px 8px;
}
@media (min-width: 768px) {
.total-agility__diagram--before {
    flex: 1 1 0;
    border-radius: 20px 4px 4px 20px;
}
  }

.total-agility__diagram--solution {
  border-radius: 12px 12px 8px 8px;
}

@media (min-width: 768px) {

.total-agility__diagram--solution {
    flex: 1.244 1 0;
    border-radius: 4px;
}
  }

.total-agility__diagram--after {
  border-radius: 12px 12px 8px 8px;
}

@media (min-width: 768px) {

.total-agility__diagram--after {
    flex: 1 1 0;
    border-radius: 4px 20px 20px 4px;
}
  }

.total-agility__diagram picture,
.total-agility__diagram img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Footer (Figma PC 357:1211 / SP 357:3301) ----- */

.site-footer {
  margin-top: auto;
}

.site-footer__main {
  background: #fff;
  color: #454545;
  font-family: 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  padding-block: clamp(40px, 5vw, 48px) clamp(20px, 2.5vw, 28px);
  padding-inline: 35px;
}

@media (min-width: 768px) {

.site-footer__main {
    padding-block: 82px 45px;
    padding-inline: 0;
}
  }

.site-footer__body {
  display: grid;
  gap: clamp(40px, 4vw, 43px);
}

@media (min-width: 768px) {

.site-footer__body {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    column-gap: clamp(32px, 4vw, 80px);
    row-gap: 44px;
    align-items: start;
}
  }

@media (max-width: 767px) {

.site-footer__related {
    order: -1;
}
  }

@media (min-width: 768px) {

.site-footer__related {
    justify-self: start;
}
  }

@media (max-width: 767px) {

.site-footer__brand {
    border-top: 1px solid #b9b9b9;
    padding-top: 40px;
}
  }

@media (min-width: 768px) {

.site-footer__brand {
    border-top: none;
    padding-top: 0;
}
  }

.site-footer__logo {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo img {
  display: block;
  height: auto;
  max-width: 100%;
}

.site-footer__address {
  margin: 34px 0 0;
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: #454545;
}

@media (min-width: 768px) {

.site-footer__address {
    margin-top: 20px;
}
  }

.site-footer__holding {
  margin-top: 36px;
  font-size: 12px;
  line-height: 1.5;
  color: #454545;
}

@media (min-width: 768px) {

.site-footer__holding {
    margin-top: 22px;
}
  }

.site-footer__holding p {
  margin: 0;
}

.site-footer__isms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
  margin-bottom: 34px;
}

@media (min-width: 768px) {

.site-footer__isms {
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 0;
}
  }

.site-footer__isms-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-footer__isms-note {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: #6a6a6a;
  opacity: 0.8;
}

@media (min-width: 768px) {

.site-footer__isms-note {
    text-align: left;
}
  }

.site-footer__related-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: #333;
}

.site-footer__related-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer__related-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.site-footer__related-link:hover,
.site-footer__related-link:focus-visible {
  color: #fa6e01;
  text-decoration: underline;
}

.site-footer__dash {
  display: inline-block;
  width: 7px;
  height: 1.3px;
  flex-shrink: 0;
  background: #fa6e01;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {

.site-footer__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px 25px;
    text-align: left;
}
  }

.site-footer__meta-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #454545;
}

@media (min-width: 768px) {

.site-footer__meta-label {
    flex-shrink: 0;
}
  }

.site-footer__meta-divider {
  display: none;
}

@media (min-width: 768px) {

.site-footer__meta-divider {
    display: block;
    width: 1px;
    height: 30px;
    background: #a0a0a0;
    flex-shrink: 0;
}
  }

.site-footer__meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {

.site-footer__meta-list {
    max-width: 360px;
    column-gap: 24px;
}
  }

@media (min-width: 768px) {

.site-footer__meta-list {
    flex: 1;
    justify-content: flex-start;
    gap: 24px 40px;
}
  }

.site-footer__meta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #454545;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease-out;
}

.site-footer__meta-link:hover,
.site-footer__meta-link:focus-visible {
  color: #fa6e01;
  text-decoration: underline;
}

.site-footer__ext {
  flex-shrink: 0;
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.site-footer__bar {
  background: #e6e6e6;
  padding: 10px 16px;
}

.site-footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #888;
}

/* Responsive line breaks (breakpoint: 768px) */
.br-sp {
  display: inline;
}
@media (min-width: 768px) {
.br-sp {
    display: none;
}
  }

.br-pc {
  display: none;
}

@media (min-width: 768px) {

.br-pc {
    display: inline;
}
  }
