@charset "UTF-8";

/* ====================================
   RECRUIT CONTACT Page Styles
   ==================================== */

/* --- FV (Page Header - 統一デザイン) --- */
.recruit-contact-fv {
    position: relative;
    height: 50vh;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    /* ヘッダー被り回避のための余白 */
    padding-top: 100px; 
}

.recruit-contact-fv-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fv-title {
    font-family: var(--font-en);
    /* 共通のサイズ感 */
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fv-sub {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* --- Form Wrapper --- */
.recruit-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary);
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro p {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-main);
}

/* ====================================
   Contact Form 7 Styling
   ==================================== */

.p-recruit-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.required {
    font-size: 0.75rem;
    color: #fff;
    background: #ff6b6b;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* CF7の入力フィールド */
.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fcfcfc;
    font-size: 1rem;
    color: var(--text-main);
    transition: 0.3s;
    font-family: inherit;
    /* iOSでのスタイルリセット */
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.1);
    outline: none;
}

/* セレクトボックスの矢印装飾 */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: var(--primary) transparent transparent transparent;
    pointer-events: none;
}

/* --- Submit Button --- */
.submit-area {
    margin-top: 20px;
    text-align: center;
}

/* 送信ボタン (input[type="submit"]) */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--primary); /* サイトカラーの青 */
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    -webkit-appearance: none;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.form-note {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

/* CF7 Error/Success Messages */
.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #ff6b6b;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .recruit-form-wrapper {
        padding: 30px 20px;
    }
}