/* ------------------------------
   ベーススタイル
------------------------------ */
:root {
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-primary: #0060c7;
  --color-primary-light: #e0efff;
  --color-accent: #ff9f1c;
  --color-text-main: #1a1a1a;
  --color-text-muted: #666666;
  --color-border-subtle: #dde3ee;
  --shadow-soft: 0 8px 24px rgba(15, 35, 52, 0.12);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --header-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

main {
  display: block;
}

/* スキップリンク */
body > a[href="#main-content"] {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background-color: #000;
  color: #fff;
  z-index: 1000;
}

body > a[href="#main-content"]:focus {
  left: 0.5rem;
  top: 0.5rem;
}

body {
  overflow-x: hidden !important;
}

/* ------------------------------
   レイアウトコンテナ
------------------------------ */
header,
main,
footer,
section {
  width: 100%;
}

section {
  padding: 4rem 1.5rem;
}

section > header {
  margin-bottom: 2rem;
}

@media (min-width: 960px) {
  section {
    padding: 5rem 2rem;
  }
}

.section-inner {
  max-width: 1500px;
  margin-inline: auto;
}

/* ------------------------------
   ヘッダー／グローバルナビ
------------------------------ */
body > header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #151515;
}

.site-header {
  max-width: 100% !important;
  width: 100%;
  margin-inline: auto;
  padding: 0 3vw !important;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

.site-branding img {
  height: clamp(40px, 3.5vw, 60px) !important;
  width: auto;
}

.site-nav {
  margin-left: auto;
  margin-right: 2vw;
}

.site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1vw !important;
  font-size: clamp(0.7rem, 0.9vw, 0.9rem) !important;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: #f5f5f5;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background-color: #ff9f1c;
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5vw 1.5vw !important;
  border-radius: var(--radius-pill);
  background-color: #ff9f1c;
  color: #ffffff;
  font-size: clamp(0.7rem, 0.9vw, 0.88rem) !important;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  text-decoration: none;
  filter: brightness(1.05);
}

@media (max-width: 880px) {
  .site-header {
    padding-block: 0.5rem;
  }

  .site-nav-list {
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .header-cta {
    margin-top: 0.25rem;
    padding-inline: 1rem;
  }
}

/* ------------------------------
   ヒーローセクション
------------------------------ */
#hero {
  position: relative;
  /* 上下の余白を画面幅（vw）に連動させ、プロポーションを維持 */
  padding-top: calc(8vw + var(--header-height));
  padding-bottom: 12vw; 
  background-color: #010101;
  /* 背後のライン画像が常に右から差し込むように配置 */
  background-image: url("../img/hero-lines.svg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ヒーローセクション */
#hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4.5vw;
  transform: translateX(-50%);
  border-left: 30vw solid transparent;
  border-right: 30vw solid transparent;
  border-top: 5vw solid #010101;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
}

#hero .hero-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

#hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
  line-height: 1.4;
  font-weight: 800;
  /* 白色のドロップシャドウ */
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.35);
  display: block;
  width: 100%;
  max-width: none; /* 親の幅制限による自動改行を防ぐ */
  word-break: keep-all; /* 単語の途中での改行を防止 */
  overflow-wrap: normal;
}

.hero-heading-line {
  display: inline-block;
  white-space: nowrap;
}

#hero p {
  margin: 0;
  max-width: 80rem;
  color: #e5e5e5;
  font-size: 17px;
}

.hero-lead {
  margin: 0;
  max-width: 800px;
  /* 最小14pxから最大18pxの間で変動 */
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: #e5e5e5;
  opacity: 0.9;
}
#hero figure {
  display: none;
}

#hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------
   課題セクション
------------------------------ */
#problems {
  background-color: #f5f5f7;
  padding: 6vw 0 0 !important;
  position: relative;
  overflow: hidden;
}

.problems-header {
  text-align: center;
  margin-bottom: 3vw;
}

#problems h2 {
  font-size: clamp(1.125rem, 2.2vw, 2rem) !important;
  font-weight: 500;
  color: #000;
}

/* 「課題」の強調 */
.emphasis-problem {
  font-size: clamp(1.8rem, 4vw, 3.5rem) !important;
  font-weight: 900;
  margin: 0 0.2em;
}

/* ビジュアルエリア全体 */
.problems-visual-wrapper {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 16 / 4; /* 比率を固定 */
  margin: 0 auto !important;
  display: block !important;
  padding: 0 !important;
}

/* 中央の人物ロゴ（サイズ拡大） */
.problems-icon-center {
  position: absolute;
  top: auto !important;    /* 以前の top 指定を解除 */
  bottom: 0 !important;   /* 底面に密着 */
  left: 50%;
  transform: translateX(-50%);
  width: 25% !important;  /* サイズを適正化 */
  min-width: 120px;
  z-index: 1;
}

.problems-icon-center img {
  width: 100%;
  height: auto;
}

/* 吹き出し共通設定（枠線を黒、背景を白に） */
.problem-bubble {
  position: absolute !important;
  bottom: auto !important; /* 縦に伸びる原因（bottom指定）を強制解除 */
  background-color: #ffffff;
  border: 1px solid #000000;
  padding: 1.5% 2% !important;
  z-index: 2;
  box-shadow: 0 0.5vw 1.5vw rgba(0, 0, 0, 0.08);
  width: 32%;
  height: auto !important; /* 縦幅を固定せず中身に合わせる */
}

.problem-bubble p {
  margin: 0;
  /* 文字サイズも画面幅に連動（極小まで許可） */
  font-size: clamp(8px, 1.2vw, 16px) !important;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  text-align: center;
  white-space: nowrap; /* 文字が勝手に改行して崩れるのを防止 */
}

/* 吹き出しの「しっぽ（三角形）」共通 */
.problem-bubble::before,
.problem-bubble::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
}

/* 上の吹き出し：人物を指すように下向きのしっぽ */
.bubble-top {
  top: 0 !important;
  left: 50%;
  transform: translateX(-50%) !important;
}
.bubble-top::before {
  border-width: 15px 10px 0 10px;
  border-color: #000 transparent transparent transparent;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}
.bubble-top::after {
  border-width: 13px 9px 0 9px;
  border-color: #fff transparent transparent transparent;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

/* 左下の吹き出し：人物を指すように右向きのしっぽ */
.bubble-left {
  top: 50% !important; /* 人物ロゴの肩あたりの高さ */
  left: 0;
}
.bubble-left::before {
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #000;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
}
.bubble-left::after {
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent #fff;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
}

/* 右下の吹き出し：人物を指すように左向きのしっぽ */
.bubble-right {
  top: 50% !important;
  right: 0;
}
.bubble-right::before {
  border-width: 10px 15px 10px 0;
  border-color: transparent #000 transparent transparent;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
}
.bubble-right::after {
  border-width: 9px 13px 9px 0;
  border-color: transparent #fff transparent transparent;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
}

/* レスポンシブ：モバイル表示（縦一列） */
@media (max-width: 850px) {
  /* 見出し全体（「このような...抱えていませんか？」）を小さく */
  #problems h2 {
    /* 最小14px、最大18pxの範囲で調整 */
    font-size: clamp(14px, 4vw, 18px) !important;
  }

  /* 「課題」の強調文字を小さく */
  .emphasis-problem {
    /* 最小18px、最大24pxの範囲で調整 */
    font-size: clamp(18px, 6vw, 24px) !important;
    margin: 0 0.1em !important;
  }

  /* 1. 全体の比率をPC版(16:4)と共通にする */
  .problems-visual-wrapper {
    aspect-ratio: 16 / 4.5 !important; 
    width: 80vw !important;
    margin-top: 8vw !important;
    transform: scale(1.0); /* スマホで見やすいよう少しだけ全体を拡大 */
    transform-origin: center top;
  }

  /* 2. 吹き出しのサイズと文字をミニチュア化 */
  .problem-bubble {
    width: 28% !important;
    padding: 0.8% 1.2% !important; /* 内側の余白も最小限に */
    border-width: 1px !important;
  }

  .problem-bubble p {
    /* スマホでも1行で収まるよう極小サイズを許容 */
    font-size: clamp(5px, 1.5vw, 8px) !important;
    white-space: normal;
    word-break: keep-all !important;
    overflow-wrap: break-word;
    line-height: 1.2 !important;
  }

  /* 3. 吹き出しのしっぽ（三角形）のサイズ微調整 */
  .bubble-top::before { border-width: 8px 5px 0 5px; bottom: -8px; }
  .bubble-top::after  { border-width: 6px 4px 0 4px; bottom: -6px; }

  .bubble-left::before { border-width: 5px 0 5px 8px; right: -8px; }
  .bubble-left::after  { border-width: 4px 0 4px 6px; right: -6px; }

  .bubble-right::before { border-width: 5px 8px 5px 0; left: -8px; }
  .bubble-right::after  { border-width: 4px 6px 4px 0; left: -6px; }

  /* 4. 人物ロゴのサイズを維持 */
  .problems-icon-center {
    width: 18% !important;
    min-width: 80px !important;
    bottom: 0 !important;
  }
}

/* ------------------------------
   概要セクション
------------------------------ */
#overview {
  position: relative;
  /* 親の制約を完全に無視してブラウザの左端から右端まで広げる */
  width: 100% !important;
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;

  /* 背景画像の設定 */
  background-image: url("../img/lineback.svg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  
  /* セクション自体の左右余白を0にする（114行目の指定を上書き） */
  padding: 8vw 0 !important;
  background-color: #ffffff;
  
  /* 横スクロール発生を確実に防止 */
  overflow: hidden;

  /* 1. 見出しの上の余白を削る（10vw → 4vw） */
  padding-top: 7vw !important; 
  /* セクション全体の下の余白もバランスを見て調整 */
  padding-bottom: 7vw !important;
}

/* 内部コンテンツだけを中央の 1500px（既存設定）に戻す */
#overview .section-inner {
  max-width: 1600px !important; /* 1200pxから大幅に拡大 */
  width: 92%;
  margin-inline: auto;
}

