@charset "utf-8";

/*
select[readonly] {
  background-image: none;
  pointer-events: none;
}
*/

textarea,
input:not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=checkbox]):not([type=radio]):not([type=hidden]) {
  border: 1px solid #ccc;
}
textarea:focus,
input:not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=checkbox]):not([type=radio]):not([type=hidden]):focus {
  border-color: #666;
}

input.number-format, input.number-plain {
    text-align: end;
}

#backbutton {
  display: inline-block;
  margin-top: 10px;
  vertical-align: top;
}

a.revise {
    display: inline-block;
    padding: 5px 8px;
    font-size: 80%;
    line-height: 1;
    border: 1px solid #cccccc;
    background: linear-gradient(to bottom, #ffffff, #dfdfdf);
    background: -moz-linear-gradient(top, #ffffff, #dfdfdf);
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dfdfdf', GradientType=0)";
    white-space: nowrap;
    font-weight: normal;
    text-decoration: none;
    color: #000000;
    height: auto !important;
}
a.revise:hover {
    border: 1px solid #999999;
    background: linear-gradient(to bottom, #dedede, #efefef);
    background: -moz-linear-gradient(top, #dedede, #efefef);
    background: -webkit-gradient(linear, left top, left bottom, from(#dedede), to(#efefef));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#dedede', endColorstr='#efefef', GradientType=0)";
}
input.button{
    margin: 4px;
    padding: 0 12px;
    font-size: 100%;
    line-height: 32px;
    border: 1px solid #003399;
    background: linear-gradient(to bottom, #006699, #003366);
    background: -moz-linear-gradient(top, #006699, #003366);
    background: -webkit-gradient(linear, left top, left bottom, from(#006699), to(#003366));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#003366', GradientType=0)";
    white-space: nowrap;
    font-weight: normal;
    text-decoration: none;
    color: #cccccc;
    height: 32px;
    min-width: 120px;
    font-family: "ヒラギノ丸ゴ Pro W4", "Hiragino Maru Gothic Pro",
                 "メイリオ", Meiryo,
                 "ＭＳ Ｐゴシック", "MS PGothic",
                 sans-serif;
}
input.button:hover{
    border: 1px solid #660000;
    background: linear-gradient(to bottom, #cc0000, #660000);
    background: -moz-linear-gradient(top, #cc0000, #660000);
    background: -webkit-gradient(linear, left top, left bottom, from(#cc0000), to(#660000));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#cc0000', endColorstr='#660000', GradientType=0)";
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff url(style/img/arrow.svg) no-repeat 100% 50%;
  background-size: 20px 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: .75rem;
  outline: none;
  padding: 6px 24px 6px 5px;
}
select:focus {
  border-color: #666;
}
/* Hide pulldown arrow for IE */
select::-ms-expand {
  display: none;
}

label.disabled {
  opacity: 0.4;
  pointer-events: none;
}

*.P5msg {
  background-color: #cfc;
  border: 1px solid green;
  border-radius: 6px;
  box-sizing: border-box;
  color: green;
  display: block;
  font-size: 0.83rem;
  max-width: 800px;
  margin: auto;
  padding: 0.5em 0.8em;
}
*.P5err {
  color: red;
}

input.P5err, select.P5err, textarea.P5err {
  background-color: #ffc;
  color: #024;
}
td.P5err, th.P5err {
    background: #ffcccc !important;
}


#custom-validity-tip {
  display: block;
  filter: drop-shadow(3px 0 10px rgb(0 0 0 / 30%));
  left: 0;
  position: absolute;
  padding: 0 1px;
  top: 0;
  z-index: 99999;
}
#custom-validity-tip .text {
  backdrop-filter: blur(6px);
  background-color: color-mix(in srgb, canvas 90%, transparent);
  border-radius: 12px;
  box-sizing: border-box;
  color: canvastext;
  display: block;
  font-size: 0.72rem;
  max-width: 320px;
  padding: 3px 10px;
}
#custom-validity-tip .triangle {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  display: block;
  height: 10px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 100%;
  width: 16px;
}
#custom-validity-tip .triangle .blr {
  backdrop-filter: blur(6px);
  background-color: color-mix(in srgb, canvas 90%, transparent);
  content: '';
  display: block;
  height: 100%;
  width: 100%;
}
#validitybox {
  border: 0 none transparent;
  bottom: 0;
  height: 1px;
  left: 0;
  line-height: 1;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}
*:has(#validitybox) {
  position: relative;
}
*:has(#validitybox).top #validitybox {
  bottom: auto;
  top: 0;
}
*:has(#validitybox).center #validitybox {
  left: 50%;
}
*:has(#validitybox).end #validitybox {
  left: auto;
  right: 0;
}

div#optional-buttons {
    margin-top: 0.8rem;
    text-align: center;
}

*.disable-submit:focus,
*.disable-submit:hover,
*.disable-submit {
  cursor: normal !important;
  filter: grayscale() !important;
  opacity: 0.3 !important;
  pointer-events: none !important;
}

a.back,
a.controler {
    border: 0 none;
}
a img {
    vertical-align: bottom;
    border: 0 none;
}



input#subscribe {
    margin: 0;
    padding: 0;
    border: 0 none !important;
    background: transparent;
    font-size: 100%;
    text-decoration: underline;
    color: #0000ff;
}

#progressbar {
    border-collapse: collapse;
}
#progressbar tr {
    height: 7px;
}
#progressbar td {
    padding: 0;
    border: 0 none;
    background-color: #ffff83;
}


small.essential {
  color: #cc0000;
  font-size: .9em;
}

/* blue button */
span.blue {
  background: linear-gradient(to bottom, #2e86ea, #75ade8);
  display: inline-block;
  margin: 4px;
  padding: 1px;
  position: relative;
  vertical-align: bottom;
}
span.blue > * {
  align-items: center;
  background: linear-gradient(to bottom, #bfddf7, #6da7ee 30%, #559ae8 50%, #75ade8);
  border: 0 none;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font-size: .82rem;
  justify-content: center;
  margin: 0;
  min-height: 29px;
  min-width: 140px;
  padding: 0;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0,0,0,.8);
}
span.blue .backbutton {
  padding: 0 12px 0 28px;
}
span.blue .backbutton:before {
  background: #fff;
  border-radius: 10px;
  content: '';
  display: inline-block;
  height: 20px;
  left: 6px;
  margin: -10px 0 0;
  position: absolute;
  top: 50%;
  width: 20px;
}
span.blue .backbutton:after {
  background: transparent;
  border: 1px solid transparent;
  border-right-color: #333;
  border-width: 4px 8px;
  content: '';
  display: inline-block;
  height: 0;
  left: 3px;
  margin: -4px 0 0;
  position: absolute;
  top: 50%;
  width: 0;
}
span.blue .nextbutton {
  padding: 0 32px 0 12px;
}
span.blue .nextbutton:before {
  background: #fff;
  border-radius: 10px;
  content: '';
  display: inline-block;
  height: 20px;
  margin: -10px 0 0;
  position: absolute;
  right: 6px;
  top: 50%;
  width: 20px;
}
span.blue .nextbutton:after {
  background: transparent;
  border: 1px solid transparent;
  border-left-color: #333;
  border-width: 4px 8px;
  content: '';
  display: inline-block;
  height: 0;
  margin: -4px 0 0;
  position: absolute;
  right: 3px;
  top: 50%;
  width: 0;
  transition: all 0.5s linear;
}
span.blue:hover .nextbutton:after {
  border-left-color: #f33;
}

html.test body {
  background-color: #ffffde;
}
html.test.admin-answer body {
  background-color: initial;
}

#zip-search {
  background: #ccc;
  border: 1px solid #999;
  border-radius: 2px;
  font-size: .7rem;
  padding: .2em .8em;
}
#zip-search:hover {
  background: #396;
  border: 1px solid #369;
  color: #fff;
}

.toggle-js-hide {
  display: none !important;
}

/* blue button */
/*
span.blue{
    background: linear-gradient(to bottom, #2e86ea, #75ade8);
    display: inline-block;
    margin: 4px;
    padding: 1px;
    position: relative;
    vertical-align: bottom;
}
span.blue *.controler{
    background: linear-gradient(to bottom, #bfddf7, #6da7ee 30%, #559ae8 50%, #75ade8);
    border: 0 none;
    box-sizing: border-box;
    color: #fff;
    display: inline-block;
    font-size: .9rem;
    line-height: 30px;
    margin: 0;
    min-width: 140px;
    padding: 0 12px;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,.8);
}
span.blue .backbutton {
  padding: 0 12px 0 28px;
}
span.blue .backbutton:before {
  background: #fff;
  border-radius: 10px;
  content: '';
  display: inline-block;
  height: 20px;
  left: 6px;
  margin: -10px 0 0;
  position: absolute;
  top: 50%;
  width: 20px;
}
span.blue .backbutton:after {
  background: transparent;
  border: 1px solid transparent;
  border-right-color: #333;
  border-width: 4px 8px;
  content: '';
  display: inline-block;
  height: 0;
  left: 3px;
  margin: -4px 0 0;
  position: absolute;
  top: 50%;
  width: 0;
}
span.blue #logoutbutton{
    line-height: 26px;
    min-width: 120px;
}
*/


html.admin-answer.question-f1n form .controls,
html.admin-answer.question-f1 form .controls {
  margin-top: 1.2rem;
}
html.admin-answer #sendmail-block {
  margin: 2em auto 1em;
  width: 700px;
}
html.admin-answer #mail-editor {
  border: 1px solid #ccc;
  width: 100%;
}
html.admin-answer #mail-editor .fieldset {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #ccc;
  display: flex;
  width: 100%;
}
html.admin-answer #mail-editor .fieldset:last-child {
  border-bottom: 0 none transparent;
}
html.admin-answer #mail-editor .fieldset > input {
  border: 0 none transparent;
  flex-grow: 1;
  padding: .8em .8em .8em 0;
  width: 50%;
}
html.admin-answer #mail-editor .fieldset > label {
  display: block;
  padding: .2em .8em;
  white-space: nowrap;
}
html.admin-answer #mail-editor .fieldset > textarea {
  border: 0 none transparent;
  height: 80em;
  margin: 0;
  padding: .8em;
  resize: none;
  width: 100%;
}

