/* =====================
    contact
========================= */
.smf-form--simple-table .smf-item{
    padding: 1.5em 0;
}

.single-article__body .smf-form * + *{
    margin-top: 0;
}

.single-article__body .smf-form .smf-placeholder{
    margin-bottom: calc(10px + (20 - 10) * ((100vw - 320px) / (1400 - 320)));
}


.smf-form--simple-table .smf-item.required .smf-item__label, 
.smf-form--simple-table .smf-item.any .smf-item__label{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.smf-form--simple-table .smf-item.required .smf-item__label::after, 
.smf-form--simple-table .smf-item.any .smf-item__label::after{
    font-size: var(--footer-text);
    white-space: nowrap;
    line-height: 1;
    margin-left: auto;
    display: inline-block;
    padding: 4px 0.6em;
    transform: translateY(25%);
    border-radius: 1em;
    border: 1px solid;
}
.smf-form--simple-table .smf-item.required .smf-item__label::after{
    content: "必須";
    color: var(--gray-light-color);
    background: var(--main-color);
}
.smf-form--simple-table .smf-item.any .smf-item__label::after{
    content: "任意";
    color: var(--text-color);
    background: var(--gray-light-color);
}
.smf-form .smf-item .smf-text-control__control{
    width: 100%;
}
.smf-form .smf-button-control__control{
    background: var(--primary-color);
    color: var(--background-color);
    margin: auto;
}
.smf-action .smf-button-control__control{
    background-image: none !important;
}
.smf-form--simple-table+.smf-action{
    max-width: 300px;
    margin: 4em auto 0;
}

.smf-form--simple-table .smf-item__col--label{
    flex: 0 0 22em;
    max-width: 22em;
}
.check-box_grid .smf-label{
    display: inline-block;
    margin-right: 1em;
}
.smf-form .smf-file-control{
    margin-bottom: 1em;
}
.smf-form .has-small-font-size{
    margin-top: 15px;
}
.smf-form .wp-block-separator{
    margin: 1.5em 0;
}
.page .contact_lead{
    background-color: var(--gray-light-color);
    margin-bottom: 3.5em;
    padding: 2.5em;
    border-radius: 2em;
    border: 1px solid var(--title-color);
}
.terms-and-conditions{
    padding: 1.5em;
    border: 1px solid var(--title-color);;
    background-color: var(--gray-light-color);
}
.smf-form .smf-checkbox-control{
    align-items: center;
}
@media screen and (max-width: 782px){
    .smf-form--simple-table .smf-item.required .smf-item__label::after, 
    .smf-form--simple-table .smf-item.any .smf-item__label::after{
        margin-left: 0.5em;
        margin-right: auto;
    }
    .smf-form--simple-table .smf-item.required .smf-item__label::after{
        margin-top: -4px;
    }
}