/* ─────────────────────────────────────────
   PAGE RECRUITMENT — SUNATEC 採用情報
   Full-width card layout matching Figma mockup.
   ───────────────────────────────────────── */

/* ── Hero Banner (Contained layout with rounded corners) ── */
.rec-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    background: #fff;
    overflow: hidden;
}

.rec-hero-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600;
    overflow: hidden;
    border-radius: 12px;
}

.rec-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* absolute overlay badge */
.rec-hero-badge {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: linear-gradient(135deg, rgba(0, 143, 141, 0.8), rgba(0, 180, 176, 0.8));
    padding: 28px 64px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 143, 141, 0.35);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rec-hero-badge-title {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.rec-hero-badge-sub {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    line-height: 1.1;
}

/* ── Main Layout ── */
.rec-main-content {
    background: #ffffff;
    padding: 60px 0 100px;
}

.rec-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rec-section {
    margin-bottom: 80px;
}

.rec-section:last-of-type {
    margin-bottom: 0;
}

.rec-section-head {
    text-align: center;
    margin-bottom: 26px;
}

.rec-section-sub {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #00c48a;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rec-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #061c3d;
    margin: 0;
    line-height: 1.3;
}

/* ── Grid Layout ── */
.rec-grid {
    display: grid;
    gap: 24px;
}

.rec-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Premium Cards ── */
.rec-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.rec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(6, 28, 61, 0.12);
}

.rec-card-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.rec-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rec-card:hover .rec-card-photo {
    transform: scale(1.06);
}

/* Glassmorphic Overlay Bar at the bottom of the card */
.rec-card-overlay {
    --overlay-margin: 8px;
    position: absolute;
    bottom: var(--overlay-margin);
    left: var(--overlay-margin);
    right: var(--overlay-margin);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    z-index: 5;
    transition: background-color 0.3s ease;
}

.rec-card:hover .rec-card-overlay {
    background: rgba(255, 255, 255, 0.92);
}

.rec-card-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: #008f8d;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.rec-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #061c3d;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.rec-card:hover .rec-card-title {
    color: #008f8d;
}

/* ── Section 6: ENTRY Box ── */
.rec-entry-box {
    background: rgba(231, 243, 243, 1);
    border-radius: 20px;
    padding: 24px 64px 48px;
    text-align: center;
    border: 1px solid rgba(0, 143, 141, 0.08);
}

.rec-entry-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #061c3d;
    margin: 0 0 32px;
}

.rec-entry-buttons {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.rec-entry-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 280px;
    height: 52px;
    padding: 8px 12px 8px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background-image: url('../../images/btn_background_blue.png');
    background-color: #008F8D;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: opacity 0.3s;
}

.rec-entry-btn:hover {
    opacity: 0.85;
    color: #FFFFFF;
}

.rec-entry-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
}

/* ── Responsive breakpoints ── */
@media (max-width: 1024px) {
    .rec-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .rec-hero-wrap {
        aspect-ratio: 16 / 7;
    }
    .rec-entry-box {
        padding: 40px 32px;
    }
    .rec-entry-buttons {
        gap: 20px;
    }
    .rec-entry-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .rec-hero-wrap {
        aspect-ratio: 4 / 3;
    }
    .rec-hero-badge {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 16px 20px;
        align-items: center;
    }
    .rec-hero-badge-title {
        font-size: 22px;
    }
    .rec-hero-badge-sub {
        font-size: 11px;
    }
    .rec-main-content {
        padding: 40px 0 60px;
    }
    .rec-section {
        margin-bottom: 56px;
    }
    .rec-section-head {
        margin-bottom: 32px;
    }
    .rec-section-title {
        font-size: 24px;
    }
    .rec-grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .rec-card {
        aspect-ratio: 1 / 1;
    }
    .rec-entry-box {
        padding: 32px 20px;
    }
    .rec-entry-desc {
        font-size: 16px;
        margin-bottom: 24px;
    }
    .rec-entry-btn {
        max-width: 100%;
    }
}
