  /* 固定背景エリア */
  .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;
  }

  .your-element {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 60%);
    animation: lightEffect 3s infinite alternate;
    margin: 100px auto; /* 中央配置用 */
  }

  @keyframes lightEffect {
    0% {
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
      box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
    }
  }



  #member {
    position: relative;
    background-image: url('/wp-content/themes/akitsusousai/assets/images/front/honkan.jpg'); /* ✅ 背景画像パス */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px; /* ✅ 最低高さを指定して背景の切れを防ぐ */
    box-sizing: border-box;
  }

  .member-overlay {
    background-color: #fffcfc;
    padding: 40px 20px;
    max-width: 660px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .member-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs__3l);
    margin-bottom: 30px;
    text-align: center;
  }

  .member-subtitle::before,
  .member-subtitle::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #daa520; /* 線の色 */
    margin: 0 20px;          /* テキストとの余白 */
  }


  .member-header {
    font-size: var(--fs__6l);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
  }

  .member-content p {
    font-size: var(--fs__l);
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
    max-width: 600px;    /* 🔸 横幅の最大値を指定 */
    width: 100%;         /* 🔸 親要素に対して100%でレスポンシブ対応 */
  }

  .member-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    background-color: #daa520;
    border-radius: 8px;
    padding: 40px 0;
  }

  .member-features-inner {
    border: 2px solid #fff; /* 内側の白ボーダー（例） */
    padding: 30px;
    border-radius: 6px;
    width: 90%;
    max-width: 600px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.05); /* optional: 薄い背景でコントラスト */
  }

  .member-feature-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  /* h4 見出し */
.member-feature-heading {
    font-size: var(--fs__3l);
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
  }

  /* 上段の月額費・積立金ボックス */
  .feature-block {
    text-align: center;
  }

  .feature-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .feature-label {
    font-size: var(--fs__1l);
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
  }

  .feature-emphasis {
    font-size: var(--fs__5l);
    font-weight: bold;
    color: #ffffff;
  }

  /* 下段：入会金 */
  .feature-text {
    font-size: var(--fs__4l);
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
  }

  .feature-text span {
    display: inline-block;
    white-space: nowrap;
  }

  .feature-text .feature-label {
    font-size: var(--fs__4l);
    white-space: nowrap;
  }

  .price-list-small {
    font-size: var(--fs__s);
    color: #daa520;
    background-color: #ffffff;
    display: inline-block;
    line-height: 1.2;
    text-align: center;
    padding: 4px 6px;
    border-radius: 4px;
    white-space: nowrap;
  }

  .price-unit-small {
    font-size: var(--fs__l);
    color: #ffffff;
  }

  .feature-price {
    font-size: var(--fs__5l);
    font-weight: bold;
    color: #ffffff;
  }
  .member-contact {
    text-align: center;
    margin-top: 20px;
    padding: 30px 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .member-contact-intro {
    font-size: var(--fs__l);
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
  }

  .member-contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .contact-method {
    font-size: var(--fs__l);
    font-weight: bold;
    color: #fff;
    background-color: #daa520;
    padding: 12px 24px;
    border-radius: 6px;
    white-space: nowrap;
  }

  .feature-sp-break {
    display: none;
  }


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .member-container {
    flex-direction: column;
    text-align: center;
  }

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

  .member-content p {
    font-size: var(--fs__m);
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .member-image img {
    width: 150px;
    margin-top: 20px;
  }

  .member-features {
    padding: 30px 16px;
    gap: 24px;
    border-radius: 0;
  }

  .member-features-inner {
    padding: 20px;
    width: 100%;
  }

  .member-feature-row {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .member-feature-heading {
    font-size: var(--fs__1l);
    margin-bottom: 12px;
  }

  .feature-label-group {
    flex-direction: column;
    gap: 4px;
  }

  .feature-label {
    font-size: var(--fs__l);
  }

  .feature-emphasis {
    font-size: var(--fs__3l);
  }

  .feature-sp-break {
    display: none; /* 横並びにするため改行は不要 */
  }

  .feature-text {
    font-size: var(--fs__2l);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: center;
  }

  .feature-text {
    margin: 0;
    padding: 0; /* 🔽 追加されている余白があれば取り除く */
  }

  .feature-text .feature-label {
    font-size: var(--fs__l);
    display: inline-block; /* 横並びのため */
    margin-bottom: 0;
  }

  .price-list-small,
  .feature-price,
  .feature-emphasis {
    display: inline-block;
    white-space: nowrap;
  }

  .price-unit-small {
    font-size: var(--fs__xs);
  }

  .feature-price {
    font-size: var(--fs__3l);
  }

  .price-list-small {
    font-size: var(--fs__xs);
    padding: 3px 5px;
  }

  .member-contact {
    padding: 24px 16px;
  }

  .member-contact-intro {
    font-size: var(--fs__m);
    margin-bottom: 16px;
    text-align: left;
  }

  .member-contact-methods {
    flex-direction: column;
    gap: 16px;
  }

  .contact-method {
    font-size: var(--fs__m);
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* 見出し */
.member-title-center {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 5px; /* 下線との間隔 */
    display: inline-block; /* 文字幅に合わせる */
  }

  /* 下線（文字幅に合わせて可変し、右端に余白を確保） */
  .member-title-center::after {
    content: "";
    display: block;
    width: calc(100% - 2px); /* 右端に余白を確保 */
    height: 3px; /* 下線の太さ */
    background-color: #004d67; /* 下線の色 */
    position: absolute;
    bottom: 0;
    left: 0;
  }

  /* 下線の終わりの区切り */
  .member-title-center::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 3px; /* 区切りのサイズ */
    height: 3px;
    background-color: #004d67;
    display: block;
    transform: translateX(3px); /* 区切りを右にずらして下線と分離 */
  }


  /* スマホ対応 */
  @media (max-width: 768px) {
    .member-title-center {
        font-size: 1.8rem;
    }
  }



#not-member {
  padding: 60px 5%;
}

/* ✅ コンテナ */
.not-member-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* 画像とテキストの間隔 */
  max-width: 1000px;
  margin: 0 auto 60px;
}

.not-member-content {
  max-width: 600px;
}

/* ✅ h2（左寄せ） */
.not-member-title {
  font-size: var(--fs__6l);
  font-weight: bold;
  margin-bottom: 40px;
  text-align: left;
}

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


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

/* 🔽 1024px以下：縦並びに変更、中央寄せ */
@media screen and (max-width: 1024px) {
  .not-member-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .not-member-title {
    text-align: left;
    font-size: var(--fs__6l);
  }

  .not-member-content {
    max-width: 90%;
  }

  .not-member-container img {
    width: 190px;
  }
}

/* 🔽 768px以下：フォントサイズ調整 */
@media screen and (max-width: 768px) {
  .not-member-title {
    font-size: var(--fs__4l);
    margin-bottom: 30px;
  }

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

  .not-member-container img {
    width: 160px;
  }
}

/* 🔽 480px以下：さらに小さく、paddingも調整 */
@media screen and (max-width: 480px) {
  #not-member {
    padding: 40px 3%;
  }

  .not-member-title {
    font-size: var(--fs__2l);
    margin-bottom: 25px;
  }

  .not-member-content p {
    font-size: var(--fs__s);
    font-weight: bold;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 10px;
  }

  .not-member-container img {
    width: 140px;
  }
}
