/* =========================================================================
   design-brand.css  v3
   「AI生成サイト感」を削ぎ、ブランドサイトらしい実在感・温度感へ
   案F (body.d.cw-indigo) = ダーク宇宙テーマ → 透明背景・明るい文字
   案G (body.d.g)         = ホワイトトーン  → 白背景・暗い文字
   案I (body.d.g.h.i)     = 案G系
   ========================================================================= */

/* -----------------------------------------------------------------------
   1. FV ガラスモーフィズムを弱める（全案共通）
   ----------------------------------------------------------------------- */
.e-hero-panel {
  background: rgba(10, 34, 44, 0.72) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  border: 1.5px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.28) !important;
  border-radius: 18px !important;
}
.e-hero-panel h1 { color: #e9f4ff !important; }
.e-hero-panel .e-lead { color: rgba(233,244,255,.78) !important; }

/* FV: ゴーストボタンをシンプルに */
.e-hero-cta .btn-ghost {
  background: rgba(255,255,255,.10) !important;
  color: #e9f4ff !important;
  border: 1.5px solid rgba(255,255,255,.35) !important;
  box-shadow: none !important;
}

/* FV: ストリークの透明度を下げる */
.d-hero-streaks { opacity: .22 !important; }

/* FV: orbit・sparkle を非表示 */
.d-orbit,
.d-spark { display: none !important; }

/* FV: 画像オーバーレイを少し明るく（写真を主役に） */
.e-hero .d-hero-bg::after {
  background:
    linear-gradient(255deg, rgba(11,39,48,.50) 0%, rgba(11,39,48,.16) 40%, transparent 65%),
    radial-gradient(110% 80% at 100% 50%, rgba(42,103,118,.22), transparent 60%) !important;
}

/* mark-em: 細い下線スタイルに（FVヒーローh1の黄色ライン） */
.e-hero-panel h1 .mark-em,
body.d .e-hero-panel h1 .mark-em,
body.d.g .e-hero-panel h1 .mark-em {
  background: linear-gradient(transparent 88%, var(--gold, #FFD86B) 88%) !important;
}
.h-hero-h1 .h-hl {
  background: linear-gradient(transparent 88%, var(--gold, #FFD86B) 88%) !important;
  padding: 0 .05em;
}

/* -----------------------------------------------------------------------
   2. 案F FV ラベル（2行・銀河を強調）
   ----------------------------------------------------------------------- */
.f-fv-label {
  display: block;
  color: rgba(233,244,255,.82);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: -52px 0 20px;
  padding: 0;
  line-height: 1.9;
}
.f-fv-label em {
  font-style: normal;
  font-size: 2em;
  font-weight: 900;
  color: #5BC2D9;
  letter-spacing: .04em;
  vertical-align: baseline;
  line-height: 1;
}

/* -----------------------------------------------------------------------
   2b. 案F FV v2: 左円形スライドショー + 右テキスト直置き
   ----------------------------------------------------------------------- */
/* 旧フルブリード背景写真を非表示 */
body.d:not(.g) .d-hero-bg { display: none !important; }

/* FVセクション: 全画面高さ・2カラム */
body.d:not(.g) .e-hero {
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

/* 宇宙ウェーブをゆっくりドリフト */
.f-hero-v2 .d-hero-streaks {
  animation: f-streaks-drift 24s ease-in-out infinite alternate !important;
  opacity: .32 !important;
}
@keyframes f-streaks-drift {
  0%   { transform: translateX(0)     translateY(0); }
  100% { transform: translateX(-50px) translateY(-14px); }
}

/* 左右に流れる背景オブジェクト */
.f-bg-flow {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: 0 !important;
}
.f-bg-orb {
  position: absolute !important;
  border-radius: 50% !important;
  display: block !important;
}
@keyframes f-orb-lr {
  0%   { transform: translateX(110vw); }
  100% { transform: translateX(-300px); }
}
@keyframes f-orb-rl {
  0%   { transform: translateX(-300px); }
  100% { transform: translateX(110vw); }
}
.f-orb-1 { width:140px; height:140px; top:12%; background:radial-gradient(circle, rgba(91,194,217,.55) 0%, transparent 70%); animation: f-orb-lr 22s linear infinite; }
.f-orb-2 { width: 80px; height: 80px; top:62%; background:radial-gradient(circle, rgba(255,216,107,.50) 0%, transparent 70%); animation: f-orb-lr 18s linear infinite 5s; }
.f-orb-3 { width:100px; height:100px; top:38%; background:radial-gradient(circle, rgba(100,192,171,.48) 0%, transparent 70%); animation: f-orb-rl 26s linear infinite 2s; }
.f-orb-4 { width: 50px; height: 50px; top:78%; background:radial-gradient(circle, rgba(123,159,211,.55) 0%, transparent 70%); animation: f-orb-lr 14s linear infinite 9s; }
.f-orb-5 { width:180px; height:180px; top:25%; background:radial-gradient(circle, rgba(91,194,217,.35) 0%, transparent 70%); animation: f-orb-rl 30s linear infinite 4s; }
.f-orb-6 { width: 60px; height: 60px; top:52%; background:radial-gradient(circle, rgba(255,216,107,.45) 0%, transparent 70%); animation: f-orb-rl 20s linear infinite 12s; }

/* 流れ星 */
@keyframes f-star-fall {
  0%   { transform: translateX(110vw) translateY(0);   opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: .8; }
  100% { transform: translateX(-20vw)  translateY(60px); opacity: 0; }
}
.f-star {
  position: absolute !important;
  border-radius: 50% !important;
  display: block !important;
  background: #fff !important;
  box-shadow: 0 0 6px 2px rgba(255,255,255,.6) !important;
}
.f-star-1 { width:3px; height:3px; top:18%; animation: f-star-fall 12s linear infinite 0s; }
.f-star-2 { width:2px; height:2px; top:44%; animation: f-star-fall 16s linear infinite 3s; opacity:.7; }
.f-star-3 { width:4px; height:4px; top:70%; animation: f-star-fall 10s linear infinite 6s; }
.f-star-4 { width:2px; height:2px; top:28%; animation: f-star-fall 18s linear infinite 1s; opacity:.6; }
.f-star-5 { width:3px; height:3px; top:58%; animation: f-star-fall 14s linear infinite 9s; }
.f-star-6 { width:2px; height:2px; top:82%; animation: f-star-fall 11s linear infinite 4s; opacity:.7; }
.f-star-7 { width:4px; height:4px; top:35%; animation: f-star-fall 20s linear infinite 7s; opacity:.5; }
.f-star-8 { width:2px; height:2px; top:65%; animation: f-star-fall 13s linear infinite 11s; }

/* 2カラムグリッド */
.f-hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(40px, 5vw, 80px) !important;
  align-items: center !important;
  padding: 100px 0 80px !important;
  width: 100% !important;
}

/* ---- 左：円形フレームスライドショー ---- */
.f-mv-photo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.f-mv-frame {
  position: relative !important;
  width: clamp(320px, 42vw, 520px) !important;
  height: clamp(320px, 42vw, 520px) !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 5px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 16px rgba(91,194,217,.1) !important;
  flex-shrink: 0 !important;
  /* フレーム自体もゆっくり浮遊 */
  animation: f-frame-float 8s ease-in-out infinite !important;
}
@keyframes f-frame-float {
  0%,  100% { transform: translateY(0px); }
  50%        { transform: translateY(-14px); }
}

/* 4枚フェードスライドショー (5秒×4枚=20秒サイクル) */
.f-mv-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  opacity: 0;
  animation: f-slide-show 20s infinite !important;
}
.f-mv-slide:nth-child(1) { animation-delay: 0s !important; }
.f-mv-slide:nth-child(2) { animation-delay: 5s !important; }
.f-mv-slide:nth-child(3) { animation-delay: 10s !important; }
.f-mv-slide:nth-child(4) { animation-delay: 15s !important; }
@keyframes f-slide-show {
  0%    { opacity: 0; }
  5%    { opacity: 1; }
  22%   { opacity: 1; }
  27%   { opacity: 0; }
  100%  { opacity: 0; }
}

/* ---- 右：テキスト直置き ---- */
.f-hero-text {
  position: relative !important;
  z-index: 2 !important;
}
.f-hero-text h1 {
  font-size: clamp(28px, 4vw, 52px) !important;
  font-weight: 900 !important;
  color: #e9f4ff !important;
  line-height: 1.45 !important;
  letter-spacing: .01em !important;
  margin: 0 0 18px !important;
  text-shadow: 0 2px 24px rgba(0,0,0,.28) !important;
}
.f-hero-text .mark-em {
  background: linear-gradient(transparent 88%, var(--gold, #FFD86B) 88%) !important;
  padding: 0 .05em !important;
}
.f-hero-text .e-lead {
  color: rgba(233,244,255,.78) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  margin: 0 0 32px !important;
}

@media(max-width: 780px) {
  .f-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 90px 0 50px !important;
  }
  .f-mv-frame {
    width: clamp(260px, 72vw, 360px) !important;
    height: clamp(260px, 72vw, 360px) !important;
  }
}

/* 案G以外での既存eyebrowはシンプルスタイルに（案GはHTMLにeyebrowがある場合のみ） */
body.d.g .e-hero-eyebrow,
body.d.g .e-hero-eyebrow.eb-2 {
  background: rgba(91,194,217,.18) !important;
  color: #0e6b7c !important;
  box-shadow: none !important;
  font-size: 13px !important;
  letter-spacing: .04em !important;
  padding: 9px 16px !important;
  border: 1px solid rgba(91,194,217,.3) !important;
  border-radius: 999px !important;
}
body.d.g .e-hero-eyebrow b { color: #0a3d49 !important; font-size: 15px !important; }
body.d.g .e-hero-eyebrow i { font-style: normal !important; color: rgba(14,107,124,.85) !important; }

/* -----------------------------------------------------------------------
   3. セクションヘッダー: キラキラ装飾除去、星フィールド除去
   ----------------------------------------------------------------------- */
.d-head .d-en::before,
.d-head .d-en::after,
.e-r2-head .d-en::before,
.e-r2-head .d-en::after { display: none !important; }

.d-about::before, .d-work::before, .d-day::before,
.d-support::before, .d-flow::before, .d-fac::before,
.e-r2::before, .e-reasons::before { display: none !important; }

.e-r2-cell::after, .e-reason-card::after, .d-banner::after { display: none !important; }

/* -----------------------------------------------------------------------
   4. 数字実績：全案共通でカードなし・マガジン型レイアウト
   ----------------------------------------------------------------------- */

/* 案G/I: e-r2 は案G本体背景をそのまま使う */
body.d.g .e-r2,
body.d.g.h.i .e-r2 {
  background: transparent !important;
}

.e-r2-head { text-align: left !important; margin-bottom: 28px !important; }

/* 案G/I: 暗い文字 */
body.d.g .e-r2-head .d-en,
body.d.g.h.i .e-r2-head .d-en {
  font-size: 11px !important;
  letter-spacing: .26em !important;
  color: var(--turq-dd) !important;
  margin-bottom: 8px !important;
}
body.d.g .e-r2-head h2,
body.d.g.h.i .e-r2-head h2 {
  font-size: clamp(20px, 2.4vw, 28px) !important;
  color: #0e2b36 !important;
  font-weight: 900 !important;
}
body.d.g .e-r2-head h2 .mark,
body.d.g.h.i .e-r2-head h2 .mark {
  background: linear-gradient(transparent 84%, #FFD86B 84%) !important;
}

/* カードグリッドをフラットな横並びに（全案共通） */
.e-r2-grid {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  border-top: 3px solid #1a6b7e !important;
  padding-top: 0 !important;
  margin-top: 8px !important;
  grid-template-columns: unset !important;
}
/* 案F: 宇宙テーマに合わせたボーダー色 */
body.d:not(.g) .e-r2-grid {
  border-top-color: rgba(91,194,217,.45) !important;
}

/* セル共通スタイル（全案） */
body.d .e-r2-cell {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 36px 36px 28px !important;
  text-align: left !important;
  border-right: 1px solid #d0e8ec !important;
  transition: none !important;
}
body.d .e-r2-cell:last-child { border-right: none !important; }
body.d .e-r2-cell:hover { transform: none !important; box-shadow: none !important; }

/* 案F: セル区切り線を薄く */
body.d:not(.g) .e-r2-cell {
  border-right-color: rgba(255,255,255,.1) !important;
}

/* 数字を大きく主役に（全案） */
body.d .e-r2-cell .e-num {
  font-size: clamp(60px, 7.5vw, 92px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  display: block !important;
  margin-bottom: 14px !important;
  text-shadow: none !important;
}

/* 案G/I: 数字色（デザインf.cssがcos-accentを使うので案Fは上書き不要） */
body.d.g .e-r2-cell .e-num { color: #1a6b7e !important; }
body.d.g .e-r2-cell:nth-child(2) .e-num { color: #2a9f7a !important; }
body.d.g .e-r2-cell:nth-child(3) .e-num { color: #2a6fa8 !important; }

body.d .e-r2-cell .e-num i {
  font-size: .34em !important; font-style: normal !important;
  font-weight: 900 !important; letter-spacing: 0 !important;
  margin-left: 4px !important; vertical-align: baseline !important; color: inherit !important;
}
body.d .e-r2-cell .e-num small {
  font-size: .34em !important; font-weight: 900 !important;
  letter-spacing: 0 !important; margin-left: 3px !important; vertical-align: baseline !important;
}

/* 案G/I: セル内テキスト（暗い文字） */
body.d.g .e-r2-cell h3,
body.d.g.h.i .e-r2-cell h3 {
  font-size: 14px !important; font-weight: 900 !important;
  color: #0e2b36 !important; margin: 0 0 6px !important;
}
body.d.g .e-r2-cell p,
body.d.g.h.i .e-r2-cell p {
  font-size: 13px !important; color: #5a7882 !important;
  font-weight: 500 !important; line-height: 1.85 !important;
}

@media(max-width:780px) {
  .e-r2-grid {
    flex-direction: column !important;
    border-top: none !important;
  }
  body.d .e-r2-cell {
    border-right: none !important;
    border-top: 3px solid #1a6b7e !important;
    padding: 24px 0 !important;
  }
  body.d:not(.g) .e-r2-cell {
    border-top-color: rgba(91,194,217,.45) !important;
  }
}

/* -----------------------------------------------------------------------
   5. 利用者様の声：インタビュー記事スタイル
   ----------------------------------------------------------------------- */

/* 案G/I: e-sec-a も案G本体背景をそのまま使う */
body.d.g .e-sec-a,
body.d.g.h.i .e-sec-a { background: transparent !important; }

.e-voices {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-top: 0 !important;
}

body.d .e-voice {
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  gap: 40px !important;
  padding: 36px 0 !important;
  border-bottom: 1px solid rgba(26,107,126,.18) !important;
  background: transparent !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none !important;
  position: static !important;
}
body.d .e-voices .e-voice:first-child {
  border-top: 1px solid rgba(26,107,126,.18) !important;
}
body.d .e-voice:hover { transform: none !important; box-shadow: none !important; }

/* 案F: ボーダーを宇宙テーマに合わせる */
body.d:not(.g) .e-voice {
  border-bottom-color: rgba(255,255,255,.1) !important;
}
body.d:not(.g) .e-voices .e-voice:first-child {
  border-top-color: rgba(255,255,255,.1) !important;
}

/* 左カラム: 名前・属性（全案共通構造） */
body.d .e-voice .who {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding-top: 4px !important;
  margin-top: 0 !important;
  border-top: none !important;
  gap: 0 !important;
}
body.d .e-voice .who .av { display: none !important; }

/* 案G/I: 暗い文字 */
body.d.g .e-voice .who b,
body.d.g.h.i .e-voice .who b {
  font-size: 17px !important; font-weight: 900 !important;
  color: #0e2b36 !important; display: block !important; margin-bottom: 8px !important;
}
body.d.g .e-voice .who > span > span,
body.d.g.h.i .e-voice .who > span > span {
  font-size: 12px !important; color: #1a6b7e !important;
  font-weight: 700 !important;
  background: rgba(91,194,217,.14) !important;
  padding: 3px 10px !important; border-radius: 999px !important;
  display: inline-block !important;
}

/* 案F: 明るい文字（design-f.cssのcos-inkを活用） */
body.d:not(.g) .e-voice .who b {
  font-size: 17px !important; font-weight: 900 !important;
  display: block !important; margin-bottom: 8px !important;
}
body.d:not(.g) .e-voice .who > span > span {
  font-size: 12px !important;
  font-weight: 700 !important;
  background: rgba(91,194,217,.18) !important;
  padding: 3px 10px !important; border-radius: 999px !important;
  display: inline-block !important;
}

/* 右カラム: 見出し + 本文（構造共通） */
.e-voice .br-vc {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.e-voice .br-vc h4 {
  font-size: clamp(16px, 1.8vw, 20px) !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;
  margin: 0 0 12px !important;
}
/* 案G/I: 暗い文字 */
body.d.g .e-voice .br-vc h4,
body.d.g.h.i .e-voice .br-vc h4 { color: #0e2b36 !important; }
body.d.g .e-voice .br-vc p,
body.d.g.h.i .e-voice .br-vc p {
  font-size: 14px !important;
  line-height: 2.05 !important;
  color: #4a6870 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

@media(max-width:680px) {
  body.d .e-voice {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 24px 0 !important;
  }
}

/* -----------------------------------------------------------------------
   6. エフィラグループ：事業ロゴグリッド（specificity強化）
   ----------------------------------------------------------------------- */
.d-group .gr.e-domains {
  display: block !important;
  border: none !important;
  grid-template-columns: unset !important;
}
.d-group .gr.e-domains .gdomain {
  display: block !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
  margin-bottom: 22px !important;
  border-right: none !important;
  border-bottom: none !important;
}
.d-group .gr.e-domains .gdomain:last-child { margin-bottom: 0 !important; }
.d-group .gr.e-domains .gdomain .gd-ico { display: none !important; }
.d-group .gr.e-domains .gdomain > b {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,.5) !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
/* 案G (白トーン) でのラベル色 */
body.d.g .d-group .gr.e-domains .gdomain > b { color: rgba(20,60,70,.45) !important; border-bottom-color: rgba(20,60,70,.1) !important; }

.d-group .gr.e-domains .br-logo-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  align-items: flex-start !important;
}
.d-group .gr.e-domains .br-logo-row img {
  height: 28px !important;
  width: auto !important;
  max-width: 80px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  display: block !important;
}

/* エフィラグループロゴ（左上） */
.br-efila-group-logo {
  display: block !important;
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  margin-bottom: 18px !important;
}

/* ロゴ＋サービス名セット */
.br-logo-item {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
}
.br-logo-item img {
  height: 28px !important;
  width: auto !important;
  max-width: 80px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  display: block !important;
}
.br-logo-item span {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.5) !important;
  text-align: center !important;
  line-height: 1.4 !important;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
}
/* 案G: ラベル色 */
body.d.g .br-logo-item span { color: rgba(20,60,70,.5) !important; }

/* 補足テキスト */
.br-domains-note {
  font-size: 11px !important;
  color: rgba(255,255,255,.35) !important;
  margin-top: 16px !important;
  letter-spacing: .04em !important;
}
body.d.g .br-domains-note { color: rgba(20,60,70,.35) !important; }

/* -----------------------------------------------------------------------
   7. ナビ・フッターロゴ（余計なフィルター加工なし・ロゴそのまま表示）
   ----------------------------------------------------------------------- */
/* 案F: design-f.css の brightness(0) invert(1) を打ち消してロゴそのまま表示 */
body.d:not(.g) .nav-logo {
  filter: none !important;
  opacity: 1 !important;
}
/* フッターロゴも加工なし */
body.d:not(.g) .footer-logo {
  filter: none !important;
  opacity: 1 !important;
}

/* -----------------------------------------------------------------------
   15. 案G FV: ライトテーマへの適応
   ----------------------------------------------------------------------- */
/* 背景を白、ストリークを控えめに */
body.d.g .g-hero-v2 { background: #f5f9fb !important; }
body.d.g .g-hero-v2 .d-hero-streaks { opacity: .10 !important; animation: none !important; }

/* FV テキストを暗い色に */
body.d.g .f-hero-text h1 { color: #0e2b36 !important; text-shadow: none !important; }
body.d.g .f-hero-text .mark-em { background: linear-gradient(transparent 88%, #FFD86B 88%) !important; }
body.d.g .f-hero-text .e-lead { color: #4a6870 !important; }
body.d.g .f-fv-label { color: rgba(14,43,54,.65) !important; }
body.d.g .f-fv-label em { color: #5BC2D9 !important; }

/* フレームのボーダーを明るいテーマ向けに */
body.d.g .f-mv-frame {
  border-color: rgba(91,194,217,.45) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 12px rgba(91,194,217,.08) !important;
}

/* 星をシアン色に（白背景で見えるよう） */
body.d.g .f-star {
  background: #1a9cb5 !important;
  box-shadow: 0 0 5px 2px rgba(26,156,181,.45) !important;
}

/* 案G: オーブの透明度を少し下げて白背景に馴染ませる */
body.d.g .f-orb-1 { background: radial-gradient(circle, rgba(91,194,217,.30) 0%, transparent 70%) !important; }
body.d.g .f-orb-2 { background: radial-gradient(circle, rgba(255,216,107,.28) 0%, transparent 70%) !important; }
body.d.g .f-orb-3 { background: radial-gradient(circle, rgba(100,192,171,.26) 0%, transparent 70%) !important; }
body.d.g .f-orb-4 { background: radial-gradient(circle, rgba(123,159,211,.30) 0%, transparent 70%) !important; }
body.d.g .f-orb-5 { background: radial-gradient(circle, rgba(91,194,217,.20) 0%, transparent 70%) !important; }
body.d.g .f-orb-6 { background: radial-gradient(circle, rgba(255,216,107,.25) 0%, transparent 70%) !important; }

/* 案G: エフィラグループ内テキストを暗い色に */
body.d.g .d-group .gl b { color: #0e2b36 !important; }
body.d.g .d-group .gl p { color: #4a6870 !important; }
body.d.g .br-efila-group-logo { filter: none !important; }

/* 案G FV: 4枚浮遊写真レイアウト */
.g-mv-photos {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  width: fit-content !important;
  justify-self: center !important;
}
.g-mv-pic {
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 4px solid rgba(91,194,217,.4) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.13) !important;
  flex-shrink: 0 !important;
}
.g-mv-pic img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}
/* 案G FV高さ復元: 写真を大きくした分だけ padding を圧縮 */
body.d.g .f-hero-inner { padding-top: 60px !important; padding-bottom: 50px !important; }

/* 案G 写真: ポンポンとポップイン → 揃ってから浮遊 */
@keyframes g-pic-pop {
  0%   { opacity: 0; transform: scale(.80) translateY(20px); }
  65%  { opacity: 1; transform: scale(1.04) translateY(-5px); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}
/* ↓ 各写真の縦位置を margin-top で調整（マイナスで上へ、プラスで下へ） */
.g-pic-1 { width: clamp(200px,21vw,265px) !important; height: clamp(200px,21vw,265px) !important; margin-top: -40px  !important; animation: g-pic-pop 0.5s cubic-bezier(.34,1.56,.64,1) 0.1s both, f-frame-float  7s ease-in-out 2.0s infinite !important; }
.g-pic-2 { width: clamp(175px,19vw,235px) !important; height: clamp(175px,19vw,235px) !important; margin-top: 24px   !important; animation: g-pic-pop 0.5s cubic-bezier(.34,1.56,.64,1) 0.5s both, f-frame-float  9s ease-in-out 2.1s infinite !important; }
.g-pic-3 { width: clamp(175px,19vw,235px) !important; height: clamp(175px,19vw,235px) !important; margin-top: -5px   !important; animation: g-pic-pop 0.5s cubic-bezier(.34,1.56,.64,1) 0.9s both, f-frame-float  8s ease-in-out 2.2s infinite !important; }
.g-pic-4 { width: clamp(200px,21vw,265px) !important; height: clamp(200px,21vw,265px) !important; margin-top: 30px   !important; animation: g-pic-pop 0.5s cubic-bezier(.34,1.56,.64,1) 1.3s both, f-frame-float 6.5s ease-in-out 2.3s infinite !important; }
@media(max-width:780px) {
  .g-mv-photos { gap: 12px !important; }
  .g-pic-1, .g-pic-4 { width: clamp(140px,25vw,185px) !important; height: clamp(140px,25vw,185px) !important; }
  .g-pic-2, .g-pic-3 { width: clamp(120px,22vw,165px) !important; height: clamp(120px,22vw,165px) !important; }
}

/* =====================================================================
   スマホ専用修正 (max-width: 640px)
   ===================================================================== */
@media(max-width:640px) {
  /* --- 全体: 横スクロール・ズーム防止 --- */
  html { overflow-x: clip; }
  body { overflow-x: clip; max-width: 100vw; }

  /* --- ヘッダー: モバイルロゴ縮小 --- */
  body.d.g .nav { height: 60px !important; }
  body.d.g .nav-logo { height: 34px !important; }

  /* --- メニュー: 問い合わせボタンの左端を揃える --- */
  .d .mnav .btn.btn-primary { display: block !important; width: 100% !important; box-sizing: border-box !important; text-align: center !important; margin-top: 24px !important; }

  /* --- FV: 写真グリッドの縦間隔を詰める --- */
  .g-mv-photos { gap: 2px !important; }
  .g-pic-1 { margin-top: -20px !important; }
  .g-pic-2 { margin-top:  10px !important; }
  .g-pic-3 { margin-top:  -2px !important; }
  .g-pic-4 { margin-top:  14px !important; }
  .g-pic-1, .g-pic-4 { width: clamp(130px,40vw,170px) !important; height: clamp(130px,40vw,170px) !important; }
  .g-pic-2, .g-pic-3 { width: clamp(110px,34vw,150px) !important; height: clamp(110px,34vw,150px) !important; }

  /* --- FV: テキストエリアに左右余白 --- */
  body.d.g .f-hero-inner { padding-left: 20px !important; padding-right: 20px !important; }
  .br-fv-points { margin-left: 0 !important; margin-right: 0 !important; padding: 14px 8px !important; }
  .br-fv-point-label { font-size: 11px !important; }
  .br-fv-point-num { font-size: 28px !important; }
  .br-fv-point-num--no1 { font-size: 22px !important; }
  .br-fv-point-one { font-size: 34px !important; }
  .br-fv-point-unit { font-size: 12px !important; }
  .br-fv-point-unit-sm { font-size: 15px !important; }
  .br-fv-point-note { font-size: 10px !important; }
  .br-fv-through { font-size: 0.55em !important; }
  /* ラベルの「銀河」が折れないよう */
  .f-fv-label { white-space: nowrap !important; font-size: clamp(14px, 4vw, 18px) !important; }
  .br-fv-label-type { font-size: 0.85em !important; }

  /* --- バナー: スマホでも横一行に保つ --- */
  .br-cert-band .h-efila-inner {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 12px !important;
  }
  .br-cert-logo { height: 70px !important; }
  /* バナー: 「受賞！」が折り返されないよう縮小 */
  .br-cert-text { font-size: 10px !important; line-height: 1.4 !important; }
  .br-cert-rank { font-size: 11px !important; white-space: nowrap !important; }
  .br-cert-laurel { height: 52px !important; }

  /* --- お悩みセクション --- */
  /* 見出し: より上へ（translateY小さく） */
  body.d.g .br-worries-sec-head { transform: translateY(30px) !important; }

  /* グリッド: 中央列を80pxに絞り、側列を広く確保 */
  .br-worries-layout {
    grid-template-columns: 1fr 40px 1fr !important;
    gap: 0 !important;
    overflow: visible !important;
    align-items: center !important;
    margin-top: 50px !important;
  }
  .br-worries-illust { order: 0 !important; overflow: visible !important; align-self: center !important; }
  /* イラストを少し小さく */
  .br-worries-illust img { width: 220px !important; max-width: none !important; }

  /* 吹き出し列: 上下揃え・右寄せ（左列）、左寄せ（右列） */
  .br-worries-col {
    gap: 8px !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-top: 120px !important;
    padding-right: 0 !important;
  }
  .br-worries-col--right {
    padding-left: 0 !important;
    align-items: flex-start !important;
  }

  /* 吹き出し共通: 列幅いっぱいに広げる */
  .br-bubble {
    font-size: 10px !important;
    padding: 8px 10px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    word-break: normal !important;
  }
  /* 下段吹き出しはマイナスマージンで列幅を超えて広げる */
  .br-worries-col--left  .br-bubble:nth-child(2) { margin-left: -32px !important; }
  .br-worries-col--right .br-bubble:nth-child(2) { margin-right: -32px !important; }

  .br-bubble--right::after { display: none !important; }
  .br-bubble--left::after  { display: none !important; }

  /* --- お悩みCTA: フォントサイズを下げて改行を防ぐ --- */
  .br-worries-cta { font-size: 16px !important; margin-top: 30px !important; }

  /* --- 銀河について: テキスト列を広く、本文フォント縮小 --- */
  #about .e-teaser { grid-template-columns: 1.6fr 1fr !important; gap: 20px !important; }
  #about .e-teaser-media .one { border-radius: 14px !important; }
  #about .e-teaser-body p { font-size: 14px !important; line-height: 2.05 !important; }

  /* --- 勤務地一覧: テキスト → 地図 → ボタン の縦並び・左揃え --- */
  .br-photo-card-body--map {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  /* display:contents で子要素をフラット化し順番制御 */
  .br-photo-card--map .br-facility-text { display: contents !important; }
  .br-photo-card--map .br-facility-text h2 {
    order: 1;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
    width: 100% !important;
    margin: 0 0 10px !important;
  }
  .br-photo-card--map .br-facility-text p {
    order: 2;
    color: rgba(255,255,255,.85) !important;
    font-size: 14px !important;
    line-height: 2.05 !important;
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .br-facility-map-right { order: 3; width: 100% !important; max-width: 200px !important; align-self: center !important; margin-top: 12px !important; }
  .br-card-btn { order: 4; margin-top: 12px !important; align-self: flex-start !important; }
}

/* 案G FV: CTAボタンをゴールドに（目立つ色） */
body.d.g .f-hero-text .btn-primary {
  background: #FFD86B !important;
  color: #0e2b36 !important;
  border-color: #FFD86B !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 28px rgba(255,216,107,.45) !important;
}
body.d.g .f-hero-text .btn-primary:hover {
  background: #ffe999 !important;
  border-color: #ffe999 !important;
  box-shadow: 0 8px 36px rgba(255,216,107,.60) !important;
}

/* 案G FV: バッジ+ラベルだけ上げる（h1以下は位置を保つ） */
body.d.g .br-fv-badge {
  margin-top: -60px !important;
  margin-bottom: 8px !important;
}
body.d.g .f-fv-label {
  margin-top: -20px !important;
  margin-bottom: 4px !important;
}
body.d.g .f-hero-text h1 {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}
.br-fv-label-type {
  font-size: 1.25em;
  font-weight: 700;
}

/* 案G: mark 下線を全セクションで非表示 */
body.d.g .mark {
  background: none !important;
  padding: 0 !important;
}

/* 案G Contact: カード内でデフォルト=#5BC2D9ベタ、ホバーで写真が浮かび上がる */
body.d.g .d-cta-inner {
  background: #5BC2D9 !important;
  position: relative;
  overflow: hidden;
}
body.d.g .d-cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 140, 155, 0.55), rgba(120, 140, 155, 0.55)), url('assets/photo_work_group.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 0;
}
body.d.g .d-cta-inner:hover::after {
  opacity: 1;
  transform: scale(1);
}
body.d.g .d-cta-inner:hover::before {
  opacity: 1;
}
body.d.g .d-cta-inner > * {
  position: relative;
  z-index: 2;
}

/* 案G フッターロゴ: フィルターを外して logo_ginga.png をそのまま表示 */
body.d.g .footer-logo {
  filter: none !important;
  opacity: 1 !important;
}

/* 案G Reasons: design-g.css のカードスタイルを上書き（specificity 合わせ） */
body.d.g .e-r2-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  border-right: 1px solid rgba(20,60,70,.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.d.g .e-r2-cell:last-child { border-right: none !important; }
body.d.g .e-r2-cell:hover {
  box-shadow: none !important;
  border-color: rgba(20,60,70,.12) !important;
  transform: none !important;
}

/* 案G Contact: 電話ボタンのテキストを白に */
body.d.g .d-cta .btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.7) !important;
  background: transparent !important;
}

/* 案G Voices: design-g.css のカードスタイルを上書き（specificity 合わせ） */
body.d.g .e-voice {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(26,107,126,.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  gap: 40px !important;
  padding: 36px 0 !important;
}
body.d.g .e-voices .e-voice:first-child {
  border-top: 1px solid rgba(26,107,126,.18) !important;
}
body.d.g .e-voice:hover {
  box-shadow: none !important;
  border-color: rgba(26,107,126,.18) !important;
  transform: none !important;
}

/* -----------------------------------------------------------------------
   8. 案I CTAボタン (h-cta-main) の装飾を削除
   ----------------------------------------------------------------------- */
.h-cta-main {
  background: var(--turq-dd, #1a6b7e) !important;
  box-shadow: none !important;
}
.h-cta-main:hover {
  background: #1c7a8f !important;
  box-shadow: none !important;
  transform: none !important;
}

/* -----------------------------------------------------------------------
   9. テーザーブロックの装飾ドット非表示
   ----------------------------------------------------------------------- */
.e-teaser-dots { display: none; }

/* 銀河についてセクション: 写真右・テキスト左 */
#about .e-teaser { grid-template-columns: 1fr 1.05fr; }
#about .e-teaser .e-teaser-media { order: 2; }
#about .e-teaser .e-teaser-body  { order: 1; }

/* -----------------------------------------------------------------------
   10. CTA セクション: 星フィールドを抑える、惑星エフェクト削除
   ----------------------------------------------------------------------- */
.d-cta::before { opacity: .3; }
.d-cta-inner::before { display: none !important; }
.d-cta .br-cta-main-title {
  font-size: clamp(40px, 5.5vw, 60px) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.1;
}
.d-cta .br-cta-sub-title {
  font-size: clamp(19px, 2.4vw, 24px) !important;
  font-weight: 600;
  color: #fff;
  margin: 0 auto 20px !important;
  line-height: 1.7;
  text-align: center !important;
}

/* -----------------------------------------------------------------------
   11. 銀河について: スケールカード（神奈川県最大級）
   ----------------------------------------------------------------------- */
/* スケール統計: カード＋アイコン形式（参考画像準拠） */
.ab-scale-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  width: 100%;
}
.ab-scale-item {
  display: grid;
  grid-template-columns: 100px 180px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "icon number desc"
    "label number desc";
  align-items: center;
  gap: 0 24px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(14,43,54,.07);
  text-align: left;
}
.ab-scale-icon-wrap {
  grid-area: icon;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 4px;
}
.ab-scale-label {
  grid-area: label;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #5BC2D9;
  margin: 0;
  text-align: center;
  align-self: start;
  padding-top: 4px;
}
.ab-scale-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.ab-scale-number {
  grid-area: number;
  font-size: 64px;
  font-weight: 900;
  color: #0e2b36;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}
.ab-scale-number span,
.ab-scale-num-sm {
  font-size: 24px;
  font-weight: 700;
}
.ab-scale-num-md {
  font-size: 38px !important;
  font-weight: 900;
}
.ab-scale-desc {
  grid-area: desc;
  font-size: 15px;
  color: #4a6572;
  margin: 0;
  line-height: 1.9;
}
.ab-scale-note {
  display: inline !important;
  font-size: 9px !important;
  color: #8fa8b5 !important;
  line-height: 1.6;
}
/* PC/スマホ表示制御 */
.br-sp { display: none; }
@media (max-width: 640px) {
  .br-sp { display: inline; }
  .br-pc { display: none; }
  .ab-scale-grid {
    max-width: 100%;
    gap: 12px;
  }
  .ab-scale-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "icon label"
      "icon number"
      "desc desc";
    align-items: center;
    padding: 18px 20px 20px;
    gap: 0;
    column-gap: 14px;
  }
  .ab-scale-icon-wrap {
    grid-area: icon;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
  }
  .ab-scale-icon {
    width: 72px;
    height: 72px;
  }
  .ab-scale-label {
    grid-area: label;
    text-align: left;
    font-size: 14px;
    align-self: end;
    margin-bottom: 2px;
  }
  .ab-scale-number {
    grid-area: number;
    font-size: 48px;
    margin-bottom: 0;
    text-align: left;
    align-self: start;
  }
  .ab-scale-desc {
    grid-area: desc;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
  }
}

/* -----------------------------------------------------------------------
   12. 神奈川県マップ PNG: 共通スタイル
   ----------------------------------------------------------------------- */
.kanagawa-png {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-width: 100%;
  padding: 2%;
  box-sizing: border-box;
}

/* -----------------------------------------------------------------------
   13. CTAボタン（FV）を目立つゴールドに
   ----------------------------------------------------------------------- */
body.d:not(.g) .f-hero-text .btn-primary {
  background: #FFD86B !important;
  color: #0c1d3e !important;
  border-color: #FFD86B !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  box-shadow: 0 6px 28px rgba(255,216,107,.40) !important;
}
body.d:not(.g) .f-hero-text .btn-primary:hover {
  background: #ffe999 !important;
  border-color: #ffe999 !important;
  box-shadow: 0 8px 36px rgba(255,216,107,.55) !important;
}

/* -----------------------------------------------------------------------
   14. エフィラグループ：カテゴリ・事業名を大きく・読みやすく
   ----------------------------------------------------------------------- */
.d-group .gr.e-domains .gdomain > b {
  font-size: 13px !important;
  letter-spacing: .12em !important;
  margin-bottom: 12px !important;
}
.d-group .gr.e-domains .br-logo-row {
  gap: 20px !important;
}
.d-group .gr.e-domains .br-logo-row img {
  height: 34px !important;
  max-width: 90px !important;
}
.br-logo-item {
  gap: 8px !important;
}
.br-logo-item img {
  height: 34px !important;
  max-width: 90px !important;
}
.br-logo-item span {
  font-size: 12px !important;
}

/* -----------------------------------------------------------------------
   12. d-group の backdrop-filter（ガラス感）を削除
   ----------------------------------------------------------------------- */
body.d .d-group,
body.d.g .d-group { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* -----------------------------------------------------------------------
   16. 案I: FV写真スライドイン → テキスト・CTAふわり表示
   ----------------------------------------------------------------------- */
@keyframes i-tile-in-l { from { opacity:0; transform:translateX(-56px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes i-tile-in-r { from { opacity:0; transform:translateX( 56px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes i-tile-in-b { from { opacity:0; transform:translateY( 48px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes i-fade-soft  { from { opacity:0; filter:blur(6px); } to { opacity:1; filter:blur(0); } }

/* タイルを初期非表示にして順番にスライドイン */
body.d.g.h.i .h-mtile.t1 { animation: i-tile-in-l 1.0s cubic-bezier(.22,1,.36,1) 0.1s both !important; }
body.d.g.h.i .h-mtile.t2 { animation: i-tile-in-r 1.0s cubic-bezier(.22,1,.36,1) 0.7s both !important; }
body.d.g.h.i .h-mtile.t3 { animation: i-tile-in-b 1.0s cubic-bezier(.22,1,.36,1) 1.3s both !important; }
body.d.g.h.i .h-mtile.t4 { animation: i-tile-in-r 1.0s cubic-bezier(.22,1,.36,1) 1.9s both !important; }

/* 既存の reveal-r を無効にして独自アニメーションで制御（translateZ(0)は維持） */
body.d.g.h.i .e-hero-col.reveal-r,
body.d.g.h.i .e-hero-col.reveal-r.in { opacity:1 !important; animation:none !important; }

/* テキストを少し下げる（FV下部の余白を解消） */
body.d.g.h.i .h-hero-copy { margin-top: 50px !important; }

/* テキストとCTAカードを同時にふわり表示（写真が出揃った後） */
body.d.g.h.i .h-hero-copy     { animation: i-fade-soft 1.4s ease-out 2.8s both !important; }
body.d.g.h.i .h-hero-cta-card {
  animation: i-fade-soft 1.4s ease-out 2.8s both !important;
  /* design-g.css の上書きを防ぐ */
  position: absolute !important;
  right: 32px !important;
  bottom: 0 !important;
  left: auto !important;
  top: auto !important;
}

/* -----------------------------------------------------------------------
   17. 案I: No.1 の色をゴールドに
   ----------------------------------------------------------------------- */
body.d.g.h.i .h-efila-main b { color: #ffd86b !important; }

/* -----------------------------------------------------------------------
   18. 案I: フォントウェイトを全体的に下げてストレス軽減
   ----------------------------------------------------------------------- */
/* 見出し類: 900/800 → 600 */
body.d.g.h.i h1,
body.d.g.h.i h2,
body.d.g.h.i h3,
body.d.g.h.i h4               { font-weight: 600 !important; }
body.d.g.h.i .e-r2-head h2   { font-weight: 500 !important; }
body.d.g.h.i .h-hero-h1       { font-weight: 600 !important; }
body.d.g.h.i .h-hero-tagline  { font-weight: 500 !important; }
body.d.g.h.i .h-line2         { font-weight: 500 !important; }

/* ラベル・キャプション類: 700 → 500 */
body.d.g.h.i .e-eyebrow,
body.d.g.h.i .d-en,
body.d.g.h.i .d-jp,
body.d.g.h.i .e-r2-head .d-en,
body.d.g.h.i .h-cta-callout,
body.d.g.h.i .h-tag           { font-weight: 500 !important; }

/* 本文・説明文: → 400 */
body.d.g.h.i p,
body.d.g.h.i .e-lead,
body.d.g.h.i .h-hero-lead,
body.d.g.h.i .h-cta-note,
body.d.g.h.i .e-r2-cell p,
body.d.g.h.i .e-voice .br-vc p { font-weight: 400 !important; }

/* ナビ */
body.d.g.h.i .nav-links a     { font-weight: 500 !important; }

/* 目立たせたいものは維持 */
body.d.g.h.i .e-num            { font-weight: 700 !important; } /* 実績数字 */
body.d.g.h.i .btn              { font-weight: 700 !important; } /* ボタン */
body.d.g.h.i .h-efila-main b  { font-weight: 700 !important; } /* No.1 */

/* -----------------------------------------------------------------------
   19. 全案共通: 「詳しく見る」系ボタンの余白を広げる
   ----------------------------------------------------------------------- */
/* 4セクション（銀河について・仕事内容・ご利用の流れ・勤務地一覧）の
   e-teaser-dots → e-detail の間隔を広げる */
body.d .e-teaser-dots + .e-detail {
  margin-top: 28px !important;
  display: inline-flex !important;
}

/* =======================================================================
   20. サブページ共通スタイル
   ======================================================================= */

/* ---- サブページヒーロー ---- */
.sub-hero {
  background: linear-gradient(160deg, #dff1f6 0%, #f5f9fb 60%);
  padding: 90px 0 60px;
  border-bottom: 1px solid rgba(91,194,217,.18);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(91,194,217,.10) 0%, transparent 70%);
  pointer-events: none;
}
.sub-hero .d-en {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5BC2D9;
  margin-bottom: 12px;
}
.sub-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #0e2b36;
  margin: 0 0 20px;
  line-height: 1.3;
}
.sub-hero .breadcrumb {
  font-size: 13px;
  color: #7a9aa6;
}
.sub-hero .breadcrumb a {
  color: #5BC2D9;
  text-decoration: none;
}
.sub-hero .breadcrumb a:hover { text-decoration: underline; }

/* ---- 特徴カード（銀河についてページ等） ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media(max-width:680px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(91,194,217,.2);
  box-shadow: 0 4px 20px rgba(20,80,95,.06);
}
.feature-card .fc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #5BC2D9;
  margin-bottom: 10px;
  display: block;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0e2b36;
  margin: 0 0 12px;
}
.feature-card p {
  font-size: 14.5px;
  line-height: 2;
  color: #4a6e7a;
  margin: 0;
}

/* ---- ご利用案内テーブル ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 32px;
}
.info-table th {
  width: 160px;
  padding: 16px 20px;
  background: rgba(91,194,217,.08);
  color: #1a6b7e;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(91,194,217,.15);
  vertical-align: top;
}
.info-table td {
  padding: 16px 20px;
  color: #3a5a65;
  border-bottom: 1px solid rgba(91,194,217,.10);
  line-height: 1.8;
}
@media(max-width:600px) {
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { padding-bottom: 4px; border-bottom: none; }
}

/* ---- 作業例タグ ---- */
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.work-tag {
  background: rgba(91,194,217,.10);
  border: 1px solid rgba(91,194,217,.30);
  color: #1a6b7e;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
}

/* ---- ご利用の流れ ---- */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.flow-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 72px;
  width: 2px;
  height: calc(100% - 72px);
  background: linear-gradient(180deg, rgba(91,194,217,.4), rgba(91,194,217,.1));
}
.flow-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5BC2D9, #64C0AB);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  flex-shrink: 0;
}
.flow-step-num span { font-size: 22px; font-weight: 900; }
.flow-step-body { padding-top: 14px; }
.flow-step-body h3 { font-size: 18px; font-weight: 700; color: #0e2b36; margin: 0 0 8px; }
.flow-step-body p { font-size: 14.5px; line-height: 1.9; color: #4a6e7a; margin: 0; }

/* ---- 勤務地一覧 ---- */
.facility-area { margin-top: 48px; }
.facility-area-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .10em;
  color: #5BC2D9;
  border-bottom: 2px solid rgba(91,194,217,.25);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.facility-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.facility-card {
  background: #fff;
  border: 1px solid rgba(91,194,217,.18);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(20,80,95,.05);
}
.facility-card.coming-soon {
  opacity: .7;
  border-style: dashed;
}
.facility-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0e2b36;
  margin: 0 0 6px;
}
.facility-card .fc-address {
  font-size: 12.5px;
  color: #5a7882;
  line-height: 1.7;
  margin: 0 0 6px;
}
.facility-card .fc-tel {
  font-size: 13px;
  font-weight: 600;
  color: #1a6b7e;
}
.facility-card .fc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(91,194,217,.12);
  color: #5BC2D9;
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 6px;
}

/* ---- 料金表（内職ページ） ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 15px;
}
.price-table th {
  background: #1a6b7e;
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
}
.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(91,194,217,.15);
  color: #3a5a65;
}
.price-table tr:nth-child(even) td { background: rgba(91,194,217,.04); }

/* ---- お問い合わせフォーム ---- */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 8px 40px rgba(20,80,95,.08);
  border: 1px solid rgba(91,194,217,.15);
  max-width: 720px;
  margin: 48px auto 0;
}
@media(max-width:640px) {
  .contact-form-wrap { padding: 28px 20px; }
}
.cf-row { margin-bottom: 24px; }
.cf-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0e2b36;
  margin-bottom: 8px;
}
.cf-label .req {
  display: inline-block;
  font-size: 11px;
  background: #5BC2D9;
  color: #fff;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.cf-label .opt {
  display: inline-block;
  font-size: 11px;
  background: #cde8ef;
  color: #1a6b7e;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.cf-input, .cf-select, .cf-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(91,194,217,.35);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #0e2b36;
  background: #fafeff;
  box-sizing: border-box;
  transition: border-color .2s;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  outline: none;
  border-color: #5BC2D9;
  box-shadow: 0 0 0 3px rgba(91,194,217,.15);
}
.cf-textarea { min-height: 140px; resize: vertical; }
.cf-radio-group { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.cf-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #3a5a65;
  cursor: pointer;
}
.cf-radio-group input[type=radio] { accent-color: #5BC2D9; width: 16px; height: 16px; }
.cf-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #3a5a65; margin-top: 8px; }
.cf-check input { accent-color: #5BC2D9; width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.cf-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #5BC2D9, #64C0AB);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 32px;
  transition: opacity .2s, transform .15s;
}
.cf-submit:hover { opacity: .88; transform: translateY(-2px); }

/* ---- インタビュー記事 ---- */
.interview-list { display: flex; flex-direction: column; gap: 56px; margin-top: 48px; }
.interview-article {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  border: 1px solid rgba(91,194,217,.18);
  box-shadow: 0 4px 24px rgba(20,80,95,.06);
}
@media(max-width:640px) {
  .interview-article { padding: 28px 20px; }
}
.interview-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.interview-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dff1f6, #c8e8f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #5BC2D9;
  flex-shrink: 0;
}
.interview-name { font-size: 15px; font-weight: 700; color: #0e2b36; }
.interview-article h2 {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: #0e2b36;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(91,194,217,.2);
  line-height: 1.5;
}
.interview-qa { display: flex; flex-direction: column; gap: 24px; }
.qa-item {}
.qa-q {
  font-size: 14px;
  font-weight: 700;
  color: #1a6b7e;
  background: rgba(91,194,217,.08);
  border-left: 3px solid #5BC2D9;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 10px;
}
.qa-a {
  font-size: 14.5px;
  line-height: 2;
  color: #3a5a65;
  padding-left: 16px;
}

/* ---- 業務内容カード（内職ページ） ---- */
.naishoku-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media(max-width:560px) {
  .naishoku-services { grid-template-columns: 1fr; }
}
.naishoku-service-card {
  background: #fff;
  border: 1px solid rgba(91,194,217,.2);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.naishoku-service-card .ns-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5BC2D9, #64C0AB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.naishoku-service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0e2b36;
  margin: 0 0 4px;
}
.naishoku-service-card p {
  font-size: 13.5px;
  color: #5a7882;
  line-height: 1.7;
  margin: 0;
}

/* =======================================================================
   21. トップページ追加スタイル（案G向け）
   ======================================================================= */

/* ---- 写真背景セクション（銀河での過ごし方 / ご利用までの流れ / 勤務地一覧） ---- */
.br-photo-sec {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.br-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,34,44,.52);
  pointer-events: none;
}
.br-photo-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 560px;
}
.br-photo-inner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.4;
}
.br-photo-inner p {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,.85);
  margin: 0 0 32px;
}
.br-photo-inner .btn-white {
  display: inline-block !important;
  width: auto !important;
  background: #fff;
  color: #0e2b36;
  border-color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 14px;
}
.br-photo-inner .btn-white:hover {
  background: #f0f8fb;
  border-color: #f0f8fb;
}
@media(max-width:680px) {
  .br-photo-sec { min-height: 320px; }
  .br-photo-inner { padding: 60px 0; }
}

/* ---- 写真カード（枠内・コンテナ幅） ---- */
.br-photo-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}
.br-photo-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
  z-index: 0;
}
.br-photo-card:hover .br-photo-card-bg {
  transform: scale(1.07);
}
.br-photo-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,28,36,.52);
  pointer-events: none;
}
.br-photo-card-body {
  position: relative;
  z-index: 1;
  padding: 40px 44px;
  max-width: 580px;
}
.br-photo-card-body h2 {
  font-size: clamp(22px, 2.8vw, 30px) !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 18px !important;
  line-height: 1.4 !important;
}
.br-photo-card-body p {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,.85);
  margin: 0 0 28px;
}
.br-card-btn {
  display: inline-block !important;
  width: auto !important;
  background: #fff !important;
  color: #0e2b36 !important;
  border-color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 12px 32px !important;
}
.br-card-btn:hover {
  background: #f0f8fb !important;
  border-color: #f0f8fb !important;
}
@media(max-width:680px) {
  .br-photo-card { min-height: 280px; }
  .br-photo-card-body { padding: 32px 24px; }
}

/* ---- カード ライト反転バリアント ---- */
/* 勤務地一覧（--map）の h2 白色指定を上書き */
.br-photo-card--light.br-photo-card--map .br-facility-text h2,
.br-photo-card--light .br-photo-card--map .br-facility-text h2 {
  color: #0e2b36 !important;
}
.br-photo-card--light .br-photo-card-overlay {
  background: rgba(255,255,255,.78);
}
.br-photo-card--light .br-photo-card-body h2 {
  color: #0e2b36 !important;
}
.br-photo-card--light .br-photo-card-body p {
  color: rgba(14,43,54,.75) !important;
}
.br-photo-card--light .br-card-btn {
  background: #2a6fa8 !important;
  color: #fff !important;
  border-color: #2a6fa8 !important;
}
.br-photo-card--light .br-card-btn:hover {
  background: #1d5a8a !important;
  border-color: #1d5a8a !important;
}
/* 勤務地一覧の地図も反転（白→元の色味に戻す） */
.br-photo-card--light .br-facility-map-right img {
  filter: none !important;
  opacity: .85;
}

/* ---- 利用者様の声 3列グリッド ---- */
.br-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.br-voice-card {
  display: flex;
  flex-direction: column;
}
.br-voice-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
}
.br-voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.br-voice-meta {
  font-size: 13px;
  font-weight: 600;
  color: #1a6b7e;
  margin-bottom: 8px;
}
.br-voice-meta span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #7a9aa6;
  margin-top: 2px;
}
.br-voice-quote {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  color: #0e2b36;
  margin: 0 0 10px;
}
.br-voice-body {
  font-size: 14px;
  line-height: 2;
  color: #5a7882;
  margin: 0;
}
@media(max-width:560px) {
  .br-voices-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---- CTA CONTACT ラベル ---- */
.br-cta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
  margin: 0 0 16px;
}

/* ---- ヘッダーナビ: 高さ・ロゴ・文字・余白を全体的に拡大 ---- */
body.d.g .nav {
  height: 88px !important;
}
body.d.g .nav-logo {
  height: 52px !important;
  width: auto !important;
  object-fit: contain !important;
}
body.d.g .nav-links {
  gap: 0 !important;
}
body.d.g .nav-links a {
  font-size: 15px !important;
  padding: 4px 18px !important;
  font-weight: 600 !important;
}

/* ---- FV バッジ（約30拠点） ---- */
.br-fv-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(91,194,217,.08);
  border: 1.5px solid #5BC2D9;
  border-radius: 4px;
  padding: 6px 16px;
  margin: 0 0 12px;
}
.br-fv-badge-num,
.br-fv-badge-unit,
.br-fv-badge-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0e2b36 !important;
  line-height: 1.6 !important;
}
.br-fv-badge-label {
  margin-right: 6px;
}

/* ---- ボタン XL ---- */
.btn-xl {
  padding: 18px 44px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* ---- こんなお悩みはありませんか？ ---- */
/* 見出し中央揃え (design-f.css の .d .d-head{text-align:left} を上書き) */
body.d.g .br-worries-sec-head {
  text-align: center !important;
  max-width: 100% !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  position: relative;
  z-index: 2;
  transform: translateY(0);
}
/* 「お悩み」アクセントカラー＋下線 */
.br-accent-word {
  color: #5BC2D9;
  text-decoration: underline;
  text-decoration-color: #5BC2D9;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.br-worries-layout {
  display: grid;
  grid-template-columns: minmax(0,260px) 320px minmax(0,260px);
  overflow: visible;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  margin-top: 16px;
}
.br-worries-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  padding-right: 20px;
}
.br-worries-col--right {
  align-items: flex-start;
  padding-left: 28px;
  padding-right: 0;
}
.br-worries-illust {
  display: flex;
  justify-content: center;
  overflow: visible;
  position: relative;
  z-index: 0;
}
.br-worries-illust img {
  width: 450px !important;
  max-width: none !important;
  height: auto;
  position: relative;
  z-index: 0;
  display: block;
  /* 透明余白をトリムして人物を拡大表示 */
  object-fit: contain;
  object-position: center bottom;
}
/* 雲型吹き出し共通 */
.br-bubble {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1.5px solid #a8d4e2;
  border-radius: 18px;
  padding: 16px 22px;
  font-size: 14px;
  line-height: 1.85;
  color: #0e2b36;
  width: fit-content;
  min-width: 160px;
  max-width: 240px;
}
/* 雲の点: 右向き（左列 → 中央へ） */
.br-bubble--right::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #a8d4e2;
  border-radius: 50%;
  box-shadow: 16px 3px 0 -2px #a8d4e2;
}
.br-bubble--right::before { display: none; }
/* 雲の点: 左向き（右列 → 中央へ） */
.br-bubble--left::after {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #a8d4e2;
  border-radius: 50%;
  box-shadow: -16px 3px 0 -2px #a8d4e2;
}
.br-bubble--left::before { display: none; }

.br-worries-cta {
  margin: 40px 0 0;
  font-size: 22px;
  font-weight: 600;
  color: #0e2b36;
  text-align: center;
}

/* お悩みセクション：3つの約束ボックス */
.br-worries-promise {
  margin: 20px auto 0;
  max-width: 480px;
  background: #fff;
  border: 2px solid #d4eaf0;
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 16px rgba(14,43,54,.07);
}
.br-worries-promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #0e2b36;
  line-height: 1.6;
}
.br-worries-promise-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #5BC2D9;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* スクロール追従CTAバー */
.br-sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  z-index: 900;
  transition: transform .35s ease;
  writing-mode: horizontal-tb;
  pointer-events: none;
}
.br-sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.br-sticky-cta-btn {
  display: block;
  background: #FFD86B !important;
  color: #0e2b36 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  padding: 16px 40px !important;
  border-radius: 100px !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(14,43,54,.2) !important;
  white-space: nowrap;
  text-decoration: none;
}
.br-sticky-cta-btn:hover {
  background: #ffe999 !important;
  box-shadow: 0 8px 28px rgba(14,43,54,.25) !important;
}
@media (max-width: 600px) {
  .br-sticky-cta {
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(120%);
  }
  .br-sticky-cta.is-visible {
    transform: translateX(0) translateY(0);
  }
  .br-sticky-cta-btn {
    width: 100%;
    text-align: center;
    font-size: 15px !important;
    padding: 14px 24px !important;
  }
}

/* セクション見出し（完全独立クラス） */
.br-heading-center {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: #0e2b36;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* 汎用セクション見出し（d-jpに依存しない独自クラス） */
.br-sec-head {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
  margin-bottom: 40px;
}
.br-sec-title {
  font-size: clamp(20px, 2.4vw, 28px) !important;
  font-weight: 700 !important;
  color: #0e2b36 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* 銀河について・利用者様の声 見出しスタイル上書き */
#about .d-head,
#voices .d-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}
#about .d-jp,
#voices .d-jp {
  color: #0e2b36 !important;
  text-align: center !important;
  font-size: clamp(20px, 2.4vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  width: auto !important;
}
#about .d-jp .br-accent-word,
#voices .d-jp .br-accent-word {
  color: inherit !important;
}
#about .e-center-more {
  margin-top: 24px;
}

/* 銀河についてセクション */
.br-about-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.br-about-contact-note {
  text-align: center;
  margin: 24px auto 0;
  font-size: 13px;
  color: #888;
  letter-spacing: .05em;
}
.br-numbers-section .section-title {
  margin-bottom: 32px;
}
.br-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.br-numbers-img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 680px) {
  .br-numbers-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .br-numbers-grid {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .br-worries-promise { padding: 18px 20px; }
  .br-worries-promise-item { font-size: 14px; }
}
/* モバイルメニュー内SNS・リンクエリア */
.br-mnav-sns {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e3eaed;
}
.br-mnav-sns-label {
  font-size: 11px;
  color: #999;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.br-mnav-sns-links {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
}
.br-mnav-sns-links .br-sns-bar-btn {
  font-size: 11px !important;
  padding: 4px 10px !important;
  flex-shrink: 1;
  min-width: 0;
}
.br-mnav-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.br-mnav-footer-link {
  font-size: 12px !important;
  color: #888 !important;
  text-decoration: underline !important;
  padding: 0 !important;
  border-bottom: none !important;
  font-weight: 400 !important;
}

/* SNSバー → お悩みセクションの上余白 */
.br-sns-bar + section,
.br-sns-bar ~ section:first-of-type {
  margin-top: 0;
}
.br-sns-bar {
  background: #f7f9fb;
  border-top: 1px solid #e4eaf0;
  margin-bottom: 60px;
  border-bottom: 1px solid #e4eaf0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.br-sns-bar-label {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin: 0;
}
.br-sns-bar-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.br-sns-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.br-sns-bar-btn:hover { opacity: 0.75; }
.br-sns-bar-btn--ig {
  color: #c13584;
  border-color: #c13584;
  background: #fff0f7;
}
.br-sns-bar-btn--x {
  color: #111;
  border-color: #555;
  background: #f5f5f5;
}
.br-sns-bar-btn--line {
  color: #06c755;
  border-color: #06c755;
  background: #f0fff5;
}
@media(max-width:640px) {
  .br-sns-bar { gap: 10px; padding: 10px 16px; }
  .br-sns-bar-label { font-size: 11px; }
  .br-sns-bar-btn { font-size: 11px; padding: 5px 11px; }
}

/* お悩みセクションのパディングを縮小 */
body.d.g .br-worries-sec-head ~ * { }
section.e-sec-white:has(.br-worries-layout) {
  padding-top: 60px !important;
  padding-bottom: 64px !important;
}
@media(max-width:960px) {
  .br-worries-layout { grid-template-columns: 1fr 240px 1fr; gap: 16px; }
  .br-worries-illust img { max-width: 240px; }
  .br-bubble { font-size: 13px; padding: 13px 16px; border-radius: 14px; }
}
@media(max-width:640px) {
  .br-worries-layout { grid-template-columns: 1fr; gap: 12px; }
  .br-worries-illust { order: -1; }
  .br-bubble--right::after, .br-bubble--left::after { display: none; }
}

/* ---- 利用者の声：ブランク写真 ---- */
.br-voice-photo--blank {
  width: 100%;
  aspect-ratio: 4/3;
  background: #dde9ed;
  margin-bottom: 16px;
}

/* ---- e-r2 見出し：やや小さめ / d-jp 見出し：銀河についてと同じ ---- */
body.d.g .e-r2-head h2 {
  font-size: clamp(19px, 2.2vw, 24px) !important;
  font-weight: 600 !important;
}
body.d.g .d-head .d-jp {
  font-size: clamp(26px, 3.4vw, 40px) !important;
  font-weight: 600 !important;
}
/* お悩みセクション見出し: 一回り小さく（上のルールより後に置いて上書き） */
body.d.g .br-worries-sec-head .d-jp {
  font-size: clamp(22px, 2.8vw, 32px) !important;
}

/* ---- about / reasons / voices 間のスペース縮小 ---- */
body.d.g #about.section {
  padding-top: 60px !important;
  padding-bottom: 48px !important;
}
body.d.g #reasons.section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
body.d.g #voices.section {
  padding-top: 48px !important;
  padding-bottom: 60px !important;
}

/* ---- 銀河での過ごし方・ご利用までの流れのセクション間スペース縮小 ---- */
body.d.g #work.section,
body.d.g #flow.section {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
body.d.g #facility.section {
  padding-top: 32px !important;
  padding-bottom: 64px !important;
}

/* ---- 勤務地一覧: 写真カード内に地図を右配置 ---- */
.br-photo-card-body--map {
  display: flex !important;
  align-items: center !important;
  gap: 40px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.br-photo-card--map .br-facility-text {
  flex: 1;
  min-width: 0;
}
.br-photo-card--map .br-facility-text h2 {
  font-size: clamp(22px, 2.8vw, 30px) !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 18px !important;
}
.br-photo-card--map .br-facility-text p {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,.85);
  margin: 0 0 28px;
}
.br-facility-map-right {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.br-facility-map-right img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(255,255,255,.4));
  opacity: .92;
}
@media(max-width:860px) {
  .br-facility-map-right { width: 360px; }
}
@media(max-width:680px) {
  .br-photo-card-body--map {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .br-facility-map-right {
    width: 100%;
    max-width: 280px;
    align-self: flex-start;
  }
}

/* ---- CTA: 「まずは相談したい」ボタン ---- */
body.d.g .br-cta-sub-btn {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.7) !important;
  box-shadow: none !important;
}
body.d.g .br-cta-sub-btn:hover {
  background: rgba(255,255,255,.25) !important;
}

/* ---- フッター: 再設計 ---- */
.br-footer-main {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 52px 0 40px;
  flex-wrap: wrap;
}
.br-footer-brand {
  flex-shrink: 0;
  margin-right: 8px;
}
.br-footer-tagline {
  font-size: 13px;
  color: #7a8f94;
  margin: 10px 0 0;
  line-height: 1.7;
}
/* SNS + リンク の横並び */
.br-footer-cols {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: nowrap;
  flex: 1;
}
/* SNSボタン: 幅広・目立つ */
.br-sns-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 8px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.br-sns-pill:hover {
  background: rgba(91,194,217,.30);
  border-color: rgba(91,194,217,.7);
}
.br-sns-arrow {
  margin-left: auto;
  font-size: 18px;
  opacity: .6;
}
/* LINEはLINEグリーンのアクセント */
.br-sns-pill--line {
  border-color: rgba(6,199,85,.45);
  background: rgba(6,199,85,.12);
}
.br-sns-pill--line:hover {
  background: rgba(6,199,85,.25);
  border-color: rgba(6,199,85,.7);
}
/* 採用・運営会社リンク列 */
.br-footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.12);
  flex-shrink: 0;
  white-space: nowrap;
}
.br-footer-nav-link {
  display: block;
  font-size: 14px;
  color: #aebfc4;
  text-decoration: none;
  transition: color .2s;
  line-height: 1.6;
}
.br-footer-nav-link:hover { color: #5BC2D9; }
@media(max-width:560px) {
  .br-footer-main { flex-direction: column; gap: 24px; padding: 40px 0 32px; }
  .br-footer-cols { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .br-footer-links-col { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
  .br-sns-pill { flex: none; width: 100%; }
}

/* X (Twitter) SNSピル */
.br-sns-pill--x {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.10);
}
.br-sns-pill--x:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
}

/* ---- フッター: シンプル版 ---- */
.br-footer-simple {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0 32px;
  flex-wrap: wrap;
}
.br-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.br-sns-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #aeb9bd;
  text-decoration: none;
  transition: color .2s;
}
.br-sns-link:hover { color: #5BC2D9; }
.br-footer-text-link {
  font-size: 14px;
  color: #aeb9bd;
  text-decoration: none;
  transition: color .2s;
}
.br-footer-text-link:hover { color: #5BC2D9; }
@media(max-width:680px) {
  .br-footer-simple { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---- FV: 「を通して、」小さく ---- */
.br-fv-through {
  font-size: 0.62em;
  font-weight: 600;
  vertical-align: baseline;
}

/* ---- FV: 3つのアピールポイント ---- */
.br-fv-points {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 16px 0 24px;
  background: rgba(255,255,255,.22);
  border: 1.5px solid rgba(91,194,217,.5);
  border-radius: 14px;
  padding: 20px 16px;
  backdrop-filter: blur(6px);
}
.br-fv-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2px;
  padding: 4px 8px;
}
.br-fv-point-divider {
  width: 1px;
  background: rgba(91,194,217,.55);
  flex-shrink: 0;
  margin: 4px 0;
}
.br-fv-point-label {
  font-size: 13px;
  font-weight: 700;
  color: #0e2b36;
  letter-spacing: .03em;
  line-height: 1.4;
  text-align: center;
}
.br-fv-point-num {
  font-size: 34px;
  font-weight: 900;
  color: #2a6fa8;
  line-height: 1;
  letter-spacing: -.02em;
}
.br-fv-point-num--no1 {
  font-size: 32px;
}
.br-fv-point-one {
  font-size: 48px;
}
.br-fv-point-unit {
  font-size: 15px;
  font-weight: 700;
  color: #0e2b36;
}
.br-fv-point-unit-sm {
  font-size: 20px;
  font-weight: 700;
  color: #2a6fa8;
}
.br-fv-point-note {
  font-size: 11px;
  color: #4a6870;
  line-height: 1.3;
  text-align: center;
  margin-top: 4px;
}

/* ---- バナー: ホワイト企業認定 ---- */
.br-cert-band {
  background: #5BC2D9 !important;
  padding: 22px 24px !important;
  position: relative;
  overflow: hidden;
}
/* 左右ローレル装飾（flex内アイテム） */
.br-cert-laurel {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  display: block;
  pointer-events: none;
}

.br-cert-band .h-efila-inner {
  gap: 24px;
  justify-content: center;
}
.br-cert-logo {
  height: 110px;
  width: auto;
  flex-shrink: 0;
}
.br-cert-text {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.br-cert-text b {
  color: #fff8d6;
}
.br-cert-rank {
  display: block;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.3;
}
.br-cert-rank b {
  color: #ffd86b;
  font-size: 1.2em;
  text-shadow: 0 1px 6px rgba(180,130,0,.4);
}

/* ---- スマホ: 後置き優先ルール（ここより前の !important に勝つ） ---- */
@media(max-width:640px) {
  /* ロゴ縮小（PC側 height:52px !important より後に書く） */
  body.d.g .nav-logo { height: 28px !important; }
  body.d.g .nav { height: 56px !important; }

  /* イラスト画像サイズ（PC 450pxより後→モバイル優先） */
  .br-worries-illust img { width: 450px !important; }

  /* 上段吹き出し: 幅をコンテンツに合わせる */
  .br-worries-col .br-bubble:nth-child(1) {
    width: auto !important;
    max-width: 120px !important;
  }

  /* 下段吹き出し: テキストに合わせてサイズを収縮、余白をなくす */
  .br-worries-col--left .br-bubble:nth-child(2) {
    margin-left: 0 !important;
    font-size: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
  .br-worries-col--right .br-bubble:nth-child(2) {
    margin-right: 0 !important;
    font-size: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* ================================================================
   サブページ共通スタイル
================================================================ */

/* ---- サブページ Hero ---- */
.ab-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.ab-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8,28,36,.68) 0%, rgba(14,43,54,.38) 100%);
  pointer-events: none;
}
.ab-hero-body {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 620px;
}
.ab-page-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.ab-hero-body h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.ab-hero-catch {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  margin: 0;
}
@media(max-width:640px) {
  .ab-hero { min-height: 320px; }
  .ab-hero-body { padding: 60px 0; }
}

/* ---- 価値カード 3列 ---- */
.br-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.br-value-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px 36px;
  box-shadow: 0 2px 20px rgba(14,43,54,.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.br-value-card-icon {
  width: 96px;
  height: 96px;
  background: #e6f5fa;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.br-value-card-icon img {
  width: 84px;
  height: 84px;
  opacity: .85;
}
.br-value-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0e2b36;
  line-height: 1.45;
  margin: 6px 0 0;
}
.br-value-card p {
  font-size: 14px;
  line-height: 1.95;
  color: #4a6572;
  margin: 10px 0 0;
}
@media(max-width:860px) {
  .br-values-grid { grid-template-columns: 1fr; gap: 16px; }
  .br-value-card { padding: 24px 22px 28px; flex-direction: row; gap: 20px; align-items: flex-start; }
  .br-value-card-icon { flex-shrink: 0; }
  .br-value-card-text { flex: 1; }
}
@media(max-width:640px) {
  .br-value-card { flex-direction: column; gap: 12px; }
}

/* ---- シンボルマーク付き見出し ---- */
.ab-symbol-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ab-symbol-title img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.ab-symbol-title--left {
  justify-content: flex-start;
}

/* ---- スケール（数字）セクション ---- */
.ab-scale-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.ab-scale-note {
  font-size: 15px;
  line-height: 1.9;
  color: #4a6572;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
/* br-fv-pointsをページ内で中央配置 */
.ab-scale-wrap .br-fv-points {
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(14,43,54,.07);
  width: 100%;
  max-width: 760px;
}

/* ---- 昼食 大きな写真レイアウト ---- */
.ab-lunch-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ab-lunch-layout .ab-lunch-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}
.ab-lunch-body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: #0e2b36;
  line-height: 1.4;
  margin: 0 0 20px;
}
.ab-lunch-body p {
  font-size: 15px;
  line-height: 2;
  color: #4a6572;
  margin: 0;
}
@media(max-width:780px) {
  .ab-lunch-layout { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- 名前の由来セクション ---- */
.ab-name-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ab-name-layout .ab-name-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.ab-name-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ab-name-body h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #0e2b36;
  line-height: 1.4;
  margin: 0;
}
.ab-name-body p {
  font-size: 15px;
  line-height: 2.1;
  color: #4a6572;
  margin: 0;
}
.ab-name-accent {
  border-left: 3px solid #5BC2D9;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #0e2b36;
  line-height: 1.8;
}
@media(max-width:780px) {
  .ab-name-layout { grid-template-columns: 1fr; gap: 28px; }
  .ab-name-layout .ab-name-photo img { height: 260px; }
}