.overview-header {
  text-align: center;
  margin-bottom: 5rem;
}

/* タイトルサイズを課題セクションと統一 */
#overview h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}

/* 「移行」「Nutanix」の強調スタイルを「課題」と統一 */
.emphasis-target {
  font-size: clamp(2.8rem, 4.5vw, 5.5rem) !important;
  font-weight: 900;
  margin: 0 0.1em;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  transform: translateY(-0.8vw); /* 移動量もvwで連動 */
  color: #000;
  /* text-shadow はここには書かない */
}

/* --- Nutanix だけに透明度40%の影をつける --- */
.shadow-nutanix {
  /* rgba(111, 60, 195, 0.4) が #6f3cc3 の透明度40%です */
  text-shadow: 3px 3px 0 rgba(111, 60, 195, 0.4);
}

.overview-lead {
  margin-top: 2.5rem;
  font-size: clamp(1rem, 1.2vw, 1.5rem) !important;
  color: #666;
  line-height: 1.8;
  max-width: 1000px;
  margin-inline: auto;
}

/* 特徴ボックスとロゴの並列レイアウト */
.overview-feature-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw !important;
  max-width: 1400px !important;
  margin: 0 auto 4rem;
}

/* 最大の特徴：角丸長方形ボックス */
.feature-card {
  flex: 1.2;
  position: relative;
  border: 2px solid #000; /* 黒いはっきりした枠線 */
  border-radius: 100px;    /* 大きめの角丸 */
  padding: 1rem 1rem;
  background-color: #fff;
  text-align: center;
}

/* 左上の重なりラベル */
.feature-card-label {
  position: absolute;
  top: -14px;
  left: 40px;
  background-color: #fff; /* 背景を白にして線を隠す */
  padding: 0 15px;
  font-weight: 800;
  font-size: 1rem;
  color: #000;
}

/* 枠内・中央・下線付きのラベル */
.feature-card-label-inner {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  color: #000;
  margin-bottom: 0.5rem; /* テキストとの間隔 */
  padding-bottom: 1px;
  border-bottom: 1px solid #000; /* 下線を追加 */
}

.feature-card-content p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #333;
}

/* 右側ロゴエリア */
.feature-logo-box {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.logo-placeholder {
  width: 100%;
  max-width: 320px;
  height: 160px; /* ボックスと高さを合わせる */
  background-color: #dcdcdc; /* グレーの矩形 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #666;
  font-weight: 600;
  font-size: 1.2rem;
}

/* レスポンシブ：モバイル表示 */
@media (max-width: 850px) {

  /* 1. セクションタイトルの調整 */
  #overview h2 {
    /* 1rem(16px) から 0.875rem(14px) 程度まで最小値を下げます */
    font-size: clamp(0.7rem, 3vw, 1.1rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.3rem !important;
  }

  .emphasis-target {
    /* 1.6rem(25.6px) から 1.3rem(20.8px) 程度まで縮小 */
    font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    transform: translateY(-0.1rem) !important; /* 小さくなった分、浮き上がりも抑える */
  }

  .overview-lead {
    font-size: clamp(0.35rem, 1.0vw, 0.5rem) !important;
    margin-top: 0.5rem !important;
  }

  #overview .emphasis-target {
    /* フォントサイズとしての指定（ここで一度小さくする） */
    font-size: 25px !important; 
    
    /* それでも大きい場合は、以下の数値を 0.8 (80%) などに下げて微調整してください */
    transform: translateY(-2px) scale(0.7) !important; 
    
    display: inline-block !important;
    margin: 0 !important;
    letter-spacing: -0.05em !important;
  }

  /* 2. 特徴ボックスとロゴ：横並びを徹底キープ */

  /* 1. リード文の下の余白（ヘッダー全体の余白）を最小化 */
  .overview-header {
    /* 5rem から 1rem 程度に大幅に縮小 */
    margin-bottom: 1rem !important; 
  }
  
  .overview-feature-flex {
    flex-direction: row !important;
    align-items: center !important;
    gap: 3vw !important;
    margin-bottom: 2rem !important;
    padding: 0 4vw !important;
  }

  .feature-card {
    flex: 1.3 !important;
    padding: 0 0.8rem 0.3rem !important;
    border-radius: 20px !important; /* 角丸をスマホサイズに */
    border-width: 1px !important;
    margin-bottom: 0 !important;
  }

  .feature-card-label-inner {
    font-size: clamp(5px, 2vw, 10px) !important;
    margin-bottom: 0px !important;
  }

  .overview-feature-flex {
    margin-bottom: 0.5rem !important;
  }

  .feature-card-content p {
    font-size: clamp(6px, 1.8vw, 9px) !important;
    line-height: 1.3 !important;
  }

  .feature-logo-box {
    flex: 0.7 !important;
  }

  .feature-logo-box img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ==============================
   プラットフォーム構成セクション
------------------------------ */
.platform-section {
  margin-top: 3rem;
}

.platform-section h3 {
  margin: 0 0 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
}

.platform-diagram {
  max-width: 900px;
  margin-inline: auto;
  background-color: #ffffff;
  border: 1px dashed #1a1a1a;
  border-radius: 5px;
  overflow: hidden;
}

/* プラットフォームアイテム */
.platform-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.25rem 1.75rem;
  gap: 1.5rem;
  border-bottom: 1px dashed #999999;
  min-height: 65px;
}

.platform-item:last-child {
  border-bottom: none;
}

/* 2. ESXiとAHVのボタンエリアを均等に2分割して広げる */
.platform-item-dual {
  width: 100%;
  max-width: none; /* 600px の制限を解除して端まで広げる */
  display: flex !important;
  flex: 1 !important;
  gap: 15px !important;
}

.platform-item-dual .platform-capsule {
  flex: 1 !important;     /* 2つのボタンが 50% ずつ広がるようにする */
  max-width: none !important;
  width: auto !important;
}

.platform-item-selectable {
  /* リボンの領域（約70px）を考慮し、全体の余白を調整 */
  padding-left: 65px !important; 
}

/* 3. ラベル（ハイパーバイザー）を左に寄せる */
.platform-item-selectable .platform-item-label {
  text-align: left !important;
  padding-left: 20px !important;
  min-width: 130px !important; /* ラベル幅を固定してガタつきを防ぐ */
}

/* ラベル */
.platform-item-label {
  min-width: 140px;    /* 項目名の幅を確保 */
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-main);
  text-align: left;    /* 左揃えにして垂直列を統一 */
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;  /* z-indexを有効にするため */
  z-index: 10;         /* 常に前面に表示 */
}

/* コンテンツエリア */
.platform-item-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px; /* カプセル間の隙間 */
}

/* 単一ボックス */
.platform-item-content:not(.platform-item-dual) {
  justify-content: flex-start;
}

/* 複数ボックス（ハイパーバイザー） */
.platform-item-dual {
  width: 100%;
  max-width: 600px; /* 上下の .platform-capsule-primary の幅と合わせる設定 */
}

/* カプセル型ボックス */
.platform-capsule {
  padding: 0.75rem 1.75rem;
  border-radius: 15px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
  flex: 1;
  min-width: 140px;
}

/* カプセルカラー */
.platform-capsule-primary {
  background-color: #6f3cc3;
  min-width: 200px;
}

.platform-capsule-gray {
  background-color: #9dabb8;
  min-width: 180px !important;
}

.platform-capsule-secondary {
  background-color: #8e7cc3;
  min-width: 180px !important;
}

