@media (max-width: 991.98px) {
  .btn-line,
  .btn-phone,
  .btn-form {
    width: 280px;
  }
}
/* common */
html, body {
  width: 100%;
  overflow-x: hidden; /* ← 横スクロールを完全に防ぐ */
  font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: #fbffe9;
    overflow-x: hidden;
}
          
.cover {
    background-color: rgba(0, 0, 0, 0.5);
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* ← 画像の余白回避 */
}

footer {
    background: #f7f7f7;
}

@media (min-width: 768px) {
  .limit-width {
    max-width: 600px;
    margin-inline: auto;
  }
}

.navbar {
  background-color: #2b7a0b !important;
  align-items: center;
}

.navbar .navbar-nav .nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 8px 16px;
}
.navbar .btn {
  height: 100%;
}

.nav-link,
.navbar-brand {
  color: #ffffff !important;
}

.btn {
  text-align: center;
  padding-left: 1.7em;
  padding-right: 1.7em;
}

.btn-contact {
  background-color: #f08300;
  color: #FFFFFF;
}

.btn-contact:hover {
  background-color: #b8d200;
}

/* ===== ヘッダー全体を囲うラッパー（全幅）===== */
.header-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #e2edba;
}

/* 草画像は画面いっぱいに */
.grass-wrapper {
  position: absolute;
  bottom: -80px; /* 必要に応じて調整 */
  left: 0;
  width: 100vw;
  z-index: 2;
  pointer-events: none;
}

.grass {
  width: 100%;
  height: auto;
  display: block;
}

/* ヘッダー本体（中央寄せ＆最大幅） */
.header-area {
  position: relative;
  max-width: 960px; /* 必要に応じて調整 */
  margin: 0 auto;
  width: 100%;
  z-index: 1;
}

/* ヘッダー画像 */
.main-header {
  width: 100%;
  height: auto;
  display: block;
  /* object-fit: contain; */
}

.step-overlap { 
  margin-top: -125px; position: relative; z-index: 3; 
} 

/* ===== コンタクトエリア ===== */
.footer-wrap {
  position: relative;
  width: 100%;
 /* 草の高さぶん余白を確保*/
  padding-bottom: 100px; 
  overflow: hidden;
}

.footer-area {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  z-index: 1;
}

.main-footer {
  width: 100%;
  height: auto;
  display: block;
}

.footer-grass-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* 草画像の高さ */
  background-image: url('../img/footer-grass.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 0;
  pointer-events: none;
}



footer .nav-link {
  color: #212529 !important;
}


@media (max-width: 820px) and (min-width: 577px) {
  .main-footer {
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  .footer-area {
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .main-footer {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== CTAボタンエリア調整 ===== */
/* CTA全体の上下マージンを調整 */
.cta-buttons {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 72px;
  display: flex;
}

@media (min-width: 992px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding-inline: 4vw;
    flex-wrap: nowrap;
  }

  .btn-line, .btn-phone, .btn-form {
    max-width: none;
  }
}

/* 共通ボタンスタイル（サイズ合わせ・立体感＋押した感触） */
.btn-line, .btn-phone, .btn-form {
  text-align: center;
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  transform: translateY(0);
  height: 60px;
  width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 60px;
}

/* LINEボタンの色 */
.btn-line {
  background-color: #00c300;
}
.btn-line:hover, .btn-phone:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transform: translateY(2px);
}

/* 電話ボタンの色 */
.btn-phone {
  background-color: #007bff;
}

/* フォームボタンの色 */
.btn-form {
  background-color: #f08300;
}

.btn-form:hover {
  background-color: #d56e00;
}


/* ナビ内ボタン用サイズ調整 */
.btn-line.btn-sm,
.btn-phone.btn-sm,
.btn-form.btn-sm {
  font-size: 0.9rem;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  height: 56px;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-nav .btn {
  padding: 0;
  width: 100%;
  margin-bottom: 10px;
  font-size: 1rem;
  text-align: center;
  height: 56px;
  line-height: 1;
}

.navbar-nav .nav-item.d-flex {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 0 auto 10px;
  gap: 0;
  padding-inline: 0;
}

@media (max-width: 991.98px) {
  .navbar-nav .btn {
    flex: 1 1 auto;
    width: auto;
    margin: 0 4px;
    font-size: 1rem;
    padding: 0.7em 0.9em;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .step-img-wrapper {
    margin-top: 2rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-item.d-flex {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}