.heroIn > i,
.heroIn > h1,
.heroIn > h2,
.heroIn > .date,
.heroIn > .prices,
.heroIn > .hero-apply-buttons {
  animation: hero-rise .62s ease-out both;
}

.heroIn > .date {
  border-left: 0;
  padding-left: 0;
}

.heroIn > h1 { animation-delay: .05s; }
.heroIn > h2 { animation-delay: .1s; }
.heroIn > .date { animation-delay: .15s; }
.heroIn > .prices { animation-delay: .2s; }
.heroIn > .hero-apply-buttons { animation-delay: .25s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.motion-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .58s ease-out var(--motion-delay, 0ms),
    transform .58s ease-out var(--motion-delay, 0ms);
}

.motion-reveal.motion-visible {
  opacity: 1;
  transform: translateY(0);
}

.section label { position: relative; display: inline-block; }
.section label::after { content:""; position:absolute; left:0; right:0; bottom:-7px; height:4px; background:var(--p); transform:scaleX(0); transform-origin:left; transition:transform .65s cubic-bezier(.16,1,.3,1) .25s; }
.section label.motion-visible::after { transform:scaleX(1); }

.ticker {
  height: 35px;
  padding: 0;
  border-bottom: 2px solid var(--d);
  letter-spacing: .12em;
}

.tickerTrack {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 25s linear infinite;
}

.tickerTrack span { display:block; flex:none; padding:8px 0; }
.ticker:hover .tickerTrack { animation-play-state: paused; }

@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.cards article,
.discount article,
.conditions b,
.framed {
  transition: transform .25s ease, box-shadow .25s ease;
}

.cards article:hover,
.discount article:hover,
.conditions b:hover {
  transform: translate(-3px,-3px) rotate(-.4deg);
  box-shadow: 9px 9px var(--d);
}

.framed:hover {
  transform: rotate(.7deg) scale(1.012);
  box-shadow: 11px 11px var(--d);
}

.hero-apply-buttons,
.application-buttons {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.hero-apply-buttons {
  width: min(100%, 490px);
  margin-top: 24px;
}

.gender-btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--d);
  box-shadow: 4px 4px 0 var(--d);
  color: var(--d);
  font: 900 15px "Noto Sans JP",Meiryo,sans-serif;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.gender-btn.male { background: var(--m); }
.gender-btn.female { background: var(--p); }

a.gender-btn:hover {
  transform: translate(2px,2px);
  box-shadow: 2px 2px 0 var(--d);
  filter: brightness(1.04);
}

.application-buttons {
  margin: 22px 0 14px;
}

.experienceLead {
  max-width: 760px;
  color: #ddd;
  font-weight: 700;
  line-height: 1.9;
}

.dark .features {
  grid-template-columns: repeat(2,minmax(0,1fr));
  border: 0;
  gap: 18px;
}

.dark .features > div {
  position: relative;
  min-height: 520px;
  padding: 30px;
  border: 1px solid #ffffff55;
  background: #ffffff0b;
}

.features > div > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border: 2px solid #fff;
  background: #fff7e7;
  object-fit: contain;
}

.dark .features > div:nth-child(2) b { color: #89b7ff; }
.dark .features > div:nth-child(3) b { color: var(--m); }
.dark .features > div:nth-child(4) b { color: var(--y); }

.features > div > small {
  display: inline-block;
  margin-left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--d);
  font-size: 10px;
  font-weight: 900;
}

.features h3 {
  max-width: 420px;
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.45;
}

.features em {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #ffffff33;
  color: var(--y);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.timeline div {
  grid-template-columns: 125px 1fr;
}

.discount article > span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 900;
}

.conditions.single {
  display: block;
  max-width: 560px;
}

.conditions.single b {
  display: block;
  padding: 22px;
  font-size: 22px;
}

.idNote {
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.seriesCta {
  padding: 72px 20px;
  border-top: 2px solid var(--d);
  background: var(--pe);
  text-align: center;
}

.seriesCta p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.seriesCta h2 {
  margin: 0 0 28px;
  font: 900 clamp(25px,4vw,44px)/1.3 Arial Black,"Noto Sans JP",sans-serif;
}

.seriesCta a {
  display: inline-block;
  padding: 16px 28px;
  border: 2px solid var(--d);
  background: var(--y);
  box-shadow: 5px 5px 0 var(--d);
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.seriesCta a:hover {
  transform: translate(2px,2px);
  box-shadow: 3px 3px 0 var(--d);
}

@media (max-width: 560px) {
  .tickerTrack { animation-duration: 18s; }
  .hero-apply-buttons,
  .application-buttons {
    grid-template-columns: 1fr;
  }

  .hero-apply-buttons { width: 100%; }

  .dark .features {
    grid-template-columns: 1fr;
  }

  .dark .features > div {
    min-height: 0;
  }

  .timeline div {
    grid-template-columns: 105px 1fr;
  }

  .seriesCta {
    padding: 58px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .motion-reveal { opacity: 1; transform: none; }
  .tickerTrack { animation: none; transform: none; }
}