/* 選択可能リボン */
.platform-ribbon {
  position: absolute;
  left: 10px;  /* 位置の微調整 */
  top: 0;      /* 枠の上端に合わせる */
  transform: none;
  
  /* サイズを大きく調整 */
  width: 70px;
  height: 85px;
  
  /* シルバーの光沢グラデーション（2枚目の再現） */
  background: linear-gradient(
    to bottom, 
    #7d7d7d 0%, 
    #e0e0e0 40%, 
    #ffffff 50%, 
    #e0e0e0 60%, 
    #7d7d7d 100%
  );
  
  /* 2枚目の「旗」の形を作る切り抜き設定（下部をV字に） */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
  
  display: flex;
  align-items: flex-start;
  padding-top: 30px;
  justify-content: center;   /* 左右中央 */
  
  /* 文字の設定（横書き） */
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  text-align: center;
  writing-mode: horizontal-tb; /* 横書きに指定 */
  
  z-index: 5;
  padding-bottom: 15px; /* V字の切れ込みに文字が被らないよう下側に余白 */
}

.platform-section .platform-item-dual .platform-capsule-gray,
.platform-section .platform-item-dual .platform-capsule-secondary {
  flex: 0 0 auto !important; /* 伸び縮みを停止 */
  width: 180px !important;    /* 幅を180pxに固定 */
  min-width: 315px !important;
  max-width: 315px !important;
}

/* 親要素の幅制限を解除して、はみ出しを許可する */
.platform-item-dual {
  justify-content: center !important; /* 中央に寄せる */
  overflow: visible !important;
}

/* レスポンシブ対応 */
@media (max-width: 850px) {
  .platform-diagram {
    max-width: 95% !important;
    margin-inline: auto !important;
    border-width: 1px !important;
  }

  .platform-item {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    padding: 0.7rem 0.5rem !important;
    gap: 8px !important;
    min-height: auto !important;
  }

  .platform-item-label {
    min-width: 75px !important; /* ラベルの幅を最小限に固定 */
    font-size: clamp(7px, 1.8vw, 10px) !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  #overview .platform-item-content.platform-item-dual {
    display: flex !important;
    justify-content: flex-start !important; /* 左端から並べる */
    overflow: visible !important;           /* 枠外へのはみ出しを許可 */
    width: 100% !important;
    max-width: none !important;
    flex-wrap: nowrap !important;           /* 絶対に改行させない */
    margin-left: -70px !important;
  }

  .platform-capsule {
    padding: 5px 2px !important;
    font-size: clamp(6px, 1.6vw, 9px) !important;
    min-width: 0 !important;
    flex: 1 !important;
    border-radius: 6px !important;
  }

  .platform-item-label {
    min-width: 65px !important;
    font-size: clamp(7px, 1.8vw, 10px) !important;
  }
  /* 4. シルバーリボン：精密に縮小 */
  .platform-ribbon {
    width: 32px !important;
    height: 42px !important;
    padding-top: 15px !important;
    font-size: clamp(5px, 1.3vw, 7px) !important;
    left: 4px !important;
    top: 0 !important;
  }

  .platform-item-selectable {
    padding-left: 42px !important; /* リボンの幅に合わせる */
  }

  /* 1. 親要素：横並びを強制し、折り返しを禁止する */
  .platform-item-content.platform-item-dual {
    display: flex !important;
    justify-content: flex-start !important; /* 左から詰めて並べる */
    gap: 8px !important;                 /* カプセル間の隙間 */
    overflow: visible !important;        /* 枠外へのはみ出しを許可 */
    width: 100% !important;
    flex-wrap: nowrap !important;        /* 改行させない */
  }

  /* 2. 各ボタン：315pxという巨大な制限を解除し、50%幅にする */
  #overview .platform-item-dual .platform-capsule-gray,
  #overview .platform-item-dual .platform-capsule-secondary {
    /* 画面幅に対して自動調整されるように設定 */
    width: 45% !important;        /* 2つ並んで収まるくらいの比率 */
    min-width: 0 !important;      /* 固定幅の制限を完全に解除 */
    max-width: none !important;
    
    /* 横に長く見えるようアスペクト比を維持 */
    padding: 1px 2px !important;
    flex: 1 1 auto !important;    /* 画面幅に合わせて伸縮を許可 */
    
    font-size: clamp(8px, 2.5vw, 11px) !important; /* 文字サイズも可変に */
    border-radius: 5px !important;
    text-align: center !important;
  }

  /* 3. 図解内の「ハイパーバイザー」などのラベル幅を調整 */
  .platform-item-label {
    min-width: 65px !important;
    font-size: 7px !important;
    flex-shrink: 0 !important;
  }

  /* 4. コンテンツエリア全体のハミ出し防止 */
  .platform-item-content {
    flex: 1 !important;
    min-width: 0 !important;
  }

  /* 1. 「ハイパーバイザー」を左にずらす */
  .platform-item-selectable .platform-item-label {
    /* 現在の位置からさらに左へ移動 */
    transform: translateX(-25px) !important; 
  }

  /* 2. 「管理ツール」「独自のHCI基盤」「ハードウェア」を右にずらして重ねる */
  /* ハイパーバイザー以外のアイテムを指定 */
  .platform-item:not(.platform-item-selectable) .platform-item-label {
    /* 右にずらす量を調整（カプセルと重なる位置） */
    margin-left: 30px !important; 
    /* 文字を目立たせるために少し影をつける（任意） */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  }
}

/* ==============================
   VMwareとの比較セクション
------------------------------ */
#vmware-comparison {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
}

#vmware-comparison .section-inner {
  max-width: 1200px;
  margin-inline: auto;
}

#vmware-comparison header {
  text-align: center;
  margin-bottom: 3rem;
}

#vmware-comparison h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

/* 比較グリッド */
.comparison-direct-container {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 3rem;
}

.comp-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 0 !important;
}

.vm-panel { 
  background-color: #f0f0f3; 
  border-right: 1px solid #ccc; 
}
.nx-panel { 
  background-color: #ebe3ff; 
}

/* ヘッダー（直角・背景色） */
.comp-panel-header {
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 0 !important;
  border-bottom: 1px solid #ccc;
}
.vm-panel .comp-panel-header { 
  background-color: #d1d1d6; 
}
.nx-panel .comp-panel-header { 
  background-color: #d8cfff; 
}

.comp-panel-body {
  padding: 1rem 0.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  min-height: auto !important;
  flex: 1;
}

/* VM/CVM ボックス（一行配置） */
.panel-arch {
  text-align: center;
}

.mini-vm-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.mini-vm-group span {
  background: #1e5aa8;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  border-radius: 3px;
}

.mini-vm-group .cvm {
  background: #6b3fa0;
}

.mini-hv-bar {
  background: #b0bbc3;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.5rem 2rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
  border-radius: 3px;
}

.mini-hv-bar.nx-hv {
  background: #a78bcc;
}

/* インフラ構成エリア */
.panel-infra-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  justify-content: center;
  position: relative;
}

.vm-panel, .nx-panel {
  position: relative;
}

.infra-type-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}

.vm-panel .infra-type-text {
  left: 20px; /* 左カラムの左端 */
}

.nx-panel .infra-type-text {
  position: absolute !important;
  right: 20px !important;
  top: auto !important;
  bottom: -80px !important;
  transform: none !important;
}

.physical-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.large-icon {
  width: 90px;
  height: auto;
  margin: -8px 0;
}

.nx-black-box {
  background: #000;
  color: #fff;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 3px;
  /* 絶対配置を解除し、マージンで中央寄せを実現 */
  position: relative !important; 
  inset: auto !important;       /* 以前の top/right/bottom/left をすべて無効化 */
  margin: 45px auto 0 !important;
  z-index: 5;
}

.nx-panel .infra-type-text {
  position: absolute !important;
  right: 20px !important;       /* 右端に固定 */
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;      /* 以前の下配置を解除 */
}

.nx-panel .infra-type-text {
  position: absolute !important;
  /* 左側の「3-Tier構成」が left: 20px なので、右側は right: 20px で対称に配置 */
  right: 20px !important;
  left: auto !important;
  
  /* 上下中央（左側の3-Tier構成と同じ設定） */
  top: 70% !important;
  transform: translateY(-50%) !important;
  
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
  margin: 0 !important;
}

/* 管理エリア */
.panel-mgmt {
  text-align: center;
  padding-top: 1rem;
  width: 100%;
  border-top: 1px solid #ddd;
  border-top: none !important;
}

