#content fieldset {
    margin-left: 0;
    padding-left: 0;
}

#content form .required {
    font-weight: normal;
}

input
, textarea
{
    border: 1px solid #A9A9A9;
}

textarea:disabled
, select:disabled
, input:not([type]):disabled
, input[type="color" i]:disabled
, input[type="date" i]:disabled
, input[type="datetime" i]:disabled
, input[type="datetime-local" i]:disabled
, input[type="email" i]:disabled
, input[type="month" i]:disabled
, input[type="password" i]:disabled
, input[type="number" i]:disabled
, input[type="search" i]:disabled
, input[type="tel" i]:disabled
, input[type="text" i]:disabled
, input[type="time" i]:disabled
, input[type="url" i]:disabled
, input[type="week" i]:disabled 
{
    background-color: #bdbdbd;
}

#content .fix-size {
    flex: none !important;
    -ms-flex: none !important;
    -webkit-flex: none !important;
}

form > fieldset > legend {
    vertical-align: middle;
    margin-bottom: 1rem;
    border-bottom: solid 2px #AACF52;
    width: 100%;
    font-size: 1.1rem;
    font-weight: normal;
    color: #000;
}
form > fieldset > legend::before {
    content: "\25A0";
    display: inline-block;
    height: 100%;
    width: 1.5em;
    vertical-align: middle;
    color: #AACF52;
    font-size: .5em;
}

.form form > fieldset > :not(legend)
{
    display: -webkit-inline-flex;
    display: -ms-inline-flex;
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    -ms-align-items: stretch;
    align-items: stretch;
    padding: 0;
    margin: 0;
    border-style: solid;
    border-color: #777;
    border-width: 1px 1px 0;
}
.form form > fieldset > .checkbox {
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.form form > fieldset > :last-child {
    border-bottom-width: 1px;
}
.form form > fieldset > :not(legend):not(.checkbox) > :not([type="hidden"]):first-child
, .form form > fieldset > .checkbox > :last-child
{
    width: 14em;
    /* max-width: 15%; */
    background: #999;
    margin: 0;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #777;
    font-size: .8rem;
    color: #fff;
    text-align: center;
    font-weight: normal;
}
.form form > fieldset > :not(legend) > legend {
    float: left;
}
.form form > fieldset > :not(legend):not(.checkbox) > :not([type="hidden"]):nth-child(2)
, .form form > fieldset > .checkbox > :nth-last-child(2)
{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 0;
    font-size: .8rem;
    max-width: calc(100% - 14em);
}
.form [type="text"]
, .form [type="number"]
, .form [type="file"]
, .form textarea
, .form select
, .form option
{
    padding: .2em !important;
    font-size: .8rem;
}
.form [type="file"] {
    border: none;
}
#regist_notify > :nth-child(2) {
    align-items: stretch !important;
    -webkit-align-items: stretch !important;
}
.form form > fieldset > :not(legend):not(.checkbox) > :not([type="hidden"]):nth-child(2) {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
#content form > fieldset > :not(legend):not(.checkbox) > select {
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}
.form form > fieldset > :not(legend):not(.checkbox) > :last-child::after {
    content: "";
    display: block;
    clear: both;
}
.form .radio {
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
.form .radio label {
    font-weight: normal
}
.form .radio label:after {
    content: "";
}
.form .radio [type="text"] {
    margin-left: .4em;
    margin-right: .4em;
}
#content .input-radio {
    display: inline-flex;
    display: -webkit-inline-flex;
    display: -ms-inline-flex;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    margin-right: .1em;
}
#content .input-radio label, #content .inputs .input .input-radio label {
    display: inline-flex;
    display: -webkit-inline-flex;
    display: -ms-inline-flex;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    margin-left: .2em !important;
    width: auto;
}

#after_mail > :nth-child(2)
, #regist_notify > :nth-child(2)
{
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-align-items: flex-start;
    align-items: flex-start;
    margin: 0;
}
#download_format > :nth-child(2) {
    margin: 0;
}
#after_mail > :nth-child(2) > div
, #download_format > :nth-child(2) > div
, #regist_notify > :nth-child(2) > div
{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 0;
    font-size: .8rem;
}
#after_mail > :nth-child(2) > div > div
, #download_format > :nth-child(2) > div > div
, #regist_notify > :nth-child(2) > div > div
{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}
#regist_notify > :nth-child(2) > div > div {
    width: calc(100% - 20em);
}

.legend {
    cursor: default;
}
.legend.required:after {
    color: #e32;
    content: '*';
    display: inline;
}
.fieldset .input
, .fieldset label
{
    display: inline-block;
    margin: 0;
    margin-right: .5em;
    padding: 0;
    word-break: keep-all;
}
.fieldset .input:nth-of-type(n+2)
, .fieldset label:nth-of-type(n+2)
{
    margin-right: .5em;
}
.fieldset > :nth-child(2) > div input[type="checkbox"] {
    margin: 0 6px 0 2px;
}
#dl_filename {
    display: none !important;;
}
#regist_notify .required label
, .checkbox.required label
{
    font-weight: 500;
}
#regist_notify .required label::after
, .checkbox.required label::after
{
    content: "" !important;
}

#content .error {
    border-radius: unset;
}
#content form .error-message {
    margin: 0 1em 0 0;
    border-radius: unset;
}

#content .is-hissu {
    display: block;
    border: none;
    background: inherit;
}
#content .is-hissu i {
    display: inline;
    background: none;
    border: none;
    color: red;
}
#content .is-hissu i:after {
    content: none;
}
#content fieldset + .comment {
    position: relative;
    box-sizing: content-box;
    width: 100em;
    max-width: 100%;
    margin: 0;
    padding-left: 1.5em;
}
#content fieldset + .comment::before {
    content: "\203B";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

#content .autoConfirmVal {
    margin: 5px;
    min-height: 1em;
    font-size: .8rem;
}