/* ライフホームやわらぎ - 落ち着いた緑＋ベージュテーマ */

:root {
  --green: #7A9A82;          /* やさしい緑（メイン） */
  --green-light: #DDE6D5;    /* 薄い若葉色（背景） */
  --green-deep: #4F6B53;     /* 深い森緑（CTA・見出し） */
  --beige: #EFE5D0;          /* あたたかいベージュ */
  --beige-light: #FBF8EE;    /* オフホワイトクリーム（ベース） */
  --text-primary: #2F3A2E;   /* 暗緑がかったダーク（本文） */
  --text-secondary: #5E6358; /* やわらかいグレーグリーン */
  --border: #D9CFB6;         /* ベージュ系ボーダー */
  --shadow: 0 4px 16px rgba(79, 107, 83, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-primary);
  background: var(--beige-light);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== ヘッダー / ナビゲーション ===== */
.header {
  background: rgba(251, 248, 238, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.nav-logo .ico { color: var(--green-deep); margin-right: 6px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover {
  color: var(--green-deep);
  border-bottom-color: var(--green);
  text-decoration: none;
}
.nav-links a.active { color: var(--green-deep); border-bottom-color: var(--green-deep); }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--beige) 100%);
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "🌿";
  position: absolute;
  font-size: 110px;
  opacity: 0.22;
  filter: grayscale(20%);
}
.hero::before { top: 30px; left: 6%; transform: rotate(-20deg); }
.hero::after { bottom: 20px; right: 6%; transform: rotate(20deg); }
.hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.6em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.hero .tagline {
  font-size: 1.3em;
  color: var(--green-deep);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero p.lead {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 2;
}
.cta {
  display: inline-block;
  background: var(--green-deep);
  color: white;
  padding: 14px 40px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05em;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 107, 83, 0.25);
  text-decoration: none;
  color: white;
}
.cta.secondary {
  background: white;
  color: var(--green-deep);
  border: 2px solid var(--green);
}

/* ===== 共通セクション ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2em;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-title .ico { color: var(--green-deep); margin-right: 8px; }
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 56px;
  font-size: 1em;
}

/* 3つの特徴カード */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(79, 107, 83, 0.15);
}
.feature-icon {
  font-size: 2.5em;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-size: 1.25em;
  margin-bottom: 14px;
  color: var(--green-deep);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.96em;
  line-height: 1.85;
}

/* タイムライン */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 48px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--green-light);
  border-radius: 999px;
}
.timeline-item {
  position: relative;
  padding: 14px 0 28px;
}
.timeline-item::before {
  content: "🌿";
  position: absolute;
  left: -47px;
  top: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige-light);
  border: 2px solid var(--green);
  border-radius: 50%;
  font-size: 0.85em;
}
.timeline-time {
  display: inline-block;
  background: var(--green-deep);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.88em;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-item h4 {
  font-size: 1.1em;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.94em;
}

/* ステップフロー */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--beige);
  border: 2px solid var(--green-light);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-deep);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
}
.step h4 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--green-deep);
}
.step p {
  font-size: 0.92em;
  color: var(--text-secondary);
}

/* CTAバナー */
.cta-banner {
  background: linear-gradient(135deg, var(--green-light), var(--beige));
  padding: 70px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8em;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ページ共通 - サブページヘッダー */
.page-header {
  background: linear-gradient(135deg, var(--green-light), var(--beige));
  padding: 70px 24px 50px;
  text-align: center;
}
.page-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.page-header .breadcrumb {
  font-size: 0.9em;
  color: var(--text-secondary);
}

/* テキストコンテンツ */
.content-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.content-block h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5em;
  color: var(--green-deep);
  border-left: 4px solid var(--green);
  padding-left: 14px;
  margin-bottom: 20px;
}
.content-block h3 {
  font-size: 1.1em;
  color: var(--text-primary);
  margin: 24px 0 10px;
}
.content-block p { margin-bottom: 14px; }
.content-block ul { padding-left: 1.5em; margin-bottom: 14px; }
.content-block li { margin: 6px 0; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.info-table th, .info-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.info-table th {
  background: var(--beige);
  width: 35%;
  color: var(--green-deep);
  font-weight: 600;
}

/* お問い合わせフォーム */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1em;
  background: var(--beige-light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--green-deep);
  background: white;
}

