/* ================================================================
   職種TOPページ共通
   Figma(base): node-id=1399:9729
================================================================ */


/* ---- ヒーロー（MV） ---- */

.cr-group-top-hero {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.cr-group-top-hero-inner {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
}

.cr-group-top-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.cr-group-top-hero .breadcrumb-area {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}


/* ---- 導入セクション ---- */

.cr-group-top-intro {
    padding: 160px 0 0;
}

.cr-group-top-intro .cr-deco-heading-line-right {
    right: -2016px;
}

.cr-group-top-intro-body {
    padding-left: 0;
}

.cr-group-top-intro-body p {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 400;
    color: #191919;
    opacity: 0.8;
    letter-spacing: 1.6px;
    line-height: 1.5;
}

.cr-group-top-intro-body p:last-child {
    margin-bottom: 0;
}

.cr-group-top-break-1000 {
    display: none;
}


/* ---- ケイアイグループの営業職 ---- */

.cr-group-top-careers {
    padding: 160px 0 0;
    overflow: hidden;
}

.cr-group-top-careers-inner {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
}

.cr-group-top-careers-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 0;
    margin-bottom: 48px;
}

.cr-group-top-careers-heading-line {
    width: 120px;
    height: 4px;
    background: #ff0024;
    border-radius: 100px;
    flex-shrink: 0;
}

.cr-group-top-careers-heading-title {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #191919;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: nowrap;
}

.cr-group-top-careers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cr-group-top-career-row {
    display: flex;
    align-items: stretch;
    height: 240px;
    position: relative;
    background: #ffffff;
}

.cr-group-top-career-row--reverse {
    flex-direction: row-reverse;
}

.cr-group-top-career-row--gray {
    background: #f8f8f8;
}

.cr-group-top-career-img {
    width: 58.3%;
    flex-shrink: 0;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
    position: relative;
    z-index: 2;
}

.cr-group-top-career-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cr-group-top-career-row--reverse .cr-group-top-career-img {
    width: 58.3%;
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
}

.cr-group-top-career-info {
    flex: 1 1 0;
    display: flex;
    align-items: flex-start;
    padding: 32px 0;
    position: relative;
    z-index: 1;
    margin-left: 0;
}

.cr-group-top-career-info-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    max-width: 530px;
    width: 100%;
    height: 100%;
    padding-left: 24px;
    padding-right: 10px;
}

.cr-group-top-career-row--reverse .cr-group-top-career-info {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
}

.cr-group-top-career-row--reverse .cr-group-top-career-info-inner {
    padding-left: 10px;
    padding-right: 24px;
}

.cr-group-top-career-name {
    display: flex;
    align-items: baseline;
    gap: 16px;
    white-space: normal;
}

.cr-group-top-career-num {
    font-family: "Barlow", sans-serif;
    font-size: 46px;
    font-weight: 600;
    color: #ff0024;
    line-height: 1;
    text-transform: uppercase;
}

.cr-group-top-career-label {
    font-size: 32px;
    font-weight: 700;
    color: #191919;
    letter-spacing: 3.2px;
    line-height: 1;
}

.cr-group-top-career-desc {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #191919;
    letter-spacing: 0.07em;
    line-height: 1.4;
}

.cr-group-top-career-row .cr-text-btn {
    align-self: flex-end;
}

.cr-group-top-career-label {
    display: block;
}

.cr-group-top-career-link--modal {
    appearance: none;
    background: none;
    border: none;
    padding: 0 0 5px;
    cursor: pointer;
}

.cr-group-top-career-link--modal img {
    display: block;
    width: 20px;
    height: 20px;
}



/* ---- CTA ---- */

.cr-group-top-cta {
    margin-top: 80px;
}


/* ---- インタビュー ---- */

.cr-group-top-interview {
    padding-top: 160px;
    padding-bottom: 0;
}

.cr-top-section.cr-top-interview.cr-group-top-interview {
    padding-top: 160px;
    padding-bottom: 0;
}

.cr-group-top-interview .cr-group-top-section-title-wrap {
    --dl-title-font-size: 32px;
    margin-bottom: 64px;
}

.cr-group-top-interview .cr-group-top-section-title {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #191919;
    letter-spacing: 0.08em;
    line-height: 1.2;
}


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

.cr-group-top-faq {
    padding-top: 160px;
    padding-bottom: 160px;
}

.cr-group-top-faq .dl-page-title-wrap {
    margin-bottom: 64px;
}

.cr-corp-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 100001;
}

.cr-corp-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cr-corp-modal__bg {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.cr-corp-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(900px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    padding: 64px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 48px;
    overflow: hidden;
    box-sizing: border-box;
}

.cr-corp-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.cr-corp-modal__title-wrap {
    display: flex;
    align-items: baseline;
    gap: 16px;
    min-width: 0;
}

.cr-corp-modal__num {
    font-family: "Barlow", sans-serif;
    font-size: 46px;
    font-weight: 600;
    line-height: 1;
    color: #ff0024;
    flex-shrink: 0;
}

.cr-corp-modal__title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #191919;
}

.cr-corp-modal__close {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.cr-corp-modal__close span {
    position: absolute;
    top: 15px;
    left: 0;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: #191919;
}

.cr-corp-modal__close span:first-child {
    transform: rotate(45deg);
}

.cr-corp-modal__close span:last-child {
    transform: rotate(-45deg);
}

.cr-corp-modal__body {
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.07em;
    color: #191919;
    padding-right: 8px;
}

.cr-corp-modal__body p {
    margin: 0 0 24px;
}

.cr-corp-modal__body p:last-child {
    margin-bottom: 0;
}

.cr-corp-modal__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cr-corp-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 64px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    text-decoration: none;
    box-sizing: border-box;
}

