/* --------------------------------------------------
   Recruit Page CSS Design (Uniam & Kurumi Tone)
   株式会社クローバーコミュニケーションズ
-------------------------------------------------- */

:root {
    --primary: #0D6E3D;
    --primary-hover: #09522D;
    --primary-light: rgba(13, 110, 61, 0.08);
    --accent-gold: #D97706;
    --accent-yellow: #FACC15;
    --bg-main: #FAF8F5;
    --bg-card: #FFFFFF;
    --text-main: #2D3748;
    --text-muted: #4A5568;
    --border-dark: #2D3748;
    --shadow-solid: 4px 4px 0px #2D3748;
    --shadow-solid-sm: 2.5px 2.5px 0px #2D3748;
    --shadow-solid-lg: 6px 6px 0px #2D3748;
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-maru: 'Zen Maru Gothic', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==================================================
   Header (Sticky Navigation)
================================================== */
.recruit-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-dark);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.recruit-header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recruit-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.recruit-header-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.recruit-header-badge {
    font-size: 0.76rem;
    font-weight: 900;
    background: #FFFFFF;
    color: var(--primary);
    border: 1.5px solid var(--border-dark);
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 1.5px 1.5px 0px var(--border-dark);
    letter-spacing: 0.05em;
}

.recruit-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-header-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1.5px solid var(--border-dark);
    background: #FFFFFF;
    box-shadow: var(--shadow-solid-sm);
    transition: all 0.2s ease;
}

.btn-header-back:hover {
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

.btn-header-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 900;
    color: #FFFFFF;
    background: var(--primary);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 30px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-solid-sm);
    transition: all 0.2s ease;
}

.btn-header-apply:hover {
    background: var(--primary-hover);
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

/* ==================================================
   Hero Section
================================================== */
.recruit-hero {
    padding: 60px 24px 70px;
    position: relative;
    overflow: hidden;
}

.recruit-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    color: var(--primary);
    border: 1.5px solid var(--border-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: var(--shadow-solid-sm);
    margin-bottom: 18px;
}

.recruit-hero-h1 {
    font-family: var(--font-maru);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.recruit-hero-h1 .highlight-green {
    background: linear-gradient(transparent 65%, #A7F3D0 65%);
    display: inline;
}

.recruit-hero-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 26px;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-main);
    box-shadow: 2px 2px 0px var(--border-dark);
}

.hero-badge-item i {
    color: var(--primary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #FFFFFF;
    background: var(--primary);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 40px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-solid);
    transition: all 0.2s ease;
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--border-dark);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-main);
    background: #FFFFFF;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 40px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-solid-sm);
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: #F8FAFC;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

.recruit-hero-visual {
    position: relative;
}

.hero-photo-main-frame {
    border: 2.5px solid var(--border-dark);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-solid-lg);
    background: #FFFFFF;
    position: relative;
    aspect-ratio: 4/3;
}

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

.hero-floating-card {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: #FFFFFF;
    border: 2px solid var(--border-dark);
    border-radius: 18px;
    padding: 12px 18px;
    box-shadow: var(--shadow-solid);
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-icon {
    width: 42px;
    height: 42px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1.5px solid var(--border-dark);
}

.floating-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-main);
}

.floating-text span {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* ==================================================
   Section Common
================================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title-box {
    text-align: center;
    margin-bottom: 48px;
}

.section-sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    color: var(--primary);
    border: 1.5px solid var(--border-dark);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: var(--shadow-solid-sm);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.section-h2 {
    font-family: var(--font-maru);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* ==================================================
   Points / Why Clover (4つの安心)
================================================== */
.recruit-points-section {
    padding: 80px 0;
    background: #FFFFFF;
    border-top: 2px solid var(--border-dark);
    border-bottom: 2px solid var(--border-dark);
}

.points-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.point-card-item {
    background: var(--bg-main);
    border: 2px solid var(--border-dark);
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: var(--shadow-solid);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.point-card-item:hover {
    transform: translateY(-4px);
}

.point-num-badge {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #FFFFFF;
    border: 2px solid var(--border-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 2px 2px 0px var(--border-dark);
    margin-bottom: 18px;
}

.point-card-item h3 {
    font-family: var(--font-maru);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.45;
    margin-bottom: 12px;
    color: var(--text-main);
}

.point-card-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: auto;
}

/* ==================================================
   Photo Gallery (職場のリアル風景)
================================================== */
.recruit-gallery-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.gallery-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-card {
    background: #FFFFFF;
    border: 2px solid var(--border-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-solid);
    transition: transform 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-3px);
}

.gallery-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #E2E8F0;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.05);
}

.gallery-card-body {
    padding: 16px 18px;
}

.gallery-card-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 900;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.gallery-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
}

/* ==================================================
   Positions Section (募集職種)
================================================== */
.recruit-positions-section {
    padding: 85px 0;
    background: #FFFFFF;
    border-top: 2px solid var(--border-dark);
    border-bottom: 2px solid var(--border-dark);
}

/* Job Category Tabs */
.job-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.btn-filter-tab {
    background: #FFFFFF;
    border: 2px solid var(--border-dark);
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 900;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: var(--shadow-solid-sm);
    transition: all 0.2s ease;
}

