/* ============================================================
   Blueish Child Theme — custom.css
   SWELL親テーマの上書き + 新規コンポーネント定義
   ============================================================ */

/* ── CSS 変数（全体で使う設計トークン） ── */
:root {
  --bi-blue:        #0057FF;
  --bi-blue-dark:   #0040CC;
  --bi-blue-light:  #E8F0FF;
  --bi-teal:        #00C9A7;
  --bi-dark:        #0A0E1A;
  --bi-text:        #1A1A2E;
  --bi-muted:       #64748B;
  --bi-bg:          #F5F7FF;
  --bi-white:       #FFFFFF;
  --bi-border:      #E2E8F0;
  --bi-radius:      8px;
  --bi-radius-lg:   16px;
  --bi-shadow:      0 4px 24px rgba(0,0,0,.08);
  --bi-shadow-hover:0 12px 40px rgba(0,87,255,.15);
  --bi-trans:       .25s ease;
  --bi-container:   1160px;
  --bi-font-sans:   'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;

  /* SWELL変数の上書き */
  --color_main:     #0057FF;
  --color_main_thin:#E8F0FF;
  --color_txt:      #1A1A2E;
  --color_link:     #0057FF;
}

/* ── ベース ── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--bi-font-sans); color: var(--bi-text); }
img  { max-width: 100%; height: auto; }

/* ── レイアウトユーティリティ ── */
.bi-container {
  max-width: var(--bi-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.bi-container--narrow { max-width: 760px; }
.pc-only { display: block; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: block; }
}

/* ── セクション共通ヘッダー ── */
.bi-section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.bi-section-head__en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--bi-blue);
  margin-bottom: 8px;
}
.bi-section-head__ja {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 16px;
}
.bi-section-head__desc {
  font-size: 15px;
  color: var(--bi-muted);
  line-height: 1.8;
}

/* ── ボタン ── */
.bi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--bi-trans);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.bi-btn--lg { padding: 18px 40px; font-size: 16px; }
.bi-btn--primary {
  background: var(--bi-blue);
  color: var(--bi-white);
  border-color: var(--bi-blue);
}
.bi-btn--primary:hover {
  background: var(--bi-blue-dark);
  border-color: var(--bi-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--bi-shadow-hover);
}
.bi-btn--outline {
  background: transparent;
  color: var(--bi-blue);
  border-color: var(--bi-blue);
}
.bi-btn--outline:hover {
  background: var(--bi-blue);
  color: var(--bi-white);
  transform: translateY(-2px);
}
.bi-btn--white {
  background: var(--bi-white);
  color: var(--bi-blue);
  border-color: var(--bi-white);
}
.bi-btn--white:hover {
  background: var(--bi-blue-light);
}
.bi-btn--ghost {
  background: transparent;
  color: var(--bi-white);
  border-color: rgba(255,255,255,.6);
}
.bi-btn--ghost:hover {
  background: rgba(255,255,255,.15);
}

/* ── タグ ── */
.bi-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  background: var(--bi-blue-light);
  color: var(--bi-blue);
  border-radius: 4px;
  border: 1px solid rgba(0,87,255,.2);
}
.bi-tag--sm { font-size: 11px; padding: 2px 8px; }

/* ============================================================
   HERO
   ============================================================ */
.bi-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bi-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* SWELLメインビジュアル非表示（front-page.phpのbi-heroを使用） */
#main_visual { display: none !important; }

/* ホームページ上部ギャップ除去: ヒーローをヘッダー直下から開始 */
.bi-hero { margin-top: -64px !important; }

.bi-hero { min-height: 100vh; }
.bi-hero__bg { background: #00082E; }
.bi-hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bi-hero__bg-img { display: none; }
.bi-hero__overlay { display: none; }

/* ウォーターマーク */
.bi-hero__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(72px, 11vw, 160px);
  font-weight: 900;
  color: rgba(255,255,255,0.035);
  line-height: 1.1;
  letter-spacing: -0.03em;
  pointer-events: none;
  text-align: center;
  z-index: 0;
}

