/* ================================================================
   特別選考・面談プログラム
================================================================ */

.cr-program-page {
    padding: 40px 0 160px;
}

.cr-program-hero {
    margin-top: 64px;
}

.cr-program-hero-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.cr-program-hero-media {
    flex: 1;
    min-width: 0;
    margin-left: max(calc(-50vw + 50%), calc(-1000px + 50%));
}

.cr-program-photo-mask {
    aspect-ratio: 686 / 400;
    clip-path: url(#program-visual-clip-pc);
    overflow: hidden;
}

.cr-program-photo-mask img,
.cr-program-selection-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-program-hero-body {
    flex: 1;
    min-width: 570px;
}

.cr-program-hero-title {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #191919;
}

.cr-program-hero-lead {
    margin: 40px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #191919;
}

.cr-program-section {
    margin-top: 160px;
}

.cr-program-section-title-wrap {
    --dl-title-font-size: 34px;
    margin-bottom: 64px;
}

.cr-program-section .dl-page-title-line-inner {
    animation: none;
    transform: translateX(-100%);
}

.body_active .cr-program-section .dl-page-title-line-inner {
    animation: none;
    transform: translateX(-100%);
}

.cr-program-section .dl-page-title-wrap.is_active .dl-page-title-line-inner {
    animation: titleLineSlide 0.8s linear 0.3s forwards;
}

.cr-program-section-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #191919;
}

.cr-program-selection-body,
.cr-program-webinar-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.cr-program-selection-body {
    align-items: flex-end;
}

.cr-program-content {
    flex: 1;
    min-width: 0;
}

.cr-program-selection-body .cr-program-content {
    max-width: 482px;
}

.cr-program-webinar-media {
    flex: 1;
    min-width: 0;
    margin-left: max(calc(-50vw + 50%), calc(-1000px + 50%));
}

.cr-program-webinar-body .cr-program-content {
    box-sizing: border-box;
    padding-right: 16px;
    flex: 1;
    min-width: 570px;
}

.cr-program-webinar-body {
    align-items: flex-end;
    gap: 56px;
}

.cr-program-webinar-body .cr-program-recommend,
.cr-program-webinar-body .cr-program-content-text,
.cr-program-webinar-body .cr-program-content-title {
    width: 100%;
    max-width: 554px;
}

.cr-program-content-title {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #191919;
}

.cr-program-content-text {
    margin-top: 24px;
}

.cr-program-content-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #191919;
}

.cr-program-content-text p + p {
    margin-top: 24px;
}

.cr-program-recommend {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cr-program-recommend-badge {
    position: relative;
    z-index: 1;
    margin-bottom: -20px;
    padding: 8px 24px;
    border-radius: 20px;
    background: #dfedec;
}

.cr-program-recommend-badge h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #191919;
}

.cr-program-recommend-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 24px 16px;
    border: 2px solid #dfedec;
    border-radius: 4px;
    background: #fff;
}

.cr-program-recommend-icon {
    flex: 0 0 70px;
}

.cr-program-recommend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cr-program-recommend-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #191919;
}

