/* =========================================================
  form
========================================================= */
/* common
----------------------------------------------- */
body[class^="dir-application"] #globalNavi ul li.top a {
  color: #000;
  font-weight: bold;
}

body[class^="dir-application"] #globalNavi ul li.top a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  height: 6px;
  background: #518be6;
}

.contentPage {
  padding-bottom: 200px;
  padding-top:0px;
}

.notice {
  margin-bottom: 30px;
  color: #325388;
}

.notice li::before {
  content: "※";
}

.notice li {
  padding-left: 1em;
  text-indent: -1em;
}

@media only screen and (max-width: 959px) {
  .notice {
    margin-bottom: 20px;
    font-size: 85%;
  }
}

/* consent
----------------------------------------------- */
.consent {
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 6px;
  background-color: #fff;
}

.consent ol {
  list-style-type: decimal;
  margin: 0 0 1.5em 1.25em;
}

.consent ol:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
  .consent {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 85%;
  }
}

/* checkbox,radio
----------------------------------------------- */
input[type=radio],
input[type=checkbox] {
  display: inline-block;
  margin-right: 6px;
  vertical-align: top;
}

input[type=radio]+label,
input[type=checkbox]+label {
  display: inline-block;
  position: relative;
  margin-right: 1.5em;
  line-height: 1.8;
  cursor: pointer;
}

input[type=radio],
input[type=checkbox] {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

input[type=radio]+label,
input[type=checkbox]+label {
  padding: 0 0 0 26px;
}

input[type=radio]+label::before,
input[type=checkbox]:not(.search-personal)+label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  margin-top: -8px;
}

input[type=radio]+label::before,
input[type=checkbox]+label::before {
  border: 1px solid #828899;
  background: #fff;
}

input[type=radio]:disabled+label::before,
input[type=checkbox]:disabled+label::before {
  background: transparent;
}

input[type=radio]+label::before {
  border-radius: 50%;
}

input[type=checkbox]+label::before {
  border-radius: 3px;
}

input[type=radio]:checked+label::before,
input[type=checkbox]:checked:not(.search-personal)+label::before {
  border-color: transparent;
  background: #3da9fc;
}

input[type=radio]:checked:disabled+label::before,
input[type=checkbox]:checked:disabled:not(.search-personal)+label::before {
  border-color: #828899;
  background: #828899;
}

input[type=radio]+label::after,
input[type=checkbox]:not(.search-personal)+label::after {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  margin-right: 10px;
}

input[type=radio]:checked+label::after {
  left: 6px;
  width: 8px;
  height: 8px;
  margin-top: -2px;
  background: #fff;
  border-radius: 50%;
}

input[type=checkbox]:checked:not(.search-personal)+label::after {
  left: 3px;
  width: 14px;
  height: 8px;
  margin-top: -4px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

input[type=radio]+label, input[type=checkbox]+label {
  padding: 0 0 0 30px;
}

input[class=radio-red]:checked+label::before,
input[class=radio-red]:checked+label::before {
    border-color: transparent;
    background: #CC4444;
}

.radio-message, .note {
    color: #2455a3;
}

.radio-message {
    display: none;
    margin-left: 26px;
    font-size: 15px;
}

@media only screen and (max-width: 959px) {
  /*
  label {
    font-size: 90%;
  }
  
  input[type=radio]:checked+label::after {
    margin-top: -3px;
  }
  */

  .answer li input[type=radio]+label:last-child,
  .answer li input[type=checkbox]+label:last-child {
    margin-right: 0;
  }

  input[type=checkbox]:checked:not(.search-personal)+label::after {
    left: 3px;
    width: 9px;
    height: 6px;
    margin-top: -2px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
  }

  input[type=radio]:checked+label::after {
    left: 6px;
    width: 6px;
    height: 6px;
    margin-top: -2px;
    margin-left: -2px;
    background: #fff;
    border-radius: 50%;
  }

  input[type=radio]+label::before, input[type=checkbox]:not(.search-personal)+label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin-top: -6px;
    -webkit-transform: scale(1.5);
}

  input[type=radio]+label, input[type=checkbox]:not(.search-personal)+label {
    padding: 0 0 0 19px;
  }

  .radio-message {
    font-size: 80%;
  }
}

/* step
----------------------------------------------- */
.step {
    list-style-type: none;
    display: table;
    width: 100%;
    padding: 0;
    margin-bottom: 45px;
    overflow: hidden;
    word-break: keep-all;
}

.step li {
    display: table-cell;
    position: relative;
    background: #bcc0c4;
    padding: 0.5em 0.5em 0.5em 2em;
    font-weight: bold;
}

.step li:last-child {
    padding-right: 1em;
}

.step li:last-child:before,
.step li:last-child:after {
    display: none;
}

.step li:before,
.step li:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
}

.step li:before {
    top: -15px;
    right: -1em;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 40px 0 40px 1em;
    z-index: 10;
}

.step li:after {
    top: -15px;
    right: -.8em;
    border-style: solid;
    border-color: transparent transparent transparent #bcc0c4;
    border-width: 40px 0 40px 1em;
    z-index: 10;
}

.step li.is-current {
    color: #fff;
    background: #518be6;
}

.step li.is-current:after {
    color: #fff;
    border-color: transparent transparent transparent #518be6;
}

