/* Recruit Page Styles - Namespaced with recruit- prefix to avoid conflicts */

/* Ensure proper base styles */
.recruit-main-container {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.8;
}

/* Fix for fixed header */
body.page-template-page-recruit,
body.page-template-page-recruit-php {
    padding-top: 0;
}

/* Main Content */
.recruit-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Base Styles */
.recruit-section {
    margin-bottom: 80px;
}

.recruit-section-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Section Header */
.recruit-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.recruit-section-label {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #2449A4;
    font-weight: 600;
    margin-bottom: 15px;
}

.recruit-section-title-main {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    color: #333;
}

.recruit-section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2449A4, transparent);
    margin: 0 auto;
}

/* Hero Section */
.recruit-hero-section {
    background-image: url('https://wrt.solutions/sol2025/wp-content/uploads/2025/11/recruitback.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    margin: 0 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruit-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(70, 193, 147, 0.85) 0%, rgba(36, 152, 164, 0.84) 50%, rgba(34, 26, 128, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.recruit-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.recruit-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.recruit-hero-label {
    font-size: 16px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.recruit-hero-title {
    font-size: 48px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 0.15em;
    line-height: 1.3;
}

.recruit-hero-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    margin: 0 auto;
}

.recruit-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.recruit-section-label {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #2449A4;
    font-weight: 600;
    margin-bottom: 15px;
}

.recruit-section-title-main {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    color: #333;
}

.recruit-section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2449A4, transparent);
    margin: 0 auto;
}

/* Job Section */
.recruit-job-section {
    background-color: #fafafa;
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.recruit-job-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2449A4;
}

.recruit-job-title {
    font-size: 26px;
    font-weight: 600;
    color: #2449A4;
    letter-spacing: 0.05em;
}

/* Job Details */
.recruit-job-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.recruit-detail-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.recruit-detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #2449A4;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.recruit-detail-content {
    font-size: 15px;
    line-height: 1.8;
}

.recruit-detail-content p {
    margin: 0;
}

.recruit-detail-content ul {
    margin: 0;
    padding-left: 20px;
}

.recruit-detail-content ul li {
    margin-bottom: 10px;
}

.recruit-detail-content ul li:last-child {
    margin-bottom: 0;
}

/* Application Section */
.recruit-application-section {
    background-color: #f5f8fa;
    padding: 50px 30px;
    border-radius: 12px;
}

.recruit-application-content {
    text-align: center;
}

.recruit-application-content > p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.recruit-application-content strong {
    color: #2449A4;
    font-weight: 600;
    font-size: 16px;
}

.recruit-application-image {
    margin: 40px 0;
    text-align: center;
}

.recruit-application-image img {
  max-width: 600px;
  height: auto;
  border-radius: 8px;
}

.recruit-application-notes {
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recruit-privacy-link {
    margin-bottom: 20px;
    font-size: 14px;
}

.recruit-privacy-link a {
    color: #2449A4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.recruit-privacy-link a:hover {
    color: #1a3580;
    text-decoration: underline;
}

.recruit-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recruit-notes-list li {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Selection Process Section */
.recruit-process-section {
    background: linear-gradient(135deg, #f5f8fa 0%, #ffffff 100%);
    padding: 60px 30px;
    border-radius: 12px;
}

.recruit-process-container {
    margin-top: 40px;
}

.recruit-process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.recruit-process-step {
    text-align: center;
    min-width: 120px;
}

.recruit-step-number {
    background: linear-gradient(135deg, #2449A4, #1a3580);
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(36, 73, 164, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit-process-step:hover .recruit-step-number {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(36, 73, 164, 0.4);
}

.recruit-step-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.recruit-process-arrow {
    font-size: 24px;
    color: #2449A4;
    font-weight: bold;
    flex-shrink: 0;
}

.recruit-process-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border-left: 4px solid #2449A4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .recruit-process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .recruit-process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
   .recruit-section-title-main {
        font-size: 26px;
    }

    .recruit-hero-section {
        padding: 80px 20px;
    }

    .recruit-hero-label {
        font-size: 14px;
        letter-spacing: 0.25em;
    }

    .recruit-hero-title {
        font-size: 36px;
        letter-spacing: 0.1em;
    }

    .recruit-hero-divider {
        width: 80px;
        height: 3px;
    }

    .recruit-job-title {
        font-size: 20px;
    }

    .recruit-job-section,
    .recruit-application-section,
    .recruit-process-section {
        padding: 30px 20px;
    }

    .recruit-detail-item {
        padding: 20px;
    }

    .recruit-detail-title {
        font-size: 16px;
    }

    .recruit-detail-content {
        font-size: 14px;
    }

    .recruit-step-number {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }

    .recruit-step-label {
        font-size: 13px;
    }

    .recruit-process-arrow {
        font-size: 20px;
    }

    .recruit-application-content > p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .recruit-main-container {
        padding: 20px 15px;
    }

    .recruit-section-title-main {
        font-size: 22px;
    }

    .recruit-job-title {
        font-size: 18px;
    }

    .recruit-hero-section {
        padding: 60px 15px;
    }

    .recruit-hero-label {
        font-size: 13px;
        letter-spacing: 0.2em;
    }

    .recruit-hero-title {
        font-size: 28px;
        letter-spacing: 0.08em;
    }

    .recruit-hero-divider {
        width: 60px;
        height: 3px;
    }

    .recruit-job-section,
    .recruit-application-section,
    .recruit-process-section {
        padding: 25px 15px;
    }

    .recruit-detail-item {
        padding: 15px;
    }

    .recruit-detail-title {
        font-size: 15px;
    }

    .recruit-detail-content {
        font-size: 13px;
    }

    .recruit-application-image img {
        max-width: 100%;
    }

    .recruit-step-number {
        width: 70px;
        height: 70px;
        font-size: 13px;
    }

    .recruit-step-label {
        font-size: 12px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recruit-job-section,
.recruit-application-section,
.recruit-process-section {
    animation: fadeInUp 0.6s ease;
}

.recruit-job-section:nth-of-type(2) {
    animation-delay: 0.1s;
}

.recruit-application-section {
    animation-delay: 0.2s;
}

.recruit-process-section {
    animation-delay: 0.3s;
}
