/* ==========================================================================
   1. 基本設定・共通パーツ
   ========================================================================== */
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

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

/* レイアウト幅 */
.inner-900 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner-1100 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   2. 見出し・テキスト
   ========================================================================== */
.lp-green-heading {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: #3f3a34;
  margin: 60px 0 18px;
  line-height: 1.4;
  position: relative;
}

.lp-green-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #7fb9a4;
  margin: 16px auto 0;
}

.lp-green-text {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

.lp-step-text {
  font-size: 16px;
  line-height: 1.9;
  margin: 12px 0 0;
  text-align: left;
}

/* 1カラム用メインコンテンツ */
.lp-onecol {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 16px;
  line-height: 1.9;
}

.lp-onecol a {
  color: #1f6b4f;
}

/* ==========================================================================
   3. 固定ヘッダー・ナビゲーション
   ========================================================================== */
.sticky-nav {
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.nav-container {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ナビボタン：枠線 */
.btn-nav-outline {
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid #cfe7de;
  border-radius: 999px;
  color: #1f6b4f;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.3s;
}

.btn-nav-outline:hover {
  background: #f0f9f6;
}

/* ナビボタン：塗り */
.btn-nav-solid {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  background: #1f6b4f;
  color: #fff !important;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}

/* ==========================================================================
   4. ステップ・Q&A（LP用パーツ）
   ========================================================================== */
.lp-step4-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

.lp-step4-item {
  margin: 32px 0 44px;
}

.lp-step4-title {
  color: #1f6b4f;
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 12px;
  text-align: left;
}

.lp-step4-bar {
  height: 4px;
  background: #cfe7de;
  margin: 0 0 18px;
}

.lp-step4-text {
  color: #222;
  font-size: 16px;
  line-height: 2;
  margin: 0;
  text-align: left;
}

/* ==========================================================================
   5. フォーム・入力パーツ
   ========================================================================== */
.form-container,
.form-login-container {
  max-width: 720px;
  margin: 40px auto 80px;
  padding: 30px;
  border-radius: 10px;
  box-sizing: border-box;
}

.form-container { background: #f9faf9; }
.form-login-container { 
  background: #fff; 
  border: 1px solid #ccc;
  margin-top: 50px;
  margin-bottom: 90px;
}

form label {
  display: block;
  margin: 18px 0 6px;
  font-weight: 600;
}

form input:not([type="checkbox"]),
form select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form input:focus,
form select:focus {
  outline: none;
  border-color: #1f6b4f;
}

/* チェックボックスが2行にならないための修正 */
form input[type="checkbox"] {
  width: auto;
  margin-right: 5px;
  display: inline-block;
}

.btn-submit {
  background: #1f6b4f;
  color: #fff;
  font-size: 18px;
  padding: 14px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.required {
  color: #d60000;
  font-weight: bold;
}

/* プライバシーポリシーボックス */
.policy-box {
  max-width: 720px;
  margin: 40px auto 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

.policy-scroll {
  max-height: 240px;
  overflow-y: auto;
  padding: 15px;
  font-size: 14px;
  line-height: 1.8;
  background: #fafafa;
  border: 1px solid #e0e0e0;
}

/* ==========================================================================
   6. テーブル（会社概要用）
   ========================================================================== */
.wp-block-table {
  margin: 40px 0;
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table table {
  width: 100%;
  border-top: 2px solid #7fb9a4;
  border-bottom: 1px solid #eee;
}

.wp-block-table th,
.wp-block-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.wp-block-table th {
  width: 30%;
  background: #f9faf9;
  font-weight: 700;
  color: #1f6b4f;
}

/* ==========================================================================
   7. フッター
   ========================================================================== */
.site-footer {
  margin-top: 80px;
  padding: 40px 16px;
  background: #f7f7f7;
  border-top: 1px solid #e0e0e0;
}

.footer-links {
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-links a {
  margin: 0 8px;
  text-decoration: none;
  color: #333;
}

.copyright {
  font-size: 13px;
  color: #666;
}

/* ==========================================================================
   8. レスポンシブ (768px以下)
   ========================================================================== */
@media (max-width: 768px) {
  .lp-green-heading {
    font-size: 26px; /* 会社概要と統合 */
    margin: 40px 0 14px;
  }
  .lp-green-heading::after {
    width: 60px;
    height: 2px;
  }
  .lp-green-text,
  .lp-step4-text {
    font-size: 15px;
    line-height: 1.9;
  }
  .lp-step4-title {
    font-size: 22px;
  }
  .btn-nav-solid {
    font-size: 16px; /* 巨大すぎる場合はここで調整 */
    padding: 8px 14px;
  }
  .btn-nav-outline {
    padding: 6px 10px;
    font-size: 12px;
  }
  .wp-block-table th {
    width: 40%;
    font-size: 14px;
  }
  .wp-block-table td {
    font-size: 14px;
  }
}