/* 豊かさを運び、ロゴへ帰る。トップページの初回のみ、2秒の演出。 */
.bee-intro-pending::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #fcfaf4;
  pointer-events: none;
  animation: bee-safety-exit 0s 2.8s forwards;
}

.bee-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  color: #1e4d2b;
  isolation: isolate;
  animation: bee-safety-exit 0s 2.8s forwards;
}

.bee-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fcfaf4;
  opacity: var(--curtain-opacity, 1);
  z-index: -2;
}

.bee-intro::before {
  content: "";
  position: absolute;
  width: min(88vw, 1000px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f4e7ba55, #fcfaf400 65%);
  z-index: -1;
  opacity: var(--curtain-opacity, 1);
}

.bee-intro__docking-logo {
  position: fixed;
  top: 0;
  left: 0;
  max-width: none;
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}

.bee-intro__docking-logo[hidden] { display: none; }
.bee-intro-target {
  visibility: hidden;
  animation: bee-target-safety 0s 2.8s forwards;
}
@keyframes bee-target-safety { to { visibility: visible; } }

.bee-intro__art {
  display: block;
  width: min(90vw, 960px);
  height: auto;
  overflow: visible;
}

.bee-intro__caption {
  margin: -1.5rem 0 0;
  text-align: center;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 500;
  letter-spacing: .2em;
  color: #59705b;
}

.bee-intro__skip {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  padding: 10px 18px;
  border: 1px solid #cbd5c4;
  border-radius: 999px;
  background: #ffffffa8;
  color: #45634c;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  min-height: 44px;
}

.bee-intro__skip:hover { background: #eef2e8; }
.bee-intro__skip:focus-visible { outline: 3px solid #dca72c; outline-offset: 4px; }

.bee-intro__flower-stem {
  fill: none;
  stroke: #719378;
  stroke-width: 3;
  stroke-linecap: round;
}
.bee-intro__flower-petals { fill: #f3efdf; stroke: #cccdb6; stroke-width: 2; }
.bee-intro__flower-color { fill: #f2cc64; }
.bee-intro__flower-center { fill: #b79843; }
.bee-intro__pollen { fill: #d6aa38; }

@keyframes bee-safety-exit {
  to { visibility: hidden; pointer-events: none; }
}

@media (max-width: 600px) {
  .bee-intro__art { width: 96vw; }
  .bee-intro__caption { margin-top: 10px; font-size: 12px; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  .bee-intro, .bee-intro-pending::before { display: none !important; }
}
