/* CTAセクション全体 */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background-color: var(--bg-blue-subtle);
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* 装飾要素 */
.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.blue-bar {
  position: absolute;
  top: 3rem;
  left: 0;
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
}

.circle-bg {
  position: absolute;
  top: 8rem;
  left: 2rem;
  width: 180px;
  height: 180px;
  background-color: rgba(248, 160, 26, 0.1);
  border-radius: 50%;
}

/* メインコンテンツ */
.cta-content {
  text-align: center;
}

/* ヘッダーテキスト */
.cta-heading {
  font-size: 2.8rem;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.highlight-text {
  color: var(--primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.main-text {
  font-size: 3.2rem;
  color: var(--primary);
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: break-word;    /* 長い英単語やURLは折り返す */
  white-space: normal;          /* 複数スペースや改行を通常通り扱う */
}

/* サブテキスト */
.cta-subtext {
  font-size: 1.8rem;
  color: var(--text);
  margin: 0 auto 4rem;
  line-height: 1.6;
}

/* 特徴タグ */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-tag {
  background-color: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 0.8rem 1.6rem;
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(45, 91, 157, 0.15);
}

/* アクションカード */
.action-cards {
  display: flex;
  flex-wrap: wrap;         /* ← 折り返しを許可 */
  justify-content: center;
  gap: 2rem;
  box-sizing: border-box;
}

.action-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2rem;
  text-align: center;
  flex: 1 1 300px;          /* ベース幅を300pxに設定 */
  max-width: 350px;         /* 最大幅を350pxに調整 */
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* プレミアム特典バッジ */
.premium-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: var(--secondary);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(248, 160, 26, 0.3);
  z-index: 2;
}

.premium-card {
  border: 2px solid var(--secondary);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.action-card:nth-child(1) .card-icon {
  background-color: rgba(232, 98, 40, 0.1);
  color: var(--cta-orange);
}

.action-card:nth-child(2) .card-icon {
  background-color: rgba(29, 161, 214, 0.1);
  color: var(--cta-blue);
}

.action-card:nth-child(3) .card-icon {
  background-color: rgba(248, 160, 26, 0.1);
  color: var(--secondary);
}

.card-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.card-text {
  font-size: 1.6rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;

}

.action-btn {
  display: inline-block;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  white-space: nowrap;
  min-width: 0;
}

.action-btn i {
  margin-right: 0.6rem;
}

.consultation-btn {
  background-color: var(--cta-orange);
  color: white;
  box-shadow: 0 4px 10px rgba(232, 98, 40, 0.3);
}

.consultation-btn:hover {
  background-color: var(--cta-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(232, 98, 40, 0.4);
}

.demo-btn {
  background-color: var(--cta-blue);
  color: white;
  box-shadow: 0 4px 10px rgba(29, 161, 214, 0.3);
}

.demo-btn:hover {
  background-color: var(--cta-blue-dark);
  color: var(--cta-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(29, 161, 214, 0.4);
}

.report-btn {
  background-color: white;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.report-btn:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(248, 160, 26, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .action-cards {
    gap: 1.5rem;
  }
  
  .action-card {
    flex: 1 1 280px;
    max-width: 320px;
  }
}

@media (max-width: 992px) {
  .action-cards {
    gap: 1.5rem;
  }
  
  .action-card {
    flex: 1 1 280px;
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .cta-heading {
    font-size: 2.4rem;
  }
  
  .main-text {
    font-size: 2.8rem;
  }
  
  .feature-tags {
    gap: 1rem;
  }
  
  .feature-tag {
    font-size: 1.4rem;
    padding: 0.7rem 1.4rem;
  }
  
  .action-cards {
    gap: 1.5rem;
  }
  
  .action-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .action-btn {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }
  
  .blue-bar,
  .circle-bg {
    display: none;
  }
}

@media (max-width: 576px) {
  .cta-heading {
    font-size: 2.2rem;
  }
  
  .main-text {
    font-size: 2.6rem;
  }
  
  .cta-subtext {
    font-size: 1.6rem;
  }
  
  .feature-tags {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .feature-tag {
    width: 100%;
    max-width: 300px;
  }
  
  .action-btn {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
  }
}