.step li.is-complete {
    width: 130px;
}

@media only screen and (max-width: 959px) {
    .step {
        margin-top: -10px;
        margin-bottom: 35px;
    }

    .step img {
        width: 100%;
    }

    .step li {
        padding: 0.5em 0.2em 0.5em 1.3em;
    }

    .step li.is-complete {
        width: 90px;
        font-size: 80%;
        padding: 0.5em 0.5em 0.5em 2em;
    }

    .step li:first-child {
        padding: 0.5em 0.2em 0.5em 0.5em;
    }
}

/* form
----------------------------------------------- */
.form>ul,
.addition ul {
  display: flex;
  flex-wrap: wrap;
  /*margin-bottom: 1.7em;*/
  margin-bottom: 1em;
}

.form>ul>li,
.addition li {
  flex-basis: 100%;
  /*margin-bottom: 1em;*/
}

/*
.form>ul>li .question,
.addition li .question {
  padding-right: 40px;
}
*/

.form>ul>li .answer,
.addition li .answer {
  margin-left: 40px;
}

.answer ul {
  display: flex;
  flex-wrap: wrap;
}

.answer li {
  margin: 0 0 0.5em;
}

#page-application-hoikukyufunintei-step7 .form>ul>li {
  flex-wrap: wrap;
}

#page-application-hoikukyufunintei-step7 .form>ul>li .question {
  flex-basis: 100%;
}

#page-application-hoikukyufunintei-step7 .form>ul>li .answer {
  margin-top: 1em;
  flex-basis: 100%;
}

#page-application-hoikukyufunintei-step7 .answer li {
  display: flex;
  flex-basis: 100%;
}

#page-application-hoikukyufunintei-step7 .answer li label {
  flex-basis: 40%;
}

.answer.reason li:last-child {
  flex-basis: 100%;
}

div[class*=hide] {
  display: none;
}

.addition h2 {
  margin-bottom: 1.5em;
  font-size: 100%;
  font-weight: normal;
}

.required,
.optional {
  display: inline-block;
  line-height: 1;
  padding: 2px;
  margin-left: 0.75em;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 57%;
  vertical-align: middle;
}

.required {
  background-color: #cc4444;
  color: #fff;
}

.optional {
  border-color: #5f6c7b;
  background-color: #fff;
}

.note {
    display: block;
    font-size: 83%;
}

.question .note {
  line-height: 1.3;
  margin-top: 0.25em;
}

.question label .note {
  display: inline-block;
  margin-left: 0.5em;
}

.question .long-explanation {
  background-color: #fff;
  padding: 30px;
  font-size: 75%;
}

.answer div {
  margin-bottom: 5px;
}

.long-explanation {
  margin-bottom: 5px;
}

.answer ul li {
  margin: auto 10px auto 0;
}

.answer label {
  font-size: 90%;
}

select {
  /*width: 410px;*/
  height: 40px;
  padding: 0 10px;
  border: 1px solid #95989a;
  border-radius: 3px;
  background-color: #ffffff;
}

select[class="short"] {
  width: 100px;
}

select[multiple] {
  height: auto;
}

@media only screen and (max-width: 959px) {

  .form>ul,
  .addition ul {
    margin-bottom: 1em;
  }

  .form>ul>li,
  .addition li {
    flex-wrap: wrap;
    margin-bottom: 0.25em;
  }

  .form>ul>li .question,
  .addition li .question,
  .form>ul>li .answer,
  .addition li .answer {
    flex-basis: 100%;
    margin-left: 0px;
  }

  /*
  .form>ul>li .question,
  .addition li .question {
    margin-bottom: 0;
  }
  */

  .answer li {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .answer li.addtext {
    margin-top: 0.5em;
    /*padding-left: 30px;*/
  }

  .addition h2 {
    margin-bottom: 0;
  }

  .note {
    line-height: 1.3;
  }

  .question .long-explanation {
    background-color: #fff;
    padding: 10px;
    font-size: 75%;
  }

  select {
      max-width: calc(100vw - 40px);
      height: 30px;
  }

  select[class="short"] {
      width: 80px;
  }

}

/* textbox
----------------------------------------------- */
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="email"],
textarea {
  width: 410px;
  height: 40px;
  padding: 5px 10px;
  border: 1px solid #95989a;
  border-radius: 3px;
}

input[type="text"][class="short"] {
  width: 200px;
}

input[type="text"][class="yyyymmdd"] {
  width: 100px;
}

input[type="month"],
input[type="date"],
textarea {
  padding: 7px 5px 6px;
  border: 1px solid #95989a;
  border-radius: 3px;
}

select+select:not([id^="list"]) {
  margin-left: 10px;
}

input[type="text"][id^="shimei"]+input[type="text"][id^="shimei"] {
  margin-left: 10px;
}

select[name="facility-area"] {
  width: 100%;
}

select[name^="family"][name$="year"]+label,
select[name^="family"][name$="month"]+label,
select[name^="family"][name$="day"]+label {
  margin: 0 1em 0 0.5em;
  vertical-align: middle;
}

input[type="month"] {
  width: 10em;
}

input[type="number"][id$="age"],
input[type="text"][id$="age"],
input[type="text"][id$="weight"],
input[type="text"][id$="week"],
input[type="text"][id$="month"],
input[type="text"][id$="time"],
input[type="text"][id$="temperature"] {
  margin-right: 0.5em;
}