.btn-filter-tab:hover {
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

.btn-filter-tab.active {
    background: var(--primary);
    color: #FFFFFF;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

/* Job Position Cards */
.job-cards-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.job-card-box {
    background: var(--bg-main);
    border: 2.5px solid var(--border-dark);
    border-radius: 24px;
    box-shadow: var(--shadow-solid);
    overflow: hidden;
    display: grid;
    grid-template-columns: 360px 1fr;
    transition: opacity 0.3s ease;
}

.job-card-left {
    background: #FFFFFF;
    border-right: 2px solid var(--border-dark);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.job-photo-frame {
    width: 100%;
    aspect-ratio: 16/11;
    border-radius: 16px;
    border: 1.5px solid var(--border-dark);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 2px 2px 0px var(--border-dark);
}

.job-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-badge-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 900;
    border: 1.5px solid var(--border-dark);
    margin-bottom: 10px;
}

.job-badge-nurse { background: #E0F2FE; color: #0369A1; }
.job-badge-care { background: #FEF3C7; color: #B45309; }
.job-badge-cm { background: #DCFCE7; color: #15803D; }
.job-badge-yougu { background: #F3E8FF; color: #7E22CE; }

.job-card-h3 {
    font-family: var(--font-maru);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 8px;
}

.job-workplace-name {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 800;
}

.job-card-right {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.job-desc-text {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.job-spec-table th, .job-spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #CBD5E1;
    text-align: left;
}

.job-spec-table th {
    width: 110px;
    font-weight: 800;
    color: var(--text-main);
    background: rgba(13, 110, 61, 0.04);
    white-space: nowrap;
}

.job-spec-table td {
    color: var(--text-main);
    line-height: 1.6;
}

.salary-highlight {
    font-size: 1.15rem;
    font-weight: 900;
    color: #DC2626;
}

.job-card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1.5px dashed #CBD5E1;
}

.btn-card-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 0.94rem;
    padding: 10px 22px;
    border-radius: 30px;
    border: 2px solid var(--border-dark);
    box-shadow: var(--shadow-solid-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-apply:hover {
    background: var(--primary-hover);
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

/* ==================================================
   Staff Voices (先輩の声)
================================================== */
.recruit-voices-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.voices-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.voice-card {
    background: #FFFFFF;
    border: 2px solid var(--border-dark);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow-solid);
    display: flex;
    flex-direction: column;
}

.voice-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.voice-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--border-dark);
    object-fit: cover;
    box-shadow: 2px 2px 0px var(--border-dark);
}

.voice-meta h4 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.3;
}

.voice-meta span {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 800;
    display: block;
    margin-top: 2px;
}

.voice-bubble {
    background: #FAF8F5;
    border: 1.5px solid var(--border-dark);
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-main);
    position: relative;
    margin-top: auto;
}

/* ==================================================
   Entry Form Section (応募・見学相談)
================================================== */
.recruit-form-section {
    padding: 85px 0 95px;
    background: #FFFFFF;
    border-top: 2px solid var(--border-dark);
}

.form-wrapper-box {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-main);
    border: 2.5px solid var(--border-dark);
    border-radius: 26px;
    padding: 44px 40px;
    box-shadow: var(--shadow-solid-lg);
}

.form-header-msg {
    text-align: center;
    margin-bottom: 32px;
}

.form-header-msg h3 {
    font-family: var(--font-maru);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-header-msg p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.support-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 24px;
}

.support-badge {
    background: #ECFDF5;
    color: #065F46;
    border: 1.5px solid #059669;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.entry-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.req-badge {
    background: #DC2626;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
}

.opt-badge {
    background: #94A3B8;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 2px solid var(--border-dark);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    box-shadow: 2px 2px 0px var(--border-dark);
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 3px 3px 0px var(--primary);
    background: #FAFAF9;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 900;
    padding: 16px;
    border-radius: 40px;
    border: 2.5px solid var(--border-dark);
    box-shadow: var(--shadow-solid);
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s ease;
}

.btn-form-submit:hover {
    background: var(--primary-hover);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--border-dark);
}

.form-tel-box {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px dashed #CBD5E1;
    text-align: center;
}

.form-tel-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}

.form-tel-number {
    font-family: var(--font-maru);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 2px solid var(--border-dark);
    padding: 8px 24px;
    border-radius: 40px;
    box-shadow: var(--shadow-solid-sm);
    transition: all 0.2s ease;
}

.form-tel-number:hover {
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4px 4px 0px var(--border-dark);
}

/* ==================================================
   Footer
================================================== */
.recruit-footer {
    background: #FAF8F5;
    border-top: 2px solid var(--border-dark);
    padding: 40px 24px;
    text-align: center;
}

.recruit-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.recruit-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.recruit-footer-links a:hover {
    color: var(--primary);
}

.recruit-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================================================
   Responsive Media Queries
================================================== */
@media (max-width: 992px) {
    .recruit-hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .points-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-card-box {
        grid-template-columns: 1fr;
    }

    .job-card-left {
        border-right: none;
        border-bottom: 2px solid var(--border-dark);
    }

    .voices-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .recruit-header {
        height: 60px;
    }

    .recruit-header-logo img {
        height: 32px;
    }

    .recruit-header-badge {
        display: none;
    }

    .recruit-hero {
        padding: 40px 16px 50px;
    }

    .recruit-hero-h1 {
        font-size: 1.85rem;
    }

    .points-grid-4 {
        grid-template-columns: 1fr;
    }

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

    .job-card-right {
        padding: 20px 16px;
    }

    .job-card-left {
        padding: 20px 16px;
    }

    .job-card-footer-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .btn-card-apply {
        text-align: center;
        justify-content: center;
    }

    .form-wrapper-box {
        padding: 30px 20px;
    }

    .section-h2 {
        font-size: 1.65rem;
    }

    .hero-floating-card {
        bottom: -10px;
        left: 10px;
        right: 10px;
    }
}