.cr-corp-modal__btn--description {
    background: #f4f4f4;
    color: #191919;
}

.cr-corp-modal__btn--entry {
    min-width: 240px;
    border: 3px solid #ff0024;
    background: #fff;
    color: #191919;
}

.cr-corp-modal__btn--description:hover {
    background: #191919;
    color: #fff;
    opacity: 1;
}

.cr-corp-modal__btn--entry:hover {
    background: #ff0024;
    color: #fff;
    opacity: 1;
}


/* ================================================================
   レスポンシブ
================================================================ */

@media screen and (max-width: 1024px) {

    /* ---- ケイアイグループの営業職 ---- */

    .cr-group-top-careers {
        padding: 160px 0 0;
    }

    .cr-group-top-careers-heading {
        gap: 10px;
        margin-bottom: 40px;
        padding-right: 28px;
    }

    .cr-group-top-careers-heading-line {
        width: 18px;
    }

    .cr-group-top-careers-heading-title {
        font-size: 22px;
        letter-spacing: 1.76px;
    }

    .cr-group-top-careers-list {
        gap: 64px;
    }

    .cr-group-top-career-row {
        flex-direction: column;
        height: auto;
        background: transparent;
    }

    .cr-group-top-career-row--reverse {
        flex-direction: column;
    }

    .cr-group-top-career-img {
        width: calc(100% - 28px);
        height: 240px;
        clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
        padding-right: 0;
        z-index: auto;
    }

    .cr-group-top-career-row--reverse .cr-group-top-career-img {
        width: calc(100% - 28px);
        clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
    }

    .cr-group-top-career-info {
        width: calc(100% - 28px);
        padding: 0;
        margin-left: auto;
        z-index: auto;
        display: flex;
        background: #f8f8f8;
        clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
    }

    .cr-group-top-career-row--reverse .cr-group-top-career-info {
        margin-left: auto;
        margin-right: 0;
        padding-left: 0;
        justify-content: flex-start;
    }

    .cr-group-top-career-info-inner {
        max-width: 100%;
        padding: 34px 28px 42px 42px;
        height: auto;
    }

    .cr-group-top-career-row--reverse .cr-group-top-career-info-inner {
        padding: 34px 28px 42px 42px;
    }

    .cr-group-top-career-name {
        gap: 12px;
        align-items: center;
    }

    .cr-group-top-career-num {
        font-size: 34px;
    }

    .cr-group-top-career-label {
        font-size: 24px;
        letter-spacing: 2.4px;
    }

    .cr-group-top-career-desc {
        font-size: 14px;
        letter-spacing: 0.98px;
    }
}

@media screen and (max-width: 1000px) {
    .cr-group-top-break-1000 {
        display: block;
    }
}

@media screen and (max-width: 768px) {

    /* ---- 導入セクション ---- */

    .cr-group-top-intro {
        padding: 0 0 40px;
    }

    .cr-group-top--sales .cr-group-top-intro .cr-deco-heading-line-right {
        right: -1986px;
    }

    .cr-group-top-careers {
        padding: 40px 0;
    }

    .cr-group-top--corporate .cr-group-top-careers-heading {
        position: relative;
        align-items: flex-start;
        padding-left: 28px;
    }

    .cr-group-top--corporate .cr-group-top-careers-heading-line {
        position: absolute;
        left: 0;
        top: calc((22px * 1.2 - 4px) / 2);
    }

    .cr-group-top--corporate .cr-group-top-careers-heading-title {
        line-height: 1.2;
    }

    .cr-group-top-intro-body {
        padding: 0;
        margin-top: 40px;
    }

    .cr-group-top-intro-body p {
        font-size: 15px;
        letter-spacing: 1.2px;
        margin: 0 0 24px;
    }

    /* ---- CTA ---- */

    .cr-group-top-cta {
        margin-top: 0;
    }


    /* ---- インタビュー ---- */

    .cr-group-top-interview {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .cr-top-section.cr-top-interview.cr-group-top-interview {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .cr-group-top-interview .cr-group-top-section-title-wrap {
        --dl-title-font-size: 22px;
        margin-bottom: 40px;
    }

    .cr-group-top-interview .cr-group-top-section-title {
        font-size: 22px;
        letter-spacing: 1.76px;
    }


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

    .cr-group-top-faq {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .cr-group-top-faq .dl-page-title-wrap {
        --dl-title-font-size: 22px;
        margin-bottom: 40px;
    }

    .cr-corp-modal__dialog {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
        padding: 32px 24px;
        gap: 32px;
    }

    .cr-corp-modal__title-wrap {
        align-items: flex-start;
        gap: 12px;
    }

    .cr-corp-modal__num {
        font-size: 34px;
    }

    .cr-corp-modal__title {
        font-size: 24px;
        letter-spacing: 0.08em;
    }

    .cr-corp-modal__body {
        font-size: 14px;
        letter-spacing: 0.07em;
        padding-right: 4px;
    }

    .cr-corp-modal__actions {
        gap: 12px;
    }

    .cr-corp-modal__btn {
        min-width: 0;
        width: calc(50% - 6px);
        height: 56px;
        padding: 0 20px;
        font-size: 16px;
    }

    .cr-corp-modal__btn--entry {
        width: calc(50% - 6px);
    }
}

@media screen and (max-width: 450px) {
    .cr-group-top-career-img {
        height: 240px;
    }
}

@media screen and (max-width: 365px) {
    .cr-corp-modal__dialog {
        padding: 32px 14px;
    }

    .cr-corp-modal__btn {
        padding: 0 10px;
    }
}

@media screen and (max-width: 370px) {
    .cr-group-top-intro .cr-deco-heading-title {
        font-size: 7vw;
    }
}