input[type="number"][id$="age"],
input[type="text"][id$="age"] {
  width: 3em;
  margin-left: 0.5em;
  text-align: center;
}

input[type="text"][id$="weight"],
input[type="text"][id$="week"],
input[type="text"][id$="month"] {
  width: 8em;
}

input[type="text"][id$="time"],
input[type="text"][id$="temperature"] {
  width: 3em;
}

label+input[type="text"][id$="time"],
input[type="text"][id$="temperature"] {
  margin-left: 1em;
}

select+input[type="text"] {
  margin-left: 0.5em;
}

input[type="text"]+input[type="text"],
label+input[type="text"],
input[type="text"]+label,
label+select,
select+label {
  margin-left: 10px;
}

div.input-address > input{
    display: block;
    margin-left: 0px;
    margin-bottom: 5px;
}

label input[type="file"] {
  margin: 0 0 0 1em;
  display: none;
}

textarea {
  height: 8em;
}

input::placeholder {
  color: #ced1d9;
}

.question label {
  vertical-align: middle;
}

.question p {
  margin-bottom: 0.5em;
}

.answer span:first-child {
  margin-right: 1em;
}

input[type="month"],
input[type="date"] {
  margin: 0 0.5em 0 1em;
  padding: 0 0.5em;
}

.attention {
  display: block;
  font-size: 71%;
  color: #cc4444;
}

.attentionQuestion {
  display: block;
  color: #cc4444;
}

#step-1-25 .long{
    width:510px;
}

input[type="text"][class="short autotext"] {
    width: 200px;
    background: #CED1D9;
}

.hasBtn {
    position: relative;
    display: inline-block;
}

label+.hasBtn {
    margin-left: 10px;
}

.hasBtn+label {
    margin-left: 10px;
}

.calendarBtn {
    position: absolute;
    right: 2px;
    top: -5px;
    cursor: pointer;
    background: transparent;
    border: none;
}

@media only screen and (max-width: 959px) {
    /*textarea[id$="job"] {
    width: calc(100% - 30px);
    margin-left: 30px;
  }*/
    input [type="text"][id$="spastic-month"] {
    width: 4em;
  }

  input[type="text"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  textarea {
    width: 100%;
    max-width: 327px;
    height: 30px;
    margin: 5px 0;
  }

  input[class="short-txtbox"] {
    width: 158px;
  }

  .answer span:first-child {
    margin-right: 0.7em;
  }

  #enddate {
    margin-left: 3.7em;
    margin-bottom: 0.25em;
  }

  input[type="text"][class="short"] {
    width: 158px;
  }

  input[type="text"]{
    margin: unset;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  textarea {
    width: 307px;
    height: unset;
  }

  .calendarBtn {
    top: -2px;
  }
}

/* personal navi
---------------------- */
#search-personal-navi,
#search-personal-navi2 {
    margin-top: 10px;
}


    #search-personal-navi input[type="checkbox"],
    #search-personal-navi2 input[type="checkbox"] {
        display: none;
    }

        #search-personal-navi input[type="checkbox"]:checked + label,
        #search-personal-navi2 input[type="checkbox"]:checked + label {
            display: inline-block;
            color: #ffffff;
            background-color: #5282cf;
            border: 1px solid #5282cf;
        }

    #search-personal-navi label,
    #search-personal-navi2 label {
        display: inline-block;
        margin: 5px 5px 5px 0;
        padding: 10px 12px;
        border: 1px solid #2455a3;
        border-radius: 20px;
        font-size: 90%;
        color: #2455a3;
        line-height: 1;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
    }

/* boxContainer
----------------------------------------------- */
.child>.question,
.proof>.question {
  margin-bottom: 20px;
}

.form h2 {
  font-size: 100%;
}

.child h2 {
  margin-top: 0.5em;
}

.family h2 {
  display: inline-block;
  margin-bottom: 30px;
}

.family h2+.attention {
  display: inline-block;
  margin-left: 1em;
}

.boxContainer h3 {
  padding: 10px 15px;
  border-radius: 6px 6px 0 0;
  background-color: #3da9fc;
  color: #fff;
  font-size: 100%;
  font-weight: 500;
}

.boxBody {
  margin-bottom: 45px;
  padding: 20px 40px 20px 40px;
  border-radius: 6px;
  background-color: #fff;
}

.boxBody:last-child {
  margin-bottom: 0px;
}

.offer .boxBody {
  padding-right: 70px;
}

.boxContainer h3+.boxBody {
  border-radius: 0 0 6px 6px;
}

.boxBody li {
  margin-bottom: 1em;
}

.boxBody li:last-child {
  margin-bottom: 0;
}

.boxBody:not(#accountinfo,#inquiry) > ul > li {
    flex-wrap: wrap;
}

#accountinfo > ul > li {
    display: flex;
}

#inquiry > ul > li {
    display: flex;
    margin-bottom: 20px;
}

.offer .boxBody>ul>li:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ced1d9;
}

.boxBody ul ul {
  display: flex;
  flex-wrap: wrap;
}

.boxBody li li {
  flex-basis: 100%;
  margin-bottom: 0;
}

.boxBody li li.addtext {
  margin-top: 0.5em;
}

