.step_form .form {
    position: relative;
    padding-bottom: 34px;
}

.lp_form_area .step_form {
    position: relative;
    margin-top: 20px;
    padding: 30px;
    max-width: calc(470px - 60px);
    background-color: #fff;
    border: 1px solid #000000;
    border-radius: 10px;
}

.step_form fieldset.last_name {
    width: 49%;
}

.step_form fieldset.first_name {
    width: 49%;
}

.step_form .select {
    width: 100%;
    height: 38px;
    border-radius: 5px;
    padding-left: 10px;
    font-weight: bold;
}

.step_form fieldset.pd-select .col-sm-9::before {
    position: absolute;
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    margin-top: 14px;
    margin-left: 380px;
    border-bottom: 1px solid gray;
    border-right: 1px solid gray;
    content: '';
    transition: transform 0.3s ease-in-out;
}

.step_form fieldset.pd-select .col-sm-9.open::before {
    transform: rotate(225deg);
}

.step_form.pardot_donwload_lp.type_real_undokai_LP01 .submit {
    position: absolute;
    width: 100%;
    max-width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    justify-content: center;
}

.step_form.pardot_donwload_lp.type_real_undokai_LP01 .submit input, .pardot_donwload_lp.type_real_undokai_LP01 .next-step-button {
    height: 46px;
    width: calc(100% - 154px);
    content: "次のステップへ";
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    background: #dc000c;
    transition: 0.3s ease;
    position: relative;
    margin: 0;
    letter-spacing: 2px; 
    border-radius: 9999px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.step_form.pardot_donwload_lp.type_real_undokai_LP01 .submit input:hover {
    background: #dc000c;
    opacity: 1;
}

.step_form.pardot_donwload_lp .submit::after {
    content: '';
    display: inline-block;
    top: 0;
    bottom: 0;
    margin: auto;
    left: calc(100% - 84px - 20px);
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    position: absolute;
    transition: 0.3s ease;
}

.step_form.pardot_donwload_lp .submit:hover::after {
    left: calc(100% - 84px - 20px + 3px);
}

/* デフォルトではすべてのページコンテンツを非表示にする */
.step_form .form-field {
    display: none;
}

/* 最初のページだけ表示する */
.step_form .form-field.active {
    display: block;
}

.step_form .pagination-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
}

.step_form .pagination-wrapper h4 {
    color: #dc000c;
    font-size: 14px;
    font-weight: bold;
}

.step_form .pagination {
    display: flex;
}

.step_form .pagination-button {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin: auto;
    width: 20px;
	height: 20px;
	border-radius: 50%;
    text-align: center;
    background-color: #e2e2e2;
    color: #898989;
    line-height: 20px;
}

.step_form .pagination-button.active {
    background-color: #dc000c;
    color: white;
}

.step_form .pagination-button:hover:not(.active) {
    background-color: #e2e2e2;
    color: #898989;
}

