/* 最初からhtmlを隠す（JS実行前に適用される） */
html {
  visibility: hidden;
}

html.splash-ready {
  visibility: visible;
}

#splash-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}

#splash-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

#splash-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

#splash-logo {
  height: 56px;
  flex-shrink: 0;
}

#splash-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.splash-row {
  position: relative;
  height: 40px;
  overflow: hidden;
}

.splash-row-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
  white-space: nowrap;
  line-height: 40px;
  opacity: 0;
  display: block;
}

.splash-bar {
  position: absolute;
  top: 0; left: 0;
  height: 40px;
  z-index: 2;
  transform-origin: left center;
  transform: scaleX(0);
}
