/* ==================================================
  ご利用条件のご案内
================================================== */

.loan-terms-header {
  text-align: center;
  margin-bottom: 40px;
}

.loan-terms-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
}

.loan-terms-header h2::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;
}

.loan-terms-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.loan-terms-section {
  margin: 40px 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.loan-terms-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #1e40af;
  max-width: 800px;
  margin: 0 auto;
}

.loan-terms-warning-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.loan-terms-warning-title i {
  font-size: 24px;
  margin-right: 12px;
  color: #ef4444;
}

.loan-terms-warning-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ef4444;
  margin: 0;
}

.loan-terms-warning-content {
  padding-left: 36px;
}

.loan-terms-warning-content p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

.loan-terms-warning-list {
  list-style-type: none;
  margin: 15px 0;
  padding: 0;
}

.loan-terms-warning-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.6;
}

.loan-terms-warning-list li:before {
  content: "×";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: 18px;
  font-weight: bold;
}

.loan-terms-warning-footer {
  margin-top: 20px;
  font-size: 14px;
  color: #64748b;
  padding-left: 36px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .loan-terms-header h2 {
    font-size: 1.85rem;
  }

  .loan-terms-card {
    padding: 20px;
  }

  .loan-terms-title {
    font-size: 22px;
    padding: 0 25px;
  }

  .loan-terms-title:before,
  .loan-terms-title:after {
    width: 20px;
  }

  .loan-terms-subtitle {
    font-size: 14px;
  }

  .loan-terms-warning-title h3 {
    font-size: 18px;
  }

  .loan-terms-warning-content {
    padding-left: 0;
  }

  .loan-terms-warning-footer {
    padding-left: 0;
  }
}
