/* =========================================
   お問い合わせエリア（contact_area）のスタイル
   ========================================= */

/* 1. 親コンテナ：右側に配置されるベージュのエリア */
.contact_area {
    background-color: #fff9f0;
    padding: 0 20px 20px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    height: auto !important;
    max-width: 350px;
}

/* 2. フォームを囲むラッパー */
.form-wrapper {
    width: 100%;
    max-width: 400px; /* 右側に収まるよう少しスリムに */
    margin: 0 auto;
    background-color: transparent;
    box-sizing: border-box;
}

.form-title {
    text-align: center;
    font-size: 24px; /* 32pxから縮小 */
    margin-bottom: 15px; /* 50pxから短縮 */
    font-weight: bold;
    color: #333;
    letter-spacing: 0.1em;
}

/* --- 各入力フィールド：余白をギュッと詰める --- */
.form-field {
    margin-bottom: 12px; /* 30pxから12pxへ大幅にカット */
    width: 100%;
}

/* 姓名などの横並び行 */
.form-row {
    display: flex;
    gap: 10px; /* 隙間を狭く */
}

.form-row .form-field {
    flex: 1;
}

/* --- ラベル（項目名） --- */
.form-field label, 
.field-label-text {
    display: block;
    font-weight: bold;
    font-size: 14px; /* 16pxから14pxへ */
    margin-bottom: 5px; /* 10pxから5pxへ */
    color: #000;
}

/* 必須ラベル */
.required {
    color: #f39800;
    font-size: 11px;
    margin-left: 5px;
    font-weight: normal;
}

/* --- 入力欄（input）本体：高さを抑える --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 8px; /* 12pxから8pxへ */
    border: 1px solid #333;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

/* --- ラジオボタン --- */
.radio-options {
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px; /* 15pxから8pxへ */
    cursor: pointer;
}

/* --- 個人情報保護方針：ここもコンパクトに --- */
.policy-box {
    border: 1px solid #333;
    background: #fff;
    padding: 6px; /* 20pxから10pxへ */
    margin-top: 20px; /* 40pxから20pxへ */
    box-sizing: border-box;
}

.policy-box h3 {
    margin-top: 0;
    font-size: 15px;
    margin-bottom: 5px;
}

.policy-content {
    font-size: 11px;
    line-height: 1.5;
    height: 70px; /* 100pxから70pxへ短縮 */
    overflow-y: scroll;
    color: #444;
}

/* --- 同意チェック --- */
.agree-check {
    text-align: center;
    margin: 8px 0; /* 30pxから15pxへ */
    font-size: 14px;
}

/* --- 送信ボタン --- */
.form-submit-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto 0; /* 40pxから10pxへ */
    background-color: #ff9f33;
    color: #fff;
    border: none;
    padding: 12px; /* 16pxから12pxへ */
    font-size: 16px;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}

/* =========================================
   スマホ対応
   ========================================= */
@media (max-width: 500px) {
    .contact_area {
        padding: 40px 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-title {
        font-size: 22px;
    }
}