/** Form CSS **/
.form__area {
    background: #fff;
    padding: 0;
}
.form__heading {
    display: flex;
    flex-direction: column;
    color: #222;
    font-size: 30px;
    margin: 0 auto 40px;
    padding: 0;
    align-items: center;
    line-height: 1.3;
    letter-spacing: 0.08em;
}
.form__heading-small {
    font-size: 22px;
    margin-bottom: 8px;
}
.form__center {
    color: #000;
    text-align: center;
    width: 100%;
    margin: 0 auto 48px;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.form__box {
    width: calc(100% - 48px);
    margin: 0 auto 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    color: #000;
}
.form__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.form__item.form__mail-gap {
    gap: 16px;
}
.form__item-text {
    font-size: 18px;
    padding-left: 16px;
}
.form__item-flex {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
}
div.mfp_ok {
    position: absolute;
    top: 68px;
}
div.mfp_err {
    position: static;
    top: 60px;
}
.form__age .form__item-flex {
    max-width: 178px;
}
.form__colmun-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap;
    gap: 32px;
}
.form__item-left {
    display: flex;
    width: 72px;
    height: 64px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    color: #384058;
    border-radius:0px;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}
.form__textarea .form__item-left {
    height: 256px;
}
.form__hasselect::before {
    content: "";
    position: absolute;
    background: url(../img/form-select-icon-re02.webp) no-repeat;
    transform: translate(0, -50%);
    background-size: cover;
    top: 50%;
    right: 20px;
    width: 18px;
    height: 10px;
}
.form__item-input {
    font-size: 17px;
    border: unset;
    max-width: 100%;
    width: calc(100% - 72px);
    color: #222;
    background: #fff;
    padding: 16px;
    border-radius:0px;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
}
.form__item-kome {
    margin-left: 8px;
    display: block;
    text-indent: -1.2em;
    padding-left: 1.2em;
    line-height: 1.4;
    font-size: 15px;
    letter-spacing: 0;
}
.form__required {
    background: #146dbe;
    color: #fff;
}
.form__any {
    background: #5597d2;
    color: #fff;
}
.form-btn {
    margin: auto;
    display: block;
    max-width: 361px;
    width: 100%;
    transform: translateX(3px);
}
.form__btn-image img {
    width: 100% !important;
    height: auto;
    margin: auto !important;
}
.form__bottomlist {
    display: flex;
    flex-direction: column;
    padding: 0 0 48px;
    margin: 16px 0 0;
    gap: 16px;
}
.form__bottomlist li {
    font-size: 15px;
    color: #000;
    width: calc(100% - 48px);
    margin: auto;
    line-height: 1.6;
    padding-left: 24px;
    padding-right: 16px;
    position: relative;
}
ul.form__bottomlist>li:not(:last-of-type) {
    margin-bottom: 0;
}
.form__bottomlist li::before {
    content: "";
    position: absolute;
    background: url(../img/form-list-icon.webp) no-repeat;
    background-size: cover;
    top: 6px;
    left: 5px;
    width: 6px;
    height: 10px;
}
select.form__item-input {
    padding-right: 56px;
    appearance: initial;    
}
textarea.form__item-input {
    padding: 32px 20px;
    line-height: 1.6;
}
::placeholder {
    color: #D9D9D9;
}
form#mailformpro {
    padding: 40px 0 0;
    background: #d5e3f1;
}
div.mfp_buttons > * {
    background: #3273ab;
    padding: 12px 16px;
    color: #000;
    border: unset;
    color: #fff;
}
.form__bottomlist li > a {
    text-decoration: underline;
}
.form__bottomlist li > a:hover {
    text-decoration: none;
    color: #000;
}
.form__age-small {
    position: absolute;
    right: -24px;
    font-size: 16px;
    bottom: 24px;
}

@media screen and (min-width: 768px) {
    .form__bottomlist li {
        width: calc(100% - 176px);
    }
    .form__area {
        padding: 0;
    }
}
@media screen and (min-width: 1024px) {
    .form__area {
        padding: 0;
    }
    .form__heading-small {
        font-size: 36px;
        margin-bottom: 2px;
    }
    .form__heading {
        font-size: 48px;
        line-height: 1.4;
        margin-bottom: 48px;
    }
    form#mailformpro {
        padding: 64px 0 0;
    }
    .form__center {
        font-size: 16px;
        margin-bottom: 56px;
    }
    .form__box {
        max-width: 744px;
        gap: 48px;
    }
    .form__item-text {
        font-size: 20px;
    }
    .form__colmun-flex {
        flex-direction: row;
        justify-content: space-between;
    }
    .form__colmun-flex .form__item {
        width: 47%;
    }
    .form__item-input {
        padding-left: 20px;
        font-size: 18px;
    }
    .form__item-kome {
        font-size: 16px;
    }
    textarea.form__item-input {
        padding: 24px 32px;
    }
    .form__textarea .form__item-left {
        height: 176px;
    }
    textarea.form__item-input {
        height: 176px;
    }
    .form-btn {
        max-width: 456px;
    }
    .form__bottomlist {
        margin: 0 auto;
        padding: 40px 88px 80px;
        gap: 8px;
    }
    .form__bottomlist li {
        font-size: 16px;
        line-height: 2;
        max-width: 962px;
    }
    .form__bottomlist li::before {
        top: 11px;
    }
}

@media screen and (max-width: 800px) {
    table#mfp_confirm_table tr th {
        white-space: normal;
        width: 100px;
        line-height: 1.6;
    }
}