@charset "UTF-8";
/* ============================================================
   フォーム追加スタイル
   PHP化にともなって追加した「確認画面 / 完了画面 / スパム対策」用。
   既存の theme_default.css・add.css の後に読み込むこと。
   ============================================================ */

/* ---- ハニーポット（botだけが入力する隠し欄。人間には見えない） ---- */
.hp_field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- 送信ボタン：既存の input[type=submit] と同じ見た目を button にも ---- */
.parts213_section_form .contact_submit button,
.parts219_section_form .contact_submit button {
    background-color: var(--main-color);
    border: none;
    color: #fff;
    border-radius: 10px;
    padding-top: 18px;
    padding-bottom: 20px;
    width: 100%;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}
.parts213_section_form .contact_submit button {
    background-color: #faca00;
    color: #000;
}
.parts213_section_form .contact_submit button:hover,
.parts219_section_form .contact_submit button:hover {
    opacity: 0.5;
}

/* ---- 確認画面の2ボタン並び ---- */
.contact_submit.confirm_buttons {
    width: 100%;
    max-width: 460px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.contact_submit.confirm_buttons button {
    flex: 1 1 0;
}
.parts213_section_form .contact_submit.confirm_buttons .btn_back,
.parts219_section_form .contact_submit.confirm_buttons .btn_back {
    background-color: #e6e6e6;
    color: #333;
}
@media screen and (max-width: 767px) {
    .contact_submit.confirm_buttons {
        flex-direction: column-reverse;
        gap: 16px;
    }
}

/* ---- 確認画面の表示値 ---- */
.confirm_value {
    padding: 8px 4px;
    word-break: break-all;
    line-height: 1.8;
}
.form_lead {
    margin-bottom: 32px;
    line-height: 1.9;
}

/* ---- エラー ---- */
.form_fatal {
    margin-bottom: 28px;
    padding: 14px 18px;
    border: 1px solid #d33;
    border-radius: 6px;
    background: #fdf0f0;
    line-height: 1.8;
}
p.error:empty {
    margin: 0;
}

/* ---- 完了画面 ---- */
.form_done {
    text-align: center;
    padding: 20px 0 10px;
}
.form_done h2 {
    margin-bottom: 28px;
    font-size: 1.5rem;
}
.form_done p {
    line-height: 2;
    margin-bottom: 20px;
}
.form_done .des {
    font-size: 0.9em;
    color: #666;
}
.form_done .contact_submit {
    margin-top: 40px;
}
.form_done a.btn_back {
    display: block;
    background-color: #e6e6e6;
    color: #333;
    border-radius: 10px;
    padding: 18px 0 20px;
    text-decoration: none;
}
.form_done a.btn_back:hover {
    opacity: 0.5;
}
