/* Individual translate affects decorative artwork only; original transform/crop stays intact. */
[data-yuho-parallax] { translate: var(--parallax-x, 0px) var(--parallax-y, 0px); }
[data-yuho-reveal] { transition: opacity .55s ease; }
[data-yuho-reveal].yuho-reveal-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  [data-yuho-parallax] { translate: none; }
  [data-yuho-reveal] { opacity:1!important; transition:none; }
}
@media print { [data-yuho-reveal] { opacity:1!important; } [data-yuho-parallax] { translate:none; } }

/* 11/4 editorial updates: natural text height and restrained local adjustments. */
.page-top .work-carousel [data-carousel-toggle], .page-top .work-carousel [data-carousel-count] { display:none; }
.page-top .work-carousel { position:relative; }
.page-top .work-carousel .carousel-controls { position:absolute; inset:50% 8px auto; justify-content:space-between; margin:0; pointer-events:none; }
.page-top .work-carousel .carousel-controls button { pointer-events:auto; }
.page-top .top-work-heading { position:relative; z-index:3; }
@media(min-width:768px){ .page-top .top-work-heading p { width:28em; max-width:100%; } .page-top .work__shape--blue { left:calc(50% + 40px); } }
.page-work-bakery .job-story, .page-work-cafe .job-story { height:auto; }
.page-facilities .facilities-card--yumigahama .facilities-card__photo { width:100%; height:100%; left:0; top:0; object-fit:cover; }
.yuho-heading-supplement { font-size:70%; }

@media(min-width:768px){ .top-work-copy-line { display:block; } }

/* 4-2: isolated artwork motion; content and its layout remain stationary. */
[data-yuho-parallax-pseudo]::before,
[data-yuho-parallax-pseudo]::after {
  translate: 0 var(--parallax-y, 0px);
}
@media (prefers-reduced-motion: reduce) {
  [data-yuho-parallax-pseudo]::before,
  [data-yuho-parallax-pseudo]::after { translate: none; }
}
@media print {
  [data-yuho-parallax-pseudo]::before,
  [data-yuho-parallax-pseudo]::after { translate: none; }
}

/* Existing schedule title artwork remains a background, including on small screens. */
.page-recruit-schedule main .schedule-heading[data-yuho-parallax-background] {
  background-position: left calc(50% + var(--parallax-y, 0px)), right calc(50% + var(--parallax-y, 0px));
}
@media (prefers-reduced-motion: reduce), print {
  .page-recruit-schedule main .schedule-heading[data-yuho-parallax-background] {
    background-position: left center, right center;
  }
}

