/* =========================================================
   saikenchiku-fuka.css
   再建築不可物件の活用ページ専用スタイル
   ========================================================= */

/* ▼ ページヒーロー調整 */
.page-hero--saikenchiku {
  background:
    linear-gradient(rgba(27, 42, 74, .72), rgba(27, 42, 74, .72)),
    url("images/hero/hero-02.jpg") center/cover no-repeat;
}

/* ▼ イントロの強調 */
.explain-main {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.explain-main strong {
  color: var(--gold, #c5a55a);
  font-weight: 700;
}
.explain-sub-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy, #1b2a4a);
  margin: 2.5rem 0 1rem;
  padding-left: .8rem;
  border-left: 4px solid var(--gold, #c5a55a);
}
.explain-note {
  background: #f7f5ef;
  border-left: 3px solid var(--gold, #c5a55a);
  padding: 1rem 1.2rem;
  margin-top: 1.5rem;
  font-size: .95rem;
  color: #555;
  border-radius: 4px;
}

/* ▼ 3パターンの図解カード */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.pattern-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.pattern-card h4 {
  font-size: 1.05rem;
  color: var(--navy, #1b2a4a);
  margin: .8rem 0 .6rem;
}
.pattern-card p {
  font-size: .9rem;
  color: #555;
  line-height: 1.6;
}
.pattern-visual {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafaf7;
  border-radius: 6px;
}
.pattern-visual svg {
  width: 100%;
  height: 100%;
  max-width: 160px;
}

/* ▼ リスク3カラム */
.risk-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ▼ 解決策（A〜E） */
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.solution-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e5e0d4;
  border-left: 5px solid var(--gold, #c5a55a);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.solution-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold, #c5a55a);
  background: #f7f5ef;
  border-radius: 6px;
  padding: 1rem 0;
}
.solution-body h3 {
  font-size: 1.25rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .6rem;
}
.solution-lead {
  font-size: .98rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: .8rem;
}
.solution-points {
  list-style: none;
  padding: 0;
  margin: .5rem 0 .8rem;
}
.solution-points li {
  padding-left: 1.4rem;
  position: relative;
  font-size: .92rem;
  line-height: 1.7;
  color: #333;
}
.solution-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold, #c5a55a);
  font-weight: 700;
}
.solution-case {
  font-size: .88rem;
  color: #666;
  background: #fafaf7;
  padding: .6rem .9rem;
  border-radius: 4px;
  margin-top: .6rem;
}

/* ▼ 判定フロー */
.judge-flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.judge-q {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.q-label {
  display: inline-block;
  background: var(--navy, #1b2a4a);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 3px;
  margin-right: .8rem;
  letter-spacing: .05em;
}
.q-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy, #1b2a4a);
  display: inline;
}
.q-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .8rem;
}
.q-choice {
  background: #f7f5ef;
  border: 1px solid #e5e0d4;
  border-radius: 20px;
  padding: .4rem 1rem;
  font-size: .88rem;
  color: #444;
}
.q-choice strong {
  color: var(--gold, #c5a55a);
}
.judge-note {
  text-align: center;
  font-size: .9rem;
  color: #666;
  margin-top: 1rem;
}

/* ▼ 強み6カード */
.strength-fuka-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.strength-fuka-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.3rem 1.2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.strength-fuka-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}
.strength-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto .8rem;
  background: #f7f5ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold, #c5a55a);
}
.strength-fuka-card h4 {
  font-size: 1rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .5rem;
}
.strength-fuka-card p {
  font-size: .88rem;
  line-height: 1.6;
  color: #555;
}

/* ▼ 事例カード */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}
.case-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.3rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
}
.case-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 3px;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: .6rem;
  align-self: flex-start;
}
.case-tag--reno    { background: #8a6d3b; }
.case-tag--parking { background: #4a6b8a; }
.case-tag--sell    { background: #6b8a4a; }
.case-tag--permit  { background: #8a4a6b; }
.case-tag--buy     { background: #8a5a3b; }
.case-card h4 {
  font-size: 1rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .7rem;
  line-height: 1.5;
}
.case-dl {
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
}
.case-dl dt {
  font-weight: 700;
  color: var(--gold, #c5a55a);
  margin-top: .4rem;
}
.case-dl dd {
  margin: 0 0 .3rem;
  color: #444;
}
.case-card--more {
  background: var(--navy, #1b2a4a);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.case-more-inner {
  padding: 1rem;
}
.case-card--more p {
  font-size: .95rem;
  margin-bottom: 1rem;
  color: #fff;
}
.case-card--more .btn {
  background: var(--gold, #c5a55a);
  color: #fff;
}

/* ▼ 費用テーブル */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  border-radius: 8px;
  overflow: hidden;
}
.cost-table th,
.cost-table td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e0d4;
  font-size: .95rem;
}
.cost-table thead th {
  background: var(--navy, #1b2a4a);
  color: #fff;
  font-weight: 600;
  letter-spacing: .05em;
}
.cost-table tbody tr:hover {
  background: #fafaf7;
}
.cost-table tbody tr:last-child td {
  border-bottom: none;
}
.cost-table td:nth-child(2) {
  color: var(--gold, #c5a55a);
  font-weight: 700;
  white-space: nowrap;
}

/* ▼ レスポンシブ */
@media (max-width: 900px) {
  .pattern-grid,
  .risk-grid--3,
  .strength-fuka-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pattern-grid,
  .risk-grid--3,
  .strength-fuka-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }
  .solution-num {
    font-size: 1.7rem;
    padding: .6rem 0;
  }
  .cost-table th,
  .cost-table td {
    padding: .7rem .6rem;
    font-size: .88rem;
  }
  .q-text {
    display: block;
    margin-top: .5rem;
  }
}