.mgmt-main {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.nx-text {
  color: #000000;
}

.mgmt-sub {
  font-size: 0.75rem;
  color: #666;
}

.nx-panel .panel-mgmt {
  margin-top: auto;
  padding-bottom: 0rem;
}

/* 中央ラベル（境界線上に重ねる） */
.comp-divider-labels {
  position: absolute;
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.divider-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.center-chip {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.4rem 0.5rem; /* 左右の余白を少し詰め、幅指定を優先させる */
  min-width: 100px;       /* ストレージの文字が入る程度の幅に設定 */
  text-align: center;    /* 文字を中央に配置 */
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: auto;
}

.dot-line-left {
  flex: 0 1 120px;
  border-top: 1.5px dotted #333;
}

.dot-line-right {
  flex: 0 1 120px;
  border-top: 1.5px dotted #333;
}

/* 右側の集約される点線（斜めライン） */
.divider-item:nth-child(1) .dot-line-right {
  transform: rotate(15deg);
  transform-origin: left center;
}

.divider-item:nth-child(3) .dot-line-right {
  transform: rotate(-15deg);
  transform-origin: left center;
}

/* 下段：代替案エリア */
.alternative-migration-direct {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 !important;
  background-color: #eff4ff;
  overflow: hidden;
}

.alternative-header-bar {
  background-color: #c6d8ff;
  color: #1a1a1a;
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  border-bottom: 1px solid #ccc;
}

.alternative-content-body {
  display: flex;
  align-items: center;
  padding: 2.5rem 3rem;
  gap: 2.5rem;
}

.alt-text-column {
  flex: 0.9;
  text-align: center;
}

.alt-lead-bold {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  white-space: nowrap;
}

.alt-desc-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #333;
}

.alt-visual-column {
  flex: 1.1;
}

.migration-simple-flow {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
}

.mig-node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mig-node-label {
  font-size: 0.8rem;
  font-weight: 800;
  border-bottom: 1.5px solid #333;
  margin-bottom: 0.4rem;
  padding-bottom: 2px;
}

.mini-vm-stack {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
}

.mini-vm-stack span {
  background: #1e5aa8;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  font-weight: 700;
  border-radius: 3px;
}

.mini-vm-stack.blue span {
  background: #1e5aa8;
}

.mini-hv-bar {
  background: #b0bbc3;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

.mini-hv-bar.blue {
  background: #0078d4;
}

.mig-flow-arrow {
  font-size: 2rem;
  padding-bottom: 1.5rem;
}

.mig-server-icon {
  width: 70px;
  height: auto;
  margin-top: 0.1rem;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  
  #vmware-comparison {
    padding: 4rem 1.5rem;
  }

  .comp-panel-body {
    padding: 1rem 0.5rem !important; /* 余白を大幅にカット */
    min-height: auto !important;
    gap: 1rem !important;
  }

  .panel-infra-row {
    gap: 1.5rem;
  }

  .alternative-content-body {
    padding: 2rem;
    gap: 1.5rem;
  }

  .mig-server-icon {
    width: 60px;
  }
}

@media (max-width: 768px) {
  #vmware-comparison {
    padding: 3rem 1.5rem;
  }

  .comparison-direct-container {
    flex-direction: column;
    border: none;
  }

  .comp-panel {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .comp-panel:last-child {
    border-bottom: none;
  }

  .comp-panel-body {
    min-height: auto;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .comp-divider-labels {
    display: none;
  }

  .panel-infra-row {
    flex-direction: column;
    gap: 1rem;
  }

  .infra-type-text {
    position: static;
    margin-bottom: 0.5rem;
  }

  .infra-type-text-nx {
    position: static;
    margin-bottom: 0.5rem;
  }

  .nx-black-box {
    position: static;
    margin-right: auto;
  }

  .alternative-migration-direct {
    border: none;
    background-color: #eff4ff;
    margin-top: 1.5rem;
  }

  .alternative-header-bar {
    font-size: 0.95rem;
    padding: 0.8rem;
  }

  .alternative-content-body {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .alt-text-column {
    text-align: center;
  }

  .alt-lead-bold {
    white-space: normal;
    font-size: 0.9rem;
  }

  .migration-simple-flow {
    gap: 1rem;
    transform: scale(0.85);
  }

  #vmware-comparison h2 {
    font-size: 1.5rem;
  }

  .mig-server-icon {
    width: 50px;
  }
}

@media (min-width: 960px) {
  #vmware-comparison {
    padding: 5rem 2rem;
  }

  .comparison-direct-container {
    max-width: 1050px;
  }

  .alternative-migration-direct {
    max-width: 1050px;
  }

  .mig-server-icon {
    width: 75px;
  }
}

@media (max-width: 850px) {
  /* 1. セクションタイトルの縮小（「VMwareとの 比較」） */
  #vmware-comparison h2 {
    font-size: clamp(0.8rem, 3vw, 1.1rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.3rem !important;
  }

  #vmware-comparison h2 .emphasis-target {
    font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    transform: translateY(-0.1rem) !important; /* 小さくなった分、浮き上がりも抑える */
  }

  /* 2. VMwareパネル：中身を上に詰め、間隔を最小化 */
  .vm-panel .comp-panel-body {
    display: flex !important;
    flex-direction: column !important;
    padding-top: 5px !important; /* 上の余白を極限までカット */
    gap: 4px !important;         /* アイコン同士の縦の隙間を狭く */
  }

  /* 3. VMwareパネル内の要素順序の入れ替え */
  /* order を使って、HTMLを変えずに見た目上の順番だけ入れ替えます */
  
  .vm-panel .panel-arch {
    order: 1 !important;
    margin-bottom: 2px !important; /* イラストとの間隔を詰める */
    transform: scale(0.85) !important; /* 少し縮小して収まりを良くする */
  }

  /* 3. 【2番目】ロゴイラストと「3-Tier」を含むエリア */
  .vm-panel .panel-infra-row {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important; /* 内部でも縦並びを強制 */
    align-items: center !important;
    gap: 0 !important;
  }

  /* ロゴイラスト（サーバー等）を「3-Tier」の上に配置 */
  .vm-panel .physical-stack {
    order: 1 !important;
  }

  .vm-panel .large-icon {
    width: 55px !important; /* サイズ維持 */
    margin: -10px 0 !important; /* 上下の余白を削って詰め寄せる */
  }

  /* 「3-Tier構成」をロゴイラストの下に配置 */
  .vm-panel .infra-type-text {
    order: 2 !important;
    position: static !important; /* 絶対配置を解除 */
    transform: none !important;
    margin: 0 0 5px 0 !important; /* 下の管理テキストとの間隔だけ少し空ける */
    font-size: 13px !important;
    font-weight: 800;
    text-align: center !important;
    margin-top: 15px !important; 
    margin-bottom: 5px !important;
  }

  /* 4. 【3番目】管理テキスト（vCenter Server...）を一番下へ */
  .vm-panel .panel-mgmt {
    order: 3 !important;
    margin-top: 0 !important;
    padding-top: 5px !important;
  }

  .vm-panel .mgmt-main {
    font-size: 20px !important;
    margin-bottom: 2px !important;
  }
  
  /* 2. 【1番目】CVM/VM/AHV の図形を最上部へ */
  .nx-panel .panel-arch {
    order: 1 !important;
    margin-top: -200px !important;
    margin-bottom: 20px !important;
    transform: scale(0.9) !important;
    position: static !important;
  }
  
  /* 3. 【2番目】Nutanixの黒い図形（ロゴ） */
  .nx-panel .nx-black-box {
    background: #000;
    color: #fff;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 3px;
    /* 絶対配置を解除し、マージンで中央寄せを実現 */
    position: relative !important; 
    inset: auto !important;       /* 以前の top/right/bottom/left をすべて無効化 */
    margin: 100px auto 0 !important; /* 左右中央に配置しつつ、上に余白を作って下に押し下げる */
    z-index: 5;
  }
  
/* 3. 【三番目】HCI構成（テキスト） */
.nx-panel .infra-type-text {
  order: 3 !important;
  position: static !important;
  display: block !important;
  margin: 0 0 20px 0 !important;
  transform: none !important;
  font-size: 14px !important;
  text-align: center !important;
  inset: auto !important;
  margin-top: -15px !important;
}
  
  /* 5. 【4番目】一番下の管理テキスト */
  .nx-panel .panel-mgmt {
    order: 4 !important;
    margin-top: 55px !important;
    padding-top: 10px !important;
    border-top: none !important;
  }
  
  /* 念のため個別のテキストクラスも絶対配置を解除 */
  .infra-type-text-nx {
    position: static !important;
    display: none !important; /* 重複表示される場合は隠します */
  }

  .alternative-content-body {
    padding: 1rem 0.8rem !important; /* 全体のパディングを縮小 */
    gap: 0.5rem !important;          /* テキストと図解の間の隙間を最小限に */
  }

  /* 2. リード文（太字部分）の調整 */
  .alt-lead-bold {
    font-size: 0.8rem !important;    /* さらに一回り小さく */
    margin-bottom: 0.3rem !important; /* 下（説明文）との余白を削る */
    line-height: 1.3 !important;
  }

  /* 3. 説明文（通常テキスト）の調整 */
  .alt-desc-text {
    font-size: 0.6rem !important;    /* 読み取れる限界まで小さく */
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
  }

  /* 4. Microsoft Hyper-V の改行を禁止し、1行にする */
  .mig-node-label {
    white-space: nowrap !important;  /* 改行を絶対にさせない */
    font-size: clamp(12px, 2vw, 10px) !important; /* 図解に合わせてサイズ調整 */
    letter-spacing: -0.02em !important;
  }

  /* 5. 図解全体のサイズを微調整してハミ出しを防止 */
  .migration-simple-flow {
    transform: scale(0.75) !important; /* 85%からさらに縮小して収まりを良くする */
    margin-top: -10px !important;      /* 説明文との距離をさらに詰める */
  }
  /* 1. 移行先代替案エリア（Hyper-Vへの矢印）の修正 */
  .mig-flow-arrow {
    font-size: 0 !important; /* 元の絵文字を消す */
    width: 30px !important;
    height: 20px !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 10px 40px !important; /* 位置を調整 */
  }

  /* 矢印の「棒」部分 */
  .mig-flow-arrow::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background-color: #333 !important;
    transform: translateY(-50%) !important;
  }

  /* 矢印の「先端」部分 */
  .mig-flow-arrow::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 4px solid #333 !important;
    border-right: 4px solid #333 !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }
}