.boxBody .question {
  flex-basis: calc(47% + 45px);
  line-height: 1.4;
  padding-bottom: 5px;
}

.offer .boxBody .question {
  flex-basis: calc(47% + 20px);
  color: #2455a3;
  font-weight: 500;
}

.boxBody .answer {
  flex-basis: 53%;
}

.boxBody .answer .uploadItems {
  place-items: center;
  display:flex;
}

.boxBody .answer .uploadItems .popup-btn {
  font-size: 75%;
  height: 40px;
  width: 150px;
  min-width: 150px;
  padding: 5px 5px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 30px;
  text-align: center;
  color: #FFFFFE;
  background-color: #3DA9FC;
  align-self : center;
}

.boxBody .answer .uploadItems .popup-btn img {
  height: 20px;
  vertical-align:middle;
}

.boxBody .answer .uploadItems .updatetime {
  font-size: 80%;
  width: 260px;
  margin-left: 30px;
  color: rgba(0,0,0,0.5);
  align-self : center;
}

.boxBody .answer .uploadItems .updatetime img {
  height: 1.5em;
  margin-left: 0.25em;
  vertical-align:text-top;
}

.boxBody .answer .uploadItems .delete {
  display: inline-block;
  line-height: 1;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 3px;
  background-color: #cc4444;
  color: #fff;
  margin: 0 0 0 30px;
  align-self : center;
}

.boxBody .answer .uploadItems input[type="button"]:disabled, 
.boxBody .answer .uploadItems input[type="submit"].disabled {
  color: #FFFFFE;
  background: #CED1D9;
  cursor: not-allowed;
}

.boxBody .answer .uploadItems .fileup {
  color: rgba(0,0,0,0.5);
  width: calc(100% - 30px);
  margin: 0 0 0 30px;
  align-self : center;
  word-break: break-all;
}

.fileupDownload {
  color:#3DA9FC !important;
  text-decoration:underline;
  background: none !important;
  margin-left: 0 !important;
}

.deleteFacility {
  border-radius: 10px;
  border: 1px solid;
}

.text-newline {
    word-break: break-all;
    display: flex;
}

