/* ==========================================================================
   Page: Jobs (仕事を知る)
   ========================================================================== */

:root {
    --jobs-coral: #fc7a62;
    --jobs-coral-soft: #fff4f1;
    --jobs-blue: #4875be;
    --jobs-teal: #36b7c4;
    --jobs-yellow: #e8b500;
    --jobs-text: #5a4e4e;
    --jobs-muted: #5a4e4e;
    --jobs-border: #eaded9;
    --jobs-section-rule: repeating-linear-gradient(
        to right,
        #d8c8c7 0 2px,
        transparent 2px 4px
    );
    --jobs-bg-soft: #fdf6f4;
}

.site-main--jobs {
    background-color: #fff;
}

/* ---------- Hero ---------- */
.page-hero--jobs .page-hero__collage-photo--1,
.page-hero--jobs .page-hero__collage-photo--2 {
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transform: none;
}

.page-hero--jobs .page-hero__collage-photo--1 {
    top: 0;
    right: 34%;
    width: 343px;
    height: 250px;
}

.page-hero--jobs .page-hero__collage-photo--2 {
    top: 137px;
    right: 2%;
    width: 356px;
    height: 274px;
}

.page-hero--jobs .page-hero__collage-photo--1 img,
.page-hero--jobs .page-hero__collage-photo--2 img {
    object-fit: contain;
    object-position: center;
}

/* ---------- Intro ---------- */

.jobs-intro {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding: 5rem 4rem 2.5rem;
    background-color: #fff;
    border-radius: 40px 40px 0 0;
}

.jobs-intro__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: end;
    gap: 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.jobs-intro__heading {
    margin: 0 0 1.25rem;
    color: var(--jobs-text);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.jobs-intro__description p {
    margin: 0 0 0.6rem;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 2;
}

.jobs-intro__description p:last-child {
    margin-bottom: 0;
}

.jobs-intro__visual {
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobs-intro__visual img {
    display: block;
    width: min(100%, 320px);
    height: auto;
}

.jobs-page-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 3rem auto 0;
}

.jobs-page-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
    padding: 0.7rem 0.8rem 0.7rem 2rem;
    color: var(--jobs-text);
    background-color: var(--jobs-bg-soft);
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
}

.jobs-page-nav__arrow,
.jobs-schedule-nav__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

.jobs-page-nav__item--coral .jobs-page-nav__arrow,
.jobs-schedule-nav__item--coral .jobs-schedule-nav__arrow {
    background-color: var(--jobs-coral);
}

.jobs-page-nav__item--blue .jobs-page-nav__arrow,
.jobs-schedule-nav__item--blue .jobs-schedule-nav__arrow {
    background-color: var(--jobs-blue);
}

.jobs-page-nav__item--teal .jobs-page-nav__arrow {
    background-color: var(--jobs-teal);
}

.jobs-schedule-nav__item--teal .jobs-schedule-nav__arrow {
    background-color: var(--jobs-teal);
}

/* ---------- Shared section heading ---------- */

.jobs-section-heading {
    max-width: 1280px;
    margin: 0 auto 2.75rem;
}

.jobs-section-heading--center {
    text-align: center;
}

.jobs-section-heading__label {
    display: block;
    color: #d8c9c6;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.jobs-section-heading--line {
    --jobs-heading-line-color: var(--jobs-coral);
}

.jobs-section-heading--line .jobs-section-heading__label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jobs-section-heading--line .jobs-section-heading__label::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 2px;
    background-color: var(--jobs-heading-line-color);
}

