.bh-recruit {
    --bg-base: #ffffff;
    --surface: #ffffff;
    --surface-hover: #ffffff;
    --surface-glass: #ffffff;
    --surface-glass-border: rgba(148, 163, 184, 0.22);

    --text-main: #0f172a;
    --text-muted: #526277;
    --text-soft: #7c8aa0;

    --brand-primary: #1d4ed8;
    --brand-primary-light: #eaf1ff;
    --brand-primary-dark: #1e3a8a;
    --brand-accent: #2563eb;
    --brand-gradient: linear-gradient(120deg, #1e40af 0%, #3b82f6 60%, #7db4ff 100%);

    --border-light: #dbe6f3;
    --border-strong: #bfd0e4;

    --shadow-sm: 0 12px 24px -20px rgba(37, 99, 235, 0.1);
    --shadow-md: 0 22px 40px -30px rgba(37, 99, 235, 0.2);
    --shadow-lg: 0 30px 70px -40px rgba(37, 99, 235, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    color: var(--text-main);
    background: var(--bg-base);
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.bh-recruit * {
    box-sizing: border-box;
}

.bh-recruit h1,
.bh-recruit h2,
.bh-recruit h3,
.bh-recruit p,
.bh-recruit ul {
    margin: 0;
}

.bh-recruit a {
    color: inherit;
    text-decoration: none;
}

.bh-recruit .app-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 96px;
}

.bh-recruit .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bh-recruit .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bh-recruit .job-card.reveal {
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@keyframes bh-dot-move {
    0% {
        background-position: 0 50%, 0 50%;
    }

    50% {
        background-position: 84px 50%, 0 50%;
    }

    100% {
        background-position: 0 50%, 0 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bh-recruit * {
        animation: none !important;
        transition: none !important;
    }
}

.bh-recruit .page-hero,
.bh-recruit .section-block,
.bh-recruit .cta-section,
.bh-recruit .apply-section {
    position: relative;
    margin-bottom: 64px;
    padding-top: 22px;
}

.bh-recruit .page-hero::before,
.bh-recruit .section-block::before,
.bh-recruit .cta-section::before,
.bh-recruit .apply-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 92px;
    height: 8px;
    border-radius: 999px;
    background:
        radial-gradient(circle, var(--brand-primary) 0 4px, transparent 5px) 0 50%/8px 8px no-repeat,
        linear-gradient(90deg, var(--brand-primary), var(--brand-primary)) 0 50%/92px 3px no-repeat;
    animation: bh-dot-move 2.8s ease-in-out infinite;
}

.bh-recruit .page-hero::after,
.bh-recruit .section-block::after,
.bh-recruit .cta-section::after,
.bh-recruit .apply-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 1px;
    height: 1px;
    background: var(--border-light);
}

.bh-recruit .page-hero > *,
.bh-recruit .section-block > *,
.bh-recruit .cta-section > *,
.bh-recruit .apply-section > * {
    position: relative;
    z-index: 1;
}

.bh-recruit .page-hero {
    padding-top: 26px;
}

.bh-recruit .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;
}

.bh-recruit .hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bh-recruit .badge-wrapper {
    display: flex;
}

.bh-recruit .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 10px;
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--brand-primary);
}

.bh-recruit .page-title {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bh-recruit .hero-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.bh-recruit .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.bh-recruit .tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.bh-recruit .hero-panel {
    display: flex;
    justify-content: flex-end;
}

.bh-recruit .panel-card {
    width: 100%;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    box-shadow: var(--shadow-md);
}

.bh-recruit .panel-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.bh-recruit .panel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.bh-recruit .stat {
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border-light);
}

.bh-recruit .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.bh-recruit .stat-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-top: 6px;
}

.bh-recruit .panel-divider {
    height: 1px;
    background: var(--border-light);
    margin: 18px 0;
}

.bh-recruit .panel-list {
    display: grid;
    gap: 12px;
}

.bh-recruit .panel-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.bh-recruit .panel-item span {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 600;
}

.bh-recruit .panel-item strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.bh-recruit .section-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.bh-recruit .section-title {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
}

.bh-recruit .section-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 760px;
}

.bh-recruit .filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: end;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--surface);
    margin-bottom: 22px;
}

.bh-recruit .filter-item {
    display: grid;
    gap: 8px;
}