/* ==============================
   Prism 可視化セクション
------------------------------ */
#prism-visualization {
  background-color: #f5f5f7;
  padding: 5rem 1.5rem;
}

#prism-visualization .section-inner {
  max-width: 1200px; /* 画像の迫力を出すため少し絞る */
  margin-inline: auto;
}

#prism-visualization header {
  text-align: center;
  margin-bottom: 2rem; /* 余白を詰める */
}

#prism-visualization h2 {
  text-align: center;
  font-size: 1.8rem !important; /* 強制的に統一 */
  font-weight: 500 !important;
  color: #000;
  line-height: 1.2;
  margin-bottom: 0 !important;
}

/* 強調文字（Prism / 1画面）：ここを大きく太く */
#prism-visualization h2 .emphasis-target {
  font-size: 2.8rem !important; /* 他よりさらに大きく設定しました */
  font-weight: 800 !important;   /* 圧倒的な太さ */
  margin: 0 0.1em;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  transform: translateY(-8px);
  color: #000 !important;
}

.prism-lead {
  margin: 0.5rem auto 2rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 900px;
  text-align: center;
}

/* 可視化コンテナ：グリッドを解除して画像を中央最大化 */
.prism-visualization-container {
  display: block; /* 3カラムを解除 */
  max-width: 1000px; /* 画像の最大幅 */
  margin: 0 auto;
}

/* 不要なラベル要素（丸と線）を完全に非表示にする */
.prism-labels {
  display: none !important;
}

/* ダッシュボード画像：サイズを拡大 */
.prism-dashboard-wrapper {
  width: 100%;
}

.prism-dashboard {
  margin: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15); /* 影を強くして浮かせる */
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.prism-dashboard:hover {
  transform: scale(1.02); /* ホバーで少し大きく */
}

.prism-dashboard img {
  width: 100%;
  height: auto;
  display: block;
}

.prism-dashboard figcaption {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background-color: #fcfcfc;
}

/* モバイル対応 */
@media (max-width: 850px) {
  /* 1. タイトル全体のサイズを上のセクション（概要など）と統一 */
  #prism-visualization h2 {
    font-size: clamp(0.85rem, 3.2vw, 1.1rem) !important; /* 概要セクションと同期 */
    line-height: 1.4 !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
  }

  /* 2. 「Prism」「1画面」の強調部分を太字 & 少し大きく設定 */
  #prism-visualization h2 .emphasis-target {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important; /* ベースより一回り大きく */
    font-weight: 800 !important; /* 圧倒的な太さ */
    display: inline-block !important;
    transform: translateY(-2px) !important; /* 浮き上がりを抑えめに調整 */
    margin: 0 0.1em !important;
    line-height: 1 !important;
  }

  /* 3. リード文（説明文）を小さく調整 */
  #prism-visualization .prism-lead {
    font-size: 0.75rem !important; /* 約12px程度に縮小 */
    line-height: 1.5 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 5% !important; /* 左右に少し余白を持たせて読みやすく */
    color: #666 !important;
  }

  /* 4. ダッシュボード画像自体の余白も微調整 */
  .prism-dashboard-wrapper {
    margin-top: 0 !important;
  }
}

/* ==============================
   導入メリットセクション（デザイン通りのジグザグ配置）
------------------------------ */
#merit {
  position: relative;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  background: none !important;
  overflow: visible;
  box-sizing: border-box;
}

/* 背景画像を疑似要素で全画面に表示 */
#merit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200vw;
  /* 画面幅に関わらず表示される縦幅をほぼ一定にする */
  height: 100% !important;
  background-image: url("../img/grayback.svg");
  /* 横幅いっぱいに広げつつ、縦横比を維持してトリミング */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #f5f5f7;
  z-index: -1;
}

/* タイトル：中央配置 */
.merit-header {
  text-align: center;
  margin-bottom: 2rem !important;
}

#merit h2 {
  font-size: clamp(2rem, 3vw, 3rem) !important;
  font-weight: 700;
  margin-bottom: 0 !important;
  line-height: 1;
}

/* グリッド：全幅で縦に並べる */
.merit-v-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

/* カード共通 */
.merit-card-v {
  display: flex !important;
  align-items: center;
  gap: 0rem !important;
  position: relative;
  width: 50%;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  box-sizing: border-box;
}

.merit-card-v.show {
  opacity: 1;
  transform: translateY(0);
}

/* 順番に時間差で出現するアニメーション */
.card-01.show { transition-delay: 0.1s; }
.card-02.show { transition-delay: 0.3s; }
.card-03.show { transition-delay: 0.5s; }
.card-04.show { transition-delay: 0.7s; }
.card-05.show { transition-delay: 0.9s; }

/* 番号 */
.v-num {
  font-size: clamp(3.5rem, 5vw, 5.5rem) !important;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
  margin: 0 !important;
  position: static !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

/* 文字エリア */
.v-body {
  flex-shrink: 0;
}

.v-body h3 {
  font-size: clamp(1rem, 1.8vw, 1.8rem) !important;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  color: #1a1a1a;
  word-break: keep-all;
}

.v-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* アイコン画像 */
.v-img {
  width: clamp(250px, 10vw, 350px) !important;
  flex-shrink: 0;
  margin-left: -10vw !important;
  margin: 0 !important;
  position: static !important;
  z-index: 2;
  transition: transform 0.3s ease;
}

.v-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.12));
}

/* --- 左カード (01, 03, 05)：左半分に配置、アイコンが中央ライン付近 --- */
.card-left {
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
  flex-direction: row;
  text-align: left;
  justify-content: flex-end;
  padding-right: 0;
}

.card-left .v-body {
  text-align: left;
}

/* --- 右カード (02, 04)：右半分に配置、番号が中央ライン付近から始まる --- */
.card-right {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
  padding-left: 1rem;
}

.card-right .v-body {
  text-align: left;
}

/* --- 垂直方向のマージン（カード間スペースを広げる） --- */
.card-01 { margin-top: 0; }
.card-02 { margin-top: 1rem; }
.card-03 { margin-top: 2rem; }
.card-04 { margin-top: 1rem; }
.card-05 { margin-top: 2rem; }

/* ホバーエフェクト */
.merit-card-v:hover .v-img {
  transform: scale(1.1);
}

/* --- モバイル対応（850px以下） --- */
@media (max-width: 850px) {
  #merit h2 {
    /* 以前の clamp(2rem, 3vw, 3rem) から、一段階小さいサイズ（約20px〜28px）へ変更 */
    font-size: clamp(1.25rem, 4vw, 1.75rem) !important;
    
    /* 上下の余白もバランスを見て微調整 */
    margin-bottom: 1.5rem !important; 
    line-height: 1.2 !important;
    text-align: center !important;
  }
  #merit {
    padding: 3rem 0 !important;
  }
  .merit-v-grid {
    max-width: 100%;
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .merit-card-v {
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    margin-top: 0 !important;
  }
  .v-num {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
  }
  .v-body {
    width: 100% !important;
    max-width: 140px !important;  /* テキストの最大幅を制限して左右に余白を作る */
    margin-inline: auto !important;
    padding: 0 10px !important;   /* 内側の左右余白 */
    box-sizing: border-box !important;
  }
  .v-img {
    width: clamp(90px, 30vw, 130px) !important;
  }

  /* 2. 02, 04（card-right）に設定されている独自の余白や配置を完全に解除 */
  #merit .card-left, 
  #merit .card-right {
    justify-content: center !important;
    padding: 0 !important;
    margin-top: 1.5rem !important; /* カード間の間隔を一定に */
  }

  /* 3. 数字、文言、ロゴの各パーツの間隔と位置を統一 */
  #merit .v-num {
    margin: 0 0 0.5rem 0 !important; /* 数字下の余白を統一 */
    min-width: 0 !important;
    line-height: 1 !important;
    padding-left: 30px !important;
  }
  /* 4. アニメーション等で位置がずれるのを防ぐ */
  .merit-card-v.show {
    transform: translateY(0) !important;
  }
}

/* ==============================
   Nutanixへの移行の進め方セクション
------------------------------ */
#migration-process {
  background-color: #f5f5f7;
  /* セクション全体の縦幅を少しだけコンパクトにする */
  padding: 4.5rem 0.5rem;
}

