/* =========================================================
   souzoku-zeimu.css
   相続・税務相談ページ専用スタイル
   ========================================================= */

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

/* ▼ 相続の壁 */
.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.wall-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-top: 4px solid var(--gold, #c5a55a);
  border-radius: 8px;
  padding: 1.8rem 1.4rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  position: relative;
}
.wall-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold, #c5a55a);
  line-height: 1;
  margin-bottom: .6rem;
}
.wall-card h3 {
  font-size: 1.08rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .7rem;
  line-height: 1.5;
}
.wall-card p {
  font-size: .9rem;
  line-height: 1.75;
  color: #444;
}

/* ▼ ワンストップHub */
.onestop-hub {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
  background: linear-gradient(135deg, #fafaf7 0%, #fff 100%);
  border: 1px solid #e5e0d4;
  border-radius: 12px;
  padding: 2.5rem 2rem;
}
.hub-center {
  background: var(--navy, #1b2a4a);
  color: #fff;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 28px rgba(27, 42, 74, .3);
  padding: 1rem;
}
.hub-center-label {
  font-family: "Playfair Display", serif;
  font-size: .85rem;
  letter-spacing: .15em;
  color: var(--gold, #c5a55a);
  margin-bottom: .3rem;
}
.hub-center-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.hub-center-sub {
  font-size: .8rem;
  color: #c6cbd6;
}
.hub-spokes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.hub-spoke {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-left: 3px solid var(--gold, #c5a55a);
  border-radius: 6px;
  padding: .8rem 1rem;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: .1rem .8rem;
  align-items: center;
}
.hub-spoke-icon {
  grid-row: 1 / 3;
  font-size: 1.5rem;
  text-align: center;
}
.hub-spoke-role {
  font-weight: 700;
  color: var(--navy, #1b2a4a);
  font-size: .95rem;
}
.hub-spoke-desc {
  font-size: .78rem;
  color: #666;
  line-height: 1.5;
}
.onestop-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fafaf7;
  border-left: 3px solid var(--gold, #c5a55a);
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.8;
  color: #444;
}

/* ▼ 対応業務テーブル */
.service-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.service-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.service-table th,
.service-table td {
  padding: .9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #e5e0d4;
  font-size: .93rem;
  line-height: 1.6;
  vertical-align: middle;
}
.service-table thead th {
  background: var(--navy, #1b2a4a);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
}
.service-table .cat-cell {
  font-weight: 700;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  font-size: .92rem;
  line-height: 1.4;
  width: 110px;
}
.service-table .cat-touki  { background: #4a6b8a; }
.service-table .cat-tax    { background: #8a6d3b; }
.service-table .cat-estate { background: #5a7d5a; }
.service-table .cat-other  { background: #6d5a7d; }
.service-table tbody tr:hover td:not(.cat-cell) {
  background: #fafaf7;
}
.service-table tbody tr:last-child td {
  border-bottom: none;
}

/* ▼ 相談の流れ */
.souzoku-flow {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  counter-reset: flow;
  display: grid;
  gap: 1.2rem;
}
.flow-step {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  position: relative;
  padding-left: 7rem;
}
.flow-step-num {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: .85rem;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--gold, #c5a55a);
  background: #fafaf7;
  padding: .35rem .7rem;
  border-radius: 3px;
  white-space: nowrap;
}
.flow-step h3 {
  font-size: 1.1rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .6rem;
  line-height: 1.5;
}
.flow-step p {
  font-size: .92rem;
  line-height: 1.85;
  color: #444;
}
.flow-step--final {
  border-left: 4px solid var(--gold, #c5a55a);
  background: #fff8ec;
}

/* ▼ 特例・控除 */
.tokurei-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.tokurei-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tokurei-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}
.tokurei-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .25rem .7rem;
  border-radius: 3px;
  background: var(--gold, #c5a55a);
  color: #fff;
  margin-bottom: .8rem;
}
.tokurei-card h3 {
  font-size: 1rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .7rem;
  line-height: 1.5;
}
.tokurei-sub {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: #777;
  margin-top: .2rem;
}
.tokurei-card p {
  font-size: .88rem;
  line-height: 1.75;
  color: #444;
}
.tokurei-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px dashed #c5a55a;
  border-radius: 6px;
  font-size: .88rem;
  line-height: 1.8;
  color: #555;
}

/* ▼ よくあるご相談パターン */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.pattern-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.pattern-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e0d4;
}
.pattern-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .25rem .7rem;
  border-radius: 3px;
  background: var(--navy, #1b2a4a);
  color: #fff;
  margin-bottom: .7rem;
}
.pattern-header h3 {
  font-size: 1.05rem;
  color: var(--navy, #1b2a4a);
  line-height: 1.6;
}
.pattern-dl {
  margin: 0;
}
.pattern-dl dt {
  font-weight: 700;
  color: var(--gold, #c5a55a);
  font-size: .8rem;
  letter-spacing: .05em;
  margin-top: .8rem;
}
.pattern-dl dt:first-child { margin-top: 0; }
.pattern-dl dd {
  margin: .3rem 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: #444;
}
.pattern-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fafaf7;
  border-left: 3px solid #bbb;
  border-radius: 4px;
  font-size: .85rem;
  line-height: 1.8;
  color: #666;
}

/* ▼ 費用テーブル */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  border-radius: 8px;
  overflow: hidden;
}
.fee-table thead th {
  background: var(--navy, #1b2a4a);
  color: #fff;
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
}
.fee-table tbody td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e5e0d4;
  font-size: .92rem;
  line-height: 1.7;
  vertical-align: top;
}
.fee-table tbody tr:last-child td {
  border-bottom: none;
}
.fee-table tbody tr:hover td {
  background: #fafaf7;
}
.fee-table .fee-highlight td {
  background: #fff8ec;
  color: var(--navy, #1b2a4a);
}
.fee-table .fee-highlight:hover td {
  background: #fff3dc;
}
.fee-note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px dashed #c5a55a;
  border-radius: 6px;
  font-size: .88rem;
  line-height: 1.8;
  color: #555;
}

/* ▼ 強み */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.strength-card {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.strength-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}
.strength-icon {
  font-size: 1.8rem;
  margin-bottom: .5rem;
}
.strength-card h3 {
  font-size: 1.02rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .6rem;
  line-height: 1.5;
}
.strength-card p {
  font-size: .88rem;
  line-height: 1.8;
  color: #444;
}

/* ▼ 対応エリア */
.area-box {
  background: #fff;
  border: 1px solid #e5e0d4;
  border-radius: 8px;
  padding: 2rem 1.8rem;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.area-main {
  font-size: 1.2rem;
  color: var(--navy, #1b2a4a);
  margin-bottom: .8rem;
  line-height: 1.6;
}
.area-main strong {
  color: var(--gold, #c5a55a);
  font-size: 1.4rem;
}
.area-sub {
  font-size: .92rem;
  line-height: 1.9;
  color: #555;
}

/* ▼ レスポンシブ */
@media (max-width: 900px) {
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .onestop-hub {
    grid-template-columns: 1fr;
    padding: 1.8rem 1.3rem;
    gap: 1.5rem;
  }
  .hub-center { max-width: 200px; }
  .tokurei-grid { grid-template-columns: repeat(2, 1fr); }
  .pattern-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step { padding-left: 1.5rem; padding-top: 3.5rem; }
  .flow-step-num { top: 1rem; }
}
@media (max-width: 640px) {
  .wall-grid { grid-template-columns: 1fr; }
  .hub-spokes { grid-template-columns: 1fr; }
  .tokurei-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .area-main { font-size: 1.05rem; }
  .area-main strong { font-size: 1.2rem; }
}
