/* recruit.css - recruit.html 専用スタイルシート */

.recruit {
    padding: 10px 25px 25px 25px;
    font-size: 36px;
    /* この値は h1 に継承されるため、recruit h1 で上書きされる想定 */
    margin-bottom: 20px;
    /* この部分のborderとbox-shadowは.recruit_formに移動しました。
       もし全体の囲みが必要な場合は、recruit_main に適用することを検討してください */
}

.recruit_main {
    /* recruit_main に全体のスタイルを適用 */
    padding: 10px 25px 25px 25px;
    border: 0.2rem solid #df1b1b;
    border-radius: 10px;
    box-shadow: 0 0 .2rem #ffffff,
        0 0 .1rem #fff,
        0 0 2rem #fe1313,
        0 0 0.8rem #fe1313,
        0 0 2.8rem #fe1313,
        inset 0 0 1.3rem #fe1313;
    background-color: rgba(9, 9, 9, 0.800);
    color: #fffffff9;
    /* recruit_form から移動 */
}


.recruit h1 {
    font-size: 32px;
    padding-bottom: 10px;
    font-family: "Hachi Maru Pop", cursive;
    animation: flicker 1.5s infinite alternate;
    color: #ffffff;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    /* 中央寄せを追加 */
}

.recruit_info {
    text-align: left;
    font-size: 16px;
    margin-bottom: 30px;
    /* 情報とフォームの間にスペース */
    line-height: 1.6;
    color: #eee;
}

.recruit_form {
    color: #d81ea7f9;
}

.recruit_formcontents {
    font-size: 18px;
    /* 基本のフォントサイズ */
    display: flex;
    flex-direction: column;
    /* 縦に並べる */
    gap: 10px;
    /* 各要素間の隙間 */
}

label {
    display: block;
    margin-top: 15px;
    /* 上部のマージン */
    margin-bottom: 5px;
    /* 下部のマージン */
    font-weight: bold;
    color: #ffffff;
    /* ラベルの色を少し明るく */
    font-size: 1.1em;
    /* ラベルの文字サイズ */
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.699);
    /* ラベルに軽くネオン効果 */
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
/* ★追加★ */
select,
/* ★追加★ */
textarea {
    width: calc(100% - 20px);
    /* 左右のパディングを考慮 */
    padding: 10px;
    margin-bottom: 10px;
    /* 下部のマージン */
    border: 1px solid #e009b2;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    /* 薄い透明背景 */
    color: #737171;
    font-size: 1em;
    /* フォントサイズ調整 */
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
    /* 入力フィールドにもネオン効果 */
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
/* ★追加★ */
select:focus,
/* ★追加★ */
textarea:focus {
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    outline: none;
}

.dob-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    /* 他の入力フィールドとの統一 */
}

.dob-group select {
    flex: 1;
    /* 均等幅に */
    width: auto;
    /* flexアイテムとしてautoに設定 */
    margin-bottom: 0;
    /* 親のmargin-bottomがあるのでここでは不要 */
}


textarea {
    resize: vertical;
    /* 縦方向のみリサイズ可能に */
    min-height: 80px;
    /* 最小高さを設定 */
}

.form_btn {
    text-align: center;
    margin-top: 30px;
}

.form_btn button[type="submit"] {
    background-color: #ff0000;
    /* 赤いボタン */
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    /* ネオン効果 */
}

.form_btn button[type="submit"]:hover {
    background-color: #cc0000;
    /* ホバーで暗く */
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
}

.form_message {
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    color: #bbb;
    line-height: 1.5;
}

.form_message p {
    color: #ffcc00;
    /* 強調したい文字色 */
    font-weight: bold;
    display: inline;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .recruit_main {
        padding: 15px;
    }

    .recruit h1 {
        font-size: 28px;
    }

    .recruit_info {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .recruit_formcontents {
        gap: 8px;
    }

    label {
        font-size: 1em;
        margin-top: 10px;
        margin-bottom: 3px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        width: calc(100% - 16px);
        /* パディングを考慮 */
        padding: 8px;
        font-size: 0.9em;
    }

    .dob-group {
        flex-direction: column;
        /* 縦並びに */
        gap: 5px;
    }

    .dob-group select {
        width: 100%;
        /* フル幅に */
    }

    .form_btn button[type="submit"] {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .form_message {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .recruit_main {
        padding: 10px;
    }

    .recruit h1 {
        font-size: 24px;
    }

    .recruit_info {
        font-size: 13px;
        margin-bottom: 15px;
    }

    label {
        font-size: 0.9em;
        margin-top: 8px;
        margin-bottom: 2px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        padding: 6px;
        font-size: 0.85em;
    }

    .form_btn button[type="submit"] {
        padding: 10px 20px;
        font-size: 1em;
    }

    .form_message {
        font-size: 0.8em;
    }
}