@media (max-width: 600px) {
  .product-name {
    font-size: 1rem !important;
  }
}
@media (max-width: 600px) {
    .product-name {
      font-size: 1.1rem !important;
    }
  .overview-header > h2 > span {
    font-size: 0.9rem !important;
  }
}
@media (max-width: 600px) {
  .overview-header > h2 {
    font-size: 1.4rem !important;
  }
  .overview-header > h2 > span {
    font-size: 1.5rem !important;
  }
}
/* スマホ時：リード文と製品名のサイズをWEB版と揃える */
@media (max-width: 600px) {
  .lead-text.lead-text-emphasized.lead-text-main {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 600px) {
  .product-name {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 600px) {
  .container > h2 {
    font-size: 1.4rem !important;
  }
}
/* ==============================
   HD-CUBE basic版 専用デザイン
============================== */

/* ==============================
   対象者別情報エリア
============================== */
.target-audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.audience-item {
  background: #f9fafb;
  border-left: 5px solid;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.audience-item.clinic {
  border-left-color: #2d8659;
}

.audience-item.hospital {
  border-left-color: #4a90e2;
}

.audience-label {
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  color: #fff;
}

.audience-item.clinic .audience-label {
  background: linear-gradient(135deg, #2d8659 0%, #5fb88f 100%);
}

.audience-item.hospital .audience-label {
  background: linear-gradient(135deg, #4a90e2 0%, #6ba3d8 100%);
}

.audience-item p {
  margin: 0;
  line-height: 1.8;
  color: #333;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .target-audience {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* ==============================
   ヒーローセクション - BASIC版専用背景
============================== */
.version-hero.version-basic {
  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/basic_hero.png") center/cover no-repeat;
  overflow: hidden;
}

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

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

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

.hero-subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
  letter-spacing: 0.03em;
  opacity: 0;
  animation: fadeInHero 1.4s ease forwards;
}

.hero-tagline {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #cde3ff;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeInHero 1.8s ease forwards;
}

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

/* スマホ対応 */
@media (max-width: 768px) {
  .version-hero.version-basic {
    height: 320px;
    background-position: center center;
  }
  .version-hero.version-basic h1 {
    font-size: 2rem;
  }
}


/* --- 概要 --- */
.product-name {
  background: linear-gradient(135deg, #4a90e2 0%, #6ba3d8 100%); /* 青のグラデーション帯 */
  color: #fff; /* 白文字で視認性アップ */
  padding: 0.2em 0.6em; /* 内側の余白（上下・左右） */
  border-radius: 6px; /* やや角丸 */
  font-weight: 700; /* 太字で強調 */
  display: inline-block; /* 背景が文字にフィット */
  box-shadow: 0 3px 8px rgba(0, 50, 100, 0.25); /* 立体感を演出 */
}

.version-overview {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg,#eaf4ff 0%,#fff 100%);
}

.overview-content {
  max-width: 1000px;
  margin: 0 auto;
}

.overview-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 0.5rem;
}

.overview-icon {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(76, 110, 145, 0.3));
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: float 3s ease-in-out infinite;
}

.overview-icon:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 12px 30px rgba(76, 110, 145, 0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.overview-text {
  text-align: left;
}

.version-overview h2 {
  font-size: 2rem;
  color:#003366;
  margin-bottom: 0.5rem;
  margin-left: 20px;
  text-align: left;
  display: inline-block;
  position: relative;
}

.version-overview h2 span {
  display: inline-block;
  font-size: 3.5rem;
  color: transparent;
  font-weight: 900;
  font-family: 'Impact', 'Arial Black', sans-serif;
  letter-spacing: 0.05em;
  margin-left: 30px;
  vertical-align: middle;
  line-height: 1;
  font-style: italic;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(106, 125, 176, 0.15);
}

.title-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4c6e91 0%, #9cb4cc 50%, rgba(156, 180, 204, 0) 100%);
  margin: 1rem 0 1.5rem 0;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(76, 110, 145, 0.15);
}

.version-overview p {
  line-height:1.9;
  color:#333;
  text-align: left;
  margin-top: 1.2rem !important;
  margin-bottom: 0.5rem !important;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6ba3d8 !important;
  background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
  padding: 1.2rem 1.8rem;
  border-left: 4px solid #4a90e2;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.12);
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.8;
}

.lead-text-emphasized {
  margin-bottom: 3rem !important;
  padding-bottom: 1rem !important;
}
/* ==============================
   冒頭リード文 専用余白強調
============================== */
.lead-text.lead-text-main {
  display: block;
  text-align: left;
  font-size: 1.3rem;
  line-height: 1.9;
  color: #003366;
  background: linear-gradient(135deg, #eaf3ff 0%, #f8fbff 100%);
  border-left: 6px solid #4a90e2;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 60, 120, 0.08);
  padding: 1.5rem 2rem;
  margin-bottom: 4rem !important;
}

/* HD-CUBE BASIC版 テキスト強調 */
.lead-text.lead-text-main strong,
.lead-text.lead-text-main .product-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #003366;
  background: linear-gradient(135deg, #4a90e2 0%, #6ba3d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
  letter-spacing: 0.05em;
  padding: 0 0.3rem;
  margin-right: 0.5rem;
}

/* モバイル最適化 */
@media (max-width: 768px) {
  .lead-text-main {
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem !important;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .overview-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .overview-icon {
    width: 140px;
  }
  
  .overview-text {
    text-align: left;
  }
  
  .version-overview h2 {
    text-align: left;
  }
  
  .version-overview p {
    text-align: left;
  }
}
/* 変更後：リード文（lead-text-main）は除外してインデント */
.overview-text > p:not(.lead-text-main) {
  margin-left: 4rem;
}
/* リード文の3行目（透析管理システムです。―）を25px右に寄せる */
.lead-text-main .indent-line {
  display: inline-block;
  margin-left: 25px;
}

/* --- 特長カード --- */
.version-feature {
  background: linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
  padding: 100px 20px;
  text-align: center;
}

.version-feature h2 {
  font-size: 2rem;
  color:#003366;
  margin-bottom: 0.5rem;
  text-align: center;
}

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

.feature-cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:28px;
  margin-top: 40px;
}
.feature-card {
  background:#fff;
  border-left: 5px solid #4C6E91;
  border-radius:12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.25);
}
.feature-card h3 {
  color:#003366;
  font-size: 1.3rem;
  margin-bottom: 12px;
  border-bottom: 2px solid #c0d2ff;
  display:inline-block;
  padding-bottom: 4px;
}
.feature-card img.feature-icon {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 51, 102, 0.2));
  object-fit: contain;
}

.feature-card {
  text-align: center;
  padding: 20px;
}



/* --- 機能リスト --- */
.version-functions {
  padding: 80px 20px;
  background:#f8fbff;
  text-align:center;
}

.version-functions h2 {
  font-size: 2rem;
  color:#003366;
  margin-bottom: 0.5rem;
  text-align: center;
}

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

.function-list {
  list-style:none;
  padding:0;
  max-width:800px;
  margin: 0 auto;
  text-align:left;
}
.function-list li {
  padding:12px 0;
  border-bottom: 1px dashed #cfd9eb;
  color:#333;
  line-height:1.7;
}
.function-list li::before {
  content:"✔";
  color:#4C6E91;
  margin-right: 8px;
}

/* --- 推奨環境 --- */

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

.cta-section + .site-footer {
  margin-top: 0 !important;
  padding-top: 24px;
}

.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);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .version-hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .feature-cards { grid-template-columns: 1fr; }
  .function-list li { font-size: 0.95rem; }
}
@media (max-width: 768px) {
  .overview-header .overview-icon {
    width: 80px;  /* お好みで 70〜90px 程度に調整してOK */
  }
}
@media (max-width: 768px) {
  /* リード文（lead-text-main）だけスマホで少し小さく */
  .lead-text.lead-text-main {
    font-size: 1.1rem;  /* 元が 1.3rem なので少し小さめ */
    padding: 1.2rem 1.6rem; /* 余白も少しだけコンパクトに（お好みで） */
  }
}
/* スマホ向け CTA 見出し調整 */
@media (max-width: 600px) {
  .cta-section h2 {
    font-size: 1.3rem;
  }
}
