/* ==========================================================================
   Page: Recruitment Detail
   ========================================================================== */

.site-main--recruitment-detail {
    --recruitment-coral: #fc7a62;
    --recruitment-blue: #4875be;
    --recruitment-teal: #35b8c0;
    --recruitment-bg-soft: #fdf6f4;
    --recruitment-border: #eaded9;
    --recruitment-text: #4b4141;
    --recruitment-muted: #666;
    background-color: #fff;
}

.page-hero--recruitment-detail {
    min-height: 235px;
    justify-content: center;
}

.page-hero--recruitment-detail .page-hero__inner {
    text-align: center;
    padding-bottom: 2.5rem;
}

.page-hero--recruitment-detail .page-hero__title {
    margin: 0;
}

.page-hero--recruitment-detail .page-hero__collage {
    display: none;
}

.recruitment-detail-hero__tags {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.recruitment-detail-hero__tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    color: #6c5f5d;
    background-color: #fff;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

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

.recruitment-detail-intro__inner,
.recruitment-detail-attractions__inner,
.recruitment-detail-table-section__inner,
.recruitment-detail-location__inner,
.recruitment-detail-flow__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.recruitment-detail-intro__title {
    margin: 0 0 1.5rem;
    color: var(--recruitment-text);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8;
}

.recruitment-detail-intro__title span {
    display: block;
}

.recruitment-detail-intro__body {
    max-width: 760px;
}

.recruitment-detail-intro__body p {
    margin: 0 0 0.6rem;
    color: #444;
    font-size: 0.875rem;
    line-height: 2;
}

.recruitment-detail-attractions {
    padding: 4.5rem 4rem;
    background-color: var(--recruitment-bg-soft);
}

.recruitment-detail-section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
}

.recruitment-detail-section-heading--center {
    justify-content: center;
}

.recruitment-detail-section-heading--stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.recruitment-detail-section-heading__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.recruitment-detail-section-heading__label {
    color: #ddc3bc;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    line-height: 1;
}

.recruitment-detail-section-heading__plus {
    color: var(--recruitment-coral);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.recruitment-detail-section-heading__title {
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--recruitment-text);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.6;
}

.recruitment-detail-section-heading__accent {
    color: var(--recruitment-coral);
}

.recruitment-detail-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.recruitment-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.25rem 1.5rem 2rem;
    min-height: 360px;
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
}

.recruitment-detail-card__icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background-color: var(--recruitment-bg-soft);
}

.recruitment-detail-card__icon img {
    display: block;
    width: auto;
    height: 58px;
}

.recruitment-detail-card__title {
    margin: 0;
    color: var(--recruitment-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8;
}

.recruitment-detail-card__title span {
    display: block;
}

.recruitment-detail-card__dots {
    display: block;
    margin: 0.5rem 0 1rem;
    color: var(--recruitment-coral);
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.15em;
}

.recruitment-detail-card__body {
    color: #444;
    font-size: 0.875rem;
    line-height: 1.9;
    text-align: left;
}

.recruitment-detail-card__body p {
    margin: 0 0 0.6rem;
}

.recruitment-detail-card__body p:last-child {
    margin-bottom: 0;
}

.recruitment-detail-table-section {
    padding: 5rem 4rem 4.5rem;
    background-color: #fff;
}

.recruitment-detail-table {
    max-width: 780px;
    margin: 0 auto;
    padding: 0;
    border: 1px solid rgba(252, 122, 98, 0.65);
    border-radius: 8px;
    overflow: hidden;
}

.recruitment-detail-table__row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.25rem 2rem;
}

.recruitment-detail-table__row {
    position: relative;
}

.recruitment-detail-table__row + .recruitment-detail-table__row {
    border-top: 0;
}

.recruitment-detail-table__row + .recruitment-detail-table__row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2rem;   /* controls inset */
    right: 2rem;  /* controls inset */
    border-top: 1px dashed rgba(252, 122, 98, 0.4);
    pointer-events: none;
}

.recruitment-detail-table__label {
    color: var(--recruitment-text);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.8;
}

.recruitment-detail-table__content {
    margin: 0;
    color: #444;
    font-size: 0.875rem;
    line-height: 2;
}

