/* スマホサイズ時 .hdcube-title span を中央揃え */
@media (max-width: 600px) {
  .hdcube-title span {
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
}
/* スマホサイズのみ .sp-br を表示 */
.sp-br {
  display: none;
}

@media (max-width: 600px) {
  .sp-br {
    display: inline;
  }
}
@media (max-width: 480px) {
  .key-highlight {
    font-size: 0.95em !important;
  }
}
.version-title{
  display: flex;
  align-items: center;
  justify-content: center; /* タイトルを中央寄せ */
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.version-icon{
  width: clamp(56px, 10vw, 120px); /* 画像を大きく */
  height: auto;
  object-fit: contain;
  display: inline-block;
}

/* スマホでのバランス調整 */
@media (max-width: 480px) {
  .version-icon { width: clamp(36px, 12vw, 64px); }
  .version-title { gap: 0.4rem; font-size: 1rem; }
  .section-description {
    text-align: left !important;
  }
}

  .hdcube-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
    text-align: left;
  }
/* 必要ならタイトル行の余白調整 */
.version-card .version-title { margin-bottom: 0.5rem; }
/* ==============================
   HD-CUBE 専用デザイン
   （data_vault.cssに準拠）
============================== */

.hdcube-hero {
  position: relative;
  height: 440px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: url("../images/hd_cube/hd_cube1.png") center/cover no-repeat;
  overflow: hidden;
}

.hdcube-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 20, 60, 0.3), rgba(0, 10, 25, 0.4));
  z-index: 1;
}

.hdcube-hero .container {
  position: relative;
  z-index: 2;
}

.hdcube-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 6px 12px rgba(0,0,0,0.6);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInHero 1s ease forwards;
}

.hdcube-hero p {
  font-size: 1.1rem;
  color: #eef2ff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeInHero 1.4s ease forwards;
}

@keyframes fadeInHero {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 概要 ===== */
.hdcube-overview {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #e9f5ff 0%, #ffffff 100%);
}
.hdcube-overview h2 {
  font-size: 2rem;
  color: #003366;
}
.hdcube-overview h2 span {
  display: block;
  font-size: 0.9rem;
  color: #6a7db0;
  margin-top: 6px;
}

.section-divider-blue {
  height: 2px;
  background: linear-gradient(to right, transparent, #003366, #4a90e2, #003366, transparent);
  margin: 20px auto 30px;
  max-width: 600px;
  opacity: 0.8;
}

.hdcube-overview p {
  margin-top: 20px;
  line-height: 1.9;
  color: #333;
}


/* ==============================
   5つの特長（番号付きリスト）
============================== */
.hdcube-feature {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 100px 20px;
  text-align: center;
}

.hdcube-feature h2 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #003366, #0066cc);
  padding: 20px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.hdcube-feature h2 span {
  display: block;
  font-size: 0.9rem;
  color: #6a7db0;
  margin-top: 6px;
  font-weight: 400;
}

/* --- 番号付きリスト全体 --- */
.feature-block {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #003366;
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.1);
}

.feature-list {
  list-style: none;
  counter-reset: num;
  padding: 0;
  margin: 0;
}

.feature-list li {
  counter-increment: num;
  position: relative;
  padding-left: 3.5em;
  margin-bottom: 18px;
  padding-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  border-bottom: 1px solid #e0e6ed;
}

.feature-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-list li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: linear-gradient(135deg, #9cb4cc, #4c6e91);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 2em;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.feature-list strong {
  color: #003366;
  font-weight: 700;
  font-size: 1.3em;
  text-shadow: 0 1px 2px rgba(0, 51, 102, 0.2);
  letter-spacing: 0.02em;
}

/* 動作速度が速いの見出し色を他の feature-list 見出しにも適用 */
.feature-list li > strong{
  font-size: 1.12rem; /* 任意で調整 */
  font-weight: 800;
  color: #0b62a6; /* 既存の見出し色に合わせる */
  line-height: 1.08;
  display: inline-block;
}

/* もし既存の first-child ルールが干渉する場合は、ここで上書きする */
.feature-list li:first-child > strong{
  font-size: 1.12rem;
}

/* 1番目タイトルのサイズ強調はそのまま維持 */
.feature-list li:first-child > strong {
  font-size: 1.18rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 0.28rem;
  line-height: 1.05;
}

/* モバイルでの調整 */
@media (max-width: 480px) {
  .feature-list li:first-child > strong {
    font-size: 1.02rem;
  }
}

/* --- 英語タグデザイン --- */
.feature-tag {
  display: inline-block;
  margin-left: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: linear-gradient(135deg, #4c6e91, #003366);
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 51, 102, 0.2);
  text-transform: uppercase;
  position: relative;
  top: -2px;
  transition: all 0.3s ease;
}

.feature-tag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
  opacity: 0.3;
}