/* disabled */
input:not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=checkbox]):not([type=radio]):not([type=hidden]):disabled,
textarea:disabled {
  background-color: #eee;
  color: transparent;
}
select:disabled {
  background-color: #eee;
  color: #ccc;
}
select:disabled.readonly {
  background-color: initial;
  color: initial;
}
a[disabled], a[data-disabled] {
  cursor: normal;
  filter: grayscale(1);
  opacity: 0.6;
  pointer-events: none;
}

*.hide-by-inputenabler:not(.use-visibility) {
  display: none;
}
*.invisible-by-inputenabler,
*.hide-by-inputenabler.use-visibility {
  visibility: hidden;
}

div.q-block table.hyogumi-inner td {
  background: transparent;
}

table.kakunin td.hidden {
  display: none;
}

html.test-mode body:after {
  background: rgba(255,0,0,0.7);
  border-radius: 5px;
  color: rgba(255,255,255,0.8);
  content: '-- Test Mode --';
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  left: 8px;
  line-height: 1;
  padding: 1em;
  position: fixed;
  top: 12px;
  z-index: 199;
}
html.admin-answer.test-mode body:after {
  top: 36px;
}

html.pwcheck input[name=password].ok,
html.pwcheck input[name=retype].ok {
  background: #cfc;
}
html.pwcheck input[name=password].ng,
html.pwcheck input[name=retype].ng {
  background: #ffc;
}
html.pwcheck input[name=password].bad,
html.pwcheck input[name=retype].bad {
  background: #fcc;
}