.jobs-section-heading__plus {
    display: block;
    color: var(--jobs-coral);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.jobs-section-heading__title {
    margin: 0;
    color: var(--jobs-text);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.jobs-section-heading__title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---------- Positions ---------- */

.jobs-positions {
    padding: 5.25rem 0 0;
    background-color: #fff;
}

.jobs-positions .jobs-section-heading {
    margin-bottom: 36.8px;
}

.jobs-positions .jobs-section-heading__label {
    line-height: 16px;
    margin-bottom: 6px;
}

.jobs-positions .jobs-section-heading__plus {
    margin-bottom: 10px;
}

.jobs-position-list {
    display: grid;
}

.jobs-position {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 625px));
    align-items: center;
    gap: 30px;
    height: 577px;
    min-height: 577px;
    padding: 80px max(4rem, calc((100% - 1280px) / 2 + 0rem));
}

.jobs-position:nth-child(odd) {
    background-color: var(--jobs-bg-soft);
}

.jobs-position:nth-child(even) {
    background-color: #fff;
}

.jobs-position__body {
    width: min(100%, 592px);
}

.jobs-position__title-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.75rem;
}

.jobs-position__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* Anchor the whole block so its top padding also keeps images clear of the header. */
.jobs-position[id] {
    scroll-margin-top: 88px;
}

.jobs-position__title-suffix {
    color: #5a4e4e;
}

.jobs-position__title--normal {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.jobs-position__title.jobs-position--normal {
    color: #5a4e4e;
}

.jobs-position--coral {
    --jobs-accent: var(--jobs-coral);
    color: var(--jobs-coral);
}

.jobs-position--blue {
    --jobs-accent: var(--jobs-blue);
    color: var(--jobs-blue);
}

.jobs-position--teal {
    --jobs-accent: var(--jobs-teal);
    color: var(--jobs-teal);
}

.jobs-position__text {
    margin: 0 0 1.5rem;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 2;
}

.jobs-position__text:last-child {
    margin-bottom: 0;
}

.jobs-position__divider {
    width: 100%;
    height: 1px;
    margin: 1.6rem 0;
    background-image: linear-gradient(to right, var(--jobs-border) 50%, transparent 50%);
    background-size: 6px 1px;
}

.jobs-position__subhead {
    margin: 0 0 0.9rem;
    color: #5a4e4e;
    font-size: 1rem;
    font-weight: 400;
}

.jobs-position__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.jobs-position__tags li {
    padding: 0.45rem 0.8rem;
    color: #fff;
    background-color: var(--jobs-accent);
    border-radius: 4px;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.jobs-position__image {
    overflow: hidden;
    border-radius: 4px;
}

.jobs-position__image img {
    display: block;
    width: 100%;
    height: 417px;
    object-fit: cover;
}

/* ---------- Schedule ---------- */

.jobs-schedule {
    padding: 100px 4rem 40px;
    background-color: #fff;
}

.jobs-schedule__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.jobs-schedule-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 844px;
}

.jobs-schedule-nav__item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 66px;
    padding: 0.7rem 0.8rem 0.7rem 2rem;
    color: var(--jobs-text);
    background-color: var(--jobs-bg-soft);
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
}

.jobs-schedule .jobs-section-heading,
.jobs-faq .jobs-section-heading {
    margin-bottom: 37px;
}

.jobs-schedule .jobs-section-heading__label,
.jobs-faq .jobs-section-heading__label {
    line-height: 16px;
    margin-bottom: 12px;
}

.jobs-schedule .jobs-section-heading__title,
.jobs-faq .jobs-section-heading__title {
    font-size: 1.25rem;
    line-height: 32px;
}

.jobs-divider {
    height: 1px;
    margin-top: 60px;
    margin-bottom: 61px;
    background-image: var(--jobs-section-rule);
}

.jobs-divider--section-end {
    margin: 60px 0 0;
}

.jobs-schedule-block {
    position: relative;
    padding-bottom: 60px;
    margin-bottom: 62px;
}

.jobs-schedule-block:not(.jobs-schedule-block--last)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background-image: var(--jobs-section-rule);
}

.jobs-schedule-block--last {
    padding-bottom: 0;
    margin-bottom: 0;
}

