/**
 * Final desktop first-view dimensions.
 * This file loads after main.css to avoid conflicts with historic rules.
 */
@media (min-width: 992px) {
  body.home .site-header + main#main-content {
    padding-top: 10px;
  }

  body.home main#main-content > .hero {
    height: 520px;
    min-height: 520px;
    max-height: 520px;
    margin-top: 0;
    margin-bottom: 18px;
    overflow: hidden;
  }

  body.home main#main-content > .hero .hero__copy,
  body.home main#main-content > .hero .hero__visual,
  body.home main#main-content > .hero .hero__image {
    height: 520px;
    min-height: 520px;
    max-height: 520px;
  }

  body.home main#main-content > .hero .hero__copy {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.home main#main-content > .hero .hero__copy-inner {
    transform: none;
  }

  body.home main#main-content > .hero h1,
  body.home main#main-content > .hero .hero__lead {
    transform: translateY(24px);
  }

  body.home main#main-content > .hero .hero__features,
  body.home main#main-content > .hero .button--outline {
    transform: translateY(10px);
  }

  body.home main#main-content > .hero h1 {
    margin-top: 34px;
    margin-bottom: 14px;
  }

  body.home main#main-content > .hero .hero__lead {
    margin-bottom: 12px;
  }

  body.home main#main-content > .hero .hero__features {
    margin-top: 0;
    margin-bottom: 10px;
  }

  body.home main#main-content > .hero .hero__image {
    object-fit: contain;
  }

  body.home main#main-content > .hero .hero__bubble {
    right: 24px;
    bottom: 18px;
    width: 198px;
    min-width: 198px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 14px 6px 12px;
    border: 1px solid rgba(211, 155, 0, 0.32);
    border-radius: 26px;
    background: #ffd84d;
    box-shadow: 0 4px 12px rgba(63, 38, 21, 0.08);
  }

  body.home main#main-content > .hero .hero__mascot {
    height: 44px;
    max-width: 44px;
  }

  body.home main#main-content > .hero .hero__bubble > span {
    font-size: 12px;
    line-height: 1.3;
  }

  body.home main#main-content > .hero .hero__bubble strong {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.12;
  }
}

/* Ver 3.3.2 — vivid yellow callout with controlled two-line typography. */
body.home .hero__bubble {
  background: #ffd84d;
}

body.home .hero__mascot-wrap {
  flex: 0 0 auto;
}

body.home .hero__goods-title {
  display: block;
  font-size: 13px;
  white-space: nowrap;
}

body.home .hero__goods-status {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 991px) and (min-width: 768px) {
  body.home .hero__bubble {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid rgba(211, 155, 0, 0.32);
    border-radius: 25px;
    background: #ffd84d;
  }

  body.home .hero__goods-title { font-size: 12px; }
  body.home .hero__goods-status { font-size: 16px; }
}

@media (max-width: 767px) {
  body.home .hero__bubble {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid rgba(211, 155, 0, 0.32);
    border-radius: 23px;
    background: #ffd84d;
  }

  body.home .hero__goods-title { font-size: 11px; }
  body.home .hero__goods-status { margin-top: 2px; font-size: 14px; }
}

/* Ver 3.10.0 — clickable original-goods callout. */
body.home main#main-content > .hero .hero__bubble[href] {
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

body.home main#main-content > .hero .hero__bubble[href]:hover {
  box-shadow: 0 7px 18px rgba(63, 38, 21, .15);
  transform: translateY(-2px);
}

body.home main#main-content > .hero .hero__bubble[href]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Ver 3.10.1 — activity icons roll into their normal positions once. */
body.home .hero__features.has-roll-animation li {
  opacity: 0;
  transform: translateX(-90px);
  transition: opacity .25s ease, transform .85s cubic-bezier(.2, .72, .25, 1);
}

body.home .hero__features.has-roll-animation li:nth-child(2) {
  transform: translateX(90px);
  transition-delay: .12s;
}

body.home .hero__features.has-roll-animation li:nth-child(3) {
  transform: translateX(140px);
  transition-delay: .24s;
}

body.home .hero__features.has-roll-animation li b {
  transform: rotate(-420deg);
  transition: transform .95s cubic-bezier(.2, .72, .25, 1);
}

body.home .hero__features.has-roll-animation li:nth-child(2) b,
body.home .hero__features.has-roll-animation li:nth-child(3) b {
  transform: rotate(420deg);
}

body.home .hero__features.has-roll-animation.is-arrived li {
  opacity: 1;
  transform: translateX(0);
}

body.home .hero__features.has-roll-animation.is-arrived li b {
  transform: rotate(0);
}

@media (max-width: 767px) {
  body.home .hero__features.has-roll-animation li {
    transform: translateX(-45px);
  }

  body.home .hero__features.has-roll-animation li:nth-child(2) {
    transform: translateY(-32px);
  }

  body.home .hero__features.has-roll-animation li:nth-child(3) {
    transform: translateX(45px);
  }

  body.home .hero__features.has-roll-animation.is-arrived li {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero__features li,
  body.home .hero__features li b {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