html.admin-answer #nextbutton.disabled,
html.admin-answer #nextbutton[disabled] {
  opacity: 0.5;
  cursor: default;
  -webkit-filter:grayscale(100%);
  -moz-filter:grayscale(100%);
  filter:grayscale(100%);
}

#temporary_password {
  font-family: 'Courier New', monospace;
  font-weight: bold;
}
#temporary_password b {
  color: #900;
  font-weight: inherit;
}
#temporary_password i {
  color: #39f;
  font-style: normal;
}


.centering {
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

select.readonly {
  /*pointer-events: none;*/
}


div.cover {
  align-items: center;
  background: rgba(0,0,0,0.8);
  bottom: 0;
  color: #fff;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}
div.cover p {
  font-size: 0.9rem;
}
div.cover ul {
  font-size: 0.9rem;
  margin: 1em 2em;
}
div.cover li {
  text-align: left;
}
div.cover a {
  color: inherit;
  text-decoration: none;
}
div.cover b {
  color: #ff0;
  font-weight: normal;
  text-decoration: underline;
}


html.custom html,
html.custom body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  text-align: initial;
}
html.custom header {
  align-items: center;
  background: #D9E5FF none 50% 50%;
  display: flex;
  justify-content: center;
}
html.custom header .title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  padding: 0.8em;
}
html.custom header .title.multilingual {
  font-size: 1rem;
  line-height: 1.1;
}
html.custom main {
  align-items: center;
  display: flex;
  flex-direction: column;
}
html.custom main article {
  margin: 1em auto;
  max-width: 980px;
}
html.custom main article h1 {
  display: none;
}
html.custom main article > section {
  margin: 1em auto;
}
html.custom main article > section section {
  margin-top: 0.8em;
}
html.custom main article > section hr {
  border: 0 none transparent;
  border-top: 1px dotted #666;
}
html.custom main article section .element-name:before {
  color: #36c;
  content: '［';
  font-feature-settings: 'palt';
}
html.custom main article section .element-name:after {
  color: #36c;
  content: '］';
  font-feature-settings: 'palt';
}
html.custom main article .ta-c {
  text-align: center;
}
html.custom main article #err-system .P5err {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1em;
}
html.custom main article .caution {
  background-color: #ffc;
  border: 1px solid #cc9;
  border-radius: 0.5em;
  padding: 1em;
}
html.custom main article .caution h2 {
  color: #c00;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
html.custom main article .caution h3 {
  font-size: 0.9rem;
  margin: 0;
}
html.custom main article .caution p {
  font-size: 0.82rem;
  line-height: 1.8;
  margin: auto;
}
html.custom main article .caution .note {
  margin-left: 1em;
  text-indent: -1em;
}
html.custom main article .caution .note:before {
  content: '※';
}
html.custom main section .underline {
  text-decoration: underline;
  text-decoration-color: #f00;
  text-decoration-style: wavy;
}
html.custom main section .underline.inheritance {
  color: inherit;
}
html.custom main a.button,
html.custom main form button,
html.custom main form input[type=button],
html.custom main form input[type=reset],
html.custom main form input[type=submit] {
  background-color: #36f;
  border: 0 none transparent;
  border-radius: 4px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 0.85rem;
  margin: 2px;
  min-width: 60px;
  outline: none;
  padding: 0.5em 0.8em;
  text-decoration: none;
  transition: all 0.3s ease 0s;
  user-select: none;
  vertical-align: top;
  -webkit-user-select: none;
}
html.custom a.button:disabled,
html.custom form button:disabled,
html.custom form input[type=button]:disabled,
html.custom form input[type=reset]:disabled,
html.custom form input[type=submit]:disabled {
  background-color: #efefef !important;
  color: #ccc !important;
  cursor: default;
  pointer-events: none;
}
html.custom a.button:focus, html.custom a.button:hover,
html.custom form button:focus, html.custom form button:hover,
html.custom form input[type=button]:focus, html.custom form input[type=button]:hover,
html.custom form input[type=reset]:focus, html.custom form input[type=reset]:hover,
html.custom form input[type=submit]:focus, html.custom form input[type=submit]:hover {
  background-color: #f60;
}
html.custom main a.button.abort {
  background-color: #ccc;
}
html.custom main a.button.abort:focus,
html.custom main a.button.abort:hover {
  background-color: #c00;
}

html.custom form {
  align-items: center;
  display: flex;
  flex-direction: column;
}
html.custom form input[type=email],
html.custom form input[type=password],
html.custom form input[type=text] {
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 0.85rem;
  outline: none;
  padding: 0.5em 24px 0.5em 0.5em;
  width: 220px;
}
html.custom form input[type=email]:focus,
html.custom form input[type=password]:focus,
html.custom form input[type=text]:focus {
  border-color: #339;
}
html.custom form input[type=password].ok,
html.custom form input[type=text].ok {
  background-image: url(style/check.png);
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  padding-right: 24px;
}
html.custom form .fieldgroup {
  align-items: start;
  display: flex;
  flex-direction: column;
}
html.custom form .fieldset {
  display: flex;
  margin-bottom: 0.8em;
}
html.custom form .fieldset.valign-center {
  align-items: center;
}
html.custom form .fieldset span.P5err {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.3em;
}
html.custom form .fieldset > label {
  box-sizing: border-box;
  display: inline-box;
  font-size: 0.85rem;
  min-width: 150px;
  padding: 0.5em;
  text-align: end;
}
html.custom form .fieldset a {
  display: inline-block;
  font-size: 0.8rem;
  text-decoration: none;
}
html.custom form .controls {
  margin-top: 1em;
}

html.custom main .language-selector {
  background-color: #36c;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin: 0;
  padding: 0.3em;
  width: 100%;
}
html.custom main .language-selector .fieldset {
  margin: 0;
}
html.custom main .language-selector select {
  border: 1px solid #ccc;
  padding: 3px 24px 3px 6px;
}
html.custom main .language-selector label {
  align-items: center;
  display: inline-flex;
  font-size: 0.75rem;
  line-height: 1;
  min-width: auto;
  padding: 3px 6px;
  pointer-events: none;
}
html.custom main .language-selector button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-left-width: 0;
  border-radius: 0;
  color: #333;
  font-size: 0.75rem;
  margin: 0;
  min-width: auto;
  padding: 3px 6px;
}