/* 2カラムレイアウト */
.bi-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-block: clamp(80px, 10vw, 120px);
}
.bi-hero__inner { padding-block: 0; }

/* 左：社是・CTA */
.bi-hero__spirit-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.bi-hero__spirit-en {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-style: italic;
}
.bi-hero__spirit-ja {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.85);
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 32px;
}
.bi-hero__divider {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  margin-bottom: 24px;
}
.bi-hero__sub {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.85;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 460px;
}

/* 右：KPIカード */
.bi-hero__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.bi-hero__kpi-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, background .25s ease;
}
.bi-hero__kpi-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}
.bi-hero__kpi-card--1 { grid-column: 1 / -1; }
.bi-hero__kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.bi-hero__kpi-value {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bi-hero__kpi-unit {
  font-size: .45em;
  font-weight: 600;
  opacity: .85;
}
.bi-hero__kpi-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  color: rgba(80,220,140,.9);
  font-weight: 700;
}

@media (max-width: 768px) {
  .bi-hero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 80px 40px;
  }
  .bi-hero__right { grid-template-columns: 1fr 1fr; }
  .bi-hero__kpi-card--1 { grid-column: 1 / -1; }
  .bi-hero__spirit-en { font-size: clamp(36px, 8vw, 52px); }
}
.bi-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 12vw, 140px);
}
.bi-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.bi-hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--bi-white);
  margin: 0 0 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.bi-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  max-width: 600px;
}
.bi-hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.bi-hero__note {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
/* スクロール誘導 */
.bi-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  z-index: 1;
}
.bi-hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.5);
  animation: scrollLine 1.8s ease-in-out infinite;
}
.bi-hero__scroll-text {
  font-size: 10px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.6);
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   KPI カウンター
   ============================================================ */
.bi-kpi {
  background: var(--bi-dark);
  padding: clamp(40px, 6vw, 72px) 0;
}
.bi-kpi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
@media (max-width: 768px) {
  .bi-kpi__grid { grid-template-columns: repeat(2, 1fr); }
}
.bi-kpi__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
  background: var(--bi-dark);
}
.bi-kpi__num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--bi-teal);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bi-kpi__unit {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--bi-teal);
}
.bi-kpi__label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 10px;
}
.bi-kpi__disclaimer {
  text-align: right;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 16px;
}

/* ============================================================
   媒体ロゴ 無限スクロール
   ============================================================ */
.bi-media-logos {
  background: var(--bi-white);
  padding: 28px 0;
  border-top: 1px solid var(--bi-border);
  border-bottom: 1px solid var(--bi-border);
  overflow: hidden;
}
.bi-media-logos__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--bi-muted);
  margin-bottom: 16px;
}
.bi-media-logos__track { overflow: hidden; }
.bi-media-logos__inner {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.bi-media-logos__item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  opacity: .7 !important;
  filter: none !important;
  flex-direction: row !important;
  transition: opacity var(--bi-trans);
}
.bi-media-logos__item:hover { opacity: 1 !important; filter: none !important; }
.bi-media-logos__item img { height: 36px !important; width: 36px !important; object-fit: contain !important; }
.bi-media-logos__name { display: none !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   サービス
   ============================================================ */
.bi-services {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--bi-white);
}
.bi-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .bi-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bi-services__grid { grid-template-columns: 1fr; }
}
.bi-service-card {
  background: var(--bi-white);
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--bi-trans);
}
.bi-service-card:hover {
  border-color: var(--bi-blue);
  box-shadow: var(--bi-shadow-hover);
  transform: translateY(-4px);
}
.bi-service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--bi-blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bi-service-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}
.bi-service-card__text {
  font-size: 14px;
  color: var(--bi-muted);
  line-height: 1.8;
  flex: 1;
  margin: 0 0 20px;
}
.bi-service-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--bi-blue);
  text-decoration: none;
  margin-top: auto;
}
.bi-service-card__link:hover { text-decoration: underline; }

