/* 質料セクション */
.interest-section {
  background: #ffffff;
  padding: 20px 15px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* 表 */
.interest-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  table-layout: fixed;
  font-size: 16px;
}

.interest-table thead th {
  background: #f2f2f2;
  font-weight: 700;
  text-align: center;
}

.interest-table th,
.interest-table td {
  border: 1px solid #333; /* ご要望の 1px solid */
  padding: 10px 12px;
  word-break: break-word;
}

.interest-table tbody th {
  font-weight: 600;
}

.interest-table tbody td {
  text-align: center;
  font-weight: 700;
}

/* 注意文 */
.interest-note .left-text {
  margin-top: 10px;
  line-height: 1.8;
}

/* ===== 質料計算 例文＋図 ===== */
.interest-examples {
  margin-top: 12px;
}

.interest-example {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0 18px;
}

.interest-figure-img {
  margin: 10px 0 0;
  text-align: center;
}

.interest-figure-img img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* 文字詰まり防止 */
.interest-example .left-text {
  line-height: 1.8;
}

/* 画像を左寄せに変更 */
.interest-figure-img {
  margin: 10px 0 0;
  text-align: left;  /* 中央 → 左寄せに変更 */
}

.interest-figure-img img {
  display: block;    /* 左寄せで幅いっぱいにしない場合は inline-block を block に */
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 0;    /* 左寄せ時の余白リセット */
}



/* モバイル調整 */
@media (max-width: 480px) {
  .interest-table {
    font-size: 14px;
  }
  .interest-table th,
  .interest-table td {
    padding: 8px 10px;
  }
}

/* 質料セクションの見出し */
.interest-section .sub-h2 {
  font-size: 25px;
  text-align: center;
  margin-bottom: 15px;
}