/* P11: formal PC p1–3 / formal SP p4. Shared choices and behavior remain integrator-owned. */
.page-recruit-schedule main .schedule-heading {
  width: min(1250.551px, calc(100% - 64px));
  margin: 0 0 0 max(32px, calc((100vw - 1250.551px) / 2));
  padding: 71px 24px 18px;
  border-radius: 44px 44px 0 0;
  text-align: center;
  background: url('../../images/subpages-1005/pattern-left.svg') left center / 225px auto no-repeat,
              url('../../images/subpages-1005/pattern-right-complete.svg') right center / 225px auto no-repeat;
  background-color: #fff;
}
.page-recruit-schedule main .schedule-heading__english {
  display: block;
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: .025em;
}
.page-recruit-schedule main .schedule-heading__japanese {
  display: block;
  margin-top: 14px;
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: .08em;
}
.page-recruit-schedule main .schedule-panel {
  position: relative;
  width: min(1250.551px, calc(100% - 64px));
  margin: 0 0 0 max(32px, calc((100vw - 1250.551px) / 2));
  padding: 80px 32px 180px;
  border-radius: 0 0 44px 44px;
  background: #fff;
  scroll-margin-top: 24px;
}
.page-recruit-schedule main .schedule-panel:not([hidden]) ~ .schedule-panel:not([hidden]) { margin-top: 60px; }
.page-recruit-schedule main .schedule-panel > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.page-recruit-schedule main .schedule-panel:focus-visible { outline: 3px solid #006e66; outline-offset: -6px; }
.page-recruit-schedule main .schedule-content {
  position: relative;
  width: min(610px, 100%);
  margin-inline: auto;
  
  font-weight: 500;
}
.page-recruit-schedule main .schedule-timeline { list-style: none; padding: 0; margin: 0; }
.page-recruit-schedule main .schedule-entry {
  display: grid;
  grid-template-columns: minmax(76px, max-content) minmax(0, 1fr);
  gap: 28px;
  padding: 44px 36px 46px 22px;
  border-top: 1px solid #8f8d89;
}
.page-recruit-schedule main .schedule-entry:last-child { border-bottom: 1px solid #8f8d89; }
.page-recruit-schedule main .schedule-entry__time {
  
  font-weight: 700;
  text-align: right;
  font-size: 1.375rem;
  line-height: 1.65;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.page-recruit-schedule main .schedule-entry__body { min-width: 0; }
.page-recruit-schedule main .schedule-entry__title {
  
  font-weight: 700;
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.page-recruit-schedule main .schedule-entry__description {
  
  font-weight: 500;
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: .04em;
}
@media (max-width: 767px) {
  .page-recruit-schedule main .schedule-heading {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0 70px;
    background-size: 80px auto;
  }
  .page-recruit-schedule main .schedule-heading__english {
    max-width: 8em;
    margin-inline: auto;
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .page-recruit-schedule main .schedule-heading__japanese {
    width: max-content;
    max-width: calc(100vw - 40px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 18px;
    font-size: 1rem;
    letter-spacing: var(--tracking-body);
  }
  .page-recruit-schedule main .schedule-panel {
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 8px 14px 84px;
    border-radius: 22px;
  }
  .page-recruit-schedule main .schedule-panel:not([hidden]) ~ .schedule-panel:not([hidden]) { margin-top: 40px; }
  .page-recruit-schedule main .schedule-entry {
    grid-template-columns: 2.5em minmax(0, 1fr);
    gap: 24px;
    padding: 46px 22px;
  }
  .page-recruit-schedule main .schedule-entry:first-child { border-top: 0; }
  .page-recruit-schedule main .schedule-entry:last-child { border-bottom: 0; padding-bottom: 0; }
  .page-recruit-schedule main .schedule-entry__time { font-size: 1rem; text-align: left; line-height: 1.8; }
  .page-recruit-schedule main .schedule-entry__title { font-size: 1rem; line-height: 1.8; }
  .page-recruit-schedule main .schedule-entry__description { font-size: .875rem; line-height: 1.65; margin-top: 6px; letter-spacing: .02em; }
}
@media (max-width: 374px) {
  .page-recruit-schedule main .schedule-entry { padding-inline: 10px; gap: 16px; }
}

/* Intact supplied artwork: two placements of the same SVG, never separate paths.
   The viewport-wide wrapper moves as one parallax layer; white panels and content keep their geometry.
   Narrow layouts retain the existing no-large-side-art treatment. */
.page-recruit-schedule main .schedule-decoration { display: none; }
@media (min-width: 1201px) {
  .page-recruit-schedule main .schedule-decoration {
    --schedule-art-width: min(484px, calc((100vw - 920px) * .93));
    display: block;
    position: absolute;
    top: 4px;
    left: calc(-1 * max(32px, calc((100vw - 1250.551px) / 2)));
    width: 100vw;
    height: calc(587.5px + var(--schedule-art-width) * .8180214);
    pointer-events: none;
    z-index: 0;
  }
  .page-recruit-schedule main .schedule-decoration__image {
    position: absolute;
    display: block;
    width: var(--schedule-art-width);
    max-width: none;
    height: auto;
    pointer-events: none;
  }
  .page-recruit-schedule main .schedule-decoration__image--left {
    left: calc(var(--schedule-art-width) * -.372);
    top: 587.5px;
  }
  .page-recruit-schedule main .schedule-decoration__image--right {
    right: calc(var(--schedule-art-width) * -.2686);
    top: 0;
  }
  .page-recruit-schedule main .schedule-content { z-index: 1; }
}
@media (max-width: 767px) {
  .page-recruit-schedule main .schedule-heading__word { display: block; }
  .page-recruit-schedule main .schedule-desktop-break { display: none; }
}

/* Keep the shared person selector aligned with this page’s white panel. */
@media (min-width: 768px) {
  .page-recruit-schedule main .recruit-choices {
    margin-inline: auto;
  }
}

/* Decoration paint area is independent of heading text height. Whole layers
   translate; backgrounds no longer slide through a short text rectangle. */
.page-recruit-schedule main .schedule-heading { position: relative; isolation: isolate; background-image: none; }
.page-recruit-schedule main .schedule-heading::before {
 content: ''; position: absolute; z-index: -1; pointer-events: none;
 left: 0; right: 0; top: 50%; height: 218px; margin-top: -109px;
 background: url('../../images/subpages-1005/pattern-left.svg') left center / 225px auto no-repeat, url('../../images/subpages-1005/pattern-right-complete.svg') right center / 225px auto no-repeat;
 translate: 0 var(--parallax-y, 0px);
}
@media(max-width:767px){
 .page-recruit-schedule main .schedule-heading::before { height: 80px; margin-top: -40px; background-size:80px auto; }
}
@media(prefers-reduced-motion:reduce){ .page-recruit-schedule main .schedule-heading::before { translate:none; } }