html.question-reminder form .fieldset > label {
  min-width: auto;
}
html.question-reminder #err-nologin {
  background-color: #fdd;
  border: 1px solid #f99;
  border-radius: 6px;
  padding: 1em;
}
html.question-reminder #err-nologin p {
  color: #f00;
  font-size: 0.8rem;
  margin: auto;
}

html.question-f0 form .fieldset > label {
  min-width: 90px;
}
html.question-f0 form .fieldset .input {
  display: block;
}
html.question-f0 form .fieldset .input > label {
  box-sizing: border-box;
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.5em;
}
html.question-f0 form .controls button {
  min-width: 120px;
}

.group-header .confirmation {
  background-color: #ffdfdf;
  border: 1px solid #f00;
  border-radius: 0.5rem;
  box-sizing: border-box;
  padding: 0.8rem;
  margin: 0.8rem auto auto;
  max-width: 800px;
}
.group-header .confirmation button {
  background: #c00;
  border: 0 none transparent;
  border-radius: 0.3rem;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  min-width: 80px;
  padding: 0.6em;
}
.group-header .confirmation > p:first-of-type {
  margin-top: 0;
}
.group-header .confirmation > p:last-of-type {
  margin-bottom: 0;
}


table.f30 tr td:last-of-type {
  width: 100% !important;
}
table.f30 tr.P5err td {
  background-color: #fcc;
}
table.la-f30 {
  width: auto;
}
table.la-f30 td {
  white-space: nowrap;
}
table.la-f30 > tbody > tr td:last-of-type {
  width: 100% !important;
}
table.la-f30 td > table {
  border-collapse: collapse;
}