#migration-process .section-inner {
  max-width: 1100px; /* 全体を中央にギュッと寄せる */
  margin-inline: auto;
}

#migration-process h2 {
  text-align: center;
  /* 見出しを少しだけ大きくする */
  font-size: 2rem; /* 概要よりやや大きめ */
  font-weight: 500;
  color: #000;
  /* タイトルとカードの間の余白も少し詰める */
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.emphasis-target,
.shadow-nutanix {
  /* 「Nutanix」「移行」の強調部分もわずかに拡大 */
  font-size: 3rem !important;
  font-weight: 900 !important;
  margin: 0 0.1em;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  transform: translateY(-8px);
  color: #000;
  /* 共通部分には影を書かない（移行に影がつかないようにするため） */
  text-shadow: none !important; 
}

/* --- Nutanix だけに添付画像のような影をつける --- */
.shadow-nutanix {
  /* 右に2px、下に2px、ぼかし0、紫色の透明度40% */
  text-shadow: 2px 2px 0 rgba(111, 60, 195, 0.4) !important;
}

/* 連結レイアウトを実現するコンテナ */
.steps-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1250px; /* 余白分、少し幅を広げます */
  margin: 0 auto;
  /* ステップ間の「隙間」を指定 */
  /* タイトルとカードが重ならないよう、上のネガティブマージンを解消しつつ、少しだけ詰める */
  margin-top: 1rem;
  gap: 15px; 
  padding-left: 0; /* 連結ではないため、左パディングは不要 */
  /* セクション下側の余白も少しだけ減らす */
  margin-bottom: 4rem;
}

/* ステップボックス基本スタイル */
.step-box {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem 2rem 2rem;
  min-height: 280px;
  background-color: #6f3cc3 !important;
  
  /* 前の要素とピタリと重ねる（ネガティブマージン） */
  margin-left: -35px; 
  
  /* シェブロン形状を維持 */
  clip-path: polygon(
    0% 0%, 
    88% 0%, 
    100% 50%, 
    88% 100%, 
    0% 100%, 
    12% 50%
  );
  
  text-align: center;
  transition: transform 0.3s ease;
  z-index: 1;
}

/* 02番目のボックスの枠色を上書き */
.steps-container .step-box-02 {
  background-color: #b69dff !important;
}

/* 04番目のボックスの枠色を上書き */
.steps-container .step-box-04 {
  background-color: #b69dff !important;
}

/* 最初の要素だけ左側の凹みをなくす、またはマージンをリセット */
.step-box:first-child {
  margin-left: 0;
  padding-left: 1.5rem;
  clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%);
}

.step-box:hover {
  z-index: 10;
  transform: translateY(-5px);
}

/* 内部要素の凝縮 */
.step-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.1rem;
}

.step-number {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

/* アイコンの最大化 */
.step-icon {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.step-icon img {
  /* width: 85% を維持しつつ、scale で枠を突き破る大きさに調整 */
  width: 85%;
  height: auto;
  max-height: none !important; /* 高さ制限を解除 */
  object-fit: contain;
  
  /* --- ここが重要：画像を 1.6倍 に拡大して枠からはみ出させます --- */
  transform: scale(1.3); 
  transform-origin: center center;
  
  /* 画像に立体感や視認性を出すための影（お好みで調整してください） */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* 説明文を中央寄せ・コンパクトに */
.step-description {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-top: auto;
  padding: 0 0.5rem;
  word-break: keep-all; /* 単語の途中で改行させない */
}

.step-box::before {
  content: "";
  position: absolute;
  /* 枠線の太さ分（2px）だけ内側に追い込む */
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  
  /* 内側を白く塗る */
  background-color: #ffffff !important;
  
  /* コンテンツより背後、かつ紫の本体より前面に配置 */
  z-index: -1; 
  
  /* 本体と同じ比率の形状にする */
  clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%, 12% 50%);
}

/* 最初の要素の形状調整（左側を垂直に） */
.step-box:first-child,
.step-box:first-child::before {
  clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%);
  margin-left: 0;
}

/* ホバー効果 */
.step-box:hover {
  transform: translateY(-5px);
}

/* 内部要素（文字やアイコンを白背景の上で見えるようにする） */
.step-label, .step-number, .step-description {
  position: relative;
  z-index: 2; /* 白い背景(z-index: -1)より確実に前に出す */
  color: #1a1a1a;
}

.step-icon {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.step-icon img {
  width: 85%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* モバイル対応：縦並びにして形状を解除 */
@media (max-width: 850px) {

  /* 1. タイトル：「Nutanix」が大きすぎたのでさらに縮小 */
  #prism-visualization h2,
  #migration-process h2 {
    font-size: 13px !important; /* 他のセクション見出しに合わせる */
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }

  #prism-visualization h2 .emphasis-target,
  #migration-process h2 .emphasis-target,
  #migration-process h2 .shadow-nutanix {
    font-size: 20px !important; /* Prismと同じ大きさに固定 */
    font-weight: 800 !important; /* 太さを Prism セクションに合わせる */
    display: inline-block !important;
    transform: translateY(-2px) !important; /* 浮き上がりを統一 */
    margin: 0 2px !important;
    line-height: 1 !important;
    /* Nutanixの影が濃すぎる場合はここでリセット */
    text-shadow: 1px 1px 0 rgba(111, 60, 195, 0.2) !important; 
  }

  /* 1. コンテナ：横並びを完全に解除して縦一列に強制する */
  #migration-process .steps-container {
    display: flex !important;
    flex-direction: column !important; /* 横並びを解除 */
    align-items: center !important;    /* 中央揃え */
    gap: 0 !important;                /* 隙間をなくして連結させる */
    padding: 0 1rem !important;
    margin-top: 2rem !important;
  }

  /* 2. ステップボックス：左右を直線にし、下だけを尖らせる（順序を修正） */
  .step-box {
    max-width: 250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 5px !important; /* ボックスを少し重ねて、上の箱の先端を見せる */
    padding: 1.2rem 1.0rem !important;
    background-color: #6f3cc3 !important;
    border: none !important;
    width: 100% !important;

    /* 頂点の順序を修正：左上(0,0) → 右上(100,0) → 右下肩(100,92) → 下先端(50,100) → 左下肩(0,92) */
    clip-path: polygon(
      0% 0%, 
      100% 0%, 
      100% 92%, 
      50% 100%, 
      0% 92%
    ) !important;
  }

  /* 最初のボックス（STEP 01）は上部の重なりがないため、マージンをリセット */
  .step-box:first-child {
    margin-top: 0 !important;
  }

  /* 3. 白い中枠（::before）も外枠と完全に同じ形状に同期 */
  .step-box::before {
    background-color: #ffffff !important;
    clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 50% 100%, 0% 92%) !important;
    z-index: -1;
  }
  #migration-process .step-box:first-child::before {
    clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 50% 100%, 0% 92%) !important;
  }

  /* 4. 内部コンテンツのサイズ微調整 */
  .step-number { 
    font-size: 2rem !important; 
    margin-bottom: 0.3rem !important;
  }
  
  .step-icon { 
    height: 65px !important; 
    margin-bottom: 8px !important; 
  }
  
  #migration-process .step-icon img {
    /* 元のサイズの2.5倍に拡大。数字や説明文と重なるようになります */
    transform: scale(3.0) !important; 
    max-height: 100% !important;
    width: auto !important;
    position: relative;
    z-index: 5; /* 階層を上げて前面に出す */
    /* 重なった時に見えやすくするため、軽い影をつけます */
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)) !important;
    margin-top: 50px !important; 
  }

  .step-description {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important; 
  }
  /* 1. ステップ図のコンテナ下の余白をゼロにする */
  #migration-process .steps-container {
    margin-bottom: 0.5 !important; /* 4rem を 0 に上書き */
  }

  /* 2. セクション（背景色のあるエリア）自体の下の余白をゼロにする */
  #migration-process {
    padding-bottom: 0 !important; /* 4.5rem を 0 に上書き */
  }

  /* 3. 最後のボックス（STEP 05）の下端を調整 */
  #migration-process .step-box:last-child {
    margin-bottom: 0 !important;
  }
}

/* ==============================
   テナサポセクション
------------------------------ */
#tenasapo {
  background-color: #1a1a1a;
  padding: 0 1.5rem 6rem;
  position: relative;
  overflow: visible; /* 三角形を外側にはみ出させるために必須 */
}

/* 移行セクションと同じ色(#f5f5f7)で、ヒーローと同じ形の三角形を作る */
.tenasapo-top-wave {
  position: absolute;
  top: -25px; /* 隙間ができないよう調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  
  /* ヒーローの三角形と同じ比率（幅・高さ）に調整 */
  /* 横幅を狭くしたい場合は、左右の 30vw をさらに小さくしてください */
  border-left: 30vw solid transparent; 
  border-right: 30vw solid transparent;
  border-top: 5vw solid #f5f5f7; /* ここを移行セクションと同じ色に設定 */
  
  z-index: 10; /* 黒背景の上に確実に表示 */
  background-color: transparent; /* 以前の背景色指定がある場合はクリア */
  clip-path: none; /* 前回の clip-path 指定が残っている場合は無効化 */
}

