@charset "UTF-8";
/* ============================================================
   header.css — 新ヘッダー（ダークバー＋メガメニュー＋CTA）の専用CSSを
   1ファイルに統合したもの。元: css/global.css ＋ css/global-menu.css。
   ※ SCSSビルド対象外（手動メンテ。style.css の後に読み込む）。
   ============================================================ */
/* ============================================================
   global.css — 新ヘッダー（ダークバー）基盤スタイル
   ------------------------------------------------------------
   ※ このファイルは SCSS のメインビルド（style.css）に含めない。
     手動メンテ専用。`npx gulp` の再ビルド対象外なので、既存ページを
     壊さずにヘッダーだけを差し替えられる。
   ※ style.css の後に読み込み、白背景前提だった .header 系を
     上書きして Figma のダークバー（#404040）デザインへ寄せる。
   メガメニュー本体（ドロップダウン）の見た目は global-menu.css 側。
   ============================================================ */

/* ===========================================================
   ヘッダーバー（ダーク #404040・常時ソリッド）
   =========================================================== */
#header,
#header.fixed,
#header.page-header,
#header.fixed-out {
  background: #fff;
  box-shadow: 0px 0px 2px 2px #ddd;
  padding: 10px 0;
}
/* スクロール上げ時のフェード（白→透明）アニメは無効化 */
#header.fixed-out {
  animation: none;
}
.header {
  background: #fff;
}

@media screen and (min-width: 1001px) {
  .header__nav-wrap {
    min-height: 52px;
    gap: 16px;
  }
}

/* ===========================================================
   テキストロゴ（BEHEALTHY ＋ タグライン）
   =========================================================== */
.header__logo {
  margin: 0;
}
.header__logo-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 1;
}
.header__logo-img {
  display: block;
  width: auto;
  height: 34px;
}
/* 反転用ロゴ。現在のSPドロワーは白背景のため通常は非表示 */
.header__logo-img--white {
  display: none;
}
@media screen and (max-width: 1000px) {
  #header,
  #header.fixed,
  #header.page-header,
  #header.fixed-out {
    padding: 0;
  }
  .header__inner {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .header__nav-wrap {
    min-height: 52px;
  }
  .header__logo-img {
    height: 32px;
  }
}
.header__logo-name {
  font-family: "Inter", "Noto Sans CJKjp", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
}
.header__logo-tagline {
  font-family: "Noto Sans CJKjp", serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6f6f6f;
}
@media screen and (max-width: 1000px) {
  .header__logo {
    padding-left: 20px;
  }
  .header__logo-name {
    font-size: 16px;
  }
  .header__logo-tagline {
    font-size: 9px;
  }
}

/* ===========================================================
   右グループ（PCナビ ＋ CTA）
   =========================================================== */
.header__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
@media screen and (max-width: 1000px) {
  .header__right {
    display: none;
  }
}

/* ===========================================================
   PCナビ（白文字・13px Noto Sans Medium）
   =========================================================== */
