/* ========================================
   JOB SEEKER PAGE STYLES
======================================== */
.page-job-seeker section{
    border-bottom: 1px solid #171717;
    padding: 0px 20px 100px 20px;
    margin-bottom: 80px;
}

.page-job-seeker section:last-child {
    margin-bottom: 136px;
}

/* Job Seeker Information Section */
.job-seeker-information {
    margin-bottom: 60px;
}

.job-seeker-list {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Job Seeker Item */
.job-seeker-item {
    background: #D6D5D5;
}

.job-seeker-item:last-child {
    border-bottom: none;
}

.job-seeker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #D6D5D5;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.job-seeker-number {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    opacity: 0.7;
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.page-job-seeker .contact-info .info-list {
    margin-left: 16px;
}

/* Job Seeker Content */
.job-seeker-content {
    display: none;
    padding: 15px;
    background: #fff;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}

.job-seeker-content.active {
    display: block;
    max-height: none;
}

.job-seeker-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border: none;
    table-layout: fixed;
}

.job-seeker-table th,
.job-seeker-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #858585;
    vertical-align: top;
}

.job-seeker-table th {
    background-color: #E0E0E0;
    font-weight: 500;
    width: 210px;
    min-width: 80px;
}

.job-seeker-table td {
    color: #171717;
    line-height: 1.5;
}

/* .job-seeker-table tr:last-child th,
.job-seeker-table tr:last-child td {
    border-bottom: none;
} */

/* Contact Form Styles */
.contact-form-wrapper .staff-box {
    background: #fff;
}
.page-job-seeker .contact-form-wrapper .wpcf7-form [data-name="checkbox-111"] span.wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.page-job-seeker .contact-form-wrapper .wpcf7-form [data-name="checkbox-01"] span.wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* Responsive Design */
@media (max-width: 960px) {
    .page-job-seeker section {
        padding: 0 0 60px 0;
        margin-bottom: 50px;
    }

    .page-job-seeker section:last-child {
        margin-bottom: 96px;
    }

    .page-job-seeker section .section-subtitle {
        padding-left: 17.39px;
    }

    .job-seeker-header {
        padding: 12px 15px;
    }
    
    .job-seeker-number {
        font-size: 13px;
    }
    
    .job-seeker-table {
        font-size: 11px;
    }
    
    .job-seeker-table th,
    .job-seeker-table td {
        padding: 10px 12px;
    }
    
    .job-seeker-table th {
        width: 6rem;
    }
}
@media (max-width: 768px) {
    .page-job-seeker .contact-form-wrapper .wpcf7-form [data-name="checkbox-111"] span.wpcf7-checkbox {
        padding: 10px;
    }
    .page-job-seeker .contact-form-wrapper .wpcf7-form [data-name="checkbox-01"] span.wpcf7-checkbox {
        display: block;
        padding: 10px;
    }
    .page-job-seeker .contact-form-wrapper .staff-box .wpcf7-checkbox .wpcf7-list-item {
        padding: 0;
        margin: 0;
    }
    .page-job-seeker .contact-info .info-list {
        font-size: 14px;
        margin-left: 15px;
    }
}

@media (max-width: 680px) {
    /* テーブルを1列表示に変更 */
    .job-seeker-table {
        display: block;
        border: none;
        width: 100%;
        border: 1px solid #858585;
    }

    .job-seeker-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .job-seeker-table th,
    .job-seeker-table td {
        display: block;
    }

    .job-seeker-table th {
        width: 100%;
        background: #E0E0E0;
        border-top: 1px solid #858585;
        border-bottom: 1px solid #858585;
        border-left: none;
        border-right: none;
    }

    .job-seeker-table tr:first-child th:first-child {
        border-top: none;
    }

    .job-seeker-table td {
        width: 100%;
        background: #fff;
        border: none;
    }
}

@media (max-width: 640px) {
    .page-job-seeker section .section-subtitle {
        font-size: 12px;
        padding-left: 16.75px;
    }
    .job-seeker-list {
        gap: 10px;
    }
    .page-job-seeker .contact-info .info-list {
        font-size: 13px;
        margin-left: 14px;
    }
}

@media (max-width: 480px) {
    .page-job-seeker section {
        padding: 0 0 40px;
        margin-bottom: 30px;
    }

    .page-job-seeker section .section-subtitle {
        font-size: 12px;
        padding-left: 14.82px;
        margin-bottom: 1.5rem;
    }

    .job-seeker-header {
        padding: 10px 12px;
    }
    
    .job-seeker-number {
        font-size: 12px;
        line-height: 1.3;
    }

    .page-job-seeker .contact-form-wrapper .wpcf7-form [data-name="checkbox-111"] span.wpcf7-checkbox {
        grid-template-columns: repeat(3, 1fr);
    }
}