/* ============================================================
   空き家管理サービス ページ専用スタイル
   style.css を基底として追加・拡張
   ============================================================ */

/* ---------- ページヒーロー ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero--akiya {
  background-image:
    linear-gradient(135deg, rgba(27,42,74,0.55), rgba(17,29,51,0.75)),
    url("images/hero/hero-03.jpg"),
    linear-gradient(135deg, #1b2a4a 0%, #2c4270 100%);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 29, 51, 0.2) 0%,
    rgba(17, 29, 51, 0.55) 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
}
.page-hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.page-hero-text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}

/* パンくず */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; }
.breadcrumb li::after { content: "›"; margin-left: 8px; opacity: 0.6; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,0.9); }

/* ---------- グレー背景セクション ---------- */
.section-gray { background: var(--gray-50); }

/* ---------- 導入メッセージ ---------- */
.section-intro { padding: 80px 0 60px; }
.intro-lead {
  text-align: center;
  margin-bottom: 40px;
}
.intro-lead p {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 2;
  position: relative;
  padding: 4px 0;
}
.intro-lead p::before { content: "❝ "; color: var(--gold); }
.intro-lead p::after  { content: " ❞"; color: var(--gold); }
.intro-body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 2.1;
  text-align: center;
  padding: 32px;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}
.intro-body strong { color: var(--navy); }

/* ---------- リスクカード ---------- */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.risk-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  position: relative;
}
.risk-num {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.risk-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.risk-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.risk-card strong { color: #c0392b; }

/* 築古戸建て売却ページのみ：5枚カードの折り返しを 5 → 3+2 → 2+2+1 → 1 に制御
   （4+1 の中途半端な改行を回避） */
.page-chikufuru-baikyaku .risk-grid {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1199px) {
  .page-chikufuru-baikyaku .risk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .page-chikufuru-baikyaku .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .page-chikufuru-baikyaku .risk-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- サービス詳細 ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.sd-card {
  background: var(--gray-50);
  padding: 28px 20px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}
.sd-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.sd-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.sd-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.sd-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ---------- 料金プラン ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card--recommended {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(197,165,90,0.25);
  transform: scale(1.04);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}
.pricing-name {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.7;
  min-height: 3.4em;
  margin-bottom: 20px;
}
.pricing-price {
  margin: 20px 0 4px;
  color: var(--navy);
  line-height: 1;
}
.price-tax { font-size: 0.8rem; margin-right: 6px; color: var(--text-mid); }
.price-num { font-size: 2.4rem; font-weight: 800; letter-spacing: 0.02em; }
.price-unit { font-size: 0.8rem; margin-left: 4px; color: var(--text-mid); }
.pricing-freq {
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 600;
}
.pricing-list {
  list-style: none;
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--gray-100);
  text-align: left;
  flex: 1;
}
.pricing-list li {
  font-size: 0.86rem;
  padding: 6px 0;
  color: var(--text-mid);
  line-height: 1.7;
}
.pricing-list li:first-letter { color: var(--gold); font-weight: 700; }
.pricing-muted { color: var(--gray-400) !important; text-decoration: line-through; }
.pricing-muted:first-letter { color: var(--gray-400) !important; }

/* オプションテーブル */
.pricing-option {
  margin-top: 60px;
  padding: 32px;
  background: var(--gray-50);
  border-radius: 10px;
}
.pricing-option h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}
.option-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.option-table th, .option-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}
.option-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.option-table tr:last-child td { border-bottom: none; }
.option-table tr:hover td { background: var(--gray-50); }
.pricing-note {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-top: 16px;
}

/* ---------- 選ばれる理由 ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.reason-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.reason-num {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}
.reason-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.6;
}
.reason-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ---------- フロー ---------- */
.flow-list {
  list-style: none;
  margin-top: 40px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.flow-list li {
  position: relative;
  padding: 28px 28px 28px 80px;
  margin-bottom: 16px;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}
.flow-num {
  position: absolute;
  left: 20px;
  top: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}
.flow-list h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.flow-list p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ---------- お客様の声 ---------- */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.voice-card {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.voice-rating {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.voice-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.6;
}
.voice-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.voice-profile {
  font-size: 0.78rem !important;
  color: var(--gray-600) !important;
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px dashed var(--gray-100);
}
.voice-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ---------- 対応エリア ---------- */
.area-service-grid {
  max-width: 780px;
  margin: 40px auto 0;
  display: grid;
  gap: 24px;
}
.area-service-block {
  padding: 24px 28px;
  background: var(--gray-50);
  border-radius: 8px;
}
.area-service-block h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.area-service-block p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-chip {
  padding: 8px 16px;
  background: #fff;
  color: var(--navy);
  font-size: 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--gray-100);
}
.area-chip--main {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-color: var(--navy);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
  margin: 40px auto 0;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
}
.faq-item dt {
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--gold);
  line-height: 1.6;
}
.faq-item dd {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
  padding-left: 11px;
}

/* ---------- CTA Contact ---------- */
.section-cta-contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 80px 0;
}
.cta-contact-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.cta-contact-box h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.cta-contact-box p {
  color: rgba(255,255,255,0.85);
  line-height: 2;
  margin-bottom: 32px;
}
.cta-contact-box strong { color: var(--gold); }
.cta-contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-lg {
  padding: 18px 40px !important;
  font-size: 1.05rem !important;
  min-width: 240px;
}
.cta-contact-note {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.6) !important;
  margin-top: 16px !important;
}

/* ナビのカレント表示 */
.nav-list a.is-current { color: var(--gold) !important; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .page-hero-title { font-size: 1.7rem; }
  .page-hero-inner { padding: 90px 0 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--recommended { transform: scale(1); }
  .option-table th, .option-table td {
    padding: 10px; font-size: 0.82rem;
  }
  .flow-list li { padding: 24px 20px 24px 20px; }
  .flow-num { position: static; display: inline-block; margin-bottom: 8px; }
  .cta-contact-box h2 { font-size: 1.4rem; }
  .btn-lg { min-width: 100%; padding: 16px 24px !important; font-size: 0.95rem !important; }
}

@media (max-width: 600px) {
  .intro-lead p { font-size: 0.95rem; }
  .intro-body { padding: 20px; font-size: 0.85rem; }
  .page-hero-title { font-size: 1.4rem; line-height: 1.5; }
}