@media only screen and (max-width: 959px) {
  .boxBody {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 90%;
  }

  .boxBody,
  .offer .boxBody {
    padding: 10px;
  }

  .boxBody .question {
    font-size: 90%;
    margin-bottom: 5px;
    padding-bottom: 0px
  }

  .boxBody .answer {
    font-size: 90%;
  }

  .child>.question,
  .proof>.question {
    margin-bottom: 10px;
  }

  .boxBody>ul>li {
    flex-wrap: wrap;
  }

  .offer .boxBody>ul>li:not(:last-child) {
    margin-bottom: 1em;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .boxBody .question,
  .offer .boxBody .question,
  .boxBody .answer {
    flex-basis: 100%;
    padding-right: 0;
  }

  .boxBody .answer .uploadItems {
    place-items: center;
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: auto 0;
  }

  .boxBody .answer .uploadItems .popup-btn {
    order: 1;
    font-size: 75%;
    height: 30px;
    width:100px;
    padding: 5px 5px;
  }
  
  .boxBody .answer .uploadItems .updatetime {
    order: 3;
    width: auto;
    margin-left: 0;
  }

  .boxBody .answer .uploadItems .popup-btn img {
    height: 14px;
    vertical-align:middle;
  }

  .boxBody .answer .uploadItems .delete {
    order: 4;
    font-size: 75%;
    margin: 0 0 0 5px;
  }

  .boxBody .answer .uploadItems .fileup {
    order: 2;
    width: 100%;
    margin: 0 0 0 5px;
  }

  .boxBody input[type="text"],
  .boxBody input[type="tel"],
  .boxBody input[type="number"],
  .boxBody input[type="password"],
  .boxBody input[type="email"],
  textarea {
    /*width: 300px;*/
    height: 30px;
    /* margin: 5px 0; */
  }
    #step-1-25 .long {
        width: 310px;
    }

  textarea{
      height:8em;
  }

  .boxBody input[type="text"][class="short"] {
    width: 145px;
  }

    .boxBody input[type="text"][class="short autotext"] {
        width: 145px;
        background: #CED1D9;
    }

  .boxBody input[type="text"][class="yyyymmdd"] {
    width: 90px;
  }

  .boxBody textarea {
    width: 300px;
    height: unset;
  }

  .boxBody select {
    /*width: 300px;*/
    height: 30px;
  }

  .boxBody select[class="short"] {
    width: 70px;
  }

  .family h2 {
    margin-bottom: 0;
  }

  .family h2+.attention {
    display: block;
    margin: 0 0 1.5em 0;
  }

  .flex-mobile {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .deleteFacility {
    border-radius: 10px;
    float: right;
    border: 1px solid;
  }

  .bodyUlBottom {
    margin-bottom: 30px !important;
  }
}

.indentRemarks {
  padding-left: 1em;
  text-indent: -1em;
}

@media only screen and (min-width: 768px) {
  .checkAgree {
    font-size: 150%;
  }
}
@media only screen and (max-width: 767px) {
  .checkAgree {
    font-size: 130%;
  }
}

.underlineDot {
  border-bottom:1px dotted #000;
}

/* popup
----------------------------------------------- */
.popup:hover,
.popup:focus {
  color: #518be6;
  opacity: 0.6;
}

p+.popup {
  margin-left: 0;
}

img.anchor {
  display: none;
}

/* formadd,formdelete
----------------------------------------------- */
.boxContainer {
  position: relative;
}

.formdelete {
  position: absolute;
  right: 10px;
  top: 10px;
}

.formdelete button,
.formadd button,
.formadd > .label-btn {
  position: relative;
  border: 0;
  border-radius: 3px;
  font-weight: 500;
}

.formdelete button {
  padding: 0 0.5em;
  background: #fff;
  color: #cc4444;
  font-size: 87.5%;
}

.formadd {
  margin-bottom: 60px;
  padding: 20px;
  border: 3px dotted #b4c7e7;
  text-align: center;
}

.formadd button,
.formadd > .label-btn {
  padding: 6px 3em;
  background: #3da9fc;
  color: #fff;
  font-size: 112.5%;
  cursor: pointer;
}

.formdelete button:hover,
.formadd button:hover,
.formdelete button:focus,
.formadd button:focus,
.formadd > .label-btn:hover,
.formadd > .label-btn:focus {
  opacity: 0.6;
}

@media only screen and (max-width: 959px) {

  .boxContainer:nth-of-type(n+3) .boxBody,
  .child .boxContainer:nth-of-type(n+2) .boxBody {
    padding-bottom: 60px;
  }

  .formadd {
    margin-bottom: 30px;
    padding: 0;
    border: 0;
  }

  .formdelete {
    right: calc(50% - 125px);
    top: auto;
    bottom: 10px;
  }

  .formdelete button,
  .formadd button,
  .formadd > .label-btn {
    padding: 1px 60px;
    font-size: 100%;
  }

  .formdelete button {
    background-color: #cc4444;
    color: #fff;
  }
}

/* submit
----------------------------------------------- */
.submit {
  text-align: center;
}

.submit-footer {
  width: 100%;
  position: fixed;
  bottom: 10px;
  left:0 ;
  background-color: #eff0f4;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.submit-btn {
    width: 300px;
    line-height: 60px;
    margin: 20px 15px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: none;
    color: #fffffe;
    font-weight: 500;
    background: #3da9fc;
}

.submit input[type="submit"],
.submit input[type="button"],
.home a,
.upload a {
  width: 300px;
  line-height: 60px;
  margin: 20px 15px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  color: #fffffe;
  font-weight: 500;
}

.submit a {
  display: inline-block;
  text-decoration: none;
}

.submit input[type="submit"].disabled,
.submit input[type="button"].disabled,
.submit input[type="submit"]:disabled,
.submit input[type="button"]:disabled {
  background: #b4deff;
}

.submit input[type="submit"]:not(.disabled):not(:disabled),
.submit input[type="button"]:not(.disabled):not(:disabled),
.home a,
.upload a {
  background: #3da9fc;
}

.submit .message {
  color: #cc4444;
  font-size: 80%;
  /*font-size: 90%;*/
}

.submit input[type="submit"]:hover,
.submit input[type="submit"]:focus,
.submit input[type="button"]:hover,
.submit input[type="button"]:focus {
  opacity: 0.6;
}

#cancelArea,
#cancelArea {
  display: inline-block;
  vertical-align: top;
  width: 330px;
}

#keepArea,
#keepArea {
  display: inline-block;
  vertical-align: top;
  width: 330px;
}

#submitArea,
#submitArea {
  display: inline-block;
  vertical-align: top;
  width: 330px;
}

.submit #submit-message {
  margin: 0 15px;
}

@media only screen and (max-width: 959px) {
  .submit {
    max-width: 100%;
    padding: 0 20px;
    /*padding: 20px 20px 0;*/
  }

  .submit-footer {
    bottom: 25px;
  }

  .submit .button {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .submit input[type="submit"],
  .submit input[type="button"] {
    display: block;
    /*width: calc(100% - 80px);*/
    width: 100%;
    line-height: 40px;
    margin: 10px 0 5px;
  }
  
  .submit #cancelArea,
  .submit #keepArea,
  .submit #submitArea {
    display: inline-block;
    width: 100%;
  }

  #cancelArea,
  #cancelArea {
    width: calc(50% - 5px);
    order: 1;
  }

  #keepArea,
  #keepArea {
    width: 100%;
    order: 3;
  }

  #submitArea,
  #submitArea {
    width: calc(50% - 5px);
    order: 2;
  }

  .submit #submit-message {
    margin: 0;
  }
  
  body[id$="index"] .submit .button {
    justify-content: center;
  }

  /*
  body[id$="step1"] #cancel {
    display: none;
  }

  body[id$="step1"] input[type="submit"],
  body[id$="step1"] input[type="button"] {
    width: 100%;
  }
  */

  body[id$="-shomeinegai-index"] .submit .button {
    justify-content: space-between;
  }
}

.resubmit-title {
    text-align: center;
    padding: 15px;
    color: #cc4444;
    font-size: 20px;
}

@media only screen and (max-width: 532px) {
    .resubmit-title {
        font-size: 1rem;
        line-height: 22px;
    }
}

/* dialog
----------------------------------------------- */
body[id$="-step8"] #main {
  background-color: #5f6c7b;
}

body[id$="-step8"] .contentPage {
  padding: 140px 170px;
}

