
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: #FFFFDE;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

picture {
    display: flex;
}
img{
    width: 100%;
}


header {
    background-color: #1e2654;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 2.5%;
    gap: 16px;
}
header > picture, header > a {
    display: flex;
    width: 50%;
}

.form_field {
    width: 90%;
    margin: auto;
    padding-bottom: 16px;
    background-color: #FFF;
    border-radius: 5px;
}
#step2 .form_field{
    margin-bottom: 24px;
}
#step5 .form_field {
    padding-bottom: 0;
}

.subtitle {
    margin-top: 3%;
    padding: 8px 0;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background-color: #29aae1;
    border-radius: 5px 5px 0 0;
}
.subtitle .big {
    font-size: 1.3em;
}
#step1 .subtitle {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 16px 5%;
    line-height: 24px;
    margin-bottom: 16px;
}
#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 #222B58;
    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 {
    display: flex;
    width: 95%;
    margin: 16px auto;
}
.form_flex > div {
    width: 30%;
}
.form_flex > p {
    width: 75%;
}

.hissu{
    display: flex;
    width: fit-content;
    margin-bottom: 4px;
    padding: 1px 10px;
    color: #FFF;
    font-size: 12px;
    background-color: #29aae1;
}
.texttitle{
    color: #222B58;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
}
.kiyaku-cont{
    width: 90%;
    margin: 8px auto;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}
.kiyaku-cont a {
    color: #777;
}
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: 46px;
    margin: 0;
    padding: 0;
    color: transparent;
    background-image: url(https://dymma.jp/wp-content/themes/MandA02/assets/img/step/lpm05/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%;
    /* margin-bottom: 32px; */
}

footer{
    background-color: #1e2654;
}
.copy{
    font-size: 10px;
    color: white;
    text-align: center;
    padding-bottom: 12px;
    padding-top: 12px;
}