.jobs-schedule-block__title {
    margin: 0 0 39px;
    color: currentColor;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.jobs-schedule-block--coral {
    --jobs-accent: var(--jobs-coral);
    color: var(--jobs-coral);
}

.jobs-schedule-block--blue {
    --jobs-accent: var(--jobs-blue);
    color: var(--jobs-blue);
}

.jobs-schedule-block--teal {
    --jobs-accent: var(--jobs-teal);
    color: var(--jobs-teal);
}

.jobs-schedule-block--teal .jobs-schedule-block__title {
    font-size: 1.5rem;
}

.jobs-schedule-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 625fr) minmax(340px, 594fr);
    gap: 60px;
    align-items: start;
}

.jobs-schedule-block__media img {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 4px;
}

.jobs-schedule-slider {
    --jobs-slide-index: 0;
}

.jobs-schedule-slider__viewport {
    overflow: hidden;
    border-radius: 4px;
    touch-action: pan-y;
}

.jobs-schedule-slider__viewport:focus-visible {
    outline: 3px solid var(--jobs-accent);
    outline-offset: 4px;
}

.jobs-schedule-slider__track {
    display: flex;
    transform: translate3d(calc(var(--jobs-slide-index) * -100%), 0, 0);
    transition: transform 0.35s ease;
    will-change: transform;
}

.jobs-schedule-slider__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.jobs-schedule-slider__slide img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.jobs-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
}

.jobs-slider-dots span,
.jobs-slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background-color: #d8cbc6;
}

.jobs-slider-dots button {
    cursor: pointer;
}

.jobs-slider-dots button:focus-visible {
    outline: 2px solid var(--jobs-accent);
    outline-offset: 3px;
}

.jobs-slider-dots span.is-active,
.jobs-slider-dots button.is-active {
    background-color: var(--jobs-coral);
}

@media (prefers-reduced-motion: reduce) {
    .jobs-schedule-slider__track {
        transition: none;
    }
}

.jobs-timeline-card__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin: 0 0 1.5rem;
    padding: 0;
    color: #fff;
    background-color: var(--jobs-accent);
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
}

.jobs-timeline {
    position: relative;
    display: grid;
    gap: 22.4px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #5a4e4e;
}

.jobs-timeline::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 0.75rem;
    left: 87px;
    width: 4px;
    background-color: #fdf6f4;
}

.jobs-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 4rem 1rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 1.6;
}

.jobs-timeline li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 85px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.jobs-schedule-block--coral .jobs-timeline li::before {
    background-color: #ffa38d;
}

.jobs-schedule-block--blue .jobs-timeline li::before {
    background-color: #79a0e0;
}

.jobs-timeline time {
    grid-column: 1;
    color: var(--jobs-accent);
    font-family: monospace;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.jobs-timeline li span {
    grid-column: 3;
}

.jobs-timeline-card__note {
    margin: 2rem 0 0;
    padding: 20px;
    color: #5a4e4e;
    background-color: var(--jobs-bg-soft);
    font-size: 1rem;
    line-height: 1.8;
}

.jobs-work-list {
    display: grid;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 1.8;
}

.jobs-work-list li {
    position: relative;
    padding-left: 1.15rem;
}

.jobs-work-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background-color: var(--jobs-accent);
}

/* ---------- FAQ ---------- */

.jobs-faq {
    padding: 60px 4rem 80px;
    background-color: #fff;
}

.jobs-faq__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.jobs-faq__inner .jobs-section-heading__title {
    font-size: 1.25rem;
}

.jobs-faq-list {
    max-width: 1060px;
    margin: 0 auto;
}

.jobs-faq-item {
    margin-bottom: 20px;
}

@media (min-width: 769px) {
    .jobs-faq {
        padding-bottom: 100px;
    }

    .jobs-faq-item:last-child {
        margin-bottom: 0;
    }
}