html.question-confirmf td.isempty,
html.question-confirmf1 td.isempty,
html.question-confirmf1n td.isempty,
html.question-confirmq td.isempty,
html.question-confirmf .readonly_field.isempty,
html.question-confirmf1 .readonly_field.isempty,
html.question-confirmf1n .readonly_field.isempty,
html.question-confirmq .readonly_field.isempty {
  color: #bbb;
}
div.q-block table.kakunin tbody tr > td:nth-child(2).isempty {
  color: #BBB;
}
html.question-confirmq .flex {
  align-items: start;
  display: flex;
  margin-right: -0.2em;
}
html.question-confirmq .flex .flex-item {
  margin-right: 1.5em;
}
html.question-confirmq .flex .revise {
  margin-left: auto;
}
html.question-confirmf1n .prefix, html.question-confirmf1n .suffix,
html.question-confirmf1 .prefix, html.question-confirmf1 .suffix,
html.question-confirmf .prefix, html.question-confirmf .suffix,
html.question-confirmq .prefix, html.question-confirmq .suffix {
  color: #666;
}


div.progressbar {
  margin-bottom: 30px;
}
div.progress-outer {
  overflow: visible;
}
div.progress-inner {
  position: relative;
}
div.progress-inner .text {
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: bold;
  left: 100%;
  margin: 4px 0 0 -50px;
  position: absolute;
  text-align: center;
  top: 100%;
  width: 100px;
}