/* ===== フッター ===== */
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 24px 30px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 30px;
}
.footer h4 {
  color: var(--green-light);
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 14px;
}
.footer p, .footer li { font-size: 0.9em; line-height: 1.9; }
.footer ul { list-style: none; }
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: var(--green-light); }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== レスポンシブ対応（PC / タブレット / スマートフォン） ===== */

/* タブレット: 769px 〜 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 22px; }
  .hero { padding: 80px 24px 70px; }
  .hero h1 { font-size: 2.3em; }
  .hero .tagline { font-size: 1.2em; }
  .section { padding: 64px 24px; }
  .section-title { font-size: 1.8em; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .content-block { padding: 32px 28px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* スマートフォン: 〜768px */
@media (max-width: 768px) {
  body { font-size: 16px; }

  /* ナビ：折り返し時もきれいに */
  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }
  .nav-logo { font-size: 1.15em; }
  .nav-links {
    gap: 14px 18px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .nav-links a { font-size: 0.9em; padding: 4px 2px; }

  /* ヒーロー */
  .hero { padding: 60px 18px 56px; }
  .hero h1 { font-size: 1.8em; line-height: 1.45; }
  .hero .tagline { font-size: 1em; margin-bottom: 22px; }
  .hero p.lead { font-size: 0.95em; line-height: 1.9; margin-bottom: 30px; }
  .hero::before, .hero::after { font-size: 70px; opacity: 0.16; }
  .cta { padding: 13px 32px; font-size: 1em; }

  /* セクション */
  .section { padding: 50px 16px; }
  .section-title { font-size: 1.5em; }
  .section-subtitle { font-size: 0.92em; margin-bottom: 36px; }
  .features { gap: 18px; }
  .feature-card { padding: 32px 22px; }
  .feature-icon { font-size: 2.2em; }

  /* タイムライン */
  .timeline { padding-left: 38px; }
  .timeline::before { left: 12px; }
  .timeline-item::before {
    left: -38px;
    width: 30px; height: 30px;
    font-size: 0.8em;
  }
  .timeline-time { font-size: 0.82em; padding: 3px 12px; }
  .timeline-item h4 { font-size: 1em; }
  .timeline-item p { font-size: 0.9em; }

  /* ステップフロー */
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 28px 22px; }

  /* CTAバナー */
  .cta-banner { padding: 50px 18px; }
  .cta-banner h2 { font-size: 1.4em; }

  /* ページヘッダー（サブページ） */
  .page-header { padding: 50px 18px 36px; }
  .page-header h1 { font-size: 1.7em; }

  /* コンテンツブロック */
  .content-block { padding: 24px 18px; border-radius: 14px; margin-bottom: 24px; }
  .content-block h2 { font-size: 1.25em; padding-left: 10px; }
  .content-block h3 { font-size: 1em; }

  /* テーブル：縦積み */
  .info-table th, .info-table td {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-bottom: none;
  }
  .info-table th {
    padding-top: 14px;
    background: transparent;
    color: var(--green-deep);
    font-size: 0.88em;
    border-top: 1px solid var(--border);
  }
  .info-table tr:first-child th { border-top: none; }
  .info-table td { padding-bottom: 14px; }

  /* フォーム */
  .form-group input, .form-group textarea, .form-group select {
    font-size: 16px; /* iOS の自動ズームを防ぐ */
  }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
  .footer h4 { margin-bottom: 8px; }
}

/* スマートフォン（小・iPhone SE 等）: 〜380px */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.55em; }
  .hero .tagline { font-size: 0.95em; }
  .section-title { font-size: 1.35em; }
  .nav-links { gap: 10px 14px; }
  .nav-links a { font-size: 0.85em; }
  .cta { padding: 12px 24px; font-size: 0.95em; }
}

/* タッチデバイス向け：ホバー効果を控える */
@media (hover: none) {
  .feature-card:hover { transform: none; box-shadow: var(--shadow); }
  .cta:hover { transform: none; }
}
