@media only screen and (min-width: 768px) {

    .webform-submission-form,
    .webform-confirmation,
    .webform-progress {
        width: 66.6%;
        margin: 0 auto;
    }
}

.webform-confirmation__message{
    text-align:center;
}


.form-actions.webform-actions {
    text-align: center;
    display: flex;
    gap: 10px;
    flex-direction: column;

}
.form-actions.webform-actions .button {
    margin-left: auto;
    margin-right: auto;
}
.button--primary {
    display: block;
    width: 228px;
    height: 50px;
    margin: 0 auto;
    line-height: 50px;
    border: 1px solid #38ada9;
    background-color: #38ada9;
    color: #fff;
    font-size: 100%;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    padding: 0px;
}
.button--secondary {
    display: block;
    width: 228px;
    height: 50px;
    margin: 0 auto;
    line-height: 50px;
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
    color: #777;
    font-size: 100%;
    font-weight: bold;
    text-decoration: none;
    text-align: center;

}


.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

.fieldgroup.webform-type-webform-email-confirm {
    padding: 0;
    border-width: 0;
}


.webform-submission-form .form-item {
    margin-bottom: 15px;
}
.webform-submission-form .webform-preview .form-item {
    margin-top: 0;
    margin-bottom: 0!important;
    border: 1px solid #f3f3f3;
    display: flex;
    align-items: center;
}
.webform-element label {
    width: 20%;
    padding: 10px;
    margin-right: 10px;
    background: #f3f3f3;
    margin-bottom: 0!important;
}

/* 確認画面でresetボタン非表示 */
.webform-preview + .webform-elements > .form-actions .reset-btn {
    display: none;
}
.webform-preview + .webform-actions .webform-button--reset {
    display: none;
}