div#block-gc-japan-mainpagecontent {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.js-form-item.form-item.js-form-type-checkbox.form-type-checkbox,
.js-form-item.form-item.js-form-type-radio.form-type-radio{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .5rem;
    width: 100%;
}

input.form-item__textfield.form-checkbox,
input.form-item__textfield.form-radio{
    width: fit-content;
}
.form-actions__wrapper {
    margin-bottom: 2rem;
}
input#edit-actions-preview-prev {
    background: #fff;
    color: #009878;
}
legend.h2 {
    display: block;
     font-size: 0.875rem;
    margin-bottom: .5em;
    color: var(--c-green-dark);
    font-weight: 400;
    text-transform: capitalize;
}

.form-fieldset {
    margin-bottom: 0 !important;
    margin-left: 0 !important;
}

.form-fieldset .form-item {
    margin-left: 0 !important;
}

fieldset#edit-job-type {
    margin-bottom: 0;
}

fieldset#edit-gcyou-nohui-ru-hui-you-wu--wrapper {
    margin-bottom: 0;
}

.js-form-item.form-item.js-form-type-select.form-item-job-type-select.form-type-select {
    margin-left: 0;
}

.js-webform-select-other-input.webform-select-other-input.js-form-item.form-item.js-form-type-textfield.form-item-job-type-other.form-type-textfield {
    margin-left: 0;
}

fieldset#edit-timing--wrapper,
fieldset#edit-support--wrapper,
fieldset#edit-opening-type--wrapper{
    margin-bottom: .5em;
}

legend#edit-gcyou-nohui-ru-hui-you-wu--wrapper-legend {
    margin-bottom: 1rem;
}

legend.h2.js-form-required.form-required {
    margin-bottom: 1rem;
}

legend.h2.js-form-required.form-required + div:not([class]) {
    color: #f00;
    color: var(--c-default-red);
    font-size: 0.6875rem;
    margin-top: 0.3125rem;
}  

fieldset#edit-job-type legend.h2 {
    margin-bottom: 0.1875rem;
}
 
.js-form-item.form-item.js-form-type-radio {
    margin-bottom: .5rem;
}

.js-form-item.form-item.js-form-type-radio:last-of-type {
    margin-bottom: 1rem;
}
input#edit-submit-preview-prev {
    background: #fff;
    color: #009878;
}

@media only screen and (min-width: 768px) {
   legend.h2 {
        font-size: 1rem;
    }
}