.jobs-faq-item__question {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 32px;
    align-items: center;
    gap: 0.75rem;
    min-height: 66px;
    margin: 0;
    padding: 0.75rem 0.9rem;
    color: var(--jobs-text);
    background-color: var(--jobs-bg-soft);
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}

.jobs-faq-item__question::-webkit-details-marker {
    display: none;
}

.jobs-faq-item__mark {
    color: var(--jobs-coral);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.jobs-faq-item__question-text {
    color: var(--jobs-text);
}

.jobs-faq-item__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    color: #fff;
    background-color: var(--jobs-coral);
    font: inherit;
    font-size: 1.25rem;
    line-height: 1;
}

.jobs-faq-item__toggle::before {
    content: "+";
}

.jobs-faq-item[open] .jobs-faq-item__toggle::before {
    content: "-";
}

.jobs-faq-item__answer {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.75rem;
    margin: 1rem 0 40px;
    padding: 0 0.9rem;
    color: #5a4e4e;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 2;
}

/* ---------- Related links ---------- */

.jobs-related {
    padding: 0 4rem;
    background-color: #ffffff;
}

.jobs-related__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.jobs-related__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.jobs-related-card {
    position: relative;
    display: grid;
    gap: 0.8rem;
    min-height: 150px;
    padding: 1.5rem;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.jobs-related-card--coral {
    background-color: var(--jobs-coral);
}

.jobs-related-card--blue {
    background-color: var(--jobs-blue);
}

.jobs-related-card--teal {
    background-color: var(--jobs-teal);
}

.jobs-related-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.jobs-related-card strong {
    align-self: center;
    font-size: 1.125rem;
    line-height: 1.5;
}

.jobs-related-card__arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Voice ---------- */

.jobs-voice {
    position: relative;
    overflow: visible;
    margin-top: 80px;
    padding: 80px 4rem 5rem;
    background-color: #ffa38d;
}

.jobs-voice__wave {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("../images/jobs/jobs-voice-wave.svg") center / 100% 100% no-repeat;
}

.jobs-voice__inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.jobs-section-heading--voice {
    --jobs-heading-line-color: #fff;
    position: relative;
    margin-bottom: 36px;
    color: #fff;
}

.jobs-section-heading--voice .jobs-section-heading__label {
    line-height: 16px;
    margin-bottom: 12px;
}

.jobs-section-heading--voice .jobs-section-heading__title {
    font-size: 1.25rem;
    line-height: 32px;
}

.jobs-section-heading--voice .jobs-section-heading__label,
.jobs-section-heading--voice .jobs-section-heading__title {
    color: #fff;
}

.jobs-voice__illustration {
    position: absolute;
    top: -0.5rem;
    right: 40px;
    width: 215px;
    height: auto;
}

.jobs-voice-list {
    display: grid;
    gap: 40px;
}

.jobs-voice-card {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(260px, 457px) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    width: min(1171px, 100%);
    min-height: 520px;
    padding: 60px 55px;
    background-color: #fff;
    border-radius: 8px;
}

.jobs-voice-card:nth-child(odd) {
    margin-right: auto;
}

.jobs-voice-card:nth-child(even) {
    margin-left: auto;
}

.jobs-voice-card__image {
    overflow: hidden;
    border-radius: 4px;
}

.jobs-voice-card__image img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.jobs-voice-card__meta {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: min(554px, 100%);
    height: 64px;
    margin-bottom: 30px;
    padding: 0 20px 0 40px;
    background-color: var(--jobs-bg-soft);
    border-radius: 4px;
    color: #5a4e4e;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
}

.jobs-voice-card__meta img {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: 18px;
    object-fit: contain;
}

.jobs-voice-card__meta span {
    flex: 0 0 58px;
    color: #d7c9c5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.jobs-voice-card__meta strong {
    flex: 0 0 144px;
    margin-left: 20px;
    color: currentColor;
    font-size: 1.125rem;
    font-weight: 500;
    white-space: nowrap;
}

.jobs-voice-card__meta em {
    margin-left: 20px;
    padding-left: 19px;
    border-left: 1px dashed #d8cbc6;
    font-style: normal;
    white-space: nowrap;
}

.jobs-voice-card:nth-child(1) .jobs-voice-card__meta strong {
    color: var(--jobs-coral);
}

.jobs-voice-card:nth-child(2) .jobs-voice-card__meta strong {
    color: var(--jobs-blue);
}

.jobs-voice-card:nth-child(3) .jobs-voice-card__meta strong {
    color: var(--jobs-teal);
}

.jobs-voice-card__body p {
    max-width: 554px;
    margin: 0 0 1.2rem;
    color: #5a4e4e;
    font-size: 1rem;
    line-height: 2;
}

.jobs-voice-card__body p:last-child {
    margin-bottom: 0;
}

.jobs-voice__button {
    display: grid;
    margin: 40px auto 0;
    color: var(--jobs-coral);
}

/* Override the v2 section background (breadcrumb variant) on Jobs page */
.footer-banner.footer-banner--v2.footer-banner--jobs {
    background-color: #ffa38d;
}

.footer-banner.footer-banner--v2.footer-banner--jobs .footer-banner__bottom {
    border-radius: 0;
}
/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
    /* Keep the photo and copy flexible before switching to a single column. */
    .jobs-voice-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-voice-card__meta {
        display: grid;
        grid-template-columns: 20px auto minmax(0, 1fr);
        grid-template-rows: 24px 24px;
        width: min(287px, 100%);
        height: 84px;
        min-height: 84px;
        column-gap: 8px;
        row-gap: 4px;
        padding: 16px 20px;
    }

    .jobs-voice-card__meta img {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        width: 20px;
        height: 20px;
        margin-right: 0;
        object-fit: contain;
    }

    .jobs-voice-card__meta span {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        line-height: 24px;
    }

    .jobs-voice-card__meta strong {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        margin-left: 0;
        font-size: 16px;
        line-height: 24px;
        text-align: right;
    }

    .jobs-voice-card__meta em {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
        justify-self: end;
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        font-size: 16px;
        line-height: 24px;
        text-align: right;
    }
}