.feature-list li:hover .feature-tag {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.25);
}

/* マーカーペンのハイライト効果 */
.highlight {
  background: linear-gradient(transparent 60%, #b3d4fc 60%, #b3d4fc 85%, transparent 85%);
  padding: 2px 4px;
  border-radius: 2px;
  position: relative;
  font-weight: bold;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .hdcube-feature {
    padding: 60px 20px;
  }
  .hdcube-feature h2 {
    font-size: 1.6rem;
  }
  .feature-list li {
    padding-left: 3em;
    font-size: 0.95rem;
  }
  .feature-list li::before {
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
    font-size: 0.9rem;
  }
}


/* ===== バージョンカード ===== */
.hdcube-version {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.hdcube-version h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  align-items: center;
}

.hd-cube-logo {
  height: 4.2rem;
  width: auto;
  vertical-align: middle;
  margin-right: 15px;
  filter: drop-shadow(0 2px 4px rgba(0, 51, 102, 0.1));
  transition: all 0.3s ease;
}

.hd-cube-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 3px 6px rgba(0, 51, 102, 0.15));
}

.hdcube-version h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80%;
  height: 6px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 3px;
}
.version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.version-card {
  background: #f7f9fc;
  border-left: 5px solid #4C6E91;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: background 0.3s ease;
}
.version-card:hover {
  background: #eef3f9;
}
.version-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 51, 102, 0.2);
  letter-spacing: 0.02em;
}
.version-card p {
  color: #333;
  line-height: 1.8;
}
/* ==============================
   業務フローと機能対応表
============================== */
.hdcube-table {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
}

.hdcube-table h2 {
  font-size: 2rem;
  color: #003366;
  font-weight: 600;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.hdcube-table h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80%;
  height: 6px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 3px;
}

.hdcube-table h2 span {
  display: block;
  font-size: 0.9rem;
  color: #6a7db0;
  margin-top: 6px;
}

.table-note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 30px;
}

.table-wrapper {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  background: #fff;
}

.flow-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.flow-table th,
.flow-table td {
  border: 1px solid #ccd6e3;
  padding: 14px 16px;
  font-size: 0.95rem;
  text-align: left;
  vertical-align: middle;
  color: #333;
  line-height: 1.7;
}

/* 区分列の幅を狭く設定 */
.flow-table th:first-child,
.flow-table td:first-child {
  width: 80px;
  text-align: center;
  font-weight: 600;
  background: #eef3ff;
  font-size: 1.1rem;
}

/* その他のカラムの調整 */
.flow-table th:nth-child(2),
.flow-table td:nth-child(2) {
  width: 25%;
}

.flow-table th:nth-child(3),
.flow-table td:nth-child(3) {
  width: 18%;
}

.flow-table th:nth-child(4),
.flow-table td:nth-child(4) {
  width: 20%;
}

.flow-table th:nth-child(5),
.flow-table td:nth-child(5) {
  width: 18%;
}

.flow-table th:nth-child(6),
.flow-table td:nth-child(6) {
  width: 19%;
}

.flow-table th {
  background: #f4f7ff;
  color: #003366;
  font-weight: 600;
  text-align: center;
  font-size: 1.05rem;
}

.flow-table tr:nth-child(even) td {
  background: #fafcff;
}

.other-column {
  background: #ffffff !important;
  vertical-align: top;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hdcube-table h2 {
    font-size: 1.6rem;
  }
  .flow-table th, .flow-table td {
    font-size: 0.85rem;
    padding: 10px;
  }
}

/* ==============================
   標準的な機能（リスト表示）
============================== */
/* ==============================
   標準的な機能 メディカルトーン背景（静止光＋右下小円）
============================== */
.hdcube-standard {
  position: relative;
  background: linear-gradient(135deg, rgba(240, 250, 255, 0.97), rgba(255, 255, 255, 0.98));
  overflow: hidden;
}

/* 背景SVG線 */
.hdcube-standard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg_standard_lines.svg") center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