.recruitment-detail-table__content p {
    margin: 0 0 0.35rem;
}

.recruitment-detail-table__content ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}

.recruitment-detail-table__content li {
    margin: 0.1rem 0;
}

.recruitment-detail-location {
    padding: 4rem 4rem 5rem;
    background-color: #fff;
}

.recruitment-detail-location__inner {
    text-align: center;
}

.recruitment-detail-location__title {
    margin: 0 0 2rem;
    color: var(--recruitment-text);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.7;
}

.recruitment-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-inline: 5.5rem;
}

.recruitment-detail-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.recruitment-detail-gallery__item img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.recruitment-detail-location__body {
    max-width: 920px;
    margin: 1.5rem auto 0;
    color: #444;
    font-size: 0.875rem;
    line-height: 2;
    text-align: left;
}

.recruitment-detail-location__body p {
    margin: 0 0 0.35rem;
}

.recruitment-detail-location__cta {
    display: flex;
    width: max-content;
    margin: 2rem auto 0;
}

.recruitment-detail-flow {
    padding: 5rem 4rem 6rem;
    background-color: #fff;
}

.recruitment-detail-flow__list {
    display: grid;
    gap: 0.9rem;
}

.recruitment-detail-flow__item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    min-height: 58px;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    background-color: var(--recruitment-bg-soft);
    border-radius: 6px;
}

.recruitment-detail-flow__step {
    color: var(--recruitment-coral);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.recruitment-detail-flow__title {
    margin: 0;
    color: var(--recruitment-text);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.7;
}

.recruitment-detail-flow__arrow {
    display: block;
    width: 0;
    height: 0;
    justify-self: start;
    margin-left: 2rem;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--recruitment-coral);
}

.recruitment-detail-entry {
    position: relative;
    overflow: hidden;
    padding: 8rem 4rem 4.5rem;
    background-color: var(--recruitment-bg-soft);
}

.recruitment-detail-entry__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 105px;
    background-color: #fff;
    clip-path: ellipse(72% 55% at 50% 0%);
}

.recruitment-detail-entry__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.recruitment-detail-entry__logo {
    display: block;
    width: 74px;
    height: auto;
    margin-bottom: 1.5rem;
}

.recruitment-detail-entry__text p {
    margin: 0 0 1.5rem;
    color: var(--recruitment-text);
    font-size: 0.875rem;
    line-height: 2;
}

.recruitment-detail-entry__button {
    display: flex;
    width: max-content;
    margin-top: 1rem;
}

.recruitment-detail-entry__photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.recruitment-detail-entry__photo {
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.recruitment-detail-entry__photo img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.footer-banner.footer-banner--v2.footer-banner--recruitment {
    background-color: #fdf6f4;
}

.footer-banner.footer-banner--v2.footer-banner--recruitment .footer-banner__bottom {
    background-color: #fc9a86;
    border-radius: 0;
}

@media (max-width: 1024px) {
    .recruitment-detail-intro,
    .recruitment-detail-attractions,
    .recruitment-detail-table-section,
    .recruitment-detail-location,
    .recruitment-detail-flow,
    .recruitment-detail-entry {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .recruitment-detail-cards {
        grid-template-columns: 1fr;
    }

    .recruitment-detail-gallery {
        grid-template-columns: 1fr;
    }

    .recruitment-detail-entry__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero--recruitment-detail {
        min-height: 200px;
    }

    .recruitment-detail-intro {
        border-radius: 24px 24px 0 0;
    }

    .recruitment-detail-intro,
    .recruitment-detail-attractions,
    .recruitment-detail-table-section,
    .recruitment-detail-location,
    .recruitment-detail-flow,
    .recruitment-detail-entry {
        padding-top: 4rem;
    }

    .recruitment-detail-table__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .recruitment-detail-flow__item {
        grid-template-columns: 1fr;
    }

    .recruitment-detail-entry__photos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .recruitment-detail-intro,
    .recruitment-detail-attractions,
    .recruitment-detail-table-section,
    .recruitment-detail-location,
    .recruitment-detail-flow,
    .recruitment-detail-entry {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .recruitment-detail-gallery__item img,
    .recruitment-detail-entry__photo img {
        height: 220px;
    }
}
