  /* 固定背景エリア */
  .header-banner {
    background-image: url('../images/flow2.png'); /* 背景画像を指定 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff; /* テキストカラー */
    text-align: center;
    padding: 100px 20px; /* 上下の余白を調整 */
  }

  /* 固定背景内のテキスト */
  .header-banner .header-content h1 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .header-banner .header-content p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  /* 事前相談セクション */
#features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin-top: 50px;
}

/* セクションのレイアウト */
.features-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* 画像とテキストの間隔 */
  max-width: 1000px;
  margin-bottom: 60px;
}

/* 左側のテキストコンテナ */
.features-content {
  max-width: 600px;
}

/* 右側の画像コンテナ */
.features-image img {
  width: 200px; /* 画像の幅 */
  height: auto;
  border-radius: 10px;
}


/* セクションヘッダー（中央寄せ） */
.features-header-center {
width: 100%;
max-width: 1000px;
text-align: center; /* 中央寄せ */
margin: 0 auto;
box-sizing: border-box;
}

  /* 見出し */
.features-header {
  font-size: var(--fs__4l);
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
}

/* テキストのスタイル */
.features-content p {
  font-size: var(--fs__l);
  font-weight: bold;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column; /* スマホでは縦並び */
    text-align: center;
  }

  .features-content {
    max-width: 100%;
  }


    /* 見出し */
.features-header {
  font-size: var(--fs__3l);
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
}

  .features-image img {
    width: 150px; /* スマホでは小さく */
    margin-top: 20px;
  }
}

@media screen and (max-width: 576px) {
  .features-header {
    font-size: var(--fs__2l); /* 見出しをさらに小さく */
    text-align: center;       /* スマホでは中央寄せ推奨 */
    margin-bottom: 16px;
  }

  .features-content p {
    font-size: var(--fs__m);
    line-height: 1.6;
    text-align: center;       /* スマホでは読みやすさのため中央寄せ */
    padding: 0 10px;
  }
}

/* 親セクション（背景画像を適用） */
.features-important-section {
    position: relative;
    width: 100%;
    padding: 200px 5%; /* 上下の余白を確保 */
    background-color: #f9f6f6;
  }

.features-important-container {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px; /* 🚀 左右の余白を追加 */
}

.features-important {
  padding: 20px 0;
}

.features-important-header {
  font-size: var(--fs__5l);
  font-weight: bold;
  margin-bottom: 40px;
}

/* リストを中央配置 */
.features-list {
  display: flex;
  flex-direction: column; /* ← 横並びから縦並びに変更 */
  align-items: center;     /* 子要素を中央寄せ */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  }

  /* 各アイテム */
  .features-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    width: 100%;
    max-width: 1000px; /* 適切な幅 */
}
.features-important-illustration {
  text-align: center;
  margin-bottom: 20px;
}

.features-important-illustration img {
  max-width: 20px; /* お好みで調整可能 */
  width: 100%;
  height: auto;
  display: inline-block;
}


/* 横書きの見出し */
.features-heading {
  position: relative;
  font-size: var(--fs__2l);
  font-weight: bold;
  margin-bottom: 15px; /* 画像との間隔 */
  text-align: left;
}

/* h3 の下に左寄せで1pxのラインを追加 */
.features-heading::after {
  content: '';
  position: absolute;
  bottom: -10px; /* h3下との距離 */
  left: 0; /* 左寄せ */
  width: 100px; /* ラインの長さ（調整可） */
  height: 1px;
  background-color: #333; /* ラインの色（調整可） */
}


/* 画像とテキスト */
.features-image-text {
  position: relative;
  padding-bottom: 130px; /* 画像の高さ分 + 余白 */
}

.features-image-text img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 120px;
  height: auto;
  border-radius: 10px;
  margin: 0;
}

.features-image-text p {
  font-size: var(--fs__l);
  text-align: left;
  margin: 0;
}