/* ============================================================
   選ばれる理由
   ============================================================ */
.bi-reasons {
  background: var(--bi-bg);
  padding: clamp(64px, 8vw, 100px) 0;
}
.bi-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .bi-reasons__grid { grid-template-columns: 1fr; }
}
.bi-reason {
  background: var(--bi-white);
  border-radius: var(--bi-radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--bi-border);
}
.bi-reason__num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--bi-blue);
  opacity: .2;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.bi-reason__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.bi-reason__text {
  font-size: 14px;
  color: var(--bi-muted);
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   事例
   ============================================================ */
.bi-cases {
  background: var(--bi-white);
  padding: clamp(64px, 8vw, 100px) 0;
}
.bi-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .bi-cases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bi-cases__grid { grid-template-columns: 1fr; }
}
.bi-case-card {
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bi-white);
  transition: all var(--bi-trans);
}
.bi-case-card:hover {
  box-shadow: var(--bi-shadow-hover);
  transform: translateY(-4px);
  border-color: var(--bi-blue);
}
.bi-case-card__thumb { aspect-ratio: 3/2; overflow: hidden; }
.bi-case-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bi-case-card:hover .bi-case-card__thumb img { transform: scale(1.05); }
.bi-case-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.bi-case-card__result {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0;
}
.bi-case-card__result-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  color: var(--bi-blue);
  line-height: 1;
}
.bi-case-card__result-label {
  font-size: 13px;
  color: var(--bi-muted);
}
.bi-case-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
  flex: 1;
}
.bi-case-card__media {
  font-size: 12px;
  color: var(--bi-muted);
  margin: 0 0 12px;
}
.bi-case-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--bi-blue);
  text-decoration: none;
}
.bi-case-card__link:hover { text-decoration: underline; }
.bi-cases__more { text-align: center; }

/* ============================================================
   FAQ アコーディオン
   ============================================================ */
.bi-faq {
  background: var(--bi-bg);
  padding: clamp(64px, 8vw, 100px) 0;
}
.bi-faq__list { margin: 0; }
.bi-faq__item {
  border-bottom: 1px solid var(--bi-border);
}
.bi-faq__item:first-child { border-top: 1px solid var(--bi-border); }
.bi-faq__q {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  padding: 20px 48px 20px 40px;
  cursor: pointer;
  margin: 0;
  user-select: none;
  line-height: 1.5;
}
.bi-faq__q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 18px;
  font-weight: 900;
  color: var(--bi-blue);
  font-style: italic;
}
.bi-faq__q::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0);
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%230057FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform var(--bi-trans);
}
.bi-faq__item.is-open .bi-faq__q::after {
  transform: translateY(-50%) rotate(180deg);
}
.bi-faq__a {
  display: none;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  padding: 0 16px 20px 40px;
  margin: 0;
  position: relative;
}
.bi-faq__a::before {
  content: 'A';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--bi-teal);
  font-style: italic;
}
.bi-faq__item.is-open .bi-faq__a { display: block; }

/* ============================================================
   ブログ最新記事
   ============================================================ */
