@charset "UTF-8";
/*
 * ======================================
 * site.css — 株式会社BRF サイト固有CSS
 * ======================================
 * 共通 main.css（scss/main-brf.scss からコンパイル）で再現できない、
 * claude-design-output 固有の見た目差分のみをここに定義する。
 * 変数配色・フォントは scss/main-brf.scss で上書き済み。
 *
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * --------------------------------------
 * .brf-header / .brf-logo / .brf-header-tel / .brf-header-cta   - 半透明sticky風ヘッダー・テキストロゴ・電話+CTA
 * .brf-footer*                                                  - ダーク3カラムフッター
 * .brf-cta*                                                     - 写真背景＋ガラスカードのお問い合わせCTA帯
 * .brf-page-hero*                                               - 下層ページの薄ティールグラデ・ヒーロー
 * .brf-en / .brf-ttl / .brf-lead / .brf-label / .brf-text / .brf-muted - 見出し・本文の装飾/色差分
 * .brf-btn*                                                     - デザイン準拠の内容ぴったり幅ボタン（矢印付き）
 * .brf-hero* / .brf-marquee*                                    - TOPメインビュー（中央見出し＋流れる画像帯）
 * .brf-scard*                                                   - TOP取扱サービスカード（画像＋MOREバッジ＋巨大番号）
 * .brf-explore*                                                 - TOP回遊カード（写真＋グラデ＋EN＋説明）
 * .brf-recruit*                                                 - TOP採用バナー（Caveat筆記体＋写真）
 * .brf-solution*                                                - 事業内容ページの取扱サービス行（写真＋番号＋タグ）
 * .brf-flow*                                                    - コンサルの流れ（番号円＋縦つなぎ線）
 * .brf-info*                                                    - 会社概要・募集要項の角丸dlテーブル
 * .brf-cols3* / .brf-persona*                                   - 3分割（企業理念のvalues・採用のペルソナ）
 * .brf-phil*                                                    - 企業理念ヒーローの大型ロゴタイポ／帯写真
 * .brf-side*                                                    - ブログサイドバーの各カード
 * .brf-form*                                                    - お問い合わせフォーム
 * .brf-news-thumb                                               - お知らせ一覧サムネイル行
 *
 * 共通SCSSに不足していたもの（5分類）
 * --------------------------------------
 * ・構造不足：60px級の大型EN見出しラベル（既存 heading__en の代表値は5rem）→ .brf-en
 * ・構造不足：写真背景＋中央ガラスカードのCTA（footer-cta はベタ帯のみ）→ .brf-cta
 * ・装飾パターン不足：流れる画像マーキー（gallery-scroll は高さ・比率が固定寄り）→ .brf-marquee
 * ・装飾パターン不足：番号＋縦つなぎ線のシンプルなフロー（card-numbered--connector は円が小さい）→ .brf-flow
 * ・状態不足：現在ページのナビpill強調（header__nav-item--current は下線のみ）→ 下記で上書き
 */

/* ==========================================================================
   ページ全体（固定ヘッダー分のオフセット）
   ========================================================================== */
body { padding-top: 76px; font-weight: 500; }
@media (max-width: 1100px) { body { padding-top: 60px; } }
body.is-nav-open { overflow: hidden; }

