@charset "UTF-8";
/* ===========================================================
   area.css — エリアページ専用スタイル
   main.css の .ah-* を土台に、差分だけをここに置く
   =========================================================== */

/* ---- Hero（SVGオーバーレイなしの簡易版） ---- */
.ah-area-hero {
  padding: 64px 0 52px;
}
.ah-area-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}
.ah-area-hero .ah-hero-sub {
  margin-bottom: 1.6rem;
}
.ah-area-hero .ah-hero-btns {
  margin-bottom: 0;
}

/* ---- 対応目安ストリップ ---- */
.ah-area-leadstrip {
  background: #fff;
  border-bottom: 1px solid #e6ebf1;
  padding: 18px 0;
}
.ah-area-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.ah-area-lead-badge {
  flex: 0 0 auto;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.ah-area-lead-body {
  flex: 1 1 260px;
  min-width: 0;
}
.ah-area-lead-note {
  margin: 0;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.ah-area-lead-sub {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #6b7783;
}

/* ---- 追加料金テーブル ---- */
.ah-area-extra {
  max-width: 680px;
  margin: 8px auto 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 18px;
}
.ah-area-extra-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
  text-align: center;
}
.ah-area-table-wrap {
  overflow-x: auto;
}
.ah-area-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.ah-area-table th,
.ah-area-table td {
  padding: 10px 6px;
  border-bottom: 1px dashed #dde3ea;
  vertical-align: top;
}
.ah-area-table th {
  text-align: left;
  font-weight: 500;
  color: var(--color-text);
}
.ah-area-table td {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-cta);
}
.ah-area-table tr:last-child th,
.ah-area-table tr:last-child td {
  border-bottom: none;
}
.ah-area-pay {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: #6b7783;
  text-align: center;
}

/* ---- きっかけ別チップ ---- */
.ah-area-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ah-area-intent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 2px solid #dbe4ee;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ah-area-intent i {
  color: var(--color-accent);
}
.ah-area-intent:hover,
.ah-area-intent:focus {
  border-color: var(--color-cta);
  color: var(--color-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ---- 工事の流れ（3ステップ） ---- */
.ah-area-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin-inline: auto;
}
.ah-area-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 20px 20px;
  position: relative;
}
.ah-area-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.ah-area-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px;
}
.ah-area-step p {
  margin: 0;
  font-size: 0.88rem;
  color: #5b6672;
  line-height: 1.7;
}

/* ---- FAQ ---- */
.ah-area-faq {
  max-width: 720px;
  margin: 0 auto;
}
.ah-area-faq .accordion-button {
  font-size: 0.95rem;
}

/* ---- 一覧ページへ戻るリンク ---- */
.ah-area-backlink {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.ah-area-backlink:hover {
  color: #fff;
  opacity: 0.8;
}

/* ---- エリア一覧ページ ---- */
.ah-area-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #5b6672;
}
.ah-area-group {
  margin-bottom: 2.5rem;
}
.ah-area-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding: 2px 0 2px 12px;
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ah-area-group-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: #8a94a0;
}
.ah-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ah-area-chip {
  display: inline-block;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid #dbe4ee;
  border-radius: 6px;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 0.15s, background 0.15s;
}
.ah-area-chip:hover,
.ah-area-chip:focus {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-primary);
  text-decoration: none;
}

/* ---- レスポンシブ ---- */
@media (min-width: 768px) {
  .ah-area-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575.98px) {
  .ah-area-hero {
    padding: 48px 0 40px;
  }
  .ah-area-lead {
    justify-content: flex-start;
  }
  .ah-area-intent {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .ah-area-extra {
    padding: 16px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-area-intent {
    transition: none;
  }
}

/* ---- パンくず ---- */
.ah-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e6ebf1;
  padding: 10px 0;
  font-size: 0.78rem;
}
.ah-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #6b7684;
}
.ah-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}
.ah-breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: #b6c0cc;
}
.ah-breadcrumb a {
  color: #6b7684;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ah-breadcrumb a:hover,
.ah-breadcrumb a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.ah-breadcrumb [aria-current="page"] {
  color: var(--color-primary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ---- 都道府県別の受信環境 ---- */
.ah-area-reception {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
}
.ah-area-reception-lead {
  margin: 0 0 12px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.9;
}
.ah-area-reception-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.85;
}
.ah-area-reception-list li + li {
  margin-top: 6px;
}
.ah-area-reception-list li::marker {
  color: var(--color-accent);
}

/* ---- 周辺の対応エリア ---- */
.ah-area-neighbors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.ah-area-neighbor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #dbe4ee;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.ah-area-neighbor:hover,
.ah-area-neighbor:focus {
  border-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  text-decoration: none;
}
.ah-area-neighbor-name {
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.ah-area-neighbor-lead {
  flex: 0 0 auto;
  color: #6b7684;
  font-size: 0.7rem;
  white-space: nowrap;
}
.ah-area-neighbors-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: #6b7684;
}

/* 一覧ページ: 都道府県見出しへのアンカー（固定ヘッダー分を逃がす） */
.ah-area-group-title[id] {
  scroll-margin-top: 84px;
}

@media (max-width: 575.98px) {
  .ah-breadcrumb {
    font-size: 0.72rem;
  }
  .ah-area-reception {
    padding: 16px 14px;
  }
  .ah-area-neighbors {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
}