.cr-program-recommend-list img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cr-program-selection-visual {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.cr-program-gray-accent {
    width: 72px;
    flex-shrink: 0;
    background: linear-gradient(to bottom right, transparent 50%, #f8f8f8 50%);
}

.cr-program-gray-card {
    flex: 1;
    background: #f8f8f8;
    min-height: 410px;
    padding: 24px 0 24px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-program-gray-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2000px;
    background-color: #f8f8f8;
    z-index: -1;
}

.cr-program-gray-card img {
    display: block;
    max-width: 100%;
    height: auto;
}

.cr-program-action {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.cr-program-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    height: 64px;
    padding: 0 28px;
    border: 3px solid #ff0024;
    border-radius: 999px;
    background: #fff;
    color: #191919;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.12em;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.cr-program-action-btn:hover {
    background: #ff0024;
    color: #fff;
    opacity: 1;
}

.cr-program-action-btn.is-inactive {
    min-width: 337px;
    padding: 8px 27px;
    border: none;
    background: #f4f4f4;
    color: #9e9e9e;
    font-weight: 600;
    letter-spacing: 0.12em;
    pointer-events: none;
    cursor: default;
}

.cr-program-action-btn.is-inactive:hover {
    background: #f4f4f4;
    color: #9e9e9e;
}

@media screen and (max-width: 1200px) {
    .cr-program-hero-inner {
        gap: 40px;
    }

    .cr-program-selection-visual {
        flex: 1;
        min-width: 0;
    }

    .cr-program-selection-body .cr-program-content,
    .cr-program-hero-body {
        max-width: none;
    }
}

@media screen and (max-width: 1024px) {
    .cr-program-hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .cr-program-selection-body,
    .cr-program-webinar-body {
        flex-direction: column;
        gap: 24px;
    }

    .cr-program-selection-body {
        min-height: 0;
    }

    .cr-program-selection-body .cr-program-content,
    .cr-program-webinar-body .cr-program-content {
        max-width: none;
        width: 100%;
        min-width: auto;
    }

    .cr-program-webinar-body .cr-program-recommend,
    .cr-program-webinar-body .cr-program-content-text,
    .cr-program-webinar-body .cr-program-content-title {
        max-width: 100%;
    }

    .cr-program-selection-visual {
        width: 100%;
        flex-basis: auto;
        order: -1;
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    .cr-program-page {
        padding: 40px 0 80px;
    }

    .cr-program-hero-body {
        min-width: initial;
    }

    .cr-program-hero {
        margin-top: 40px;
    }

    .cr-program-hero-media {
        flex: none;
        width: calc(100vw - 28px);
        margin-left: max(calc(-50vw + 50%), calc(-1000px + 50%));
    }

    .cr-program-webinar-media {
        flex: none;
        width: calc(100vw - 28px);
        margin-left: max(calc(-50vw + 50%), calc(-1000px + 50%));
    }

    .cr-program-selection-visual {
        width: 100%;
        flex-basis: auto;
    }

    .cr-program-gray-accent {
        width: 38px;
    }

    .cr-program-gray-card {
        padding: 37px 0 37px 0;
        min-height: 216px;
    }

    .cr-program-gray-card picture {
        width: 100%;
    }

    .cr-program-photo-mask {
        aspect-ratio: 355 / 240;
        clip-path: url(#program-visual-clip-sp);
    }

    .cr-program-hero-title {
        font-size: 22px;
        line-height: 1.4;
        letter-spacing: 0.08em;
    }

    .cr-program-hero-lead {
        margin-top: 16px;
        font-size: 15px;
    }

    .cr-program-section {
        margin-top: 80px;
    }

    .cr-program-section-title-wrap {
        --dl-title-font-size: 22px;
        margin-bottom: 24px;
    }

    .cr-program-section-title {
        font-size: 22px;
        letter-spacing: 0.08em;
    }

    .dl-page-title-wrap.cr-program-section-title-wrap {
        padding-left: 10px;
        margin-left: 10px;
    }

    .cr-program-content-title {
        font-size: 24px;
    }

    .cr-program-content-text {
        margin-top: 24px;
    }

    .cr-program-content-text p {
        font-size: 14px;
    }

    .cr-program-recommend {
        margin-top: 24px;
    }

    .cr-program-recommend-box {
        gap: 16px;
        padding: 40px 20px 32px;
    }

    .cr-program-recommend-icon {
        flex-basis: 48px;
    }

    .cr-program-recommend-list li {
        gap: 4px;
        font-size: 12px;
    }

    .cr-program-recommend-list img {
        width: 16px;
        height: 16px;
    }

    .cr-program-action {
        margin-top: 24px;
    }

    .cr-program-action-btn {
        min-width: 300px;
        max-width: 100%;
        font-size: 18px;
    }

    .cr-program-action-btn.is-inactive {
        min-width: 300px;
    }
}

@media screen and (max-width: 450px) {
    .cr-program-page {
        max-width: calc(100% - 40px);
    }

    .cr-program-action-btn {
        min-width: 0;
        width: 100%;
    }
}