.brf-heading-color { color: #22302f; }

/* 汎用テキスト色 */
.brf-text  { color: #4a5a56; line-height: 2.2; font-size: 1.6rem; }
.brf-muted { color: #5b6c67; }
.brf-note  { color: #93a29d; font-size: 1.25rem; line-height: 1.9; }

/* ==========================================================================
   セクション見出し（大型EN + JAタイトル）
   ========================================================================== */
.brf-en {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 6rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #05AE99;
  margin: 0;
}
.brf-en--lg { font-size: 6.4rem; }
@media (max-width: 896px) { .brf-en { font-size: 4.2rem; } .brf-en--lg { font-size: 4.6rem; } }
@media (max-width: 639px) { .brf-en { font-size: 3.2rem; } .brf-en--lg { font-size: 3.4rem; } }

.brf-ttl {
  color: #22302f;
  font-weight: 700;
  line-height: 1.5;
}
/* デフォルト上余白は :where() で最低詳細度に。mt-*/mb-* ユーティリティが常に勝つ */
:where(.brf-ttl) { margin-top: 8px; }
.brf-lead {
  color: #22302f;
  font-weight: 700;
  line-height: 1.7;
  font-size: 2.6rem;
}
@media (max-width: 639px) { .brf-lead { font-size: 1.9rem; } }

.brf-label {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #05AE99;
  margin: 0 0 16px;
}

/* ==========================================================================
   ボタン（内容ぴったり幅・矢印付き）
   ========================================================================== */
.brf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  padding: 16px 28px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}
.brf-btn--primary { background: #05AE99; color: #fff; }
.brf-btn--primary:hover { background: #037E6E; opacity: 1; }
.brf-btn--ghost { background: #fff; color: #2D3A3A; border-color: #d5e3de; }
.brf-btn--ghost:hover { border-color: #05AE99; color: #05AE99; opacity: 1; }
.brf-btn--white { background: #fff; color: #037E6E; }
.brf-btn--white:hover { opacity: 0.88; }
.brf-btn--lg { padding: 18px 40px; font-size: 1.6rem; border-radius: 10px; }
.brf-btn--pill { border-radius: 999px; }
.brf-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.35rem; font-weight: 700; color: #037E6E; text-decoration: none;
}
.brf-textlink:hover { color: #05AE99; opacity: 1; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.brf-header.header-bar {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: none;
  border-bottom: 1px solid #e6ece9;
}
.brf-header .header__inner { height: 76px; max-width: 1800px; width: 96%; margin: 0 auto; padding: 0 28px; }
@media (max-width: 1100px) { .brf-header .header__inner { height: 60px; width: 100%; padding: 0 15px; } }
/* ロゴ左 ／ ナビ＋TEL＋CTA を右に1グループ化（元データ準拠） */
.brf-header .header__nav { margin-left: auto; margin-right: 24px; gap: 2px; }
.brf-header .header__right { gap: 24px; }

/* ヘッダーロゴ（画像） */
.brf-logo-img { display: flex; align-items: center; }
.brf-logo-img img { height: 50px; width: auto; }
@media (max-width: 1100px) { .brf-logo-img img { height: 40px; } }

/* PCナビ：EN上・JA下 */
.brf-header .header__nav-item a { padding: 8px 13px; border-radius: 8px; }
.brf-header .header__nav-item a::after { display: none; }
.brf-header .header__nav-en { font-size: 1.4rem; letter-spacing: 0.06em; }
.brf-header .header__nav-ja { font-size: 1rem; font-weight: 500; color: #7c8b86; margin-top: 1px; }
.brf-header .header__nav-item a:hover { background: #f0f7f5; opacity: 1; }
/* 現在ページ：pill強調（下線ではなく薄ティール背景） */
.brf-header .header__nav-item--current a { background: #e6f5f1; }
.brf-header .header__nav-item--current a::after { display: none; }
.brf-header .header__nav-item--current .header__nav-en { color: #05AE99; }
.brf-header .header__nav-item--current .header__nav-ja { color: #05AE99; }

.brf-header-tel {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  text-decoration: none;
}
.brf-header-tel__num {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 700; font-size: 1.9rem; color: #2D3A3A; letter-spacing: 0.02em;
}
.brf-header-tel__note { font-size: 1rem; color: #7c8b86; }
.brf-header-tel:hover { opacity: 0.75; }

/* CTAボタン（フル高さではなく角丸ボタン） */
.brf-header-cta.header__cta {
  flex-direction: row;
  height: auto;
  align-self: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}
.brf-header-cta.header__cta:hover { background: #037E6E; }

/* SPナビ下部の電話 */
.brf-tel-lg {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 700; font-size: 2.4rem; letter-spacing: 0.02em; text-decoration: none;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.brf-footer { background: #2D3A3A; color: #cdd8d4; }
.brf-footer__grid {
  max-width: 1160px; margin: 0 auto; padding: 72px 28px 40px;
  display: grid; grid-template-columns: 1.15fr 1fr 1.25fr; gap: 56px;
}
@media (max-width: 896px) { .brf-footer__grid { grid-template-columns: 1fr; gap: 40px; padding: 50px 24px 32px; } }

.brf-footer__logo { margin-bottom: 20px; }
/* フッターは暗背景のため白抜き（brightness0+invert1）で視認性確保 */
.brf-footer__logo-img { height: 62px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.brf-footer__address { margin: 0 0 20px; font-size: 1.3rem; line-height: 2; color: #9fb0ab; }
.brf-footer__dl { font-size: 1.3rem; line-height: 1.9; color: #9fb0ab; }
.brf-footer__dl > div { display: flex; gap: 10px; }
.brf-footer__dl dt { width: 56px; color: #6f817c; flex-shrink: 0; }
.brf-footer__dl dd { margin: 0; }

.brf-footer__label {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.25em; color: #5fd9c6; margin: 0 0 20px;
}
.brf-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.brf-footer__links a {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 1.4rem; color: #cdd8d4; text-decoration: none;
}
.brf-footer__links a:hover { color: #5fd9c6; opacity: 1; }
.brf-footer__links .font-en { font-size: 0.9rem; letter-spacing: 0.15em; color: #6f817c; }

.brf-footer__map { border-radius: 12px; overflow: hidden; border: 1px solid #3f4f4d; margin-bottom: 18px; }
.brf-footer__map iframe { filter: grayscale(0.2) contrast(0.95); }
.brf-footer__cta.btn { max-width: 100%; width: 100%; border-radius: 9px; padding: 15px; font-weight: 700; }

.brf-footer__bottom { border-top: 1px solid #3f4f4d; }
.brf-footer__bottom-inner {
  max-width: 1160px; margin: 0 auto; padding: 20px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1.15rem; color: #7c8b86; letter-spacing: 0.03em;
}
@media (max-width: 639px) {
  .brf-footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; padding-bottom: 80px; }
}

/* ==========================================================================
   お問い合わせCTA帯（写真背景＋ガラスカード）
   ========================================================================== */
.brf-cta { position: relative; padding: 70px 0 88px; overflow: hidden; isolation: isolate; }
/* 背景写真＋ぼかし（inset負値でぼかしの端欠けを防ぐ） */
.brf-cta::before {
  content: ""; position: absolute; inset: -24px; z-index: 0;
  background: var(--cta-bg) center / cover no-repeat;
  filter: blur(6px);
}
/* ゴールドグラデを乗算（multiply）で重ねる */
.brf-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(120deg, #6e5623 0%, #b9943f 48%, #e8d189 100%);
  mix-blend-mode: multiply; opacity: 0.9;
}
.brf-cta__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(45, 58, 58, 0.28); }
/* 幅・左右余白は共通 .container に委譲（他セクションと同一幅に統一） */
.brf-cta__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.5fr 1.5fr; gap: 36px; align-items: center;
}
@media (max-width: 896px) { .brf-cta__inner { grid-template-columns: 1fr; gap: 28px; } }
.brf-cta__lead { color: #fff; }
.brf-cta__en {
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 700; font-size: 6rem; line-height: 1.05; letter-spacing: 0.03em;
  color: #c7f4ec; margin: 0 0 10px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
@media (max-width: 639px) { .brf-cta__en { font-size: 3.6rem; } }
.brf-cta__ttl { margin: 0; font-size: clamp(2.4rem, 2.6vw, 3rem); font-weight: 700; line-height: 1.55; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }

.brf-cta__card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 18px; padding: 52px 40px;
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 32px; align-items: start;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.4);
}
@media (max-width: 639px) {
  .brf-cta__card { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .brf-cta__divider { display: none; }
}
.brf-cta__col { text-align: center; }
/* 小見出し：アイコン左＋（TEL/お電話）右の左右構成 */
.brf-cta__colhead { display: flex; align-items: center; justify-content: center; gap: 14px; }
.brf-cta__icon { display: block; flex: none; }
.brf-cta__colhead-txt { text-align: left; }
.brf-cta__col-en {
  display: block;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 800; font-size: 2.6rem; color: #22302f; letter-spacing: 0.02em; line-height: 1.1;
}
.brf-cta__col-note { display: block; margin: 2px 0 0; font-size: 1.2rem; color: #6b7d78; letter-spacing: 0.05em; }
.brf-cta__tel {
  display: block; margin: 14px 0 0; line-height: 1.1;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-weight: 800; font-size: 2.9rem; color: #05AE99; letter-spacing: 0.01em; text-decoration: none;
}
.brf-cta__hours { margin: 3px 0 0; font-size: 1.25rem; color: #6b7d78; }
.brf-cta__divider { width: 1px; height: 150px; background: #c9dcd6; margin: 0 auto; align-self: center; }
.brf-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 22px; background: #05AE99; color: #fff; font-weight: 700; font-size: 1.5rem;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; transition: background 0.25s ease;
}
.brf-cta__btn:hover { background: #037E6E; opacity: 1; }

/* ==========================================================================
   下層ページヒーロー（薄ティールグラデ）
   ========================================================================== */
.brf-page-hero { background: linear-gradient(180deg, #f3faf8, #ffffff); border-bottom: 1px solid #eef4f2; }
.brf-page-hero__inner { max-width: 1160px; margin: 0 auto; padding: 56px 28px 48px; }
.brf-page-hero .breadcrumb { padding: 0 0 22px; }
.brf-page-hero .breadcrumb__list { font-family: "Manrope", "Montserrat", sans-serif; letter-spacing: 0.04em; font-size: 1.2rem; }
.brf-page-hero .breadcrumb__link, .brf-page-hero .breadcrumb__current { color: #8fa39d; }
.brf-page-hero__ja { margin: 10px 0 0; font-size: 2.4rem; font-weight: 700; color: #22302f; letter-spacing: 0.05em; }

/* ==========================================================================
   TOP：メインビュー（中央見出し＋流れる画像帯）
   ========================================================================== */
.brf-hero { position: relative; background: linear-gradient(180deg, #f3faf8 0%, #ffffff 100%); overflow: hidden; }
.brf-hero__pattern {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  opacity: 0.1; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.brf-hero__head { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 92px 28px 8px; text-align: center; }
@media (max-width: 639px) { .brf-hero__head { padding: 56px 24px 8px; } }
.brf-hero__title {
  margin: 0; font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700;
  font-size: clamp(3.8rem, 6.4vw, 8.6rem); line-height: 1.08; letter-spacing: 0.02em; color: #22302f;
}
.brf-hero__title span { color: #05AE99; }
.brf-hero__sub { margin: 26px 0 0; font-size: 1.9rem; letter-spacing: 0.15em; font-weight: 700; color: #4a5a56; }
.brf-hero__btns { display: flex; gap: 14px; margin-top: 38px; justify-content: center; flex-wrap: wrap; }

.brf-marquee {
  position: relative; z-index: 1; margin-top: 56px; padding-bottom: 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brf-marquee__track { display: flex; gap: 16px; width: max-content; animation: brfMarquee 42s linear infinite; }
.brf-marquee__item { width: 380px; height: 236px; border-radius: 12px; overflow: hidden; flex: none; }
.brf-marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .brf-marquee__item { width: 260px; height: 168px; } }
@keyframes brfMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brf-marquee__track { animation: none; } }

/* 背景ティールセクション（低ポリテクスチャ） */
.brf-section-teal { position: relative; background: #e6f5f1; overflow: hidden; }
.brf-section-pale { position: relative; background: #f3faf8; overflow: hidden; }
.brf-section-tex::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  opacity: 0.5; pointer-events: none;
}
.brf-section-tex > * { position: relative; z-index: 1; }

/* ==========================================================================
   TOP：取扱サービスカード（画像＋MOREバッジ＋巨大番号）
   ========================================================================== */
.brf-scard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px 60px; }
@media (max-width: 639px) { .brf-scard-grid { grid-template-columns: 1fr; gap: 48px; } }
.brf-scard { display: block; text-decoration: none; color: #2D3A3A; }
/* 外枠：角丸のみ・クリップしない（MOREバッジを下にはみ出させるため） */
.brf-scard__img { position: relative; height: 280px; border-radius: 14px; }
/* 内側：画像だけをクリップ */
.brf-scard__imgwrap { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; }
.brf-scard__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.brf-scard:hover .brf-scard__imgwrap img { transform: scale(1.06); }
.brf-scard__more {
  position: absolute; right: 22px; bottom: -24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 14px;
  background: #05AE99; color: #fff;
  font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: 0.1em;
  padding: 10px 26px; border-radius: 9px; box-shadow: 0 6px 16px -10px rgba(5, 174, 153, 0.5);
  transition: background 0.25s ease;
}
.brf-scard:hover .brf-scard__more { background: #037E6E; }
.brf-scard__body { padding: 20px 0 30px; }
.brf-scard__num { font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 4.6rem; line-height: 1; color: #cfe4de; }
.brf-scard__ttl { margin: -22px 0 10px; font-size: 1.9rem; line-height: 1.5; font-weight: 700; color: #22302f; }
.brf-scard__desc { margin: 0; font-size: 1.6rem; line-height: 1.9; color: #5b6c67; }

/* ==========================================================================
   TOP：回遊カード（写真＋グラデ＋EN＋説明）
   ========================================================================== */
.brf-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 896px) { .brf-explore-grid { grid-template-columns: 1fr; } }
.brf-explore {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px; border-radius: 18px; overflow: hidden; padding: 28px; color: #fff;
  text-decoration: none; background: #2D3A3A;
}
.brf-explore__img { position: absolute; inset: 0; }
.brf-explore__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.brf-explore:hover .brf-explore__img img { transform: scale(1.05); }
.brf-explore::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34, 48, 47, 0.05) 30%, rgba(34, 48, 47, 0.82) 100%);
}
.brf-explore__body { position: relative; z-index: 1; }
.brf-explore__en { font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.25em; color: #5fd9c6; margin: 0; }
.brf-explore__ttl { margin: 6px 0 4px; font-size: 2.2rem; font-weight: 700; }
.brf-explore__desc { margin: 0; font-size: 1.3rem; line-height: 1.7; color: #d7e2de; }

/* ==========================================================================
   TOP：採用バナー（Caveat筆記体＋写真）
   ========================================================================== */
.brf-recruit {
  position: relative; border-radius: 22px; color: #fff; padding: 56px;
  background: #05AE99; background-size: cover; background-position: center;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; overflow: visible;
}
@media (max-width: 896px) { .brf-recruit { grid-template-columns: 1fr; gap: 32px; padding: 44px 28px; } }
.brf-recruit__script {
  position: absolute; top: -46px; left: -12px; z-index: 5;
  font-family: "Caveat", cursive; font-weight: 500; font-size: 10.4rem; line-height: 1; color: #037E6E;
  transform: rotate(-9deg); text-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); pointer-events: none;
}
@media (max-width: 639px) { .brf-recruit__script { font-size: 6.4rem; top: -32px; } }
.brf-recruit__body { position: relative; z-index: 2; }
.brf-recruit__ttl { margin: 12px 0 16px; font-size: 3.4rem; line-height: 1.5; font-weight: 700; }
@media (max-width: 639px) { .brf-recruit__ttl { font-size: 2.4rem; } }
.brf-recruit__txt { margin: 0 0 28px; font-size: 1.6rem; line-height: 2; color: #eafaf7; }
.brf-recruit__img { position: relative; z-index: 2; height: 300px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.35); }
.brf-recruit__img img { width: 100%; height: 100%; object-fit: cover; }

/* TOPニュース見出し2カラム */
.brf-news { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
@media (max-width: 896px) { .brf-news { grid-template-columns: 1fr; gap: 20px; } }

/* ==========================================================================
   事業内容：取扱サービス行
   ========================================================================== */
.brf-solutions { display: grid; gap: 44px; }
.brf-solution { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: center; }
@media (max-width: 896px) {
  .brf-solution { grid-template-columns: 1fr; gap: 24px; }
}
.brf-solution__img { position: relative; height: 280px; border-radius: 16px; overflow: hidden; }
.brf-solution__img img { width: 100%; height: 100%; object-fit: cover; }
.brf-solution__head { display: flex; align-items: baseline; gap: 16px; }
.brf-solution__num { font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 4.2rem; line-height: 1; color: #cfe4de; }
.brf-solution__ttl { margin: 0; font-size: 2.2rem; font-weight: 700; color: #22302f; }
.brf-solution__desc { margin: 18px 0 0; font-size: 1.6rem; line-height: 2.15; color: #4a5a56; }
.brf-tags { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.brf-tags li { font-size: 1.25rem; font-weight: 600; color: #037E6E; background: #e6f5f1; padding: 7px 15px; border-radius: 999px; }

/* ==========================================================================
   コンサルの流れ（番号円＋縦つなぎ線）
   ========================================================================== */
.brf-flow { list-style: none; margin: 0; padding: 0; }
.brf-flow__item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.brf-flow__marker { display: flex; flex-direction: column; align-items: center; }
.brf-flow__num {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: #05AE99; background-size: cover; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 1.9rem;
}
.brf-flow__line { flex: 1; width: 2px; background: #c9e6de; }
.brf-flow__item:last-child .brf-flow__line { display: none; }
.brf-flow__body { padding: 2px 0 40px; }
.brf-flow__item:last-child .brf-flow__body { padding-bottom: 0; }
.brf-flow__ttl { margin: 8px 0; font-size: 1.8rem; font-weight: 700; color: #22302f; }
.brf-flow__desc { margin: 0; font-size: 1.6rem; line-height: 1.9; color: #5b6c67; }

/* ==========================================================================
   角丸dlテーブル（会社概要・募集要項）
   ========================================================================== */
.brf-info { margin: 0; background: #fff; border: 1px solid #e7eeeb; border-radius: 16px; overflow: hidden; }
.brf-info__row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid #eef4f2; }
.brf-info__row:last-child { border-bottom: none; }
.brf-info--narrow .brf-info__row { grid-template-columns: 180px 1fr; }
.brf-info dt { padding: 22px 28px; background: #fafdfc; font-size: 1.4rem; font-weight: 700; color: #2D3A3A; }
.brf-info dd { margin: 0; padding: 22px 28px; font-size: 1.6rem; line-height: 1.9; color: #4a5a56; }
@media (max-width: 639px) {
  .brf-info__row, .brf-info--narrow .brf-info__row { grid-template-columns: 1fr; }
  .brf-info dt { padding-bottom: 6px; }
  .brf-info dd { padding-top: 0; }
}

/* ==========================================================================
   3分割（企業理念values・採用ペルソナ）
   ========================================================================== */
.brf-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 639px) { .brf-cols3 { grid-template-columns: 1fr; } }
.brf-cols3__item { background: #fff; padding: 20px 40px; }
.brf-cols3__item + .brf-cols3__item { border-left: 1px solid #dbe7e3; }
@media (max-width: 639px) { .brf-cols3__item + .brf-cols3__item { border-left: none; border-top: 1px solid #dbe7e3; } }
.brf-cols3__num { font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 5.2rem; line-height: 1; color: #cfe4de; }
.brf-cols3__ttl { margin: 14px 0 12px; font-size: 1.9rem; line-height: 1.6; font-weight: 700; color: #22302f; }
.brf-cols3__desc { margin: 0; font-size: 1.6rem; line-height: 2; color: #5b6c67; }
.brf-cols3__text { margin: 14px 0 0; font-size: 1.6rem; line-height: 1.9; font-weight: 500; color: #2D3A3A; }
/* recruit「こんな方を歓迎します」：カード白背景なし＋番号を白に */
.brf-cols3--ghost .brf-cols3__item { background: transparent; }
.brf-cols3--ghost .brf-cols3__num { color: #fff; }

/* ==========================================================================
   企業理念ヒーロー
   ========================================================================== */
/* Bright Future：TOP採用「Recruit」と同じ手書き系フォント（Caveat） */
.brf-phil-logo { font-family: "Caveat", cursive; font-weight: 600; font-size: 7.6rem; line-height: 1.05; color: #22302f; letter-spacing: 0; margin: 30px 0 0; }
@media (max-width: 639px) { .brf-phil-logo { font-size: 5rem; } }
.brf-phil-sub { margin: 16px 0 0; font-size: 2.2rem; font-weight: 700; color: #05AE99; letter-spacing: 0.1em; }
.brf-phil-band { position: relative; height: 340px; overflow: hidden; }
.brf-phil-band img { width: 100%; height: 100%; object-fit: cover; }
.brf-phil-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 126, 110, 0.55), rgba(5, 174, 153, 0.25)); }

/* ==========================================================================
   ブログ：一覧・詳細
   ========================================================================== */
.brf-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start; }
@media (max-width: 896px) { .brf-blog-layout { grid-template-columns: 1fr; gap: 40px; } }
.brf-blog-side { position: sticky; top: 96px; }
@media (max-width: 896px) { .brf-blog-side { position: static; } }

.brf-side { display: grid; gap: 26px; }
.brf-side__box { border: 1px solid #e7eeeb; border-radius: 16px; padding: 26px; }
.brf-side__box--tinted { background: #f3faf8; border-color: #e2ede9; }
.brf-side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.brf-side__list a { display: flex; justify-content: space-between; padding: 11px 4px; font-size: 1.4rem; color: #2D3A3A; border-bottom: 1px solid #e6efeb; text-decoration: none; }
.brf-side__list a:hover { color: #05AE99; opacity: 1; }
.brf-side__count { color: #9db3ac; font-family: "Manrope", "Montserrat", sans-serif; font-size: 1.3rem; }
.brf-side__recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.brf-side__recent a { display: block; color: #2D3A3A; text-decoration: none; }
.brf-side__recent a:hover { opacity: 0.75; }
.brf-side__recent .date { display: block; font-family: "Manrope", "Montserrat", sans-serif; font-size: 1.2rem; color: #9db3ac; }
.brf-side__recent .ttl { font-size: 1.35rem; line-height: 1.6; }

.brf-news-thumb { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 4px; color: #2D3A3A; align-items: center; text-decoration: none; }
.brf-news-thumb__img { position: relative; height: 96px; border-radius: 10px; overflow: hidden; background: #eef4f2; }
.brf-news-thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.brf-news-thumb:hover .brf-news-thumb__title { color: #05AE99; }
.brf-news-thumb__title { margin: 0; font-size: 1.6rem; line-height: 1.6; font-weight: 500; }
@media (max-width: 639px) { .brf-news-thumb { grid-template-columns: 100px 1fr; gap: 16px; } }

/* 日付＋カテゴリ行 */
.brf-meta { display: flex; align-items: center; gap: 14px; }
.brf-meta__date { font-family: "Manrope", "Montserrat", sans-serif; font-weight: 600; font-size: 1.3rem; color: #7c8b86; }
.brf-cat { display: inline-block; font-size: 1.1rem; font-weight: 700; color: #05AE99; border: 1px solid #b9e5db; border-radius: 20px; padding: 3px 12px; }

/* カテゴリフィルタチップ */
.brf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.brf-chip { font-size: 1.3rem; font-weight: 700; padding: 9px 18px; border-radius: 22px; background: #fff; color: #5b6c67; border: 1px solid #dbe6e2; text-decoration: none; }
.brf-chip:hover { border-color: #05AE99; color: #05AE99; opacity: 1; }
.brf-chip.is-current { background: #05AE99; color: #fff; border-color: #05AE99; }

/* 記事本文 */
.brf-article-body { font-size: 1.6rem; line-height: 2.2; color: #3f4f4b; }
.brf-article-body p { margin: 0 0 24px; }
.brf-article-body h2 { margin: 40px 0 16px; font-size: 2rem; font-weight: 700; color: #22302f; border-left: 4px solid #05AE99; padding-left: 14px; line-height: 1.5; }
.brf-article-hero { position: relative; aspect-ratio: 16 / 8; border-radius: 16px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 24px 60px -32px rgba(45, 58, 58, 0.4); }
.brf-article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */
.brf-form { display: grid; gap: 22px; }
.brf-form__label { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; margin-bottom: 9px; color: #2D3A3A; }
.brf-req { font-size: 1.1rem; color: #fff; background: #05AE99; padding: 2px 8px; border-radius: 4px; }
.brf-any { font-size: 1.1rem; color: #7c8b86; background: #eef4f2; padding: 2px 8px; border-radius: 4px; }
.brf-form input, .brf-form textarea {
  width: 100%; border: 1.5px solid #dbe6e2; border-radius: 10px; padding: 14px 16px;
  font-size: 1.5rem; color: #2D3A3A; background: #fff; outline: none; font-family: inherit;
  transition: border-color 0.15s;
}
.brf-form input:focus, .brf-form textarea:focus { border-color: #05AE99; }
.brf-form input::placeholder, .brf-form textarea::placeholder { color: #aebbb6; }
.brf-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 1.3rem; color: #5b6c67; line-height: 1.7; }
.brf-agree input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #05AE99; }
.brf-form__submit {
  margin-top: 6px; background: #05AE99; color: #fff; border: 0; font-weight: 700; font-size: 1.6rem;
  padding: 18px; border-radius: 10px; cursor: pointer; font-family: inherit; transition: background 0.25s ease;
}
.brf-form__submit:hover { background: #037E6E; }
.brf-form-done { grid-column: 1 / -1; background: #e6f5f1; color: #037E6E; padding: 16px 20px; border-radius: 10px; font-weight: 700; }

/* --- CMS埋め込みフォーム（rs-sys mail-form.css / form-pattern-1）を静的フォームのデザインに合わせる ---
   ID(#cms-contact-1-1-area)指定でCMS側のクラス指定より優先度を上げて上書きする。 */
/* コンテナ余白リセット */
#cms-contact-1-1-area .form-contents { padding: 0; margin: 0; background: transparent; }

/* 2カラムfloatを解除して縦積みに戻す */
#cms-contact-1-1-area dl { margin: 0; }
#cms-contact-1-1-area dt {
  float: none; width: 100%; padding: 0; margin: 0 0 9px; text-align: left;
  font-size: 1.4rem; font-weight: 700; color: #2D3A3A;
}
#cms-contact-1-1-area dd {
  padding: 0 0 22px; margin: 0; border-bottom: 0; line-height: 1.7;
}

/* 「必須」バッジ：CMS標準の赤バッジ(::before)を消し、ラベル後ろに緑バッジ(::after)を付与 */
#cms-contact-1-1-area .form-pattern-1 dl dt span.required::before { content: none; }
#cms-contact-1-1-area dt .required { display: inline-flex; align-items: center; gap: 10px; color: #2D3A3A; }
#cms-contact-1-1-area dt .required::after {
  content: "必須"; font-size: 1.1rem; font-weight: 700; color: #fff; background: #05AE99;
  padding: 3px 8px; border-radius: 4px; line-height: 1;
}

/* 入力欄：高さ固定(30px)などを解除して元の見た目に */
#cms-contact-1-1-area input.textarea,
#cms-contact-1-1-area textarea.textarea {
  width: 100%; box-sizing: border-box; height: auto; -webkit-appearance: none;
  border: 1.5px solid #dbe6e2; border-radius: 10px; padding: 14px 16px;
  font-size: 1.5rem; color: #2D3A3A; background: #fff; outline: none; font-family: inherit;
  transition: border-color 0.15s;
}
#cms-contact-1-1-area textarea.textarea { min-height: 160px; resize: vertical; }
#cms-contact-1-1-area input.textarea:focus,
#cms-contact-1-1-area textarea.textarea:focus { border-color: #05AE99; }
#cms-contact-1-1-area input.textarea::placeholder,
#cms-contact-1-1-area textarea.textarea::placeholder { color: #aebbb6; }

/* 送信ボタン：灰色300px・封筒アイコンを解除し、元の緑・全幅ボタンに */
#cms-contact-1-1-area .submit-btn {
  display: block; width: 100%; margin: 6px 0 0; padding: 18px;
  background: #05AE99; color: #fff; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 1.6rem; font-family: inherit; cursor: pointer;
  transition: background 0.25s ease;
}
#cms-contact-1-1-area .submit-btn:hover { background: #037E6E; }
#cms-contact-1-1-area .submit-btn::before { display: none; }

.brf-contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
@media (max-width: 896px) { .brf-contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.brf-contact-side { display: grid; gap: 18px; }
.brf-contact-side__box { border-radius: 16px; padding: 28px; }
.brf-contact-side__box--tel { background: #f3faf8; border: 1px solid #e2ede9; }
.brf-contact-side__box--office { background: #2D3A3A; color: #cdd8d4; }
.brf-contact-side__tel { margin: 0; font-family: "Manrope", "Montserrat", sans-serif; font-weight: 700; font-size: 2.6rem; color: #22302f; }
.brf-contact-side__addr { margin: 0; font-size: 1.35rem; line-height: 2; color: #dfe8e5; }

/* FAQ（元データ準拠：角丸カード＋Q文字＋インデント回答） */
.brf-faq { display: grid; gap: 14px; }
.brf-faq__item { border: 1px solid #e7eeeb; border-radius: 14px; background: #fff; padding: 0 26px; }
.brf-faq__q {
  display: flex; align-items: center; gap: 16px; padding: 22px 0;
  font-size: 1.6rem; font-weight: 700; color: #22302f; cursor: pointer; list-style: none;
}
.brf-faq__q::-webkit-details-marker { display: none; }
.brf-faq__q::marker { content: ""; }
.brf-faq__mark { font-family: "Manrope", "Montserrat", sans-serif; color: #05AE99; font-size: 1.8rem; flex: none; }
.brf-faq__toggle { margin-left: auto; color: #05AE99; font-size: 1.6rem; font-weight: 700; transition: transform 0.2s ease; }
.brf-faq__item[open] .brf-faq__toggle { transform: rotate(45deg); }
.brf-faq__a { margin: 0; padding: 18px 0 24px 34px; font-size: 1.45rem; line-height: 2; color: #4a5a56; border-top: 1px solid #eef4f2; }

/* リード段落 */
.brf-intro-text { margin: 28px auto 0; font-size: 1.65rem; line-height: 2.1; color: #4a5a56; max-width: 100%; }

/* ==========================================================================
   汎用ヘルパー（インラインスタイル回避用）
   ========================================================================== */
.brf-container-md { max-width: 1080px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.brf-mw-1160 { max-width: 1160px; }
.brf-mw-36 { max-width: 36em; }
.brf-mw-40 { max-width: 40em; }
.brf-mw-52 { max-width: 52em; }
.brf-mw-56 { max-width: 56em; }
.brf-label--light { color: #5fd9c6; }
.brf-embed-border { border: 1px solid #e7eeeb; }
/* アクセスマップ：.embed iframe{height:100%} で潰れるため親に高さを与える */
.brf-map-embed { height: 480px; }
@media (max-width: 639px) { .brf-map-embed { height: 340px; } }
.brf-fineprint { color: #b0bcb8; font-size: 1.2rem; }
.brf-tex-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.1; pointer-events: none; }
.brf-page-hero__inner--slim { padding-top: 40px; padding-bottom: 40px; }
