/* ========================================
   害獣害虫駆除LP — 神奈川害獣・害虫駆除ステーション
   モバイルファースト設計
   ======================================== */

/* リセット・ベース */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #212529;
  line-height: 1.8;
  background: #fff;
  padding-bottom: 60px; /* モバイル固定バー分 */
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  background: #1a5632;
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.75rem, 2.5vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text {
  white-space: nowrap;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.phone-icon {
  font-size: 1.2rem;
}

/* ========================================
   ファーストビュー
   ======================================== */
.hero {
  position: relative;
  color: #fff;
  padding: 48px 0 56px;
  text-align: center;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,50,0.85) 0%, rgba(45,134,89,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  opacity: 0.95;
  margin-bottom: 24px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  background: #fd7e14;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* CTAボタン共通 */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 320px;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn strong {
  font-size: 1.3rem;
  display: block;
  margin-top: 4px;
}

.btn-phone {
  background: #fd7e14;
  color: #fff;
  box-shadow: 0 4px 12px rgba(253,126,20,0.4);
}

.btn-line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 12px rgba(6,199,85,0.4);
}

.btn-large {
  padding: 20px 32px;
  font-size: 1.1rem;
}

.btn-large strong {
  font-size: 1.5rem;
}

/* ========================================
   セクション共通
   ======================================== */
.section-title {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 32px;
  color: #1a5632;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #fd7e14;
  margin: 12px auto 0;
}

/* ========================================
   悩み共感
   ======================================== */
.problems {
  padding: 56px 0;
  background: #fff;
}

.problems-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.problems-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.problems-image img {
  width: 100%;
  height: auto;
  display: block;
}

.problems-text .section-title {
  text-align: left;
}

.problems-text .section-title::after {
  margin: 12px 0 0;
}

.problem-list {
  list-style: none;
  max-width: 600px;
  margin: 0 0 24px;
}

.problem-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
}

.problem-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fd7e14;
  font-weight: 700;
  font-size: 1.1rem;
}

.problem-cta {
  text-align: center;
  font-size: 1.15rem;
  color: #1a5632;
}

/* ========================================
   選ばれる理由
   ======================================== */
.features {
  padding: 56px 0;
  background: #f8f9fa;
}

.features-hero-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.features-hero-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a5632;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #1a5632;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #495057;
}

/* ========================================
   料金表
   ======================================== */
.pricing {
  padding: 56px 0;
  background: #fff;
}

.pricing-note {
  text-align: center;
  color: #28a745;
  font-weight: 700;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.pricing-category {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a5632;
  border-left: 4px solid #1a5632;
  padding-left: 12px;
  margin-bottom: 16px;
  margin-top: 24px;
}

.price-table {
  margin-bottom: 24px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #e9ecef;
}

.price-row:nth-child(odd) {
  background: #f8f9fa;
}

.price-service {
  font-size: 0.95rem;
}

.price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d63384;
  white-space: nowrap;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 16px;
}

/* ========================================
   施工の流れ
   ======================================== */
.flow {
  padding: 56px 0;
  background: #f8f9fa;
}

.flow-steps {
  max-width: 600px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #dee2e6;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #1a5632;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.flow-step h3 {
  font-size: 1rem;
  color: #1a5632;
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 0.9rem;
  color: #495057;
}

/* ========================================
   対応エリア
   ======================================== */
.area {
  padding: 56px 0;
  background: #fff;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 16px;
}

.area-block {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #1a5632;
}

.area-block h3 {
  font-size: 1.05rem;
  color: #1a5632;
  margin-bottom: 8px;
}

.area-block p {
  font-size: 0.95rem;
  color: #495057;
}

.area-note {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 56px 0;
  background: #f8f9fa;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #1a5632;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: #495057;
}

/* ========================================
   追い込みCTA
   ======================================== */
.cta-bottom {
  position: relative;
  padding: 64px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-bottom-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bottom-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-bottom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,50,0.88) 0%, rgba(45,134,89,0.82) 100%);
}

.cta-bottom-content {
  position: relative;
  z-index: 1;
}

.cta-bottom h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-bottom p {
  margin-bottom: 32px;
  font-size: 1rem;
  opacity: 0.95;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background: #212529;
  color: #adb5bd;
  padding: 40px 0 24px;
  text-align: center;
}

.footer-company {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.footer-info p {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  color: #adb5bd;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin-top: 24px;
  font-size: 0.75rem;
  color: #6c757d;
}

/* ========================================
   モバイル固定フッターバー
   ======================================== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}

.mobile-cta-phone {
  flex: 6;
  background: #fd7e14;
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1rem;
}

.mobile-cta-line {
  flex: 4;
  background: #06C755;
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-weight: 700;
  font-size: 1rem;
}

/* ========================================
   タブレット (768px+)
   ======================================== */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta-bar {
    display: none;
  }

  .cta-group {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
    min-width: 280px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 72px 0 80px;
    min-height: 560px;
  }

  .logo-img {
    height: 36px;
    width: 36px;
  }

  .problems-layout {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .problems-image {
    flex: 0 0 45%;
  }

  .problems-text {
    flex: 1;
  }

  .features-hero-image img {
    height: 360px;
  }
}

/* ========================================
   デスクトップ (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .feature-card {
    padding: 40px 32px;
  }

  .container {
    padding: 0 40px;
  }
}
