html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 64px;
}

/* 対応エリア一覧 */
.area-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: #f3f7f1;
  border: 1px solid #e3ecdf;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #2f4427;
}

.area-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #5c854c;
  flex-shrink: 0;
}

/* セクション末尾の電話CTAバナー */
.cta-banner {
  background: #2f4427;
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-banner {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #2f4427;
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}

.cta-banner-btn:hover {
  background: #f3f7f1;
}

/* 料金カード */
.price-card {
  background: #f3f7f1;
  border: 1px solid #e3ecdf;
  border-radius: 1rem;
  padding: 1.5rem;
}

/* 施工事例ギャラリー */
.gallery-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(43, 68, 39, 0.1);
}

.gallery-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #2f4427;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.toggle-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: #2f4427;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}

.toggle-btn:hover {
  background: #fff;
}

/* スクロールで表れるフェードイン */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