.bh-recruit .filter-item label {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-weight: 600;
}

.bh-recruit .filter-input,
.bh-recruit .filter-select {
    height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--text-main);
}

.bh-recruit .filter-input::placeholder {
    color: var(--text-soft);
}

.bh-recruit .filter-button {
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--brand-primary);
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.bh-recruit .filter-hint {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.bh-recruit .dept-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.bh-recruit .dept-chip {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    background: var(--surface);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.bh-recruit .no-results {
    display: none;
    padding: 20px 18px;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-light);
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.bh-recruit .dept-section {
    padding: 28px 0 8px;
    border-top: 1px solid var(--border-light);
    scroll-margin-top: 100px;
}

.bh-recruit .dept-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.bh-recruit .dept-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.bh-recruit .dept-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.bh-recruit .dept-meta {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.bh-recruit .job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bh-recruit .job-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.bh-recruit .job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bh-recruit .job-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.bh-recruit .job-count {
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.bh-recruit .job-label {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.bh-recruit .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--text-soft);
    font-size: 0.85rem;
}

.bh-recruit .job-list {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
}

.bh-recruit .job-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.bh-recruit .job-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-primary);
    font-size: 1.1rem;
    line-height: 1.4;
}

.bh-recruit .job-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--border-light);
    display: grid;
    gap: 10px;
}

.bh-recruit .job-benefit-title {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 600;
}

.bh-recruit .job-benefit-text {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.6;
}

.bh-recruit .apply-button {
    align-self: flex-start;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--brand-primary);
    background: #ffffff;
    color: var(--brand-primary);
    font-weight: 600;
    cursor: pointer;
}

.bh-recruit .apply-section .apply-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.bh-recruit .apply-header h2 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin-bottom: 8px;
}

.bh-recruit .apply-header p {
    color: var(--text-muted);
}

.bh-recruit .apply-message {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.bh-recruit .apply-message.success {
    background: #effaf3;
    color: #0f5132;
    border: 1px solid #b7e4c7;
}

.bh-recruit .apply-message.error {
    background: #fff4f4;
    color: #b42318;
    border: 1px solid #f5c2c7;
}

.bh-recruit .apply-job {
    margin-bottom: 16px;
    color: var(--text-soft);
}

.bh-recruit .apply-form {
    display: grid;
    gap: 16px;
}

.bh-recruit .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bh-recruit .form-item {
    display: grid;
    gap: 8px;
}

.bh-recruit .form-item label {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-weight: 600;
}

.bh-recruit .form-item input,
.bh-recruit .form-item textarea,
.bh-recruit .form-item select {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 0.95rem;
}

.bh-recruit .form-item textarea {
    resize: vertical;
}

.bh-recruit .form-full {
    grid-column: 1 / -1;
}

.bh-recruit .apply-submit {
    justify-self: flex-start;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--brand-primary);
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.bh-recruit .apply-note {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.bh-recruit .bh-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.bh-recruit .cta-card {
    position: relative;
    overflow: hidden;
    padding: 36px 40px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background: var(--brand-gradient);
    box-shadow: var(--shadow-lg);
}

.bh-recruit .cta-card h2,
.bh-recruit .cta-card p,
.bh-recruit .cta-card .cta-note {
    color: #ffffff;
}
.bh-recruit .cta-content {
    display: grid;
    gap: 12px;
}

.bh-recruit .cta-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
}

.bh-recruit .cta-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.bh-recruit .cta-note {
    font-size: 0.9rem;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .bh-recruit .hero-grid {
        grid-template-columns: 1fr;
    }

    .bh-recruit .hero-panel {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .bh-recruit .job-grid {
        grid-template-columns: 1fr;
    }

    .bh-recruit .panel-item {
        grid-template-columns: 1fr;
    }

    .bh-recruit .panel-item span {
        font-size: 0.7rem;
    }

    .bh-recruit .filter-bar {
        grid-template-columns: 1fr;
    }

    .bh-recruit .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .bh-recruit .app-container {
        padding: 24px 16px 72px;
    }

    .bh-recruit .panel-card {
        padding: 20px;
    }

    .bh-recruit .apply-section .apply-card {
        padding: 24px;
    }

    .bh-recruit .cta-card {
        padding: 28px;
    }
}
