/* ============================================================
   SRTコーポレーション リフォームサイト 記事共通スタイルシート
   ファイル名: reform-article.css
   カラー: #E8A020（オレンジ黄色）/ #C8900A（ダーク）/ #FFF8E1（薄黄）
   ============================================================ */

/* --- 全体 --- */
.reform-article {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- カテゴリーバッジ --- */
.reform-article .ra-badge {
  display: inline-block;
  background: #E8A020;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 10px;
}

/* --- H1 --- */
.reform-article h1 {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  border-bottom: 3px solid #E8A020;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

/* --- 著者カード --- */
.reform-article .ra-author-card {
  background: #FFFBF0;
  border: 1px solid #F0D090;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.reform-article .ra-author-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.reform-article .ra-author-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.reform-article .ra-author-name {
  font-size: 14px;
  color: #E8A020;
  font-weight: bold;
  margin-bottom: 8px;
  text-decoration: underline;
  display: inline-block;
}
.reform-article .ra-author-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin: 0;
}
.reform-article .ra-author-btns {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 16px;
}
.reform-article .ra-btn {
  font-size: 13px;
  padding: 8px 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  flex: 1;
  box-sizing: border-box;
}
.reform-article .ra-btn-white {
  background-color: #ffffff;
  color: #E8A020;
  border: 1.5px solid #E8A020;
  outline: none;
}
.reform-article .ra-btn-orange {
  background-color: #E8A020;
  color: #ffffff;
  border: 1.5px solid #E8A020;
  outline: none;
}

/* --- 目次 --- */
.reform-article .ra-toc {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.reform-article .ra-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: bold;
  color: #222;
  font-size: 15px;
}
.reform-article .ra-toc-icon {
  color: #555;
  font-size: 18px;
}
.reform-article .ra-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}
.reform-article .ra-toc-list li {
  counter-increment: toc-counter;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #ddd;
}
.reform-article .ra-toc-list li:last-child {
  border-bottom: none;
}
.reform-article .ra-toc-list li::before {
  content: counter(toc-counter) ".";
  color: #E8A020;
  font-weight: bold;
  font-size: 14px;
  min-width: 20px;
}
.reform-article .ra-toc-list a {
  color: #E8A020;
  text-decoration: none;
  font-size: 14px;
}
.reform-article .ra-toc-list a:hover {
  text-decoration: underline;
}

/* --- H2（オレンジ帯） --- */
.reform-article h2 {
  background: #E8A020;
  color: #fff;
  padding: 10px 16px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  margin: 40px 0 16px;
}

/* --- H3（左ボーダー） --- */
.reform-article h3 {
  border-left: 4px solid #E8A020;
  padding-left: 12px;
  color: #C8900A;
  font-size: 16px;
  font-weight: bold;
  margin: 24px 0 8px;
}

/* --- 内部リンク --- */
.reform-article .ra-link {
  color: #1a9edb;
  text-decoration: underline;
}
.reform-article .ra-link:hover {
  opacity: 0.8;
}

/* --- 比較テーブル --- */
.reform-article .ra-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.reform-article .ra-table th {
  background: #E8A020;
  color: #fff;
  font-weight: bold;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #ddd;
}
.reform-article .ra-table tr:nth-child(even) td {
  background: #f5f5f5;
}
.reform-article .ra-table tr:nth-child(odd) td {
  background: #fff;
}
.reform-article .ra-table td {
  border: 1px solid #ddd;
  padding: 10px 14px;
  vertical-align: top;
}

/* --- ポイントボックス --- */
.reform-article .ra-point-box {
  background: #FFF8E1;
  border-left: 4px solid #E8A020;
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin: 16px 0;
}
.reform-article .ra-point-box .ra-box-label {
  font-weight: bold;
  color: #C8900A;
  margin-bottom: 6px;
  font-size: 14px;
}

/* --- 警告ボックス --- */
.reform-article .ra-warning-box {
  background: #fff0f0;
  border-left: 4px solid #e05050;
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin: 16px 0;
}
.reform-article .ra-warning-box .ra-box-label {
  font-weight: bold;
  color: #e05050;
  margin-bottom: 8px;
}
.reform-article .ra-warning-box ul li {
  color: #555;
}

/* --- 注記ボックス --- */
.reform-article .ra-note-box {
  background: #FFF8E1;
  border-left: 4px solid #C8900A;
  border-radius: 0 6px 6px 0;
  padding: 12px 18px;
  margin: 12px 0;
  font-size: 14px;
  color: #666;
}

/* --- FAQカード --- */
.reform-article .ra-faq-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
}
.reform-article .ra-faq-q {
  background: #FFFBF0;
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.reform-article .ra-faq-q-label {
  color: #E8A020;
  font-weight: bold;
  font-size: 15px;
  flex-shrink: 0;
}
.reform-article .ra-faq-q-text {
  font-weight: bold;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}
.reform-article .ra-faq-a {
  background: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #eee;
}
.reform-article .ra-faq-a-label {
  color: #c0392b;
  font-weight: bold;
  font-size: 15px;
  flex-shrink: 0;
}
.reform-article .ra-faq-a-text {
  color: #444;
  font-size: 14px;
  line-height: 1.8;
}

/* --- 事例カード --- */
.reform-article .ra-case-card {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
}
.reform-article .ra-case-card .ra-case-num {
  font-weight: bold;
  color: #E8A020;
}

/* --- STEPカード --- */
.reform-article .ra-step-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.reform-article .ra-step-badge {
  background: #E8A020;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}
.reform-article .ra-step-content .ra-step-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}
.reform-article .ra-step-content .ra-step-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* --- 安心感ボックス（相談の流れ末尾） --- */
.reform-article .ra-comfort-box {
  background: #FFF8E1;
  border-left: 4px solid #E8A020;
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 15px;
  color: #333;
}

/* --- CTAボックス --- */
.reform-article .ra-cta-box {
  border: 2px solid #E8A020;
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  margin: 40px 0;
  background: #fff;
}
.reform-article .ra-cta-sub {
  font-size: 15px;
  color: #E8A020;
  font-weight: bold;
  margin-bottom: 12px;
}
.reform-article .ra-cta-main {
  font-size: 26px;
  font-weight: bold;
  color: #C8900A;
  line-height: 1.6;
  margin-bottom: 20px;
}
.reform-article .ra-cta-support {
  font-size: 16px;
  color: #444;
  margin-bottom: 28px;
  line-height: 1.9;
}
.reform-article .ra-cta-btn {
  background: #E8A020;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 18px 56px;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.05em;
}
.reform-article .ra-cta-btn:hover {
  opacity: 0.9;
}
.reform-article .ra-cta-note {
  font-size: 13px;
  color: #888;
  margin-top: 14px;
}