/* ==================================================
  バレないカードローン選びの重要ポイント
================================================== */

.important-points-section {
  padding: 20px;
  background: linear-gradient(to bottom, #fff, #f8f9fa);
}

.important-points-container {
  max-width: 1200px;
  margin: 0 auto;
}

.important-points-header {
  text-align: center;
}

/* リボンサブタイトルのコンテナ */
.important-points-subtitle-ribbon {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

/* リボン本体 */
.important-points-subtitle-ribbon span {
  background-color: #d32f2f;
  color: white;
  padding: 12px 40px;
  font-size: 30px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  line-height: 1.2;
}

/* リボンの左側の尖った部分 */
.important-points-subtitle-ribbon span:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  bottom: 0;
  border-right: 20px solid #d32f2f;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
}

/* リボンの右側の尖った部分 */
.important-points-subtitle-ribbon span:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  right: -20px;
  bottom: 0;
  border-left: 20px solid #d32f2f;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
}

.important-points-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a5fb4;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.important-points-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #1a5fb4, #2980b9);
  border-radius: 2px;
}

.important-points-subtitle {
  font-size: 1.4rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.banner-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.banner-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.banner-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.banner-number {
  width: 40px;
  height: 40px;
  background: #1a5fb4;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.banner-icon {
  width: 120px;
  height: 120px;
  min-width: 120px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-icon i {
  font-size: 3.5rem;
  color: #1a5fb4;
}

.banner-content {
  flex: 1;
  padding-top: 10px;
}

.banner-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a5fb4;
  margin: 0;
}

.banner-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 15px;
  background: #fff2f2;
  padding: 8px 15px;
  border-radius: 30px;
  display: inline-block;
}

.banner-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}


/* SP用重要ポイントセクション（グラデーション背景型） */
.sp-important-points-section {
  padding: 20px 0;
  /* デフォルトで表示 */
}

.sp-important-points-container {
  width: 100%;
}

.sp-banner-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 15px;
}

/* バナーアイテム - グラデーション背景 */
.sp-banner-item {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* 円形装飾 */
.sp-banner-item::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(0, 87, 184, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.sp-banner-content {
  position: relative;
  z-index: 1;
}

/* 番号とアイコンのコンテナ */
.sp-number-container {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

/* 番号 */
.sp-number {
  background-color: #0057b8;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin-right: 12px;
}

/* アイコン */
.sp-icon {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #0057b8;
  font-size: 18px;
}

/* タイトル */
.sp-title {
  color: #0057b8;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ハイライト */
.sp-highlight {
  background-color: #fff;
  border-left: 4px solid #ff4757;
  color: #ff4757;
  padding: 12px 16px;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  line-height: 1.4;
}

/* 説明文 */
.sp-description {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sp-description small {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .important-points-subtitle {
    font-size: 1.2rem;
  }
  
  .important-points-subtitle-ribbon span {
    padding: 12px 20px;
    font-size: 20px;
  }

  .important-points-subtitle-ribbon span:before {
    left: -15.5px;
    border-right: 16px solid #d32f2f;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
  }

  .important-points-subtitle-ribbon span:after {
    right: -15.5px;
    border-left: 16px solid #d32f2f;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
  }

  .pc-important-points-section {
    display: none;
  }
  .important-points-title {
    font-size: 1.85rem;
  }

}

@media screen and (min-width: 769px) {
  .sp-important-points-section {
    display: none;
  }
}