.dialog {
  position: relative;
  padding: 30px;
  border: 2px solid #002d76;
  background-color: #fff;
  text-align: center;
}

.dialog p {
  color: #002d76;
  text-align: left;
}

.dialog .link {
  display: inline-block;
  padding: 12px 84px;
  border-radius: 30px;
  background-color: #3da9fc;
  color: #fffffe;
  font-size: 112.5%;
  font-weight: 500;
  text-decoration: none;
}

.dialog .link:hover,
.dialog .link:focus,
.dialog #window_close:hover,
.dialog #window_close:focus {
  opacity: 0.6;
}

.dialog .button {
  margin-top: 3em;
}

.dialog .submit input[type="submit"]:not(:disabled) {
  background: #ced1d9;
  color: #5f6c7b;
}

#page-application-hoikukyufunintei-step8 .dialog .submit input[type="submit"]:not(:disabled) {
  background: #3da9fc;
  color: #fff;
}

#page-application-hoikukyufunintei-step8 .dialog .button {
  margin-top: 1em;
}

/* 有料申請 */
/*body[id$="-charge"] {
  background-color: #5f6c7b;
  color: #fff;
}*/
body[id$="-charge"] .contentPage {
  padding: 20px;
}

body[id$="-charge"] .dialog {
  padding: 0;
  border: 0;
}

.dialog table {
  width: 100%;
  border: 0;
}

.dialog th {
  font-weight: normal;
  text-align: left;
}

.dialog th+td {
  text-align: right;
}

body[id$="-charge"] .dialog p {
  text-align: center;
}

body[id$="-charge"] .dialog .linkBtn a {
  display: block;
  width: auto;
  /*border-color: #fff;
  color: #fff;*/
}

@media only screen and (max-width: 959px) {
  body[id$="-step8"] .contentPage {
    padding: 40px 20px;
  }

  .dialog .link {
    display: block;
    padding: 12px;
  }
}

/* linkBtn
----------------------------------------------- */
.linkBtn {
  text-align: center;
}

