@charset "UTF-8";

/* ============================================================
   サブページ用フッター
   brain トップ(frame1)のフッターと完全一致させるためのスケール済みキャンバス。
   .footer-canvas が --scale でラップし、内部はトップと同じ 1200×877 座標系・
   絶対配置で BRAIN/RPP バナー〜コピーライトまで 1:1 で再現する。
   （トップページ index は .page 全体が scale されるため本ファイルは読み込まない）
   ============================================================ */
.ecpro-brain-body .footer-canvas {
  width: 100%;
  background: #313440;
  color: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  height: calc(877px * var(--scale, 1));
}
.ecpro-brain-body .footer-canvas .site-footer {
  position: relative;
  width: 1200px;
  height: 877px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  transform: scale(var(--scale, 1));
  transform-origin: top center;
}

/* inner（ロゴ / タグ / 会社情報 / ナビ2列）— トップと同じ 800/200/220 グリッド */
.ecpro-brain-body .footer-canvas .footer-inner {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 70px 0 0;
  display: grid;
  grid-template-columns: 800px 200px 220px;
  gap: 0;
  max-width: none;
}
.ecpro-brain-body .footer-canvas .footer-logo { width: 128px; height: 35px; object-fit: contain; margin-bottom: 27px; }
.ecpro-brain-body .footer-canvas .footer-tag {
  margin: 0 0 36px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 16px; line-height: 38px; letter-spacing: 0.8px; color: #fff;
}
.ecpro-brain-body .footer-canvas .footer-company, .ecpro-brain-body .footer-canvas .footer-address {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 16px; line-height: 30px; letter-spacing: 0.8px; color: #fff;
}
.ecpro-brain-body .footer-canvas .footer-company { margin-bottom: 8px; }
.ecpro-brain-body .footer-canvas .footer-nav { display: flex; flex-direction: column; gap: 0; }
.ecpro-brain-body .footer-canvas .footer-nav-head {
  margin: 0; color: #d2d5de;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 14px; line-height: 30px; letter-spacing: 0.8px;
}
.ecpro-brain-body .footer-canvas .footer-nav-head:not(:first-child) { margin-top: 18px; }
.ecpro-brain-body .footer-canvas .footer-nav a {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 16px; line-height: 30px; letter-spacing: 0.8px; color: #fff;
}

/* BRAIN / RPP バナー */
.ecpro-brain-body .footer-canvas .footer-bottom-cta {
  position: absolute; top: 469px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 23px; z-index: 1;
}
.ecpro-brain-body .footer-canvas .bottom-cta-card {
  position: relative; width: 583px; height: 160px; border-radius: 10px;
  padding: 24px 38px; display: flex; flex-direction: column; color: #000;
}
.ecpro-brain-body .footer-canvas .bottom-cta-card--cyan { background: #e6f8f9; }
.ecpro-brain-body .footer-canvas .bottom-cta-card--purple { background: #faf5ff; width: 593px; }
.ecpro-brain-body .footer-canvas .bottom-cta-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.ecpro-brain-body .footer-canvas .bottom-cta-card-badges { display: flex; gap: 8px; align-items: center; }
.ecpro-brain-body .footer-canvas .bottom-cta-card-badges--stack { flex-direction: column; align-items: flex-end; gap: 3px; }
.ecpro-brain-body .footer-canvas .bottom-cta-card .badge { display: inline-flex; flex-shrink: 0; }
.ecpro-brain-body .footer-canvas .bottom-cta-logo { height: 51px; object-fit: contain; flex-shrink: 0; }
.ecpro-brain-body .footer-canvas .bottom-cta-logo--brain { width: 310px; height: 51px; }
.ecpro-brain-body .footer-canvas .bottom-cta-logo--rpp { width: 284px; height: 59px; }
.ecpro-brain-body .footer-canvas .bottom-cta-text {
  margin: 14px 0 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 18px; line-height: 38px; letter-spacing: 0.9px; color: #000;
}
.ecpro-brain-body .footer-canvas .badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 29px; padding: 0 18px; border-radius: 50px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 14px; letter-spacing: 0.7px; color: #fff;
}
.ecpro-brain-body .footer-canvas .badge-cyan { background: #00b8d9; border: 1px solid #00b8d9; }
.ecpro-brain-body .footer-canvas .badge-purple { background: #9566ee; }

/* コピーライト（最下部・上に薄い区切り線） */
.ecpro-brain-body .footer-canvas .footer-copy {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400; font-size: 14px; line-height: 38px; letter-spacing: 0.7px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.35);
  width: 1200px; text-align: left; box-sizing: border-box; color: #fff;
}

/* ============================================================
   モバイル（〜767px）: --scale=1。トップと同じく流動の縦積みに戻す
   ============================================================ */
@media (max-width: 767px) {
  .ecpro-brain-body .footer-canvas {
    height: auto;
    display: block;
    padding: 50px 20px 30px;
  }
  .ecpro-brain-body .footer-canvas .site-footer {
    width: 100%;
    height: auto;
    transform: none;
  }
  .ecpro-brain-body .footer-canvas .footer-inner {
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    grid-template-columns: none;
  }
  .ecpro-brain-body .footer-canvas .footer-tag { line-height: 1.9; margin-bottom: 18px; }
  .ecpro-brain-body .footer-canvas .footer-company, .ecpro-brain-body .footer-canvas .footer-address { line-height: 1.9; }
  .ecpro-brain-body .footer-canvas .footer-nav-head { line-height: 1.9; }
  .ecpro-brain-body .footer-canvas .footer-nav a { line-height: 2; }
  .ecpro-brain-body .footer-canvas .footer-bottom-cta {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 12px;
    margin: 8px 0 0;
  }
  .ecpro-brain-body .footer-canvas .bottom-cta-card, .ecpro-brain-body .footer-canvas .bottom-cta-card--purple {
    width: 100%;
    height: auto;
    padding: 22px 20px;
    box-sizing: border-box;
  }
  .ecpro-brain-body .footer-canvas .bottom-cta-card-row {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
  .ecpro-brain-body .footer-canvas .bottom-cta-card-badges {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
  }
  .ecpro-brain-body .footer-canvas .bottom-cta-logo, .ecpro-brain-body .footer-canvas .bottom-cta-logo--brain, .ecpro-brain-body .footer-canvas .bottom-cta-logo--rpp {
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 40px;
    margin: 0;
    flex: 0 0 auto;
    object-fit: contain;
  }
  .ecpro-brain-body .footer-canvas .bottom-cta-card .badge {
    font-size: 12px;
    padding: 0 12px;
    height: 26px;
  }
  .ecpro-brain-body .footer-canvas .bottom-cta-text {
    font-size: 13px;
    line-height: 1.7;
    margin: 10px 0 0;
  }
  .ecpro-brain-body .footer-canvas .footer-copy {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
    padding-top: 18px;
    line-height: 1.7;
    font-size: 12px;
  }
}
