html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1f2937;
}

/* ヘッダーのスクロール時シャドウ */
#site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
#site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ヒーローセクション */
#hero-section {
  position: relative;
  background: linear-gradient(120deg, rgba(10, 186, 181, 0.92) 0%, rgba(64, 181, 255, 0.85) 100%), url('/static/hero-renovation.jpg');
  background-size: cover;
  background-position: center;
}

.hero-fade-in {
  animation: fadeInUp 0.9s ease both;
}
.hero-fade-in.delay-1 { animation-delay: 0.15s; }
.hero-fade-in.delay-2 { animation-delay: 0.3s; }
.hero-fade-in.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 事業カード */
.business-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 186, 181, 0.18);
}

.business-icon-wrap {
  background: linear-gradient(135deg, #0ABAB5, #40B5FF);
}

/* セクション見出し */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background-color: #e6faf9;
  color: #0a9b96;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* フェードインスクロールアニメーション */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* スムーススクロール用オフセット */
section[id] {
  scroll-margin-top: 90px;
}

/* モバイルメニュー */
#mobile-menu {
  transition: max-height 0.3s ease;
  overflow: hidden;
  max-height: 0;
}
#mobile-menu.open {
  max-height: 500px;
}

/* お問い合わせフォームフォーカス */
input:focus, textarea:focus {
  outline: none;
  border-color: #0ABAB5;
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.15);
}

/* トップへ戻るボタン */
#back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
