/* 採用ページの応募フォーム（../style.css の上に重ねる） */

a.logo {
    text-decoration: none;
}

.en_lead {
    text-align: center;
    margin: -30px 0 40px;
    color: #555;
}

.en_form {
    max-width: 860px;
    margin: 0 auto;
}

.en_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #eee;
}

.en_table tr {
    border-bottom: 1px solid #eee;
}

.en_table th,
.en_table td {
    padding: 18px 15px;
    text-align: left;
    vertical-align: top;
}

.en_table th {
    width: 250px;
    background-color: #fcfcfc;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 26px;
}

.en_req,
.en_opt {
    display: inline-block;
    font-size: 0.7rem;
    line-height: 1;
    padding: 4px 6px;
    margin-right: 8px;
    border-radius: 2px;
    vertical-align: 2px;
    color: #fff;
}

.en_req {
    background: #b89c6d;
}

.en_opt {
    background: #9aa3ad;
}

.en_table input[type="text"],
.en_table input[type="tel"],
.en_table input[type="email"],
.en_table textarea {
    width: 100%;
    font: inherit;
    font-size: 16px; /* iPhone で拡大されない大きさ */
    padding: 10px 12px;
    border: 1px solid #ccd2d8;
    border-radius: 3px;
    background: #fff;
    color: #333;
}

.en_table input.en_short {
    width: 6em;
}

.en_table textarea {
    resize: vertical;
}

.en_table input:focus,
.en_table textarea:focus {
    outline: none;
    border-color: #1a2a3a;
    box-shadow: 0 0 0 2px rgba(26, 42, 58, 0.12);
}

.en_table .en_bad {
    border-color: #d33 !important;
    background: #fff6f6 !important;
}

.en_jobs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.en_job {
    cursor: pointer;
}

.en_job input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.en_job span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ccd2d8;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s ease;
}

.en_job input:checked + span {
    background: #1a2a3a;
    border-color: #1a2a3a;
    color: #fff;
    font-weight: bold;
}

.en_job input:focus-visible + span {
    box-shadow: 0 0 0 2px rgba(184, 156, 109, 0.6);
}

.en_err {
    color: #d33;
    font-size: 0.85rem;
    min-height: 0;
}

.en_err:empty {
    display: none;
}

.en_hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.en_policy {
    margin: 35px 0 10px;
    text-align: center;
}

.en_policy a {
    color: #1a2a3a;
}

.en_agree {
    display: block;
    margin-top: 12px;
    cursor: pointer;
    font-weight: bold;
}

.en_agree input {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 6px;
}

.en_msg {
    text-align: center;
    color: #d33;
    font-weight: bold;
    margin: 10px 0;
}

.en_msg:empty {
    display: none;
}

.en_submit {
    text-align: center;
    margin-top: 20px;
}

.en_submit .apply-btn {
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
    min-width: 320px;
}

.en_submit .apply-btn:disabled {
    background: #b9c0c7;
    cursor: not-allowed;
    transform: none;
}

.en_done {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #e0e0e0;
    padding: 50px 30px;
    border-radius: 4px;
}

.en_done h3 {
    font-size: 1.5rem;
    color: #1a2a3a;
    margin-bottom: 20px;
}

.en_done p {
    margin-bottom: 15px;
}

.en_done_mail {
    font-weight: bold;
    word-break: break-all;
}

.en_done .apply-btn {
    margin-top: 15px;
}

.en_tel {
    text-align: center;
    margin-top: 50px;
    color: #666;
    font-size: 0.9rem;
}

.en_tel a {
    color: #1a2a3a;
    font-weight: bold;
}

.footer a {
    color: #777;
}

@media (max-width: 768px) {
    .en_lead {
        margin-top: -30px;
        text-align: left;
    }

    .en_table th,
    .en_table td {
        display: block;
        width: 100%;
    }

    .en_table th {
        background: none;
        padding: 18px 0 6px;
    }

    .en_table td {
        padding: 0 0 18px;
    }

    .en_pc {
        display: none;
    }

    .en_submit .apply-btn {
        min-width: 0;
        width: 100%;
        padding: 18px 20px;
    }
}