/* 左上の大きな光 */
.hdcube-standard::after {
  content: "";
  position: absolute;
  top: -220px;
  left: -220px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255, 255, 255, 0.9),
    rgba(210, 235, 255, 0.7) 40%,
    rgba(160, 210, 255, 0.2) 70%,
    rgba(150, 190, 255, 0) 100%
  );
  filter: blur(14px);
  opacity: 0.85;
  z-index: 0;
}

/* 右下の淡い小円（静止・位置調整済み） */
.hdcube-standard .lower-glow {
  position: absolute;
  bottom: 80px;   /* ← 下から少し浮かせる（以前は -100px） */
  right: -120px;  /* ← わずかに右にずらして自然に */
  width: 400px;   /* ← 円の直径を400pxに拡大 */
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(200, 230, 255, 0.8),
    rgba(180, 210, 255, 0.4) 60%,
    rgba(160, 210, 255, 0) 100%
  );
  filter: blur(14px);
  opacity: 0.45;
  z-index: 0;
}

/* 前面の要素を上に */
.hdcube-standard .container,
.hdcube-standard h2,
.hdcube-standard ul {
  position: relative;
  z-index: 1;
}


.hdcube-standard {
  background: linear-gradient(180deg, #fdfdff 0%, #ffffff 100%);
  padding: 100px 20px 80px;
  text-align: center;
}

.hdcube-standard h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.hdcube-standard h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 2px;
}

.hdcube-standard h2 span {
  display: block;
  font-size: 0.9rem;
  color: #6a7db0;
  margin-top: 6px;
}

.standard-note {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin: 20px 0 50px;
}

/* --- 段組みリスト --- */
.standard-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  max-width: 1100px;
  margin-inline: auto;
  text-align: left;
}

.standard-columns li {
  line-height: 1.9;
  font-size: 0.95rem;
  color: #333;
  letter-spacing: 0.02em;
  border-bottom: 1px dashed #d6dee9;
  padding: 16px;
  border-radius: 8px;
}

/* PCサイズ: 2行おきに色変更（2カラムレイアウト用） */
.standard-columns li:nth-child(4n+1),
.standard-columns li:nth-child(4n+2) {
  background-color: #e8f2ff;
}

.standard-columns li:nth-child(4n+3),
.standard-columns li:nth-child(4n) {
  background-color: #ffffff;
}

.standard-columns strong {
  color: #003366;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 4px;
  position: relative;
  padding-left: 20px;
}

.standard-columns strong::before {
  content: "■";
  color: #007acc;
  font-size: 0.9rem;
  position: absolute;
  left: 0;
  top: 2px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .hdcube-standard {
    padding: 60px 20px;
  }
  .hdcube-standard h2 {
    font-size: 1.6rem;
  }
  .standard-columns ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .standard-columns li {
    font-size: 0.9rem;
  }

  /* モバイル: PC用の色設定をリセット */
  .standard-columns li:nth-child(4n+1),
  .standard-columns li:nth-child(4n+2),
  .standard-columns li:nth-child(4n+3),
  .standard-columns li:nth-child(4n) {
    background-color: initial;
  }
  
  .standard-columns li:nth-child(odd) {
    background-color: #e8f2ff;
  }
  
  .standard-columns li:nth-child(even) {
    background-color: #ffffff;
  }
}

/* ==============================
   オプション・カスタマイズ例（リスト表示）
============================== */
.hdcube-option {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 100px 20px 80px;
  text-align: center;
}

.hdcube-option h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.hdcube-option h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 2px;
}

.hdcube-option h2 span {
  display: block;
  font-size: 0.9rem;
  color: #6a7db0;
  margin-top: 6px;
}

.option-note {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin: 20px 0 50px;
}

/* --- 2カラム構成 --- */
.option-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  max-width: 1100px;
  margin-inline: auto;
  text-align: left;
}

.option-columns li {
  line-height: 1.9;
  font-size: 0.95rem;
  color: #333;
  letter-spacing: 0.02em;
  border-bottom: 1px dashed #d6dee9;
  padding: 16px;
  border-radius: 8px;
}

/* PCサイズ: 2行おきに色変更（2カラムレイアウト用） */
.option-columns li:nth-child(4n+1),
.option-columns li:nth-child(4n+2) {
  background-color: #e8f2ff;
}