html.question-f1 .kaisya-inner ,
html.question-f1n .kaisya-inner {
  width: 740px;
}
html.question-f1 div.q-block table#F1_TBL.kaisya td.label ,
html.question-f1n div.q-block table#F1_TBL.kaisya td.label {
  width: 36%;
}
html.question-f1 div.q-block table#F1_TBL.kaisya .gyoshuwaku ,
html.question-f1n div.q-block table#F1_TBL.kaisya .gyoshuwaku {
  width: 100%;
}
html.question-f1 div.q-block table#F1_TBL.kaisya .gyoshu td.label ,
html.question-f1n div.q-block table#F1_TBL.kaisya .gyoshu td.label {
  width: 100%;
}
html.question-f1 div.q-block table#F1_TBL.kaisya .jugyoin td.label ,
html.question-f1n div.q-block table#F1_TBL.kaisya .jugyoin td.label {
  width: auto;
}
html.question-f1 div.q-block table.kakunin ,
html.question-f1n div.q-block table.kakunin {
  margin: 1em auto 1em 0;
}

.f16-40a select {
  box-sizing: border-box;
  margin: 2px auto;
  padding: 5px;
  width: 100%;
}
.f16-40a select:disabled {
  color: transparent;
}
.f16-40a select:invalid {
  color: #f99;
}
.f16-27, .f16-57, .f16-40b {
  align-items: center;
  display: flex;
  white-space: nowrap;
}
.f16-27 input, .f16-57 input, .f16-40b input {
  flex-grow: 1;
  margin: auto 5px;
  padding: 5px;
  width: 100%;
}
.f16-27 input:invalid::placeholder,
.f16-57 input:invalid::placeholder,
.f16-40b input:invalid::placeholder {
  color: #f99;
}
.f16-27 input:disabled,
.f16-57 input:disabled,
.f16-40b input:disabled,
.f16-27 input:disabled::placeholder,
.f16-57 input:disabled::placeholder,
.f16-40b input:disabled::placeholder {
  color: transparent;
}

.fa-space {
  align-items: center;
  display: flex;
  white-space: nowrap;
}
.fa-space input {
  box-sizing: border-box;
  flex-grow: 1;
  height: auto;
  margin: auto 5px;
  max-width: 425px;
  padding: 3px 5px;
}
.fa-space input:invalid::placeholder {
  color: #f99;
}
.fa-space input:disabled::placeholder {
  color: transparent;
}
.fa-space.inline {
  display: inline-flex;
}
.fa-space.inline input {
  margin: auto 3px;
}

div.q-block table.hyogumi.block-c {
  table-layout: fixed;
}
div.q-block table.hyogumi.block-c th {
  box-sizing: border-box;
  padding: 0.3em 1em;
  text-align: center;
  white-space: nowrap;
  width: 100px;
}
div.q-block table.hyogumi.block-c td {
  box-sizing: border-box;
  padding: 8px;
  text-align: start;
  width: 275px;
}
div.q-block table.hyogumi.block-c td select {
  margin-bottom: 0.3em;
}

div.q-block table.kaisya-inner table.standard {
  border-collapse: collapse;
  margin: 0.8em auto 1.5em;
  table-layout: fixed;
}
div.q-block table.kaisya-inner table.standard tr td:nth-child(1) {
  width: 25px;
}
div.q-block table.kaisya-inner table.standard tr td:nth-child(2),
div.q-block table.kaisya-inner table.standard tr td:nth-child(4) {
  width: 165px;
}
div.q-block table.kaisya-inner table.standard tr td:nth-child(3) {
  width: 153px;
}
div.q-block table.kaisya-inner table.standard td {
  border: 1px solid #999;
  box-sizing: border-box;
  padding: 0.5em;
  position: relative;
}
div.q-block table.kaisya-inner table.standard thead td {
  text-align: center;
}
div.q-block table.kaisya-inner table.standard tbody td input:not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
div.q-block table.kaisya-inner table.standard tbody td select {
  bottom: 1px;
  left: 1px;
  position: absolute;
  right: 1px;
  top: 1px;
}
