@charset "UTF-8";
/* ====================================================
バブルコア商品紹介ページ（page-bubblecore.php）専用
支給データ index.html の <style> を .bc-page 内に限定して移植。
サイト側が html{font-size:10px} のため rem は px（1rem=16px）に換算。
支給データのヘッダー用スタイル（sticky / .nav-link / .logo-sub）は、
サイト共通ヘッダーに差し替えたため除外。
==================================================== */

.bc-page {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}

.bc-page a {
  color: #8A6A2E;
  text-decoration: underline;
  transition: opacity .3s, background-color .3s, color .3s;
}

.bc-page a:hover {
  color: #5E4618;
}

.bc-page a[href]:hover {
  opacity: .86;
}

.bc-page img {
  max-width: 100%;
}

.bc-page picture img {
  height: auto;
}

.bc-page h1,
.bc-page h2 {
  font-feature-settings: "palt" 1;
}

@media (max-width: 640px) {
  .bc-page .stat-val {
    font-size: 20.8px !important;
    white-space: nowrap;
  }
  .bc-page .stat-label {
    font-size: 10.88px !important;
  }
  .bc-page .stat-cell {
    padding-left: 12px !important;
    padding-right: 8px !important;
  }
  .bc-page .stat-cell:first-child {
    padding-left: 0 !important;
  }
  .bc-page .h2-sp {
    font-size: 24px !important;
  }
}

/* reveal on scroll */
.bc-page .bc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
}

.bc-page .bc-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* hero entrance */
@keyframes bcUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes bcZoom {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: none; }
}

.bc-page .bc-hero h1 {
  animation: bcUp 1.2s .25s both cubic-bezier(.2, .7, .2, 1);
}

.bc-page .bc-hero img {
  animation: bcZoom 1.6s .1s both cubic-bezier(.2, .7, .2, 1);
}

/* rising micro-bubbles */
.bc-page .bc-bubbles {
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.bc-page .bc-bubbles span {
  position: absolute;
  bottom: -24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15) 45%, rgba(154, 123, 63, .10) 100%);
  box-shadow: inset 0 0 0 1px rgba(154, 123, 63, .28);
  animation-name: bcRise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes bcRise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(10px, -50vh); }
  100% { transform: translate(-6px, -110vh); opacity: 0; }
}

/* hover polish */
.bc-page #deesse,
.bc-page #kabe1,
.bc-page #move {
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s;
}

.bc-page #deesse:hover,
.bc-page #kabe1:hover,
.bc-page #move:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -28px rgba(31, 42, 42, .35);
}

.bc-page #about img,
.bc-page #technology img {
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.bc-page #about img:hover,
.bc-page #technology img:hover {
  transform: scale(1.03);
}

.bc-page #about > div > div:last-child,
.bc-page #technology > div > div > div:last-child {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .bc-page .bc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .bc-page .bc-hero h1,
  .bc-page .bc-hero img {
    animation: none;
  }
  .bc-page .bc-bubbles {
    display: none;
  }
  .bc-page #deesse:hover,
  .bc-page #kabe1:hover,
  .bc-page #move:hover {
    transform: none;
  }
}