/* ==========================
   📌 1224px以下 → 2列表示
========================== */
@media screen and (max-width: 1224px) {
  .features-item {
      width: calc(50% - 20px); /* 🚀 2列に変更 */
  }
}

/* ==========================
 📌 767px以下 → 1列表示
========================== */
@media screen and (max-width: 767px) {
  .features-important-section {
      padding: 100px 5%; /* 🚀 余白を調整 */
  }

  .features-important-header {
    font-size: var(--fs__3l);
    font-weight: bold;
    margin-bottom: 30px;
  }

  .features-list {
      flex-direction: column; /* 🚀 縦並び */
      align-items: center;
  }

  .features-item {
      width: 100%; /* 🚀 幅を100%に */
      max-width: 400px; /* 🚀 最大幅を制限 */
  }
  .features-heading {
    font-size: var(--fs__1l); /* フォントサイズを1段階小さく */
    margin-bottom: 12px;     /* 少し余白を減らす */
  }

  .features-heading::after {
    bottom: -8px;           /* ラインとの距離を少し詰める */
    width: 80px;            /* ラインの長さを短縮 */
  }

  .features-image-text img {
      width: 100px; /* 🚀 スマホでは少し小さめ */
  }
}

@media screen and (max-width: 480px) {
  .features-heading {
    font-size: var(--fs__m); /* さらに小さくして可読性確保 */
    margin-bottom: 10px;
  }

  .features-heading::after {
    width: 60px;           /* スマホ画面では短めのライン */
    bottom: -6px;
  }
}


/* features-not の親セクションに背景画像を適用 */
.features-not-section {
    position: relative;
    width: 100%;
    padding: 100px 5%; /* 上下の余白を確保 */

  }

  /* 中央配置のコンテナ */
  .features-not-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* 中央寄せ */
    text-align: center;
    padding: 0 20px;
  }


.features-not {
  padding: 20px 0;
}

.features-not-header {
  font-size: var(--fs__5l);
  font-weight: bold;
  margin-bottom: 20px;
}

.features-not-list {
  display: flex;
  flex-direction: column; /* ← 横並びから縦並びに変更 */
  align-items: center;     /* 子要素を中央寄せ */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

  /* 各アイテム */
  .features-not-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    width: 100%;
    max-width: 1000px; /* 適切な幅 */
  }

/* ==========================
   📌 1224px以下 → 2列表示
========================== */
@media screen and (max-width: 1224px) {
  .features-not-item {
      width: calc(50% - 20px); /* 🚀 2列に変更 */
  }
}

/* ==========================
 📌 767px以下 → 1列表示
========================== */
@media screen and (max-width: 767px) {
  .features-not-section {
      padding: 100px 5%; /* 🚀 余白を調整 */
  }

  .features-not-header {
    font-size: var(--fs__3l);
    font-weight: bold;
    margin-bottom: 30px;
  }

  .features-not-list {
      flex-direction: column; /* 🚀 縦並び */
      align-items: center;
  }

  .features-not-item {
      width: 100%; /* 🚀 幅を100%に */
      max-width: 400px; /* 🚀 最大幅を制限 */
  }

  .features-image-text img {
      width: 100px; /* 🚀 スマホでは少し小さめ */
  }
}


#features-note-section {
  position: relative;
  padding: 60px 0;
  background-image: url('/wp-content/themes/akitsusousai/assets/images/plan/plan_haikei.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  margin: 0;
  z-index: 1;
  overflow: hidden;
}


/* ✅ マスク（黒の半透明オーバーレイ） */
#features-note-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: -1; /* ✅ 背景画像より前・コンテンツより後ろ */
}



/* ✅ features-note-container の全体調整 */
.features-note-container {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
  padding: 80px 0; /* ✅ 上下の余白を追加 */

}

/* ✅ features-note-content のレイアウト調整 */
  .features-note-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 30px;

}

.features-note-text {
  position: relative;
  padding: 40px 30px;

}