#tenasapo .section-inner {
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* ヘッダー部分 */
.tenasapo-header {
  text-align: center;
  padding-top: 4rem;
  margin-bottom: 2rem;
}

/* タグライン（左寄せ） */
.tenasapo-tagline {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: #999999;
  font-weight: 400;
  position: relative;
  text-align: left;
  max-width: fit-content;
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
}

/* アンダーラインを左側に配置 */
.tagline-underline {
  position: absolute;
  bottom: -20px; /* 位置を少し調整 */
  left: 0;
  width: 100%;
  height: 20px; /* 全体の高さ */
  background: none; /* 以前のグラデーション背景を消去 */
}

/* 左側の線 */
.tagline-underline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 55%; /* 左側の線の長さ */
  height: 1px;
  background-color: #666; /* 線の色 */
}

/* 斜めの線（少しずらして配置） */
.tagline-underline::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 0;
  width: 10%; /* 右側の線の長さ（中央を開けるため短めに設定） */
  height: 1px;
  background-color: #666;
  transform-origin: left top;
  transform: rotate(30deg); /* 30度右斜め下に回転 */
}

/* 3. 右側の水平線（新しく追加） */
.tenasapo-tagline::after {
  content: "";
  position: absolute;
  bottom: -2px; /* tagline-underline の bottom と合わせる */
  right: 0;
  width: 35%; /* 指定いただいた長さ */
  height: 1px;
  background-color: #666;
}

#tenasapo h2 {
  margin: 0 0 1rem;
  font-size: 2.3rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
  padding-top: 0.5rem;
}

.tenasapo-highlight {
  font-weight: 700;
  color: #ff9f1c;
  font-size: 2.8rem;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8) !important;
}

.tenasapo-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #cccccc;
}

/* 中央バナーラッパー */
.tenasapo-banner-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: fit-content !important; /* これで幅が箱と一致します */
  margin: 0 auto !important;     /* 中央寄せ */
  gap: 10px !important;          /* 線と箱の間隔 */
}

/* バナー上下の横線 */
.banner-line {
  width: 100% !important;        /* wrapper（=箱の幅）に対して100%にする */
  height: 5px !important;
  background-color: #ff9f1c !important;
  margin: 0 !important;
  min-width: 0 !important;       /* 以前の固定幅を解除 */
  max-width: none !important;    /* 以前の制限を解除 */
}

/* 中央バナー（コンパクト化） */
.tenasapo-banner {
  width: auto !important;
  display: block !important;
}

.banner-content {
  padding: 1rem 2rem;
  background-color: #ff9f1c;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  flex-shrink: 0;
}

.banner-number {
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6) !important;
}

/* 4つのポイント */
.tenasapo-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* テナサポカード */
.tenasapo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.8rem 1.5rem;
  border: 1px solid #ffffff;
  background-color: #1a1a1a;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 300px;
}

.tenasapo-card:hover {
  background-color: rgba(255, 159, 28, 0.05);
  border-color: #ff9f1c;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255, 159, 28, 0.2);
}

/* カードアイコン（最大化） */
.card-icon {
  width: 200px;      /* 140px から 200px に拡大 */
  height: 200px;     /* 140px から 200px に拡大 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: -30px; /* 位置を上に引き上げる */
  flex-shrink: 0;
  overflow: visible; /* 画像がはみ出しても表示されるようにする */
}

/* 中の画像をコンテナいっぱいに広げる */
.card-icon img {
  width: 100% !important;  /* 強制的に幅いっぱいにする */
  height: 100% !important; /* 強制的に高さいっぱいにする */
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 159, 28, 0.45));
  transition: filter 0.3s ease;
}

.tenasapo-card:hover .card-icon img {
  filter: drop-shadow(0 0 28px rgba(255, 159, 28, 0.75));
}

/* カードタイトル */
.card-title {
  margin: 0.8rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

/* カード説明 */
.card-description {
  margin: 0;
  font-size: 0.75rem;
  color: #cccccc;
  line-height: 1.6;
}

#tenasapo .banner-line {
  width: 100% !important;
  margin-inline: auto;
}

/* 2. アイコンの「器」のサイズを固定して、画像だけをはみ出させる */
#tenasapo .card-icon {
  width: 140px !important;   /* 器の幅を元のサイズに戻す（これで白枠が広がりません） */
  height: 120px !important;  /* 高さを少し抑えてテキストとの距離を保つ */
  margin-top: -20px !important;
  position: relative;        /* 配置の基準にする */
  overflow: visible !important; /* 重要：枠からはみ出すことを許可する */
}

#tenasapo .card-icon img {
  width: 270px !important;   /* 器（140px）より大きいサイズを強制指定 */
  height: 270px !important;  /* 器より大きいサイズを強制指定 */
  max-width: none !important; /* 制限を解除 */
  position: absolute;        /* 器の中央に浮かせる */
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全に中央へ配置 */
  object-fit: contain;
  z-index: 10;
}

/* 3. 画像が大きくなった分、テキストとの間隔を空ける */
#tenasapo .card-title {
  margin-top: 50px !important; /* 画像の重なり具合を見て数値を調整してください */
}

/* レスポンシブ対応 */
@media (max-width: 850px) {
  /* 1. ヘッダー全体の上の余白(padding)をゼロにする */
  #tenasapo .tenasapo-header {
    padding-top: 0 !important; /* 3rem を 0 に上書き */
    margin-top: 0 !important;
  }

  /* 2. タグライン自体の上の余白(margin)もゼロにする */
  #tenasapo .tenasapo-tagline {
    margin-top: 0 !important; /* 既存のマージンをリセット */
    padding-top: 5px !important; /* 0だと詰まりすぎる場合、ここを微調整してください */
  }
  #tenasapo .tenasapo-tagline {
    font-size: 10px !important; /* 0.75rem(12px) からさらに縮小 */
    color: #888888 !important;   /* 明度を下げて馴染ませる */
    margin-bottom: 0.8rem !important;
    letter-spacing: 0.02em;
  }

  /* 2. 下線を極細（0.5px）にし、色を薄くする */
  #tenasapo .tagline-underline::before,
  #tenasapo .tagline-underline::after,
  #tenasapo .tenasapo-tagline::after {
    height: 0.5px !important;    /* 1px から 0.5px へ極細化 */
    background-color: #444444 !important; /* 線を暗くして目立たなくする */
  }

  /* 3. 右側の短い線の長さをさらにカットし、位置を文字に近づける */
  #tenasapo .tenasapo-tagline::after {
    width: 35% !important;       /* 35% から 20% へ短縮 */
    bottom: -1px !important;     /* 文字との距離を詰める */
  }
  /* 1. タイトルベース（購入後は〜にお任せください！）を他と同期 */
  #tenasapo h2 {
    font-size: 14px !important; /* Prismや移行セクションと統一 */
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
  }

  /* 2. 「テナサポ」の強調：他セクションの「Nutanix」等と同じサイズに固定 */
  #tenasapo .tenasapo-highlight {
    font-size: 20px !important; /* 強調サイズを20pxに固定 */
    font-weight: 800 !important;
    color: #ff9f1c !important; /* テナサポのブランドカラーを維持 */
    display: inline-block !important;
    transform: translateY(-2px) !important; /* 他と揃えて少し浮かせる */
    margin: 0 2px !important;
    text-shadow: none !important; /* 白い影を消してスッキリさせ、他と統一 */
  }

  /* 3. リード文の微調整 */
  .tenasapo-lead {
    font-size: 0.6rem !important; /* Prismのリード文(0.75rem)と同期 */
    line-height: 1.6 !important;
    color: #cccccc !important;
    margin-bottom: 1.5rem !important;
  }

  .banner-line {
    width: 150% !important;
    height: 2px !important; /* スマホでは極細のラインに変更 */
  }

  .banner-content {
    padding: 0.4rem 1.2rem !important; /* 縦幅をさらに圧縮 */
    font-size: 0.85rem !important;     /* スマホで見やすい小ぶりなサイズに */
  }
  
  /* 線を細くした分、上下の詰まり感を解消するために隙間を微調整 */
  .tenasapo-banner-wrapper {
    gap: 8px !important;
  }
  #tenasapo .tenasapo-points {
    display: flex !important;
    flex-direction: column !important; /* 縦並びに変更 */
    align-items: center !important;    /* 中央揃え */
    gap: 1.5rem !important;           /* カード同士の上下間隔 */
    margin-top: 2rem !important;
  }

  /* 2. 各カード：幅をスマホサイズに最適化し、高さを自動調整 */
  #tenasapo .tenasapo-card {
    width: 100% !important;
    max-width: 270px !important;       /* スマホで読みやすい横幅に固定 */
    min-height: auto !important;       /* PC版の 300px 指定を解除 */
    padding: 2.5rem 1.5rem !important;
  }

  /* 3. カード内アイコン：巨大化しつつ、テキストとの重なりを防止 */
  #tenasapo .card-icon {
    width: 140px !important;   /* 器の幅を元のサイズに戻す（これで白枠が広がりません） */
    height: 120px !important;  /* 高さを少し抑えてテキストとの距離を保つ */
    margin-top: -20px !important; /* 位置を上に引き上げる */
    position: relative;        /* 配置の基準にする */
    overflow: visible !important; /* 重要：枠からはみ出すことを許可する */
  }

  #tenasapo .card-icon img {
    width: 300px !important; /* アイコンを強調 */
    height: 300px !important;
    transform: translate(-50%, -45%) !important;
  }

  /* 4. 上下のライン：px指定で「短く」確実に固定 */
  #tenasapo .banner-line {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  /* 5. オレンジのボックス：不自然な広がりを抑える */
  #tenasapo .banner-content {
    width: fit-content !important;
    min-width: 200px !important;
    padding: 0.4rem 1.2rem !important;
  }
}

