p {
    margin: 0;
}
.wpcf7-submit {
    margin: auto;
}
.wpcf7-not-valid-tip {
    margin-top: 4px;
    text-align: center;
}
@media screen and ( min-width: 782px ) {
    body {
        width: 375px;
        margin: auto;
    }
}
/* ----- new ----- */
html {
    margin-top: 0 !important;
    background-color: #FFF;
}
html #wpadminbar {
    display: none;
}
body {
    margin: auto;
    background-color: #FCEEC9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
picture {
    display: flex;
}
img {
    width: 100%;
}
header {
    background-color: #FCEEC9;
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
}
header > picture,
header > a {
    display: flex;
    width: 50%;
}
.form_field {
    width: 90%;
    margin: auto;
    padding-bottom: 16px;
    background-color: #FFF;
    border-radius: 11px;
}
#step2 .form_field {
    margin-bottom: 24px;
}
#step5 .form_field {
    padding-bottom: 0;
}
.subtitle {
    margin-top: 3%;
    color: #ffffff;
    padding: 2%;
    font-size: 18px;
    font-weight: bold;
    background-color: #222B58;
    border-radius: 10px 10px 0 0;
}
.subtitle .big {
    font-size: 1.3em;
}
.thanks-title {
   text-align: center;
}
#step1 .subtitle {
    padding: 5% 0% 1% 5%;
}
#step1 .subtitle img{
    width: 59%;
}
#step1 .subtitle ul {
    margin: 0;
    padding-left: 0;
}
#step1 .subtitle li {
    padding: 0 8px;
    list-style: none;
    color: #F15A24;
    font-size: 12px;
    background-color: #FFF;
    border-radius: 100px;
}
#step1 .subtitle li:first-child {
    margin-bottom: 4px;
}
input[type="radio" i] {
    display: none;
}
.radio_inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    width: 90%;
    margin: auto;
    padding-top: 24px;
}
.wpcf7-list-item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 7px 0;
    background-color: #222B58;
    background-image: repeating-linear-gradient(
        -45deg,
        #1D254F,
        #1D254F 1px,
        transparent 1px,
        transparent 6px
    );
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #222B58;
}
.wpcf7-list-item label {
    width: 100%;
}
.wpcf7-list-item.selected {
    color: #222B58;
    background-color: #FFF;
    background-image: unset;
}
#step1 .wpcf7-form-control,
select.wpcf7-form-control {
    display: flex;
    width: 100%;
    padding: 10px 8px;
    color: #333;
    font-size: 16px;
    border: 1px solid #A9AEB3;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #FFF;
}
#step1 .form_field {
    margin-bottom: 24px;
}
#step1 .form_field_top .wpcf7-form-control {
    border: none;
    flex-wrap: wrap;
    justify-content: space-around;
}
#step1 .form_field_top .wpcf7-list-item {
    width: 45%;
    min-height: 40px;
}
.form_flex {
    width: 95%;
    margin: 16px auto;
}
.form_flex > div {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.hissu {
    display: flex;
    width: fit-content;
    padding: 1px 3px;
    color: #FFF;
    font-size: 11px;
    background-color: #1A315A;
    border-radius: 4px;
}
.texttitle {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
}
.kiyaku-cont {
    width: 90%;
    margin: 8px auto;
    font-size: 12px;
    line-height: 1.8;
}
input::placeholder,
textarea::placeholder {
    color: #bbb;
}
.flex2 {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 90%;
    margin: auto;
}
#step1 .wpcf7-form-control.doui {
    padding: 0;
    border: none;
}
#step1 .wpcf7-form-control.doui .wpcf7-list-item {
    color: #222B58;
    font-size: 16px;
    font-weight: bold;
    background: transparent;
    border: none;
}
#step1 .wpcf7-form-control.doui .wpcf7-list-item label {
    display: flex;
    align-items: center;
}
#step1 input[type="checkbox" i] {
    width: 16px;
    height: 16px;
}
#step1 span.wpcf7-form-control-wrap span.wpcf7-list-item-label {
    font-size: 14px;
    text-align: start;
}
#step1 .flex2 .flex3 {
    width: 44px;
}
.wpcf7-response-output {
    display: none;
}
.form_buttons {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 90%;
    margin: 32px auto 24px;
}
.form_buttons button {
    width: 50%;
    background-color: transparent;
    border: none;
}
#step1 .form_buttons {
    justify-content: center;
}
#step1 .form_buttons button {
    width: 45%;
}
#step1 .form_buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
#step1 .wpcf7-form-control.btn_submit {
    display: flex;
    width: 100%;
    height: 55px;
    margin: 0;
    padding: 0;
    color: transparent;
    background-image: url(https://dymma.jp/wp-content/themes/MandA02/assets/img/step/lpm07/btn_submit.png);
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center;
}
.error_text {
    display: none;
    margin-top: 10px;
    color: #cc0000;
    text-align: center;
}
.wpcf7-spinner {
    display: none !important;
}
.last_text {
    padding: 5%;
}
footer {
    background-color: #1e2654;
}
.copy {
    font-size: 10px;
    color: white;
    text-align: center;
    padding-bottom: 12px;
    padding-top: 12px;
}

.form-area {
  position: relative;
}

#stepForm {
  position: relative;
  margin-top: -40px;
  z-index: 10;
}

.grecaptcha-badge {
  position: fixed !important;
  bottom: 0;
  right: 0;
  z-index: 9999;
}

.ma-icon {
    position: absolute;
    top: -6%;
    width: 30%;
    left: 63%;
}