@media screen and (min-width: 1001px) {
  .header__nav,
  .header__nav-list {
    height: 72px;
  }
  .header__nav-list {
    gap: 0;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .header__nav-item {
    margin-right: 0;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .header__nav-item .header__nav-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
    height: 72px;
    padding: 0 8px;
    font-family: "Noto Sans CJKjp", serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    white-space: nowrap;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
  }
  /* 「・・・」トリガーは <button>。ネイティブ装飾を打ち消してリンクと揃える */
  .header__nav-item button.header__nav-link {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    margin: 0;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
  }
  /* 既存 style.css の .header.fixed / .page-header（黒文字指定）と整合 */
  .header.fixed .header__nav-item > .header__nav-link,
  .header.page-header .header__nav-item > .header__nav-link {
    color: #1a1a1a;
  }
  .header__nav-item .header__nav-link:hover,
  .header.fixed .header__nav-item > .header__nav-link:hover,
  .header.page-header .header__nav-item > .header__nav-link:hover {
    color: #f5c224;
  }
  .header__nav-item--more .header__nav-link {
    letter-spacing: 2px;
  }

  /* 画面が狭くなるほどナビを段階的に詰める（1001pxまでフル表示を維持） */
  @media (max-width: 1400px) {
    .header__nav-wrap {
      gap: 12px;
    }
    .header__nav-item .header__nav-link {
      padding: 0 8px;
      font-size: 15px;
    }
  }
  @media (max-width: 1275px) {
    .header__nav-wrap {
      gap: 8px;
    }
    .header__nav-item .header__nav-link {
      padding: 0 6px;
      font-size: 14px;
    }
  }
  @media (max-width: 1160px) {
    .header__nav-wrap {
      gap: 6px;
    }
    .header__nav-item .header__nav-link {
      padding: 0 4px;
      font-size: 13px;
    }
  }
  @media (max-width: 1060px) {
    .header__nav-item .header__nav-link {
      padding: 0 3px;
      font-size: 12px;
    }
  }
}

/* ===========================================================
   CTAボタン（資料請求＝白枠 / 無料相談＝黄塗り）
   =========================================================== */
.header__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
.header__cta-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1px;
  border-radius: 50px;
  padding: 9px 18px;
  text-align: center;
  white-space: nowrap;
  -webkit-transition: background 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.header__cta-top {
  font-family: "Noto Sans CJKjp", serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.header__cta-main {
  font-family: "Noto Sans CJKjp", serif;
  font-size: 18px;
  letter-spacing: 1px;
}
/* 資料請求＝白地に黒枠（従属的・セカンダリ） */
.header__cta-btn--outline {
  border: 1.5px solid #d3d3d3;
  color: #1a1a1a;
  background: #fff;
}
.header__cta-btn--outline .header__cta-main {
  font-weight: 600;
}
.header__cta-btn--outline:hover {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}
/* 無料相談＝黄塗り（プライマリ・最も目立たせる） */
.header__cta-btn--fill {
  position: relative;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffd23e), to(#f2ab1c));
  background: linear-gradient(180deg, #ffd23e 0%, #f2ab1c 100%);
  color: #1a1a1a;
  /* 右側に丸アロー分のスペースを確保して一回り大きく */
  padding: 11px 48px 11px 22px;
  -webkit-box-shadow: 0 8px 22px rgba(224, 168, 20, 0.5);
          box-shadow: 0 8px 22px rgba(224, 168, 20, 0.5);
}
.header__cta-btn--fill .header__cta-top {
  font-size: 12px;
  font-weight: 500;
}
.header__cta-btn--fill .header__cta-main {
  font-size: 18px;
  font-weight: 700;
}
/* 右端の丸アロー（button-in-button）で押せる感と存在感を強調 */
.header__cta-btn--fill::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 8px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-family: "Inter", "Noto Sans CJKjp", sans-serif;
  font-size: 14px;
  font-weight: 600;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}
/* 目を引くパルスリング（クリック可能要素のみ・transform/opacityのみ） */
.header__cta-btn--fill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(245, 194, 36, 0.75);
  opacity: 0;
  pointer-events: none;
  -webkit-animation: ctaPulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
          animation: ctaPulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@-webkit-keyframes ctaPulse {
  0% { opacity: 0.7; -webkit-transform: scale(1); transform: scale(1); }
  70%, 100% { opacity: 0; -webkit-transform: scale(1.14); transform: scale(1.14); }
}
@keyframes ctaPulse {
  0% { opacity: 0.7; -webkit-transform: scale(1); transform: scale(1); }
  70%, 100% { opacity: 0; -webkit-transform: scale(1.14); transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .header__cta-btn--fill::before {
    -webkit-animation: none;
            animation: none;
  }
}
.header__cta-btn--fill:hover {
  background: -webkit-gradient(linear, left top, left bottom, from(#ffda5c), to(#f7b52e));
  background: linear-gradient(180deg, #ffda5c 0%, #f7b52e 100%);
}
.header__cta-btn--fill:hover::after {
  background: #000;
  -webkit-transform: translateY(-50%) translateX(2px);
          transform: translateY(-50%) translateX(2px);
}
.header__cta-btn--outline:hover {
  -webkit-box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
          box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}
.header__cta-btn--fill:hover {
  -webkit-box-shadow: 0 12px 28px rgba(224, 168, 20, 0.62);
          box-shadow: 0 12px 28px rgba(224, 168, 20, 0.62);
}
.header__cta-btn:active {
  -webkit-transform: translateY(0) scale(0.98);
          transform: translateY(0) scale(0.98);
}
/* 画面が狭くなるほどCTA・ロゴも段階的に詰める（ナビと同じブレークポイント） */
@media (min-width: 1001px) and (max-width: 1400px) {
  .header__cta {
    gap: 6px;
  }
  .header__cta-main {
    font-size: 16px;
  }
  .header__cta-btn {
    padding: 8px 15px;
  }
  .header__cta-btn--fill {
    padding: 8px 44px 8px 15px;
  }
  .header__cta-btn--fill::after {
    width: 27px;
    height: 27px;
    right: 7px;
    font-size: 13px;
  }
}
@media (min-width: 1001px) and (max-width: 1275px) {
  .header__logo-img {
    height: 30px;
  }
  .header__cta {
    gap: 5px;
  }
  .header__cta-top {
    font-size: 11px;
  }
  .header__cta-main {
    font-size: 14px;
  }
  .header__cta-btn {
    padding: 7px 13px;
  }
  .header__cta-btn--fill {
    padding: 7px 40px 7px 13px;
  }
  .header__cta-btn--fill::after {
    width: 25px;
    height: 25px;
    right: 6px;
    font-size: 12px;
  }
}
@media (min-width: 1001px) and (max-width: 1160px) {
  .header__logo-img {
    height: 28px;
  }
  .header__cta-top {
    font-size: 10px;
  }
  .header__cta-main {
    font-size: 13px;
  }
  .header__cta-btn {
    padding: 6px 11px;
  }
  .header__cta-btn--fill {
    padding: 6px 36px 6px 11px;
  }
  .header__cta-btn--fill::after {
    width: 24px;
    height: 24px;
    right: 6px;
    font-size: 12px;
  }
}

/* ===========================================================
   メガメニュー トリガーと▼矢印
   =========================================================== */
.header__nav-item.has-megamenu {
  position: relative;
}
.megamenu-trigger {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
/* ▼矢印は疑似要素で付与。テキストは他メニューと同じ縦中央に置き、
   矢印だけ絶対配置でテキストの真下・中央に出す（横位置を揃えるため） */
.header__nav-item--mega:not(.header__nav-item--more) > .header__nav-link {
  position: relative;
}
.header__nav-item--mega:not(.header__nav-item--more) > .header__nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 17px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.25s ease;
  transition: -webkit-transform 0.25s ease;
  transition: transform 0.25s ease;
  transition: transform 0.25s ease, -webkit-transform 0.25s ease;
  opacity: 0.9;
}
.header__nav-item--mega:not(.header__nav-item--more):hover > .header__nav-link::after,
.header__nav-item--mega:not(.header__nav-item--more):focus-within > .header__nav-link::after {
  -webkit-transform: translate(-50%, -50%) rotate(225deg);
          transform: translate(-50%, -50%) rotate(225deg);
}
@media screen and (max-width: 1000px) {
  .header__nav-item--mega:not(.header__nav-item--more) > .header__nav-link::after {
    display: none;
  }
}

/* ===========================================================
   SPドロワー：白背景でオーバーレイを統一
   =========================================================== */
.circle-bg {
  background: #fff;
}
@media screen and (max-width: 1000px) {
  /* 閉じている間（背景透明＝明るい地）はハンバーガー線・"menu" を黒 */
  .header .openbtn1 span,
  .header.fixed .openbtn1 span,
  .header.page-header .openbtn1 span {
    background-color: #1a1a1a;
  }
  .openbtn1:after {
    color: #1a1a1a;
  }
  .openbtn1 {
    top: 0;
    width: 48px;
    height: 42px;
  }
  .openbtn1:after {
    top: 34px;
    right: 17px;
  }
  .openbtn1 span {
    width: 28px;
  }
  .openbtn1 span:nth-of-type(1) {
    top: 20px;
  }
  .openbtn1 span:nth-of-type(2) {
    top: 26px;
    width: 19px;
    left: 9px;
  }
  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
  }
  .openbtn1.active span:nth-of-type(2) {
    top: 30px;
  }
  /* ドロワー展開中も白背景なので ×・"menu"・ロゴは黒のままにする。 */
  .openbtn1.active span,
  .openbtn1.active span:nth-of-type(1),
  .openbtn1.active span:nth-of-type(2) {
    background-color: #1a1a1a;
  }
  .header:has(.openbtn1.active) .openbtn1:after {
    color: #1a1a1a;
  }
  .header:has(.openbtn1.active) .header__logo-name,
  .header:has(.openbtn1.active) .header__logo-tagline {
    color: #1a1a1a;
  }
  /* ドロワー開閉でロゴが動かないよう、バー側ロゴをオーバーレイより前面に固定表示。
     ドロワー内に別ロゴを置かず同一要素を使うことで位置・サイズを完全一致させる。 */
  .header__logo {
    position: relative;
    z-index: 1001;
  }
}

/* ===========================================================
   reCAPTCHA バッジの横はみ出し対策
   ------------------------------------------------------------
   デフォルトの .grecaptcha-badge は position:fixed; right:-186px で
   画面右に約186pxはみ出しており、スマホで右側に白い余白（横スクロール）
   が発生する。画面内に収めてはみ出しを解消する。
   =========================================================== */
.grecaptcha-badge {
  right: 0 !important;
}


/* ============================================================
   global-menu.css — ヘッダー メガメニュー本体
   ------------------------------------------------------------
   ※ SCSS ビルド対象外（手動メンテ）。global.css の後に読み込む。
   ※ メガメニューはPC（1001px以上）でホバー表示。1000px以下は
     SPドロワー（sp-acc）側で制御するため非表示にする。
   ------------------------------------------------------------
   デザイン方針（baigie.me を参考にブラッシュアップ）:
   ・事業内容 … バー直下に降りる「全幅パネル」。中身は
     コンテナ幅で左寄せ・カテゴリ見出し＋英字サブ＋丸枠→リンク。
   ・ビーヘルシーとは / その他(・・・) … トリガー直下の
     コンパクトなドロップダウンカード（同じ視覚言語）。
   ・開いている間はページ背景を薄暗くフォーカスさせる。
   ============================================================ */

/* =========================================================
   PC：ホバー / フォーカスで開くメガメニュー（1001px以上）
   ========================================================= */
@media screen and (min-width: 1001px) {

  /* メガメニューを持つ項目（ビーヘルシーとは / 事業内容 / ・・・）は
     position:static にして、パネルを #header（position:fixed）基準で
     全幅展開させる。3メニューとも同じ全幅バーデザインに統一。 */
  .header__nav-item.has-megamenu {
    position: static;
  }

  /* メニューを開くとページ背景を薄暗くフォーカスさせるオーバーレイ */
  .header::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 92px;
    bottom: 0;
    background: rgba(23, 23, 23, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .header:has(.header__nav-item.has-megamenu:hover)::after,
  .header:has(.header__nav-item.has-megamenu:focus-within)::after,
  .header:has(.megamenu:hover)::after {
    opacity: 1;
    visibility: visible;
  }

  /* パネル共通（初期は非表示・ヘッダー直下に配置） */
  .megamenu {
    position: absolute;
    top: 100%;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
    pointer-events: none;
  }

  /* パネルは3メニューとも全幅バー */
  .megamenu {
    left: 0;
    width: 100%;
  }

  /* ホバー / フォーカスで表示 */
  .header__nav-item.has-megamenu:hover .megamenu,
  .header__nav-item.has-megamenu:focus-within .megamenu,
  .header__nav-item.has-megamenu:has(.megamenu:hover) .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* 白バーは全幅（3メニュー共通）、中身はコンテナ幅で左寄せ */
  .megamenu {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 40px -12px rgba(23, 23, 23, 0.22);
  }
  .megamenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }
  .megamenu__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 72px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px 40px 48px;
  }

  /* カラム（事業内容は2カラム） */
  .megamenu__col {
    flex: 0 0 auto;
  }

  /* カテゴリ見出し（クリックでカテゴリTOPへ） */
  .megamenu__col-title {
    display: block;
    font-family: "Noto Sans CJKjp", serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
  }
  a.megamenu__col-title:hover {
    color: #9a7400;
  }
  /* カテゴリ英字サブ（eyebrow） */
  .megamenu__eyebrow {
    display: block;
    margin-top: 3px;
    margin-bottom: 14px;
    font-family: "Inter", "Noto Sans CJKjp", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b3aca0;
  }
  /* カテゴリ見出しと本文の区切り（全幅パネルのみ） */
  .megamenu--service .megamenu__col-title {
    padding-bottom: 0;
  }

  /* リンクリスト */
  .megamenu__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .megamenu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Noto Sans CJKjp", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
    white-space: nowrap;
    padding: 8px 8px 8px 6px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
  }
  /* 行頭の丸枠「→」アロー（baiiie 風） */
  .megamenu__link::before {
    content: "→";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    font-family: "Inter", "Noto Sans CJKjp", sans-serif;
    font-size: 11px;
    color: #6b6b6b;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .megamenu__link:hover {
    color: #9a7400;
    background: rgba(245, 194, 36, 0.08);
  }
  .megamenu__link:hover::before {
    background: #f5c224;
    border-color: #f5c224;
    color: #1a1a1a;
    transform: translateX(1px);
  }
  /* 専用ページが無い項目（テキストのみ・リンクなし） */
  .megamenu__item.-no--link .megamenu__link {
    cursor: default;
    color: #8a8a8a;
  }
  .megamenu__item.-no--link .megamenu__link::before {
    color: transparent;
    border-color: #ececec;
  }
  .megamenu__item.-no--link .megamenu__link:hover {
    color: #8a8a8a;
    background: transparent;
  }
  .megamenu__item.-no--link .megamenu__link:hover::before {
    background: transparent;
    border-color: #ececec;
    color: transparent;
    transform: none;
  }
}

/* =========================================================
   SP / タブレット（1000px以下）：メガメニューパネルは隠す
   ナビ自体は header__nav が display:none のため非表示だが、
   念のためパネルも明示的に消す。
   ========================================================= */
@media screen and (max-width: 1000px) {
  .megamenu {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .header-sp__nav {
    max-width: 431px;
    margin-right: auto;
    margin-left: auto;
  }

  .header-sp__list {
    margin: 0;
    padding: 0;
  }

  .header-sp__list-item {
    padding-top: 16px;
    padding-bottom: 16px;
    color: #1a1a1a;
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  }

  .header-sp__list-item > a {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #1a1a1a;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
  }
  .header-sp__list-item > a:hover {
    color: #f5c224;
  }
}

/* =========================================================
   SP ドロワー内 アコーディオン（メガメニューのSP版）
   ※ JS（js/script.js の sp-acc 制御）で開閉。
     パネルは max-height + opacity でアニメーション。
   ========================================================= */

/* アコーディオン親アイテム */
.header-sp__list-item--acc {
  display: block;
}

@media screen and (max-width: 1000px) {
  .header-sp__list-item--acc {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .header-sp__list-item--acc.is-open {
    padding-bottom: 16px;
  }
}

/* 開閉ボタン（「ビーヘルシーとは」「事業内容」） */
.sp-acc__toggle {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  text-align: center;
  font: inherit;
  color: inherit;
  /* 既存の header-sp__list-item > a と高さ・文字を揃える */
  font-family: "Noto Sans CJKjp", serif;
}

@media screen and (max-width: 1000px) {
  .sp-acc__toggle {
    min-height: 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }
}

/* 開閉アイコン（＋／−） */
.sp-acc__icon {
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  margin-left: 12px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.sp-acc__icon::before,
.sp-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  -webkit-transition: -webkit-transform 0.25s ease, opacity 0.25s ease;
  transition: -webkit-transform 0.25s ease, opacity 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s ease, -webkit-transform 0.25s ease;
}
.sp-acc__icon::before {
  width: 14px;
  height: 2px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.sp-acc__icon::after {
  width: 2px;
  height: 14px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
/* 開いているとき：縦棒を消して「−」にする */
.sp-acc.is-open .sp-acc__icon::after {
  opacity: 0;
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
          transform: translate(-50%, -50%) rotate(90deg);
}

/* 開閉パネル（初期は閉じる） */
.sp-acc__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  -webkit-transition: max-height 0.3s ease, opacity 0.3s ease;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.sp-acc.is-open .sp-acc__panel {
  opacity: 1;
  /* max-height は JS で実値を設定。フォールバックとして十分大きい値。 */
  max-height: 1000px;
}

@media screen and (max-width: 1000px) {
  .sp-acc__panel {
    margin-top: 0;
    background: #f7f7f7;
    border-top: 0 solid rgba(245, 194, 36, 0);
    border-radius: 8px;
  }

  .sp-acc.is-open .sp-acc__panel {
    margin-top: 14px;
    border-top-width: 0;
  }
}

/* グループ見出し（事業内容の2カテゴリ） */
.sp-acc__group + .sp-acc__group {
  margin-top: 4px;
}
.sp-acc__group-title {
  display: block;
  font-family: "Noto Sans CJKjp", serif;
  font-weight: 700;
  position: relative;
}

@media screen and (max-width: 1000px) {
  .sp-acc__group {
    padding: 12px 0 10px;
  }

  .sp-acc__group + .sp-acc__group {
    margin-top: 0;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
  }

  .sp-acc__group-title {
    width: auto;
    margin: 0;
    padding: 0 0 6px;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
    color: #f5c224;
  }
}

/* サブリンク群 */
.sp-acc__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-acc__sub > li > a,
.sp-acc__sub > li > p {
  display: block;
  margin: 0;
  font-family: "Noto Sans CJKjp", serif;
}

@media screen and (max-width: 1000px) {
  .sp-acc__sub {
    padding: 6px 16px 8px;
  }

  .sp-acc__group .sp-acc__sub {
    padding-top: 2px;
    padding-bottom: 0;
  }

  /* 記号は使わず、行間の薄い区切り線でリストを見せる（ミニマル） */
  .sp-acc__sub > li + li {
    border-top: 1px dashed rgba(26, 26, 26, 0.14);
  }

  .sp-acc__sub > li > a,
  .sp-acc__sub > li > p {
    display: block;
    width: auto;
    margin: 0;
    padding: 11px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(26, 26, 26, 0.78);
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
  }
  .sp-acc__sub > li > a:hover {
    color: #1a1a1a;
  }
}

/* =========================================================
   ドロワー下部：CTA（資料請求＝白ボタン / 無料相談＝黄塗り）
   PCヘッダーの2ボタンをSP用にフルワイドで配置。
   ========================================================= */
.header-sp__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  max-width: 431px;
  margin: 28px auto 0;
}
@media screen and (max-width: 1000px) {
  .header-sp__cta-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 2px;
    padding: 13px 20px;
    border-radius: 50px;
    text-align: center;
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .header-sp__cta-top {
    font-family: "Noto Sans CJKjp", serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .header-sp__cta-main {
    font-family: "Noto Sans CJKjp", serif;
    font-size: 15px;
  }
  .header-sp__cta-btn--outline {
    border: 1.5px solid #d3d3d3;
    color: #1a1a1a;
    background: #fff;
  }
  .header-sp__cta-btn--outline .header-sp__cta-main {
    font-weight: 500;
  }
  .header-sp__cta-btn--fill {
    background: #f5c224;
    color: #333;
  }
  .header-sp__cta-btn--fill .header-sp__cta-main {
    font-weight: 700;
  }
}