/* ==============================
   フッターセクション
------------------------------ */
#footer {
  background-color: #222222;
  color: #ffffff;
  padding: 4rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* 上段：CTAボタン */
.footer-cta-section {
  text-align: center;
  width: 100%;
}

.footer-cta-button {
  display: inline-block;
  padding: 1rem 4rem;
  background-color: #ff9f1c;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
  transition: all 0.3s ease;
}

/* 中段：2カラムレイアウト（中央集約） */
.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem; /* ボックスとテキストの間隔 */
  width: 100%;
}

/* 左側：テナモ紹介（枠は固定、ロゴだけ巨大化） */
.footer-tenamo {
  flex-shrink: 0;
}

.tenamo-box {
  background: radial-gradient(circle, #ffde59 0%, #ff914d 80%);
  border-radius: 20px;
  padding: 1.5rem 2.5rem;
  width: 380px;            /* 枠の幅を固定 */
  height: 200px;           /* 枠の高さを固定（画像がはみ出しても変わらない） */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* 内部要素を垂直中央に */
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;      /* 画像の絶対配置の基準 */
}

.tenamo-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  position: absolute;
  top: 1.5rem;
}

/* ロゴ画像の巨大化設定 */
.tenamo-logo {
  width: 180px;            /* 基準の器の幅 */
  height: 100px;
  position: relative;
  overflow: visible;       /* はみ出しを許可 */
  margin: 1rem 0;
}

.tenamo-logo img {
  width: 300px !important;  /* 枠（380px）に収まる範囲で巨大化 */
  max-width: none !important;
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全に中央揃え */
  object-fit: contain;
}

.tenamo-description {
  /* margin ではなく transform で位置を微調整します */
  margin: 0 0 1rem;            /* 外側の余白はリセット */
  transform: translateY(25px); /* これで文字だけを 25px 下にずらします */
  font-size: 0.7rem;
  font-weight: 700;
  color: #1a1a1a;
  z-index: 5;                  /* ロゴよりも前面に来るように数値を上げます */
  position: relative;          /* translateY や z-index を効かせるために必須 */
}

/* 文字を下げた分、その下のボタンが重ならないよう調整が必要な場合 */
.tenamo-link-button {
  display: inline-block;
  padding: 0.6rem 2.5rem;
  background-color: #ff9f1c;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  z-index: 5;
  position: relative;
  transform: translateY(15px); /* ボタンも少し下げるとバランスが良くなります */
}

/* 右側：お問い合わせ情報（中央揃えに変更） */
.footer-contact-info {
  text-align: center;      /* 指定通り中央揃えに戻しました */
  flex-shrink: 0;
}

.footer-contact-info h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.contact-department {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contact-phone {
  margin: 0.2rem 0;
  font-size: 1.2rem;
}

.contact-phone a {
  color: #ffffff;
  text-decoration: none;
}

.contact-hours {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.copyright {
  font-size: 0.7rem;
  color: #888;
  margin-top: 1rem;
}

/* レスポンシブ */
@media (max-width: 850px) {
  .footer-main {
    flex-direction: column;
    gap: 3rem;
  }
  .tenamo-box {
    width: 100%;
    max-width: 360px;
  }
  .tenamo-logo img {
    width: 240px !important; /* スマホでは少し抑える */
  }
  .footer-contact-info {
    text-align: center !important;
    letter-spacing: -0.05em !important; /* 文字同士を少し重ねるくらいに詰める */
    line-height: 1.2 !important;        /* 行の間を極限まで詰める */
  }

  /* 2. 「お問い合わせ」見出しの調整 */
  .footer-contact-info h3 {
    font-size: 0.8rem !important;
    margin-bottom: 0.3rem !important; /* 下の文字との隙間をカット */
  }

  /* 3. 各連絡先（部門名・電話・時間）の隙間を排除 */
  .contact-department,
  .contact-phone,
  .contact-hours {
    font-size: 0.75rem !important;
    margin: 0 0 2px 0 !important;      /* 要素間の余白を 2px に固定 */
  }

  /* 電話番号：文字サイズを維持しつつ、間隔だけをシャープに */
  .contact-phone {
    font-size: 1.1rem !important;      /* 視認性を保つためサイズは微減に留める */
    font-weight: 500 !important;
    letter-spacing: -0.02em !important; /* 数字の重なり過ぎを防止 */
  }

  /* 4. コピーライトの隙間も詰める */
  .copyright {
    margin-top: 0.5rem !important;    /* 1rem から 0.5rem へ短縮 */
    font-size: 0.65rem !important;
  }
}

/* ==================================================
   全画面サイズ対応：レスポンシブ & モバイルメニュー
================================================== */

/* --- A. ハンバーガーボタンのスタイル --- */
.mobile-menu-toggle {
  display: none; /* PCでは隠す */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  margin-left: auto;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* --- B. モバイル表示（850px以下全般） --- */
@media (max-width: 850px) {
  /* ヘッダーのプルダウン化 */
  .mobile-menu-toggle { display: flex; }
  
  .site-nav {
    position: absolute;
    top: 72px; /* ヘッダーの高さ */
    left: 0;
    width: 100%;
    background-color: #151515;
    max-height: 0; /* 最初は閉じる */
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin: 0;
  }

  /* メニューが開いた状態 */
  .site-nav.is-open {
    max-height: 500px;
    border-bottom: 2px solid #ff9f1c;
  }

  .site-nav-list {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .site-nav-list li {
    width: 100%;
    text-align: center;
  }

  .site-nav-list a {
    display: block;
    padding: 1rem;
    font-size: 1rem;
  }

  .header-cta { display: none; } /* モバイルではメニュー内に入れるか非表示 */

  /* セクション全体の余白調整 */
  section { padding: 3rem 1rem !important; }
}

/* ==================================================
   モバイル版：タイトル・テキストのレスポンシブ化
================================================== */

@media (max-width: 850px) {
  /* 1. タイトル：さらに一段階小さく設定 */
  #hero h1 {
    /* 最小18pxまで許可。画面幅の6%で計算し、最大でも28pxに抑える */
    font-size: clamp(18px, 6vw, 28px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em; /* 文字間を少し詰めてさらにコンパクトに */
  }

  /* 2. 説明文：より控えめなサイズに */
  #hero p {
    /* 最小12px、最大14px。情報量を保ちつつ小さく表示 */
    font-size: clamp(8px, 1vw, 14px) !important;
    width: 90% !important; /* 左右の余白をさらに広げる */
    opacity: 0.9; /* 少し透過させて圧迫感を減らす */
  }

  /* 3. 画像のさらなる自動縮小 */
  /* 全体の画像サイズを画面幅の80%程度に制限したい場合 */
  #hero figure img, 
  .step-icon img, 
  .card-icon img {
    max-width: 30% !important;
    margin-inline: auto !important;
  }

  /* 4. セクション全体のパディングを詰める */
  section {
    padding: 2.5rem 1rem !important; /* 上下の余白を削ってコンパクトに */
  }
}

/* --- スマホ版：横揺れ（右側の余白）完全解消 --- */
@media (max-width: 850px) {
  /* 1. サイト全体の横はみ出しを強制カット */
  html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
  }

  /* 2. 導入メリットセクションの全幅背景をスマホ用にリセット */
  #merit {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
  }
  
  /* 全画面背景を生成していた疑似要素の幅を制限 */
  #merit::before {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }

  /* 3. 概要セクションの全幅背景設定もリセット */
  #overview {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* 4. 移行ステップのネガティブマージン（-35px）を解除 */
  #migration-process .step-box {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 90% !important; /* 画面内に収まるように */
  }

  /* 5. 比較コンテナの枠線のハミ出しを防止 */
  .comparison-direct-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}