@charset 'UTF-8';
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* 住宅ローンのシミュレーション結果のレイアウト */
.loan-result-card {
  background-color: #e9f3ef;
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.monthly-highlight {
  background-color: #fff;
  border: 3px solid #003366;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.label-with-icon {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  gap: 0.5rem;
}

.loan-icon {
  width: 28px;
  height: 28px;
}

/* 毎月返済額（強調） */
.main-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e06b6b; /* 薄い赤系（強調） */
  text-align: right;
}

/* 共通金額スタイル（全項目で統一） */
.value-right {
  font-size: 1.8rem;            /* 毎月返済額と統一 */
  font-weight: bold;
  color: #e06b6b;               /* 薄い赤系（サーモンピンク） */
  text-align: right;
}

/* その他の返済情報（レイアウト） */
.sub-results {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sub-results p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}

.sub-results p span {
  text-align: right;
}

.total-repayment {
  background-color: #fff; /* ← ここを変更 */
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.3rem;
}

/* 総返済額（同じく強調） */
.total-repayment .total-value {
  font-size: 1.8rem;           /* ← 毎月返済額と統一 */
  font-weight: bold;
  color: #e06b6b;
  text-align: right;
}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* 繰上返済のシミュレーション結果のレイアウト */
/* ▼ シミュレーション結果全体 */
.result-section.modern-result {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 2em;
  border-radius: 12px;
  margin-top: 2em;
}

/* ▼ 各セクションのヘッダー */
.result-section .result-header h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
  border-left: 6px solid #007acc;
  padding-left: 0.5em;
  color: #333;
}

/* ▼ 各ブロック（現在／繰上／効果） */
.result-block {
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 1.5em;
  border-radius: 8px;
  margin-bottom: 1.5em;
}

.result-block h3 {
  font-size: 1.2em;
  margin-bottom: 1em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3em;
  color: #007acc;
}

/* ▼ リスト形式の表示 */
.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0;
  font-size: 1em;
  border-bottom: 1px dotted #ddd;
}

.result-list li span {
  font-weight: bold;
  color: #333;
}

/* ▼ 軽減効果ブロック（青系カラー） */
.effect-block {
  background: #eef6fb; /* 淡いブルー */
  border-color: #b2d9f3; /* 薄い水色の枠線 */
}

.effect-block h3 {
  color: #007acc; /* 鮮やかな青（既存カラーと調和） */
}

.effect-block .result-list li span {
  color: #005f99; /* 少し濃いめの青で強調 */
}


/* ▼ 注意事項 */
.caution-section {
  margin-top: 0em;
  background: #f9f9f9;
  padding: 1.5em !important; /* ← 強制的に適用 */
  border: 1px solid #ccc  !important;
  border-radius: 8px;
  font-size: 0.95em;
  box-sizing: border-box; /* ← パディング含めて正確に表示 */
}

.caution-section h3 {
  font-weight: bold;
  margin-bottom: 0.75em;
}

.caution-list {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0;
}

.caution-list li {
  margin-bottom: 0.75em; /* ← 各項目の下にゆとりを追加 */
}




/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* スマホ対応 */
@media (max-width: 768px) {
  /* ーーーーーーーーーーーーーーーーーーーーー */
  /* 繰上返済のシミュレーション結果のレイアウト */
    .result-section.modern-result {
    padding: 1em;
  }

  .result-block {
    padding: 1em;
  }

  .result-block h3 {
    font-size: 1.1em;
  }

  .result-list li {
    font-size: 0.95em;
    flex-direction: column;
    align-items: flex-start;
  }

  .result-list li span {
    margin-top: 0.2em;
  }

}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */