@charset "utf-8";
/* Load after top-renewal.css. Layout and image sizes are unchanged. */
.demo-motion-ready .demo-reveal {
  transform: translate3d(0, 10px, 0);
}
.demo-motion-ready .demo-reveal.is-visible {
  animation: demo-enter 1.1s cubic-bezier(.22, 1, .36, 1) var(--demo-delay, 0s) both;
}
.demo-motion-ready .demo-hero__title.is-visible img {
  animation: demo-title-float 3s ease-in-out 1.5s infinite;
  will-change: transform;
}
.demo-motion-ready .demo-hero__badge.is-visible {
  /* Entrance completes at 1.35s; floating starts afterwards. */
  animation: demo-enter 1.1s cubic-bezier(.22, 1, .36, 1) .25s both,
             demo-badge-float 5s ease-in-out 1.4s 3;
}
.demo-hero__title img, .demo-hero__badge {
  will-change: transform;
}
.demo-hero__cta { transition: none; }
.demo-hero__cta:hover { filter: none; }
.demo-hero__cta::after {
  left: -55%;
  transform: translate3d(0, 0, 0) skewX(-18deg);
  will-change: transform, opacity;
}
.demo-hero__cta.is-visible::after,
.demo-hero__cta:hover::after,
.demo-hero__cta:focus-visible::after {
  /* Keep a fixed duration so hover does not jump to a different phase. */
  animation: demo-shine 5.5s linear 1.4s infinite;
}
@keyframes demo-enter {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes demo-title-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -16px, 0);
  }
}
@keyframes demo-badge-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}
@keyframes demo-shine {
  0%, 10% { transform: translate3d(0, 0, 0) skewX(-18deg); opacity: 0; }
  14% { opacity: .75; }
  42% { transform: translate3d(490%, 0, 0) skewX(-18deg); opacity: .75; }
  46%, 100% { transform: translate3d(490%, 0, 0) skewX(-18deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-motion-ready .demo-reveal,
  .demo-motion-ready .demo-reveal.is-visible,
  .demo-motion-ready .demo-hero__title.is-visible img {
    animation: none; opacity: 1; transform: none;
  }
  .demo-hero__title img, .demo-hero__badge { will-change: auto; }
  .demo-hero__cta::after { display: none; animation: none; will-change: auto; }
	
}

/* ボタン2つをまとめて配置 */
.demo-hero__actions {
  position: absolute;
  left: 0;
  top: 480px;
  width: 548px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
}

/* ボタン共通 */
.demo-hero__actions > .demo-hero__cta {
  position: relative;
  inset: auto;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  box-sizing: border-box;
  min-height: 80px;
  padding: 14px 10px;
  border: 2px solid #fff;
  border-radius: 999px;

  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;

  overflow: hidden;
  isolation: isolate;
}

/* ID取得：ピンク */
.demo-hero__actions > .demo-hero__cta--register {
  background: linear-gradient(165deg, #ff7097, #ed3062);
}

/* ログイン：青 */
.demo-hero__actions > .demo-hero__cta--login {
  background: linear-gradient(165deg, #35b9ec, #0064ae);
}

.demo-hero__actions > .demo-hero__cta:hover {
  color: #fff;
}


/* HTMLのクラス名と一致させる */
.demo-hero__actions .demo-action-arrow {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0 4px 0 0;

  border: none;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(45deg);
}

/* スマホでは2つ縦並び */
@media (max-width: 640px) {
  .demo-hero__actions {
    left: 3%;
    top: 90%;
    width: 94%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .demo-hero__actions > .demo-hero__cta {
  position: relative;
  inset: auto;
  flex: none;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding: 12px 16px;
  gap: 16px;
  font-size: clamp(20px, 5.5vw, 28px);
  }
  .demo-hero__actions .demo-action-arrow {
    width: 12px;
    height: 12px;
    border-top-width: 3px;
    border-right-width: 3px;
  }
}