@charset "UTF-8";
@import url(https://fonts.googleapis.com/icon?family=Material+Icons+Symbols+Outlined);

/* ================================================
Contact
================================================ */
#main_Wrap{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* -------------------------------------
Form
------------------------------------- */
.form_Area{
    margin-top: 30px;
}
.form_Box{
    margin-bottom: 30px;
}
.form_Box .form_label{
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
    color: var(--basic);
    margin-bottom: 10px;
}
.form_Box .form_label sup.require{
    color: #d90909;
    vertical-align: sub;
}
.form_Box .form_label sup.optional{
    color: #555;
    font-size: 60%;
    top: 0;
    vertical-align: middle;
    margin-left: 0.5em;
}
.form_Box input,
.form_Box select,
.form_Box textarea{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px;
    color: var(--basic);
}
.form_Box .form_select{
    position: relative;
}
.form_Box .form_select::after{
    position: absolute;
    content: "";
    border-top: 8px solid #ccc;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
.form_Box textarea{
    resize: none;
    height: 250px;
}
.form_Area .submit_Btn{
    display: block;
    width: 130px;
    background: var(--basic);
    color: #fff;
    border: 1px solid var(--basic);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
    transition: 0.3s;
}
.form_Area .submit_Btn:hover{
    background: #fff;
    color: var(--basic);
}

/* =======================================================================
SP(~768px)
======================================================================= */
@media screen and (max-width: 768px) {

    .form_Area{
        width: 90%;
        margin: 15px auto 0;
    }
    .form_Box {
        margin-bottom: 20px;
    }
    .form_Box .form_label {
        font-size: 1.5rem;
        margin-bottom: 7px;
    }
    .form_Box input,
    .form_Box select,
    .form_Box textarea{
        padding: 7px;
    }
    .form_Area .submit_Btn {
        width: 120px;
        padding: 12px;
        font-size: 1.6rem;
    }
}

/* ── バリデーションエラー ────────────────────────────────────────────── */
.error_Box {
    background: #fff0f0;
    border: 1px solid #f5c6cb;
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.error_Box ul {
    margin: 0;
    padding-left: 20px;
    color: #721c24;
    font-size: 1.4rem;
}

/* ── 確認画面（check）スタイル ──────────────────────────────────────── */
.form_Area.check .txt {
    font-size: 1.6rem;
    color: var(--sub);
    line-height: 1.8;
    margin-bottom: 10px;
}
.form_Area.check .form_Box {
    padding: 20px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}
.form_Area.check .form_Box:last-of-type {
    border-bottom: none;
}
.form_Area.check .form_Box dl {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
}
.form_Area.check .form_Box dl dt {
    min-width: 140px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray2);
    line-height: 1.6;
}
.form_Area.check .form_Box dl dd {
    flex: 1;
    font-size: 1.6rem;
    color: var(--basic);
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}
.check_flex {
    justify-content: flex-start;
    gap: 20px;
    margin-top: 40px;
}
.submit_Btn.return {
    background: #fff;
    color: var(--basic);
    cursor: pointer;
}
.submit_Btn.return:hover {
    background: var(--basic);
    color: #fff;
}