/* --- 査定フォーム 全体設定 --- */
.satei_container {
    max-width: 740px;
    width: 100%;
    margin: 0 auto 20px auto;
    background: #fff;
    box-sizing: border-box;
    border: 3px solid #00af99;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.satei_container h2 {
    background: #00af99;
    margin: 0;
    padding: 12px 0;
    text-align: center;
}

.satei_title_img {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

/* フォーム内側の余白 */
.satei_form {
    padding: 20px 30px;
}

/* 各行の設定（PCで横並び） */
.form_item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px dotted #e0e0e0;
    align-items: flex-start;
}
.form_item:last-of-type {
    border-bottom: none;
}

/* 左側：項目名エリア */
.label_box {
    width: 180px;
    padding-top: 10px;
    flex-shrink: 0;
}

.label_box label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

/* 必須タグのデザイン */
.required_tag {
    background: #ff4545;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: normal;
}

/* 右側：入力エリア */
.field_body {
    flex-grow: 1;
}

.satei_input, .satei_sl, .satei_area {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background: #fdfdfd;
    transition: border-color 0.2s;
}

.satei_input:focus, .satei_sl:focus, .satei_area:focus {
    border-color: #00af99;
    outline: none;
    background: #fff;
}

/* ボタンエリア */
.submit_area {
    text-align: center;
    padding-top: 20px;
}

.btn_submit {
    display: inline-block;
    padding: 18px 40px;
    background: #00af99;
    color: #fff;
    border: none;
    border-radius: 50px; /* 丸みのあるデザイン */
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn_submit:hover {
    background: #008e7d;
    transform: translateY(-2px);
}

.error_msg {
    color: #ff4545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: bold;
}

.satei_input.required {
    color: #000;
}

/* --- スマホ表示 (740px以下) --- */
@media screen and (max-width: 740px) {
    .satei_form {
        padding: 15px;
    }
    .field_body {
        flex-grow: 1;
        width: 100%;
    }
    .form_item {
        flex-direction: column; /* 縦並びに変更 */
        padding: 10px 0;
    }
    .label_box {
        width: 100%;
        padding-bottom: 8px;
    }
    .btn_submit {
        font-size: 16px;
        padding: 18px 20px;
    }
    
}