@media (max-width: 1100px) {
    .page-hero--jobs .page-hero__collage-photo--1 {
        right: 28%;
        width: 250px;
        height: 150px;
    }

    .page-hero--jobs .page-hero__collage-photo--2 {
        width: 245px;
        height: 165px;
    }

    .jobs-position {
        padding-left: 4rem;
        padding-right: 4rem;
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .jobs-intro,
    .jobs-schedule,
    .jobs-faq,
    .jobs-related,
    .jobs-voice {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .jobs-intro__inner,
    .jobs-position,
    .jobs-schedule-block__grid,
    .jobs-related__cards,
    .jobs-voice-card {
        grid-template-columns: 1fr;
    }

    .jobs-intro__inner {
        gap: 2rem;
    }

    .jobs-position {
        height: auto;
        min-height: 0;
        padding: 3rem 2rem 4rem;
    }

    .jobs-position__image {
        order: -1;
    }

    .jobs-schedule-block__grid,
    .jobs-voice-card {
        gap: 2rem;
    }

    .jobs-voice-card {
        width: 100%;
        min-height: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .jobs-voice__illustration {
        position: static;
        display: block;
        margin: -1rem 0 1.5rem auto;
        width: 150px;
    }
}

@media (max-width: 768px) {
    .jobs-section-heading__title {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .jobs-position__title,
    .jobs-position__title--normal,
    .jobs-position__title.jobs-position--normal,
    .jobs-schedule-block--teal .jobs-schedule-block__title {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .jobs-schedule-block__title {
        font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    }

    .jobs-faq-item__question-text,
    .jobs-faq-item__answer {
        font-size: clamp(0.9375rem, 2vw, 1rem);
    }

    .page-hero--jobs .page-hero__collage {
        width: 65%;
    }

    .page-hero--jobs .page-hero__collage-photo--1 {
        top: 12%;
        right: 22%;
        width: 210px;
        height: 125px;
    }

    .page-hero--jobs .page-hero__collage-photo--2 {
        top: 42%;
        right: 3%;
        width: 205px;
        height: 135px;
    }

    .jobs-intro {
        padding-top: 64px;
        padding-bottom: 24px;
        border-radius: 24px 24px 0 0;
    }

    .jobs-intro__inner {
        gap: 48px;
    }

    body.page-template-page-jobs-php .jobs-intro__heading {
        font-size: 1rem;
        line-height: 1.6;
    }

    .jobs-intro__visual {
        min-height: 0;
    }

    .jobs-intro__visual img {
        width: min(100%, 250px);
    }

    .jobs-page-nav,
    .jobs-schedule-nav {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .jobs-page-nav {
        margin-top: 32px;
    }

    .jobs-positions,
    .jobs-schedule,
    .jobs-faq,
    .jobs-related {
        padding-top: 4rem;
    }

    .jobs-positions {
        padding-top: 39px;
    }

    .jobs-section-heading--center {
        margin: 0 auto 1.5rem;
        text-align: left;
    }

    .jobs-positions .jobs-section-heading__label {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }

    body .jobs-positions .jobs-section-heading__plus {
        display: inline-block;
        margin: 0 0 0 8px;
        vertical-align: middle;
    }

    .jobs-positions .jobs-section-heading__title {
        margin-top: 10px;
    }

    body.page-template-page-jobs .jobs-positions {
        padding-right: 0;
        padding-left: 0;
    }

    .jobs-positions .jobs-section-heading {
        margin-bottom: 24px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .jobs-position {
        gap: 1.5rem;
        height: auto;
        min-height: 0;
        padding: 2rem 1.5rem;
    }

    .jobs-position__title-row {
        margin-bottom: 1rem;
    }

    .jobs-schedule-block {
        padding-bottom: 3rem;
        margin-bottom: 3rem;
    }

    .jobs-schedule-block--last {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .jobs-schedule-block__title {
        margin: 0 0 1.5rem;
    }

    .jobs-position__image img,
    .jobs-schedule-block__media > img {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .jobs-divider {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .jobs-timeline {
        gap: 0.75rem;
    }

    .jobs-timeline-card__note {
        padding: 1rem 1.25rem;
    }

    .jobs-voice-card {
        gap: 24px;
        padding: 20px;
    }

    .jobs-voice-card__image img {
        height: 316px;
    }

    .jobs-voice {
        margin-top: 32px;
    }

    .jobs-voice__wave {
        top: -32px;
        height: 32px;
    }
}

@media (max-width: 540px) {
    .page-hero--jobs .page-hero__collage {
        opacity: 0.55;
    }

    .jobs-intro,
    .jobs-schedule,
    .jobs-faq,
    .jobs-related,
    .jobs-voice {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .jobs-position {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .jobs-page-nav__item,
    .jobs-schedule-nav__item {
        box-sizing: border-box;
        height: 66px;
        min-height: 66px;
        padding-left: 1rem;
    }

    body.page-template-page-jobs-php .jobs-positions {
        padding-right: 0;
        padding-left: 0;
    }

    body.page-template-page-jobs-php .jobs-position__body {
        width: 100%;
    }

    .jobs-timeline::before {
        left: 87px;
    }

    .jobs-timeline li {
        grid-template-columns: 3.6rem 1rem minmax(0, 1fr);
    }

    .jobs-faq-item__question {
        grid-template-columns: 1.25rem minmax(0, 1fr) 28px;
    }

    .jobs-faq-item__answer {
        grid-template-columns: 1.25rem minmax(0, 1fr);
    }
}