.option-columns li:nth-child(4n+3),
.option-columns li:nth-child(4n) {
  background-color: #ffffff;
}

.option-columns strong {
  color: #003366;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 4px;
  position: relative;
  padding-left: 20px;
}

.option-columns strong::before {
  content: "■";
  color: #ff6b35;
  font-size: 0.9rem;
  position: absolute;
  left: 0;
  top: 2px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .hdcube-option {
    padding: 60px 20px;
  }
  .hdcube-option h2 {
    font-size: 1.6rem;
  }
  .option-columns ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .option-columns li {
    font-size: 0.9rem;
    padding: 12px;
  }
  
  /* スマホサイズ: 1行おきに色変更（1カラムレイアウト用） */
  .option-columns li:nth-child(4n+1),
  .option-columns li:nth-child(4n+2),
  .option-columns li:nth-child(4n+3),
  .option-columns li:nth-child(4n) {
    background-color: initial;
  }
  
  .option-columns li:nth-child(odd) {
    background-color: #e8f2ff;
  }
  
  .option-columns li:nth-child(even) {
    background-color: #ffffff;
  }
}
/* ===== オプション・カスタマイズ例 背景拡張バージョン ===== */
.hdcube-option {
  position: relative;
  overflow: hidden;
}

.hdcube-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hd_cube/option.png") center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.hdcube-option .container,
.hdcube-option h2,
.hdcube-option ul {
  position: relative;
  z-index: 1;
}


/* ===== 販売価格・推奨動作環境 ===== */
.hdcube-price {
  background: #ffffff;
  padding: 60px 20px 80px;
  text-align: center;
}

.hdcube-price h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.hdcube-price h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80%;
  height: 6px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 3px;
}

.price-table-wrapper {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #f9fbff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.price-table th,
.price-table td {
  border: 1px solid #dde3f0;
  padding: 16px 20px;
  text-align: center;
  vertical-align: middle;
}

.price-table thead th {
  background: #4c6e91;
  color: #fff;
  font-weight: 600;
}

.price-table tbody th {
  background: #f0f4fa;
  color: #003366;
  width: 20%;
  font-weight: 600;
}

.price-table td {
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .price-table {
    font-size: 0.85rem;
  }
  .hdcube-price h2,
  .hdcube-version h2 {
    font-size: 1.6rem;
  }
}

/* ===== 導入フロー（新レイアウト） ===== */
.hdcube-flow {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 100px 20px;
  text-align: center;
}

.hdcube-flow h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.hdcube-flow h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80%;
  height: 6px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 3px;
}

.hdcube-flow h2 span {
  font-size: 0.9rem;
  color: #999;
  margin-left: 8px;
}

.flow-wrapper {
  position: relative;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 60px;
  counter-reset: step;
}

.flow-steps li {
  list-style: none;
  flex: 1 1 160px;
  max-width: 180px;
  text-align: center;
  position: relative;
}

.flow-steps li::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -45px;
  width: 90px;
  height: 2px;
  background: #9cb4cc;
}

.flow-steps li:last-child::after {
  display: none;
}