.bi-blog-latest {
  background: var(--bi-white);
  padding: clamp(64px, 8vw, 100px) 0;
}
.bi-blog-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .bi-blog-latest__grid { grid-template-columns: 1fr; }
}
.bi-blog-card {
  border: 1px solid var(--bi-border);
  border-radius: var(--bi-radius-lg);
  overflow: hidden;
  background: var(--bi-white);
  transition: all var(--bi-trans);
}
.bi-blog-card:hover { box-shadow: var(--bi-shadow); transform: translateY(-2px); }
.bi-blog-card__thumb-link { display: block; aspect-ratio: 16/9; overflow: hidden; }
.bi-blog-card__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bi-blog-card:hover .bi-blog-card__thumb { transform: scale(1.04); }
.bi-blog-card__body { padding: 16px 20px 20px; }
.bi-blog-card__date {
  display: block;
  font-size: 12px;
  color: var(--bi-muted);
  margin: 6px 0;
}
.bi-blog-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}
.bi-blog-card__title a { color: var(--bi-text); text-decoration: none; }
.bi-blog-card__title a:hover { color: var(--bi-blue); }
.bi-blog-latest__more { text-align: center; }

/* ============================================================
   CTAセクション
   ============================================================ */
.bi-cta-section {
  background: linear-gradient(135deg, #0040CC 0%, #0057FF 60%, #006AFF 100%);
  padding: clamp(64px, 8vw, 100px) 0;
  color: var(--bi-white);
}
.bi-cta-section__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.bi-cta-section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  opacity: .7;
  margin-bottom: 12px;
}
.bi-cta-section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin: 0 0 16px;
}
.bi-cta-section__desc {
  font-size: 16px;
  line-height: 1.8;
  opacity: .9;
  margin-bottom: 36px;
}
.bi-cta-section__btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.bi-cta-section__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  opacity: .75;
}
.bi-cta-section__tel a { color: var(--bi-white); font-weight: 700; }
.bi-cta-section__tel span { font-size: 12px; }

/* ============================================================
   記事内インラインCTA
   ============================================================ */
.bi-inline-cta {
  margin: 40px 0;
  background: linear-gradient(135deg, var(--bi-blue-light), #fff);
  border: 2px solid var(--bi-blue);
  border-radius: var(--bi-radius-lg);
  overflow: hidden;
}
.bi-inline-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  flex-wrap: wrap;
}
.bi-inline-cta__text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--bi-text);
  margin: 0;
  flex: 1;
}
.bi-inline-cta__btn {
  display: inline-flex;
  padding: 12px 24px;
  background: var(--bi-blue);
  color: var(--bi-white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--bi-trans);
}
.bi-inline-cta__btn:hover { background: var(--bi-blue-dark); }

/* ============================================================
   ヘッダー改善（SWELL上書き）
   ============================================================ */
#header {
  box-shadow: 0 1px 0 var(--bi-border);
  transition: background var(--bi-trans), box-shadow var(--bi-trans);
}
/* ナビのアクティブカラー */
#global-nav .menu-item.current-menu-item > a,
#global-nav .menu-item.current-menu-ancestor > a {
  color: var(--bi-blue) !important;
  font-weight: 700;
}
/* ヘッダーCTAボタン */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--bi-blue);
  color: #fff !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--bi-trans), transform var(--bi-trans);
  margin-left: 16px;
}
.header-cta-btn:hover { background: var(--bi-blue-dark); transform: translateY(-1px); }

/* ============================================================
   フッター改善（SWELL上書き）
   ============================================================ */
#footer {
  background: var(--bi-dark) !important;
  color: rgba(255,255,255,.7) !important;
}
#footer a { color: rgba(255,255,255,.7); transition: color var(--bi-trans); }
#footer a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }

/* ============================================================
   スマホ固定CTAバー（新規追加）
   ============================================================ */
.bi-sp-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bi-blue);
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.bi-sp-cta-bar a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 768px) {
  .bi-sp-cta-bar { display: block; }
  body { padding-bottom: 56px; }
}

/* ============================================================
   パンくずリスト（SWELL上書き）
   ============================================================ */
.p-breadcrumb {
  font-size: 12px;
  color: var(--bi-muted);
  padding: 10px 0;
}
.p-breadcrumb a { color: var(--bi-blue); }

/* ============================================================
   スクロールアニメーション
   ============================================================ */
.js-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-fade-in.is-visible {
  opacity: 1;
  transform: none;
}