.features-note-text::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-100%, -50%); /* ✅ 左上の外側へ */
  font-size: 8rem;
  color: #aaa;
  font-family: serif;
  z-index: 0;
}

.features-note-text::after {
  content: '"';
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(100%, 50%); /* ✅ 右下の外側へ */
  font-size: 8rem;
  color: #aaa;
  font-family: serif;
  z-index: 0;
}



/* テキスト */
.features-note-text p {
  flex: 1;
  font-size: var(--fs__2l);
  line-height: var(--line-height-l);
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .features-note-container {
    padding: 40px 15px;
  }

  .features-note-content {
    padding: 30px 15px;
  }

  .features-note-text {
    padding: 30px 20px;
  }

  .features-note-text::before,
  .features-note-text::after {
    font-size: 7rem;
  }

  .features-note-text p {
    font-size: var(--fs__1l);
    line-height: 1.8;
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  .features-note-text::before,
  .features-note-text::after {
    font-size: 5rem;
  }

  .features-note-text p {
    font-size: var(--fs__l);
    padding: 0 5px;
  }
}


#consultation-invite-section {
  background-color: #fef9f2;
  padding: 60px 20px;
}

.consultation-invite-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px; /* ✅ 左右にも余白追加で詰まりを解消 */
  box-sizing: border-box;
}

.consultation-invite-title {
  font-size: var(--fs__5l);
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
}

.consultation-invite-text {
  font-size: var(--fs__l);
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333;
  text-align: left;
}

.consultation-invite-btn-wrapper {
  text-align: center;
}

.consultation-invite-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: var(--fs__m);
  font-weight: bold;
  color: #fff;
  background-color: #8C0085;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.consultation-invite-btn:hover {
  background-color: #a52999;
}

@media screen and (max-width: 768px) {
  .consultation-invite-container {
    padding: 0 20px; /* ✅ スマホでは余白を少し狭める */
  }

  .consultation-invite-title {
    font-size: var(--fs__3l); /* 少しだけ小さく */
    text-align: left;
  }

  .consultation-invite-text {
    font-size: var(--fs__l); /* 小さくなりすぎないように明示 */
    text-align: left;
    line-height: 1.8;
  }

  .consultation-invite-btn {
    font-size: var(--fs__l);
    padding: 14px 28px; /* タップしやすいサイズ */
    width: 100%;
    max-width: 300px;
  }

  .consultation-invite-btn-wrapper {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .consultation-invite-title {
    font-size: var(--fs__1l);
    text-align: left;
  }

  .consultation-invite-text {
    font-size: var(--fs__m);
    line-height: 1.7;
    text-align: left
  }

  .consultation-invite-btn {
    font-size: var(--fs__m);
    padding: 12px 20px;
  }
}

/* ポップアップ */
.features-popup {
  position: relative;
  text-align: center;
  margin-top: 20px;
}

.features-popup button {
  padding: 10px 20px;
  font-size: var(--fs__l);
  cursor: pointer;
  background-color: #004d67;
  color: #fff;
  border: none;
  border-radius: 50px;
}

.popup-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  z-index: 100;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 10px;
}

.popup-content.active {
  display: block;
}

.popup-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  cursor: pointer;
}


/* .features-popup {
  position: relative;
  text-align: center;
  margin-top: 20px;
}

.features-popup button {
  padding: 10px 20px;
  font-size: 1.4rem;
  cursor: pointer;
  background-color: #004d67;
  color: #fff;
  border: none;
  border-radius: 50px;
}

.popup-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  z-index: 100;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 10px;
}

.popup-content.active {
  display: block;
}

.popup-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  cursor: pointer;
} */

/* 独立したSVG波アニメーションコンテナ */
.svg-wave-container {
  position: relative;
  width: 100%;
  height: 150px; /* 波の高さを調整 */
  overflow: hidden;
}

/* 新しいSVG波のコンテナ */
.svg-wave-container-2 {
  position: relative;
  width: 100%;
  height: 180px; /* 波の高さ（調整可能） */
  overflow: hidden;
}