.step-circle {
  width: 85px;
  height: 85px;
  line-height: 85px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9cb4cc, #4c6e91);
  color: #fff;
  font-weight: 700;
  margin: 0 auto 12px;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.flow-steps p {
  display: block;
  font-size: 0.9rem;
  color: #333;
  margin-top: 10px;
  line-height: 1.5;
}

.flow-detail {
  display: block !important;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== サポートセクション ===== */
.support-section {
  margin-top: 50px;
  margin-bottom: 80px;
  text-align: center;
}

.support-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.support-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.support-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80%;
  height: 6px;
  background: linear-gradient(90deg, #c0d2ff, #e0cfff);
  transform: translateX(-50%);
  border-radius: 3px;
}

/* サポートステップ */
.support-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.support-card {
  background: #ffffff;
  border: 2px solid #d6e2f0;
  border-radius: 16px;
  padding: 28px 36px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.support-step {
  font-weight: 700;
  color: #4c6e91;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* サポートセクションの見出しを強調 */
.support-card h4{
  font-size: 1.3rem;        /* サイズを大きく */
  font-weight: 700;         /* 太字 */
  color: #003366;           /* ページのメインカラーに統一 */
  margin: 0 0 0.8rem 0;     /* 下に余白 */
  line-height: 1.2;
  padding: 0.5rem 0 0.5rem 1rem; /* 左に空間を作る */
  position: relative;
  background: linear-gradient(90deg, rgba(0,51,102,0.06) 0%, transparent 100%); /* メインカラーベースの軽い背景 */
  border-radius: 6px;
}

/* 左側のアクセントバー */
.support-card h4::before{
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 65%;
  background: #4c6e91; /* ページのアクセントカラーに統一 */
  border-radius: 3px;
}
/* スマホではやや縮小 */
@media (max-width: 480px) {
  .support-card h4{
    font-size: 1.15rem;
    padding-left: 0.8rem;
  }
  .support-card h4::before{ width: 6px; }
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0;
    margin: 0 auto;
  }
  .flow-steps li {
    width: 280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
  }
  .flow-steps li::after {
    display: none;
  }
  .step-circle {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 0.9rem;
  }
  .support-section h2 {
    font-size: 1.3rem;
  }
  .support-steps {
    flex-direction: column;
    align-items: center;
  }
}
/* ===== 導入フロー 背景拡張バージョン ===== */
.hdcube-flow {
  position: relative;
  background: linear-gradient(135deg, rgba(234, 241, 255, 0.7) 0%, rgba(243, 232, 255, 0.7) 100%);
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

/* --- 線アイコン背景（SVGなどを重ねる） --- */
.hdcube-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hd_cube/bg_lines.svg") center/cover no-repeat;
  opacity: 0.5;
  z-index: 0;
}

/* 既存要素を前面に */
.hdcube-flow .container,
.hdcube-flow h2,
.hdcube-flow ol,
.hdcube-flow .support-section {
  position: relative;
  z-index: 1;
}
/* ===== 導入フロー アイコン付き新レイアウト ===== */
.flow-steps li {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 51, 102, 0.08);
  padding: 24px 16px 60px;
  max-width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-steps li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 51, 102, 0.12);
}

.flow-steps p {
  font-weight: 600;
  color: #003366;
  margin-top: 8px;
  font-size: 0.95rem;
  min-height: 2.8em;
}

.flow-icon {
  width: 120px;
  height: auto;
  margin-top: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

/* 0日から30日までのアイコンを大きく */
.flow-steps li:nth-child(1) .flow-icon,
.flow-steps li:nth-child(2) .flow-icon,
.flow-steps li:nth-child(3) .flow-icon,
.flow-steps li:nth-child(4) .flow-icon {
  width: 160px;
}

.flow-steps li:hover .flow-icon {
  transform: scale(1.05);
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .flow-icon {
    width: 90px;
    margin-top: 8px;
  }
  /* 0日から30日までのアイコンをスマホでも大きく */
  .flow-steps li:nth-child(1) .flow-icon,
  .flow-steps li:nth-child(2) .flow-icon,
  .flow-steps li:nth-child(3) .flow-icon,
  .flow-steps li:nth-child(4) .flow-icon {
    width: 120px;
  }
  .flow-steps li {
    padding-bottom: 40px;
  }
}

/* ===== CTA ===== */
.hdcube-cta {
  background: linear-gradient(135deg, #c0d2ff, #e0cfff);
  text-align: center;
  padding: 80px 20px;
  color: #20384f;
}
.hdcube-cta h2 {
  font-size: 1.8rem;
}
.hdcube-cta p {
  margin: 12px 0 24px;
  font-size: 1rem;
}
.hdcube-cta .btn {
  display: inline-block;
  background: #003366;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(90deg, #4c6ef5, #9a5ef5);
  color: #fff;
  padding: 100px 20px 40px;
  margin-bottom: 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  background: #fff;
  color: #003366;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #dce5f8;
  transform: translateY(-3px);
}

.hdcube-cta .btn:hover {
  background: #004b99;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .hdcube-hero { height: 320px; }
  .strength-card img { width: 50px; height: 50px; }
  .flow-list { border: none; }
  .flow-list li::before { display: none; }
  .flow-list li { padding-left: 0; text-align: center; }
  .cta-section { 
    padding: 60px 20px; 
  }
  .hdcube-flow h2 {
    font-size: 1.6rem;
  }
  .support-section h3 {
    font-size: 1.6rem;
  }
}
/* CTAセクションとフッターの間の余白除去 */
.cta-section {
  padding-bottom: 0;  /* 下の余白を削除 */
  margin-bottom: 0;   /* 万一marginがある場合にも念のため */
}

.site-footer {
  margin-top: 0;  /* フッター上の余白を削除 */
}
/* ============================================
   CTAセクションをstrengthページと同じ仕様に統一
============================================ */
.cta-section {
  text-align: center;
  background: linear-gradient(90deg, #4c6ef5, #9a5ef5);
  color: #fff;
  padding: 100px 20px 40px;
  margin-bottom: 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  background: #fff;
  color: #003366;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #dce5f8;
  transform: translateY(-3px);
}

/* ===== フッター上の余白削除（完全密着） ===== */
.hdcube-page .site-footer {
  margin-top: 0 !important;
}

/* support-section 内の段落を左揃えに */
.support-section p {
  text-align: left;
  margin: 0 0 0.75rem 0; /* 必要なら余白調整 */
}

/* 受付時間の行間を広くする（強調は維持） */
.support-section .opening-hours{
  display: inline-block;
  font-weight: 800;
  color: #0b7bd6;
  background: rgba(11,123,214,0.09);
  padding: 0.24rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.6; /* 行間を広げる */
  box-shadow: 0 1px 0 rgba(11,123,214,0.08) inset;
  text-align: center;
}

/* span 内の改行 <br> の下に余白を追加（より読みやすく） */
.support-section .opening-hours br{
  display: block;
  margin-bottom: 0.28rem;
}

/* 小さい画面での調整 */
@media (max-width: 480px) {
  .support-section .opening-hours{
    font-size: 1rem;
    padding: 0.18rem 0.45rem;
    border-radius: 5px;
    line-height: 1.5;
  }
  .support-section .opening-hours br{ margin-bottom: 0.22rem; }
}

/* サポートカード内のpタグを中央揃え */
.support-card p {
  text-align: center;
}

/* 「他にないカスタマイズ力」を強調 */
.custom-emph{
  display: inline-block;
  font-weight:900;
  color: #0391fd; /* テキスト色 */
  background: linear-gradient(90deg, rgba(11,123,214,0.09), rgba(255,255,255,0));
  padding: 0.12rem 0.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(11,79,116,0.06);
  font-size: 1.2rem;
  margin-right: 0.35rem;
  line-height: 1.1;
}
/* 「他にないカスタマイズ力」を「オープンソースベース…」と同じ色に統一 */
.custom-emph { 
  color: #0391fd;   /* 既存の“オープンソースベース…”と同じ青 */
}

/* strong の上書き色(#0b62a6)を打ち消す */
.hdcube-feature .feature-list .custom-emph strong {
  color: inherit !important;
  font-weight: 900; /* 太さは維持 */
}

/* （任意）背景トーンも完全一致させたい場合：highlight と同じマーカー風に */
.custom-emph {
  background: linear-gradient(transparent 60%, #b3d4fc 60%, #b3d4fc 85%, transparent 85%);
  padding: 2px 4px;
  border-radius: 4px;
}

/* 小さい画面での微調整 */
@media (max-width: 768px){
  .custom-emph{
    font-size: 1rem;
    padding: 0.08rem 0.4rem;
    border-radius: 6px;
    display: inline !important;
    background: linear-gradient(transparent 60%, #b3d4fc 60%, #b3d4fc 85%, transparent 85%) !important;
  }
  
  .highlight .custom-emph {
    display: inline !important;
    background: linear-gradient(transparent 60%, #b3d4fc 60%, #b3d4fc 85%, transparent 85%) !important;
  .hdcube-title .hd-cube-logo,
  .hdcube-title span {
    display: block !important;
    width: 100%;
  }
  }
}

/* すべての feature-list 見出しを少し大きく統一 */
.hdcube-feature .feature-list li > strong,
.hdcube-feature .feature-list strong {
  font-size: 1.26rem; /* 好みで調整してください */
  font-weight: 800;
  color: #0b62a6;
  line-height: 1.08;
  display: inline-block;
}

/* モバイルでは若干抑える */
@media (max-width: 480px) {
  .hdcube-feature .feature-list li > strong,
  .hdcube-feature .feature-list strong {
    font-size: 1.06rem;
  }
}

/* 「他にないカスタマイズ力」行と次行の間隔をさらに広げる */
.feature-list li:nth-child(2) .highlight{
  line-height: 1.8; /* 以前より広めに */
}

/* highlight の直後の改行に余白を大きめに */
.feature-list li:nth-child(2) .highlight + br{
  display: block;
  margin-bottom: 1rem; /* ここを増やしました */
}

/* モバイルではやや抑える */
@media (max-width: 480px) {
  .feature-list li:nth-child(2) .highlight { line-height: 1.6; }
  .feature-list li:nth-child(2) .highlight + br { margin-bottom: 0.7rem; }
}

/* 「オープンソースベース～」のサイズを“他にないカスタマイズ力”と統一 */
.custom-emph,
.custom-emph strong {
  display: inline-block;
  font-size: 1.2rem !important; /* 優先度を上げて確実に大きく */
  font-weight: 900 !important;
  color: #0391fd; /* “他にないカスタマイズ力”と同じ青 */
  background: linear-gradient(transparent 60%, #b3d4fc 60%, #b3d4fc 85%, transparent 85%);
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1.2;
}
/* 「透析記録を電子運用にすることにより～電子化されます。」を全面淡い水色で強調 */
.key-highlight {
  display: inline-block;
  background: rgba(204, 229, 255, 0.6); /* ← 全体に淡い水色を敷く */
  color: #002a5c; /* 濃いめの青文字で視認性UP */
  font-weight: 800;
  font-size: 1.0rem;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
  box-shadow: 0 2px 6px rgba(156,180,204,0.3);
}
/* ===== HD-CUBE バージョン展開の説明文（p）を左揃えに ===== */
.hdcube-version .version-card p {
  text-align: left !important;
  margin: 0 0 1em;
  line-height: 1.7;
}
/* ===== SUPPORT タイトルデザイン強調 ===== */
.support-title {
  display: inline-block;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: linear-gradient(135deg, #4c6e91, #8ab4d9);
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(76,110,145,0.3);
  position: relative;
  overflow: hidden;
}

/* 光の動きを軽くつけたい場合 */
.support-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s ease;
}

.support-title:hover::after {
  left: 150%;
}
/* SUPPORT番号のデザイン強調 */
.support-step {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #4c6ef5 0%, #82aaff 100%);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 12px rgba(76, 110, 245, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時に光が流れるような演出 */
.support-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.6), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.support-step:hover::after {
  left: 120%;
}

.support-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 110, 245, 0.45);
}

/* モバイルで少し抑える */
@media (max-width: 480px) {
  .support-step {
    font-size: 1.15rem;
    padding: 6px 14px;
  }
}

/* アイコン付きサポートリスト（文字デザインは既存維持） */
.support-list {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.support-list li {
  font-size: 1.05rem;
  color: #003366; /* 既存スタイルに合わせる */
  margin-bottom: 0.6em;
  display: flex;
  align-items: center;
  gap: 8px; /* アイコンと文字の間隔 */
}

.support-list li::before {
  content: "";
}
/* SUPPORT 2 内の「SUPPORT 1 ＋」を強調 */
.support-plus {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #4c6e91, #8ab4d9);
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(76,110,145,0.3);
  letter-spacing: 0.02em;
}

/* 「診療報酬改定時〜」の説明部分 */
.support-highlight {
  font-weight: 600;
  color: #003366;
  font-size: 0.9rem;
  background: rgba(232, 244, 253, 0.6);
  padding: 4px 8px;
  border-radius: 6px;
  border-left: 3px solid #4c6e91;
  display: inline-block;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(76, 110, 145, 0.1);
}

/* 小ぶりなプラスアイコン */
.plus-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  position: relative;
  margin: 0 4px;
  vertical-align: middle;
}

.plus-icon::before,
.plus-icon::after {
  content: '';
  position: absolute;
  background-color: #4c6e91;
  border-radius: 1px;
}

.plus-icon::before {
  width: 10px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plus-icon::after {
  width: 2px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 600px) {
  .hdcube-title-br {
    display: block !important;
  }
}
@media (min-width: 601px) {
  .hdcube-title-br {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .support-card {
    padding: 12px 10px !important;
    font-size: 0.95rem !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* スマホ向け CTA 見出し調整 */
@media (max-width: 600px) {
  .cta-section h2 {
    font-size: 1.3rem;
  }
}
/* スマホのとき h1 / h2 を少し小さく */
@media (max-width: 480px) {
  .hdcube-page h1 {
    font-size: 1.6rem;
  }

  .hdcube-page h2 {
    font-size: 1.2rem;
  }
  
  .hdcube-page h4 {
    font-size: 1.0rem;
  }
}