.linkBtn a {
  display: inline-block;
  width: 100%;
  max-width: 380px;
  margin: 0 5px 10px;
  padding: 16px 0;
  border: 2px solid #2455a3;
  border-radius: 30px;
  background-color: #fff;
  color: #2455a3;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.linkBtn a:hover,
.linkBtn a:focus,
.formBtn a:hover,
.formBtn a:focus {
  opacity: 0.6;
}


/* finish
----------------------------------------------- */
.finish {
  padding: 60px 60px 45px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.finish h2::before {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 5px;
  background: url("../img/ic_check_circle_img@2x.png") no-repeat center center;
  background-size: 100px 100px;
}

.finish h2,
.finish p {
  color: #2455a3;
  font-weight: 500;
}

.finish h2 {
  font-size: 150%;
}

.finish p span {
  display: inline-block;
}

.finish .button {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.finish .button a {
  width: 300px;
  line-height: 60px;
  margin: 20px 15px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #3da9fc;
  color: #fffffe;
  font-weight: 500;
}

.finish .button a.mypage {
  background-color: #3da9fc;
  color: #fff;
}

.finish .button a:hover,
.finish .button a:focus {
  opacity: 0.6;
}

@media only screen and (max-width: 959px) {
  .finish {
    padding: 30px;
  }

  .finish h2 {
    margin-bottom: 1em;
  }

  .finish h2::before {
    background-image: url("../img/ic_check_circle_img@2x.png");
    background-size: 100px auto;
  }

  .finish p {
    margin: 0;
  }

  .finish p span {
    display: block;
  }

  .finish .button {
    margin-top: 1em;
  }

  .finish .button a {
    line-height: 40px;
    font-size: 100%;
  }
}

/* mypage
----------------------------------------------- */
.mypage table {
  margin: 0 auto;
}

.mypage .submit:not(:last-child) {
  margin-bottom: 3em;
}

.mypage .body .submit p {
  margin-bottom: 0;
}

/* overlay
----------------------------------------------- */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 80px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
}

.overlay .message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 1200px;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  overflow-y: auto;
  font-size: 120%;
  text-align: center;
}

.overlay table {
  margin: 0 auto;
}

.overlay th,
.overlay td {
  padding: 0 0.5em;
}

.overlay th {
  font-weight: normal;
  text-align: left;
}

.overlay th+td {
  text-align: right;
}

.overlay p {
  margin: 20px 0;
}

.overlay a {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #ccc;
  background-color: #ffe6f1;
  color: #e00;
}

@media only screen and (max-width: 1060px) {
  .overlay {
    padding: 40px 30px;
  }

  .overlay div {
    width: 100%;
    max-width: calc(100vw - 60px);
    max-height: calc(95vh - 80px);
  }

  .overlay div p,
  .overlay div a {
    margin: 10px;
    font-size: 100%;
  }
}

.error-message {
    color: #cc4444;
    font-size: 80%;
}

.apply-error-message {
    color: #cc4444;
    font-size: 150%;
}

.input-error-message {
    color: #cc4444;
    font-size: 120%;
}

.info-message {
    color: #0000FF;
    font-size: 120%;
}

@media only screen and (min-width: 1060px) {
  .info-complete {
    width: 900px;
  }
}

/* autocomplete scroll
----------------------------------------------- */
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media only screen and (max-width: 959px) {
    .ui-autocomplete {
        max-width: 80%;
    }
}

/* 完了メッセージ
----------------------------------------------- */
.center {
    text-align: center
}

/* 申請完了画面アンケート
----------------------------------------------- */
.formAnket .anketDiv {
    width: 85%;
    display: inline-block;
}

.anketDiv span {
    color: #2455a3;
    font-weight: bold;
    display: flex;
}

.anketDiv textarea {
    width: 85%;
}

@media only screen and (max-width: 959px) {
    .satisfyLevel {
        text-align: left;
        width: 90%;
        margin-left: auto;
    }

    .satisfyLevel label {
        display: block!important;
    }
}

/* step-split
----------------------------------------------- */
.step-split {
    display: flex;
    position: relative;
    left: 60px;
}

@media only screen and (max-width: 959px) {
    .step-split {
        position: relative;
        left: 54px;
        transform: scale(1.26,1.26);
        margin-top: 5px;
    }
}

.step-split-1 {
    position: relative;
    left: 0px;
}

@media only screen and (max-width: 959px) {
    .step-split-1 {
        left: 0px;
    }
}

.step-split-2 {
    position: relative;
    left: -20px;
}

@media only screen and (max-width: 959px) {
    .step-split-2 {
        left: -14px;
    }
}

.step-split-3 {
    position: relative;
    left: -40px;
}

@media only screen and (max-width: 959px) {
    .step-split-3 {
        left: -28px;
    }
}

.step-split-4 {
    position: relative;
    left: -60px;
}

@media only screen and (max-width: 959px) {
    .step-split-4 {
        left: -42px;
    }
}

.step-split-5 {
    position: relative;
    left: -80px;
}

@media only screen and (max-width: 959px) {
    .step-split-5 {
        left: -56px;
    }
}

.step-split-6 {
    position: relative;
    left: -100px;
}

@media only screen and (max-width: 959px) {
    .step-split-6 {
        left: -70px;
    }
}

.step-split-7 {
    position: relative;
    left: -120px;
}

@media only screen and (max-width: 959px) {
    .step-split-7 {
        left: -84px;
    }
}

/* フォント
----------------------------------------------- */
.contentFont2 {
    color: #828899;
    font-size: 14px;
}

.contentFontLogon {
    font-size: 80%;
    margin-bottom: 15px;
}

.contentAttentionArea {
    display: none;
    margin-top: 15px
}

.contentAttention1 {
    background-color: #C84646;
    color: #FFF;
    padding: 0.3em 1em;
    border-radius: 5px;
}

.contentAttention2 {
    color: #C84646
}

.application-result .result .btn-more {
    width: 160px;
    margin: 30px auto;
    line-height: 50px;
    background: #3da9fc;
    color: #fff;
    border: 0;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}


/* step-split
----------------------------------------------- */
/*.step-split {
    display: flex;
    position: relative;
    left: 60px;
}

@media only screen and (max-width: 959px) {
    .step-split {
        position: relative;
        left: 54px;
        transform: scale(1.26,1.26);
        margin-top: 5px;
    }
}*/

.login-form .form {
    max-width: 780px;
    margin: auto;
}

.login-form ul > li {
    display: flex;
    flex-basis: 100%;
    margin-bottom: 1em;
}

    .login-form ul > li .question {
        /*text-align: right;*/
        flex-basis: 45%;
    }

    .login-form ul > li .answer {
        flex-basis: 55%;
    }

.login-form .submit {
    padding: 0;
}

    .login-form .submit input[type="submit"],
    .login-form .submit input[type="button"] {
        width: 400px;
    }

@media only screen and (max-width: 959px) {
    .login-form ul > li .question {
        text-align: left;
        flex-basis: 100%;
    }

    .login-form .submit {
        width: 100%;
    }

        .login-form .submit input[type="submit"],
        .login-form .submit input[type="button"] {
            width: 100%;
        }
}

.action-btn {
    width: 100px;
    line-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: none;
    color: #fffffe;
    font-weight: 500;
    font-size: 16px;
    margin-left: 15px;
    margin-bottom: 2px;
    background: #3da9fc;
}

/* ソニーペイメント
----------------------------------------------- */
.payment-message {
    border-radius: 6px;
    margin: 0 auto;
    font-size: 1.1em;
    font-weight: 600;
    padding-left: 5%;
    padding-right: 5%;
}

.payment-caution {
    font-size: 14px;
}

@media only screen and (max-width: 959px) {
    .payment-message {
        line-height: 25px;
        padding-top: 2%;
        padding-bottom: 2%;
    }

    .payment-caution {
        font-size: 12px !important;
    }
}

/* ログイン画面
----------------------------------------------- */
.loginbtn {
  font-size: 23px;
  height: 65px !important;
  background: #3da9fc;
  width: 400px !important;
  line-height: 35px !important;
  margin: 20px 15px 0px 15px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
  vertical-align: middle !important;
}

.loginbtn-oneline {
  font-size: 16px;
}

.account-register {
  font-size: 23px;
  height: 65px !important;
  background: #3da9fc;
  width: 400px !important;
  line-height: 35px !important;
  margin: 0px 15px 15px 15px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
  vertical-align: middle !important;
}

.account-register-apply {
  background: #3da9fc;
  width: 400px !important;
  line-height: 25px !important;
  margin: 0px 15px 15px 15px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
  vertical-align: middle !important;
  font-size: 23px;
  height: 65px !important;
}

.account-noregister-apply {
  background: #ced1d9 !important;
  color: #5f6c7b !important;
  width: 400px !important;
  line-height: 25px !important;
  margin: 0px 15px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
  vertical-align: middle !important;
  font-size: 23px;
  height: 65px !important;
}

.forget-password {
  margin-bottom: 1.5em;
  font-size: 1.05rem;
}

button.account-register-twoline:focus,
button.account-noregister-twoline:focus {
  outline: none;
}

@media only screen and (max-width: 959px) {
  .loginbtn {
    font-size: 17px;
    height: 45px !important;
    background: #3da9fc;
    width: 100% !important;
    line-height: 40px !important;
    margin: 10px 0px 0px 0px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
  }
  
  .loginbtn-oneline {
    font-size: 14px;
  }
  
  .account-register {
    font-size: 17px;
    height: 45px !important;
    background: #3da9fc;
    width: 100% !important;
    line-height: 40px !important;
    margin: 0px 0px 5px 0px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
  }
  
  .account-register-apply {
    background: #3da9fc;
    width: 100% !important;
    line-height: 21px !important;
    margin: 0px 0px 15px 0px !important;
    padding: 0 0 30px 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
    font-size: 17px;
    height: 45px !important;
    outline: none !important;
  }
  
  .account-noregister-apply {
    background: #3da9fc;
    width: 100% !important;
    line-height: 21px !important;
    margin: 0px 0px 0px 0px !important;
    padding: 0 0 30px 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
    font-size: 17px;
    height: 45px !important;
    outline: none !important;
  }
  
  .forget-password {
    margin-bottom: 1.0em;
    font-size: 1.05rem;
  }
}

/* 文言が2行のボタン
----------------------------------------------- */
.btn-oneline {
  font-size: 15px;
}

.btn-twoline {
  font-size: 22px;
  padding-bottom: 2px
}

button.multiple-lines:focus {
  outline: none;
}

.multiple-lines {
  border-radius: 3px !important;
  line-height: 23px !important;
}

@media only screen and (max-width: 959px) {
  .multiple-lines {
    border-radius: 3px !important;
    line-height: 17px !important;
    height: 40px !important;
    padding: 0 0 20px 0 !important;
  }

  .btn-oneline {
    font-size: 12px;
  }

  .btn-twoline {
    font-size: 19px;
    padding-bottom: 2px
  }
}

/* エラーメッセージ
----------------------------------------------- */
.boxBodyBrown {
    margin-bottom: 45px;
    padding: 20px 40px 20px 40px;
    border-radius: 6px;
    background-color: #f8e2cc;
    display: flex;
}

.boxBodyBlue {
    margin-bottom: 45px;
    padding: 20px 40px 20px 40px;
    border-radius: 6px;
    background-color: #CEE9FE;
    display: flex;
}

.errorIcon {
    display: flex;
    align-items: center;
}

.attentionIcon {
    width: 60px;
    min-width: 60px;
    height: auto;
    object-fit: contain;
    margin-right: 24px;
    overflow: hidden;
    position: relative;
}

.errorText {
    line-height: 18px;
}

.errorTitle {
    font-size: 1.5em;
    line-height: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.errorContent {
    margin: -1px -1px -1px -1px;
    line-height: 20px;
}

@media only screen and (max-width: 532px) {
    .errorIcon {
        display: flex;
        align-items: flex-start;
    }

    .attentionIcon {
        width: 60px;
        min-width: 60px;
        height: 53px;
        object-fit: contain;
        margin-right: 16px;
        overflow: hidden;
        position: relative;
    }

    .boxBodyBrown {
        margin-bottom: 45px;
        padding: 20px 20px 20px 20px;
        border-radius: 6px;
        background-color: #f8e2cc;
        display: flex;
    }

    .boxBodyBlue {
        margin-bottom: 45px;
        padding: 20px 20px 20px 20px;
        border-radius: 6px;
        background-color: #CEE9FE;
        display: flex;
    }

    .errorTitle {
        font-size: 1.45em;
        line-height: 30px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .errorContent {
        margin: -1px -1px -1px -1px;
        line-height: 25px;
        font-size: 1.25em;
    }
}

/* 印刷用
----------------------------------------------- */
@media print {
    input[type=radio]:checked + label::after {
        border: 4px solid;
    }

    input[type=checkbox]:checked:not(.search-personal) + label::after {
        left: 6px;
        width: 8px;
        height: none;
        margin-top: -2px;
        border-left: none;
        border-bottom: 8px solid #000 !important;
        border-radius: 1px;
        transform: none;
    }

    .print-btn {
        display: none;
    }

    .print-center {
        display: block !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
        font-size: 100px;
        color: rgba(150, 150, 150, 0.5);
    }

    option:not(:checked) {
        color: #EEEEEE;
    }
}

.print-btn {
    position: fixed;
    z-index: 99;
    right: 50px;
    bottom: 100px;
}

@media only screen and (max-width: 959px) {
    .print-btn {
        right: 25px;
        bottom: 50px;
        width: 60px;
        height: 60px;
    }
}

@page {
    size: 420mm 297mm;
}